Esempio n. 1
0
 def CommonArgs(cls, parser):
     # Flags specific to managed CR
     managed_group = flags.GetManagedArgGroup(parser)
     flags.AddRegionArg(managed_group)
     # Flags specific to CRoGKE
     gke_group = flags.GetGkeArgGroup(parser)
     concept_parsers.ConceptParser([resource_args.CLUSTER_PRESENTATION
                                    ]).AddToParser(gke_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)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace to list triggers in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser([namespace_presentation
                                    ]).AddToParser(cluster_group)
     # Flags not specific to any platform
     flags.AddPlatformArg(parser)
     events_flags.AddTargetServiceFlag(parser)
     parser.display_info.AddFormat("""table(
     {ready_column},
     firstof(id,metadata.name):label=TRIGGER,
     filter_attributes.extract({type_field}).join():label="EVENT TYPE",
     subscriber:label=TARGET)""".format(
         ready_column=pretty_print.READY_COLUMN,
         type_field=trigger.EVENT_TYPE_FIELD))
     parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 2
0
 def CommonArgs(cls, parser):
     # Flags specific to managed CR
     managed_group = flags.GetManagedArgGroup(parser)
     flags.AddRegionArg(managed_group)
     # Flags specific to CRoGKE
     gke_group = flags.GetGkeArgGroup(parser)
     concept_parsers.ConceptParser([resource_args.CLUSTER_PRESENTATION
                                    ]).AddToParser(gke_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)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace to list routes in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser([namespace_presentation
                                    ]).AddToParser(cluster_group)
     parser.display_info.AddFormat("""table(
 {ready_column},
 metadata.name:label=ROUTE)
 """.format(ready_column=pretty_print.READY_COLUMN))
     # Flags not specific to any platform
     flags.AddPlatformArg(parser)
     parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 3
0
 def CommonArgs(cls, parser):
     # Flags specific to managed CR
     managed_group = flags.GetManagedArgGroup(parser)
     concept_parsers.ConceptParser([
         resource_args.CLOUD_RUN_LOCATION_PRESENTATION
     ]).AddToParser(managed_group)
     # Flags specific to CRoGKE
     gke_group = flags.GetGkeArgGroup(parser)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace list services in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser(
         [resource_args.CLUSTER_PRESENTATION,
          namespace_presentation]).AddToParser(gke_group)
     parser.display_info.AddFormat("""table(
     {ready_column},
     firstof(id,metadata.name):label=SERVICE,
     region:label=REGION,
     latest_created_revision:label="LATEST REVISION",
     serving_revisions.list():label="SERVING REVISION",
     last_modifier:label="LAST DEPLOYED BY",
     last_transition_time:label="LAST DEPLOYED AT")""".format(
         ready_column=pretty_print.READY_COLUMN))
     parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 4
0
 def CommonArgs(cls, parser):
     # Flags specific to managed CR
     managed_group = flags.GetManagedArgGroup(parser)
     flags.AddRegionArgWithDefault(managed_group)
     # Flags specific to CRoGKE
     gke_group = flags.GetGkeArgGroup(parser)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace to list services in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser(
         [resource_args.CLUSTER_PRESENTATION,
          namespace_presentation]).AddToParser(gke_group)
     # Flags not specific to any platform
     flags.AddServiceFlag(parser)
     parser.display_info.AddFormat(
         'table('
         '{ready_column},'
         'name:label=REVISION,'
         'active.yesno(yes="yes", no=""),'
         'service_name:label=SERVICE,'
         'creation_timestamp.date("%Y-%m-%d %H:%M:%S %Z"):label=DEPLOYED,'
         'author:label="DEPLOYED BY")'.format(
             ready_column=pretty_print.READY_COLUMN))
     parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 5
0
 def CommonArgs(cls, parser):
     # Flags specific to managed CR
     managed_group = flags.GetManagedArgGroup(parser)
     concept_parsers.ConceptParser([
         resource_args.CLOUD_RUN_LOCATION_PRESENTATION
     ]).AddToParser(managed_group)
     # Flags specific to CRoGKE
     gke_group = flags.GetGkeArgGroup(parser)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace list triggers in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser(
         [resource_args.CLUSTER_PRESENTATION,
          namespace_presentation]).AddToParser(gke_group)
     # Flags not specific to any platform
     parser.display_info.AddFormat("""table(
     {ready_column},
     firstof(id,metadata.name):label=TRIGGER,
     region:label=REGION,
     broker:label=BROKER,
     subscriber:label=SUBSCRIBER)""".format(
         ready_column=pretty_print.READY_COLUMN))
     parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 6
0
 def CommonArgs(cls, parser):
     # Flags specific to managed CR
     managed_group = flags.GetManagedArgGroup(parser)
     concept_parsers.ConceptParser([
         resource_args.CLOUD_RUN_LOCATION_PRESENTATION
     ]).AddToParser(managed_group)
     # Flags specific to CRoGKE
     gke_group = flags.GetGkeArgGroup(parser)
     concept_parsers.ConceptParser([resource_args.CLUSTER_PRESENTATION
                                    ]).AddToParser(gke_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)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace to list services in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser([namespace_presentation
                                    ]).AddToParser(cluster_group)
     # Flags not specific to any platform
     flags.AddPlatformArg(parser)
     parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 7
0
  def CommonArgs(cls, parser):
    # Flags specific to connecting to a cluster
    cluster_group = flags.GetClusterArgGroup(parser)
    namespace_presentation = presentation_specs.ResourcePresentationSpec(
        '--namespace',
        resource_args.GetNamespaceResourceSpec(),
        'Namespace to list revisions in.',
        required=True,
        prefixes=False)
    concept_parsers.ConceptParser(
        [namespace_presentation]).AddToParser(cluster_group)

    # Flags not specific to any platform
    flags.AddServiceFlag(parser)

    parser.display_info.AddFormat(
        'table('
        '{ready_column},'
        'name:label=REVISION,'
        'active.yesno(yes="yes", no=""),'
        'service_name:label=SERVICE:sort=1,'
        'creation_timestamp.date("%Y-%m-%d %H:%M:%S %Z"):'
        'label=DEPLOYED:sort=2:reverse,'
        'author:label="DEPLOYED BY")'.format(
            ready_column=pretty_print.READY_COLUMN))
    parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 8
0
 def CommonArgs(cls, parser):
   # Flags specific to managed CR
   managed_group = flags.GetManagedArgGroup(parser)
   flags.AddRegionArgWithDefault(managed_group)
   # Flags specific to CRoGKE
   gke_group = flags.GetGkeArgGroup(parser)
   concept_parsers.ConceptParser(
       [resource_args.CLUSTER_PRESENTATION]).AddToParser(gke_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)
   namespace_presentation = presentation_specs.ResourcePresentationSpec(
       '--namespace',
       resource_args.GetNamespaceResourceSpec(),
       'Namespace to list configurations in.',
       required=True,
       prefixes=False)
   concept_parsers.ConceptParser(
       [namespace_presentation]).AddToParser(cluster_group)
   # Flags not specific to any platform
   flags.AddPlatformArg(parser)
   parser.display_info.AddFormat(
       'table('
       '{ready_column},'
       'metadata.name:label=CONFIGURATION,'
       'region:label=REGION,'
       'status.latestCreatedRevisionName:label="LATEST REVISION",'
       'status.latestReadyRevisionName:label="READY REVISION")'.format(
           ready_column=pretty_print.READY_COLUMN))
   parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 9
0
  def Args(parser):
    # Flags specific to managed CR
    managed_group = flags.GetManagedArgGroup(parser)
    flags.AddRegionArg(managed_group)

    # Flags specific to CRoGKE
    gke_group = flags.GetGkeArgGroup(parser)
    concept_parsers.ConceptParser([resource_args.CLUSTER_PRESENTATION
                                  ]).AddToParser(gke_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)
    namespace_presentation = presentation_specs.ResourcePresentationSpec(
        '--namespace',
        resource_args.GetNamespaceResourceSpec(),
        'Namespace to replace service.',
        required=True,
        prefixes=False)
    concept_parsers.ConceptParser(
        [namespace_presentation]).AddToParser(cluster_group)

    # Flags not specific to any platform
    flags.AddAsyncFlag(parser)
    flags.AddPlatformArg(parser)
    parser.add_argument(
        'FILE',
        action='store',
        type=arg_parsers.YAMLFileContents(),
        help='The absolute path to the YAML file with a Knative '
        'service definition for the service to update or deploy.')
