Documentation ¶
Index ¶
- func ToS3URL(u string) (string, error)
- type Client
- func (c *Client) Delete(ctx context.Context, assetID string) error
- func (c *Client) DeleteAsset(ctx context.Context, id string) error
- func (c *Client) Download(ctx context.Context, u, output string) error
- func (c *Client) Generate(ctx context.Context, cfg *GenerateRequest) (*Generation, error)
- func (c *Client) GetAsset(ctx context.Context, id string) (string, string, []string, error)
- func (c *Client) Upload(ctx context.Context, name string, data []byte) (string, string, error)
- type Config
- type Error
- type GenerateRequest
- type Generation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Generate ¶
func (c *Client) Generate(ctx context.Context, cfg *GenerateRequest) (*Generation, error)
type GenerateRequest ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.