Documentation
¶
Index ¶
- Constants
- func GetLoglevel(level string) log.Level
- type Drift
- func (drift *Drift) Diff(driftedRelease deviation.DriftedRelease) (deviation.DriftedRelease, error)
- func (drift *Drift) GetAllDrift() error
- func (drift *Drift) GetDrift() error
- func (drift *Drift) SetChart(chart string)
- func (drift *Drift) SetLogger(logLevel string)
- func (drift *Drift) SetRelease(release string)
- func (drift *Drift) SetWriter(writer io.Writer)
- func (drift *Drift) ValidatePrerequisite() bool
- type ValueFiles
Constants ¶
View Source
const ( // TemplateRegex is the default regex, that is used to split one big helm template to multiple templates. // Splitting templates eases the task of identifying Kubernetes objects. TemplateRegex = `---\n# Source:\s.*.` )
Variables ¶
This section is empty.
Functions ¶
func GetLoglevel ¶
GetLoglevel sets the loglevel to the kind of log asked for.
Types ¶
type Drift ¶
type Drift struct {
Values []string
StringValues []string
FileValues []string
ValueFiles ValueFiles
SkipTests bool
SkipValidation bool
SkipClean bool
Summary bool
Regex string
LogLevel string
FromRelease bool
NoColor bool
JSON bool
YAML bool
ExitWithError bool
Report bool
TempPath string
CustomDiff string
All bool
IsDefaultNamespace bool
// contains filtered or unexported fields
}
Drift represents GetDrift.
func (*Drift) Diff ¶
func (drift *Drift) Diff(driftedRelease deviation.DriftedRelease) (deviation.DriftedRelease, error)
func (*Drift) GetAllDrift ¶ added in v0.0.3
func (*Drift) SetRelease ¶
SetRelease sets release for helm drift.
func (*Drift) ValidatePrerequisite ¶ added in v0.0.3
type ValueFiles ¶
type ValueFiles []string
func (*ValueFiles) Set ¶
func (v *ValueFiles) Set(value string) error
func (*ValueFiles) String ¶
func (v *ValueFiles) String() string
func (*ValueFiles) Type ¶
func (v *ValueFiles) Type() string
func (*ValueFiles) Valid ¶
func (v *ValueFiles) Valid() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.