Documentation
¶
Index ¶
- Constants
- type EtcdBackend
- func (e *EtcdBackend) GetGroup(group string) (map[string][]byte, error)
- func (e *EtcdBackend) GetVariable(group, variable string) ([]byte, error)
- func (e *EtcdBackend) RemoveGroup(group string) error
- func (e *EtcdBackend) RemoveVariable(group, variable string) error
- func (e *EtcdBackend) SetVariable(group, variable string, value []byte) error
Constants ¶
View Source
const (
KeySeperator = "/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdBackend ¶
type EtcdBackend struct {
// contains filtered or unexported fields
}
func New ¶
func New(namespace, address string) *EtcdBackend
func (*EtcdBackend) GetGroup ¶
func (e *EtcdBackend) GetGroup(group string) (map[string][]byte, error)
func (*EtcdBackend) GetVariable ¶
func (e *EtcdBackend) GetVariable(group, variable string) ([]byte, error)
func (*EtcdBackend) RemoveGroup ¶
func (e *EtcdBackend) RemoveGroup(group string) error
func (*EtcdBackend) RemoveVariable ¶
func (e *EtcdBackend) RemoveVariable(group, variable string) error
func (*EtcdBackend) SetVariable ¶
func (e *EtcdBackend) SetVariable(group, variable string, value []byte) error
Click to show internal directories.
Click to hide internal directories.