Documentation
¶
Index ¶
- type Client
- func (c *Client) Export(ctx context.Context, prefix, filename string, r io.Reader) (newFilename string, err error)
- func (c *Client) Get(ctx context.Context, prefix, filename string, fn func(io.Reader) error) (err error)
- func (c *Client) GetInfo(ctx context.Context, prefix, filename string) (info kiroku.Info, err error)
- func (c *Client) GetNext(ctx context.Context, prefix, lastFilename string) (filename string, err error)
- func (c *Client) GetNextList(ctx context.Context, prefix, lastFilename string, maxKeys int64) (filenames []string, err error)
- func (c *Client) Import(ctx context.Context, prefix, filename string, w io.Writer) (err 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 (*Client) GetNext ¶
func (c *Client) GetNext(ctx context.Context, prefix, lastFilename string) (filename string, err error)
GetNext will get the next filename Note: prefix is ignored for source proxy as it derives the prefix from the filename
Click to show internal directories.
Click to hide internal directories.