Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the SDK client for dp-files-api
func NewWithHealthClient ¶
NewWithHealthClient creates a new instance of Client, reusing the URL and Clienter from the provided health check client
func (*Client) Checker ¶
func (c *Client) Checker(ctx context.Context, check *healthcheck.CheckState) error
Checker calls files api health endpoint and returns a check object to the caller
func (*Client) CreateFileEvent ¶
func (c *Client) CreateFileEvent(ctx context.Context, event files.FileEvent) (*files.FileEvent, error)
CreateFileEvent creates a new file event in the audit log and returns the created event
type ErrorResponse ¶
type ErrorResponse struct {
Errors []Error `json:"errors"`
}
ErrorResponse represents an error response from the API
Click to show internal directories.
Click to hide internal directories.