registry

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 15 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"
	// RegistryInjectStatusInjeceted is an annotation value indicating the registry has been injected
	RegistryInjectStatusInjected = "injected"
	// RegistryPathAnnotation is an annotation indicating the path at which to mount the registry
	RegistryPathAnnotation = "registry.config.onosproject.org/path"
	// CachePathAnnotation is an annotation indicating the path at which to mount the cache
	CachePathAnnotation = "cache.config.onosproject.org/path"
	// 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 RegistryHandler

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

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

func (*RegistryHandler) Handle

Handle :

func (*RegistryHandler) InjectDecoder

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

InjectDecoder :

type RegistryInjector

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

RegistryInjector 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