cluster

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Actuator

type Actuator struct {
	*deployer.Deployer
	// contains filtered or unexported fields
}

Actuator is responsible for performing cluster reconciliation

func NewActuator

func NewActuator(params ActuatorParams) *Actuator

NewActuator creates a new Actuator

func (*Actuator) Delete

func (a *Actuator) Delete(cluster *clusterv1.Cluster) error

Delete deletes a cluster and is invoked by the Cluster Controller.

func (*Actuator) Reconcile

func (a *Actuator) Reconcile(cluster *clusterv1.Cluster) error

Reconcile reconciles a cluster and is invoked by the Cluster Controller

type ActuatorParams

type ActuatorParams struct {
	Client client.ClusterV1alpha1Interface
}

ActuatorParams holds parameter information for Actuator

type Reconciler

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

Reconciler are list of services required by cluster actuator, easy to create a fake

func NewReconciler

func NewReconciler(scope *actuators.Scope) *Reconciler

NewReconciler populates all the services based on input scope

func (*Reconciler) Delete

func (r *Reconciler) Delete() error

Delete reconciles all the services in pre determined order

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile() error

Reconcile reconciles all the services in pre determined order

Jump to

Keyboard shortcuts

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