Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutationHandler ¶
type MutationHandler struct { Client client.Client Reader client.Reader Scheme *runtime.Scheme Logger log.Logger }
MutationHandler validates Kubernetes resources using the KCL source.
func (*MutationHandler) Mutate ¶
func (v *MutationHandler) Mutate(ctx context.Context, r *kwhmodel.AdmissionReview, obj metav1.Object) (*kwhmutating.MutatorResult, error)
Click to show internal directories.
Click to hide internal directories.