webhookutil

package
v0.4.9-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 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 EnsureBothFieldsAreEqual

func EnsureBothFieldsAreEqual(new1 string, new2 string, old1 string, old2 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

func EnsureStringFieldsAreEqual

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

func EnsureStringStringMapFieldsAreEqual

func EnsureStringStringMapFieldsAreEqual(new *map[string]string, old *map[string]string, 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