Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admission ¶
type Admission struct {
// contains filtered or unexported fields
}
Admission handles complex validation for admitting a Hardware object to the cluster.
func (*Admission) Handle ¶
Handle satisfies controller-runtime/pkg/webhook/admission#Handler. It is responsible for deciding if the given req is valid and should be admitted to the cluster.
func (*Admission) InjectDecoder ¶
InjectDecoder satisfies controller-runtime/pkg/webhook/admission#DecoderInjector. It is used when registering the webhook to inject the decoder used by the controller manager.
func (*Admission) SetClient ¶
func (a *Admission) SetClient(c ctrlclient.Client)
SetClient sets a's internal Kubernetes client.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.