Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterReconciler ¶
ClusterReconciler reconciles a SveltosCluster object.
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ProfileConfig ¶
type ProfileConfig struct {
// KSM specific configuration
// Priority is the priority of the Profile.
Priority *int32 `json:"priority,omitempty"`
// DriftIgnore is a list of [github.com/projectsveltos/libsveltos/api/v1beta1.PatchSelector] to ignore
// when checking for drift.
DriftIgnore []libsveltosv1beta1.PatchSelector `json:"driftIgnore,omitempty"`
SyncMode string `json:"syncMode,omitempty"`
TemplateResourceRefs []addoncontrollerv1beta1.TemplateResourceRef `json:"templateResourceRefs,omitempty"`
PolicyRefs []addoncontrollerv1beta1.PolicyRef `json:"policyRefs,omitempty"`
DriftExclusions []addoncontrollerv1beta1.DriftExclusion `json:"driftExclusions,omitempty"`
Patches []libsveltosv1beta1.Patch `json:"patches,omitempty"`
ContinueOnError bool `json:"continueOnError,omitempty"`
Reloader bool `json:"reloader,omitempty"`
StopOnConflict bool `json:"stopOnConflict,omitempty"`
}
type ServiceSetReconciler ¶
type ServiceSetReconciler struct {
client.Client
// AdapterName is the name of the workload running the controller
// effectively this name is used to identify adapter in the
// [github.com/k0rdent/kcm/api/v1beta1.StateManagementProvider] spec.
AdapterName string
AdapterNamespace string
// contains filtered or unexported fields
}
ServiceSetReconciler reconciles a ServiceSet object and produces github.com/projectsveltos/addon-controller/api/v1beta1.Profile objects.
func (*ServiceSetReconciler) SetupWithManager ¶
func (r *ServiceSetReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.