Documentation ¶
Index ¶
- func SetDefaultPodDecoration(pd *appsv1alpha1.PodDecoration)
- func ValidateContainers(containers []*corev1.Container, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidatePodDecoration(pd *appsv1alpha1.PodDecoration) error
- func ValidatePodDecorationPodTemplateMeta(meta []*appsv1alpha1.PodDecorationPodTemplateMeta, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidatePrimaryContainer(container *appsv1alpha1.PrimaryContainerPatch, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidatePrimaryContainers(containers []*appsv1alpha1.PrimaryContainerPatch, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidateTemplate(template *appsv1alpha1.PodDecorationPodTemplate, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidateTolerations(tolerations []corev1.Toleration, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidateVolumes(volumes []corev1.Volume, fldPath *field.Path) (allErrs field.ErrorList)
- type MutatingHandler
- type ValidatingHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultPodDecoration ¶
func SetDefaultPodDecoration(pd *appsv1alpha1.PodDecoration)
func ValidateContainers ¶
func ValidatePodDecoration ¶
func ValidatePodDecoration(pd *appsv1alpha1.PodDecoration) error
func ValidatePodDecorationPodTemplateMeta ¶
func ValidatePodDecorationPodTemplateMeta(meta []*appsv1alpha1.PodDecorationPodTemplateMeta, fldPath *field.Path) (allErrs field.ErrorList)
func ValidatePrimaryContainer ¶
func ValidatePrimaryContainer(container *appsv1alpha1.PrimaryContainerPatch, fldPath *field.Path) (allErrs field.ErrorList)
func ValidatePrimaryContainers ¶
func ValidatePrimaryContainers(containers []*appsv1alpha1.PrimaryContainerPatch, fldPath *field.Path) (allErrs field.ErrorList)
func ValidateTemplate ¶
func ValidateTemplate(template *appsv1alpha1.PodDecorationPodTemplate, fldPath *field.Path) (allErrs field.ErrorList)
func ValidateTolerations ¶
Types ¶
type MutatingHandler ¶
type MutatingHandler struct {
*mixin.WebhookHandlerMixin
}
func NewMutatingHandler ¶
func NewMutatingHandler() *MutatingHandler
type ValidatingHandler ¶
type ValidatingHandler struct {
*mixin.WebhookHandlerMixin
}
func NewValidatingHandler ¶
func NewValidatingHandler() *ValidatingHandler
Click to show internal directories.
Click to hide internal directories.