Documentation
¶
Overview ¶
nolint:dupl
nolint:dupl
Index ¶
- func ContainerRegistry() capsulewebhook.Handler
- func ImagePullPolicy() capsulewebhook.Handler
- func NewContainerRegistryForbidden(image string, spec capsulev1beta1.AllowedListSpec) error
- func NewImagePullPolicyForbidden(usedPullPolicy, containerName string, allowedPullPolicies []string) error
- func NewPodPriorityClassForbidden(priorityClassName string, spec capsulev1beta1.AllowedListSpec) error
- func PriorityClass() 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 capsulev1beta1.AllowedListSpec) error
func NewPodPriorityClassForbidden ¶
func NewPodPriorityClassForbidden(priorityClassName string, spec capsulev1beta1.AllowedListSpec) error
func PriorityClass ¶
func PriorityClass() capsulewebhook.Handler
Types ¶
type PullPolicy ¶
func NewPullPolicy ¶
func NewPullPolicy(tenant *capsulev1beta1.Tenant) PullPolicy
Click to show internal directories.
Click to hide internal directories.