components

package
v0.0.0-...-6f54f59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	Name       string
	Namespace  string
	Status     string
	ChartDir   string
	Overrides  map[string]interface{}
	HelmClient helm.ClientInterface
}

func NewComponent

func NewComponent(name, namespace, chartDir string, overrides map[string]interface{}, helmClient helm.ClientInterface) *Component

func (*Component) InstallComponent

func (c *Component) InstallComponent() error

func (*Component) UninstallComponent

func (c *Component) UninstallComponent() error

type ComponentInstallation

type ComponentInstallation interface {
	InstallComponent() error
	UnInstallComponent() error
}

type ComponentsProvider

type ComponentsProvider interface {
	GetComponents() ([]Component, error)
}

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func NewComponents

func NewComponents(overridesProvider overrides.OverridesProvider, path string, componentListYaml string) *Provider

func (*Provider) GetComponents

func (p *Provider) GetComponents() ([]Component, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL