Documentation
¶
Index ¶
- type GitBackend
- func (be *GitBackend) Close() error
- func (be *GitBackend) Delete(ctx context.Context, u *url.URL) error
- func (be *GitBackend) ListPrefix(ctx context.Context, u *url.URL, optFunc ...types.ListOption) ([]*types.Object, error)
- func (be *GitBackend) ReadMetadata(ctx context.Context, u *url.URL) (*types.ObjectMetadata, error)
- func (be *GitBackend) Reader(ctx context.Context, u *url.URL) (types.Reader, error)
- func (be *GitBackend) ReaderAt(ctx context.Context, u *url.URL) (types.ReaderAt, error)
- func (be *GitBackend) Writer(ctx context.Context, u *url.URL) (types.Writer, error)
- type GitBackendConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitBackend ¶
type GitBackend struct {
// contains filtered or unexported fields
}
func NewGitBackend ¶
func NewGitBackend(ctx context.Context, conf GitBackendConfig) (*GitBackend, error)
func (*GitBackend) Close ¶
func (be *GitBackend) Close() error
func (*GitBackend) ListPrefix ¶
func (be *GitBackend) ListPrefix(ctx context.Context, u *url.URL, optFunc ...types.ListOption) ([]*types.Object, error)
func (*GitBackend) ReadMetadata ¶
func (be *GitBackend) ReadMetadata(ctx context.Context, u *url.URL) (*types.ObjectMetadata, error)
type GitBackendConfig ¶
Click to show internal directories.
Click to hide internal directories.