mutate

package
v0.0.0-...-21de565 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationEnabled = "k8s-image-autoproxy.enabled"
	AnnotationProxy   = "k8s-image-autoproxy.proxy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DefaultProxy  string
	DefaultEnable bool
	Verbose       bool
}

type ImageProxyMutator

type ImageProxyMutator interface {
	Mutate(body []byte) ([]byte, error)
}

func NewImageProxyMutator

func NewImageProxyMutator(config Config) ImageProxyMutator

type Options

type Options struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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