Documentation
¶
Index ¶
- func ValidateBackendRef(ref rolloutv1alpha1.BackendRef, fldPath *field.Path, ...) field.ErrorList
- func ValidateBackendRouting(obj *rolloutv1alpha1.BackendRouting, ...) field.ErrorList
- func ValidateBackendRoutingRoutes(routes []rolloutv1alpha1.CrossClusterObjectReference, fldPath *field.Path, ...) field.ErrorList
- func ValidateBackendRoutingSpec(spec *rolloutv1alpha1.BackendRoutingSpec, fldPath *field.Path, ...) field.ErrorList
- func ValidateBatchStrategy(strategy *rolloutv1alpha1.BatchStrategy, fldPath *field.Path) field.ErrorList
- func ValidateCanaryStrategy(strategy *rolloutv1alpha1.CanaryStrategy, fldPath *field.Path) field.ErrorList
- func ValidateForkBackend(foredBackend *rolloutv1alpha1.ForkedBackends, fldPath *field.Path) field.ErrorList
- func ValidateForwardingHTTP(httpSpec *rolloutv1alpha1.HTTPForwarding, fldPath *field.Path) field.ErrorList
- func ValidateForwording(forwarding *rolloutv1alpha1.BackendForwarding, fldPath *field.Path) field.ErrorList
- func ValidateResourceMatch(match *rolloutv1alpha1.ResourceMatch, fldPath *field.Path) field.ErrorList
- func ValidateRollout(rollout *rolloutv1alpha1.Rollout, isSupportedGVK SupportedGVKFunc) field.ErrorList
- func ValidateRolloutRun(obj *rolloutv1alpha1.RolloutRun) field.ErrorList
- func ValidateRolloutRunBatchStrategy(batch *rolloutv1alpha1.RolloutRunBatchStrategy, fldPath *field.Path) field.ErrorList
- func ValidateRolloutRunCanaryStrategy(canary *rolloutv1alpha1.RolloutRunCanaryStrategy, fldPath *field.Path) field.ErrorList
- func ValidateRolloutRunSpec(spec *rolloutv1alpha1.RolloutRunSpec, fldPath *field.Path) field.ErrorList
- func ValidateRolloutRunUpdate(newObj, oldObj *rolloutv1alpha1.RolloutRun) field.ErrorList
- func ValidateRolloutSpec(spec *rolloutv1alpha1.RolloutSpec, fldPath *field.Path, ...) field.ErrorList
- func ValidateRolloutStep(step *rolloutv1alpha1.RolloutStep, fldPath *field.Path) field.ErrorList
- func ValidateRolloutStrategy(obj *rolloutv1alpha1.RolloutStrategy) field.ErrorList
- func ValidateRolloutUpdate(newObj, oldObj *rolloutv1alpha1.Rollout) field.ErrorList
- func ValidateRolloutWebhook(webhook *rolloutv1alpha1.RolloutWebhook, fldPath *field.Path) field.ErrorList
- func ValidateRoutes(routes []rolloutv1alpha1.RouteRef, fldPath *field.Path, ...) field.ErrorList
- func ValidateTrafficTopology(obj *rolloutv1alpha1.TrafficTopology, ...) field.ErrorList
- func ValidateTrafficTopologySpec(spec *rolloutv1alpha1.TrafficTopologySpec, fldPath *field.Path, ...) field.ErrorList
- func ValidateWebhookURL(fldPath *field.Path, urlStr string, forceHttps bool) field.ErrorList
- func ValidateWebhooks(webhooks []rolloutv1alpha1.RolloutWebhook, fldPath *field.Path) field.ErrorList
- func ValidateWorkloadRef(ref *rolloutv1alpha1.WorkloadRef, fldPath *field.Path, ...) field.ErrorList
- type SupportedGVKFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBackendRef ¶ added in v0.2.0
func ValidateBackendRef(ref rolloutv1alpha1.BackendRef, fldPath *field.Path, isSupportedBackend SupportedGVKFunc) field.ErrorList
func ValidateBackendRouting ¶ added in v0.2.0
func ValidateBackendRouting( obj *rolloutv1alpha1.BackendRouting, isSupportedRoute, isSupportedBackend SupportedGVKFunc, ) field.ErrorList
func ValidateBackendRoutingRoutes ¶ added in v0.2.0
func ValidateBackendRoutingRoutes(routes []rolloutv1alpha1.CrossClusterObjectReference, fldPath *field.Path, isSupportedGVK SupportedGVKFunc) field.ErrorList
func ValidateBackendRoutingSpec ¶ added in v0.2.0
func ValidateBackendRoutingSpec( spec *rolloutv1alpha1.BackendRoutingSpec, fldPath *field.Path, isSupportedRoute, isSupportedBackend SupportedGVKFunc, ) field.ErrorList
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 ValidateForkBackend ¶ added in v0.2.0
func ValidateForkBackend(foredBackend *rolloutv1alpha1.ForkedBackends, fldPath *field.Path) field.ErrorList
func ValidateForwardingHTTP ¶ added in v0.2.0
func ValidateForwardingHTTP(httpSpec *rolloutv1alpha1.HTTPForwarding, fldPath *field.Path) field.ErrorList
func ValidateForwording ¶ added in v0.2.0
func ValidateForwording(forwarding *rolloutv1alpha1.BackendForwarding, 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 ValidateRoutes ¶ added in v0.2.0
func ValidateRoutes(routes []rolloutv1alpha1.RouteRef, fldPath *field.Path, isSupportedRoute SupportedGVKFunc) field.ErrorList
func ValidateTrafficTopology ¶
func ValidateTrafficTopology( obj *rolloutv1alpha1.TrafficTopology, isSupportedWorkload, isSupportedRoute, isSupportedBackend SupportedGVKFunc, ) field.ErrorList
func ValidateTrafficTopologySpec ¶
func ValidateTrafficTopologySpec( spec *rolloutv1alpha1.TrafficTopologySpec, fldPath *field.Path, isSupportedWorkload, isSupportedRoute, isSupportedBackend SupportedGVKFunc, ) field.ErrorList
func ValidateWebhookURL ¶ added in v0.2.0
ValidateWebhookURL validates webhook's URL.
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
Click to show internal directories.
Click to hide internal directories.