github.com/SamarSidharth/kpt@v0.0.0-20231122062228-c7d747ae3ace/internal/docs/generated/rpkgdocs/docs.go (about)

     1  // Code generated by "mdtogo"; DO NOT EDIT.
     2  package rpkgdocs
     3  
     4  var RpkgShort = `Manage packages.`
     5  var RpkgLong = `
     6  The ` + "`" + `rpkg` + "`" + ` command group contains subcommands for managing packages and revisions.
     7  `
     8  
     9  var ApproveShort = `Approve a proposal to publish a package revision.`
    10  var ApproveLong = `
    11    kpt alpha rpkg approve [PACKAGE_REV_NAME...] [flags]
    12  
    13  Args:
    14  
    15    PACKAGE_REV_NAME...:
    16      The name of one or more package revisions. If more than
    17      one is provided, they must be space-separated.
    18  `
    19  var ApproveExamples = `
    20    # approve package revision blueprint-91817620282c133138177d16c981cf35f0083cad
    21    $ kpt alpha rpkg approve blueprint-91817620282c133138177d16c981cf35f0083cad --namespace=default
    22  `
    23  
    24  var CloneShort = `Create a clone of an existing package revision.`
    25  var CloneLong = `
    26    kpt alpha rpkg clone SOURCE_PACKAGE_REV TARGET_PACKAGE_NAME [flags]
    27  
    28  Args:
    29  
    30    SOURCE_PACKAGE_REV:
    31      The source package that will be cloned to create the new package revision.
    32      The types of sources are supported:
    33    
    34        * OCI: A URI to a OCI repository must be provided. 
    35          oci://oci-repository/package-name
    36        * Git: A URI to a git repository must be provided.
    37          https://git-repository.git/package-name
    38        * Package: The name of a package revision already available in the
    39          repository.
    40          blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a
    41    
    42    TARGET_PACKAGE_NAME:
    43      The name of the new package.
    44    
    45  
    46  Flags:
    47  
    48    --directory
    49      Directory within the repository where the upstream
    50      package revision is located. This only applies if the source package is in git
    51      or oci.
    52    
    53    --ref
    54      Ref in the repository where the upstream package revision
    55      is located (branch, tag, SHA). This only applies when the source package
    56      is in git.
    57    
    58    --repository
    59      Repository to which package revision will be cloned
    60      (downstream repository).
    61    
    62    --workspace
    63      Workspace for the new package. The default value is v1.
    64    
    65    --strategy
    66      Update strategy that should be used when updating the new
    67      package revision. Must be one of: resource-merge, fast-forward,  or 
    68      force-delete-replace. The default value is resource-merge.
    69  `
    70  var CloneExamples = `
    71    # clone the blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a package and create a new package revision called
    72    # foo in the blueprint repository with a custom workspaceName.
    73    $ kpt alpha rpkg clone blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a foo --repository blueprint --workspace=first-draft
    74  
    75    # clone the git repository at https://github.com/repo/blueprint.git at reference base/v0 and in directory base. The new
    76    # package revision will be created in repository blueprint and namespace default.
    77    $ kpt alpha rpkg clone https://github.com/repo/blueprint.git bar --repository=blueprint --ref=base/v0 --namespace=default --directory=base
    78  `
    79  
    80  var CopyShort = `Create a new package revision from an existing one.`
    81  var CopyLong = `
    82    kpt alpha rpkg copy SOURCE_PACKAGE_REV_NAME [flags]
    83  
    84  Args:
    85  
    86    SOURCE_PACKAGE_REV_NAME:
    87      The name of the package revision that will be used as the source
    88      for creating a new package revision.
    89  
    90  Flags:
    91  
    92    --workspace
    93      Workspace for the new package revision.
    94  `
    95  var CopyExamples = `
    96    # create a new package from package blueprint-b47eadc99f3c525571d3834cc61b974453bc6be2
    97    $ kpt alpha rpkg copy blueprint-b47eadc99f3c525571d3834cc61b974453bc6be2 --workspace=v10 --namespace=default
    98  `
    99  
   100  var DelShort = `Delete a package revision.`
   101  var DelLong = `
   102    kpt alpha rpkg del PACKAGE_REV_NAME... [flags]
   103  
   104  Args:
   105  
   106    PACKAGE_REV_NAME...:
   107      The name of one or more package revisions. If more than
   108      one is provided, they must be space-separated.
   109  `
   110  var DelExamples = `
   111    # remove package revision blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a from the default namespace
   112    $ kpt alpha rpkg del blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a --namespace=default
   113  `
   114  
   115  var GetShort = `List package revisions in registered repositories.`
   116  var GetLong = `
   117    kpt alpha rpkg get [PACKAGE_REV_NAME] [flags]
   118  
   119  Args:
   120  
   121    PACKAGE_REV_NAME:
   122      The name of a package revision. If provided, only that specific
   123      package revision will be shown. Defaults to showing all package
   124      revisions from all repositories.
   125  
   126  Flags:
   127  
   128    --name
   129      Name of the packages to get. Any package whose name contains 
   130      this value will be included in the results.
   131    
   132    --revision
   133      Revision of the package to get. Any package whose revision
   134      matches this value will be included in the results.
   135  `
   136  var GetExamples = `
   137    # get a specific package revision in the default namespace
   138    $ kpt alpha rpkg get blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a --namespace=default
   139  
   140    # get all package revisions in the bar namespace
   141    $ kpt alpha rpkg get --namespace=bar
   142  
   143    # get all package revisions with revision v0
   144    $ kpt alpha rpkg get --revision=v0
   145  `
   146  
   147  var InitShort = `Initializes a new package in a repository.`
   148  var InitLong = `
   149    kpt alpha rpkg init PACKAGE_NAME [flags]
   150  
   151  Args:
   152  
   153    PACKAGE_NAME:
   154      The name of the new package.
   155  
   156  Flags:
   157  
   158    --repository
   159      Repository in which the new package will be created.
   160    
   161    --workspace
   162      Workspace of the new package.
   163    
   164    --description
   165      Short description of the package
   166    
   167    --keywords
   168      List of keywords for the package
   169    
   170    --site
   171      Link to page with information about the package
   172  `
   173  var InitExamples = `
   174    # create a new package named foo in the repository blueprint.
   175    $ kpt alpha rpkg init foo --namespace=default --repository=blueprint --workspace=v1
   176  `
   177  
   178  var ProposeShort = `Propose that a package revision should be published.`
   179  var ProposeLong = `
   180    kpt alpha rpkg propose [PACKAGE_REV_NAME...] [flags]
   181  
   182  Args:
   183  
   184    PACKAGE_REV_NAME...:
   185      The name of one or more package revisions. If more than
   186      one is provided, they must be space-separated.
   187  `
   188  var ProposeExamples = `
   189    # propose that package revision blueprint-91817620282c133138177d16c981cf35f0083cad should be finalized.
   190    $ kpt alpha rpkg propose blueprint-91817620282c133138177d16c981cf35f0083cad --namespace=default
   191  `
   192  
   193  var ProposeDeleteShort = `Propose deletion of a published package revision.`
   194  var ProposeDeleteLong = `
   195    kpt alpha rpkg propose-delete PACKAGE_REV_NAME... [flags]
   196  
   197  Args:
   198  
   199    PACKAGE_REV_NAME...:
   200    The name of one or more package revisions. If more than
   201    one is provided, they must be space-separated.
   202  `
   203  var ProposeDeleteExamples = `
   204    # Propose published package revision blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a for deletion.
   205    $ kpt alpha rpkg propose-delete blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a --namespace=default
   206  `
   207  
   208  var PullShort = `Pull the content of the package revision.`
   209  var PullLong = `
   210    kpt alpha rpkg pull PACKAGE_REV_NAME [DIR] [flags]
   211  
   212  Args:
   213  
   214    PACKAGE_REV_NAME:
   215      The name of a an existing package revision in a repository.
   216    
   217    DIR:
   218      A local directory where the package manifests will be written.
   219      If not provided, the manifests are written to stdout.
   220  `
   221  var PullExamples = `
   222    # pull the content of package revision blueprint-d5b944d27035efba53836562726fb96e51758d97
   223    $ kpt alpha rpkg pull blueprint-d5b944d27035efba53836562726fb96e51758d97 --namespace=default
   224  `
   225  
   226  var PushShort = `Push resources to a package revision.`
   227  var PushLong = `
   228    kpt alpha rpkg push PACKAGE_REV_NAME [DIR] [flags]
   229  
   230  Args:
   231  
   232    PACKAGE_REV_NAME:
   233      The name of a an existing package revision in a repository.
   234    
   235    DIR:
   236      A local directory with the new manifest. If not provided,
   237      the manifests will be read from stdin.
   238  `
   239  var PushExamples = `
   240    # update the package revision blueprint-f977350dff904fa677100b087a5bd989106d0456 with the resources
   241    # in the ./package directory
   242    $ kpt alpha rpkg push blueprint-f977350dff904fa677100b087a5bd989106d0456 ./package --namespace=default
   243  `
   244  
   245  var RejectShort = `Reject a proposal to publish or delete a package revision.`
   246  var RejectLong = `
   247    kpt alpha rpkg reject [PACKAGE_REV_NAME...] [flags]
   248  
   249  Args:
   250  
   251    PACKAGE_REV_NAME...:
   252      The name of one or more package revisions. If more than
   253      one is provided, they must be space-separated.
   254  `
   255  var RejectExamples = `
   256    # reject the proposal for package revision blueprint-8f9a0c7bf29eb2cbac9476319cd1ad2e897be4f9
   257    $ kpt alpha rpkg reject blueprint-8f9a0c7bf29eb2cbac9476319cd1ad2e897be4f9 --namespace=default
   258  `
   259  
   260  var UpdateShort = `Update a downstream package revision to a more recent revision of its upstream package.`
   261  var UpdateLong = `
   262    kpt alpha rpkg update PACKAGE_REV_NAME [flags]
   263  
   264  Args:
   265  
   266    PACKAGE_REV_NAME:
   267    The target downstream package revision to be updated.
   268    
   269  
   270  Flags:
   271  
   272    --revision
   273    The revision number of the upstream kpt package that the target
   274    downstream package (PACKAGE_REV_NAME) should be updated to. With
   275    this flag, you can only specify one target downstream package.
   276    
   277    --discover
   278    If set, list packages revisions that need updates rather than
   279    performing an update. Must be one of 'upstream' or 'downstream'. If
   280    set to 'upstream', this will list downstream package revisions that
   281    have upstream updates available. If set to 'downstream', this will list
   282    upstream package revisions whose downstream package revisions need
   283    to be updated. You can optionally pass in package revision names as arguments
   284    in order to just list updates for those package revisions, or you can
   285    pass in no arguments in order to list available updates for all package
   286    revisions.
   287    
   288  `
   289  var UpdateExamples = `
   290    # update deployment-e982b2196b35a4f5e81e92f49a430fe463aa9f1a package to v3 of its upstream
   291    $ kpt alpha rpkg update deployment-e982b2196b35a4f5e81e92f49a430fe463aa9f1a --revision=v3
   292  
   293    # see available upstream updates for all your downstream packages
   294    $ kpt alpha rpkg update --discover=upstream
   295  
   296    # see available updates for any downstream packages that were created from the upstream blueprints-e982b2196b35a4f5e81e92f49a430fe463aa9f1a package
   297    $ kpt alpha rpkg update --discover=downstream blueprints-e982b2196b35a4f5e81e92f49a430fe463aa9f1a
   298  `