Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, userID string, metadata *image.Metadata, ...) (*image.Image, error)
- func (c *Client) CreateWithContent(ctx context.Context, userID string, contentIntent string, ...) (*image.Image, error)
- func (c *Client) CreateWithMetadata(ctx context.Context, userID string, metadata *image.Metadata) (*image.Image, error)
- func (c *Client) Delete(ctx context.Context, id string, condition *request.Condition) (bool, error)
- func (c *Client) DeleteAll(ctx context.Context, userID string) error
- func (c *Client) Get(ctx context.Context, id string) (*image.Image, error)
- func (c *Client) GetContent(ctx context.Context, id string, mediaType *string) (*image.Content, error)
- func (c *Client) GetMetadata(ctx context.Context, id string) (*image.Metadata, error)
- func (c *Client) GetRenditionContent(ctx context.Context, id string, rendition *image.Rendition) (*image.Content, error)
- func (c *Client) List(ctx context.Context, userID string, filter *image.Filter, ...) (image.ImageArray, error)
- func (c *Client) PutContent(ctx context.Context, id string, condition *request.Condition, ...) (*image.Image, error)
- func (c *Client) PutMetadata(ctx context.Context, id string, condition *request.Condition, ...) (*image.Image, error)
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
}
func New ¶
func New(config *platform.Config, authorizeAs platform.AuthorizeAs, formEncoder imageMultipart.FormEncoder) (*Client, error)
func (*Client) CreateWithContent ¶
func (*Client) CreateWithMetadata ¶
func (*Client) GetContent ¶
func (*Client) GetMetadata ¶
func (*Client) GetRenditionContent ¶
func (*Client) PutContent ¶
Click to show internal directories.
Click to hide internal directories.