infrastructureclusterxk8sio

package
v0.1.2-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetASGByTag

func GetASGByTag(kopsMachinePool *infrastructurev1alpha1.KopsMachinePool, awsClient *session.Session) (*autoscaling.Group, error)

GetASGByTag returns the existing ASG or nothing if it doesn't exist.

Types

type KopsMachinePoolReconciler

type KopsMachinePoolReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	WatchFilterValue string

	Recorder                   record.EventRecorder
	ValidateKopsClusterFactory func(kopsClientset simple.Clientset, kopsCluster *kopsapi.Cluster, igs *kopsapi.InstanceGroupList) (*validation.ValidationCluster, error)
	GetASGByTagFactory         func(kopsMachinePool *infrastructurev1alpha1.KopsMachinePool, awsClient *session.Session) (*autoscaling.Group, error)
	// contains filtered or unexported fields
}

KopsMachinePoolReconciler reconciles a KopsMachinePool object

func (*KopsMachinePoolReconciler) Reconcile

func (r *KopsMachinePoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr error)

func (*KopsMachinePoolReconciler) SetupWithManager

func (r *KopsMachinePoolReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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