controllers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsOpenShift

func IsOpenShift() (bool, error)

IsOpenShift detects if we are running in OpenShift using the discovery client

Types

type DaemonOperation

type DaemonOperation string

DaemonOperation represents the operation kata daemon is going to perform

const (
	// InstallOperation denotes kata installation operation
	InstallOperation DaemonOperation = "install"

	// UninstallOperation denotes kata uninstallation operation
	UninstallOperation DaemonOperation = "uninstall"

	// UpgradeOperation denotes kata upgrade operation
	UpgradeOperation DaemonOperation = "upgrade"
)

type KataConfigKubernetesReconciler

type KataConfigKubernetesReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

KataConfigKubernetesReconciler reconciles a KataConfig object in Kubernetes cluster

func (*KataConfigKubernetesReconciler) Reconcile

func (*KataConfigKubernetesReconciler) SetupWithManager

func (r *KataConfigKubernetesReconciler) SetupWithManager(mgr ctrl.Manager) error

type KataConfigOpenShiftReconciler

type KataConfigOpenShiftReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

KataConfigOpenShiftReconciler reconciles a KataConfig object

func (*KataConfigOpenShiftReconciler) Reconcile

func (*KataConfigOpenShiftReconciler) SetupWithManager

func (r *KataConfigOpenShiftReconciler) SetupWithManager(mgr ctrl.Manager) error

type KataConfigReconciler

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

KataConfigReconciler reconciles a KataConfig object

func (*KataConfigReconciler) Reconcile

func (r *KataConfigReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*KataConfigReconciler) SetupWithManager

func (r *KataConfigReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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