bundledeployment

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupWithManager

func SetupWithManager(mgr manager.Manager, systemNamespace string, opts ...Option) error

Types

type Option

type Option func(bd *controller)

func WithActionClientGetter

func WithActionClientGetter(acg helmclient.ActionClientGetter) Option

func WithFinalizers added in v0.17.0

func WithFinalizers(f crfinalizer.Finalizers) Option

func WithHandler

func WithHandler(h handler.Handler) Option

func WithPreflights added in v0.22.0

func WithPreflights(preflights ...Preflight) Option

func WithProvisionerID

func WithProvisionerID(provisionerID string) Option

func WithStorage

func WithStorage(s storage.Storage) Option

func WithUnpacker added in v0.17.0

func WithUnpacker(u unpackersource.Unpacker) Option

type Preflight added in v0.22.0

type Preflight interface {
	// Install runs checks that should be successful prior
	// to installing the Helm release. It is provided
	// a Helm release and returns an error if the
	// check is unsuccessful
	Install(context.Context, *release.Release) error

	// Upgrade runs checks that should be successful prior
	// to upgrading the Helm release. It is provided
	// a Helm release and returns an error if the
	// check is unsuccessful
	Upgrade(context.Context, *release.Release) error
}

Preflight is a check that should be run before making any changes to the cluster

Jump to

Keyboard shortcuts

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