Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitScheme ¶
Types ¶
type ClassifierReconciler ¶
type ClassifierReconciler struct {
client.Client
Scheme *runtime.Scheme
RunMode Mode
ClusterNamespace string
ClusterName string
ClusterType libsveltosv1alpha1.ClusterType
// Used to update internal maps and sets
Mux sync.RWMutex
// key: GVK, Value: list of Classifiers based on that GVK
GVKClassifiers map[schema.GroupVersionKind]*libsveltosset.Set
// List of Classifier instances based on Kubernetes version
VersionClassifiers libsveltosset.Set
}
ClassifierReconciler reconciles a Classifier object
func (*ClassifierReconciler) SetupWithManager ¶
func (r *ClassifierReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type EventReportReconciler ¶
EventReportReconciler reconciles a EventReport object
func (*EventReportReconciler) SetupWithManager ¶
func (r *EventReportReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type EventSourceReconciler ¶
type EventSourceReconciler struct {
client.Client
Scheme *runtime.Scheme
RunMode Mode
ClusterNamespace string
ClusterName string
ClusterType libsveltosv1alpha1.ClusterType
// Used to update internal maps and sets
Mux sync.RWMutex
// key: GVK, Value: list of EventSources based on that GVK
GVKEventSources map[schema.GroupVersionKind]*libsveltosset.Set
}
EventSourceReconciler reconciles a EventSource object
func (*EventSourceReconciler) SetupWithManager ¶
func (r *EventSourceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type HealthCheckReconciler ¶
type HealthCheckReconciler struct {
client.Client
Scheme *runtime.Scheme
RunMode Mode
ClusterNamespace string
ClusterName string
ClusterType libsveltosv1alpha1.ClusterType
// Used to update internal maps and sets
Mux sync.RWMutex
// key: GVK, Value: list of HealthChecks based on that GVK
GVKHealthChecks map[schema.GroupVersionKind]*libsveltosset.Set
}
HealthCheckReconciler reconciles a HealthCheck object
func (*HealthCheckReconciler) SetupWithManager ¶
func (r *HealthCheckReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type HealthCheckReportReconciler ¶
HealthCheckReportReconciler reconciles a HealthCheckReport object
func (*HealthCheckReportReconciler) SetupWithManager ¶
func (r *HealthCheckReportReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NodeReconciler ¶
type NodeReconciler struct {
client.Client
*rest.Config
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
NodeReconciler reconciles a Node object
func (*NodeReconciler) SetupWithManager ¶
func (r *NodeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.