Esempio n. 10
0
    def CommonArgs(cls, parser):
        # Flags specific to connecting to a cluster
        cluster_group = flags.GetClusterArgGroup(parser)
        namespace_presentation = presentation_specs.ResourcePresentationSpec(
            '--namespace',
            resource_args.GetNamespaceResourceSpec(),
            'Namespace to list services in.',
            required=True,
            prefixes=False)
        concept_parsers.ConceptParser([namespace_presentation
                                       ]).AddToParser(cluster_group)

        parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 11
0
 def Args(parser):
     flags.AddRegionArgWithDefault(parser)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace to list domain mappings in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser(
         [resource_args.CLUSTER_PRESENTATION,
          namespace_presentation]).AddToParser(parser)
     parser.display_info.AddFormat("""table(
     firstof(id,metadata.name):label=SERVICE,
     region:label=REGION,
     route_name:label=DOMAIN)""")
Esempio n. 12
0
 def Args(parser):
     flags.AddRegionArg(parser)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace list routes in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser(
         [resource_args.CLUSTER_PRESENTATION,
          namespace_presentation]).AddToParser(parser)
     parser.display_info.AddFormat("""table(
 {ready_column},
 metadata.name:label=ROUTE)
 """.format(ready_column=pretty_print.READY_COLUMN))
Esempio n. 13
0
 def Args(cls, parser):
     flags.AddRegionArgWithDefault(parser)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace to list domain mappings in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser(
         [resource_args.CLUSTER_PRESENTATION,
          namespace_presentation]).AddToParser(parser)
     parser.display_info.AddFormat("""table(
     {ready_column},
     metadata.name:label=DOMAIN,
     route_name:label=SERVICE,
     region:label=REGION)""".format(ready_column=pretty_print.READY_COLUMN))
     parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 14
0
    def CommonArgs(cls, parser):
        # Flags specific to connecting to a cluster
        cluster_group = flags.GetClusterArgGroup(parser)
        namespace_presentation = presentation_specs.ResourcePresentationSpec(
            '--namespace',
            resource_args.GetNamespaceResourceSpec(),
            'Namespace to list routes in.',
            required=True,
            prefixes=False)
        concept_parsers.ConceptParser([namespace_presentation
                                       ]).AddToParser(cluster_group)

        parser.display_info.AddFormat("""table(
    {ready_column},
    metadata.name:label=ROUTE)
    """.format(ready_column=pretty_print.READY_COLUMN))
        parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 15
0
 def Args(parser):
     flags.AddRegionArgWithDefault(parser)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace list services in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser(
         [resource_args.CLUSTER_PRESENTATION,
          namespace_presentation]).AddToParser(parser)
     parser.display_info.AddFormat("""table(
     {ready_column},
     firstof(id,metadata.name):label=SERVICE,
     region:label=REGION,
     latest_created_revision:label="LATEST REVISION",
     serving_revisions.list():label="SERVING REVISION")""".format(
         ready_column=pretty_print.READY_COLUMN))
Esempio n. 16
0
 def CommonArgs(cls, parser):
     # Flags specific to managed CR
     managed_group = flags.GetManagedArgGroup(parser)
     concept_parsers.ConceptParser([
         resource_args.CLOUD_RUN_LOCATION_PRESENTATION
     ]).AddToParser(managed_group)
     # Flags specific to CRoGKE
     gke_group = flags.GetGkeArgGroup(parser)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace list services in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser(
         [resource_args.CLUSTER_PRESENTATION,
          namespace_presentation]).AddToParser(gke_group)
     parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 17
