Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(name string, obj runtime.Object, routeFunc func(runtime.Object) bool, newEndpoint endpoint.NewEndpoint)
Register registers an endpoint
func SetupWithManagerAndConfigs ¶
func SetupWithManagerAndConfigs(c client.Client, mgr ctrl.Manager, cfg *config.ChaosControllerConfig) error
SetupWithManagerAndConfigs setups reconciler with manager and controller configs
Types ¶
type Reconciler ¶
type Reconciler struct { Name string Object runtime.Object Endpoints []routeEndpoint ClusterScoped bool TargetNamespace string ctx.Context }
Reconciler reconciles a chaos resource
func NewReconciler ¶
func NewReconciler(name string, object runtime.Object, c client.Client, mgr ctrl.Manager, endpoints []routeEndpoint, clusterScoped bool, targetNamespace string) *Reconciler
NewReconciler creates a new reconciler
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers controller to manager
Click to show internal directories.
Click to hide internal directories.