Documentation ¶
Index ¶
- type ValidatingHook
- func (v *ValidatingHook) DaemonSetCreateHook(ctx context.Context, req admission.Request) admission.Response
- func (v *ValidatingHook) DaemonSetDeleteHook(ctx context.Context, req admission.Request) admission.Response
- func (v *ValidatingHook) DaemonSetUpdateHook(ctx context.Context, req admission.Request) admission.Response
- func (v *ValidatingHook) DeploymentCreateHook(ctx context.Context, req admission.Request) admission.Response
- func (v *ValidatingHook) DeploymentDeleteHook(ctx context.Context, req admission.Request) admission.Response
- func (v *ValidatingHook) DeploymentUpdateHook(ctx context.Context, req admission.Request) admission.Response
- func (v *ValidatingHook) Handle(ctx context.Context, req admission.Request) (resp admission.Response)
- func (v *ValidatingHook) InjectClient(c client.Client) error
- func (v *ValidatingHook) InjectDecoder(d *admission.Decoder) error
- func (v *ValidatingHook) PodCreateHook(ctx context.Context, req admission.Request) admission.Response
- func (v *ValidatingHook) PodDeleteHook(ctx context.Context, req admission.Request) admission.Response
- func (v *ValidatingHook) StatefulSetCreateHook(ctx context.Context, req admission.Request) admission.Response
- func (v *ValidatingHook) StatefulSetDeleteHook(ctx context.Context, req admission.Request) admission.Response
- func (v *ValidatingHook) StatefulSetUpdateHook(ctx context.Context, req admission.Request) admission.Response
- type WebhookOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidatingHook ¶
type ValidatingHook struct {
// contains filtered or unexported fields
}
func NewValidatingHook ¶
func NewValidatingHook(c cache.Cache, opt *WebhookOptions) (*ValidatingHook, error)
func (*ValidatingHook) DaemonSetCreateHook ¶
func (*ValidatingHook) DaemonSetDeleteHook ¶
func (*ValidatingHook) DaemonSetUpdateHook ¶
func (*ValidatingHook) DeploymentCreateHook ¶
func (*ValidatingHook) DeploymentDeleteHook ¶
func (*ValidatingHook) DeploymentUpdateHook ¶
func (*ValidatingHook) InjectClient ¶
func (v *ValidatingHook) InjectClient(c client.Client) error
func (*ValidatingHook) InjectDecoder ¶
func (v *ValidatingHook) InjectDecoder(d *admission.Decoder) error
func (*ValidatingHook) PodCreateHook ¶
func (*ValidatingHook) PodDeleteHook ¶
func (*ValidatingHook) StatefulSetCreateHook ¶
func (*ValidatingHook) StatefulSetDeleteHook ¶
func (*ValidatingHook) StatefulSetUpdateHook ¶
Click to show internal directories.
Click to hide internal directories.