Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action int
const ( // actionInit tells the controller to initialize the created Instance ActionInit Action = iota // actionUpdate tells the controller to update the Instance status ActionUpdate // actionCleanup tells the controller to remove the Instance // and all other resources owned by it ActionCleanup // actionIgnore tells the controller to do nothing and ignore the request ActionIgnore )
type InstanceReconciler ¶
type InstanceReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Decider Decider }
InstanceReconciler reconciles a Instance object
func (*InstanceReconciler) Reconcile ¶
+kubebuilder:rbac:groups=instance.cow.network,resources=instances,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=instance.cow.network,resources=instances/status,verbs=get;update;patch +kubebuilder:rbac:groups=batch,resources=instances,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=batch,resources=instances/status,verbs=get
func (*InstanceReconciler) SetupWithManager ¶
func (r *InstanceReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.