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" // 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." // CmdInstallLabelNodes install flag label nodes CmdInstallLabelNodes = "Whether to check and add the node-role.kubernetes.io/<profile> label on cluster nodes. Requires --kubeconfig." // CmdInstallUpdateKubeConfig install flag update kubeconfig CmdInstallUpdateKubeConfig = "Whether to update the local kubeconfig file with the admin creds for this cluster." // 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")` // CmdVaultEncryptShort vault-encrypt short CmdVaultEncryptShort = "Encrypts a value with Ansible Vault, for use in a registry's user/pass/token fields" // CmdVaultEncryptLong vault-encrypt long CmdVaultEncryptLong = "" /* 284-byte string literal not displayed */ // CmdVaultEncryptFlagPasswordFile flag description CmdVaultEncryptFlagPasswordFile = "" /* 148-byte string literal not displayed */ // 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 = `` /* 961-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 = `` /* 774-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 = `` /* 539-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.