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 ¶ added in v1.1.0
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.
func UpdateDependencies ¶
func UpdateDependencies(chartPath string, reqsToUpdate []*Result, indent int, helmSettings *helm_env.EnvSettings) error
UpdateDependencies updates the dependencies of the given chart.
Types ¶
type Filter ¶ added in v1.1.0
type Filter struct { Repositories, DependencyNames []string }
Filter for dependencies.
func (*Filter) FilterDependencies ¶ added in v1.1.0
func (f *Filter) FilterDependencies(dependencies []*chartutil.Dependency) []*chartutil.Dependency
FilterDependencies ...
type IncType ¶ added in v1.0.4
type IncType string
IncType is one of IncTypes.
func GetIncType ¶ added in v1.2.0
GetIncType returns IncType based on which segment of the Version was changed.
type Result ¶
type Result struct { *chartutil.Dependency CurrentVersion, LatestVersion *semver.Version }
Result ...
func ListOutdatedDependencies ¶
func ListOutdatedDependencies(chartPath string, helmSettings *helm_env.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.