Documentation
¶
Index ¶
- func ChartRef(hostname string, namespace string, name string, tagname string) string
- type Fake
- func (r *Fake) GetResources(kubeNamespace string, releaseName string) ([]*unstructured.Unstructured, error)
- func (r *Fake) Install(chart *chart.Chart, kubeNamespace string, releaseName string, ...) (*release.Release, error)
- func (r *Fake) Load(ref string, chartPath string) (*chart.Chart, error)
- func (r *Fake) Package(chartPath string, destinationPath string, version string) error
- func (r *Fake) Pull(ref string, destination string) error
- func (r *Fake) RegistryLogin(hostname string, username string, password string, insecure bool) error
- func (r *Fake) RegistryLogout(hostname string) error
- func (r *Fake) Status(kubeNamespace string, releaseName string) (*release.Release, error)
- func (r *Fake) Uninstall(kubeNamespace string, releaseName string) (*release.UninstallReleaseResponse, error)
- func (r *Fake) Upgrade(chart *chart.Chart, kubeNamespace string, releaseName string, ...) (*release.Release, error)
- type Impl
- func (r *Impl) GetResources(kubeNamespace string, releaseName string) ([]*unstructured.Unstructured, error)
- func (r *Impl) Install(chart *chart.Chart, kubeNamespace string, releaseName string, ...) (*release.Release, error)
- func (r *Impl) Load(ref string, chartPath string) (*chart.Chart, error)
- func (r *Impl) Package(chartPath string, destinationPath string, version string) error
- func (r *Impl) Pull(ref string, destination string) error
- func (r *Impl) RegistryLogin(hostname string, username string, password string, insecure bool) error
- func (r *Impl) RegistryLogout(hostname string) error
- func (r *Impl) Status(kubeNamespace string, releaseName string) (*release.Release, error)
- func (r *Impl) Uninstall(kubeNamespace string, releaseName string) (*release.UninstallReleaseResponse, error)
- func (r *Impl) Upgrade(chart *chart.Chart, kubeNamespace string, releaseName string, ...) (*release.Release, error)
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fake ¶
type Fake struct {
// contains filtered or unexported fields
}
Fake implementation
func NewEmptyFake ¶
func NewEmptyFake() *Fake
func NewFake ¶
func NewFake(release *release.Release, resources []*unstructured.Unstructured) *Fake
func (*Fake) GetResources ¶
func (r *Fake) GetResources(kubeNamespace string, releaseName string) ([]*unstructured.Unstructured, error)
GetResources returns allocated resources for the specified release (their current state)
func (*Fake) Install ¶
func (r *Fake) Install(chart *chart.Chart, kubeNamespace string, releaseName string, vals map[string]interface{}) (*release.Release, error)
Install helm release
func (*Fake) RegistryLogin ¶
func (r *Fake) RegistryLogin(hostname string, username string, password string, insecure bool) error
RegistryLogin to docker registry v2
func (*Fake) RegistryLogout ¶
RegistryLogout to docker registry v2
type Impl ¶
type Impl struct { }
Impl implementation
func (*Impl) GetResources ¶
func (r *Impl) GetResources(kubeNamespace string, releaseName string) ([]*unstructured.Unstructured, error)
GetResources returns allocated resources for the specified release (their current state)
func (*Impl) Install ¶
func (r *Impl) Install(chart *chart.Chart, kubeNamespace string, releaseName string, vals map[string]interface{}) (*release.Release, error)
Install helm release from packaged chart
func (*Impl) RegistryLogin ¶
func (r *Impl) RegistryLogin(hostname string, username string, password string, insecure bool) error
RegistryLogin to docker registry v2
func (*Impl) RegistryLogout ¶
RegistryLogout to docker registry v2
type Interface ¶
type Interface interface { Uninstall(kubeNamespace string, releaseName string) (*release.UninstallReleaseResponse, error) Install(chart *chart.Chart, kubeNamespace string, releaseName string, vals map[string]interface{}) (*release.Release, error) Upgrade(chart *chart.Chart, kubeNamespace string, releaseName string, vals map[string]interface{}) (*release.Release, error) Status(kubeNamespace string, releaseName string) (*release.Release, error) RegistryLogin(hostname string, username string, password string, insecure bool) error RegistryLogout(hostname string) error Pull(ref string, destination string) error Load(ref string, chartPath string) (*chart.Chart, error) Package(chartPath string, destinationPath string, version string) error GetResources(kubeNamespace string, releaseName string) ([]*unstructured.Unstructured, error) }
Interface of a helm chart
Click to show internal directories.
Click to hide internal directories.