helm

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller is responsible for performing actions dependent upon a helm phase.

func NewController

func NewController(client clientset.Interface, helmInformer platformv1informer.HelmInformer, resyncPeriod time.Duration) *Controller

NewController creates a new Controller object.

func (*Controller) Run

func (c *Controller) Run(workers int, stopCh <-chan struct{}) error

Run will set up the event handlers for types we are interested in, as well as syncing informer caches and starting workers.

type Option

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

Option is option for this component

type Prober

type Prober interface {
	// Run means starts to run prober
	Run(ch <-chan struct{})
	// Exist means whether key is in the prober
	Exist(key string) bool
	// ExistByPhase means whether key is in the prober for the given Addon
	ExistByPhase(key string, phase v1.AddonPhase) bool
	// Set means sets a prober for the given Addon
	Set(key string, phase v1.AddonPhase)
	// Del means remove a prober of the given key
	Del(key string)
}

Prober is used for probing the instance status

func NewHealthProber

func NewHealthProber(lister lister.HelmLister, client clientset.Interface) Prober

NewHealthProber returns a prober

type Provisioner

type Provisioner interface {
	Install(ctx context.Context) error
	Uninstall(ctx context.Context) error
	GetStatus(ctx context.Context) error
}

func NewProvisioner

func NewProvisioner(kubeClient kubernetes.Interface, option *Option) Provisioner

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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