Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeGroupStore ¶
type NodeGroupStore struct {
// contains filtered or unexported fields
}
func NewNodeGroupStore ¶
func NewNodeGroupStore(client *mgo.DbClient, clusterKey interface{}) *NodeGroupStore
func (NodeGroupStore) ReadNodeGroup ¶
type NodeMessageQueue ¶
type NodeMessageQueue struct {
// contains filtered or unexported fields
}
func NewNodeEventQueue ¶
func NewNodeEventQueue(client *mgo.DbClient) *NodeMessageQueue
func (*NodeMessageQueue) Close ¶
func (store *NodeMessageQueue) Close() error
func (*NodeMessageQueue) PushNodeTransaction ¶
func (store *NodeMessageQueue) PushNodeTransaction(ctx context.Context, transaction cluster.Transaction) error
func (*NodeMessageQueue) WaitMessages ¶
func (store *NodeMessageQueue) WaitMessages(ctx context.Context) ([]cluster.NodeMessage, error)
type ScheduleQueue ¶
type ScheduleQueue struct {
// contains filtered or unexported fields
}
func NewScheduleQueue ¶
func NewScheduleQueue(nodeID string, client *mgo.DbClient) *ScheduleQueue
func (*ScheduleQueue) Close ¶
func (queue *ScheduleQueue) Close() error
func (*ScheduleQueue) WaitEvent ¶
func (queue *ScheduleQueue) WaitEvent(ctx context.Context) (*cluster.NodeScheduleEvent, error)
Click to show internal directories.
Click to hide internal directories.