controllers

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TagsLastAppliedAnnotation is the key for the AWSMachinePool object annotation
	// which tracks the tags that the AWSMachinePool actuator is responsible
	// for. These are the tags that have been handled by the
	// AdditionalTags in the AWSMachinePool Provider Config.
	// See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
	// for annotation formatting rules.
	TagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws-last-applied-tags"
)

Variables

This section is empty.

Functions

func GetOwnerClusterKey added in v0.6.1

func GetOwnerClusterKey(obj metav1.ObjectMeta) (*client.ObjectKey, error)

GetOwnerClusterKey returns only the Cluster name and namespace

Types

type AWSMachinePoolReconciler added in v0.6.1

type AWSMachinePoolReconciler struct {
	client.Client
	Log      logr.Logger
	Recorder record.EventRecorder
	// contains filtered or unexported fields
}

AWSMachinePoolReconciler reconciles a AWSMachinePool object

func (*AWSMachinePoolReconciler) Reconcile added in v0.6.1

func (r *AWSMachinePoolReconciler) Reconcile(req ctrl.Request) (_ ctrl.Result, reterr error)

Reconcile is the reconciliation loop for AWSMachinePool

func (*AWSMachinePoolReconciler) SetupWithManager added in v0.6.1

func (r *AWSMachinePoolReconciler) SetupWithManager(mgr ctrl.Manager) error

type AWSManagedClusterReconciler

type AWSManagedClusterReconciler struct {
	client.Client
	Log      logr.Logger
	Recorder record.EventRecorder
}

AWSManagedClusterReconciler reconciles AWSManagedCluster

func (*AWSManagedClusterReconciler) Reconcile

func (r *AWSManagedClusterReconciler) Reconcile(req ctrl.Request) (_ ctrl.Result, reterr error)

func (*AWSManagedClusterReconciler) SetupWithManager

func (r *AWSManagedClusterReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error

type AWSManagedMachinePoolReconciler added in v0.6.1

type AWSManagedMachinePoolReconciler struct {
	client.Client
	Log       logr.Logger
	Recorder  record.EventRecorder
	Endpoints []scope.ServiceEndpoint

	EnableIAM bool
}

AWSManagedMachinePoolReconciler reconciles a AWSManagedMachinePool object

func (*AWSManagedMachinePoolReconciler) Reconcile added in v0.6.1

func (r *AWSManagedMachinePoolReconciler) Reconcile(req ctrl.Request) (_ ctrl.Result, reterr error)

Reconcile reconciles AWSManagedMachinePools

func (*AWSManagedMachinePoolReconciler) SetupWithManager added in v0.6.1

func (r *AWSManagedMachinePoolReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error

SetupWithManager is used to setup the controller

Jump to

Keyboard shortcuts

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