kymainstallation

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Step

type Step interface {
	Run() error
	Status() (string, error)
	ToString() string
}

Step defines the contract for a single installation/uninstallation operation

type StepFactory

type StepFactory interface {
	NewStep(component v1alpha1.KymaComponent) Step
}

StepFactory defines the contract for obtaining an instance of an installation/uninstallation Step

type StepFactoryCreator

type StepFactoryCreator interface {
	NewInstallStepFactory(overrides.OverrideData, kymasources.LegacyKymaSourceConfig) (StepFactory, error)
	NewUninstallStepFactory() (StepFactory, error)
}

StepFactoryCreator knows how to create an instance of the StepFactory

func NewStepFactoryCreator

func NewStepFactoryCreator(helmClient kymahelm.ClientInterface, kymaPackages kymasources.KymaPackages, fsWrapper kymasources.FilesystemWrapper, rootDir string) StepFactoryCreator

NewStepFactoryCreator returns a new StepFactoryCreator instance.

Jump to

Keyboard shortcuts

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