confs

package
v0.0.0-...-36646aa Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HashAttr   string = "user.hash"
	OriginAttr string = "user.origin"

	EtcdOriginated = "Etcd"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Change

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

func (*Change) String

func (me *Change) String() string

type ConFS

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

func NewConFS

func NewConFS(servers []string, prefix, cache string) *ConFS

func (*ConFS) PollForChanges

func (me *ConFS) PollForChanges() (<-chan []Change, <-chan error)

func (*ConFS) SyncFiles

func (me *ConFS) SyncFiles(changes []Change, silent bool) error

func (*ConFS) TraverseEtcdTree

func (me *ConFS) TraverseEtcdTree() ([]Change, error)

Jump to

Keyboard shortcuts

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