Documentation ¶ Index ¶ type DAO type Query func (q *Query) Build() (string, error) type Service Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DAO ¶ type DAO interface { Create(entity *v1.User) error Update(entity *v1.User) error Delete(name string) error Get(name string) (*v1.User, error) List(q etcd.Query) ([]*v1.User, error) } type Query ¶ type Query struct { etcd.Query // NamePrefix is a prefix of the User.metadata.name that is used to filter the list of the User. // NamePrefix can be empty in case you want to return the full list of User available. NamePrefix string `query:"name"` } func (*Query) Build ¶ func (q *Query) Build() (string, error) type Service ¶ type Service interface { shared.ToolboxService } Source Files ¶ View all Source files interface.go Click to show internal directories. Click to hide internal directories.