Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEtcdClient ¶
func SendRequest ¶ added in v0.0.69
func SendRequest(client *client.Http, user *authentication.User, URL string, data string) *contracts.ResponseImplementation
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) StartSingleNodeEtcd ¶
func (c *Cluster) StartSingleNodeEtcd(config *configuration.Configuration) (e *embed.Etcd, err error)
Click to show internal directories.
Click to hide internal directories.