v1

package
v0.0.0-...-c510420 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object interface {
	// Default sets default values for optional object fields. This can be used
	// in webhooks and in the Reconciler to ensure the object contains default
	// values for optionalonal fields.
	Default()

	// ValidateCreate validates that all the required fields are present and
	// valid.
	ValidateCreate() error

	// ValidateUpdate validates that only supported fields are changed.
	ValidateUpdate() error

	// ValidateDelete validates that deletion is allowed.
	ValidateDelete() error
}

Object is an interface for an API object to implement.

Jump to

Keyboard shortcuts

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