Documentation ¶
Index ¶
- type Etcdreader
- type Etcdwriter
- func (o Etcdwriter) Delete(resourceKey, resourceValue string) error
- func (o Etcdwriter) Store(resourceKey, resourceData string) error
- func (o Etcdwriter) StoreList(resourceKey string, dataList []string) error
- func (o Etcdwriter) StoreMap(resourceKey string, resourceData map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Etcdreader ¶
type Etcdreader struct {
EtcdServiceURL string
}
Etcdreader ... Performs read operations on an Etcd database
func (Etcdreader) Get ¶
func (o Etcdreader) Get(resourceKey string) (string, error)
Get ... Method to Get a single value for a key
type Etcdwriter ¶
type Etcdwriter struct {
EtcdServiceURL string
}
Etcdwriter ... Performs write operations on an Etcd database
func (Etcdwriter) Delete ¶
func (o Etcdwriter) Delete(resourceKey, resourceValue string) error
Delete ... Method to Delete a key/val pair from a list of strings or a single string
func (Etcdwriter) Store ¶
func (o Etcdwriter) Store(resourceKey, resourceData string) error
Store ... Method to Store a value for a key
Click to show internal directories.
Click to hide internal directories.