Documentation
¶
Overview ¶
Package lang holds the cli helping text
Index ¶
Constants ¶
View Source
const ( // CmdDistroCreateShort create short CmdDistroCreateShort = "Creates a Cargoship Package from a given directory or the current director" // CmdDistroPublishShort publish short CmdDistroPublishShort = "Publish the Cargoship Package to an OCI registry" // CmdPackagePullShort pull short CmdPackagePullShort = "Pulls a Cargoship package from a remote registry and save to the local file system" // CmdPackagePullFlagShasum pull shasum flag CmdPackagePullFlagShasum = "Shasum of the package to pull" // CmdDistroApplyShort apply short CmdDistroApplyShort = "Apply a config file to bootstrap and upgrade a cluster" // CmdDistroPrepareShort prepare short CmdDistroPrepareShort = "Prepares the nodes, including restarting the node if new kernel modules are enabled" // CmdDistroResetShort reset short CmdDistroResetShort = "Reset a cluster, stopping, uninstalling, and removing all data for a engine" // CmdDistroKubeConfigShort kube-config short CmdDistroKubeConfigShort = "Get the admin kube-config for a control-plane node" // CmdDistroEngineConfigSyncShort engine-config-sync short CmdDistroEngineConfigSyncShort = "" /* 150-byte string literal not displayed */ // CmdInstallFapolicydUpdate install flag fapolicyd CmdInstallFapolicydUpdate = "Whether to update all the host nodes fapolicyd configuration." // CmdInstallFirewallUpdate install flag firewall CmdInstallFirewallUpdate = "Whether to update all the host nodes firewall configuration." // CmdInstallFlagConcurrency install flag concurrency CmdInstallFlagConcurrency = "Maximum number of hosts to configure in parallel, set to 0 for unlimited." // CmdInstallFlagConfig install flag config CmdInstallFlagConfig = "Config file used to bootstrap a cluster." // CmdInstallFlagResetDistro install flag config CmdInstallFlagResetDistro = "What type of distro that will be reset. Valid options are: 'rke2', 'k3s'." // CmdInstallFlagKubeConfigDistro kube-config flag config CmdInstallFlagKubeConfigDistro = "What type of distro we will get the admin config from. Valid options are: 'rke2', 'k3s'." // CmdInstallFlagConfirm install flag confirm CmdInstallFlagConfirm = "Confirm whether if to proceed with the install" // CmdInstallFlagDryRun install flag dry run CmdInstallFlagDryRun = "" /* 178-byte string literal not displayed */ // CmdInstallFlagTimeout install flag timeout CmdInstallFlagTimeout = "Set the timeout for how long functions will last." // CmdInstallFlagVaultPasswordFile install flag vault password file CmdInstallFlagVaultPasswordFile = "" /* 201-byte string literal not displayed */ // CmdInstallFlagWorkerConcurrency install flag worker concurrency CmdInstallFlagWorkerConcurrency = "" /* 145-byte string literal not displayed */ // CmdInstallHostUpdate install flag host CmdInstallHostUpdate = "Whether to update all the host nodes /etc/hosts file." // CmdInstallAllowUnmanagedNodes install flag allow unmanaged nodes CmdInstallAllowUnmanagedNodes = "" /* 283-byte string literal not displayed */ // CmdInstallLabelNodes install flag label nodes CmdInstallLabelNodes = "Whether to check and add the node-role.kubernetes.io/<profile> label on cluster nodes. Requires --update-kubeconfig." // CmdInstallKubeConfigPath install flag kubeconfig path CmdInstallKubeConfigPath = "" /* 257-byte string literal not displayed */ // CmdInstallUpdateKubeConfig install flag update kubeconfig CmdInstallUpdateKubeConfig = "Whether to write the admin creds for this cluster to a kubeconfig file at all." // CmdPackageCreateFlagOutput create flag output CmdPackageCreateFlagOutput = "Specify the output (either a directory or an oci:// URL) for the created Zarf distro package" // CmdPackageFlagConcurrency deploy flag concurrency CmdPackageFlagConcurrency = "Number of concurrent layer operations when pulling or pushing images or packages to/from OCI registries." // CmdPackageFlagRetries publish flag retry CmdPackageFlagRetries = "Number of retries to perform for Cargoships operations like package publishes" // CmdVersionLong version long CmdVersionLong = "Displays the version of the release that the current binary was built from." // CmdVersionShort version short CmdVersionShort = "Shows the version of the running binary" // CmdVersionOutputFromat version flag output format CmdVersionOutputFromat = "output format (yaml|json)" // CmdSha256SumShort sha256sum short CmdSha256SumShort = "Generates a SHA256SUM for the given file" // CmdSha256SumFlagExtractPath flag description CmdSha256SumFlagExtractPath = `The path inside of an archive to use to calculate the sha256sum (i.e. for use with "files.extractPath")` // CmdVaultShort vault short CmdVaultShort = "Encrypts and decrypts cluster configuration values with Ansible Vault or age" // CmdVaultLong vault long CmdVaultLong = "" /* 677-byte string literal not displayed */ // CmdVaultEncryptDeprecated deprecation notice for the top-level vault-encrypt spelling CmdVaultEncryptDeprecated = `use "cargoship vault encrypt" instead.` // CmdVaultEncryptShort vault encrypt short CmdVaultEncryptShort = "Encrypts a value with Ansible Vault or age, for use in a registry's user/pass/token fields" // CmdVaultEncryptLong vault encrypt long CmdVaultEncryptLong = "" /* 447-byte string literal not displayed */ // CmdVaultEncryptFlagPasswordFile flag description CmdVaultEncryptFlagPasswordFile = "" /* 148-byte string literal not displayed */ // CmdFlagAgeIdentityFile flag description CmdFlagAgeIdentityFile = "" /* 270-byte string literal not displayed */ // CmdFlagAgeRecipient flag description CmdFlagAgeRecipient = "" /* 407-byte string literal not displayed */ // CmdFlagAgeRecipientsFile flag description CmdFlagAgeRecipientsFile = "" /* 219-byte string literal not displayed */ // CmdVaultEncryptPathShort vault encrypt-path short CmdVaultEncryptPathShort = "Encrypts the values a config file already holds at one or more YAML paths, in place" // CmdVaultEncryptPathLong vault encrypt-path long CmdVaultEncryptPathLong = "" /* 784-byte string literal not displayed */ // CmdVaultEncryptPathFlagDryRun flag description CmdVaultEncryptPathFlagDryRun = "Print the resulting document to stdout instead of writing it back to FILE." // CmdVaultEncryptPathFlagForce flag description CmdVaultEncryptPathFlagForce = "Encrypt the value even though it is encrypted already, wrapping it a second time." // CmdVaultEncryptFileShort vault encrypt-file short CmdVaultEncryptFileShort = "Encrypts every registry credential in a config file, in place" // CmdVaultEncryptFileLong vault encrypt-file long CmdVaultEncryptFileLong = "" /* 765-byte string literal not displayed */ // CmdVaultEncryptFileFlagDryRun flag description CmdVaultEncryptFileFlagDryRun = "Print the resulting document to stdout instead of writing it back to FILE." // CmdVaultEncryptFileFlagForce flag description CmdVaultEncryptFileFlagForce = "Encrypt values that are encrypted already, wrapping them a second time." // CmdVaultRekeyFlagNewPasswordFile flag description CmdVaultRekeyFlagNewPasswordFile = "" /* 380-byte string literal not displayed */ // CmdVaultRekeyFlagDryRun flag description CmdVaultRekeyFlagDryRun = "Print the resulting document to stdout instead of writing it back to FILE." // CmdVaultKeygenShort vault keygen short CmdVaultKeygenShort = "Generates an age key pair, or prints the public key of one you already hold" // CmdVaultKeygenLong vault keygen long CmdVaultKeygenLong = "" /* 901-byte string literal not displayed */ // CmdVaultKeygenFlagOutput flag description CmdVaultKeygenFlagOutput = "" /* 211-byte string literal not displayed */ // CmdVaultKeygenFlagPublicKey flag description CmdVaultKeygenFlagPublicKey = "" /* 207-byte string literal not displayed */ // CmdVaultDecryptShort vault decrypt short CmdVaultDecryptShort = "Decrypts an Ansible Vault or age value, printing the plaintext" // CmdVaultDecryptLong vault decrypt long CmdVaultDecryptLong = "" /* 660-byte string literal not displayed */ // CmdVaultDecryptPathShort vault decrypt-path short CmdVaultDecryptPathShort = "Decrypts the values a config file holds at one or more YAML paths, in place" // CmdVaultDecryptPathLong vault decrypt-path long CmdVaultDecryptPathLong = "" /* 704-byte string literal not displayed */ // CmdVaultDecryptPathFlagDryRun flag description CmdVaultDecryptPathFlagDryRun = "Print the resulting document to stdout instead of writing it back to FILE." // CmdVaultDecryptFileShort vault decrypt-file short CmdVaultDecryptFileShort = "Decrypts every registry credential in a config file, in place" // CmdVaultDecryptFileLong vault decrypt-file long CmdVaultDecryptFileLong = "" /* 395-byte string literal not displayed */ // CmdVaultRekeyShort vault rekey short CmdVaultRekeyShort = "Re-wraps every encrypted registry credential in a config file, optionally under a new key" // CmdVaultRekeyLong vault rekey long CmdVaultRekeyLong = "" /* 963-byte string literal not displayed */ // CmdVaultDecryptFileFlagDryRun flag description CmdVaultDecryptFileFlagDryRun = "Print the resulting document to stdout instead of writing it back to FILE." // CmdViperErrLoadingConfigFile error text CmdViperErrLoadingConfigFile = "failed to load config file" // RootCmdFlagLogFormat log format RootCmdFlagLogFormat = "Select a logging format. Defaults to 'console'. Valid options are: 'console', 'json', 'dev'." // RootCmdFlagLogLevel log level RootCmdFlagLogLevel = "Log level when running cargoship. Valid options are: warn, info, debug, trace" // RootCmdFlagNoColor no color RootCmdFlagNoColor = "Disable terminal color codes in logging and stdout prints." // RootCmdFlagLogFile log file RootCmdFlagLogFile = "Always write a full-verbosity debug log to a file, regardless of --log-level." // RootCmdShort root short RootCmdShort = "CLI for cargoship installs" // RootCmdUse root use RootCmdUse = "cargoship COMMAND" // RootGroupInstallID subcommand for install id RootGroupInstallID = "install" // RootGroupInstallTitle subcommand for install title RootGroupInstallTitle = "Install Commands:" // RootGroupPackageID subcommand for package id RootGroupPackageID = "package" // RootGroupPackageTitle subcommand for package id RootGroupPackageTitle = "Package Commands:" // CmdPackageFlagVerify flag CmdPackageFlagVerify = "Verify the Cargoship package signature" // CmdPackageCreateFlagReproducible create flag reproducible CmdPackageCreateFlagReproducible = "" /* 135-byte string literal not displayed */ // CmdDistroSignShort sign short CmdDistroSignShort = "Signs an existing Cargoship distro package" // CmdDistroSignLong sign long CmdDistroSignLong = "" /* 229-byte string literal not displayed */ )
View Source
const ( // CmdDistroApplyExample apply example CmdDistroApplyExample = `` /* 968-byte string literal not displayed */ // CmdDistroPrepareExample prepare example CmdDistroPrepareExample = `` /* 642-byte string literal not displayed */ // CmdDistroResetExample reset example CmdDistroResetExample = `` /* 500-byte string literal not displayed */ // CmdDistroKubeConfigExample kube-config example CmdDistroKubeConfigExample = `` /* 344-byte string literal not displayed */ // CmdDistroEngineConfigSyncExample engine-config-sync example CmdDistroEngineConfigSyncExample = `` /* 781-byte string literal not displayed */ // CmdDistroCreateExample create example CmdDistroCreateExample = `` /* 597-byte string literal not displayed */ // CmdDistroPublishExample publish example CmdDistroPublishExample = `` /* 701-byte string literal not displayed */ // CmdPackagePullExample pull example CmdPackagePullExample = `` /* 812-byte string literal not displayed */ // CmdDistroSignExample sign example CmdDistroSignExample = `` /* 781-byte string literal not displayed */ // CmdSha256SumExample sha256sum example CmdSha256SumExample = `` /* 459-byte string literal not displayed */ // CmdVaultEncryptExample vault encrypt example CmdVaultEncryptExample = `` /* 924-byte string literal not displayed */ // CmdVaultEncryptPathExample vault encrypt-path example CmdVaultEncryptPathExample = `` /* 1029-byte string literal not displayed */ // CmdVaultEncryptFileExample vault encrypt-file example CmdVaultEncryptFileExample = `` /* 778-byte string literal not displayed */ // CmdVaultDecryptFileExample vault decrypt-file example CmdVaultDecryptFileExample = `` /* 866-byte string literal not displayed */ // CmdVaultRekeyExample vault rekey example CmdVaultRekeyExample = `` /* 1010-byte string literal not displayed */ // CmdVaultKeygenExample vault keygen example CmdVaultKeygenExample = `` /* 680-byte string literal not displayed */ // CmdVaultDecryptExample vault decrypt example CmdVaultDecryptExample = `` /* 990-byte string literal not displayed */ // CmdVaultDecryptPathExample vault decrypt-path example CmdVaultDecryptPathExample = `` /* 864-byte string literal not displayed */ // CmdVersionExample version example CmdVersionExample = `` /* 207-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.