registry

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RegistryInjectAnnotation is an annotation indicating the model to inject the registry into a pod
	RegistryInjectAnnotation = "registry.config.onosproject.org/inject"
	// RegistryInjectStatusAnnotation is an annotation indicating the status of registry injection
	RegistryInjectStatusAnnotation = "registry.config.onosproject.org/inject-status"
	// RegistryInjectStatusInjected is an annotation value indicating the registry has been injected
	RegistryInjectStatusInjected = "injected"
	// CompilerVersionAnnotation is an annotation indicating the model API version
	CompilerVersionAnnotation = "compiler.config.onosproject.org/version"
	// CompilerTargetAnnotation is an annotation indicating the Go module for which to compile a model
	CompilerTargetAnnotation = "compiler.config.onosproject.org/target"
)

Variables

This section is empty.

Functions

func RegisterWebhooks

func RegisterWebhooks(mgr manager.Manager) error

RegisterWebhooks registers admission webhooks on the given manager

Types

type Handler added in v0.1.1

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

Handler is a mutating webhook for injecting the registry container into pods

func (*Handler) Handle added in v0.1.1

func (h *Handler) Handle(ctx context.Context, request admission.Request) admission.Response

Handle :

func (*Handler) InjectDecoder added in v0.1.1

func (h *Handler) InjectDecoder(decoder *admission.Decoder) error

InjectDecoder :

type Injector added in v0.1.1

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

Injector is a mutating webhook for injecting the registry container into pods

Jump to

Keyboard shortcuts

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