Documentation ¶
Index ¶
- type ApiServerOverloadReconciler
- type CommandInjectionReconciler
- type ConfigMapDestroyerReconciler
- type ConsumeNamespaceResourcesReconciler
- func (r *ConsumeNamespaceResourcesReconciler) CreateOrUpdate(ctx context.Context, obj client.Object) error
- func (r *ConsumeNamespaceResourcesReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ConsumeNamespaceResourcesReconciler) SetupWithManager(mgr ctrl.Manager) error
- type ContainerResourceChaosReconciler
- type CordonNodeReconciler
- type EventsEntropyReconciler
- type NodeDestroyerReconciler
- type NodeTainterReconciler
- type PodDestroyerReconciler
- type PodLabelChaosReconciler
- type RandomScalingReconciler
- type SecretDestroyerReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiServerOverloadReconciler ¶
ApiServerOverloadReconciler reconciles a ApiServerOverload object
func (*ApiServerOverloadReconciler) Reconcile ¶
func (r *ApiServerOverloadReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main Kubernetes reconciliation loop
func (*ApiServerOverloadReconciler) SetupWithManager ¶
func (r *ApiServerOverloadReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CommandInjectionReconciler ¶
CommandInjectionReconciler reconciles a CommandInjection object
func (*CommandInjectionReconciler) Reconcile ¶
func (r *CommandInjectionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main Kubernetes reconciliation loop
func (*CommandInjectionReconciler) SetupWithManager ¶
func (r *CommandInjectionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ConfigMapDestroyerReconciler ¶
ConfigMapDestroyerReconciler reconciles a ConfigMapDestroyer object
func (*ConfigMapDestroyerReconciler) Reconcile ¶
func (r *ConfigMapDestroyerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main Kubernetes reconciliation loop
func (*ConfigMapDestroyerReconciler) SetupWithManager ¶
func (r *ConfigMapDestroyerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ConsumeNamespaceResourcesReconciler ¶
ConsumeNamespaceResourcesReconciler reconciles a ConsumeNamespaceResources object
func (*ConsumeNamespaceResourcesReconciler) CreateOrUpdate ¶
func (r *ConsumeNamespaceResourcesReconciler) CreateOrUpdate(ctx context.Context, obj client.Object) error
CreateOrUpdate creates the resource if it doesn't exist, otherwise updates it
func (*ConsumeNamespaceResourcesReconciler) SetupWithManager ¶
func (r *ConsumeNamespaceResourcesReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ContainerResourceChaosReconciler ¶
ContainerResourceChaosReconciler reconciles a ContainerResourceChaos object
func (*ContainerResourceChaosReconciler) Reconcile ¶
func (r *ContainerResourceChaosReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main Kubernetes reconciliation loop
func (*ContainerResourceChaosReconciler) SetupWithManager ¶
func (r *ContainerResourceChaosReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CordonNodeReconciler ¶
CordonNodeReconciler reconciles a CordonNode object
func (*CordonNodeReconciler) SetupWithManager ¶
func (r *CordonNodeReconciler) SetupWithManager(mgr ctrl.Manager) error
type EventsEntropyReconciler ¶
EventsEntropyReconciler reconciles a EventsEntropy object
func (*EventsEntropyReconciler) SetupWithManager ¶
func (r *EventsEntropyReconciler) SetupWithManager(mgr ctrl.Manager) error
type NodeDestroyerReconciler ¶
NodeDestroyerReconciler reconciles a NodeDestroyer object
func (*NodeDestroyerReconciler) Reconcile ¶
func (r *NodeDestroyerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main Kubernetes reconciliation loop
func (*NodeDestroyerReconciler) SetupWithManager ¶
func (r *NodeDestroyerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NodeTainterReconciler ¶
NodeTainterReconciler reconciles a NodeTainter object
func (*NodeTainterReconciler) Reconcile ¶
func (r *NodeTainterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main Kubernetes reconciliation loop
func (*NodeTainterReconciler) SetupWithManager ¶
func (r *NodeTainterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PodDestroyerReconciler ¶
PodDestroyerReconciler reconciles a PodDestroyer object
func (*PodDestroyerReconciler) Reconcile ¶
func (r *PodDestroyerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the PodDestroyer object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile Reconcile is part of the main kubernetes reconciliation loop
func (*PodDestroyerReconciler) SetupWithManager ¶
func (r *PodDestroyerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PodLabelChaosReconciler ¶
PodLabelChaosReconciler reconciles a PodLabelChaos object
func (*PodLabelChaosReconciler) Reconcile ¶
func (r *PodLabelChaosReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main Kubernetes reconciliation loop
func (*PodLabelChaosReconciler) SetupWithManager ¶
func (r *PodLabelChaosReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RandomScalingReconciler ¶
RandomScalingReconciler reconciles a RandomScaling object
func (*RandomScalingReconciler) Reconcile ¶
func (r *RandomScalingReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile implements the reconciliation loop for RandomScaling
func (*RandomScalingReconciler) SetupWithManager ¶
func (r *RandomScalingReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SecretDestroyerReconciler ¶
SecretDestroyerReconciler reconciles a SecretDestroyer object
func (*SecretDestroyerReconciler) Reconcile ¶
func (r *SecretDestroyerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main Kubernetes reconciliation loop
func (*SecretDestroyerReconciler) SetupWithManager ¶
func (r *SecretDestroyerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files ¶
- apiserveroverload_controller.go
- commandinjection_controller.go
- configmapdestroyer_controller.go
- consumenamespaceresources_controller.go
- containerresourcechaos_controller.go
- cordonnode_controller.go
- eventsentropy_controller.go
- nodedestroyer_controller.go
- nodetainter_controller.go
- poddestroyer_controller.go
- podlabelchaos_controller.go
- randomscaling_controller.go
- secretdestroyer_controller.go