github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/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    --revision
    63      Revision for the new package.
    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 and set it at revision v1.
    73    $ kpt alpha rpkg clone blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a foo --repository blueprint --revision v1
    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    --revision
    93      Revision for the new package. If this is not specified, the default
    94      revision will be ` + "`" + `latest + 1` + "`" + `. The default can only be used if the
    95      latest package revision is of the format ` + "`" + `^v[0-9]+$` + "`" + `.
    96  `
    97  var CopyExamples = `
    98    # create a new package from package blueprint-b47eadc99f3c525571d3834cc61b974453bc6be2
    99    $ kpt alpha rpkg copy blueprint-b47eadc99f3c525571d3834cc61b974453bc6be2 --revision=v10 --namespace=default
   100  `
   101  
   102  var DelShort = `Delete a package revision.`
   103  var DelLong = `
   104    kpt alpha rpkg del PACKAGE_REV_NAME... [flags]
   105  
   106  Args:
   107  
   108    PACKAGE_REV_NAME...:
   109      The name of one or more package revisions. If more than
   110      one is provided, they must be space-separated.
   111  `
   112  var DelExamples = `
   113    # remove package revision blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a from the default namespace
   114    $ kpt alpha rpkg del blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a --namespace=default
   115  `
   116  
   117  var GetShort = `List package revisions in registered repositories.`
   118  var GetLong = `
   119    kpt alpha rpkg get [PACKAGE_REV_NAME] [flags]
   120  
   121  Args:
   122  
   123    PACKAGE_REV_NAME:
   124      The name of a package revision. If provided, only that specific
   125      package revision will be shown. Defaults to showing all package
   126      revisions from all repositories.
   127  
   128  Flags:
   129  
   130    --name
   131      Name of the packages to get. Any package whose name contains 
   132      this value will be included in the results.
   133    
   134    --revision
   135      Revision of the package to get. Any package whose revision
   136      matches this value will be included in the results.
   137  `
   138  var GetExamples = `
   139    # get a specific package revision in the default namespace
   140    $ kpt alpha rpkg get blueprint-e982b2196b35a4f5e81e92f49a430fe463aa9f1a --namespace=default
   141  
   142    # get all package revisions in the bar namespace
   143    $ kpt alpha rpkg get --namespace=bar
   144  
   145    # get all package revisions with revision v0
   146    $ kpt alpha rpkg get --revision=v0
   147  `
   148  
   149  var InitShort = `Initializes a new package in a repository.`
   150  var InitLong = `
   151    kpt alpha rpkg init PACKAGE_NAME [flags]
   152  
   153  Args:
   154  
   155    PACKAGE_NAME:
   156      The name of the new package.
   157  
   158  Flags:
   159  
   160    --repository
   161      Repository in which the new package will be created.
   162    
   163    --revision
   164      Revision of the new package. The default value if v1.
   165    
   166    --description
   167      short description of the package
   168    
   169    --keywords
   170      list of keywords for the package
   171    
   172    --site
   173      link to page with information about the package
   174  `
   175  var InitExamples = `
   176    # create a new package named foo in the repository blueprint.
   177    $ kpt alpha rpkg init foo --namespace=default --repository=blueprint
   178  `
   179  
   180  var ProposeShort = `Propose that a package revision should be published.`
   181  var ProposeLong = `
   182    kpt alpha rpkg propose [PACKAGE_REV_NAME...] [flags]
   183  
   184  Args:
   185  
   186    PACKAGE_REV_NAME...:
   187      The name of one or more package revisions. If more than
   188      one is provided, they must be space-separated.
   189  `
   190  var ProposeExamples = `
   191    # propose that package revision blueprint-91817620282c133138177d16c981cf35f0083cad should be finalized.
   192    $ kpt alpha rpkg propose blueprint-91817620282c133138177d16c981cf35f0083cad --namespace=default
   193  `
   194  
   195  var PullShort = `Pull the content of the package revision.`
   196  var PullLong = `
   197    kpt alpha rpkg pull PACKAGE_REV_NAME [DIR] [flags]
   198  
   199  Args:
   200  
   201    PACKAGE_REV_NAME:
   202      The name of a an existing package revision in a repository.
   203    
   204    DIR:
   205      A local directory where the package manifests will be written.
   206      If not provided, the manifests are written to stdout.
   207  `
   208  var PullExamples = `
   209    # pull the content of package revision blueprint-d5b944d27035efba53836562726fb96e51758d97
   210    $ kpt alpha rpkg pull blueprint-d5b944d27035efba53836562726fb96e51758d97 --namespace=default
   211  `
   212  
   213  var PushShort = `Push resources to a package revision.`
   214  var PushLong = `
   215    kpt alpha rpkg push PACKAGE_REV_NAME [DIR] [flags]
   216  
   217  Args:
   218  
   219    PACKAGE_REV_NAME:
   220      The name of a an existing package revision in a repository.
   221    
   222    DIR:
   223      A local directory with the new manifest. If not provided,
   224      the manifests will be read from stdin.
   225  `
   226  var PushExamples = `
   227    # update the package revision blueprint-f977350dff904fa677100b087a5bd989106d0456 with the resources
   228    # in the ./package directory
   229    $ kpt alpha rpkg push blueprint-f977350dff904fa677100b087a5bd989106d0456 ./package --namespace=default
   230  `
   231  
   232  var RejectShort = `Reject a proposal to publish a package revision.`
   233  var RejectLong = `
   234    kpt alpha rpkg reject [PACKAGE_REV_NAME...] [flags]
   235  
   236  Args:
   237  
   238    PACKAGE_REV_NAME...:
   239      The name of one or more package revisions. If more than
   240      one is provided, they must be space-separated.
   241  `
   242  var RejectExamples = `
   243    # reject the proposal for package revision blueprint-8f9a0c7bf29eb2cbac9476319cd1ad2e897be4f9
   244    $ kpt alpha rpkg reject blueprint-8f9a0c7bf29eb2cbac9476319cd1ad2e897be4f9 --namespace=default
   245  `