Versions in this module Expand all Collapse all v0 v0.7.6 Jan 29, 2021 Changes in this version + func DockerTag() string + func NewChartFunction(repo Repo, dir string, options ...ChartOption) ... + func NewHelmChartFunction(repo Repo, dir string, options ...ChartOption) ... + func NewJewel(backend JewelBackend, name string) (starlark.Value, error) + func ReadYamlFile(filename string) (starlark.Value, error) + func Version() string + func WriteYamlFile(filename string, value starlark.Value) error + type Chart interface + AddUsedBy func(reference string, k k8s.K8s) (int, error) + Apply func(thread *starlark.Thread, k k8s.K8s) error + Delete func(thread *starlark.Thread, k k8s.K8s, options *DeleteOptions) error + GetGenus func() string + GetName func() string + GetNamespace func() string + GetVersion func() *semver.Version + Package func(writer io.Writer, helmFormat bool) error + RemoveUsedBy func(reference string, k k8s.K8s) (int, error) + Template func(thread *starlark.Thread, k k8s.K8s) k8s.Stream + type ChartOption func(options *ChartOptions) + func WithArgs(args starlark.Tuple) ChartOption + func WithGenus(value string) ChartOption + func WithKwArgs(kwargs []starlark.Tuple) ChartOption + func WithNamespace(namespace string) ChartOption + func WithProperties(properties *starlark.Dict) ChartOption + func WithReadOnly(value bool) ChartOption + func WithSkipChart(value bool) ChartOption + func WithSuffix(suffix string) ChartOption + func WithValues(values map[string]interface{}) ChartOption + func WithVersion(value *semver.Version) ChartOption + type ChartOptions struct + func (v *ChartOptions) AddFlags(flagsSet *pflag.FlagSet) + func (v *ChartOptions) KwArgs(f *starlark.Function) []starlark.Tuple + func (v *ChartOptions) Merge() ChartOption + type ChartValue interface + type ComplexJewelBackend interface + Delete func(map[string][]byte) error + Template func() (map[string][]byte, error) + type DeleteOptions struct + func (s *DeleteOptions) AddFlags(flagsSet *pflag.FlagSet) + type DirCache struct + func NewDirCache(baseDir string) *DirCache + func (d *DirCache) WrapDir(load LoadDir) OpenDirCache + func (d *DirCache) WrapReader(load LoadReader) OpenReaderCache + type GenusAndVersion struct + func NewGenusAndVersion(url string) *GenusAndVersion + func (s *GenusAndVersion) AsOptions() []ChartOption + type JewelBackend interface + Apply func(map[string][]byte) (map[string][]byte, error) + Keys func() map[string]JewelValue + Name func() string + type JewelValue struct + Converter func(data []byte) (starlark.Value, error) + Name string + type LoadDir = func(name string, targetDir func() (string, error), etagOld string) (etagNew string, err error) + type LoadReader = func(name string, etagOld string) (reader io.ReadCloser, etagNew string, err error) + type OpenDirCache = func(name string) (cachedDir string, err error) + type OpenReaderCache = func(name string) (io.ReadCloser, error) + type Properties struct + func (p *Properties) GetValue() starlark.Value + func (p *Properties) Set(val string) error + func (p Properties) String() string + func (p Properties) Type() string + type Property interface + SetValue func(value starlark.Value) error + type PropertyValue interface + type ReadProperty interface + GetValue func() starlark.Value + GetValueOrDefault func() starlark.Value + type Repo interface + Get func(thread *starlark.Thread, url string, options ...ChartOption) (ChartValue, error) + GetFromSpec func(thread *starlark.Thread, spec *kdov1a2.ChartSpec, options ...ChartOption) (ChartValue, error) + List func(thread *starlark.Thread, k8s k8s.K8s, listOptions *RepoListOptions) ([]ChartValue, error) + func NewRepo(config ...RepoConfig) (Repo, error) + type RepoConfig func(r *repoConfigs) error + func WithBasicAuth(url string, username string, password string) RepoConfig + func WithCatalog(url string) RepoConfig + func WithConfigFile(filename string) RepoConfig + func WithTokenAuth(url string, token string) RepoConfig + type RepoListOptions struct + func (s *RepoListOptions) AddFlags(flagsSet *pflag.FlagSet) + type StructPropertyValue interface + type Vault interface + IsNotExist func(err error) bool + Read func(name string) (map[string][]byte, error) + Write func(name string, data map[string][]byte) error