Documentation
¶
Overview ¶
Package flags defines the shared CLI flag set used by the d8 plugins management subcommands and consumed when building the registry-packages-proxy client and enforcing cluster-side requirements.
Index ¶
Constants ¶
View Source
const ( // Env* constants are the single source of truth for the environment variable // names: functional reads and help texts must reference them, never literals. EnvSkipClusterChecks = "D8_PLUGINS_SKIP_CLUSTER_CHECKS" // EnvPluginsDir overrides the plugins directory (same as --plugins-dir); // applied at command registration in cmd/d8/root.go. EnvPluginsDir = "DECKHOUSE_CLI_PATH" )
Variables ¶
View Source
var ( DeckhousePluginsDir = defaultDeckhousePluginsDir // Kubeconfig and KubeContext locate the cluster; used to reach the // registry-packages-proxy and to enforce cluster-side plugin requirements // (Kubernetes/Deckhouse/module versions). Kubeconfig = defaultKubeconfigPath() KubeContext string // SkipClusterChecks downgrades cluster-side requirement enforcement to a warning, // so a plugin that declares such a requirement can be installed without reaching // the cluster. SkipClusterChecks = skipClusterChecksDefault() )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.