v1

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 18 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
	IgnorePullPolicyAlways bool
	ProxyPort              int
	// contains filtered or unexported fields
}

func (*ImageRewriter) Handle

func (*ImageRewriter) InjectDecoder

func (a *ImageRewriter) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder

func (*ImageRewriter) RewriteImages

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

type PodInitializer added in v1.7.0

type PodInitializer struct {
	Client client.Client
}

func (*PodInitializer) NeedLeaderElection added in v1.7.0

func (t *PodInitializer) NeedLeaderElection() bool

func (*PodInitializer) Start added in v1.7.0

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

type RewrittenImage added in v1.7.0

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