controller

package
v0.1.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Overview

Package controller contains the cluster stack controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterAddonCreateReconciler

type ClusterAddonCreateReconciler struct {
	client.Client
	WatchFilterValue string
}

ClusterAddonCreateReconciler reconciles a Cluster object.

func (*ClusterAddonCreateReconciler) Reconcile

Reconcile is part of the main Kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ClusterAddonCreateReconciler) SetupWithManager

func (r *ClusterAddonCreateReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

type ClusterAddonReconciler

type ClusterAddonReconciler struct {
	client.Client
	RestConfigSettings
	ReleaseDirectory       string
	KubeClientFactory      kube.Factory
	WatchFilterValue       string
	WorkloadClusterFactory workloadcluster.Factory
}

ClusterAddonReconciler reconciles a ClusterAddon object.

func (*ClusterAddonReconciler) Reconcile

func (r *ClusterAddonReconciler) Reconcile(ctx context.Context, req reconcile.Request) (res reconcile.Result, reterr error)

Reconcile is part of the main Kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ClusterAddonReconciler) SetupWithManager

func (r *ClusterAddonReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

type ClusterStackReconciler

type ClusterStackReconciler struct {
	client.Client
	GitHubClientFactory githubclient.Factory
	ReleaseDirectory    string
	WatchFilterValue    string
}

ClusterStackReconciler reconciles a ClusterStack object.

func (*ClusterStackReconciler) ClusterStackReleaseToClusterStack

func (*ClusterStackReconciler) ClusterStackReleaseToClusterStack(ctx context.Context) handler.MapFunc

ClusterStackReleaseToClusterStack is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation for ClusterStacks that might get updated by changes in ClusterStackReleases.

func (*ClusterStackReconciler) Reconcile

func (r *ClusterStackReconciler) Reconcile(ctx context.Context, req reconcile.Request) (_ reconcile.Result, reterr error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the ClusterStack closer to the desired state.

func (*ClusterStackReconciler) SetupWithManager

func (r *ClusterStackReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

type ClusterStackReleaseReconciler

type ClusterStackReleaseReconciler struct {
	client.Client
	RESTConfig          *rest.Config
	ReleaseDirectory    string
	KubeClientFactory   kube.Factory
	GitHubClientFactory githubclient.Factory

	WatchFilterValue string
	// contains filtered or unexported fields
}

ClusterStackReleaseReconciler reconciles a ClusterStackRelease object.

func (*ClusterStackReleaseReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ClusterStackReleaseReconciler) SetupWithManager

func (r *ClusterStackReleaseReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

type RestConfigSettings

type RestConfigSettings struct {
	QPS   float32
	Burst int
}

RestConfigSettings contains Kubernetes rest config settings.

Jump to

Keyboard shortcuts

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