webhookutil

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 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(newMap *map[string]string, oldMap *map[string]string, name string, allErrs field.ErrorList) field.ErrorList

func EnsureEqualStrings added in v0.4.9

func EnsureEqualStrings(newString string, oldString 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(newInt 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