Documentation ¶
Index ¶
- func NewEtcdClient() *clientv3.Client
- func SendRequest(client *client.Http, user *authentication.User, URL string, data string) *contracts.Response
- type Cluster
- func (cluster *Cluster) ConfigureFlannel(network string) error
- func (cluster *Cluster) ListenEvents(agent string)
- func (cluster *Cluster) ListenObjects(agent string)
- func (cluster *Cluster) ListenUpdates(agent string)
- func (cluster *Cluster) Regenerate(config *configuration.Configuration, keys *keys.Keys)
- func (cluster *Cluster) StartSingleNodeEtcd(config *configuration.Configuration) (e *embed.Etcd, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEtcdClient ¶
func SendRequest ¶ added in v0.0.69
Types ¶
type Cluster ¶
type Cluster struct { Node *node.Node Cluster *node.Nodes Client *client.Http EtcdClient *clientv3.Client KVStore *raft.KVStore RaftNode *raft.RaftNode Started bool }
func Restore ¶
func Restore(config *configuration.Configuration) (*Cluster, error)
func (*Cluster) ConfigureFlannel ¶
func (*Cluster) ListenEvents ¶
func (*Cluster) ListenObjects ¶ added in v0.0.69
func (*Cluster) ListenUpdates ¶ added in v0.0.65
func (*Cluster) Regenerate ¶ added in v0.0.73
func (cluster *Cluster) Regenerate(config *configuration.Configuration, keys *keys.Keys)
func (*Cluster) StartSingleNodeEtcd ¶
func (cluster *Cluster) StartSingleNodeEtcd(config *configuration.Configuration) (e *embed.Etcd, err error)
Click to show internal directories.
Click to hide internal directories.