Documentation
¶
Index ¶
- type Adapter
- func (a *Adapter) Callbacks(_ context.Context) (domain.Callbacks, error)
- func (a *Adapter) DeleteObject(ctx context.Context, id domain.KindName) error
- func (a *Adapter) GetClient(id domain.KindName) (adapters.Client, error)
- func (a *Adapter) GetObject(ctx context.Context, id domain.KindName, baseObject []byte) error
- func (a *Adapter) PatchObject(ctx context.Context, id domain.KindName, checksum string, patch []byte) error
- func (a *Adapter) PutObject(ctx context.Context, id domain.KindName, object []byte) error
- func (a *Adapter) RegisterCallbacks(_ context.Context, callbacks domain.Callbacks)
- func (a *Adapter) Start(ctx context.Context) error
- func (a *Adapter) VerifyObject(ctx context.Context, id domain.KindName, checksum string) error
- type Client
- func (c *Client) Callbacks(_ context.Context) (domain.Callbacks, error)
- func (c *Client) DeleteObject(_ context.Context, id domain.KindName) error
- func (c *Client) GetObject(ctx context.Context, id domain.KindName, baseObject []byte) error
- func (c *Client) PatchObject(ctx context.Context, id domain.KindName, checksum string, patch []byte) error
- func (c *Client) PutObject(_ context.Context, id domain.KindName, object []byte) error
- func (c *Client) RegisterCallbacks(_ context.Context, callbacks domain.Callbacks)
- func (c *Client) Start(ctx context.Context) error
- func (c *Client) VerifyObject(ctx context.Context, id domain.KindName, newChecksum string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func NewInClusterAdapter ¶
func (*Adapter) DeleteObject ¶
func (*Adapter) PatchObject ¶
func (*Adapter) RegisterCallbacks ¶
type Client ¶
type Client struct { ShadowObjects map[string][]byte Strategy domain.Strategy // contains filtered or unexported fields }
func (*Client) DeleteObject ¶
func (*Client) PatchObject ¶
func (*Client) RegisterCallbacks ¶
Click to show internal directories.
Click to hide internal directories.