cluster-api-provider-aws: github.com/kubernetes-sigs/cluster-api-provider-aws/controllers Index | Files

package controllers

import "github.com/kubernetes-sigs/cluster-api-provider-aws/controllers"

Index

Package Files

awscluster_controller.go awsmachine_annotations.go awsmachine_controller.go awsmachine_security_groups.go awsmachine_tags.go helpers.go

Constants

const (
    // AWSManagedControlPlaneRefKind is the string value indicating that a cluster is AWS managed
    AWSManagedControlPlaneRefKind = "AWSManagedControlPlane"
)
const (
    // SecurityGroupsLastAppliedAnnotation is the key for the machine object
    // annotation which tracks the SecurityGroups that the machine actuator is
    // responsible for. These are the SecurityGroups that have been handled by
    // the AdditionalSecurityGroups in the Machine Provider Config.
    // See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
    // for annotation formatting rules.
    SecurityGroupsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws-last-applied-security-groups"
)
const (
    // TagsLastAppliedAnnotation is the key for the machine object annotation
    // which tracks the SecurityGroups that the machine actuator is responsible
    // for. These are the SecurityGroups that have been handled by the
    // AdditionalTags in the Machine 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"
)

type AWSClusterReconciler Uses

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

AWSClusterReconciler reconciles a AwsCluster object

func (*AWSClusterReconciler) Reconcile Uses

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

func (*AWSClusterReconciler) SetupWithManager Uses

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

type AWSMachineReconciler Uses

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

    SSMServiceFactory func(cloud.ClusterScoper) services.SecretInterface
    Endpoints         []scope.ServiceEndpoint
    // contains filtered or unexported fields
}

AWSMachineReconciler reconciles a AwsMachine object

func (*AWSMachineReconciler) AWSClusterToAWSMachines Uses

func (r *AWSMachineReconciler) AWSClusterToAWSMachines(o handler.MapObject) []ctrl.Request

AWSClusterToAWSMachines is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of AWSMachines.

func (*AWSMachineReconciler) Reconcile Uses

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

func (*AWSMachineReconciler) SetupWithManager Uses

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

Package controllers imports 41 packages (graph). Updated 2020-10-24. Refresh now. Tools for package owners.