Documentation
¶
Index ¶
- type LocalConfig
- type LocalStorage
- func (ls *LocalStorage) Configure() error
- func (ls *LocalStorage) CreateRepository(repoPath string) error
- func (ls *LocalStorage) DeleteRepository(repoPath string) error
- func (ls *LocalStorage) GetStorer(repoPath string) (storer.Storer, error)
- func (ls *LocalStorage) ListRepositories() ([]string, error)
- func (ls *LocalStorage) RepositoryExists(repoPath string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalConfig ¶
func (*LocalConfig) Configure ¶
func (c *LocalConfig) Configure() error
type LocalStorage ¶
func NewLocalStorage ¶
func NewLocalStorage(logger zerolog.Logger) *LocalStorage
func (*LocalStorage) Configure ¶
func (ls *LocalStorage) Configure() error
func (*LocalStorage) CreateRepository ¶
func (ls *LocalStorage) CreateRepository(repoPath string) error
func (*LocalStorage) DeleteRepository ¶
func (ls *LocalStorage) DeleteRepository(repoPath string) error
func (*LocalStorage) GetStorer ¶
func (ls *LocalStorage) GetStorer(repoPath string) (storer.Storer, error)
func (*LocalStorage) ListRepositories ¶
func (ls *LocalStorage) ListRepositories() ([]string, error)
func (*LocalStorage) RepositoryExists ¶
func (ls *LocalStorage) RepositoryExists(repoPath string) bool
Click to show internal directories.
Click to hide internal directories.