valuestore

package
v0.2.0-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SyncConfigFileName   = ".sync.yml"
	GlobalConfigFileName = "config_defaults.yml"
)

Functions

This section is empty.

Types

type KoanfValueStore

type KoanfValueStore struct {
	// contains filtered or unexported fields
}

KoanfValueStore implements domain.ValueStore.

func NewValueStore

func NewValueStore(instrumentation *ValueStoreInstrumentation) *KoanfValueStore

NewValueStore returns a new instance of domain.ValueStore.

func (*KoanfValueStore) FetchFilesToDelete

func (k *KoanfValueStore) FetchFilesToDelete(config *domain.GitRepository) ([]domain.Path, error)

FetchFilesToDelete implements domain.ValueStore.

func (*KoanfValueStore) FetchTargetPath

func (k *KoanfValueStore) FetchTargetPath(template *domain.Template, config *domain.GitRepository) (domain.Path, error)

FetchTargetPath implements domain.ValueStore.

func (*KoanfValueStore) FetchUnmanagedFlag

func (k *KoanfValueStore) FetchUnmanagedFlag(template *domain.Template, config *domain.GitRepository) (bool, error)

FetchUnmanagedFlag implements domain.ValueStore.

func (*KoanfValueStore) FetchValuesForTemplate

func (k *KoanfValueStore) FetchValuesForTemplate(template *domain.Template, config *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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL