v1

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageRewriter

type ImageRewriter struct {
	Client                 client.Client
	IgnoreImages           []*regexp.Regexp
	AcceptImages           []*regexp.Regexp
	IgnorePullPolicyAlways bool
	ProxyPort              int
	Decoder                *admission.Decoder
}

func (*ImageRewriter) Handle

func (*ImageRewriter) RewriteImages

func (a *ImageRewriter) RewriteImages(pod *corev1.Pod, isNewPod bool) []RewrittenImage

type PodInitializer

type PodInitializer struct {
	Client client.Client
}

func (*PodInitializer) NeedLeaderElection

func (t *PodInitializer) NeedLeaderElection() bool

func (*PodInitializer) Start

func (p *PodInitializer) Start(ctx context.Context) error

type RewrittenImage

type RewrittenImage struct {
	Original            string
	Rewritten           string
	NotRewrittenBecause string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL