Documentation ¶
Index ¶
Constants ¶
View Source
const (
// WorkloadNamePath indicates field path of workload name
WorkloadNamePath = "metadata.name"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ValidatingHandler ¶
type ValidatingHandler struct { Client client.Client // Decoder decodes objects Decoder *admission.Decoder }
ValidatingHandler handles CloneSet
func (*ValidatingHandler) InjectClient ¶
func (h *ValidatingHandler) InjectClient(c client.Client) error
InjectClient injects the client into the ValidatingHandler
func (*ValidatingHandler) InjectDecoder ¶
func (h *ValidatingHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder into the ValidatingHandler
Click to show internal directories.
Click to hide internal directories.