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)
- type Provider
- type SizeWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Provider
}
func (*Client) CreateWithContent ¶
func (*Client) CreateWithMetadata ¶
func (*Client) GetContent ¶
func (*Client) GetMetadata ¶
func (*Client) GetRenditionContent ¶
func (*Client) PutContent ¶
type Provider ¶
type Provider interface { AuthClient() auth.Client ImageStructuredStore() imageStoreStructured.Store ImageUnstructuredStore() imageStoreUnstructured.Store ImageTransformer() imageTransform.Transformer }
type SizeWriter ¶
type SizeWriter struct {
Size int
}
func NewSizeWriter ¶
func NewSizeWriter() *SizeWriter
Click to show internal directories.
Click to hide internal directories.