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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.