Documentation ¶
Index ¶
- func ChartRef(hostname string, namespace string, name string, tagname string) string
- type Fake
- func (r *Fake) ChartLoad(ref string) (*chart.Chart, error)
- func (r *Fake) ChartPull(ref string) error
- func (r *Fake) ChartPush(chart *chart.Chart, ref string) error
- func (r *Fake) ChartRemove(ref string) error
- func (r *Fake) ChartSave(chart *chart.Chart, ref string) error
- 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) 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) ChartLoad(ref string) (*chart.Chart, error)
- func (r *Impl) ChartPull(ref string) error
- func (r *Impl) ChartPush(chart *chart.Chart, ref string) error
- func (r *Impl) ChartRemove(ref string) error
- func (r *Impl) ChartSave(chart *chart.Chart, ref string) error
- 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) 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) ChartRemove ¶
ChartRemove helm chart from cache
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) ChartRemove ¶
ChartRemove helm chart from cache
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
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 ChartRemove(ref string) error ChartSave(chart *chart.Chart, ref string) error ChartLoad(ref string) (*chart.Chart, error) ChartPush(chart *chart.Chart, ref string) error ChartPull(ref 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.