Documentation ¶
Index ¶
- Variables
- type MapStore
- func (s *MapStore) FetchFilesToDelete(repository *domain.GitRepository) ([]domain.Path, error)
- func (s *MapStore) FetchTargetPath(template *domain.Template, repository *domain.GitRepository) (domain.Path, error)
- func (s *MapStore) FetchUnmanagedFlag(template *domain.Template, repository *domain.GitRepository) (bool, error)
- func (s *MapStore) FetchValuesForTemplate(template *domain.Template, repository *domain.GitRepository) (domain.Values, error)
- type ValueStoreInstrumentation
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SyncConfigFileName = ".sync.yml" GlobalConfigFileName = "config_defaults.yml" )
Functions ¶
This section is empty.
Types ¶
type MapStore ¶ added in v0.2.2
type MapStore struct {
// contains filtered or unexported fields
}
MapStore implements domain.ValueStore using map structure as backend. It comes with per-repository transparent caching and lazy-loading. It also features a global config file that is loaded on first access.
func NewMapStore ¶ added in v0.2.2
func NewMapStore(instrumentation *ValueStoreInstrumentation) *MapStore
NewMapStore returns a new instance of domain.ValueStore.
func (*MapStore) FetchFilesToDelete ¶ added in v0.2.2
FetchFilesToDelete implements domain.ValueStore.
func (*MapStore) FetchTargetPath ¶ added in v0.2.2
func (s *MapStore) FetchTargetPath(template *domain.Template, repository *domain.GitRepository) (domain.Path, error)
FetchTargetPath implements domain.ValueStore.
func (*MapStore) FetchUnmanagedFlag ¶ added in v0.2.2
func (s *MapStore) FetchUnmanagedFlag(template *domain.Template, repository *domain.GitRepository) (bool, error)
FetchUnmanagedFlag implements domain.ValueStore.
func (*MapStore) FetchValuesForTemplate ¶ added in v0.2.2
func (s *MapStore) FetchValuesForTemplate(template *domain.Template, repository *domain.GitRepository) (domain.Values, error)
FetchValuesForTemplate implements domain.ValueStore.
type ValueStoreInstrumentation ¶
type ValueStoreInstrumentation struct {
// contains filtered or unexported fields
}
func NewValueStoreInstrumentation ¶
func NewValueStoreInstrumentation(factory logging.LoggerFactory) *ValueStoreInstrumentation
Click to show internal directories.
Click to hide internal directories.