Documentation
¶
Index ¶
Constants ¶
View Source
const ( OperatorAPIPath = "/api/v1" SchedulerAPIPath = "/api/v1/scheduler" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Profile ¶
type Profile struct {
Master string `json:"master"`
Debug bool `json:"debug"`
Restart bool `json:"restart"`
// contains filtered or unexported fields
}
Profile contains environment specific options
func LoadProfile ¶
LoadProfile loads a user configuration from ~/.mesos-cli.json creating a JSON file with defaults if it does not exist.
func (Profile) Framework ¶
func (p Profile) Framework() *mesos.FrameworkInfo
Click to show internal directories.
Click to hide internal directories.