flags

package
v0.30.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnterpriseEditionRepo = deckhouseRegistryHost + enterpriseEditionRepoPath
)

Variables

View Source
var (
	TempDir string

	Insecure      bool
	TLSSkipVerify bool
	ForcePull     bool

	ImagesBundlePath        string
	ImagesBundleChunkSizeGB int64

	SinceVersionString string
	SinceVersion       *semver.Version

	PlatformConstraintString string
	PlatformConstraint       modules.VersionConstraint

	DeckhouseTag string
	InstallerTag string

	ModulesPathSuffix string
	ModulesWhitelist  []string
	ModulesBlacklist  []string

	SourceRegistryRepo     = EnterpriseEditionRepo // Fallback to EE if nothing was given as source.
	SourceRegistryLogin    string
	SourceRegistryPassword string
	DeckhouseLicenseToken  string

	DoGOSTDigest  bool
	NoPullResume  bool
	IgnoreSuspend bool

	NoPlatform      bool
	NoSecurityDB    bool
	NoModules       bool
	NoInstaller     bool
	OnlyExtraImages bool
	SkipVexImages   bool

	// ProxyRegistry switches platform/module release discovery from the
	// catalog-based ListTags path to a sequential probe of explicit
	// version tags. It exists for proxy/caching registries that do NOT
	// implement the registry catalog API but DO serve manifests for tags
	// they have cached. Requires --include-platform and/or --include-module
	// so the probe has a defined entry point — without those flags the
	// probe would have to start from 0.0.0 and the bundle would always
	// come back empty.
	ProxyRegistry bool

	DryRun bool

	MirrorTimeout time.Duration = -1
)

CLI Parameters

Functions

func AddFlags

func AddFlags(flagSet *pflag.FlagSet)

func ParseEnvironmentVariables added in v0.29.19

func ParseEnvironmentVariables()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL