Documentation
¶
Overview ¶
Package shared provides shared configuration structures and utilities used across different commands. Package shared provides shared configuration types and validation logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
type Common struct {
Tracker `mapstructure:"-" yaml:"-"`
Output string
Strategy strategy.Strategy
Source sources.Type
OS string
Arch string
Hints []string
Pre bool
}
Common contains configuration fields shared across multiple commands. Common represents a shared configuration structure that provides command-line arguments, show functionality, and validation.
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
Tracker manages tracking of configuration values and their sources.
func (*Tracker) IsSet ¶
IsSet checks if a configuration value with the given name has been explicitly set.
Click to show internal directories.
Click to hide internal directories.