Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NotFoundExecutor = errors.New("Not found Executor")
)
Functions ¶
This section is empty.
Types ¶
type LabelManager ¶
type LabelManager interface { // List available labels. // map key: label name // map value: Is this label a prefix? // // Although different types of // clusters (dcos&k8s) have different names on the compute // nodes, the exposed labels are uniform names. List() map[string]bool // Not yet implemented SetNodeLabel(cluster Cluster, hosts []string, tags map[string]string) error }
LabelManager interface of LabelManagerImpl
type LabelManagerImpl ¶
type LabelManagerImpl struct{}
LabelManagerImpl implementation of LabelManager
func (*LabelManagerImpl) List ¶
func (s *LabelManagerImpl) List() map[string]bool
func (*LabelManagerImpl) SetNodeLabel ¶
Click to show internal directories.
Click to hide internal directories.