validation

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateBatchStrategy

func ValidateBatchStrategy(strategy *rolloutv1alpha1.BatchStrategy, fldPath *field.Path) field.ErrorList

func ValidateCanaryStrategy

func ValidateCanaryStrategy(strategy *rolloutv1alpha1.CanaryStrategy, fldPath *field.Path) field.ErrorList

func ValidateResourceMatch

func ValidateResourceMatch(match *rolloutv1alpha1.ResourceMatch, fldPath *field.Path) field.ErrorList

func ValidateRollout

func ValidateRollout(rollout *rolloutv1alpha1.Rollout, isSupportedGVK SupportedGVKFunc) field.ErrorList

func ValidateRolloutRun

func ValidateRolloutRun(obj *rolloutv1alpha1.RolloutRun) field.ErrorList

func ValidateRolloutRunBatchStrategy

func ValidateRolloutRunBatchStrategy(batch *rolloutv1alpha1.RolloutRunBatchStrategy, fldPath *field.Path) field.ErrorList

func ValidateRolloutRunCanaryStrategy

func ValidateRolloutRunCanaryStrategy(canary *rolloutv1alpha1.RolloutRunCanaryStrategy, fldPath *field.Path) field.ErrorList

func ValidateRolloutRunSpec

func ValidateRolloutRunSpec(spec *rolloutv1alpha1.RolloutRunSpec, fldPath *field.Path) field.ErrorList

func ValidateRolloutRunUpdate

func ValidateRolloutRunUpdate(newObj, oldObj *rolloutv1alpha1.RolloutRun) field.ErrorList

func ValidateRolloutSpec

func ValidateRolloutSpec(spec *rolloutv1alpha1.RolloutSpec, fldPath *field.Path, isSupportedGVK SupportedGVKFunc) field.ErrorList

func ValidateRolloutStep

func ValidateRolloutStep(step *rolloutv1alpha1.RolloutStep, fldPath *field.Path) field.ErrorList

func ValidateRolloutStrategy

func ValidateRolloutStrategy(obj *rolloutv1alpha1.RolloutStrategy) field.ErrorList

func ValidateRolloutUpdate

func ValidateRolloutUpdate(newObj, oldObj *rolloutv1alpha1.Rollout) field.ErrorList

func ValidateRolloutWebhook

func ValidateRolloutWebhook(webhook *rolloutv1alpha1.RolloutWebhook, fldPath *field.Path) field.ErrorList

func ValidateTrafficTopology

func ValidateTrafficTopology(obj *rolloutv1alpha1.TrafficTopology) field.ErrorList

func ValidateTrafficTopologySpec

func ValidateTrafficTopologySpec(spec *rolloutv1alpha1.TrafficTopologySpec, fldPath *field.Path) field.ErrorList

func ValidateWebhooks

func ValidateWebhooks(webhooks []rolloutv1alpha1.RolloutWebhook, fldPath *field.Path) field.ErrorList

func ValidateWorkloadRef

func ValidateWorkloadRef(ref *rolloutv1alpha1.WorkloadRef, fldPath *field.Path, isSupportedGVK SupportedGVKFunc) field.ErrorList

Types

type SupportedGVKFunc

type SupportedGVKFunc func(gvk schema.GroupVersionKind) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL