Documentation ¶
Index ¶
- func GenerateName(txn *Txn) (string, error)
- func IsErrInvalidName(err error) bool
- func ValidateName(s string) (string, error)
- type Node
- type NodeGroup
- type Store
- type Txn
- func (t *Txn) Current(key string) (*NodeGroup, error)
- func (t *Txn) GetLastActivity(ng *NodeGroup) (la time.Time, _ error)
- func (t *Txn) List() ([]*NodeGroup, error)
- func (t *Txn) NodeGroupByName(name string) (*NodeGroup, error)
- func (t *Txn) Remove(name string) error
- func (t *Txn) RemoveLastActivity(name string) error
- func (t *Txn) Save(ng *NodeGroup) error
- func (t *Txn) SetCurrent(key, name string, global, def bool) error
- func (t *Txn) UpdateLastActivity(ng *NodeGroup) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateName ¶
func IsErrInvalidName ¶ added in v0.11.1
func ValidateName ¶
Types ¶
type Node ¶
type NodeGroup ¶
type Txn ¶
type Txn struct {
// contains filtered or unexported fields
}
func (*Txn) GetLastActivity ¶ added in v0.10.0
func (*Txn) RemoveLastActivity ¶ added in v0.10.0
func (*Txn) UpdateLastActivity ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.