def Args(parser): Update.CommonArgs(parser) # Flags specific to managed CR managed_group = flags.GetManagedArgGroup(parser) flags.AddVpcConnectorArg(managed_group) # Flags not specific to any platform flags.AddMinInstancesFlag(parser) flags.AddServiceAccountFlagAlpha(parser)
def Args(parser): Deploy.CommonArgs(parser) # Flags specific to connecting to a cluster cluster_group = flags.GetClusterArgGroup(parser) flags.AddSecretsFlags(cluster_group) flags.AddConfigMapsFlags(cluster_group) flags.AddHttp2Flag(cluster_group) # Flags not specific to any platform flags.AddMinInstancesFlag(parser) flags.AddNoTrafficFlag(parser) flags.AddServiceAccountFlagAlpha(parser)
def Args(parser): Update.CommonArgs(parser) # Flags specific to managed CR managed_group = flags.GetManagedArgGroup(parser) flags.AddVpcConnectorArg(managed_group) # Flags specific to connecting to a cluster cluster_group = flags.GetClusterArgGroup(parser) flags.AddSecretsFlags(cluster_group) flags.AddConfigMapsFlags(cluster_group) flags.AddHttp2Flag(cluster_group) # Flags not specific to any platform flags.AddMinInstancesFlag(parser) flags.AddServiceAccountFlagAlpha(parser)
def Args(parser): Deploy.CommonArgs(parser) # Flags not specific to any platform flags.AddMinInstancesFlag(parser) flags.AddNoTrafficFlag(parser) flags.AddServiceAccountFlagAlpha(parser) # Flags inherited from gcloud builds submit flags.AddConfigFlags(parser) flags.AddSourceFlag(parser) flags.AddBuildTimeoutFlag(parser) build_flags.AddGcsSourceStagingDirFlag(parser, True) build_flags.AddGcsLogDirFlag(parser, True) build_flags.AddMachineTypeFlag(parser, True) build_flags.AddDiskSizeFlag(parser, True) build_flags.AddSubstitutionsFlag(parser, True) build_flags.AddNoCacheFlag(parser, True) build_flags.AddIgnoreFileFlag(parser, True)