Documentation ¶
Index ¶
- func NewRegistryService(_ midas.Site) midas.RegistryService
- type RegistryService
- func (r RegistryService) CloseStorage()
- func (r RegistryService) CreateEntry(_, _ string) error
- func (r RegistryService) CreateStorage() error
- func (r RegistryService) DeleteEntry(_ string) error
- func (r RegistryService) Flush() error
- func (r RegistryService) OpenStorage() error
- func (r RegistryService) ReadEntry(_ string) (string, error)
- func (r RegistryService) RemoveStorage() error
- func (r RegistryService) UpdateEntry(_, _ string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistryService ¶
func NewRegistryService(_ midas.Site) midas.RegistryService
Types ¶
type RegistryService ¶
type RegistryService struct { }
RegistryService in none package is a "dummy" registry service when no actual read/write features are needed, i.e. in case we do not create or manage any files locally.
func (RegistryService) CloseStorage ¶
func (r RegistryService) CloseStorage()
func (RegistryService) CreateEntry ¶
func (r RegistryService) CreateEntry(_, _ string) error
func (RegistryService) CreateStorage ¶
func (r RegistryService) CreateStorage() error
func (RegistryService) DeleteEntry ¶
func (r RegistryService) DeleteEntry(_ string) error
func (RegistryService) Flush ¶
func (r RegistryService) Flush() error
func (RegistryService) OpenStorage ¶
func (r RegistryService) OpenStorage() error
func (RegistryService) RemoveStorage ¶
func (r RegistryService) RemoveStorage() error
func (RegistryService) UpdateEntry ¶
func (r RegistryService) UpdateEntry(_, _ string) error
Click to show internal directories.
Click to hide internal directories.