Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitScheme ¶
Types ¶
type ClusterReconciler ¶
type ClusterReconciler struct { *rest.Config client.Client Scheme *runtime.Scheme AgentInMgmtCluster bool ReportMode ReportMode }
ClusterReconciler reconciles a Cluster object
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ReportMode ¶ added in v0.20.0
type ReportMode int
const ( // Default mode. In this mode, Classifier running // in the management cluster periodically collect // ClassifierReport from Sveltos/CAPI clusters CollectFromManagementCluster ReportMode = iota // In this mode, classifier agent sends ClassifierReport // to management cluster. // SveltosAgent is provided with Kubeconfig to access // management cluster and can only update ClassifierReport/ // HealthCheckReport/EventReport AgentSendReportsNoGateway )
type SveltosClusterReconciler ¶
type SveltosClusterReconciler struct { *rest.Config client.Client Scheme *runtime.Scheme AgentInMgmtCluster bool ReportMode ReportMode }
SveltosClusterReconciler reconciles a SveltosCluster object
func (*SveltosClusterReconciler) SetupWithManager ¶
func (r *SveltosClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.