Documentation ¶
Index ¶
- func Deploy(ctx context.Context, client Client, properties parameter.Properties, ...) (entities.ResolvedEntity, error)
- type Client
- type DummyClient
- func (c DummyClient) Create(ctx context.Context, name string, externalId string, data []byte, ...) (documents.Response, error)
- func (c *DummyClient) Get(ctx context.Context, id string) (documents.Response, error)
- func (c *DummyClient) List(ctx context.Context, filter string) (documents.ListResponse, error)
- func (c *DummyClient) Update(ctx context.Context, id string, name string, data []byte, ...) (documents.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface { Get(ctx context.Context, id string) (documents.Response, error) List(ctx context.Context, filter string) (documents.ListResponse, error) Create(ctx context.Context, name string, externalId string, data []byte, documentType documents.DocumentType) (documents.Response, error) Update(ctx context.Context, id string, name string, data []byte, documentType documents.DocumentType) (documents.Response, error) }
type DummyClient ¶
type DummyClient struct{}
func (DummyClient) Create ¶
func (c DummyClient) Create(ctx context.Context, name string, externalId string, data []byte, documentType documents.DocumentType) (documents.Response, error)
Create implements Client.
func (*DummyClient) List ¶
func (c *DummyClient) List(ctx context.Context, filter string) (documents.ListResponse, error)
List implements Client.
Click to show internal directories.
Click to hide internal directories.