Documentation ¶
Index ¶
- func ConditionMet(condition string, values map[string]any) bool
- func IdentifyImportCandidates(ctx context.Context, registries []registry.Registry, ...) ([]registry.Image, error)
- func VersionsInRange(r semver.Range, c Chart) ([]string, error)
- type Chart
- func (c Chart) AddToHelmRepositoryFile() (bool, error)
- func (c Chart) CountDependencies() (int, error)
- func (c Chart) LatestVersion() (string, error)
- func (c Chart) Locate() (string, error)
- func (c Chart) Pull() (string, error)
- func (c Chart) Push(registry string, insecure bool, plainHTTP bool) (string, error)
- func (c Chart) PushAndModify(registry string, insecure bool, plainHTTP bool) (string, error)
- func (c *Chart) Read(update bool) (string, *chart.Chart, map[string]any, error)
- func (c Chart) ResolveVersion() (string, error)
- func (c Chart) ResolveVersions() ([]string, error)
- func (c Chart) Values() (map[string]any, error)
- type ChartCollection
- type ChartData
- type ChartImportOption
- type ChartOption
- type Images
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConditionMet ¶
traverse helm chart values to determine if condition is met
func IdentifyImportCandidates ¶
func IdentifyImportCandidates(ctx context.Context, registries []registry.Registry, chartImageValuesMap ChartData, all bool) ([]registry.Image, error)
Converts data structure to pipeline parameters
func VersionsInRange ¶ added in v0.1.18
Types ¶
type Chart ¶
type Chart struct { Name string `json:"name"` Version string `json:"version"` ValuesFilePath string `json:"valuesFilePath"` Repo repo.Entry `json:"repo"` Parent *Chart Images *Images `json:"images"` PlainHTTP bool `json:"plainHTTP"` DepsCount int }
func DependencyToChart ¶ added in v0.1.21
func DependencyToChart(d *chart.Dependency, p Chart) Chart
func (Chart) AddToHelmRepositoryFile ¶
AddChartRepositoryToHelmRepositoryFile adds repository to Helm repository.yml to enable querying/pull
func (Chart) CountDependencies ¶ added in v0.1.8
func (Chart) LatestVersion ¶
func (Chart) PushAndModify ¶ added in v0.1.8
func (Chart) ResolveVersion ¶
func (Chart) ResolveVersions ¶ added in v0.1.5
type ChartCollection ¶
type ChartCollection struct {
Charts []Chart `json:"charts"`
}
func (ChartCollection) SetupHelm ¶
func (collection ChartCollection) SetupHelm(setters ...Option) (ChartCollection, error)
configures helm and pulls charts to local fs
type ChartImportOption ¶
type ChartImportOption struct { Registries []registry.Registry ChartCollection *ChartCollection All bool ModifyRegistry bool }
type ChartOption ¶
type ChartOption struct { ChartCollection *ChartCollection IdentifyImages bool UseCustomValues bool }
Click to show internal directories.
Click to hide internal directories.