Documentation
¶
Overview ¶
msh is a minimal mesos v1 scheduler; it executes a shell command on a mesos agent.
Index ¶
Constants ¶
View Source
const (
RFC3339a = "20060102T150405Z0700"
)
Variables ¶
This section is empty.
Functions ¶
func IsErrSuccess ¶
Types ¶
type Config ¶
type Config struct {
FrameworkName string
TaskName string
MesosMaster string // MesosMaster is formatted as host:port
User string
Role string
CPUs float64
Memory float64
TTY bool
Pod bool
Interactive bool
Command []string // Command must not be empty.
Log func(string, ...interface{})
Silent bool
AdditionalResources mesos.Resources
}
func DefaultConfig ¶
func DefaultConfig() Config
func (*Config) RegisterFlags ¶
Click to show internal directories.
Click to hide internal directories.