driver

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHelm

func NewHelm(log logr.Logger) (*helmDriver, error)

Types

type PackageDriver

type PackageDriver interface {
	// Install or upgrade an package.
	Install(ctx context.Context, name string, namespace string, source api.PackageOCISource, values map[string]interface{}) error

	// Uninstall an package.
	Uninstall(ctx context.Context, name string) error
}

PackageDriver is an interface for converting a CRD to a series of Kubernetes objects.

Its first implementation will be Helm, but the interface is used to enhance and simplify testing as well as abstract the details of Helm.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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