0
 def Args(parser):
   flags.AddServiceFlag(parser)
   namespace_presentation = presentation_specs.ResourcePresentationSpec(
       '--namespace',
       resource_args.GetNamespaceResourceSpec(),
       'Namespace to list services in.',
       required=True,
       prefixes=False)
   flags.AddRegionArgWithDefault(parser)
   concept_parsers.ConceptParser([
       resource_args.CLUSTER_PRESENTATION,
       namespace_presentation]).AddToParser(parser)
   parser.display_info.AddFormat(
       'table('
       '{ready_column},'
       'name:label=REVISION,service_name:label=SERVICE,author,'
       'creation_timestamp.date("%Y-%m-%d %H:%M:%S %Z"):label=CREATED)'.format(
           ready_column=pretty_print.READY_COLUMN))
Esempio n. 18
0
 def Args(parser):
     flags.AddRegionArgWithDefault(parser)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace list configurations in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser(
         [resource_args.CLUSTER_PRESENTATION,
          namespace_presentation]).AddToParser(parser)
     parser.display_info.AddFormat(
         'table('
         '{ready_column},'
         'metadata.name:label=CONFIGURATION,'
         'region:label=REGION,'
         'status.latestCreatedRevisionName:label="LATEST REVISION",'
         'status.latestReadyRevisionName:label="READY REVISION")'.format(
             ready_column=pretty_print.READY_COLUMN))
Esempio n. 19
0
 def Args(cls, parser):
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace list triggers in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser([
         resource_args.CLOUD_RUN_LOCATION_PRESENTATION,
         resource_args.CLUSTER_PRESENTATION, namespace_presentation
     ]).AddToParser(parser)
     parser.display_info.AddFormat("""table(
     {ready_column},
     firstof(id,metadata.name):label=TRIGGER,
     region:label=REGION,
     broker:label=BROKER,
     subscriber:label=SUBSCRIBER)""".format(
         ready_column=pretty_print.READY_COLUMN))
     parser.display_info.AddUriFunc(cls._GetResourceUri)
 def CommonArgs(cls, parser):
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace to list jobs in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser([namespace_presentation
                                    ]).AddToParser(parser)
     parser.display_info.AddFormat(
         'table('
         '{ready_column},'
         'name:label=JOB,'
         'region:label=REGION,'
         'status.latestCreatedExecution.creationTimestamp'
         '.date("%Y-%m-%d %H:%M:%S %Z"):label="LAST RUN AT",'
         'creation_timestamp.date("%Y-%m-%d %H:%M:%S %Z"):label=CREATED,'
         'author:label="CREATED BY")'.format(
             ready_column=pretty_print.READY_COLUMN))
     parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 21
0
 def CommonArgs(cls, parser):
     # Flags specific to managed CR
     managed_group = flags.GetManagedArgGroup(parser)
     flags.AddRegionArg(managed_group)
     # Flags specific to CRoGKE
     gke_group = flags.GetGkeArgGroup(parser)
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace list routes in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser(
         [resource_args.CLUSTER_PRESENTATION,
          namespace_presentation]).AddToParser(gke_group)
     parser.display_info.AddFormat("""table(
 {ready_column},
 metadata.name:label=ROUTE)
 """.format(ready_column=pretty_print.READY_COLUMN))
     parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 22
0
    def CommonArgs(cls, parser):
        # Flags specific to connecting to a cluster
        cluster_group = flags.GetClusterArgGroup(parser)
        namespace_presentation = presentation_specs.ResourcePresentationSpec(
            '--namespace',
            resource_args.GetNamespaceResourceSpec(),
            'Namespace to list configurations in.',
            required=True,
            prefixes=False)
        concept_parsers.ConceptParser([namespace_presentation
                                       ]).AddToParser(cluster_group)

        parser.display_info.AddFormat(
            'table('
            '{ready_column},'
            'metadata.name:label=CONFIGURATION,'
            'region:label=REGION,'
            'status.latestCreatedRevisionName:label="LATEST REVISION",'
            'status.latestReadyRevisionName:label="READY REVISION")'.format(
                ready_column=pretty_print.READY_COLUMN))
        parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 23
