Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrClusterAvailable = errors.New("cluster is unavailable, please check the slots")
View Source
var ErrClusterMigrating = errors.New("the cluster is migrating")
View Source
var ErrDagNodeAlreadyExist = errors.New("this dag node already exists")
View Source
var ErrDagNodeNotFound = errors.New("this dag node does not exist")
View Source
var ErrDagNodeRemove = errors.New("this dag node still has slots and cannot be removed")
Functions ¶
func NewDagPoolService ¶
func NewDagPoolService(ctx context.Context, cfg config.PoolConfig) (*dagPoolService, error)
NewDagPoolService constructs a new DAGPool (using the default implementation).
Types ¶
type ClusterState ¶ added in v0.4.0
type ClusterState int
const ( StateOk ClusterState = iota StateMigrating StateFail )
func (ClusterState) String ¶ added in v0.4.0
func (cs ClusterState) String() string
type GcControl ¶ added in v0.2.0
type GcControl struct {
// contains filtered or unexported fields
}
func NewGcControl ¶ added in v0.2.0
func NewGcControl() *GcControl
func (*GcControl) WaitInterrupt ¶ added in v0.2.0
func (c *GcControl) WaitInterrupt()
Click to show internal directories.
Click to hide internal directories.