def Args(parser):
        """Register flags for this command."""
        resource_args.AddAwsClusterResourceArg(parser, 'to delete')

        flags.AddValidateOnly(parser, 'cluster to delete')

        base.ASYNC_FLAG.AddToParser(parser)
Esempio n. 2
0
 def Args(parser):
     """Registers flags for this command."""
     resource_args.AddAwsClusterResourceArg(parser, 'to describe')
 def Args(parser):
   resource_args.AddAwsClusterResourceArg(parser, 'to get credentials')
   flags.AddAuthProviderCmdPath(parser)
   flags.AddPrivateEndpoint(parser)
 def Args(parser):
     resource_args.AddAwsClusterResourceArg(parser,
                                            'to list',
                                            positional=False)
     parser.display_info.AddFormat(constants.AWS_NODEPOOLS_FORMAT)
 def Args(parser):
   """Register flags for this command."""
   resource_args.AddAwsClusterResourceArg(parser, 'to access')
   flags.AddExecCredential(parser)