Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func FilterOffersResources(offers []*mesos.Offer, filter func(*mesos.Resource) bool) (result []*mesos.Resource)
 - func FilterResources(resources []*mesos.Resource, filter func(*mesos.Resource) bool) (result []*mesos.Resource)
 - func GetHostname(hostnameOverride string) string
 - func NewCommandInfo(command string) *mesos.CommandInfo
 - func NewExecutorID(id string) *mesos.ExecutorID
 - func NewExecutorInfo(execId *mesos.ExecutorID, command *mesos.CommandInfo) *mesos.ExecutorInfo
 - func NewFrameworkID(id string) *mesos.FrameworkID
 - func NewFrameworkInfo(user, name string, frameworkId *mesos.FrameworkID) *mesos.FrameworkInfo
 - func NewMasterInfo(id string, ip, port uint32) *mesos.MasterInfo
 - func NewOffer(offerId *mesos.OfferID, frameworkId *mesos.FrameworkID, slaveId *mesos.SlaveID, ...) *mesos.Offer
 - func NewOfferID(id string) *mesos.OfferID
 - func NewRangesResource(name string, ranges []*mesos.Value_Range) *mesos.Resource
 - func NewScalarResource(name string, val float64) *mesos.Resource
 - func NewSetResource(name string, items []string) *mesos.Resource
 - func NewSlaveID(id string) *mesos.SlaveID
 - func NewStatusUpdate(frameworkId *mesos.FrameworkID, taskStatus *mesos.TaskStatus, ...) *mesos.StatusUpdate
 - func NewTaskID(id string) *mesos.TaskID
 - func NewTaskInfo(name string, taskId *mesos.TaskID, slaveId *mesos.SlaveID, ...) *mesos.TaskInfo
 - func NewTaskStatus(taskId *mesos.TaskID, state mesos.TaskState) *mesos.TaskStatus
 - func NewValueRange(begin, end uint64) *mesos.Value_Range
 
Constants ¶
      View Source
      
  
const (
	// MesosVersion indicates the supported mesos version.
	MesosVersion = "0.20.0"
)
    Variables ¶
This section is empty.
Functions ¶
func FilterOffersResources ¶
func FilterResources ¶
func GetHostname ¶
TODO(jdef) copied from kubernetes/pkg/util/node.go
func NewCommandInfo ¶
func NewCommandInfo(command string) *mesos.CommandInfo
func NewExecutorID ¶
func NewExecutorID(id string) *mesos.ExecutorID
func NewExecutorInfo ¶
func NewExecutorInfo(execId *mesos.ExecutorID, command *mesos.CommandInfo) *mesos.ExecutorInfo
func NewFrameworkID ¶
func NewFrameworkID(id string) *mesos.FrameworkID
func NewFrameworkInfo ¶
func NewFrameworkInfo(user, name string, frameworkId *mesos.FrameworkID) *mesos.FrameworkInfo
func NewMasterInfo ¶
func NewMasterInfo(id string, ip, port uint32) *mesos.MasterInfo
func NewOfferID ¶
func NewRangesResource ¶
func NewRangesResource(name string, ranges []*mesos.Value_Range) *mesos.Resource
func NewSlaveID ¶
func NewStatusUpdate ¶
func NewStatusUpdate(frameworkId *mesos.FrameworkID, taskStatus *mesos.TaskStatus, timestamp float64, uuid []byte) *mesos.StatusUpdate
func NewTaskInfo ¶
func NewTaskStatus ¶
func NewValueRange ¶
func NewValueRange(begin, end uint64) *mesos.Value_Range
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.