Documentation ¶
Index ¶
- func ContainerRegistry() capsulewebhook.Handler
- func ImagePullPolicy() capsulewebhook.Handler
- func NewContainerRegistryForbidden(image string, spec api.AllowedListSpec) error
- func NewImagePullPolicyForbidden(usedPullPolicy, containerName string, allowedPullPolicies []string) error
- func NewMissingContainerRegistryError(image string) error
- func NewPodPriorityClassForbidden(priorityClassName string, spec api.DefaultAllowedListSpec) error
- func NewPodRuntimeClassForbidden(runtimeClassName string, spec api.SelectorAllowedListSpec) error
- func PriorityClass() capsulewebhook.Handler
- func RuntimeClass() capsulewebhook.Handler
- type PullPolicy
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerRegistry ¶
func ContainerRegistry() capsulewebhook.Handler
func ImagePullPolicy ¶
func ImagePullPolicy() capsulewebhook.Handler
func NewContainerRegistryForbidden ¶
func NewContainerRegistryForbidden(image string, spec api.AllowedListSpec) error
func NewMissingContainerRegistryError ¶ added in v0.1.1
func NewPodPriorityClassForbidden ¶
func NewPodPriorityClassForbidden(priorityClassName string, spec api.DefaultAllowedListSpec) error
func NewPodRuntimeClassForbidden ¶ added in v0.2.0
func NewPodRuntimeClassForbidden(runtimeClassName string, spec api.SelectorAllowedListSpec) error
func PriorityClass ¶
func PriorityClass() capsulewebhook.Handler
func RuntimeClass ¶ added in v0.2.0
func RuntimeClass() capsulewebhook.Handler
Types ¶
type PullPolicy ¶
func NewPullPolicy ¶
func NewPullPolicy(tenant *capsulev1beta2.Tenant) PullPolicy
Click to show internal directories.
Click to hide internal directories.