Documentation
¶
Overview ¶
Package config contains the `crossplane config` subcommands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
// Keep subcommands sorted alphabetically.
Set setCmd `cmd:"" help:"Set a value and write it to the configuration file." novale:"gitlab.SubstitutionWarning[\"config\"]"`
View viewCmd `cmd:"" help:"Print the current effective configuration as YAML." novale:"gitlab.SubstitutionWarning[\"config\"]"`
}
Cmd groups subcommands for inspecting and modifying the CLI config file.
type ConfigPath ¶
type ConfigPath string //nolint:revive // The "Config" stutter is intentional; this is the type Kong binds.
ConfigPath is the resolved config file path. It is bound by main so that subcommands can receive it as a Run() argument. Using a typed alias keeps the binding distinct from any other string value Kong may know about.
Click to show internal directories.
Click to hide internal directories.