Documentation ¶
Index ¶
Constants ¶
View Source
const EXECUTOR_CPU = 0.01
View Source
const EXECUTOR_DISK = 1
View Source
const EXECUTOR_MEM = 32
Variables ¶
This section is empty.
Functions ¶
func IsTerminalState ¶ added in v0.0.15
Types ¶
type EventCallback ¶
type FrameworkIDStore ¶
type Scheduler ¶
type Scheduler interface { HeartbeatInterval() time.Duration IsSubscribed() bool Subscribe() error Teardown() error Disconnect() Accept(msg.Offer, Resources, []msg.TaskInfo) error Decline([]string) error Suppress([]string) error Revive(string) error // Shutdown() Kill(string, string) error Acknowledge(string, string, string) error AcknowledgeOperationStatus(string, string, string, string) error Reconcile([]string) error }
func NewScheduler ¶
func NewScheduler(frameworkId FrameworkIDStore, conf SchedulerConfig) (Scheduler, error)
type SchedulerConfig ¶
type SchedulerConfig struct { Name string User string Roles []string Hostname string WebUI string MesosMaster string Callbacks []EventCallback FrameworkID FrameworkIDStore FailoverTimeout time.Duration }
Click to show internal directories.
Click to hide internal directories.