package app
import "github.com/mesos/mesos-go/api/v1/cmd/msh/app"
msh is a minimal mesos v1 scheduler; it executes a shell command on a mesos agent.
Index ¶
Constants ¶
const (
RFC3339a = "20060102T150405Z0700"
)
Functions ¶
func IsErrSuccess ¶
Types ¶
type App ¶
type App struct { Config // contains filtered or unexported fields }
func New ¶
func (*App) Run ¶
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 ¶
type ExitError ¶
type ExitError int
func (ExitError) Error ¶
Source Files ¶
- Version
- v0.0.11 (latest)
- Published
- May 15, 2020
- Platform
- linux/amd64
- Imports
- 30 packages
- Last checked
- 3 hours ago –
Tools for package owners.