conffs

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source int
const (
	UnspecifiedSource Source = iota
	FileSource
	LocalSource
	GlobalSource
	SystemSource
	AggregateSource
)

type Store

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

func NewStore

func NewStore(rootDir string, source Source, fp string) *Store

func (*Store) Open

func (s *Store) Open() (*conf.Config, error)

func (*Store) Save

func (s *Store) Save(c *conf.Config) error

Jump to

Keyboard shortcuts

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