Documentation
¶
Overview ¶
Package cmd contains the CLI commands for Zarf.
Package cmd contains the CLI commands for Zarf contains the CLI commands for Zarf.
Package cmd contains the CLI commands for Zarf.
Package cmd contains the CLI commands for Zarf.
Package cmd contains the CLI commands for Zarf.
Package cmd contains the CLI commands for Zarf.
Package cmd contains the CLI commands for Zarf.
Package cmd contains the CLI commands for Zarf.
Package cmd contains the CLI commands for Zarf.
Index ¶
- Variables
- func Execute(ctx context.Context)
- func NewConnectCommand() *cobra.Command
- func NewConnectListCommand() *cobra.Command
- func NewDestroyCommand() *cobra.Command
- func NewDevCommand() *cobra.Command
- func NewDevDeployCommand(v *viper.Viper) *cobra.Command
- func NewDevFindImagesCommand(v *viper.Viper) *cobra.Command
- func NewDevGenerateCommand() *cobra.Command
- func NewDevGenerateConfigCommand() *cobra.Command
- func NewDevLintCommand(v *viper.Viper) *cobra.Command
- func NewDevPatchGitCommand() *cobra.Command
- func NewDevSha256SumCommand() *cobra.Command
- func NewInitCommand() *cobra.Command
- func NewInternalAgentCommand() *cobra.Command
- func NewInternalCommand(rootCmd *cobra.Command) *cobra.Command
- func NewInternalCrc32Command() *cobra.Command
- func NewInternalCreateArtifactRegistryTokenCommand() *cobra.Command
- func NewInternalCreateReadOnlyGiteaUserCommand() *cobra.Command
- func NewInternalGenCliDocsCommand(root *cobra.Command) *cobra.Command
- func NewInternalHTTPProxyCommand() *cobra.Command
- func NewInternalIsValidHostnameCommand() *cobra.Command
- func NewInternalUpdateGiteaPVCCommand() *cobra.Command
- func NewPackageCommand() *cobra.Command
- func NewPackageCreateCommand(v *viper.Viper) *cobra.Command
- func NewPackageDeployCommand(v *viper.Viper) *cobra.Command
- func NewPackageInspectCommand() *cobra.Command
- func NewPackageListCommand() *cobra.Command
- func NewPackageMirrorResourcesCommand(v *viper.Viper) *cobra.Command
- func NewPackagePublishCommand(v *viper.Viper) *cobra.Command
- func NewPackagePullCommand(v *viper.Viper) *cobra.Command
- func NewPackageRemoveCommand(v *viper.Viper) *cobra.Command
- func NewVersionCommand() *cobra.Command
- func NewZarfCommand() *cobra.Command
- func SetupMessage(cfg MessageCfg) error
- type ConnectListOptions
- type ConnectOptions
- type DestroyOptions
- type DevDeployOptions
- type DevFindImagesOptions
- type DevGenerateConfigOptions
- type DevGenerateOptions
- type DevLintOptions
- type DevPatchGitOptions
- type DevSha256SumOptions
- type InitOptions
- type InternalAgentOptions
- type InternalCrc32Options
- type InternalCreateArtifactRegistryTokenOptions
- type InternalCreateReadOnlyGiteaUserOptions
- type InternalGenCliDocsOptions
- type InternalHTTPProxyOptions
- type InternalIsValidHostnameOptions
- type InternalUpdateGiteaPVCOptions
- type MessageCfg
- type PackageCreateOptions
- type PackageDeployOptions
- type PackageInspectOptions
- type PackageListOptions
- type PackageMirrorResourcesOptions
- type PackagePublishOptions
- type PackagePullOptions
- type PackageRemoveOptions
- type VersionOptions
Constants ¶
This section is empty.
Variables ¶
var ( // LogLevelCLI holds the log level as input from a command LogLevelCLI string // LogFormat holds the log format as input from a command LogFormat string // SkipLogFile is a flag to skip logging to a file SkipLogFile bool // NoColor is a flag to disable colors in output NoColor bool // OutputWriter provides a default writer to Stdout for user-facing command output OutputWriter = os.Stdout )
Functions ¶
func NewConnectCommand ¶ added in v0.46.0
NewConnectCommand creates the `connect` sub-command and its nested children.
func NewConnectListCommand ¶ added in v0.46.0
NewConnectListCommand creates the `connect list` sub-command.
func NewDestroyCommand ¶ added in v0.46.0
NewDestroyCommand creates the `destroy` sub-command.
func NewDevCommand ¶ added in v0.46.0
NewDevCommand creates the `dev` sub-command and its nested children.
func NewDevDeployCommand ¶ added in v0.46.0
NewDevDeployCommand creates the `dev deploy` sub-command.
func NewDevFindImagesCommand ¶ added in v0.46.0
NewDevFindImagesCommand creates the `dev find-images` sub-command.
func NewDevGenerateCommand ¶ added in v0.46.0
NewDevGenerateCommand creates the `dev generate` sub-command.
func NewDevGenerateConfigCommand ¶ added in v0.46.0
NewDevGenerateConfigCommand creates the `dev generate-config` sub-command.
func NewDevLintCommand ¶ added in v0.46.0
NewDevLintCommand creates the `dev lint` sub-command.
func NewDevPatchGitCommand ¶ added in v0.46.0
NewDevPatchGitCommand creates the `dev patch-git` sub-command.
func NewDevSha256SumCommand ¶ added in v0.46.0
NewDevSha256SumCommand creates the `dev sha256sum` sub-command.
func NewInitCommand ¶ added in v0.46.0
NewInitCommand creates the `init` sub-command.
func NewInternalAgentCommand ¶ added in v0.46.0
NewInternalAgentCommand creates the `internal agent` sub-command.
func NewInternalCommand ¶ added in v0.46.0
NewInternalCommand creates the `internal` sub-command and its nested children.
func NewInternalCrc32Command ¶ added in v0.46.0
NewInternalCrc32Command creates the `internal crc32` sub-command.
func NewInternalCreateArtifactRegistryTokenCommand ¶ added in v0.46.0
NewInternalCreateArtifactRegistryTokenCommand creates the `internal create-artifact-registry-token` sub-command.
func NewInternalCreateReadOnlyGiteaUserCommand ¶ added in v0.46.0
NewInternalCreateReadOnlyGiteaUserCommand creates the `internal create-read-oly-gitea-user` sub-command.
func NewInternalGenCliDocsCommand ¶ added in v0.46.0
NewInternalGenCliDocsCommand creates the `internal gen-cli-docs` sub-command.
func NewInternalHTTPProxyCommand ¶ added in v0.46.0
NewInternalHTTPProxyCommand creates the `internal http-proxy` sub-command.
func NewInternalIsValidHostnameCommand ¶ added in v0.46.0
NewInternalIsValidHostnameCommand creates the `internal is-valid-hostname` sub-command.
func NewInternalUpdateGiteaPVCCommand ¶ added in v0.46.0
NewInternalUpdateGiteaPVCCommand creates the `internal update-gitea-pvc` sub-command.
func NewPackageCommand ¶ added in v0.46.0
NewPackageCommand creates the `package` sub-command and its nested children.
func NewPackageCreateCommand ¶ added in v0.46.0
NewPackageCreateCommand creates the `package create` sub-command.
func NewPackageDeployCommand ¶ added in v0.46.0
NewPackageDeployCommand creates the `package deploy` sub-command.
func NewPackageInspectCommand ¶ added in v0.46.0
NewPackageInspectCommand creates the `package inspect` sub-command.
func NewPackageListCommand ¶ added in v0.46.0
NewPackageListCommand creates the `package list` sub-command.
func NewPackageMirrorResourcesCommand ¶ added in v0.46.0
NewPackageMirrorResourcesCommand creates the `package mirror-resources` sub-command.
func NewPackagePublishCommand ¶ added in v0.46.0
NewPackagePublishCommand creates the `package publish` sub-command.
func NewPackagePullCommand ¶ added in v0.46.0
NewPackagePullCommand creates the `package pull` sub-command.
func NewPackageRemoveCommand ¶ added in v0.46.0
NewPackageRemoveCommand creates the `package remove` sub-command.
func NewVersionCommand ¶ added in v0.46.0
NewVersionCommand creates the `version` sub-command.
func NewZarfCommand ¶ added in v0.46.0
NewZarfCommand creates the `zarf` command and its nested children.
func SetupMessage ¶ added in v0.43.0
func SetupMessage(cfg MessageCfg) error
SetupMessage configures message while we migrate over to logger.
Types ¶
type ConnectListOptions ¶ added in v0.46.0
type ConnectListOptions struct{}
ConnectListOptions holds the command-line options for 'connect list' sub-command.
type ConnectOptions ¶ added in v0.46.0
type ConnectOptions struct {
// contains filtered or unexported fields
}
ConnectOptions holds the command-line options for 'connect' sub-command.
type DestroyOptions ¶ added in v0.46.0
type DestroyOptions struct {
// contains filtered or unexported fields
}
DestroyOptions holds the command-line options for 'destroy' sub-command.
type DevDeployOptions ¶ added in v0.46.0
type DevDeployOptions struct{}
DevDeployOptions holds the command-line options for 'dev deploy' sub-command.
type DevFindImagesOptions ¶ added in v0.46.0
type DevFindImagesOptions struct{}
DevFindImagesOptions holds the command-line options for 'dev find-images' sub-command.
type DevGenerateConfigOptions ¶ added in v0.46.0
type DevGenerateConfigOptions struct{}
DevGenerateConfigOptions holds the command-line options for 'dev generate-config' sub-command.
type DevGenerateOptions ¶ added in v0.46.0
type DevGenerateOptions struct{}
DevGenerateOptions holds the command-line options for 'dev generate' sub-command.
type DevLintOptions ¶ added in v0.46.0
type DevLintOptions struct{}
DevLintOptions holds the command-line options for 'dev lint' sub-command.
type DevPatchGitOptions ¶ added in v0.46.0
type DevPatchGitOptions struct{}
DevPatchGitOptions holds the command-line options for 'dev patch-git' sub-command.
type DevSha256SumOptions ¶ added in v0.46.0
type DevSha256SumOptions struct {
// contains filtered or unexported fields
}
DevSha256SumOptions holds the command-line options for 'dev sha256sum' sub-command.
type InitOptions ¶ added in v0.46.0
type InitOptions struct{}
InitOptions holds the command-line options for 'init' sub-command.
type InternalAgentOptions ¶ added in v0.46.0
type InternalAgentOptions struct{}
InternalAgentOptions holds the command-line options for 'internal agent' sub-command.
type InternalCrc32Options ¶ added in v0.46.0
type InternalCrc32Options struct{}
InternalCrc32Options holds the command-line options for 'intenral crc32' sub-command.
type InternalCreateArtifactRegistryTokenOptions ¶ added in v0.46.0
type InternalCreateArtifactRegistryTokenOptions struct{}
InternalCreateArtifactRegistryTokenOptions holds the command-line options for 'internal create-artifact-registry-token' sub-command.
type InternalCreateReadOnlyGiteaUserOptions ¶ added in v0.46.0
type InternalCreateReadOnlyGiteaUserOptions struct{}
InternalCreateReadOnlyGiteaUserOptions holds the command-line options for 'internal create-read-only-gitea-user' sub-command.
type InternalGenCliDocsOptions ¶ added in v0.46.0
type InternalGenCliDocsOptions struct {
// contains filtered or unexported fields
}
InternalGenCliDocsOptions holds the command-line options for 'internal gen-cli-docs' sub-command.
type InternalHTTPProxyOptions ¶ added in v0.46.0
type InternalHTTPProxyOptions struct{}
InternalHTTPProxyOptions holds the command-line options for 'internal http-proxy' sub-command.
type InternalIsValidHostnameOptions ¶ added in v0.46.0
type InternalIsValidHostnameOptions struct{}
InternalIsValidHostnameOptions holds the command-line options for 'internal is-valid-hostname' sub-command.
type InternalUpdateGiteaPVCOptions ¶ added in v0.46.0
type InternalUpdateGiteaPVCOptions struct {
// contains filtered or unexported fields
}
InternalUpdateGiteaPVCOptions holds the command-line options for 'internal update-gitea-pvc' sub-command.
type MessageCfg ¶ added in v0.43.0
type MessageCfg struct {
Level string
SkipLogFile bool
NoColor bool
// FeatureDisabled is a feature flag that disables it
FeatureDisabled bool
}
MessageCfg is used to configure the Message package output options.
type PackageCreateOptions ¶ added in v0.46.0
type PackageCreateOptions struct{}
PackageCreateOptions holds the command-line options for 'package create' sub-command.
type PackageDeployOptions ¶ added in v0.46.0
type PackageDeployOptions struct{}
PackageDeployOptions holds the command-line options for 'package deploy' sub-command.
type PackageInspectOptions ¶ added in v0.46.0
type PackageInspectOptions struct{}
PackageInspectOptions holds the command-line options for 'package inspect' sub-command.
type PackageListOptions ¶ added in v0.46.0
type PackageListOptions struct{}
PackageListOptions holds the command-line options for 'package list' sub-command.
type PackageMirrorResourcesOptions ¶ added in v0.46.0
type PackageMirrorResourcesOptions struct{}
PackageMirrorResourcesOptions holds the command-line options for 'package mirror-resources' sub-command.
type PackagePublishOptions ¶ added in v0.46.0
type PackagePublishOptions struct{}
PackagePublishOptions holds the command-line options for 'package publish' sub-command.
type PackagePullOptions ¶ added in v0.46.0
type PackagePullOptions struct{}
PackagePullOptions holds the command-line options for 'package pull' sub-command.
type PackageRemoveOptions ¶ added in v0.46.0
type PackageRemoveOptions struct{}
PackageRemoveOptions holds the command-line options for 'package remove' sub-command.
type VersionOptions ¶ added in v0.46.0
type VersionOptions struct {
// contains filtered or unexported fields
}
VersionOptions holds the command-line options for 'version' sub-command.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package common handles command configuration across all commands
|
Package common handles command configuration across all commands |
|
Package say prints out the adorable creature we all know and love.
|
Package say prints out the adorable creature we all know and love. |
|
Package tools contains the CLI commands for Zarf.
|
Package tools contains the CLI commands for Zarf. |
|
helm
Package helm is a copy of the main package from helm to include a subset of the helm CLI in Zarf
|
Package helm is a copy of the main package from helm to include a subset of the helm CLI in Zarf |