github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/internal/docs/generated/wasmdocs/docs.go (about)

     1  // Code generated by "mdtogo"; DO NOT EDIT.
     2  package wasmdocs
     3  
     4  var WasmShort = `Manage WASM modules as OCI images.`
     5  var WasmLong = `
     6  The ` + "`" + `wasm` + "`" + ` command group contains subcommands for managing WASM modules as OCI images.
     7  `
     8  
     9  var PullShort = `Fetch and decompress OCI image to WASM module.`
    10  var PullLong = `
    11    kpt alpha wasm pull [IMAGE] [LOCAL_PATH]
    12  
    13  Args:
    14  
    15    IMAGE:
    16      The name of an image. It can be either a tag or a digest.
    17    LOCAL_PATH:
    18      The desired path for the wasm file. e.g. /tmp/my-fn.wasm
    19  `
    20  var PullExamples = `
    21    # pull image gcr.io/my-org/my-fn:v1.0.0 and decompress it to ./my-fn.wasm
    22    $ kpt alpha wasm pull gcr.io/my-org/my-fn:v1.0.0 ./my-fn.wasm
    23  `
    24  
    25  var PushShort = `Compress a WASM module and push it as an OCI image.`
    26  var PushLong = `
    27    kpt alpha wasm push [LOCAL_PATH] [IMAGE]
    28  
    29  Args:
    30  
    31    LOCAL_PATH:
    32      The path to the wasm file.
    33    IMAGE:
    34      The desired name of an image. It must be a tag.
    35  `
    36  var PushExamples = `
    37    # compress ./my-fn.wasm and push it to gcr.io/my-org/my-fn:v1.0.0
    38    $ kpt alpha wasm push ./my-fn.wasm gcr.io/my-org/my-fn:v1.0.0
    39  `