Documentation

Index

Constants

View Source
const (
	WfInstanceIdLabelKey = "workflows.argoproj.io/controller-instanceid"
	WfInstanceId         = "activemonitor-workflows"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheckReconciler

type HealthCheckReconciler struct {
	client.Client
	DynClient dynamic.Interface

	Log                logr.Logger
	MaxParallel        int
	RepeatTimersByName map[string]*time.Timer
	// contains filtered or unexported fields
}

HealthCheckReconciler reconciles a HealthCheck object

func (*HealthCheckReconciler) DeleteClusterRole

func (r *HealthCheckReconciler) DeleteClusterRole(clientset kubernetes.Interface, clusterrole string) error

Delete a ClusterRole

func (*HealthCheckReconciler) DeleteClusterRoleBinding

func (r *HealthCheckReconciler) DeleteClusterRoleBinding(clientset kubernetes.Interface, clusterrolebinding string, clusterrole string, serviceaccount string, namespace string) error

Delete ClusterRoleBinding

func (*HealthCheckReconciler) DeleteNameSpaceRole

func (r *HealthCheckReconciler) DeleteNameSpaceRole(clientset kubernetes.Interface, nsrole string, namespace string) error

Delete NamespaceRole

func (*HealthCheckReconciler) DeleteNameSpaceRoleBinding

func (r *HealthCheckReconciler) DeleteNameSpaceRoleBinding(clientset kubernetes.Interface, rolebinding string, nsrole string, serviceaccount string, namespace string) error

Delete NamespaceRoleBinding

func (*HealthCheckReconciler) DeleteServiceAccount

func (r *HealthCheckReconciler) DeleteServiceAccount(clientset kubernetes.Interface, name string, namespace string) error

Delete a service Account

func (*HealthCheckReconciler) Reconcile

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

Reconcile per kubebuilder v2 pattern

func (*HealthCheckReconciler) SetupWithManager

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

SetupWithManager as used in main package by kubebuilder v2.0.0.alpha4