0
    def Args(parser):

        # Flags specific to connecting to a cluster
        cluster_group = flags.GetClusterArgGroup(parser)
        namespace_presentation = presentation_specs.ResourcePresentationSpec(
            '--namespace',
            resource_args.GetNamespaceResourceSpec(),
            'Namespace to replace service.',
            required=True,
            prefixes=False)
        concept_parsers.ConceptParser([namespace_presentation
                                       ]).AddToParser(cluster_group)

        # Flags not specific to any platform
        flags.AddAsyncFlag(parser)
        parser.add_argument(
            'FILE',
            action='store',
            type=arg_parsers.YAMLFileContents(),
            help='The absolute path to the YAML file with a Knative '
            'service definition for the service to update or deploy.')
Esempio n. 24
0
  def CommonArgs(cls, parser):
    # Flags specific to connecting to a cluster
    cluster_group = serverless_flags.GetClusterArgGroup(parser)
    namespace_presentation = presentation_specs.ResourcePresentationSpec(
        '--namespace',
        resource_args.GetNamespaceResourceSpec(),
        'Namespace to list triggers in.',
        required=True,
        prefixes=False)
    concept_parsers.ConceptParser(
        [namespace_presentation]).AddToParser(cluster_group)

    # Flags not specific to any platform
    flags.AddTargetServiceFlag(parser)
    parser.display_info.AddFormat("""table(
        {ready_column},
        firstof(id,metadata.name):label=TRIGGER,
        filter_attributes.extract({type_field}).join():label="EVENT TYPE",
        subscriber:label=TARGET)""".format(
            ready_column=pretty_print.READY_COLUMN,
            type_field=trigger.EVENT_TYPE_FIELD))
    parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 25
0
 def CommonArgs(cls, parser):
     # Flags specific to managed CR
     managed_group = flags.GetManagedArgGroup(parser)
     flags.AddRegionArgWithDefault(managed_group)
     # Flags specific to CRoGKE
     gke_group = flags.GetGkeArgGroup(parser)
     concept_parsers.ConceptParser([resource_args.CLUSTER_PRESENTATION
                                    ]).AddToParser(gke_group)
     # Flags not specific to any platform
     namespace_presentation = presentation_specs.ResourcePresentationSpec(
         '--namespace',
         resource_args.GetNamespaceResourceSpec(),
         'Namespace to list domain mappings in.',
         required=True,
         prefixes=False)
     concept_parsers.ConceptParser([namespace_presentation
                                    ]).AddToParser(parser)
     parser.display_info.AddFormat("""table(
     {ready_column},
     metadata.name:label=DOMAIN,
     route_name:label=SERVICE,
     region:label=REGION)""".format(ready_column=pretty_print.READY_COLUMN))
     parser.display_info.AddUriFunc(cls._GetResourceUri)
Esempio n. 26
0
 def CommonArgs(cls, parser):
   namespace_presentation = presentation_specs.ResourcePresentationSpec(
       '--namespace',
       resource_args.GetNamespaceResourceSpec(),
       'Namespace to list executions in.',
       required=True,
       prefixes=False)
   flags.AddJobFlag(parser)
   concept_parsers.ConceptParser([namespace_presentation]).AddToParser(parser)
   parser.display_info.AddFormat(
       'table('
       '{ready_column},'
       'job_name:label=JOB,'
       'name:label=EXECUTION,'
       'region:label=REGION,'
       'status.runningCount.yesno(no="0"):label=RUNNING,'
       'succeeded_status():label=COMPLETE,'
       'creation_timestamp.date("%Y-%m-%d %H:%M:%S %Z"):label=CREATED,'
       'author:label="RUN BY")'.format(ready_column=pretty_print.READY_COLUMN))
   parser.display_info.AddUriFunc(cls._GetResourceUri)
   parser.display_info.AddTransforms({
       'succeeded_status': _SucceededStatus,
   })