Documentation ¶
Index ¶
- type ManifestWorkReplicaSetWebhook
- func (r *ManifestWorkReplicaSetWebhook) Init(mgr ctrl.Manager) error
- func (r *ManifestWorkReplicaSetWebhook) SetExternalKubeClientSet(client kubernetes.Interface)
- func (r *ManifestWorkReplicaSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ManifestWorkReplicaSetWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) error
- func (r *ManifestWorkReplicaSetWebhook) ValidateDelete(_ context.Context, obj runtime.Object) error
- func (r *ManifestWorkReplicaSetWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManifestWorkReplicaSetWebhook ¶ added in v0.11.0
type ManifestWorkReplicaSetWebhook struct {
// contains filtered or unexported fields
}
func (*ManifestWorkReplicaSetWebhook) Init ¶ added in v0.11.0
func (r *ManifestWorkReplicaSetWebhook) Init(mgr ctrl.Manager) error
func (*ManifestWorkReplicaSetWebhook) SetExternalKubeClientSet ¶ added in v0.11.0
func (r *ManifestWorkReplicaSetWebhook) SetExternalKubeClientSet(client kubernetes.Interface)
SetExternalKubeClientSet is function to enable the webhook injecting to kube admssion
func (*ManifestWorkReplicaSetWebhook) SetupWebhookWithManager ¶ added in v0.11.0
func (r *ManifestWorkReplicaSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ManifestWorkReplicaSetWebhook) ValidateCreate ¶ added in v0.11.0
func (r *ManifestWorkReplicaSetWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ManifestWorkReplicaSetWebhook) ValidateDelete ¶ added in v0.11.0
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ManifestWorkReplicaSetWebhook) ValidateUpdate ¶ added in v0.11.0
func (r *ManifestWorkReplicaSetWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
Click to show internal directories.
Click to hide internal directories.