controllers

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultCPUResource is the default cpu capacity when none is specified (k8s 1.22+)
	DefaultCPUResource = "1"
	// DefaultMemResource is the default memory capacity when none is specified (k8s 1.22+)
	DefaultMemResource = "4G"
)
View Source
const (

	// MachineControllerName defines the user-agent name used when creating rest clients
	MachineControllerName = "kubemarkmachine-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KubemarkCluster added in v0.4.0

type KubemarkCluster interface {
	GenerateKubemarkClusterClient(kubemarkClusterSecretRef *corev1.ObjectReference, ownerNamespace string, context gocontext.Context) (client.Client, string, error)
}

func NewKubemarkCluster added in v0.4.0

func NewKubemarkCluster(client client.Client) KubemarkCluster

NewKubemarkCluster creates new KubemarkCluster instance

type KubemarkMachineReconciler

type KubemarkMachineReconciler struct {
	client.Client
	KubemarkCluster KubemarkCluster
	Log             logr.Logger
	Scheme          *runtime.Scheme
	KubemarkImage   string
}

KubemarkMachineReconciler reconciles a KubemarkMachine object

func (*KubemarkMachineReconciler) Reconcile

func (*KubemarkMachineReconciler) SetupWithManager

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

type KubemarkMachineTemplateReconciler added in v0.3.0

type KubemarkMachineTemplateReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

func (*KubemarkMachineTemplateReconciler) Reconcile added in v0.3.0

func (*KubemarkMachineTemplateReconciler) SetupWithManager added in v0.3.0

func (r *KubemarkMachineTemplateReconciler) 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