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, isPrivate bool, externalId string, ...) (libAPI.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, isPrivate bool, data []byte, ...) (libAPI.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, isPrivate bool, externalId string, data []byte, documentType documents.DocumentType) (libAPI.Response, error) Update(ctx context.Context, id string, name string, isPrivate bool, data []byte, documentType documents.DocumentType) (libAPI.Response, error) }
type DummyClient ¶
type DummyClient struct{}
func (*DummyClient) Create ¶
func (c *DummyClient) Create(ctx context.Context, name string, isPrivate bool, externalId string, data []byte, documentType documents.DocumentType) (libAPI.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.