Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IncTypes = struct { Major IncType Minor IncType Patch IncType None IncType }{ "major", "minor", "patch", "none", }
IncTypes enumerates available IncType.
Functions ¶
func GetChartName ¶
GetChartName returns the name of the chart in the given path or an error.
func IncrementChartVersion ¶
IncrementChart version increments the patch version of the Chart.
Types ¶
type Filter ¶
type Filter struct { Repositories, DependencyNames []string }
Filter for dependencies.
func (*Filter) FilterDependencies ¶
func (f *Filter) FilterDependencies(dependencies []*chart.Dependency) []*chart.Dependency
FilterDependencies ...
type IncType ¶
type IncType string
IncType is one of IncTypes.
func GetIncType ¶
GetIncType returns IncType based on which segment of the Version was changed.
type Requirements ¶
type Requirements struct { Dependencies []*chart.Dependency `json:"dependencies,flow,inline"` // contains filtered or unexported fields }
Requirements is a list of requirements for a chart.
Requirements are charts upon which this chart depends. This expresses developer intent.
type Result ¶
type Result struct { *chart.Dependency CurrentVersion, LatestVersion *semver.Version }
Result ...
func ListOutdatedDependencies ¶
func ListOutdatedDependencies(chartPath string, settings *cli.EnvSettings, dependencyFilter *Filter) ([]*Result, error)
ListOutdatedDependencies returns a list of outdated dependencies of the given chart.
Click to show internal directories.
Click to hide internal directories.