Documentation ¶
Index ¶
Constants ¶
View Source
const BareRegistry = "docker.io"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImagePathRewriter ¶
type ImagePathRewriter struct { Client client.Client Log logr.Logger // contains filtered or unexported fields }
ImagePathRewriter implements webhook logic to mutate the image path of deploying pods
func (*ImagePathRewriter) Handle ¶
Handle the admission webhook for mutating the image path of deploying pods
func (*ImagePathRewriter) InjectDecoder ¶
func (ipr *ImagePathRewriter) InjectDecoder(d *admission.Decoder) error
A decoder will be automatically injected. InjectDecoder injects the decoder
Click to show internal directories.
Click to hide internal directories.