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.
Click to show internal directories.
Click to hide internal directories.