cluster

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: MPL-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ClusterAPIProviderTalosNamespace = "cluster-api-provider-talos-system"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterActuator

type ClusterActuator struct {
	Clientset *kubernetes.Clientset
	// contains filtered or unexported fields
}

ClusterActuator is responsible for performing machine reconciliation +kubebuilder:rbac:groups="",resources=configmaps,verbs=get;list;watch;create;update;patch;delete Add RBAC rules to access cluster-api resources +kubebuilder:rbac:groups=cluster.k8s.io,resources=clusters;clusters/status,verbs=get;list;watch

func NewClusterActuator

func NewClusterActuator(mgr manager.Manager, params ClusterActuatorParams) (*ClusterActuator, error)

NewClusterActuator creates a new Actuator

func (*ClusterActuator) Delete

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

Delete deletes a cluster and is invoked by the Cluster Controller

func (*ClusterActuator) Reconcile

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

Reconcile reconciles a cluster and is invoked by the Cluster Controller TODO: This needs to be idempotent. Check if these certs and stuff already exist

type ClusterActuatorParams

type ClusterActuatorParams struct {
}

ClusterActuatorParams holds parameter information for Actuator

Jump to

Keyboard shortcuts

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