Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrResourceIsNil = errors.New("resource is nil") ErrResourceNameIsNil = errors.New("metadata.name is not set") ErrResourceOwnerIsNil = errors.New("metadata.owner not set") ErrResourceNotFound = errors.New("resource not found") ErrUpdatingResourceWithOwnerNotAllowed = errors.New("updating the resource is not allowed because it has an owner") ErrDuplicateName = errors.New("a resource with this name already exists") // devices ErrTemplateVersionIsNil = errors.New("spec.templateVersion not set") ErrUpdatingTemplateVerionNotAllowed = errors.New("updating spec.data.templateVersion not allowed") ErrInvalidTemplateVersion = errors.New("device's templateVersion is not valid") )
Functions ¶
func ErrorFromGormError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.