Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mutator ¶
Mutator is the struct of webhook +k8s:deepcopy-gen=false
type ReconcilePodPreset ¶
type ReconcilePodPreset struct { // This client, initialized using mgr.Client() above, is a split client // that reads objects from the cache and writes to the apiserver Client client.Client Scheme *runtime.Scheme }
ReconcilePodPreset reconciles a PodPreset object
func (*ReconcilePodPreset) AddNameLabeltoNs ¶ added in v1.5.0
func (r *ReconcilePodPreset) AddNameLabeltoNs(nsName string) error
func (*ReconcilePodPreset) Reconcile ¶
func (r *ReconcilePodPreset) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile reads that state of the cluster for a PodPreset object and makes changes based on the state read and what is in the PodPreset.Spec TODO(user): Modify this Reconcile function to implement your Controller logic. This example creates a Pod as an example Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*ReconcilePodPreset) SetupWithManager ¶ added in v1.4.0
func (r *ReconcilePodPreset) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.