コード例 #1
0
 def Args(parser):
   Deploy.CommonArgs(parser)
   # Flags specific to managed CR
   managed_group = flags.GetManagedArgGroup(parser)
   flags.AddRevisionSuffixArg(managed_group)
   # Flags specific to connecting to a cluster
   cluster_group = flags.GetClusterArgGroup(parser)
   flags.AddSecretsFlags(cluster_group)
   flags.AddConfigMapsFlags(cluster_group)
   # Flags not specific to any platform
   flags.AddScalingFlags(parser)
   flags.AddCommandFlag(parser)
   flags.AddArgsFlag(parser)
コード例 #2
0
 def Args(parser):
     Deploy.CommonArgs(parser)
     flags.AddLabelsFlags(parser)
     # Flags specific to connecting to a Kubernetes cluster (kubeconfig)
     kubernetes_group = flags.GetKubernetesArgGroup(parser)
     flags.AddKubeconfigFlags(kubernetes_group)
     # Flags specific to connecting to a cluster
     cluster_group = flags.GetClusterArgGroup(parser)
     flags.AddEndpointVisibilityEnum(cluster_group)
     flags.AddCpuFlag(cluster_group)
     # Flags not specific to any platform
     flags.AddAlphaPlatformArg(parser)
     flags.AddSecretsFlags(parser)
     flags.AddConfigMapsFlags(parser)
     flags.AddScalingFlags(parser)
コード例 #3
0
 def Args(parser):
     Update.CommonArgs(parser)
     # Flags specific to managed CR
     managed_group = flags.GetManagedArgGroup(parser)
     flags.AddVpcConnectorArg(managed_group)
     flags.AddRevisionSuffixArg(managed_group)
     # Flags specific to connecting to a Kubernetes cluster (kubeconfig)
     kubernetes_group = flags.GetKubernetesArgGroup(parser)
     flags.AddKubeconfigFlags(kubernetes_group)
     # Flags specific to connecting to a cluster
     cluster_group = flags.GetClusterArgGroup(parser)
     flags.AddEndpointVisibilityEnum(cluster_group)
     flags.AddCpuFlag(cluster_group)
     flags.AddSecretsFlags(cluster_group)
     flags.AddConfigMapsFlags(cluster_group)
     # Flags not specific to any platform
     flags.AddAlphaPlatformArg(parser)
     flags.AddScalingFlags(parser)
     flags.AddCommandFlag(parser)
     flags.AddArgsFlag(parser)