webhookutil

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateObjErrors

func AggregateObjErrors(gk schema.GroupKind, name string, allErrs field.ErrorList) error

func EnsureAtLeastOneFieldExists

func EnsureAtLeastOneFieldExists(value1 string, value2 string, name string, allErrs field.ErrorList) field.ErrorList

func EnsureEqualMapStringString added in v0.4.9

func EnsureEqualMapStringString(new *map[string]string, old *map[string]string, name string, allErrs field.ErrorList) field.ErrorList

func EnsureEqualStrings added in v0.4.9

func EnsureEqualStrings(new string, old string, name string, allErrs field.ErrorList) field.ErrorList

func EnsureFieldExists

func EnsureFieldExists(value string, name string, allErrs field.ErrorList) field.ErrorList

func EnsureIntFieldsAreNotNegative

func EnsureIntFieldsAreNotNegative(new int64, name string, allErrs field.ErrorList) field.ErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

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