def Args(parser): flags.AddRegionArg(parser) service_presentation = presentation_specs.ResourcePresentationSpec( 'SERVICE', resource_args.GetServiceResourceSpec(), 'Service to delete.', required=True, prefixes=False) concept_parsers.ConceptParser( [resource_args.CLUSTER_PRESENTATION, service_presentation]).AddToParser(parser)
def Args(parser): flags.AddRegionArg(parser) service_presentation = presentation_specs.ResourcePresentationSpec( 'SERVICE', resource_args.GetServiceResourceSpec(), 'Service to describe.', required=True, prefixes=False) concept_parsers.ConceptParser( [resource_args.CLUSTER_PRESENTATION, service_presentation]).AddToParser(parser) parser.display_info.AddFormat( 'yaml(apiVersion, kind, metadata, spec, status)')
def Args(parser): service_presentation = presentation_specs.ResourcePresentationSpec( '--service', resource_args.GetServiceResourceSpec(prompt=True), 'Service to update the configuration of.', required=True, prefixes=False) flags.AddRegionArg(parser) flags.AddMutexEnvVarsFlags(parser) flags.AddMemoryFlag(parser) flags.AddConcurrencyFlag(parser) flags.AddAsyncFlag(parser) concept_parsers.ConceptParser( [resource_args.CLUSTER_PRESENTATION, service_presentation]).AddToParser(parser)
def Args(parser): service_presentation = presentation_specs.ResourcePresentationSpec( 'SERVICE', resource_args.GetServiceResourceSpec(prompt=True), 'Service to deploy to.', required=True, prefixes=False) flags.AddSourceRefFlags(parser) flags.AddRegionArg(parser) flags.AddFunctionArg(parser) flags.AddMutexEnvVarsFlags(parser) flags.AddMemoryFlag(parser) flags.AddConcurrencyFlag(parser) flags.AddAsyncFlag(parser) concept_parsers.ConceptParser( [resource_args.CLUSTER_PRESENTATION, service_presentation]).AddToParser(parser)