infrastructureclusterxk8sio

package
v0.3.7-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetASGByName

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

GetASGByName 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
	GetKopsClientSetFactory    func(configBase string) (simple.Clientset, error)
	ValidateKopsClusterFactory func(kopsClientset simple.Clientset, kopsCluster *kopsapi.Cluster, igs *kopsapi.InstanceGroupList) (*validation.ValidationCluster, error)
	GetASGByNameFactory        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