Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrExists = errors.New("resource already exists") ErrNotFound = errors.New("resource not found") )
Functions ¶
This section is empty.
Types ¶
type ID ¶
ID is a unique identifier for a pug resource.
type Resource ¶
type Resource interface { // GetID retrieves the unique identifier for the resource. GetID() ID // GetKind retrieves the kind of resource. GetKind() Kind // String is a human-readable identifier for the resource. Not necessarily // unique across pug. String() string }
Resource is a unique pug entity
Click to show internal directories.
Click to hide internal directories.