Documentation ¶
Index ¶
- type WebhookRegistrationClient
- func (wrc *WebhookRegistrationClient) DeregisterAll()
- func (wrc *WebhookRegistrationClient) DeregisterMutatingWebhook()
- func (wrc *WebhookRegistrationClient) Register() error
- func (wrc *WebhookRegistrationClient) RegisterMutatingWebhook() error
- func (wrc *WebhookRegistrationClient) RegisterPolicyValidatingWebhook() error
- func (wrc *WebhookRegistrationClient) RegisterValidatingWebhook() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookRegistrationClient ¶
type WebhookRegistrationClient struct { MutationRegistered *abool.AtomicBool ValidationRegistered *abool.AtomicBool // contains filtered or unexported fields }
WebhookRegistrationClient is client for registration webhooks on cluster
func NewWebhookRegistrationClient ¶
func NewWebhookRegistrationClient(clientConfig *rest.Config, client *client.Client, serverIP string, webhookTimeout int32) (*WebhookRegistrationClient, error)
NewWebhookRegistrationClient creates new WebhookRegistrationClient instance
func (*WebhookRegistrationClient) DeregisterAll ¶
func (wrc *WebhookRegistrationClient) DeregisterAll()
DeregisterAll deletes webhook configs from cluster This function does not fail on error: Register will fail if the config exists, so there is no need to fail on error
func (*WebhookRegistrationClient) DeregisterMutatingWebhook ¶
func (wrc *WebhookRegistrationClient) DeregisterMutatingWebhook()
func (*WebhookRegistrationClient) Register ¶
func (wrc *WebhookRegistrationClient) Register() error
Register creates admission webhooks configs on cluster
func (*WebhookRegistrationClient) RegisterMutatingWebhook ¶
func (wrc *WebhookRegistrationClient) RegisterMutatingWebhook() error
func (*WebhookRegistrationClient) RegisterPolicyValidatingWebhook ¶
func (wrc *WebhookRegistrationClient) RegisterPolicyValidatingWebhook() error
func (*WebhookRegistrationClient) RegisterValidatingWebhook ¶
func (wrc *WebhookRegistrationClient) RegisterValidatingWebhook() error
Click to show internal directories.
Click to hide internal directories.