Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadSignature = errors.New("Signature validation failed. " +
"Please check your backup file and associated signature.")
ErrBadSignature indicates failed signature validation
View Source
var ErrBadTransform = errors.New("Path transformation list not even. " +
"Transformations must be specified as pairs.")
ErrBadTransform indicates an uneven transformation list
Functions ¶
Types ¶
type ConsulClient ¶
ConsulClient contains a consul client implementation
type ConsulConfig ¶
ConsulConfig contains consul client configuration
func (*ConsulConfig) NewClient ¶
func (cc *ConsulConfig) NewClient() (*ConsulClient, error)
NewClient returns an initialized consul client
type PathTransformer ¶
type PathTransformer struct {
// contains filtered or unexported fields
}
PathTransformer is an instance of the path transformer
func NewTransformer ¶
func NewTransformer(str string) (*PathTransformer, error)
NewTransformer returns a new path transformer
func (*PathTransformer) Transform ¶
func (t *PathTransformer) Transform(kvps api.KVPairs)
Transform performs path transformation as requested
Click to show internal directories.
Click to hide internal directories.