Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // NamespaceMap is a map indexing the attribute names of Namespace by view name. NamespaceMap = map[string][]string{ "default": { "name", "phase", "created_at", }, } )
Functions ¶
func ValidateNamespaceView ¶
func ValidateNamespaceView(result *NamespaceView) (err error)
ValidateNamespaceView runs the validations defined on NamespaceView using the "default" view.
Types ¶
type NamespaceView ¶
type NamespaceView struct {
// Namespace name
Name *string
// Namespace phase
Phase *string
// Creation timestamp
CreatedAt *string
}
NamespaceView is a type that runs validations on a projected type.
Click to show internal directories.
Click to hide internal directories.