Versions in this module Expand all Collapse all v0 v0.0.2 Sep 30, 2015 v0.0.1 Sep 15, 2015 Changes in this version + var EmptySpecError = errors.New("empty master specification") + func CreateMasterInfo(pid *upid.UPID) *mesos.MasterInfo + func Register(prefix string, f PluginFactory) error + type AllMasters interface + UpdatedMasters func([]*mesos.MasterInfo) + type Master interface + Cancel func() + Detect func(MasterChanged) error + Done func() <-chan struct{} + func New(spec string) (m Master, err error) + type MasterChanged interface + OnMasterChanged func(*mesos.MasterInfo) + type OnMasterChanged func(*mesos.MasterInfo) + func (f OnMasterChanged) OnMasterChanged(mi *mesos.MasterInfo) + type PluginFactory func(string) (Master, error) + func MatchingPlugin(spec string) (PluginFactory, bool) + type Standalone struct + func NewStandalone(mi *mesos.MasterInfo) *Standalone + func (s *Standalone) Cancel() + func (s *Standalone) Detect(o MasterChanged) error + func (s *Standalone) Done() <-chan struct{} + func (s *Standalone) String() string