Documentation ¶
Index ¶
- func IsNoSuchEntityError(err error) bool
- type Client
- type ClientWrapper
- func (c *ClientWrapper) Close() error
- func (c *ClientWrapper) Get(kind Kind, id string, dst interface{}) error
- func (c *ClientWrapper) GetAll(kind Kind, dst interface{}) error
- func (c *ClientWrapper) GetFilter(kind Kind, filters []FilterField, dst interface{}) error
- func (c *ClientWrapper) Put(kind Kind, id string, src interface{}) error
- type FilterField
- type InMemoryClient
- func (c *InMemoryClient) Close() error
- func (c *InMemoryClient) Get(kind Kind, id string, dst interface{}) error
- func (c *InMemoryClient) GetAll(kind Kind, dst interface{}) error
- func (c *InMemoryClient) GetFilter(kind Kind, filters []FilterField, dst interface{}) error
- func (c *InMemoryClient) Put(kind Kind, id string, src interface{}) error
- type Kind
- type Tenant
- type Webhook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNoSuchEntityError ¶ added in v0.1.0
Types ¶
type Client ¶
type Client interface { Get(kind Kind, id string, dst interface{}) error GetAll(kind Kind, dst interface{}) error GetFilter(kind Kind, filters []FilterField, dst interface{}) error Put(kind Kind, id string, src interface{}) error Close() error }
func NewClientAuth ¶ added in v0.2.6
func NewInMemoryClient ¶
type ClientWrapper ¶
type ClientWrapper struct {
// contains filtered or unexported fields
}
func (*ClientWrapper) Close ¶ added in v0.0.5
func (c *ClientWrapper) Close() error
func (*ClientWrapper) Get ¶
func (c *ClientWrapper) Get(kind Kind, id string, dst interface{}) error
func (*ClientWrapper) GetAll ¶
func (c *ClientWrapper) GetAll(kind Kind, dst interface{}) error
func (*ClientWrapper) GetFilter ¶ added in v0.1.0
func (c *ClientWrapper) GetFilter(kind Kind, filters []FilterField, dst interface{}) error
type FilterField ¶ added in v0.1.0
type InMemoryClient ¶
type InMemoryClient struct {
// contains filtered or unexported fields
}
func (*InMemoryClient) Close ¶ added in v0.0.5
func (c *InMemoryClient) Close() error
func (*InMemoryClient) Get ¶
func (c *InMemoryClient) Get(kind Kind, id string, dst interface{}) error
func (*InMemoryClient) GetAll ¶
func (c *InMemoryClient) GetAll(kind Kind, dst interface{}) error
func (*InMemoryClient) GetFilter ¶ added in v0.1.0
func (c *InMemoryClient) GetFilter(kind Kind, filters []FilterField, dst interface{}) error
Click to show internal directories.
Click to hide internal directories.