Documentation
¶
Index ¶
- func ConditionMet(condition string, values map[string]any) bool
- func IdentifyImportCandidates(ctx context.Context, registries []registry.Registry, ...) ([]registry.Image, error)
- type Chart
- func (c Chart) AddToHelmRepositoryFile() 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) 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 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
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 }
func (Chart) AddToHelmRepositoryFile ¶
AddChartRepositoryToHelmRepositoryFile adds repository to Helm repository.yml to enable querying/pull
func (Chart) LatestVersion ¶
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 }
type ChartOption ¶
type ChartOption struct { ChartCollection *ChartCollection UseCustomValues bool }
Click to show internal directories.
Click to hide internal directories.