Versions in this module Expand all Collapse all v1 v1.12.0 Jul 26, 2016 Changes in this version + func ClusterCheckID(v1, v2 *api.Cluster) bool + func NetworkCheckID(n1, n2 *api.Network) bool + func NodeCheckID(n1, n2 *api.Node) bool + func NodeCheckState(n1, n2 *api.Node) bool + func ServiceCheckID(j1, j2 *api.Service) bool + func TaskCheckID(t1, t2 *api.Task) bool + func TaskCheckNodeID(t1, t2 *api.Task) bool + func TaskCheckServiceID(t1, t2 *api.Task) bool + func TaskCheckStateGreaterThan(t1, t2 *api.Task) bool + func Watch(queue *watch.Queue, specifiers ...Event) (eventq chan events.Event, cancel func()) + type ClusterCheckFunc func(v1, v2 *api.Cluster) bool + type Event interface + type EventCommit struct + type EventCreateCluster struct + Checks []ClusterCheckFunc + Cluster *api.Cluster + type EventCreateNetwork struct + Checks []NetworkCheckFunc + Network *api.Network + type EventCreateNode struct + Checks []NodeCheckFunc + Node *api.Node + type EventCreateService struct + Checks []ServiceCheckFunc + Service *api.Service + type EventCreateTask struct + Checks []TaskCheckFunc + Task *api.Task + type EventDeleteCluster struct + Checks []ClusterCheckFunc + Cluster *api.Cluster + type EventDeleteNetwork struct + Checks []NetworkCheckFunc + Network *api.Network + type EventDeleteNode struct + Checks []NodeCheckFunc + Node *api.Node + type EventDeleteService struct + Checks []ServiceCheckFunc + Service *api.Service + type EventDeleteTask struct + Checks []TaskCheckFunc + Task *api.Task + type EventUpdateCluster struct + Checks []ClusterCheckFunc + Cluster *api.Cluster + type EventUpdateNetwork struct + Checks []NetworkCheckFunc + Network *api.Network + type EventUpdateNode struct + Checks []NodeCheckFunc + Node *api.Node + type EventUpdateService struct + Checks []ServiceCheckFunc + Service *api.Service + type EventUpdateTask struct + Checks []TaskCheckFunc + Task *api.Task + type NetworkCheckFunc func(n1, n2 *api.Network) bool + type NodeCheckFunc func(n1, n2 *api.Node) bool + type Proposer interface + GetVersion func() *api.Version + ProposeValue func(ctx context.Context, storeAction []*api.StoreAction, cb func()) error + type ServiceCheckFunc func(j1, j2 *api.Service) bool + type TaskCheckFunc func(t1, t2 *api.Task) bool