Documentation ¶
Index ¶
- func SetupWithManager(mgr manager.Manager, systemNamespace string, opts ...Option) error
- type Option
- func WithActionClientGetter(acg helmclient.ActionClientGetter) Option
- func WithFinalizers(f crfinalizer.Finalizers) Option
- func WithHandler(h handler.Handler) Option
- func WithPreflights(preflights ...Preflight) Option
- func WithProvisionerID(provisionerID string) Option
- func WithStorage(s storage.Storage) Option
- func WithUnpacker(u unpackersource.Unpacker) Option
- type Preflight
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 WithPreflights ¶ added in v0.22.0
func WithProvisionerID ¶
func WithStorage ¶
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
Click to show internal directories.
Click to hide internal directories.