Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodRewriter ¶
PodRewriter rewrites Pod images based on config rules
func (*PodRewriter) Handle ¶
Handle is a kube admission webhook handler that rewrite Pod containers images based on its own config rules
func (*PodRewriter) InjectDecoder ¶
func (a *PodRewriter) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder.
func (*PodRewriter) LoadConfig ¶
func (a *PodRewriter) LoadConfig(cfgFile string) error
LoadConfig initialize kwir PodRewriter configuration from a given yaml file
Click to show internal directories.
Click to hide internal directories.