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 ¶
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) 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
Click to show internal directories.
Click to hide internal directories.