mesos

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 17 Imported by: 176

Documentation

Overview

Package mesos presents common v1 HTTP API message types in addition to extension APIs that aim to simplify use of the machine-generated code.

Package mesos is a generated protocol buffer package.

It is generated from these files:
	mesos.proto

It has these top-level messages:
	FrameworkID
	OfferID
	AgentID
	TaskID
	ExecutorID
	ContainerID
	ResourceProviderID
	OperationID
	TimeInfo
	DurationInfo
	Address
	URL
	Unavailability
	MachineID
	MachineInfo
	FrameworkInfo
	CheckInfo
	HealthCheck
	KillPolicy
	CommandInfo
	ExecutorInfo
	DomainInfo
	MasterInfo
	AgentInfo
	CSIPluginContainerInfo
	CSIPluginInfo
	ResourceProviderInfo
	Value
	Attribute
	Resource
	TrafficControlStatistics
	IpStatistics
	IcmpStatistics
	TcpStatistics
	UdpStatistics
	SNMPStatistics
	DiskStatistics
	ResourceStatistics
	ResourceUsage
	PerfStatistics
	OfferFilters
	Request
	Offer
	InverseOffer
	TaskInfo
	TaskGroupInfo
	Task
	TaskResourceLimitation
	UUID
	Operation
	OperationStatus
	CheckStatusInfo
	TaskStatus
	Filters
	Environment
	Parameter
	Parameters
	Credential
	Credentials
	Secret
	RateLimit
	RateLimits
	Image
	MountPropagation
	Volume
	NetworkInfo
	CapabilityInfo
	SeccompInfo
	LinuxInfo
	RLimitInfo
	TTYInfo
	ContainerInfo
	ContainerStatus
	CgroupInfo
	Labels
	Label
	Port
	Ports
	DiscoveryInfo
	WeightInfo
	VersionInfo
	Flag
	Role
	Metric
	FileInfo
	Device
	DeviceAccess
	DeviceWhitelist

Index

Constants

View Source
const DefaultRole = "*"
View Source
const Default_AgentInfo_Port int32 = 5051
View Source
const Default_CheckInfo_DelaySeconds float64 = 15
View Source
const Default_CheckInfo_IntervalSeconds float64 = 10
View Source
const Default_CheckInfo_TimeoutSeconds float64 = 20
View Source
const Default_CommandInfo_Shell bool = true
View Source
const Default_CommandInfo_URI_Extract bool = true
View Source
const Default_ContainerInfo_DockerInfo_Privileged bool = false
View Source
const Default_Filters_RefuseSeconds float64 = 5
View Source
const Default_FrameworkInfo_Checkpoint bool = false
View Source
const Default_FrameworkInfo_FailoverTimeout float64 = 0
View Source
const Default_FrameworkInfo_Role string = "*"
View Source
const Default_HealthCheck_ConsecutiveFailures uint32 = 3
View Source
const Default_HealthCheck_DelaySeconds float64 = 15
View Source
const Default_HealthCheck_GracePeriodSeconds float64 = 10
View Source
const Default_HealthCheck_IntervalSeconds float64 = 10
View Source
const Default_HealthCheck_TimeoutSeconds float64 = 20
View Source
const Default_Image_Cached bool = true
View Source
const Default_MasterInfo_Port uint32 = 5050
View Source
const Default_Resource_Role string = "*"

Variables

View Source
var (
	ErrInvalidLengthMesos = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMesos   = fmt.Errorf("proto: integer overflow")
)
View Source
var AgentInfo_Capability_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "MULTI_ROLE",
	2: "HIERARCHICAL_ROLE",
	3: "RESERVATION_REFINEMENT",
	4: "RESOURCE_PROVIDER",
	5: "RESIZE_VOLUME",
	6: "AGENT_OPERATION_FEEDBACK",
}
View Source
var AgentInfo_Capability_Type_value = map[string]int32{
	"UNKNOWN":                  0,
	"MULTI_ROLE":               1,
	"HIERARCHICAL_ROLE":        2,
	"RESERVATION_REFINEMENT":   3,
	"RESOURCE_PROVIDER":        4,
	"RESIZE_VOLUME":            5,
	"AGENT_OPERATION_FEEDBACK": 6,
}
View Source
var CSIPluginContainerInfo_Service_name = map[int32]string{
	0: "UNKNOWN",
	1: "CONTROLLER_SERVICE",
	2: "NODE_SERVICE",
}
View Source
var CSIPluginContainerInfo_Service_value = map[string]int32{
	"UNKNOWN":            0,
	"CONTROLLER_SERVICE": 1,
	"NODE_SERVICE":       2,
}
View Source
var CapabilityInfo_Capability_name = map[int32]string{
	0:    "UNKNOWN",
	1000: "CHOWN",
	1001: "DAC_OVERRIDE",
	1002: "DAC_READ_SEARCH",
	1003: "FOWNER",
	1004: "FSETID",
	1005: "KILL",
	1006: "SETGID",
	1007: "SETUID",
	1008: "SETPCAP",
	1009: "LINUX_IMMUTABLE",
	1010: "NET_BIND_SERVICE",
	1011: "NET_BROADCAST",
	1012: "NET_ADMIN",
	1013: "NET_RAW",
	1014: "IPC_LOCK",
	1015: "IPC_OWNER",
	1016: "SYS_MODULE",
	1017: "SYS_RAWIO",
	1018: "SYS_CHROOT",
	1019: "SYS_PTRACE",
	1020: "SYS_PACCT",
	1021: "SYS_ADMIN",
	1022: "SYS_BOOT",
	1023: "SYS_NICE",
	1024: "SYS_RESOURCE",
	1025: "SYS_TIME",
	1026: "SYS_TTY_CONFIG",
	1027: "MKNOD",
	1028: "LEASE",
	1029: "AUDIT_WRITE",
	1030: "AUDIT_CONTROL",
	1031: "SETFCAP",
	1032: "MAC_OVERRIDE",
	1033: "MAC_ADMIN",
	1034: "SYSLOG",
	1035: "WAKE_ALARM",
	1036: "BLOCK_SUSPEND",
	1037: "AUDIT_READ",
}
View Source
var CapabilityInfo_Capability_value = map[string]int32{
	"UNKNOWN":          0,
	"CHOWN":            1000,
	"DAC_OVERRIDE":     1001,
	"DAC_READ_SEARCH":  1002,
	"FOWNER":           1003,
	"FSETID":           1004,
	"KILL":             1005,
	"SETGID":           1006,
	"SETUID":           1007,
	"SETPCAP":          1008,
	"LINUX_IMMUTABLE":  1009,
	"NET_BIND_SERVICE": 1010,
	"NET_BROADCAST":    1011,
	"NET_ADMIN":        1012,
	"NET_RAW":          1013,
	"IPC_LOCK":         1014,
	"IPC_OWNER":        1015,
	"SYS_MODULE":       1016,
	"SYS_RAWIO":        1017,
	"SYS_CHROOT":       1018,
	"SYS_PTRACE":       1019,
	"SYS_PACCT":        1020,
	"SYS_ADMIN":        1021,
	"SYS_BOOT":         1022,
	"SYS_NICE":         1023,
	"SYS_RESOURCE":     1024,
	"SYS_TIME":         1025,
	"SYS_TTY_CONFIG":   1026,
	"MKNOD":            1027,
	"LEASE":            1028,
	"AUDIT_WRITE":      1029,
	"AUDIT_CONTROL":    1030,
	"SETFCAP":          1031,
	"MAC_OVERRIDE":     1032,
	"MAC_ADMIN":        1033,
	"SYSLOG":           1034,
	"WAKE_ALARM":       1035,
	"BLOCK_SUSPEND":    1036,
	"AUDIT_READ":       1037,
}
View Source
var (
	// CapabilityReservationRefinement should be set to "1" for frameworks that opt-in to RESERVATION_REFINEMENT.
	// This is a string so that it can be set to something else at link time.
	CapabilityReservationRefinement string = ""
)
View Source
var CgroupInfo_Blkio_Operation_name = map[int32]string{
	0: "UNKNOWN",
	1: "TOTAL",
	2: "READ",
	3: "WRITE",
	4: "SYNC",
	5: "ASYNC",
	6: "DISCARD",
}
View Source
var CgroupInfo_Blkio_Operation_value = map[string]int32{
	"UNKNOWN": 0,
	"TOTAL":   1,
	"READ":    2,
	"WRITE":   3,
	"SYNC":    4,
	"ASYNC":   5,
	"DISCARD": 6,
}
View Source
var CheckInfo_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "COMMAND",
	2: "HTTP",
	3: "TCP",
}
View Source
var CheckInfo_Type_value = map[string]int32{
	"UNKNOWN": 0,
	"COMMAND": 1,
	"HTTP":    2,
	"TCP":     3,
}
View Source
var ContainerInfo_DockerInfo_Network_name = map[int32]string{
	1: "HOST",
	2: "BRIDGE",
	3: "NONE",
	4: "USER",
}
View Source
var ContainerInfo_DockerInfo_Network_value = map[string]int32{
	"HOST":   1,
	"BRIDGE": 2,
	"NONE":   3,
	"USER":   4,
}
View Source
var ContainerInfo_Type_name = map[int32]string{
	1: "DOCKER",
	2: "MESOS",
}
View Source
var ContainerInfo_Type_value = map[string]int32{
	"DOCKER": 1,
	"MESOS":  2,
}
View Source
var DiscoveryInfo_Visibility_name = map[int32]string{
	0: "FRAMEWORK",
	1: "CLUSTER",
	2: "EXTERNAL",
}
View Source
var DiscoveryInfo_Visibility_value = map[string]int32{
	"FRAMEWORK": 0,
	"CLUSTER":   1,
	"EXTERNAL":  2,
}
View Source
var Environment_Variable_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "VALUE",
	2: "SECRET",
}
View Source
var Environment_Variable_Type_value = map[string]int32{
	"UNKNOWN": 0,
	"VALUE":   1,
	"SECRET":  2,
}
View Source
var ExecutorInfo_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "DEFAULT",
	2: "CUSTOM",
}
View Source
var ExecutorInfo_Type_value = map[string]int32{
	"UNKNOWN": 0,
	"DEFAULT": 1,
	"CUSTOM":  2,
}
View Source
var FrameworkInfo_Capability_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "REVOCABLE_RESOURCES",
	2: "TASK_KILLING_STATE",
	3: "GPU_RESOURCES",
	4: "SHARED_RESOURCES",
	5: "PARTITION_AWARE",
	6: "MULTI_ROLE",
	7: "RESERVATION_REFINEMENT",
	8: "REGION_AWARE",
}
View Source
var FrameworkInfo_Capability_Type_value = map[string]int32{
	"UNKNOWN":                0,
	"REVOCABLE_RESOURCES":    1,
	"TASK_KILLING_STATE":     2,
	"GPU_RESOURCES":          3,
	"SHARED_RESOURCES":       4,
	"PARTITION_AWARE":        5,
	"MULTI_ROLE":             6,
	"RESERVATION_REFINEMENT": 7,
	"REGION_AWARE":           8,
}
View Source
var HealthCheck_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "COMMAND",
	2: "HTTP",
	3: "TCP",
}
View Source
var HealthCheck_Type_value = map[string]int32{
	"UNKNOWN": 0,
	"COMMAND": 1,
	"HTTP":    2,
	"TCP":     3,
}
View Source
var Image_Type_name = map[int32]string{
	1: "APPC",
	2: "DOCKER",
}
View Source
var Image_Type_value = map[string]int32{
	"APPC":   1,
	"DOCKER": 2,
}
View Source
var MachineInfo_Mode_name = map[int32]string{
	1: "UP",
	2: "DRAINING",
	3: "DOWN",
}
View Source
var MachineInfo_Mode_value = map[string]int32{
	"UP":       1,
	"DRAINING": 2,
	"DOWN":     3,
}
View Source
var MasterInfo_Capability_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "AGENT_UPDATE",
}
View Source
var MasterInfo_Capability_Type_value = map[string]int32{
	"UNKNOWN":      0,
	"AGENT_UPDATE": 1,
}
View Source
var MountPropagation_Mode_name = map[int32]string{
	0: "UNKNOWN",
	1: "HOST_TO_CONTAINER",
	2: "BIDIRECTIONAL",
}
View Source
var MountPropagation_Mode_value = map[string]int32{
	"UNKNOWN":           0,
	"HOST_TO_CONTAINER": 1,
	"BIDIRECTIONAL":     2,
}
View Source
var NetworkInfo_Protocol_name = map[int32]string{
	1: "IPv4",
	2: "IPv6",
}
View Source
var NetworkInfo_Protocol_value = map[string]int32{
	"IPv4": 1,
	"IPv6": 2,
}
View Source
var Offer_Operation_Type_name = map[int32]string{
	0:  "UNKNOWN",
	1:  "LAUNCH",
	6:  "LAUNCH_GROUP",
	2:  "RESERVE",
	3:  "UNRESERVE",
	4:  "CREATE",
	5:  "DESTROY",
	11: "GROW_VOLUME",
	12: "SHRINK_VOLUME",
	13: "CREATE_DISK",
	14: "DESTROY_DISK",
}
View Source
var Offer_Operation_Type_value = map[string]int32{
	"UNKNOWN":       0,
	"LAUNCH":        1,
	"LAUNCH_GROUP":  6,
	"RESERVE":       2,
	"UNRESERVE":     3,
	"CREATE":        4,
	"DESTROY":       5,
	"GROW_VOLUME":   11,
	"SHRINK_VOLUME": 12,
	"CREATE_DISK":   13,
	"DESTROY_DISK":  14,
}
View Source
var OperationState_name = map[int32]string{
	0: "OPERATION_UNSUPPORTED",
	1: "OPERATION_PENDING",
	2: "OPERATION_FINISHED",
	3: "OPERATION_FAILED",
	4: "OPERATION_ERROR",
	5: "OPERATION_DROPPED",
	6: "OPERATION_UNREACHABLE",
	7: "OPERATION_GONE_BY_OPERATOR",
	8: "OPERATION_RECOVERING",
	9: "OPERATION_UNKNOWN",
}
View Source
var OperationState_value = map[string]int32{
	"OPERATION_UNSUPPORTED":      0,
	"OPERATION_PENDING":          1,
	"OPERATION_FINISHED":         2,
	"OPERATION_FAILED":           3,
	"OPERATION_ERROR":            4,
	"OPERATION_DROPPED":          5,
	"OPERATION_UNREACHABLE":      6,
	"OPERATION_GONE_BY_OPERATOR": 7,
	"OPERATION_RECOVERING":       8,
	"OPERATION_UNKNOWN":          9,
}
View Source
var RLimitInfo_RLimit_Type_name = map[int32]string{
	0:  "UNKNOWN",
	1:  "RLMT_AS",
	2:  "RLMT_CORE",
	3:  "RLMT_CPU",
	4:  "RLMT_DATA",
	5:  "RLMT_FSIZE",
	6:  "RLMT_LOCKS",
	7:  "RLMT_MEMLOCK",
	8:  "RLMT_MSGQUEUE",
	9:  "RLMT_NICE",
	10: "RLMT_NOFILE",
	11: "RLMT_NPROC",
	12: "RLMT_RSS",
	13: "RLMT_RTPRIO",
	14: "RLMT_RTTIME",
	15: "RLMT_SIGPENDING",
	16: "RLMT_STACK",
}
View Source
var RLimitInfo_RLimit_Type_value = map[string]int32{
	"UNKNOWN":         0,
	"RLMT_AS":         1,
	"RLMT_CORE":       2,
	"RLMT_CPU":        3,
	"RLMT_DATA":       4,
	"RLMT_FSIZE":      5,
	"RLMT_LOCKS":      6,
	"RLMT_MEMLOCK":    7,
	"RLMT_MSGQUEUE":   8,
	"RLMT_NICE":       9,
	"RLMT_NOFILE":     10,
	"RLMT_NPROC":      11,
	"RLMT_RSS":        12,
	"RLMT_RTPRIO":     13,
	"RLMT_RTTIME":     14,
	"RLMT_SIGPENDING": 15,
	"RLMT_STACK":      16,
}
View Source
var Resource_DiskInfo_Source_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "PATH",
	2: "MOUNT",
	3: "BLOCK",
	4: "RAW",
}
View Source
var Resource_DiskInfo_Source_Type_value = map[string]int32{
	"UNKNOWN": 0,
	"PATH":    1,
	"MOUNT":   2,
	"BLOCK":   3,
	"RAW":     4,
}
View Source
var Resource_ReservationInfo_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "STATIC",
	2: "DYNAMIC",
}
View Source
var Resource_ReservationInfo_Type_value = map[string]int32{
	"UNKNOWN": 0,
	"STATIC":  1,
	"DYNAMIC": 2,
}
View Source
var Secret_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "REFERENCE",
	2: "VALUE",
}
View Source
var Secret_Type_value = map[string]int32{
	"UNKNOWN":   0,
	"REFERENCE": 1,
	"VALUE":     2,
}
View Source
var Status_name = map[int32]string{
	1: "DRIVER_NOT_STARTED",
	2: "DRIVER_RUNNING",
	3: "DRIVER_ABORTED",
	4: "DRIVER_STOPPED",
}
View Source
var Status_value = map[string]int32{
	"DRIVER_NOT_STARTED": 1,
	"DRIVER_RUNNING":     2,
	"DRIVER_ABORTED":     3,
	"DRIVER_STOPPED":     4,
}
View Source
var TaskState_name = map[int32]string{
	6:  "TASK_STAGING",
	0:  "TASK_STARTING",
	1:  "TASK_RUNNING",
	8:  "TASK_KILLING",
	2:  "TASK_FINISHED",
	3:  "TASK_FAILED",
	4:  "TASK_KILLED",
	7:  "TASK_ERROR",
	5:  "TASK_LOST",
	9:  "TASK_DROPPED",
	10: "TASK_UNREACHABLE",
	11: "TASK_GONE",
	12: "TASK_GONE_BY_OPERATOR",
	13: "TASK_UNKNOWN",
}
View Source
var TaskState_value = map[string]int32{
	"TASK_STAGING":          6,
	"TASK_STARTING":         0,
	"TASK_RUNNING":          1,
	"TASK_KILLING":          8,
	"TASK_FINISHED":         2,
	"TASK_FAILED":           3,
	"TASK_KILLED":           4,
	"TASK_ERROR":            7,
	"TASK_LOST":             5,
	"TASK_DROPPED":          9,
	"TASK_UNREACHABLE":      10,
	"TASK_GONE":             11,
	"TASK_GONE_BY_OPERATOR": 12,
	"TASK_UNKNOWN":          13,
}
View Source
var TaskStatus_Reason_name = map[int32]string{
	0:  "REASON_COMMAND_EXECUTOR_FAILED",
	21: "REASON_CONTAINER_LAUNCH_FAILED",
	19: "REASON_CONTAINER_LIMITATION",
	20: "REASON_CONTAINER_LIMITATION_DISK",
	8:  "REASON_CONTAINER_LIMITATION_MEMORY",
	17: "REASON_CONTAINER_PREEMPTED",
	22: "REASON_CONTAINER_UPDATE_FAILED",
	33: "REASON_MAX_COMPLETION_TIME_REACHED",
	23: "REASON_EXECUTOR_REGISTRATION_TIMEOUT",
	24: "REASON_EXECUTOR_REREGISTRATION_TIMEOUT",
	1:  "REASON_EXECUTOR_TERMINATED",
	2:  "REASON_EXECUTOR_UNREGISTERED",
	3:  "REASON_FRAMEWORK_REMOVED",
	4:  "REASON_GC_ERROR",
	5:  "REASON_INVALID_FRAMEWORKID",
	6:  "REASON_INVALID_OFFERS",
	27: "REASON_IO_SWITCHBOARD_EXITED",
	7:  "REASON_MASTER_DISCONNECTED",
	9:  "REASON_RECONCILIATION",
	18: "REASON_RESOURCES_UNKNOWN",
	10: "REASON_AGENT_DISCONNECTED",
	11: "REASON_AGENT_REMOVED",
	31: "REASON_AGENT_REMOVED_BY_OPERATOR",
	32: "REASON_AGENT_REREGISTERED",
	12: "REASON_AGENT_RESTARTED",
	13: "REASON_AGENT_UNKNOWN",
	30: "REASON_TASK_KILLED_DURING_LAUNCH",
	28: "REASON_TASK_CHECK_STATUS_UPDATED",
	29: "REASON_TASK_HEALTH_CHECK_STATUS_UPDATED",
	25: "REASON_TASK_GROUP_INVALID",
	26: "REASON_TASK_GROUP_UNAUTHORIZED",
	14: "REASON_TASK_INVALID",
	15: "REASON_TASK_UNAUTHORIZED",
	16: "REASON_TASK_UNKNOWN",
}
View Source
var TaskStatus_Reason_value = map[string]int32{
	"REASON_COMMAND_EXECUTOR_FAILED":          0,
	"REASON_CONTAINER_LAUNCH_FAILED":          21,
	"REASON_CONTAINER_LIMITATION":             19,
	"REASON_CONTAINER_LIMITATION_DISK":        20,
	"REASON_CONTAINER_LIMITATION_MEMORY":      8,
	"REASON_CONTAINER_PREEMPTED":              17,
	"REASON_CONTAINER_UPDATE_FAILED":          22,
	"REASON_MAX_COMPLETION_TIME_REACHED":      33,
	"REASON_EXECUTOR_REGISTRATION_TIMEOUT":    23,
	"REASON_EXECUTOR_REREGISTRATION_TIMEOUT":  24,
	"REASON_EXECUTOR_TERMINATED":              1,
	"REASON_EXECUTOR_UNREGISTERED":            2,
	"REASON_FRAMEWORK_REMOVED":                3,
	"REASON_GC_ERROR":                         4,
	"REASON_INVALID_FRAMEWORKID":              5,
	"REASON_INVALID_OFFERS":                   6,
	"REASON_IO_SWITCHBOARD_EXITED":            27,
	"REASON_MASTER_DISCONNECTED":              7,
	"REASON_RECONCILIATION":                   9,
	"REASON_RESOURCES_UNKNOWN":                18,
	"REASON_AGENT_DISCONNECTED":               10,
	"REASON_AGENT_REMOVED":                    11,
	"REASON_AGENT_REMOVED_BY_OPERATOR":        31,
	"REASON_AGENT_REREGISTERED":               32,
	"REASON_AGENT_RESTARTED":                  12,
	"REASON_AGENT_UNKNOWN":                    13,
	"REASON_TASK_KILLED_DURING_LAUNCH":        30,
	"REASON_TASK_CHECK_STATUS_UPDATED":        28,
	"REASON_TASK_HEALTH_CHECK_STATUS_UPDATED": 29,
	"REASON_TASK_GROUP_INVALID":               25,
	"REASON_TASK_GROUP_UNAUTHORIZED":          26,
	"REASON_TASK_INVALID":                     14,
	"REASON_TASK_UNAUTHORIZED":                15,
	"REASON_TASK_UNKNOWN":                     16,
}
View Source
var TaskStatus_Source_name = map[int32]string{
	0: "SOURCE_MASTER",
	1: "SOURCE_AGENT",
	2: "SOURCE_EXECUTOR",
}
View Source
var TaskStatus_Source_value = map[string]int32{
	"SOURCE_MASTER":   0,
	"SOURCE_AGENT":    1,
	"SOURCE_EXECUTOR": 2,
}
View Source
var Value_Type_name = map[int32]string{
	0: "SCALAR",
	1: "RANGES",
	2: "SET",
	3: "TEXT",
}
View Source
var Value_Type_value = map[string]int32{
	"SCALAR": 0,
	"RANGES": 1,
	"SET":    2,
	"TEXT":   3,
}
View Source
var Volume_Mode_name = map[int32]string{
	1: "RW",
	2: "RO",
}
View Source
var Volume_Mode_value = map[string]int32{
	"RW": 1,
	"RO": 2,
}
View Source
var Volume_Source_SandboxPath_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "SELF",
	2: "PARENT",
}
View Source
var Volume_Source_SandboxPath_Type_value = map[string]int32{
	"UNKNOWN": 0,
	"SELF":    1,
	"PARENT":  2,
}
View Source
var Volume_Source_Type_name = map[int32]string{
	0: "UNKNOWN",
	1: "DOCKER_VOLUME",
	4: "HOST_PATH",
	2: "SANDBOX_PATH",
	3: "SECRET",
}
View Source
var Volume_Source_Type_value = map[string]int32{
	"UNKNOWN":       0,
	"DOCKER_VOLUME": 1,
	"HOST_PATH":     4,
	"SANDBOX_PATH":  2,
	"SECRET":        3,
}

Functions

func IsCapabilityReservationRefinementEnabled added in v0.0.9

func IsCapabilityReservationRefinementEnabled() bool

func IsResourceError added in v0.0.4

func IsResourceError(err error) (ok bool)

Types

type Address

type Address struct {
	// May contain a hostname, IP address, or both.
	Hostname *string `protobuf:"bytes,1,opt,name=hostname" json:"hostname,omitempty"`
	IP       *string `protobuf:"bytes,2,opt,name=ip" json:"ip,omitempty"`
	Port     int32   `protobuf:"varint,3,req,name=port" json:"port"`
}

* A network address.

TODO(bmahler): Use this more widely.

func NewPopulatedAddress

func NewPopulatedAddress(r randyMesos, easy bool) *Address

func (*Address) Descriptor added in v0.0.4

func (*Address) Descriptor() ([]byte, []int)

func (*Address) Equal

func (this *Address) Equal(that interface{}) bool

func (*Address) GetHostname

func (m *Address) GetHostname() string

func (*Address) GetIP

func (m *Address) GetIP() string

func (*Address) GetPort

func (m *Address) GetPort() int32

func (*Address) GoString

func (this *Address) GoString() string

func (*Address) Marshal

func (m *Address) Marshal() (dAtA []byte, err error)

func (*Address) MarshalJSON

func (mj *Address) MarshalJSON() ([]byte, error)

func (*Address) MarshalJSONBuf

func (mj *Address) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Address) MarshalTo

func (m *Address) MarshalTo(dAtA []byte) (int, error)

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoSize added in v0.0.4

func (m *Address) ProtoSize() (n int)

func (*Address) Reset

func (m *Address) Reset()

func (*Address) String

func (this *Address) String() string

func (*Address) Unmarshal

func (m *Address) Unmarshal(dAtA []byte) error

func (*Address) UnmarshalJSON

func (uj *Address) UnmarshalJSON(input []byte) error

func (*Address) UnmarshalJSONFFLexer

func (uj *Address) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Address) VerboseEqual

func (this *Address) VerboseEqual(that interface{}) error

type AgentID

type AgentID struct {
	Value string `protobuf:"bytes,1,req,name=value" json:"value"`
}

* A unique ID assigned to an agent. Currently, an agent gets a new ID whenever it (re)registers with Mesos. Framework writers shouldn't assume any binding between an agent ID and and a hostname.

func NewPopulatedAgentID

func NewPopulatedAgentID(r randyMesos, easy bool) *AgentID

func (*AgentID) Descriptor added in v0.0.4

func (*AgentID) Descriptor() ([]byte, []int)

func (*AgentID) Equal

func (this *AgentID) Equal(that interface{}) bool

func (*AgentID) GetValue

func (m *AgentID) GetValue() string

func (*AgentID) GoString

func (this *AgentID) GoString() string

func (*AgentID) Marshal

func (m *AgentID) Marshal() (dAtA []byte, err error)

func (*AgentID) MarshalJSON

func (mj *AgentID) MarshalJSON() ([]byte, error)

func (*AgentID) MarshalJSONBuf

func (mj *AgentID) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*AgentID) MarshalTo

func (m *AgentID) MarshalTo(dAtA []byte) (int, error)

func (*AgentID) ProtoMessage

func (*AgentID) ProtoMessage()

func (*AgentID) ProtoSize added in v0.0.4

func (m *AgentID) ProtoSize() (n int)

func (*AgentID) Reset

func (m *AgentID) Reset()

func (*AgentID) String

func (this *AgentID) String() string

func (*AgentID) Unmarshal

func (m *AgentID) Unmarshal(dAtA []byte) error

func (*AgentID) UnmarshalJSON

func (uj *AgentID) UnmarshalJSON(input []byte) error

func (*AgentID) UnmarshalJSONFFLexer

func (uj *AgentID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*AgentID) VerboseEqual

func (this *AgentID) VerboseEqual(that interface{}) error

type AgentInfo

type AgentInfo struct {
	Hostname string `protobuf:"bytes,1,req,name=hostname" json:"hostname"`
	Port     *int32 `protobuf:"varint,8,opt,name=port,def=5051" json:"port,omitempty"`
	// The configured resources at the agent. This does not include any
	// dynamic reservations or persistent volumes that may currently
	// exist at the agent.
	Resources  []Resource  `protobuf:"bytes,3,rep,name=resources" json:"resources"`
	Attributes []Attribute `protobuf:"bytes,5,rep,name=attributes" json:"attributes"`
	ID         *AgentID    `protobuf:"bytes,6,opt,name=id" json:"id,omitempty"`
	// The domain that this agent belongs to. If the agent's region
	// differs from the master's region, it will not appear in resource
	// offers to frameworks that have not enabled the REGION_AWARE
	// capability.
	Domain *DomainInfo `protobuf:"bytes,10,opt,name=domain" json:"domain,omitempty"`
}

* Describes an agent. Note that the 'id' field is only available after an agent is registered with the master, and is made available here to facilitate re-registration.

func NewPopulatedAgentInfo

func NewPopulatedAgentInfo(r randyMesos, easy bool) *AgentInfo

func (*AgentInfo) Descriptor added in v0.0.4

func (*AgentInfo) Descriptor() ([]byte, []int)

func (*AgentInfo) Equal

func (this *AgentInfo) Equal(that interface{}) bool

func (*AgentInfo) GetAttributes

func (m *AgentInfo) GetAttributes() []Attribute

func (*AgentInfo) GetDomain added in v0.0.6

func (m *AgentInfo) GetDomain() *DomainInfo

func (*AgentInfo) GetHostname

func (m *AgentInfo) GetHostname() string

func (*AgentInfo) GetID

func (m *AgentInfo) GetID() *AgentID

func (*AgentInfo) GetPort

func (m *AgentInfo) GetPort() int32

func (*AgentInfo) GetResources

func (m *AgentInfo) GetResources() []Resource

func (*AgentInfo) GoString

func (this *AgentInfo) GoString() string

func (*AgentInfo) Marshal

func (m *AgentInfo) Marshal() (dAtA []byte, err error)

func (*AgentInfo) MarshalJSON

func (mj *AgentInfo) MarshalJSON() ([]byte, error)

func (*AgentInfo) MarshalJSONBuf

func (mj *AgentInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*AgentInfo) MarshalTo

func (m *AgentInfo) MarshalTo(dAtA []byte) (int, error)

func (*AgentInfo) ProtoMessage

func (*AgentInfo) ProtoMessage()

func (*AgentInfo) ProtoSize added in v0.0.4

func (m *AgentInfo) ProtoSize() (n int)

func (*AgentInfo) Reset

func (m *AgentInfo) Reset()

func (*AgentInfo) String

func (this *AgentInfo) String() string

func (*AgentInfo) Unmarshal

func (m *AgentInfo) Unmarshal(dAtA []byte) error

func (*AgentInfo) UnmarshalJSON

func (uj *AgentInfo) UnmarshalJSON(input []byte) error

func (*AgentInfo) UnmarshalJSONFFLexer

func (uj *AgentInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*AgentInfo) VerboseEqual

func (this *AgentInfo) VerboseEqual(that interface{}) error

type AgentInfo_Capability added in v0.0.4

type AgentInfo_Capability struct {
	// Enum fields should be optional, see: MESOS-4997.
	Type AgentInfo_Capability_Type `protobuf:"varint,1,opt,name=type,enum=mesos.AgentInfo_Capability_Type" json:"type"`
}

func NewPopulatedAgentInfo_Capability added in v0.0.4

func NewPopulatedAgentInfo_Capability(r randyMesos, easy bool) *AgentInfo_Capability

func (*AgentInfo_Capability) Descriptor added in v0.0.4

func (*AgentInfo_Capability) Descriptor() ([]byte, []int)

func (*AgentInfo_Capability) Equal added in v0.0.4

func (this *AgentInfo_Capability) Equal(that interface{}) bool

func (*AgentInfo_Capability) GetType added in v0.0.4

func (*AgentInfo_Capability) GoString added in v0.0.4

func (this *AgentInfo_Capability) GoString() string

func (*AgentInfo_Capability) Marshal added in v0.0.4

func (m *AgentInfo_Capability) Marshal() (dAtA []byte, err error)

func (*AgentInfo_Capability) MarshalJSON added in v0.0.4

func (mj *AgentInfo_Capability) MarshalJSON() ([]byte, error)

func (*AgentInfo_Capability) MarshalJSONBuf added in v0.0.4

func (mj *AgentInfo_Capability) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*AgentInfo_Capability) MarshalTo added in v0.0.4

func (m *AgentInfo_Capability) MarshalTo(dAtA []byte) (int, error)

func (*AgentInfo_Capability) ProtoMessage added in v0.0.4

func (*AgentInfo_Capability) ProtoMessage()

func (*AgentInfo_Capability) ProtoSize added in v0.0.4

func (m *AgentInfo_Capability) ProtoSize() (n int)

func (*AgentInfo_Capability) Reset added in v0.0.4

func (m *AgentInfo_Capability) Reset()

func (*AgentInfo_Capability) String added in v0.0.4

func (this *AgentInfo_Capability) String() string

func (*AgentInfo_Capability) Unmarshal added in v0.0.4

func (m *AgentInfo_Capability) Unmarshal(dAtA []byte) error

func (*AgentInfo_Capability) UnmarshalJSON added in v0.0.4

func (uj *AgentInfo_Capability) UnmarshalJSON(input []byte) error

func (*AgentInfo_Capability) UnmarshalJSONFFLexer added in v0.0.4

func (uj *AgentInfo_Capability) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*AgentInfo_Capability) VerboseEqual added in v0.0.4

func (this *AgentInfo_Capability) VerboseEqual(that interface{}) error

type AgentInfo_Capability_Type added in v0.0.4

type AgentInfo_Capability_Type int32
const (
	// This must be the first enum value in this list, to
	// ensure that if 'type' is not set, the default value
	// is UNKNOWN. This enables enum values to be added
	// in a backwards-compatible way. See: MESOS-4997.
	AgentInfo_Capability_UNKNOWN AgentInfo_Capability_Type = 0
	// This expresses the ability for the agent to be able
	// to launch tasks of a 'multi-role' framework.
	AgentInfo_Capability_MULTI_ROLE AgentInfo_Capability_Type = 1
	// This expresses the ability for the agent to be able to launch
	// tasks, reserve resources, and create volumes using resources
	// allocated to a 'hierarchical-role'.
	// NOTE: This capability is required specifically for creating
	// volumes because a hierchical role includes '/' (slashes) in them.
	// Agents with this capability know to transform the '/' (slashes)
	// into ' ' (spaces).
	AgentInfo_Capability_HIERARCHICAL_ROLE AgentInfo_Capability_Type = 2
	// This capability has three effects for an agent.
	//
	// (1) The format of the checkpointed resources, and
	//     the resources reported to master.
	//
	//     These resources are reported in the "pre-reservation-refinement"
	//     format if none of the resources have refined reservations. If any
	//     of the resources have refined reservations, they are reported in
	//     the "post-reservation-refinement" format. The purpose is to allow
	//     downgrading of an agent as well as communication with a pre-1.4.0
	//     master until the reservation refinement feature is actually used.
	//
	//     See the 'Resource Format' section for more details.
	//
	// (2) The format of the resources reported by the HTTP endpoints.
	//
	//     For resources reported by agent endpoints, the
	//     "pre-reservation-refinement" format is "injected" if possible.
	//     That is, resources without refined reservations will have the
	//     `Resource.role` and `Resource.reservation` set, whereas
	//     resources with refined reservations will not.
	//
	//     See the 'Resource Format' section for more details.
	//
	// (3) The ability for the agent to launch tasks, reserve resources, and
	//     create volumes using resources that have refined reservations.
	//
	//     See `ReservationInfo.reservations` section for more details.
	//
	// NOTE: Resources are said to have refined reservations if it uses the
	// `Resource.reservations` field, and `Resource.reservations_size() > 1`.
	AgentInfo_Capability_RESERVATION_REFINEMENT AgentInfo_Capability_Type = 3
	// This expresses the ability for the agent to handle resource
	// provider related operations. This includes the following:
	//
	// (1) The ability to report resources that are provided by some
	//     local resource providers through the resource provider API.
	//
	// (2) The ability to provide operation feedback. This also means
	//     that this capability is a prerequisite for full support of
	//     feedback for operations on agent default resources. If an
	//     agent has the mandatory AGENT_OPERATION_FEEDBACK capability
	//     set but not the RESOURCE_PROVIDER capability, then
	//     operations on agent default resources which request feedback
	//     will not be allowed.
	AgentInfo_Capability_RESOURCE_PROVIDER AgentInfo_Capability_Type = 4
	// This expresses the capability for the agent to handle persistent volume
	// resize operations safely. This capability is turned on by default.
	AgentInfo_Capability_RESIZE_VOLUME AgentInfo_Capability_Type = 5
	// This expresses the ability of the agent to handle operation feedback
	// for operations on agent default resources.
	//
	// Note that full support for this feature also requires the
	// RESOURCE_PROVIDER capability; if you would like the agent to
	// handle feedback for operations on agent default resources, the
	// RESOURCE_PROVIDER capability should be set as well.
	AgentInfo_Capability_AGENT_OPERATION_FEEDBACK AgentInfo_Capability_Type = 6
)

func (AgentInfo_Capability_Type) Enum added in v0.0.4

func (AgentInfo_Capability_Type) EnumDescriptor added in v0.0.4

func (AgentInfo_Capability_Type) EnumDescriptor() ([]byte, []int)

func (AgentInfo_Capability_Type) MarshalJSON added in v0.0.4

func (x AgentInfo_Capability_Type) MarshalJSON() ([]byte, error)

func (AgentInfo_Capability_Type) String added in v0.0.4

func (x AgentInfo_Capability_Type) String() string

func (*AgentInfo_Capability_Type) UnmarshalJSON added in v0.0.4

func (x *AgentInfo_Capability_Type) UnmarshalJSON(data []byte) error

type Attribute

type Attribute struct {
	Name   string        `protobuf:"bytes,1,req,name=name" json:"name"`
	Type   Value_Type    `protobuf:"varint,2,req,name=type,enum=mesos.Value_Type" json:"type"`
	Scalar *Value_Scalar `protobuf:"bytes,3,opt,name=scalar" json:"scalar,omitempty"`
	Ranges *Value_Ranges `protobuf:"bytes,4,opt,name=ranges" json:"ranges,omitempty"`
	Set    *Value_Set    `protobuf:"bytes,6,opt,name=set" json:"set,omitempty"`
	Text   *Value_Text   `protobuf:"bytes,5,opt,name=text" json:"text,omitempty"`
}

* Describes an attribute that can be set on a machine. For now, attributes and resources share the same "value" type, but this may change in the future and attributes may only be string based.

func NewPopulatedAttribute

func NewPopulatedAttribute(r randyMesos, easy bool) *Attribute

func (*Attribute) Descriptor added in v0.0.4

func (*Attribute) Descriptor() ([]byte, []int)

func (*Attribute) Equal

func (this *Attribute) Equal(that interface{}) bool

func (*Attribute) GetName

func (m *Attribute) GetName() string

func (*Attribute) GetRanges

func (m *Attribute) GetRanges() *Value_Ranges

func (*Attribute) GetScalar

func (m *Attribute) GetScalar() *Value_Scalar

func (*Attribute) GetSet

func (m *Attribute) GetSet() *Value_Set

func (*Attribute) GetText

func (m *Attribute) GetText() *Value_Text

func (*Attribute) GetType

func (m *Attribute) GetType() Value_Type

func (*Attribute) GoString

func (this *Attribute) GoString() string

func (*Attribute) Marshal

func (m *Attribute) Marshal() (dAtA []byte, err error)

func (*Attribute) MarshalJSON

func (mj *Attribute) MarshalJSON() ([]byte, error)

func (*Attribute) MarshalJSONBuf

func (mj *Attribute) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Attribute) MarshalTo

func (m *Attribute) MarshalTo(dAtA []byte) (int, error)

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoSize added in v0.0.4

func (m *Attribute) ProtoSize() (n int)

func (*Attribute) Reset

func (m *Attribute) Reset()

func (*Attribute) String

func (this *Attribute) String() string

func (*Attribute) Unmarshal

func (m *Attribute) Unmarshal(dAtA []byte) error

func (*Attribute) UnmarshalJSON

func (uj *Attribute) UnmarshalJSON(input []byte) error

func (*Attribute) UnmarshalJSONFFLexer

func (uj *Attribute) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Attribute) VerboseEqual

func (this *Attribute) VerboseEqual(that interface{}) error

type CSIPluginContainerInfo added in v0.0.7

type CSIPluginContainerInfo struct {
	Services  []CSIPluginContainerInfo_Service `protobuf:"varint,1,rep,name=services,enum=mesos.CSIPluginContainerInfo_Service" json:"services,omitempty"`
	Command   *CommandInfo                     `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"`
	Resources []Resource                       `protobuf:"bytes,3,rep,name=resources" json:"resources"`
	Container *ContainerInfo                   `protobuf:"bytes,4,opt,name=container" json:"container,omitempty"`
}

* Describes the container configuration to run a CSI plugin component.

func NewPopulatedCSIPluginContainerInfo added in v0.0.7

func NewPopulatedCSIPluginContainerInfo(r randyMesos, easy bool) *CSIPluginContainerInfo

func (*CSIPluginContainerInfo) Descriptor added in v0.0.7

func (*CSIPluginContainerInfo) Descriptor() ([]byte, []int)

func (*CSIPluginContainerInfo) Equal added in v0.0.7

func (this *CSIPluginContainerInfo) Equal(that interface{}) bool

func (*CSIPluginContainerInfo) GetCommand added in v0.0.7

func (m *CSIPluginContainerInfo) GetCommand() *CommandInfo

func (*CSIPluginContainerInfo) GetContainer added in v0.0.7

func (m *CSIPluginContainerInfo) GetContainer() *ContainerInfo

func (*CSIPluginContainerInfo) GetResources added in v0.0.7

func (m *CSIPluginContainerInfo) GetResources() []Resource

func (*CSIPluginContainerInfo) GetServices added in v0.0.7

func (*CSIPluginContainerInfo) GoString added in v0.0.7

func (this *CSIPluginContainerInfo) GoString() string

func (*CSIPluginContainerInfo) Marshal added in v0.0.7

func (m *CSIPluginContainerInfo) Marshal() (dAtA []byte, err error)

func (*CSIPluginContainerInfo) MarshalJSON added in v0.0.7

func (mj *CSIPluginContainerInfo) MarshalJSON() ([]byte, error)

func (*CSIPluginContainerInfo) MarshalJSONBuf added in v0.0.7

func (mj *CSIPluginContainerInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CSIPluginContainerInfo) MarshalTo added in v0.0.7

func (m *CSIPluginContainerInfo) MarshalTo(dAtA []byte) (int, error)

func (*CSIPluginContainerInfo) ProtoMessage added in v0.0.7

func (*CSIPluginContainerInfo) ProtoMessage()

func (*CSIPluginContainerInfo) ProtoSize added in v0.0.7

func (m *CSIPluginContainerInfo) ProtoSize() (n int)

func (*CSIPluginContainerInfo) Reset added in v0.0.7

func (m *CSIPluginContainerInfo) Reset()

func (*CSIPluginContainerInfo) String added in v0.0.7

func (this *CSIPluginContainerInfo) String() string

func (*CSIPluginContainerInfo) Unmarshal added in v0.0.7

func (m *CSIPluginContainerInfo) Unmarshal(dAtA []byte) error

func (*CSIPluginContainerInfo) UnmarshalJSON added in v0.0.7

func (uj *CSIPluginContainerInfo) UnmarshalJSON(input []byte) error

func (*CSIPluginContainerInfo) UnmarshalJSONFFLexer added in v0.0.7

func (uj *CSIPluginContainerInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CSIPluginContainerInfo) VerboseEqual added in v0.0.7

func (this *CSIPluginContainerInfo) VerboseEqual(that interface{}) error

type CSIPluginContainerInfo_Service added in v0.0.7

type CSIPluginContainerInfo_Service int32
const (
	CSIPluginContainerInfo_UNKNOWN            CSIPluginContainerInfo_Service = 0
	CSIPluginContainerInfo_CONTROLLER_SERVICE CSIPluginContainerInfo_Service = 1
	CSIPluginContainerInfo_NODE_SERVICE       CSIPluginContainerInfo_Service = 2
)

func (CSIPluginContainerInfo_Service) Enum added in v0.0.7

func (CSIPluginContainerInfo_Service) EnumDescriptor added in v0.0.7

func (CSIPluginContainerInfo_Service) EnumDescriptor() ([]byte, []int)

func (CSIPluginContainerInfo_Service) MarshalJSON added in v0.0.7

func (x CSIPluginContainerInfo_Service) MarshalJSON() ([]byte, error)

func (CSIPluginContainerInfo_Service) String added in v0.0.7

func (*CSIPluginContainerInfo_Service) UnmarshalJSON added in v0.0.7

func (x *CSIPluginContainerInfo_Service) UnmarshalJSON(data []byte) error

type CSIPluginInfo added in v0.0.7

type CSIPluginInfo struct {
	// The type of the CSI plugin. This uniquely identifies a CSI
	// implementation. For instance:
	//     org.apache.mesos.csi.test
	//
	// Please follow to Java package naming convention
	// (https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
	// to avoid conflicts on type names.
	Type string `protobuf:"bytes,1,req,name=type" json:"type"`
	// The name of the CSI plugin. There could be multiple instances of a
	// type of CSI plugin within a Mesos cluster. The name field is used to
	// distinguish these instances. It should be a legal Java identifier
	// (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html)
	// to avoid conflicts on concatenation of type and name.
	//
	// The type and name together provide the means to uniquely identify a storage
	// backend and its resources in the cluster, so the operator should ensure
	// that the concatenation of type and name is unique in the cluster, and it
	// remains the same if the instance is migrated to another agent (e.g., there
	// is a change in the agent ID).
	Name string `protobuf:"bytes,2,req,name=name" json:"name"`
	// A list of container configurations to run CSI plugin components.
	// The controller service will be served by the first configuration
	// that contains `CONTROLLER_SERVICE`, and the node service will be
	// served by the first configuration that contains `NODE_SERVICE`.
	Containers []CSIPluginContainerInfo `protobuf:"bytes,3,rep,name=containers" json:"containers"`
}

* Describes a CSI plugin.

func NewPopulatedCSIPluginInfo added in v0.0.7

func NewPopulatedCSIPluginInfo(r randyMesos, easy bool) *CSIPluginInfo

func (*CSIPluginInfo) Descriptor added in v0.0.7

func (*CSIPluginInfo) Descriptor() ([]byte, []int)

func (*CSIPluginInfo) Equal added in v0.0.7

func (this *CSIPluginInfo) Equal(that interface{}) bool

func (*CSIPluginInfo) GetContainers added in v0.0.7

func (m *CSIPluginInfo) GetContainers() []CSIPluginContainerInfo

func (*CSIPluginInfo) GetName added in v0.0.7

func (m *CSIPluginInfo) GetName() string

func (*CSIPluginInfo) GetType added in v0.0.7

func (m *CSIPluginInfo) GetType() string

func (*CSIPluginInfo) GoString added in v0.0.7

func (this *CSIPluginInfo) GoString() string

func (*CSIPluginInfo) Marshal added in v0.0.7

func (m *CSIPluginInfo) Marshal() (dAtA []byte, err error)

func (*CSIPluginInfo) MarshalJSON added in v0.0.7

func (mj *CSIPluginInfo) MarshalJSON() ([]byte, error)

func (*CSIPluginInfo) MarshalJSONBuf added in v0.0.7

func (mj *CSIPluginInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CSIPluginInfo) MarshalTo added in v0.0.7

func (m *CSIPluginInfo) MarshalTo(dAtA []byte) (int, error)

func (*CSIPluginInfo) ProtoMessage added in v0.0.7

func (*CSIPluginInfo) ProtoMessage()

func (*CSIPluginInfo) ProtoSize added in v0.0.7

func (m *CSIPluginInfo) ProtoSize() (n int)

func (*CSIPluginInfo) Reset added in v0.0.7

func (m *CSIPluginInfo) Reset()

func (*CSIPluginInfo) String added in v0.0.7

func (this *CSIPluginInfo) String() string

func (*CSIPluginInfo) Unmarshal added in v0.0.7

func (m *CSIPluginInfo) Unmarshal(dAtA []byte) error

func (*CSIPluginInfo) UnmarshalJSON added in v0.0.7

func (uj *CSIPluginInfo) UnmarshalJSON(input []byte) error

func (*CSIPluginInfo) UnmarshalJSONFFLexer added in v0.0.7

func (uj *CSIPluginInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CSIPluginInfo) VerboseEqual added in v0.0.7

func (this *CSIPluginInfo) VerboseEqual(that interface{}) error

type CapabilityInfo

type CapabilityInfo struct {
	Capabilities []CapabilityInfo_Capability `protobuf:"varint,1,rep,name=capabilities,enum=mesos.CapabilityInfo_Capability" json:"capabilities,omitempty"`
}

* Encapsulation of `Capabilities` supported by Linux. Reference: http://linux.die.net/man/7/capabilities.

func NewPopulatedCapabilityInfo

func NewPopulatedCapabilityInfo(r randyMesos, easy bool) *CapabilityInfo

func (*CapabilityInfo) Descriptor added in v0.0.4

func (*CapabilityInfo) Descriptor() ([]byte, []int)

func (*CapabilityInfo) Equal

func (this *CapabilityInfo) Equal(that interface{}) bool

func (*CapabilityInfo) GetCapabilities

func (m *CapabilityInfo) GetCapabilities() []CapabilityInfo_Capability

func (*CapabilityInfo) GoString

func (this *CapabilityInfo) GoString() string

func (*CapabilityInfo) Marshal

func (m *CapabilityInfo) Marshal() (dAtA []byte, err error)

func (*CapabilityInfo) MarshalJSON

func (mj *CapabilityInfo) MarshalJSON() ([]byte, error)

func (*CapabilityInfo) MarshalJSONBuf

func (mj *CapabilityInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CapabilityInfo) MarshalTo

func (m *CapabilityInfo) MarshalTo(dAtA []byte) (int, error)

func (*CapabilityInfo) ProtoMessage

func (*CapabilityInfo) ProtoMessage()

func (*CapabilityInfo) ProtoSize added in v0.0.4

func (m *CapabilityInfo) ProtoSize() (n int)

func (*CapabilityInfo) Reset

func (m *CapabilityInfo) Reset()

func (*CapabilityInfo) String

func (this *CapabilityInfo) String() string

func (*CapabilityInfo) Unmarshal

func (m *CapabilityInfo) Unmarshal(dAtA []byte) error

func (*CapabilityInfo) UnmarshalJSON

func (uj *CapabilityInfo) UnmarshalJSON(input []byte) error

func (*CapabilityInfo) UnmarshalJSONFFLexer

func (uj *CapabilityInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CapabilityInfo) VerboseEqual

func (this *CapabilityInfo) VerboseEqual(that interface{}) error

type CapabilityInfo_Capability

type CapabilityInfo_Capability int32

We start the actual values at an offset(1000) because Protobuf 2 uses the first value as the default one. Separating the default value from the real first value helps to disambiguate them. This is especially valuable for backward compatibility. See: MESOS-4997.

const (
	CapabilityInfo_UNKNOWN          CapabilityInfo_Capability = 0
	CapabilityInfo_CHOWN            CapabilityInfo_Capability = 1000
	CapabilityInfo_DAC_OVERRIDE     CapabilityInfo_Capability = 1001
	CapabilityInfo_DAC_READ_SEARCH  CapabilityInfo_Capability = 1002
	CapabilityInfo_FOWNER           CapabilityInfo_Capability = 1003
	CapabilityInfo_FSETID           CapabilityInfo_Capability = 1004
	CapabilityInfo_KILL             CapabilityInfo_Capability = 1005
	CapabilityInfo_SETGID           CapabilityInfo_Capability = 1006
	CapabilityInfo_SETUID           CapabilityInfo_Capability = 1007
	CapabilityInfo_SETPCAP          CapabilityInfo_Capability = 1008
	CapabilityInfo_LINUX_IMMUTABLE  CapabilityInfo_Capability = 1009
	CapabilityInfo_NET_BIND_SERVICE CapabilityInfo_Capability = 1010
	CapabilityInfo_NET_BROADCAST    CapabilityInfo_Capability = 1011
	CapabilityInfo_NET_ADMIN        CapabilityInfo_Capability = 1012
	CapabilityInfo_NET_RAW          CapabilityInfo_Capability = 1013
	CapabilityInfo_IPC_LOCK         CapabilityInfo_Capability = 1014
	CapabilityInfo_IPC_OWNER        CapabilityInfo_Capability = 1015
	CapabilityInfo_SYS_MODULE       CapabilityInfo_Capability = 1016
	CapabilityInfo_SYS_RAWIO        CapabilityInfo_Capability = 1017
	CapabilityInfo_SYS_CHROOT       CapabilityInfo_Capability = 1018
	CapabilityInfo_SYS_PTRACE       CapabilityInfo_Capability = 1019
	CapabilityInfo_SYS_PACCT        CapabilityInfo_Capability = 1020
	CapabilityInfo_SYS_ADMIN        CapabilityInfo_Capability = 1021
	CapabilityInfo_SYS_BOOT         CapabilityInfo_Capability = 1022
	CapabilityInfo_SYS_NICE         CapabilityInfo_Capability = 1023
	CapabilityInfo_SYS_RESOURCE     CapabilityInfo_Capability = 1024
	CapabilityInfo_SYS_TIME         CapabilityInfo_Capability = 1025
	CapabilityInfo_SYS_TTY_CONFIG   CapabilityInfo_Capability = 1026
	CapabilityInfo_MKNOD            CapabilityInfo_Capability = 1027
	CapabilityInfo_LEASE            CapabilityInfo_Capability = 1028
	CapabilityInfo_AUDIT_WRITE      CapabilityInfo_Capability = 1029
	CapabilityInfo_AUDIT_CONTROL    CapabilityInfo_Capability = 1030
	CapabilityInfo_SETFCAP          CapabilityInfo_Capability = 1031
	CapabilityInfo_MAC_OVERRIDE     CapabilityInfo_Capability = 1032
	CapabilityInfo_MAC_ADMIN        CapabilityInfo_Capability = 1033
	CapabilityInfo_SYSLOG           CapabilityInfo_Capability = 1034
	CapabilityInfo_WAKE_ALARM       CapabilityInfo_Capability = 1035
	CapabilityInfo_BLOCK_SUSPEND    CapabilityInfo_Capability = 1036
	CapabilityInfo_AUDIT_READ       CapabilityInfo_Capability = 1037
)

func (CapabilityInfo_Capability) Enum

func (CapabilityInfo_Capability) EnumDescriptor added in v0.0.4

func (CapabilityInfo_Capability) EnumDescriptor() ([]byte, []int)

func (CapabilityInfo_Capability) MarshalJSON

func (x CapabilityInfo_Capability) MarshalJSON() ([]byte, error)

func (CapabilityInfo_Capability) String

func (x CapabilityInfo_Capability) String() string

func (*CapabilityInfo_Capability) UnmarshalJSON

func (x *CapabilityInfo_Capability) UnmarshalJSON(data []byte) error

type CgroupInfo

type CgroupInfo struct {
	NetCLS *CgroupInfo_NetCls `protobuf:"bytes,1,opt,name=net_cls,json=netCls" json:"net_cls,omitempty"`
}

* Linux control group (cgroup) information.

func NewPopulatedCgroupInfo

func NewPopulatedCgroupInfo(r randyMesos, easy bool) *CgroupInfo

func (*CgroupInfo) Descriptor added in v0.0.4

func (*CgroupInfo) Descriptor() ([]byte, []int)

func (*CgroupInfo) Equal

func (this *CgroupInfo) Equal(that interface{}) bool

func (*CgroupInfo) GetNetCLS

func (m *CgroupInfo) GetNetCLS() *CgroupInfo_NetCls

func (*CgroupInfo) GoString

func (this *CgroupInfo) GoString() string

func (*CgroupInfo) Marshal

func (m *CgroupInfo) Marshal() (dAtA []byte, err error)

func (*CgroupInfo) MarshalJSON

func (mj *CgroupInfo) MarshalJSON() ([]byte, error)

func (*CgroupInfo) MarshalJSONBuf

func (mj *CgroupInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CgroupInfo) MarshalTo

func (m *CgroupInfo) MarshalTo(dAtA []byte) (int, error)

func (*CgroupInfo) ProtoMessage

func (*CgroupInfo) ProtoMessage()

func (*CgroupInfo) ProtoSize added in v0.0.4

func (m *CgroupInfo) ProtoSize() (n int)

func (*CgroupInfo) Reset

func (m *CgroupInfo) Reset()

func (*CgroupInfo) String

func (this *CgroupInfo) String() string

func (*CgroupInfo) Unmarshal

func (m *CgroupInfo) Unmarshal(dAtA []byte) error

func (*CgroupInfo) UnmarshalJSON

func (uj *CgroupInfo) UnmarshalJSON(input []byte) error

func (*CgroupInfo) UnmarshalJSONFFLexer

func (uj *CgroupInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CgroupInfo) VerboseEqual

func (this *CgroupInfo) VerboseEqual(that interface{}) error

type CgroupInfo_Blkio added in v0.0.6

type CgroupInfo_Blkio struct {
}

Configuration of a blkio cgroup subsystem.

func NewPopulatedCgroupInfo_Blkio added in v0.0.6

func NewPopulatedCgroupInfo_Blkio(r randyMesos, easy bool) *CgroupInfo_Blkio

func (*CgroupInfo_Blkio) Descriptor added in v0.0.6

func (*CgroupInfo_Blkio) Descriptor() ([]byte, []int)

func (*CgroupInfo_Blkio) Equal added in v0.0.6

func (this *CgroupInfo_Blkio) Equal(that interface{}) bool

func (*CgroupInfo_Blkio) GoString added in v0.0.6

func (this *CgroupInfo_Blkio) GoString() string

func (*CgroupInfo_Blkio) Marshal added in v0.0.6

func (m *CgroupInfo_Blkio) Marshal() (dAtA []byte, err error)

func (*CgroupInfo_Blkio) MarshalJSON added in v0.0.6

func (mj *CgroupInfo_Blkio) MarshalJSON() ([]byte, error)

func (*CgroupInfo_Blkio) MarshalJSONBuf added in v0.0.6

func (mj *CgroupInfo_Blkio) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CgroupInfo_Blkio) MarshalTo added in v0.0.6

func (m *CgroupInfo_Blkio) MarshalTo(dAtA []byte) (int, error)

func (*CgroupInfo_Blkio) ProtoMessage added in v0.0.6

func (*CgroupInfo_Blkio) ProtoMessage()

func (*CgroupInfo_Blkio) ProtoSize added in v0.0.6

func (m *CgroupInfo_Blkio) ProtoSize() (n int)

func (*CgroupInfo_Blkio) Reset added in v0.0.6

func (m *CgroupInfo_Blkio) Reset()

func (*CgroupInfo_Blkio) String added in v0.0.6

func (this *CgroupInfo_Blkio) String() string

func (*CgroupInfo_Blkio) Unmarshal added in v0.0.6

func (m *CgroupInfo_Blkio) Unmarshal(dAtA []byte) error

func (*CgroupInfo_Blkio) UnmarshalJSON added in v0.0.6

func (uj *CgroupInfo_Blkio) UnmarshalJSON(input []byte) error

func (*CgroupInfo_Blkio) UnmarshalJSONFFLexer added in v0.0.6

func (uj *CgroupInfo_Blkio) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CgroupInfo_Blkio) VerboseEqual added in v0.0.6

func (this *CgroupInfo_Blkio) VerboseEqual(that interface{}) error

type CgroupInfo_Blkio_CFQ added in v0.0.6

type CgroupInfo_Blkio_CFQ struct {
}

func NewPopulatedCgroupInfo_Blkio_CFQ added in v0.0.6

func NewPopulatedCgroupInfo_Blkio_CFQ(r randyMesos, easy bool) *CgroupInfo_Blkio_CFQ

func (*CgroupInfo_Blkio_CFQ) Descriptor added in v0.0.6

func (*CgroupInfo_Blkio_CFQ) Descriptor() ([]byte, []int)

func (*CgroupInfo_Blkio_CFQ) Equal added in v0.0.6

func (this *CgroupInfo_Blkio_CFQ) Equal(that interface{}) bool

func (*CgroupInfo_Blkio_CFQ) GoString added in v0.0.6

func (this *CgroupInfo_Blkio_CFQ) GoString() string

func (*CgroupInfo_Blkio_CFQ) Marshal added in v0.0.6

func (m *CgroupInfo_Blkio_CFQ) Marshal() (dAtA []byte, err error)

func (*CgroupInfo_Blkio_CFQ) MarshalJSON added in v0.0.6

func (mj *CgroupInfo_Blkio_CFQ) MarshalJSON() ([]byte, error)

func (*CgroupInfo_Blkio_CFQ) MarshalJSONBuf added in v0.0.6

func (mj *CgroupInfo_Blkio_CFQ) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CgroupInfo_Blkio_CFQ) MarshalTo added in v0.0.6

func (m *CgroupInfo_Blkio_CFQ) MarshalTo(dAtA []byte) (int, error)

func (*CgroupInfo_Blkio_CFQ) ProtoMessage added in v0.0.6

func (*CgroupInfo_Blkio_CFQ) ProtoMessage()

func (*CgroupInfo_Blkio_CFQ) ProtoSize added in v0.0.6

func (m *CgroupInfo_Blkio_CFQ) ProtoSize() (n int)

func (*CgroupInfo_Blkio_CFQ) Reset added in v0.0.6

func (m *CgroupInfo_Blkio_CFQ) Reset()

func (*CgroupInfo_Blkio_CFQ) String added in v0.0.6

func (this *CgroupInfo_Blkio_CFQ) String() string

func (*CgroupInfo_Blkio_CFQ) Unmarshal added in v0.0.6

func (m *CgroupInfo_Blkio_CFQ) Unmarshal(dAtA []byte) error

func (*CgroupInfo_Blkio_CFQ) UnmarshalJSON added in v0.0.6

func (uj *CgroupInfo_Blkio_CFQ) UnmarshalJSON(input []byte) error

func (*CgroupInfo_Blkio_CFQ) UnmarshalJSONFFLexer added in v0.0.6

func (uj *CgroupInfo_Blkio_CFQ) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CgroupInfo_Blkio_CFQ) VerboseEqual added in v0.0.6

func (this *CgroupInfo_Blkio_CFQ) VerboseEqual(that interface{}) error

type CgroupInfo_Blkio_CFQ_Statistics added in v0.0.6

type CgroupInfo_Blkio_CFQ_Statistics struct {
	// Stats are grouped by block devices. If `device` is not
	// set, it represents `Total`.
	Device *Device_Number `protobuf:"bytes,1,opt,name=device" json:"device,omitempty"`
	// blkio.sectors
	Sectors *uint64 `protobuf:"varint,2,opt,name=sectors" json:"sectors,omitempty"`
	// blkio.time
	Time *uint64 `protobuf:"varint,3,opt,name=time" json:"time,omitempty"`
	// blkio.io_serviced
	IOServiced []CgroupInfo_Blkio_Value `protobuf:"bytes,4,rep,name=io_serviced,json=ioServiced" json:"io_serviced"`
	// blkio.io_service_bytes
	IOServiceBytes []CgroupInfo_Blkio_Value `protobuf:"bytes,5,rep,name=io_service_bytes,json=ioServiceBytes" json:"io_service_bytes"`
	// blkio.io_service_time
	IOServiceTime []CgroupInfo_Blkio_Value `protobuf:"bytes,6,rep,name=io_service_time,json=ioServiceTime" json:"io_service_time"`
	// blkio.io_wait_time
	IOWaitTime []CgroupInfo_Blkio_Value `protobuf:"bytes,7,rep,name=io_wait_time,json=ioWaitTime" json:"io_wait_time"`
	// blkio.io_merged
	IOMerged []CgroupInfo_Blkio_Value `protobuf:"bytes,8,rep,name=io_merged,json=ioMerged" json:"io_merged"`
	// blkio.io_queued
	IOQueued []CgroupInfo_Blkio_Value `protobuf:"bytes,9,rep,name=io_queued,json=ioQueued" json:"io_queued"`
}

func NewPopulatedCgroupInfo_Blkio_CFQ_Statistics added in v0.0.6

func NewPopulatedCgroupInfo_Blkio_CFQ_Statistics(r randyMesos, easy bool) *CgroupInfo_Blkio_CFQ_Statistics

func (*CgroupInfo_Blkio_CFQ_Statistics) Descriptor added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) Descriptor() ([]byte, []int)

func (*CgroupInfo_Blkio_CFQ_Statistics) Equal added in v0.0.6

func (this *CgroupInfo_Blkio_CFQ_Statistics) Equal(that interface{}) bool

func (*CgroupInfo_Blkio_CFQ_Statistics) GetDevice added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) GetIOMerged added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) GetIOQueued added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) GetIOServiceBytes added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) GetIOServiceTime added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) GetIOServiced added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) GetIOWaitTime added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) GetSectors added in v0.0.6

func (m *CgroupInfo_Blkio_CFQ_Statistics) GetSectors() uint64

func (*CgroupInfo_Blkio_CFQ_Statistics) GetTime added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) GoString added in v0.0.6

func (this *CgroupInfo_Blkio_CFQ_Statistics) GoString() string

func (*CgroupInfo_Blkio_CFQ_Statistics) Marshal added in v0.0.6

func (m *CgroupInfo_Blkio_CFQ_Statistics) Marshal() (dAtA []byte, err error)

func (*CgroupInfo_Blkio_CFQ_Statistics) MarshalJSON added in v0.0.6

func (mj *CgroupInfo_Blkio_CFQ_Statistics) MarshalJSON() ([]byte, error)

func (*CgroupInfo_Blkio_CFQ_Statistics) MarshalJSONBuf added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) MarshalTo added in v0.0.6

func (m *CgroupInfo_Blkio_CFQ_Statistics) MarshalTo(dAtA []byte) (int, error)

func (*CgroupInfo_Blkio_CFQ_Statistics) ProtoMessage added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) ProtoMessage()

func (*CgroupInfo_Blkio_CFQ_Statistics) ProtoSize added in v0.0.6

func (m *CgroupInfo_Blkio_CFQ_Statistics) ProtoSize() (n int)

func (*CgroupInfo_Blkio_CFQ_Statistics) Reset added in v0.0.6

func (*CgroupInfo_Blkio_CFQ_Statistics) String added in v0.0.6

func (this *CgroupInfo_Blkio_CFQ_Statistics) String() string

func (*CgroupInfo_Blkio_CFQ_Statistics) Unmarshal added in v0.0.6

func (m *CgroupInfo_Blkio_CFQ_Statistics) Unmarshal(dAtA []byte) error

func (*CgroupInfo_Blkio_CFQ_Statistics) UnmarshalJSON added in v0.0.6

func (uj *CgroupInfo_Blkio_CFQ_Statistics) UnmarshalJSON(input []byte) error

func (*CgroupInfo_Blkio_CFQ_Statistics) UnmarshalJSONFFLexer added in v0.0.6

func (uj *CgroupInfo_Blkio_CFQ_Statistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CgroupInfo_Blkio_CFQ_Statistics) VerboseEqual added in v0.0.6

func (this *CgroupInfo_Blkio_CFQ_Statistics) VerboseEqual(that interface{}) error

type CgroupInfo_Blkio_Operation added in v0.0.6

type CgroupInfo_Blkio_Operation int32
const (
	CgroupInfo_Blkio_UNKNOWN CgroupInfo_Blkio_Operation = 0
	CgroupInfo_Blkio_TOTAL   CgroupInfo_Blkio_Operation = 1
	CgroupInfo_Blkio_READ    CgroupInfo_Blkio_Operation = 2
	CgroupInfo_Blkio_WRITE   CgroupInfo_Blkio_Operation = 3
	CgroupInfo_Blkio_SYNC    CgroupInfo_Blkio_Operation = 4
	CgroupInfo_Blkio_ASYNC   CgroupInfo_Blkio_Operation = 5
	CgroupInfo_Blkio_DISCARD CgroupInfo_Blkio_Operation = 6
)

func (CgroupInfo_Blkio_Operation) Enum added in v0.0.6

func (CgroupInfo_Blkio_Operation) EnumDescriptor added in v0.0.6

func (CgroupInfo_Blkio_Operation) EnumDescriptor() ([]byte, []int)

func (CgroupInfo_Blkio_Operation) MarshalJSON added in v0.0.6

func (x CgroupInfo_Blkio_Operation) MarshalJSON() ([]byte, error)

func (CgroupInfo_Blkio_Operation) String added in v0.0.6

func (*CgroupInfo_Blkio_Operation) UnmarshalJSON added in v0.0.6

func (x *CgroupInfo_Blkio_Operation) UnmarshalJSON(data []byte) error

type CgroupInfo_Blkio_Statistics added in v0.0.6

type CgroupInfo_Blkio_Statistics struct {
	CFQ          []CgroupInfo_Blkio_CFQ_Statistics         `protobuf:"bytes,1,rep,name=cfq" json:"cfq"`
	CFQRecursive []CgroupInfo_Blkio_CFQ_Statistics         `protobuf:"bytes,2,rep,name=cfq_recursive,json=cfqRecursive" json:"cfq_recursive"`
	Throttling   []*CgroupInfo_Blkio_Throttling_Statistics `protobuf:"bytes,3,rep,name=throttling" json:"throttling,omitempty"`
}

func NewPopulatedCgroupInfo_Blkio_Statistics added in v0.0.6

func NewPopulatedCgroupInfo_Blkio_Statistics(r randyMesos, easy bool) *CgroupInfo_Blkio_Statistics

func (*CgroupInfo_Blkio_Statistics) Descriptor added in v0.0.6

func (*CgroupInfo_Blkio_Statistics) Descriptor() ([]byte, []int)

func (*CgroupInfo_Blkio_Statistics) Equal added in v0.0.6

func (this *CgroupInfo_Blkio_Statistics) Equal(that interface{}) bool

func (*CgroupInfo_Blkio_Statistics) GetCFQ added in v0.0.6

func (*CgroupInfo_Blkio_Statistics) GetCFQRecursive added in v0.0.6

func (*CgroupInfo_Blkio_Statistics) GetThrottling added in v0.0.6

func (*CgroupInfo_Blkio_Statistics) GoString added in v0.0.6

func (this *CgroupInfo_Blkio_Statistics) GoString() string

func (*CgroupInfo_Blkio_Statistics) Marshal added in v0.0.6

func (m *CgroupInfo_Blkio_Statistics) Marshal() (dAtA []byte, err error)

func (*CgroupInfo_Blkio_Statistics) MarshalJSON added in v0.0.6

func (mj *CgroupInfo_Blkio_Statistics) MarshalJSON() ([]byte, error)

func (*CgroupInfo_Blkio_Statistics) MarshalJSONBuf added in v0.0.6

func (mj *CgroupInfo_Blkio_Statistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CgroupInfo_Blkio_Statistics) MarshalTo added in v0.0.6

func (m *CgroupInfo_Blkio_Statistics) MarshalTo(dAtA []byte) (int, error)

func (*CgroupInfo_Blkio_Statistics) ProtoMessage added in v0.0.6

func (*CgroupInfo_Blkio_Statistics) ProtoMessage()

func (*CgroupInfo_Blkio_Statistics) ProtoSize added in v0.0.6

func (m *CgroupInfo_Blkio_Statistics) ProtoSize() (n int)

func (*CgroupInfo_Blkio_Statistics) Reset added in v0.0.6

func (m *CgroupInfo_Blkio_Statistics) Reset()

func (*CgroupInfo_Blkio_Statistics) String added in v0.0.6

func (this *CgroupInfo_Blkio_Statistics) String() string

func (*CgroupInfo_Blkio_Statistics) Unmarshal added in v0.0.6

func (m *CgroupInfo_Blkio_Statistics) Unmarshal(dAtA []byte) error

func (*CgroupInfo_Blkio_Statistics) UnmarshalJSON added in v0.0.6

func (uj *CgroupInfo_Blkio_Statistics) UnmarshalJSON(input []byte) error

func (*CgroupInfo_Blkio_Statistics) UnmarshalJSONFFLexer added in v0.0.6

func (uj *CgroupInfo_Blkio_Statistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CgroupInfo_Blkio_Statistics) VerboseEqual added in v0.0.6

func (this *CgroupInfo_Blkio_Statistics) VerboseEqual(that interface{}) error

type CgroupInfo_Blkio_Throttling added in v0.0.6

type CgroupInfo_Blkio_Throttling struct {
}

func NewPopulatedCgroupInfo_Blkio_Throttling added in v0.0.6

func NewPopulatedCgroupInfo_Blkio_Throttling(r randyMesos, easy bool) *CgroupInfo_Blkio_Throttling

func (*CgroupInfo_Blkio_Throttling) Descriptor added in v0.0.6

func (*CgroupInfo_Blkio_Throttling) Descriptor() ([]byte, []int)

func (*CgroupInfo_Blkio_Throttling) Equal added in v0.0.6

func (this *CgroupInfo_Blkio_Throttling) Equal(that interface{}) bool

func (*CgroupInfo_Blkio_Throttling) GoString added in v0.0.6

func (this *CgroupInfo_Blkio_Throttling) GoString() string

func (*CgroupInfo_Blkio_Throttling) Marshal added in v0.0.6

func (m *CgroupInfo_Blkio_Throttling) Marshal() (dAtA []byte, err error)

func (*CgroupInfo_Blkio_Throttling) MarshalJSON added in v0.0.6

func (mj *CgroupInfo_Blkio_Throttling) MarshalJSON() ([]byte, error)

func (*CgroupInfo_Blkio_Throttling) MarshalJSONBuf added in v0.0.6

func (mj *CgroupInfo_Blkio_Throttling) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CgroupInfo_Blkio_Throttling) MarshalTo added in v0.0.6

func (m *CgroupInfo_Blkio_Throttling) MarshalTo(dAtA []byte) (int, error)

func (*CgroupInfo_Blkio_Throttling) ProtoMessage added in v0.0.6

func (*CgroupInfo_Blkio_Throttling) ProtoMessage()

func (*CgroupInfo_Blkio_Throttling) ProtoSize added in v0.0.6

func (m *CgroupInfo_Blkio_Throttling) ProtoSize() (n int)

func (*CgroupInfo_Blkio_Throttling) Reset added in v0.0.6

func (m *CgroupInfo_Blkio_Throttling) Reset()

func (*CgroupInfo_Blkio_Throttling) String added in v0.0.6

func (this *CgroupInfo_Blkio_Throttling) String() string

func (*CgroupInfo_Blkio_Throttling) Unmarshal added in v0.0.6

func (m *CgroupInfo_Blkio_Throttling) Unmarshal(dAtA []byte) error

func (*CgroupInfo_Blkio_Throttling) UnmarshalJSON added in v0.0.6

func (uj *CgroupInfo_Blkio_Throttling) UnmarshalJSON(input []byte) error

func (*CgroupInfo_Blkio_Throttling) UnmarshalJSONFFLexer added in v0.0.6

func (uj *CgroupInfo_Blkio_Throttling) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CgroupInfo_Blkio_Throttling) VerboseEqual added in v0.0.6

func (this *CgroupInfo_Blkio_Throttling) VerboseEqual(that interface{}) error

type CgroupInfo_Blkio_Throttling_Statistics added in v0.0.6

type CgroupInfo_Blkio_Throttling_Statistics struct {
	// Stats are grouped by block devices. If `device` is not
	// set, it represents `Total`.
	Device *Device_Number `protobuf:"bytes,1,opt,name=device" json:"device,omitempty"`
	// blkio.throttle.io_serviced
	IOServiced []CgroupInfo_Blkio_Value `protobuf:"bytes,2,rep,name=io_serviced,json=ioServiced" json:"io_serviced"`
	// blkio.throttle.io_service_bytes
	IOServiceBytes []CgroupInfo_Blkio_Value `protobuf:"bytes,3,rep,name=io_service_bytes,json=ioServiceBytes" json:"io_service_bytes"`
}

func NewPopulatedCgroupInfo_Blkio_Throttling_Statistics added in v0.0.6

func NewPopulatedCgroupInfo_Blkio_Throttling_Statistics(r randyMesos, easy bool) *CgroupInfo_Blkio_Throttling_Statistics

func (*CgroupInfo_Blkio_Throttling_Statistics) Descriptor added in v0.0.6

func (*CgroupInfo_Blkio_Throttling_Statistics) Descriptor() ([]byte, []int)

func (*CgroupInfo_Blkio_Throttling_Statistics) Equal added in v0.0.6

func (this *CgroupInfo_Blkio_Throttling_Statistics) Equal(that interface{}) bool

func (*CgroupInfo_Blkio_Throttling_Statistics) GetDevice added in v0.0.6

func (*CgroupInfo_Blkio_Throttling_Statistics) GetIOServiceBytes added in v0.0.6

func (*CgroupInfo_Blkio_Throttling_Statistics) GetIOServiced added in v0.0.6

func (*CgroupInfo_Blkio_Throttling_Statistics) GoString added in v0.0.6

func (*CgroupInfo_Blkio_Throttling_Statistics) Marshal added in v0.0.6

func (m *CgroupInfo_Blkio_Throttling_Statistics) Marshal() (dAtA []byte, err error)

func (*CgroupInfo_Blkio_Throttling_Statistics) MarshalJSON added in v0.0.6

func (mj *CgroupInfo_Blkio_Throttling_Statistics) MarshalJSON() ([]byte, error)

func (*CgroupInfo_Blkio_Throttling_Statistics) MarshalJSONBuf added in v0.0.6

func (*CgroupInfo_Blkio_Throttling_Statistics) MarshalTo added in v0.0.6

func (m *CgroupInfo_Blkio_Throttling_Statistics) MarshalTo(dAtA []byte) (int, error)

func (*CgroupInfo_Blkio_Throttling_Statistics) ProtoMessage added in v0.0.6

func (*CgroupInfo_Blkio_Throttling_Statistics) ProtoSize added in v0.0.6

func (m *CgroupInfo_Blkio_Throttling_Statistics) ProtoSize() (n int)

func (*CgroupInfo_Blkio_Throttling_Statistics) Reset added in v0.0.6

func (*CgroupInfo_Blkio_Throttling_Statistics) String added in v0.0.6

func (*CgroupInfo_Blkio_Throttling_Statistics) Unmarshal added in v0.0.6

func (m *CgroupInfo_Blkio_Throttling_Statistics) Unmarshal(dAtA []byte) error

func (*CgroupInfo_Blkio_Throttling_Statistics) UnmarshalJSON added in v0.0.6

func (uj *CgroupInfo_Blkio_Throttling_Statistics) UnmarshalJSON(input []byte) error

func (*CgroupInfo_Blkio_Throttling_Statistics) UnmarshalJSONFFLexer added in v0.0.6

func (uj *CgroupInfo_Blkio_Throttling_Statistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CgroupInfo_Blkio_Throttling_Statistics) VerboseEqual added in v0.0.6

func (this *CgroupInfo_Blkio_Throttling_Statistics) VerboseEqual(that interface{}) error

type CgroupInfo_Blkio_Value added in v0.0.6

type CgroupInfo_Blkio_Value struct {
	Op    *CgroupInfo_Blkio_Operation `protobuf:"varint,1,opt,name=op,enum=mesos.CgroupInfo_Blkio_Operation" json:"op,omitempty"`
	Value *uint64                     `protobuf:"varint,2,opt,name=value" json:"value,omitempty"`
}

Describes a stat value without the device descriptor part.

func NewPopulatedCgroupInfo_Blkio_Value added in v0.0.6

func NewPopulatedCgroupInfo_Blkio_Value(r randyMesos, easy bool) *CgroupInfo_Blkio_Value

func (*CgroupInfo_Blkio_Value) Descriptor added in v0.0.6

func (*CgroupInfo_Blkio_Value) Descriptor() ([]byte, []int)

func (*CgroupInfo_Blkio_Value) Equal added in v0.0.6

func (this *CgroupInfo_Blkio_Value) Equal(that interface{}) bool

func (*CgroupInfo_Blkio_Value) GetOp added in v0.0.6

func (*CgroupInfo_Blkio_Value) GetValue added in v0.0.6

func (m *CgroupInfo_Blkio_Value) GetValue() uint64

func (*CgroupInfo_Blkio_Value) GoString added in v0.0.6

func (this *CgroupInfo_Blkio_Value) GoString() string

func (*CgroupInfo_Blkio_Value) Marshal added in v0.0.6

func (m *CgroupInfo_Blkio_Value) Marshal() (dAtA []byte, err error)

func (*CgroupInfo_Blkio_Value) MarshalJSON added in v0.0.6

func (mj *CgroupInfo_Blkio_Value) MarshalJSON() ([]byte, error)

func (*CgroupInfo_Blkio_Value) MarshalJSONBuf added in v0.0.6

func (mj *CgroupInfo_Blkio_Value) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CgroupInfo_Blkio_Value) MarshalTo added in v0.0.6

func (m *CgroupInfo_Blkio_Value) MarshalTo(dAtA []byte) (int, error)

func (*CgroupInfo_Blkio_Value) ProtoMessage added in v0.0.6

func (*CgroupInfo_Blkio_Value) ProtoMessage()

func (*CgroupInfo_Blkio_Value) ProtoSize added in v0.0.6

func (m *CgroupInfo_Blkio_Value) ProtoSize() (n int)

func (*CgroupInfo_Blkio_Value) Reset added in v0.0.6

func (m *CgroupInfo_Blkio_Value) Reset()

func (*CgroupInfo_Blkio_Value) String added in v0.0.6

func (this *CgroupInfo_Blkio_Value) String() string

func (*CgroupInfo_Blkio_Value) Unmarshal added in v0.0.6

func (m *CgroupInfo_Blkio_Value) Unmarshal(dAtA []byte) error

func (*CgroupInfo_Blkio_Value) UnmarshalJSON added in v0.0.6

func (uj *CgroupInfo_Blkio_Value) UnmarshalJSON(input []byte) error

func (*CgroupInfo_Blkio_Value) UnmarshalJSONFFLexer added in v0.0.6

func (uj *CgroupInfo_Blkio_Value) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CgroupInfo_Blkio_Value) VerboseEqual added in v0.0.6

func (this *CgroupInfo_Blkio_Value) VerboseEqual(that interface{}) error

type CgroupInfo_NetCls

type CgroupInfo_NetCls struct {
	// The 32-bit classid consists of two parts, a 16 bit major handle
	// and a 16-bit minor handle. The major and minor handle are
	// represented using the format 0xAAAABBBB, where 0xAAAA is the
	// 16-bit major handle and 0xBBBB is the 16-bit minor handle.
	ClassID *uint32 `protobuf:"varint,1,opt,name=classid" json:"classid,omitempty"`
}

Configuration of a net_cls cgroup subsystem.

func NewPopulatedCgroupInfo_NetCls

func NewPopulatedCgroupInfo_NetCls(r randyMesos, easy bool) *CgroupInfo_NetCls

func (*CgroupInfo_NetCls) Descriptor added in v0.0.4

func (*CgroupInfo_NetCls) Descriptor() ([]byte, []int)

func (*CgroupInfo_NetCls) Equal

func (this *CgroupInfo_NetCls) Equal(that interface{}) bool

func (*CgroupInfo_NetCls) GetClassID

func (m *CgroupInfo_NetCls) GetClassID() uint32

func (*CgroupInfo_NetCls) GoString

func (this *CgroupInfo_NetCls) GoString() string

func (*CgroupInfo_NetCls) Marshal

func (m *CgroupInfo_NetCls) Marshal() (dAtA []byte, err error)

func (*CgroupInfo_NetCls) MarshalJSON

func (mj *CgroupInfo_NetCls) MarshalJSON() ([]byte, error)

func (*CgroupInfo_NetCls) MarshalJSONBuf

func (mj *CgroupInfo_NetCls) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CgroupInfo_NetCls) MarshalTo

func (m *CgroupInfo_NetCls) MarshalTo(dAtA []byte) (int, error)

func (*CgroupInfo_NetCls) ProtoMessage

func (*CgroupInfo_NetCls) ProtoMessage()

func (*CgroupInfo_NetCls) ProtoSize added in v0.0.4

func (m *CgroupInfo_NetCls) ProtoSize() (n int)

func (*CgroupInfo_NetCls) Reset

func (m *CgroupInfo_NetCls) Reset()

func (*CgroupInfo_NetCls) String

func (this *CgroupInfo_NetCls) String() string

func (*CgroupInfo_NetCls) Unmarshal

func (m *CgroupInfo_NetCls) Unmarshal(dAtA []byte) error

func (*CgroupInfo_NetCls) UnmarshalJSON

func (uj *CgroupInfo_NetCls) UnmarshalJSON(input []byte) error

func (*CgroupInfo_NetCls) UnmarshalJSONFFLexer

func (uj *CgroupInfo_NetCls) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CgroupInfo_NetCls) VerboseEqual

func (this *CgroupInfo_NetCls) VerboseEqual(that interface{}) error

type CheckInfo added in v0.0.4

type CheckInfo struct {
	// The type of the check.
	Type CheckInfo_Type `protobuf:"varint,1,opt,name=type,enum=mesos.CheckInfo_Type" json:"type"`
	// Command check.
	Command *CheckInfo_Command `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"`
	// HTTP check.
	HTTP *CheckInfo_Http `protobuf:"bytes,3,opt,name=http" json:"http,omitempty"`
	// TCP check.
	TCP *CheckInfo_Tcp `protobuf:"bytes,7,opt,name=tcp" json:"tcp,omitempty"`
	// Amount of time to wait to start checking the task after it
	// transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter
	// is used by the executor.
	DelaySeconds *float64 `protobuf:"fixed64,4,opt,name=delay_seconds,json=delaySeconds,def=15" json:"delay_seconds,omitempty"`
	// Interval between check attempts, i.e., amount of time to wait after
	// the previous check finished or timed out to start the next check.
	IntervalSeconds *float64 `protobuf:"fixed64,5,opt,name=interval_seconds,json=intervalSeconds,def=10" json:"interval_seconds,omitempty"`
	// Amount of time to wait for the check to complete. Zero means infinite
	// timeout.
	//
	// After this timeout, the check attempt is aborted and no result is
	// reported. Note that this may be considered a state change and hence
	// may trigger a check status change delivery to the corresponding
	// scheduler. See `CheckStatusInfo` for more details.
	TimeoutSeconds *float64 `protobuf:"fixed64,6,opt,name=timeout_seconds,json=timeoutSeconds,def=20" json:"timeout_seconds,omitempty"`
}

* Describes a general non-interpreting non-killing check for a task or executor (or any arbitrary process/command). A type is picked by specifying one of the optional fields. Specifying more than one type is an error.

NOTE: This API is subject to change and the related feature is experimental.

func NewPopulatedCheckInfo added in v0.0.4

func NewPopulatedCheckInfo(r randyMesos, easy bool) *CheckInfo

func (*CheckInfo) Descriptor added in v0.0.4

func (*CheckInfo) Descriptor() ([]byte, []int)

func (*CheckInfo) Equal added in v0.0.4

func (this *CheckInfo) Equal(that interface{}) bool

func (*CheckInfo) GetCommand added in v0.0.4

func (m *CheckInfo) GetCommand() *CheckInfo_Command

func (*CheckInfo) GetDelaySeconds added in v0.0.4

func (m *CheckInfo) GetDelaySeconds() float64

func (*CheckInfo) GetHTTP added in v0.0.4

func (m *CheckInfo) GetHTTP() *CheckInfo_Http

func (*CheckInfo) GetIntervalSeconds added in v0.0.4

func (m *CheckInfo) GetIntervalSeconds() float64

func (*CheckInfo) GetTCP added in v0.0.5

func (m *CheckInfo) GetTCP() *CheckInfo_Tcp

func (*CheckInfo) GetTimeoutSeconds added in v0.0.4

func (m *CheckInfo) GetTimeoutSeconds() float64

func (*CheckInfo) GetType added in v0.0.4

func (m *CheckInfo) GetType() CheckInfo_Type

func (*CheckInfo) GoString added in v0.0.4

func (this *CheckInfo) GoString() string

func (*CheckInfo) Marshal added in v0.0.4

func (m *CheckInfo) Marshal() (dAtA []byte, err error)

func (*CheckInfo) MarshalJSON added in v0.0.4

func (mj *CheckInfo) MarshalJSON() ([]byte, error)

func (*CheckInfo) MarshalJSONBuf added in v0.0.4

func (mj *CheckInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CheckInfo) MarshalTo added in v0.0.4

func (m *CheckInfo) MarshalTo(dAtA []byte) (int, error)

func (*CheckInfo) ProtoMessage added in v0.0.4

func (*CheckInfo) ProtoMessage()

func (*CheckInfo) ProtoSize added in v0.0.4

func (m *CheckInfo) ProtoSize() (n int)

func (*CheckInfo) Reset added in v0.0.4

func (m *CheckInfo) Reset()

func (*CheckInfo) String added in v0.0.4

func (this *CheckInfo) String() string

func (*CheckInfo) Unmarshal added in v0.0.4

func (m *CheckInfo) Unmarshal(dAtA []byte) error

func (*CheckInfo) UnmarshalJSON added in v0.0.4

func (uj *CheckInfo) UnmarshalJSON(input []byte) error

func (*CheckInfo) UnmarshalJSONFFLexer added in v0.0.4

func (uj *CheckInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CheckInfo) VerboseEqual added in v0.0.4

func (this *CheckInfo) VerboseEqual(that interface{}) error

type CheckInfo_Command added in v0.0.4

type CheckInfo_Command struct {
	Command CommandInfo `protobuf:"bytes,1,req,name=command" json:"command"`
}

Describes a command check. If applicable, enters mount and/or network namespaces of the task.

func NewPopulatedCheckInfo_Command added in v0.0.4

func NewPopulatedCheckInfo_Command(r randyMesos, easy bool) *CheckInfo_Command

func (*CheckInfo_Command) Descriptor added in v0.0.4

func (*CheckInfo_Command) Descriptor() ([]byte, []int)

func (*CheckInfo_Command) Equal added in v0.0.4

func (this *CheckInfo_Command) Equal(that interface{}) bool

func (*CheckInfo_Command) GetCommand added in v0.0.4

func (m *CheckInfo_Command) GetCommand() CommandInfo

func (*CheckInfo_Command) GoString added in v0.0.4

func (this *CheckInfo_Command) GoString() string

func (*CheckInfo_Command) Marshal added in v0.0.4

func (m *CheckInfo_Command) Marshal() (dAtA []byte, err error)

func (*CheckInfo_Command) MarshalJSON added in v0.0.4

func (mj *CheckInfo_Command) MarshalJSON() ([]byte, error)

func (*CheckInfo_Command) MarshalJSONBuf added in v0.0.4

func (mj *CheckInfo_Command) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CheckInfo_Command) MarshalTo added in v0.0.4

func (m *CheckInfo_Command) MarshalTo(dAtA []byte) (int, error)

func (*CheckInfo_Command) ProtoMessage added in v0.0.4

func (*CheckInfo_Command) ProtoMessage()

func (*CheckInfo_Command) ProtoSize added in v0.0.4

func (m *CheckInfo_Command) ProtoSize() (n int)

func (*CheckInfo_Command) Reset added in v0.0.4

func (m *CheckInfo_Command) Reset()

func (*CheckInfo_Command) String added in v0.0.4

func (this *CheckInfo_Command) String() string

func (*CheckInfo_Command) Unmarshal added in v0.0.4

func (m *CheckInfo_Command) Unmarshal(dAtA []byte) error

func (*CheckInfo_Command) UnmarshalJSON added in v0.0.4

func (uj *CheckInfo_Command) UnmarshalJSON(input []byte) error

func (*CheckInfo_Command) UnmarshalJSONFFLexer added in v0.0.4

func (uj *CheckInfo_Command) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CheckInfo_Command) VerboseEqual added in v0.0.4

func (this *CheckInfo_Command) VerboseEqual(that interface{}) error

type CheckInfo_Http added in v0.0.4

type CheckInfo_Http struct {
	// Port to send the HTTP request.
	Port uint32 `protobuf:"varint,1,req,name=port" json:"port"`
	// HTTP request path.
	Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
}

Describes an HTTP check. Sends a GET request to http://<host>:port/path. Note that <host> is not configurable and is resolved automatically to 127.0.0.1.

func NewPopulatedCheckInfo_Http added in v0.0.4

func NewPopulatedCheckInfo_Http(r randyMesos, easy bool) *CheckInfo_Http

func (*CheckInfo_Http) Descriptor added in v0.0.4

func (*CheckInfo_Http) Descriptor() ([]byte, []int)

func (*CheckInfo_Http) Equal added in v0.0.4

func (this *CheckInfo_Http) Equal(that interface{}) bool

func (*CheckInfo_Http) GetPath added in v0.0.4

func (m *CheckInfo_Http) GetPath() string

func (*CheckInfo_Http) GetPort added in v0.0.4

func (m *CheckInfo_Http) GetPort() uint32

func (*CheckInfo_Http) GoString added in v0.0.4

func (this *CheckInfo_Http) GoString() string

func (*CheckInfo_Http) Marshal added in v0.0.4

func (m *CheckInfo_Http) Marshal() (dAtA []byte, err error)

func (*CheckInfo_Http) MarshalJSON added in v0.0.4

func (mj *CheckInfo_Http) MarshalJSON() ([]byte, error)

func (*CheckInfo_Http) MarshalJSONBuf added in v0.0.4

func (mj *CheckInfo_Http) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CheckInfo_Http) MarshalTo added in v0.0.4

func (m *CheckInfo_Http) MarshalTo(dAtA []byte) (int, error)

func (*CheckInfo_Http) ProtoMessage added in v0.0.4

func (*CheckInfo_Http) ProtoMessage()

func (*CheckInfo_Http) ProtoSize added in v0.0.4

func (m *CheckInfo_Http) ProtoSize() (n int)

func (*CheckInfo_Http) Reset added in v0.0.4

func (m *CheckInfo_Http) Reset()

func (*CheckInfo_Http) String added in v0.0.4

func (this *CheckInfo_Http) String() string

func (*CheckInfo_Http) Unmarshal added in v0.0.4

func (m *CheckInfo_Http) Unmarshal(dAtA []byte) error

func (*CheckInfo_Http) UnmarshalJSON added in v0.0.4

func (uj *CheckInfo_Http) UnmarshalJSON(input []byte) error

func (*CheckInfo_Http) UnmarshalJSONFFLexer added in v0.0.4

func (uj *CheckInfo_Http) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CheckInfo_Http) VerboseEqual added in v0.0.4

func (this *CheckInfo_Http) VerboseEqual(that interface{}) error

type CheckInfo_Tcp added in v0.0.5

type CheckInfo_Tcp struct {
	Port uint32 `protobuf:"varint,1,req,name=port" json:"port"`
}

Describes a TCP check, i.e. based on establishing a TCP connection to the specified port. Note that <host> is not configurable and is resolved automatically to 127.0.0.1.

func NewPopulatedCheckInfo_Tcp added in v0.0.5

func NewPopulatedCheckInfo_Tcp(r randyMesos, easy bool) *CheckInfo_Tcp

func (*CheckInfo_Tcp) Descriptor added in v0.0.5

func (*CheckInfo_Tcp) Descriptor() ([]byte, []int)

func (*CheckInfo_Tcp) Equal added in v0.0.5

func (this *CheckInfo_Tcp) Equal(that interface{}) bool

func (*CheckInfo_Tcp) GetPort added in v0.0.5

func (m *CheckInfo_Tcp) GetPort() uint32

func (*CheckInfo_Tcp) GoString added in v0.0.5

func (this *CheckInfo_Tcp) GoString() string

func (*CheckInfo_Tcp) Marshal added in v0.0.5

func (m *CheckInfo_Tcp) Marshal() (dAtA []byte, err error)

func (*CheckInfo_Tcp) MarshalJSON added in v0.0.5

func (mj *CheckInfo_Tcp) MarshalJSON() ([]byte, error)

func (*CheckInfo_Tcp) MarshalJSONBuf added in v0.0.5

func (mj *CheckInfo_Tcp) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CheckInfo_Tcp) MarshalTo added in v0.0.5

func (m *CheckInfo_Tcp) MarshalTo(dAtA []byte) (int, error)

func (*CheckInfo_Tcp) ProtoMessage added in v0.0.5

func (*CheckInfo_Tcp) ProtoMessage()

func (*CheckInfo_Tcp) ProtoSize added in v0.0.5

func (m *CheckInfo_Tcp) ProtoSize() (n int)

func (*CheckInfo_Tcp) Reset added in v0.0.5

func (m *CheckInfo_Tcp) Reset()

func (*CheckInfo_Tcp) String added in v0.0.5

func (this *CheckInfo_Tcp) String() string

func (*CheckInfo_Tcp) Unmarshal added in v0.0.5

func (m *CheckInfo_Tcp) Unmarshal(dAtA []byte) error

func (*CheckInfo_Tcp) UnmarshalJSON added in v0.0.5

func (uj *CheckInfo_Tcp) UnmarshalJSON(input []byte) error

func (*CheckInfo_Tcp) UnmarshalJSONFFLexer added in v0.0.5

func (uj *CheckInfo_Tcp) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CheckInfo_Tcp) VerboseEqual added in v0.0.5

func (this *CheckInfo_Tcp) VerboseEqual(that interface{}) error

type CheckInfo_Type added in v0.0.4

type CheckInfo_Type int32
const (
	CheckInfo_UNKNOWN CheckInfo_Type = 0
	CheckInfo_COMMAND CheckInfo_Type = 1
	CheckInfo_HTTP    CheckInfo_Type = 2
	CheckInfo_TCP     CheckInfo_Type = 3
)

func (CheckInfo_Type) Enum added in v0.0.4

func (x CheckInfo_Type) Enum() *CheckInfo_Type

func (CheckInfo_Type) EnumDescriptor added in v0.0.4

func (CheckInfo_Type) EnumDescriptor() ([]byte, []int)

func (CheckInfo_Type) MarshalJSON added in v0.0.4

func (x CheckInfo_Type) MarshalJSON() ([]byte, error)

func (CheckInfo_Type) String added in v0.0.4

func (x CheckInfo_Type) String() string

func (*CheckInfo_Type) UnmarshalJSON added in v0.0.4

func (x *CheckInfo_Type) UnmarshalJSON(data []byte) error

type CheckStatusInfo added in v0.0.4

type CheckStatusInfo struct {
	// The type of the check this status corresponds to.
	Type *CheckInfo_Type `protobuf:"varint,1,opt,name=type,enum=mesos.CheckInfo_Type" json:"type,omitempty"`
	// Status of a command check.
	Command *CheckStatusInfo_Command `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"`
	// Status of an HTTP check.
	HTTP *CheckStatusInfo_Http `protobuf:"bytes,3,opt,name=http" json:"http,omitempty"`
	// Status of a TCP check.
	TCP *CheckStatusInfo_Tcp `protobuf:"bytes,4,opt,name=tcp" json:"tcp,omitempty"`
}

* Describes the status of a check. Type and the corresponding field, i.e., `command` or `http` must be set. If the result of the check is not available (e.g., the check timed out), these fields must contain empty messages, i.e., `exit_code` or `status_code` will be unset.

NOTE: This API is subject to change and the related feature is experimental.

func NewPopulatedCheckStatusInfo added in v0.0.4

func NewPopulatedCheckStatusInfo(r randyMesos, easy bool) *CheckStatusInfo

func (*CheckStatusInfo) Descriptor added in v0.0.4

func (*CheckStatusInfo) Descriptor() ([]byte, []int)

func (*CheckStatusInfo) Equal added in v0.0.4

func (this *CheckStatusInfo) Equal(that interface{}) bool

func (*CheckStatusInfo) GetCommand added in v0.0.4

func (m *CheckStatusInfo) GetCommand() *CheckStatusInfo_Command

func (*CheckStatusInfo) GetHTTP added in v0.0.4

func (m *CheckStatusInfo) GetHTTP() *CheckStatusInfo_Http

func (*CheckStatusInfo) GetTCP added in v0.0.5

func (m *CheckStatusInfo) GetTCP() *CheckStatusInfo_Tcp

func (*CheckStatusInfo) GetType added in v0.0.4

func (m *CheckStatusInfo) GetType() CheckInfo_Type

func (*CheckStatusInfo) GoString added in v0.0.4

func (this *CheckStatusInfo) GoString() string

func (*CheckStatusInfo) Marshal added in v0.0.4

func (m *CheckStatusInfo) Marshal() (dAtA []byte, err error)

func (*CheckStatusInfo) MarshalJSON added in v0.0.4

func (mj *CheckStatusInfo) MarshalJSON() ([]byte, error)

func (*CheckStatusInfo) MarshalJSONBuf added in v0.0.4

func (mj *CheckStatusInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CheckStatusInfo) MarshalTo added in v0.0.4

func (m *CheckStatusInfo) MarshalTo(dAtA []byte) (int, error)

func (*CheckStatusInfo) ProtoMessage added in v0.0.4

func (*CheckStatusInfo) ProtoMessage()

func (*CheckStatusInfo) ProtoSize added in v0.0.4

func (m *CheckStatusInfo) ProtoSize() (n int)

func (*CheckStatusInfo) Reset added in v0.0.4

func (m *CheckStatusInfo) Reset()

func (*CheckStatusInfo) String added in v0.0.4

func (this *CheckStatusInfo) String() string

func (*CheckStatusInfo) Unmarshal added in v0.0.4

func (m *CheckStatusInfo) Unmarshal(dAtA []byte) error

func (*CheckStatusInfo) UnmarshalJSON added in v0.0.4

func (uj *CheckStatusInfo) UnmarshalJSON(input []byte) error

func (*CheckStatusInfo) UnmarshalJSONFFLexer added in v0.0.4

func (uj *CheckStatusInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CheckStatusInfo) VerboseEqual added in v0.0.4

func (this *CheckStatusInfo) VerboseEqual(that interface{}) error

type CheckStatusInfo_Command added in v0.0.4

type CheckStatusInfo_Command struct {
	// Exit code of a command check. It is the result of calling
	// `WEXITSTATUS()` on `waitpid()` termination information on
	// Posix and calling `GetExitCodeProcess()` on Windows.
	ExitCode *int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode" json:"exit_code,omitempty"`
}

func NewPopulatedCheckStatusInfo_Command added in v0.0.4

func NewPopulatedCheckStatusInfo_Command(r randyMesos, easy bool) *CheckStatusInfo_Command

func (*CheckStatusInfo_Command) Descriptor added in v0.0.4

func (*CheckStatusInfo_Command) Descriptor() ([]byte, []int)

func (*CheckStatusInfo_Command) Equal added in v0.0.4

func (this *CheckStatusInfo_Command) Equal(that interface{}) bool

func (*CheckStatusInfo_Command) GetExitCode added in v0.0.4

func (m *CheckStatusInfo_Command) GetExitCode() int32

func (*CheckStatusInfo_Command) GoString added in v0.0.4

func (this *CheckStatusInfo_Command) GoString() string

func (*CheckStatusInfo_Command) Marshal added in v0.0.4

func (m *CheckStatusInfo_Command) Marshal() (dAtA []byte, err error)

func (*CheckStatusInfo_Command) MarshalJSON added in v0.0.4

func (mj *CheckStatusInfo_Command) MarshalJSON() ([]byte, error)

func (*CheckStatusInfo_Command) MarshalJSONBuf added in v0.0.4

func (mj *CheckStatusInfo_Command) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CheckStatusInfo_Command) MarshalTo added in v0.0.4

func (m *CheckStatusInfo_Command) MarshalTo(dAtA []byte) (int, error)

func (*CheckStatusInfo_Command) ProtoMessage added in v0.0.4

func (*CheckStatusInfo_Command) ProtoMessage()

func (*CheckStatusInfo_Command) ProtoSize added in v0.0.4

func (m *CheckStatusInfo_Command) ProtoSize() (n int)

func (*CheckStatusInfo_Command) Reset added in v0.0.4

func (m *CheckStatusInfo_Command) Reset()

func (*CheckStatusInfo_Command) String added in v0.0.4

func (this *CheckStatusInfo_Command) String() string

func (*CheckStatusInfo_Command) Unmarshal added in v0.0.4

func (m *CheckStatusInfo_Command) Unmarshal(dAtA []byte) error

func (*CheckStatusInfo_Command) UnmarshalJSON added in v0.0.4

func (uj *CheckStatusInfo_Command) UnmarshalJSON(input []byte) error

func (*CheckStatusInfo_Command) UnmarshalJSONFFLexer added in v0.0.4

func (uj *CheckStatusInfo_Command) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CheckStatusInfo_Command) VerboseEqual added in v0.0.4

func (this *CheckStatusInfo_Command) VerboseEqual(that interface{}) error

type CheckStatusInfo_Http added in v0.0.4

type CheckStatusInfo_Http struct {
	// HTTP status code of an HTTP check.
	StatusCode *uint32 `protobuf:"varint,1,opt,name=status_code,json=statusCode" json:"status_code,omitempty"`
}

func NewPopulatedCheckStatusInfo_Http added in v0.0.4

func NewPopulatedCheckStatusInfo_Http(r randyMesos, easy bool) *CheckStatusInfo_Http

func (*CheckStatusInfo_Http) Descriptor added in v0.0.4

func (*CheckStatusInfo_Http) Descriptor() ([]byte, []int)

func (*CheckStatusInfo_Http) Equal added in v0.0.4

func (this *CheckStatusInfo_Http) Equal(that interface{}) bool

func (*CheckStatusInfo_Http) GetStatusCode added in v0.0.4

func (m *CheckStatusInfo_Http) GetStatusCode() uint32

func (*CheckStatusInfo_Http) GoString added in v0.0.4

func (this *CheckStatusInfo_Http) GoString() string

func (*CheckStatusInfo_Http) Marshal added in v0.0.4

func (m *CheckStatusInfo_Http) Marshal() (dAtA []byte, err error)

func (*CheckStatusInfo_Http) MarshalJSON added in v0.0.4

func (mj *CheckStatusInfo_Http) MarshalJSON() ([]byte, error)

func (*CheckStatusInfo_Http) MarshalJSONBuf added in v0.0.4

func (mj *CheckStatusInfo_Http) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CheckStatusInfo_Http) MarshalTo added in v0.0.4

func (m *CheckStatusInfo_Http) MarshalTo(dAtA []byte) (int, error)

func (*CheckStatusInfo_Http) ProtoMessage added in v0.0.4

func (*CheckStatusInfo_Http) ProtoMessage()

func (*CheckStatusInfo_Http) ProtoSize added in v0.0.4

func (m *CheckStatusInfo_Http) ProtoSize() (n int)

func (*CheckStatusInfo_Http) Reset added in v0.0.4

func (m *CheckStatusInfo_Http) Reset()

func (*CheckStatusInfo_Http) String added in v0.0.4

func (this *CheckStatusInfo_Http) String() string

func (*CheckStatusInfo_Http) Unmarshal added in v0.0.4

func (m *CheckStatusInfo_Http) Unmarshal(dAtA []byte) error

func (*CheckStatusInfo_Http) UnmarshalJSON added in v0.0.4

func (uj *CheckStatusInfo_Http) UnmarshalJSON(input []byte) error

func (*CheckStatusInfo_Http) UnmarshalJSONFFLexer added in v0.0.4

func (uj *CheckStatusInfo_Http) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CheckStatusInfo_Http) VerboseEqual added in v0.0.4

func (this *CheckStatusInfo_Http) VerboseEqual(that interface{}) error

type CheckStatusInfo_Tcp added in v0.0.5

type CheckStatusInfo_Tcp struct {
	// Whether a TCP connection succeeded.
	Succeeded *bool `protobuf:"varint,1,opt,name=succeeded" json:"succeeded,omitempty"`
}

func NewPopulatedCheckStatusInfo_Tcp added in v0.0.5

func NewPopulatedCheckStatusInfo_Tcp(r randyMesos, easy bool) *CheckStatusInfo_Tcp

func (*CheckStatusInfo_Tcp) Descriptor added in v0.0.5

func (*CheckStatusInfo_Tcp) Descriptor() ([]byte, []int)

func (*CheckStatusInfo_Tcp) Equal added in v0.0.5

func (this *CheckStatusInfo_Tcp) Equal(that interface{}) bool

func (*CheckStatusInfo_Tcp) GetSucceeded added in v0.0.5

func (m *CheckStatusInfo_Tcp) GetSucceeded() bool

func (*CheckStatusInfo_Tcp) GoString added in v0.0.5

func (this *CheckStatusInfo_Tcp) GoString() string

func (*CheckStatusInfo_Tcp) Marshal added in v0.0.5

func (m *CheckStatusInfo_Tcp) Marshal() (dAtA []byte, err error)

func (*CheckStatusInfo_Tcp) MarshalJSON added in v0.0.5

func (mj *CheckStatusInfo_Tcp) MarshalJSON() ([]byte, error)

func (*CheckStatusInfo_Tcp) MarshalJSONBuf added in v0.0.5

func (mj *CheckStatusInfo_Tcp) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CheckStatusInfo_Tcp) MarshalTo added in v0.0.5

func (m *CheckStatusInfo_Tcp) MarshalTo(dAtA []byte) (int, error)

func (*CheckStatusInfo_Tcp) ProtoMessage added in v0.0.5

func (*CheckStatusInfo_Tcp) ProtoMessage()

func (*CheckStatusInfo_Tcp) ProtoSize added in v0.0.5

func (m *CheckStatusInfo_Tcp) ProtoSize() (n int)

func (*CheckStatusInfo_Tcp) Reset added in v0.0.5

func (m *CheckStatusInfo_Tcp) Reset()

func (*CheckStatusInfo_Tcp) String added in v0.0.5

func (this *CheckStatusInfo_Tcp) String() string

func (*CheckStatusInfo_Tcp) Unmarshal added in v0.0.5

func (m *CheckStatusInfo_Tcp) Unmarshal(dAtA []byte) error

func (*CheckStatusInfo_Tcp) UnmarshalJSON added in v0.0.5

func (uj *CheckStatusInfo_Tcp) UnmarshalJSON(input []byte) error

func (*CheckStatusInfo_Tcp) UnmarshalJSONFFLexer added in v0.0.5

func (uj *CheckStatusInfo_Tcp) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CheckStatusInfo_Tcp) VerboseEqual added in v0.0.5

func (this *CheckStatusInfo_Tcp) VerboseEqual(that interface{}) error

type Client

type Client interface {
	Do(encoding.Marshaler) (Response, error)
}

A Client represents a Mesos API client which can send Calls and return a streaming Decoder from which callers can read Events from, an io.Closer to close the event stream on graceful termination and an error in case of failure.

type ClientFunc

type ClientFunc func(encoding.Marshaler) (Response, error)

ClientFunc is a functional adapter of the Client interface

func (ClientFunc) Do

Do implements Client

type CloseFunc

type CloseFunc func() error

CloseFunc is the functional adapter for io.Closer

func (CloseFunc) Close

func (f CloseFunc) Close() error

Close implements io.Closer

type CommandInfo

type CommandInfo struct {
	URIs        []CommandInfo_URI `protobuf:"bytes,1,rep,name=uris" json:"uris"`
	Environment *Environment      `protobuf:"bytes,2,opt,name=environment" json:"environment,omitempty"`
	// There are two ways to specify the command:
	// 1) If 'shell == true', the command will be launched via shell
	// 		(i.e., /bin/sh -c 'value'). The 'value' specified will be
	// 		treated as the shell command. The 'arguments' will be ignored.
	// 2) If 'shell == false', the command will be launched by passing
	// 		arguments to an executable. The 'value' specified will be
	// 		treated as the filename of the executable. The 'arguments'
	// 		will be treated as the arguments to the executable. This is
	// 		similar to how POSIX exec families launch processes (i.e.,
	// 		execlp(value, arguments(0), arguments(1), ...)).
	// NOTE: The field 'value' is changed from 'required' to 'optional'
	// in 0.20.0. It will only cause issues if a new framework is
	// connecting to an old master.
	Shell     *bool    `protobuf:"varint,6,opt,name=shell,def=1" json:"shell,omitempty"`
	Value     *string  `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	Arguments []string `protobuf:"bytes,7,rep,name=arguments" json:"arguments,omitempty"`
	// Enables executor and tasks to run as a specific user. If the user
	// field is present both in FrameworkInfo and here, the CommandInfo
	// user value takes precedence.
	User *string `protobuf:"bytes,5,opt,name=user" json:"user,omitempty"`
}

* Describes a command, executed via: '/bin/sh -c value'. Any URIs specified are fetched before executing the command. If the executable field for an uri is set, executable file permission is set on the downloaded file. Otherwise, if the downloaded file has a recognized archive extension (currently [compressed] tar and zip) it is extracted into the executor's working directory. This extraction can be disabled by setting `extract` to false. In addition, any environment variables are set before executing the command (so they can be used to "parameterize" your command).

func NewPopulatedCommandInfo

func NewPopulatedCommandInfo(r randyMesos, easy bool) *CommandInfo

func (*CommandInfo) Descriptor added in v0.0.4

func (*CommandInfo) Descriptor() ([]byte, []int)

func (*CommandInfo) Equal

func (this *CommandInfo) Equal(that interface{}) bool

func (*CommandInfo) GetArguments

func (m *CommandInfo) GetArguments() []string

func (*CommandInfo) GetEnvironment

func (m *CommandInfo) GetEnvironment() *Environment

func (*CommandInfo) GetShell

func (m *CommandInfo) GetShell() bool

func (*CommandInfo) GetURIs

func (m *CommandInfo) GetURIs() []CommandInfo_URI

func (*CommandInfo) GetUser

func (m *CommandInfo) GetUser() string

func (*CommandInfo) GetValue

func (m *CommandInfo) GetValue() string

func (*CommandInfo) GoString

func (this *CommandInfo) GoString() string

func (*CommandInfo) Marshal

func (m *CommandInfo) Marshal() (dAtA []byte, err error)

func (*CommandInfo) MarshalJSON

func (mj *CommandInfo) MarshalJSON() ([]byte, error)

func (*CommandInfo) MarshalJSONBuf

func (mj *CommandInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CommandInfo) MarshalTo

func (m *CommandInfo) MarshalTo(dAtA []byte) (int, error)

func (*CommandInfo) ProtoMessage

func (*CommandInfo) ProtoMessage()

func (*CommandInfo) ProtoSize added in v0.0.4

func (m *CommandInfo) ProtoSize() (n int)

func (*CommandInfo) Reset

func (m *CommandInfo) Reset()

func (*CommandInfo) String

func (this *CommandInfo) String() string

func (*CommandInfo) Unmarshal

func (m *CommandInfo) Unmarshal(dAtA []byte) error

func (*CommandInfo) UnmarshalJSON

func (uj *CommandInfo) UnmarshalJSON(input []byte) error

func (*CommandInfo) UnmarshalJSONFFLexer

func (uj *CommandInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CommandInfo) VerboseEqual

func (this *CommandInfo) VerboseEqual(that interface{}) error

type CommandInfo_URI

type CommandInfo_URI struct {
	Value      string `protobuf:"bytes,1,req,name=value" json:"value"`
	Executable *bool  `protobuf:"varint,2,opt,name=executable" json:"executable,omitempty"`
	// In case the fetched file is recognized as an archive, extract
	// its contents into the sandbox. Note that a cached archive is
	// not copied from the cache to the sandbox in case extraction
	// originates from an archive in the cache.
	Extract *bool `protobuf:"varint,3,opt,name=extract,def=1" json:"extract,omitempty"`
	// If this field is "true", the fetcher cache will be used. If not,
	// fetching bypasses the cache and downloads directly into the
	// sandbox directory, no matter whether a suitable cache file is
	// available or not. The former directs the fetcher to download to
	// the file cache, then copy from there to the sandbox. Subsequent
	// fetch attempts with the same URI will omit downloading and copy
	// from the cache as long as the file is resident there. Cache files
	// may get evicted at any time, which then leads to renewed
	// downloading. See also "docs/fetcher.md" and
	// "docs/fetcher-cache-internals.md".
	Cache *bool `protobuf:"varint,4,opt,name=cache" json:"cache,omitempty"`
	// The fetcher's default behavior is to use the URI string's basename to
	// name the local copy. If this field is provided, the local copy will be
	// named with its value instead. If there is a directory component (which
	// must be a relative path), the local copy will be stored in that
	// subdirectory inside the sandbox.
	OutputFile *string `protobuf:"bytes,5,opt,name=output_file,json=outputFile" json:"output_file,omitempty"`
}

func NewPopulatedCommandInfo_URI

func NewPopulatedCommandInfo_URI(r randyMesos, easy bool) *CommandInfo_URI

func (*CommandInfo_URI) Descriptor added in v0.0.4

func (*CommandInfo_URI) Descriptor() ([]byte, []int)

func (*CommandInfo_URI) Equal

func (this *CommandInfo_URI) Equal(that interface{}) bool

func (*CommandInfo_URI) GetCache

func (m *CommandInfo_URI) GetCache() bool

func (*CommandInfo_URI) GetExecutable

func (m *CommandInfo_URI) GetExecutable() bool

func (*CommandInfo_URI) GetExtract

func (m *CommandInfo_URI) GetExtract() bool

func (*CommandInfo_URI) GetOutputFile

func (m *CommandInfo_URI) GetOutputFile() string

func (*CommandInfo_URI) GetValue

func (m *CommandInfo_URI) GetValue() string

func (*CommandInfo_URI) GoString

func (this *CommandInfo_URI) GoString() string

func (*CommandInfo_URI) Marshal

func (m *CommandInfo_URI) Marshal() (dAtA []byte, err error)

func (*CommandInfo_URI) MarshalJSON

func (mj *CommandInfo_URI) MarshalJSON() ([]byte, error)

func (*CommandInfo_URI) MarshalJSONBuf

func (mj *CommandInfo_URI) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*CommandInfo_URI) MarshalTo

func (m *CommandInfo_URI) MarshalTo(dAtA []byte) (int, error)

func (*CommandInfo_URI) ProtoMessage

func (*CommandInfo_URI) ProtoMessage()

func (*CommandInfo_URI) ProtoSize added in v0.0.4

func (m *CommandInfo_URI) ProtoSize() (n int)

func (*CommandInfo_URI) Reset

func (m *CommandInfo_URI) Reset()

func (*CommandInfo_URI) String

func (this *CommandInfo_URI) String() string

func (*CommandInfo_URI) Unmarshal

func (m *CommandInfo_URI) Unmarshal(dAtA []byte) error

func (*CommandInfo_URI) UnmarshalJSON

func (uj *CommandInfo_URI) UnmarshalJSON(input []byte) error

func (*CommandInfo_URI) UnmarshalJSONFFLexer

func (uj *CommandInfo_URI) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*CommandInfo_URI) VerboseEqual

func (this *CommandInfo_URI) VerboseEqual(that interface{}) error

type ContainerID

type ContainerID struct {
	Value  string       `protobuf:"bytes,1,req,name=value" json:"value"`
	Parent *ContainerID `protobuf:"bytes,2,opt,name=parent" json:"parent,omitempty"`
}

* ID used to uniquely identify a container. If the `parent` is not specified, the ID is a UUID generated by the agent to uniquely identify the container of an executor run. If the `parent` field is specified, it represents a nested container.

func NewPopulatedContainerID

func NewPopulatedContainerID(r randyMesos, easy bool) *ContainerID

func (*ContainerID) Descriptor added in v0.0.4

func (*ContainerID) Descriptor() ([]byte, []int)

func (*ContainerID) Equal

func (this *ContainerID) Equal(that interface{}) bool

func (*ContainerID) GetParent

func (m *ContainerID) GetParent() *ContainerID

func (*ContainerID) GetValue

func (m *ContainerID) GetValue() string

func (*ContainerID) GoString

func (this *ContainerID) GoString() string

func (*ContainerID) Marshal

func (m *ContainerID) Marshal() (dAtA []byte, err error)

func (*ContainerID) MarshalJSON

func (mj *ContainerID) MarshalJSON() ([]byte, error)

func (*ContainerID) MarshalJSONBuf

func (mj *ContainerID) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ContainerID) MarshalTo

func (m *ContainerID) MarshalTo(dAtA []byte) (int, error)

func (*ContainerID) ProtoMessage

func (*ContainerID) ProtoMessage()

func (*ContainerID) ProtoSize added in v0.0.4

func (m *ContainerID) ProtoSize() (n int)

func (*ContainerID) Reset

func (m *ContainerID) Reset()

func (*ContainerID) String

func (this *ContainerID) String() string

func (*ContainerID) Unmarshal

func (m *ContainerID) Unmarshal(dAtA []byte) error

func (*ContainerID) UnmarshalJSON

func (uj *ContainerID) UnmarshalJSON(input []byte) error

func (*ContainerID) UnmarshalJSONFFLexer

func (uj *ContainerID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ContainerID) VerboseEqual

func (this *ContainerID) VerboseEqual(that interface{}) error

type ContainerInfo

type ContainerInfo struct {
	Type     *ContainerInfo_Type `protobuf:"varint,1,req,name=type,enum=mesos.ContainerInfo_Type" json:"type,omitempty"`
	Volumes  []Volume            `protobuf:"bytes,2,rep,name=volumes" json:"volumes"`
	Hostname *string             `protobuf:"bytes,4,opt,name=hostname" json:"hostname,omitempty"`
	// At most one of the following *Info messages should be set to match
	// the type, i.e. the "protobuf union" in ContainerInfo should be valid.
	Docker *ContainerInfo_DockerInfo `protobuf:"bytes,3,opt,name=docker" json:"docker,omitempty"`
	Mesos  *ContainerInfo_MesosInfo  `protobuf:"bytes,5,opt,name=mesos" json:"mesos,omitempty"`
	// A list of network requests. A framework can request multiple IP addresses
	// for the container.
	NetworkInfos []NetworkInfo `protobuf:"bytes,7,rep,name=network_infos,json=networkInfos" json:"network_infos"`
	// Linux specific information for the container.
	LinuxInfo *LinuxInfo `protobuf:"bytes,8,opt,name=linux_info,json=linuxInfo" json:"linux_info,omitempty"`
	// (POSIX only) rlimits of the container.
	RlimitInfo *RLimitInfo `protobuf:"bytes,9,opt,name=rlimit_info,json=rlimitInfo" json:"rlimit_info,omitempty"`
	// If specified a tty will be attached to the container entrypoint.
	TTYInfo *TTYInfo `protobuf:"bytes,10,opt,name=tty_info,json=ttyInfo" json:"tty_info,omitempty"`
}

* Describes a container configuration and allows extensible configurations for different container implementations.

NOTE: `ContainerInfo` may be specified, e.g., by a task, even if no container image is provided. In this case neither `MesosInfo` nor `DockerInfo` is set, the required `type` must be `MESOS`. This is to address a case when a task without an image, e.g., a shell script with URIs, wants to use features originally designed for containers, for example custom network isolation via `NetworkInfo`.

func NewPopulatedContainerInfo

func NewPopulatedContainerInfo(r randyMesos, easy bool) *ContainerInfo

func (*ContainerInfo) Descriptor added in v0.0.4

func (*ContainerInfo) Descriptor() ([]byte, []int)

func (*ContainerInfo) Equal

func (this *ContainerInfo) Equal(that interface{}) bool

func (*ContainerInfo) GetDocker

func (m *ContainerInfo) GetDocker() *ContainerInfo_DockerInfo

func (*ContainerInfo) GetHostname

func (m *ContainerInfo) GetHostname() string

func (*ContainerInfo) GetLinuxInfo

func (m *ContainerInfo) GetLinuxInfo() *LinuxInfo

func (*ContainerInfo) GetMesos

func (m *ContainerInfo) GetMesos() *ContainerInfo_MesosInfo

func (*ContainerInfo) GetNetworkInfos

func (m *ContainerInfo) GetNetworkInfos() []NetworkInfo

func (*ContainerInfo) GetRlimitInfo added in v0.0.4

func (m *ContainerInfo) GetRlimitInfo() *RLimitInfo

func (*ContainerInfo) GetTTYInfo added in v0.0.4

func (m *ContainerInfo) GetTTYInfo() *TTYInfo

func (*ContainerInfo) GetType

func (m *ContainerInfo) GetType() ContainerInfo_Type

func (*ContainerInfo) GetVolumes

func (m *ContainerInfo) GetVolumes() []Volume

func (*ContainerInfo) GoString

func (this *ContainerInfo) GoString() string

func (*ContainerInfo) Marshal

func (m *ContainerInfo) Marshal() (dAtA []byte, err error)

func (*ContainerInfo) MarshalJSON

func (mj *ContainerInfo) MarshalJSON() ([]byte, error)

func (*ContainerInfo) MarshalJSONBuf

func (mj *ContainerInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ContainerInfo) MarshalTo

func (m *ContainerInfo) MarshalTo(dAtA []byte) (int, error)

func (*ContainerInfo) ProtoMessage

func (*ContainerInfo) ProtoMessage()

func (*ContainerInfo) ProtoSize added in v0.0.4

func (m *ContainerInfo) ProtoSize() (n int)

func (*ContainerInfo) Reset

func (m *ContainerInfo) Reset()

func (*ContainerInfo) String

func (this *ContainerInfo) String() string

func (*ContainerInfo) Unmarshal

func (m *ContainerInfo) Unmarshal(dAtA []byte) error

func (*ContainerInfo) UnmarshalJSON

func (uj *ContainerInfo) UnmarshalJSON(input []byte) error

func (*ContainerInfo) UnmarshalJSONFFLexer

func (uj *ContainerInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ContainerInfo) VerboseEqual

func (this *ContainerInfo) VerboseEqual(that interface{}) error

type ContainerInfo_DockerInfo

type ContainerInfo_DockerInfo struct {
	// The docker image that is going to be passed to the registry.
	Image        string                                 `protobuf:"bytes,1,req,name=image" json:"image"`
	Network      *ContainerInfo_DockerInfo_Network      `protobuf:"varint,2,opt,name=network,enum=mesos.ContainerInfo_DockerInfo_Network,def=1" json:"network,omitempty"`
	PortMappings []ContainerInfo_DockerInfo_PortMapping `protobuf:"bytes,3,rep,name=port_mappings,json=portMappings" json:"port_mappings"`
	Privileged   *bool                                  `protobuf:"varint,4,opt,name=privileged,def=0" json:"privileged,omitempty"`
	// Allowing arbitrary parameters to be passed to docker CLI.
	// Note that anything passed to this field is not guaranteed
	// to be supported moving forward, as we might move away from
	// the docker CLI.
	Parameters []Parameter `protobuf:"bytes,5,rep,name=parameters" json:"parameters"`
	// With this flag set to true, the docker containerizer will
	// pull the docker image from the registry even if the image
	// is already downloaded on the agent.
	ForcePullImage *bool `protobuf:"varint,6,opt,name=force_pull_image,json=forcePullImage" json:"force_pull_image,omitempty"`
	// The name of volume driver plugin.
	VolumeDriver *string `protobuf:"bytes,7,opt,name=volume_driver,json=volumeDriver" json:"volume_driver,omitempty"`
}

func NewPopulatedContainerInfo_DockerInfo

func NewPopulatedContainerInfo_DockerInfo(r randyMesos, easy bool) *ContainerInfo_DockerInfo

func (*ContainerInfo_DockerInfo) Descriptor added in v0.0.4

func (*ContainerInfo_DockerInfo) Descriptor() ([]byte, []int)

func (*ContainerInfo_DockerInfo) Equal

func (this *ContainerInfo_DockerInfo) Equal(that interface{}) bool

func (*ContainerInfo_DockerInfo) GetForcePullImage

func (m *ContainerInfo_DockerInfo) GetForcePullImage() bool

func (*ContainerInfo_DockerInfo) GetImage

func (m *ContainerInfo_DockerInfo) GetImage() string

func (*ContainerInfo_DockerInfo) GetNetwork

func (*ContainerInfo_DockerInfo) GetParameters

func (m *ContainerInfo_DockerInfo) GetParameters() []Parameter

func (*ContainerInfo_DockerInfo) GetPortMappings

func (*ContainerInfo_DockerInfo) GetPrivileged

func (m *ContainerInfo_DockerInfo) GetPrivileged() bool

func (*ContainerInfo_DockerInfo) GetVolumeDriver

func (m *ContainerInfo_DockerInfo) GetVolumeDriver() string

func (*ContainerInfo_DockerInfo) GoString

func (this *ContainerInfo_DockerInfo) GoString() string

func (*ContainerInfo_DockerInfo) Marshal

func (m *ContainerInfo_DockerInfo) Marshal() (dAtA []byte, err error)

func (*ContainerInfo_DockerInfo) MarshalJSON

func (mj *ContainerInfo_DockerInfo) MarshalJSON() ([]byte, error)

func (*ContainerInfo_DockerInfo) MarshalJSONBuf

func (mj *ContainerInfo_DockerInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ContainerInfo_DockerInfo) MarshalTo

func (m *ContainerInfo_DockerInfo) MarshalTo(dAtA []byte) (int, error)

func (*ContainerInfo_DockerInfo) ProtoMessage

func (*ContainerInfo_DockerInfo) ProtoMessage()

func (*ContainerInfo_DockerInfo) ProtoSize added in v0.0.4

func (m *ContainerInfo_DockerInfo) ProtoSize() (n int)

func (*ContainerInfo_DockerInfo) Reset

func (m *ContainerInfo_DockerInfo) Reset()

func (*ContainerInfo_DockerInfo) String

func (this *ContainerInfo_DockerInfo) String() string

func (*ContainerInfo_DockerInfo) Unmarshal

func (m *ContainerInfo_DockerInfo) Unmarshal(dAtA []byte) error

func (*ContainerInfo_DockerInfo) UnmarshalJSON

func (uj *ContainerInfo_DockerInfo) UnmarshalJSON(input []byte) error

func (*ContainerInfo_DockerInfo) UnmarshalJSONFFLexer

func (uj *ContainerInfo_DockerInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ContainerInfo_DockerInfo) VerboseEqual

func (this *ContainerInfo_DockerInfo) VerboseEqual(that interface{}) error

type ContainerInfo_DockerInfo_Network

type ContainerInfo_DockerInfo_Network int32

Network options.

const (
	ContainerInfo_DockerInfo_HOST   ContainerInfo_DockerInfo_Network = 1
	ContainerInfo_DockerInfo_BRIDGE ContainerInfo_DockerInfo_Network = 2
	ContainerInfo_DockerInfo_NONE   ContainerInfo_DockerInfo_Network = 3
	ContainerInfo_DockerInfo_USER   ContainerInfo_DockerInfo_Network = 4
)
const Default_ContainerInfo_DockerInfo_Network ContainerInfo_DockerInfo_Network = ContainerInfo_DockerInfo_HOST

func (ContainerInfo_DockerInfo_Network) Enum

func (ContainerInfo_DockerInfo_Network) EnumDescriptor added in v0.0.4

func (ContainerInfo_DockerInfo_Network) EnumDescriptor() ([]byte, []int)

func (ContainerInfo_DockerInfo_Network) MarshalJSON

func (x ContainerInfo_DockerInfo_Network) MarshalJSON() ([]byte, error)

func (ContainerInfo_DockerInfo_Network) String

func (*ContainerInfo_DockerInfo_Network) UnmarshalJSON

func (x *ContainerInfo_DockerInfo_Network) UnmarshalJSON(data []byte) error

type ContainerInfo_DockerInfo_PortMapping

type ContainerInfo_DockerInfo_PortMapping struct {
	HostPort      uint32 `protobuf:"varint,1,req,name=host_port,json=hostPort" json:"host_port"`
	ContainerPort uint32 `protobuf:"varint,2,req,name=container_port,json=containerPort" json:"container_port"`
	// Protocol to expose as (ie: tcp, udp).
	Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"`
}

func NewPopulatedContainerInfo_DockerInfo_PortMapping

func NewPopulatedContainerInfo_DockerInfo_PortMapping(r randyMesos, easy bool) *ContainerInfo_DockerInfo_PortMapping

func (*ContainerInfo_DockerInfo_PortMapping) Descriptor added in v0.0.4

func (*ContainerInfo_DockerInfo_PortMapping) Descriptor() ([]byte, []int)

func (*ContainerInfo_DockerInfo_PortMapping) Equal

func (this *ContainerInfo_DockerInfo_PortMapping) Equal(that interface{}) bool

func (*ContainerInfo_DockerInfo_PortMapping) GetContainerPort

func (m *ContainerInfo_DockerInfo_PortMapping) GetContainerPort() uint32

func (*ContainerInfo_DockerInfo_PortMapping) GetHostPort

func (*ContainerInfo_DockerInfo_PortMapping) GetProtocol

func (*ContainerInfo_DockerInfo_PortMapping) GoString

func (*ContainerInfo_DockerInfo_PortMapping) Marshal

func (m *ContainerInfo_DockerInfo_PortMapping) Marshal() (dAtA []byte, err error)

func (*ContainerInfo_DockerInfo_PortMapping) MarshalJSON

func (mj *ContainerInfo_DockerInfo_PortMapping) MarshalJSON() ([]byte, error)

func (*ContainerInfo_DockerInfo_PortMapping) MarshalJSONBuf

func (*ContainerInfo_DockerInfo_PortMapping) MarshalTo

func (m *ContainerInfo_DockerInfo_PortMapping) MarshalTo(dAtA []byte) (int, error)

func (*ContainerInfo_DockerInfo_PortMapping) ProtoMessage

func (*ContainerInfo_DockerInfo_PortMapping) ProtoMessage()

func (*ContainerInfo_DockerInfo_PortMapping) ProtoSize added in v0.0.4

func (m *ContainerInfo_DockerInfo_PortMapping) ProtoSize() (n int)

func (*ContainerInfo_DockerInfo_PortMapping) Reset

func (*ContainerInfo_DockerInfo_PortMapping) String

func (*ContainerInfo_DockerInfo_PortMapping) Unmarshal

func (m *ContainerInfo_DockerInfo_PortMapping) Unmarshal(dAtA []byte) error

func (*ContainerInfo_DockerInfo_PortMapping) UnmarshalJSON

func (uj *ContainerInfo_DockerInfo_PortMapping) UnmarshalJSON(input []byte) error

func (*ContainerInfo_DockerInfo_PortMapping) UnmarshalJSONFFLexer

func (uj *ContainerInfo_DockerInfo_PortMapping) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ContainerInfo_DockerInfo_PortMapping) VerboseEqual

func (this *ContainerInfo_DockerInfo_PortMapping) VerboseEqual(that interface{}) error

type ContainerInfo_MesosInfo

type ContainerInfo_MesosInfo struct {
	Image *Image `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"`
}

func NewPopulatedContainerInfo_MesosInfo

func NewPopulatedContainerInfo_MesosInfo(r randyMesos, easy bool) *ContainerInfo_MesosInfo

func (*ContainerInfo_MesosInfo) Descriptor added in v0.0.4

func (*ContainerInfo_MesosInfo) Descriptor() ([]byte, []int)

func (*ContainerInfo_MesosInfo) Equal

func (this *ContainerInfo_MesosInfo) Equal(that interface{}) bool

func (*ContainerInfo_MesosInfo) GetImage

func (m *ContainerInfo_MesosInfo) GetImage() *Image

func (*ContainerInfo_MesosInfo) GoString

func (this *ContainerInfo_MesosInfo) GoString() string

func (*ContainerInfo_MesosInfo) Marshal

func (m *ContainerInfo_MesosInfo) Marshal() (dAtA []byte, err error)

func (*ContainerInfo_MesosInfo) MarshalJSON

func (mj *ContainerInfo_MesosInfo) MarshalJSON() ([]byte, error)

func (*ContainerInfo_MesosInfo) MarshalJSONBuf

func (mj *ContainerInfo_MesosInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ContainerInfo_MesosInfo) MarshalTo

func (m *ContainerInfo_MesosInfo) MarshalTo(dAtA []byte) (int, error)

func (*ContainerInfo_MesosInfo) ProtoMessage

func (*ContainerInfo_MesosInfo) ProtoMessage()

func (*ContainerInfo_MesosInfo) ProtoSize added in v0.0.4

func (m *ContainerInfo_MesosInfo) ProtoSize() (n int)

func (*ContainerInfo_MesosInfo) Reset

func (m *ContainerInfo_MesosInfo) Reset()

func (*ContainerInfo_MesosInfo) String

func (this *ContainerInfo_MesosInfo) String() string

func (*ContainerInfo_MesosInfo) Unmarshal

func (m *ContainerInfo_MesosInfo) Unmarshal(dAtA []byte) error

func (*ContainerInfo_MesosInfo) UnmarshalJSON

func (uj *ContainerInfo_MesosInfo) UnmarshalJSON(input []byte) error

func (*ContainerInfo_MesosInfo) UnmarshalJSONFFLexer

func (uj *ContainerInfo_MesosInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ContainerInfo_MesosInfo) VerboseEqual

func (this *ContainerInfo_MesosInfo) VerboseEqual(that interface{}) error

type ContainerInfo_Type

type ContainerInfo_Type int32

All container implementation types. For each type there should be a field in the ContainerInfo itself with exactly matching name in lowercase.

const (
	ContainerInfo_DOCKER ContainerInfo_Type = 1
	ContainerInfo_MESOS  ContainerInfo_Type = 2
)

func (ContainerInfo_Type) Enum

func (ContainerInfo_Type) EnumDescriptor added in v0.0.4

func (ContainerInfo_Type) EnumDescriptor() ([]byte, []int)

func (ContainerInfo_Type) MarshalJSON

func (x ContainerInfo_Type) MarshalJSON() ([]byte, error)

func (ContainerInfo_Type) String

func (x ContainerInfo_Type) String() string

func (*ContainerInfo_Type) UnmarshalJSON

func (x *ContainerInfo_Type) UnmarshalJSON(data []byte) error

type ContainerStatus

type ContainerStatus struct {
	ContainerID *ContainerID `protobuf:"bytes,4,opt,name=container_id,json=containerId" json:"container_id,omitempty"`
	// This field can be reliably used to identify the container IP address.
	NetworkInfos []NetworkInfo `protobuf:"bytes,1,rep,name=network_infos,json=networkInfos" json:"network_infos"`
	// Information about Linux control group (cgroup).
	CgroupInfo *CgroupInfo `protobuf:"bytes,2,opt,name=cgroup_info,json=cgroupInfo" json:"cgroup_info,omitempty"`
	// Information about Executor PID.
	ExecutorPID *uint32 `protobuf:"varint,3,opt,name=executor_pid,json=executorPid" json:"executor_pid,omitempty"`
}

* Container related information that is resolved during container setup. The information is sent back to the framework as part of the TaskStatus message.

func NewPopulatedContainerStatus

func NewPopulatedContainerStatus(r randyMesos, easy bool) *ContainerStatus

func (*ContainerStatus) Descriptor added in v0.0.4

func (*ContainerStatus) Descriptor() ([]byte, []int)

func (*ContainerStatus) Equal

func (this *ContainerStatus) Equal(that interface{}) bool

func (*ContainerStatus) GetCgroupInfo

func (m *ContainerStatus) GetCgroupInfo() *CgroupInfo

func (*ContainerStatus) GetContainerID added in v0.0.4

func (m *ContainerStatus) GetContainerID() *ContainerID

func (*ContainerStatus) GetExecutorPID

func (m *ContainerStatus) GetExecutorPID() uint32

func (*ContainerStatus) GetNetworkInfos

func (m *ContainerStatus) GetNetworkInfos() []NetworkInfo

func (*ContainerStatus) GoString

func (this *ContainerStatus) GoString() string

func (*ContainerStatus) Marshal

func (m *ContainerStatus) Marshal() (dAtA []byte, err error)

func (*ContainerStatus) MarshalJSON

func (mj *ContainerStatus) MarshalJSON() ([]byte, error)

func (*ContainerStatus) MarshalJSONBuf

func (mj *ContainerStatus) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ContainerStatus) MarshalTo

func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStatus) ProtoMessage

func (*ContainerStatus) ProtoMessage()

func (*ContainerStatus) ProtoSize added in v0.0.4

func (m *ContainerStatus) ProtoSize() (n int)

func (*ContainerStatus) Reset

func (m *ContainerStatus) Reset()

func (*ContainerStatus) String

func (this *ContainerStatus) String() string

func (*ContainerStatus) Unmarshal

func (m *ContainerStatus) Unmarshal(dAtA []byte) error

func (*ContainerStatus) UnmarshalJSON

func (uj *ContainerStatus) UnmarshalJSON(input []byte) error

func (*ContainerStatus) UnmarshalJSONFFLexer

func (uj *ContainerStatus) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ContainerStatus) VerboseEqual

func (this *ContainerStatus) VerboseEqual(that interface{}) error

type Credential

type Credential struct {
	Principal string  `protobuf:"bytes,1,req,name=principal" json:"principal"`
	Secret    *string `protobuf:"bytes,2,opt,name=secret" json:"secret,omitempty"`
}

* Credential used in various places for authentication and authorization.

NOTE: A 'principal' is different from 'FrameworkInfo.user'. The former is used for authentication and authorization while the latter is used to determine the default user under which the framework's executors/tasks are run.

func NewPopulatedCredential

func NewPopulatedCredential(r randyMesos, easy bool) *Credential

func (*Credential) Descriptor added in v0.0.4

func (*Credential) Descriptor() ([]byte, []int)

func (*Credential) Equal

func (this *Credential) Equal(that interface{}) bool

func (*Credential) GetPrincipal

func (m *Credential) GetPrincipal() string

func (*Credential) GetSecret

func (m *Credential) GetSecret() string

func (*Credential) GoString

func (this *Credential) GoString() string

func (*Credential) Marshal

func (m *Credential) Marshal() (dAtA []byte, err error)

func (*Credential) MarshalJSON

func (mj *Credential) MarshalJSON() ([]byte, error)

func (*Credential) MarshalJSONBuf

func (mj *Credential) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Credential) MarshalTo

func (m *Credential) MarshalTo(dAtA []byte) (int, error)

func (*Credential) ProtoMessage

func (*Credential) ProtoMessage()

func (*Credential) ProtoSize added in v0.0.4

func (m *Credential) ProtoSize() (n int)

func (*Credential) Reset

func (m *Credential) Reset()

func (*Credential) String

func (this *Credential) String() string

func (*Credential) Unmarshal

func (m *Credential) Unmarshal(dAtA []byte) error

func (*Credential) UnmarshalJSON

func (uj *Credential) UnmarshalJSON(input []byte) error

func (*Credential) UnmarshalJSONFFLexer

func (uj *Credential) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Credential) VerboseEqual

func (this *Credential) VerboseEqual(that interface{}) error

type Credentials

type Credentials struct {
	Credentials []Credential `protobuf:"bytes,1,rep,name=credentials" json:"credentials"`
}

* Credentials used for framework authentication, HTTP authentication (where the common 'username' and 'password' are captured as 'principal' and 'secret' respectively), etc.

func NewPopulatedCredentials

func NewPopulatedCredentials(r randyMesos, easy bool) *Credentials

func (*Credentials) Descriptor added in v0.0.4

func (*Credentials) Descriptor() ([]byte, []int)

func (*Credentials) Equal

func (this *Credentials) Equal(that interface{}) bool

func (*Credentials) GetCredentials

func (m *Credentials) GetCredentials() []Credential

func (*Credentials) GoString

func (this *Credentials) GoString() string

func (*Credentials) Marshal

func (m *Credentials) Marshal() (dAtA []byte, err error)

func (*Credentials) MarshalJSON

func (mj *Credentials) MarshalJSON() ([]byte, error)

func (*Credentials) MarshalJSONBuf

func (mj *Credentials) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Credentials) MarshalTo

func (m *Credentials) MarshalTo(dAtA []byte) (int, error)

func (*Credentials) ProtoMessage

func (*Credentials) ProtoMessage()

func (*Credentials) ProtoSize added in v0.0.4

func (m *Credentials) ProtoSize() (n int)

func (*Credentials) Reset

func (m *Credentials) Reset()

func (*Credentials) String

func (this *Credentials) String() string

func (*Credentials) Unmarshal

func (m *Credentials) Unmarshal(dAtA []byte) error

func (*Credentials) UnmarshalJSON

func (uj *Credentials) UnmarshalJSON(input []byte) error

func (*Credentials) UnmarshalJSONFFLexer

func (uj *Credentials) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Credentials) VerboseEqual

func (this *Credentials) VerboseEqual(that interface{}) error

type Device added in v0.0.5

type Device struct {
	Path   *string        `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	Number *Device_Number `protobuf:"bytes,2,opt,name=number" json:"number,omitempty"`
}

* Describes information abount a device.

func NewPopulatedDevice added in v0.0.5

func NewPopulatedDevice(r randyMesos, easy bool) *Device

func (*Device) Descriptor added in v0.0.5

func (*Device) Descriptor() ([]byte, []int)

func (*Device) Equal added in v0.0.5

func (this *Device) Equal(that interface{}) bool

func (*Device) GetNumber added in v0.0.6

func (m *Device) GetNumber() *Device_Number

func (*Device) GetPath added in v0.0.5

func (m *Device) GetPath() string

func (*Device) GoString added in v0.0.5

func (this *Device) GoString() string

func (*Device) Marshal added in v0.0.5

func (m *Device) Marshal() (dAtA []byte, err error)

func (*Device) MarshalJSON added in v0.0.5

func (mj *Device) MarshalJSON() ([]byte, error)

func (*Device) MarshalJSONBuf added in v0.0.5

func (mj *Device) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Device) MarshalTo added in v0.0.5

func (m *Device) MarshalTo(dAtA []byte) (int, error)

func (*Device) ProtoMessage added in v0.0.5

func (*Device) ProtoMessage()

func (*Device) ProtoSize added in v0.0.5

func (m *Device) ProtoSize() (n int)

func (*Device) Reset added in v0.0.5

func (m *Device) Reset()

func (*Device) String added in v0.0.5

func (this *Device) String() string

func (*Device) Unmarshal added in v0.0.5

func (m *Device) Unmarshal(dAtA []byte) error

func (*Device) UnmarshalJSON added in v0.0.5

func (uj *Device) UnmarshalJSON(input []byte) error

func (*Device) UnmarshalJSONFFLexer added in v0.0.5

func (uj *Device) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Device) VerboseEqual added in v0.0.5

func (this *Device) VerboseEqual(that interface{}) error

type DeviceAccess added in v0.0.5

type DeviceAccess struct {
	Device Device              `protobuf:"bytes,1,req,name=device" json:"device"`
	Access DeviceAccess_Access `protobuf:"bytes,2,req,name=access" json:"access"`
}

* Describes a device whitelist entry that expose from host to container.

func NewPopulatedDeviceAccess added in v0.0.5

func NewPopulatedDeviceAccess(r randyMesos, easy bool) *DeviceAccess

func (*DeviceAccess) Descriptor added in v0.0.5

func (*DeviceAccess) Descriptor() ([]byte, []int)

func (*DeviceAccess) Equal added in v0.0.5

func (this *DeviceAccess) Equal(that interface{}) bool

func (*DeviceAccess) GetAccess added in v0.0.5

func (m *DeviceAccess) GetAccess() DeviceAccess_Access

func (*DeviceAccess) GetDevice added in v0.0.5

func (m *DeviceAccess) GetDevice() Device

func (*DeviceAccess) GoString added in v0.0.5

func (this *DeviceAccess) GoString() string

func (*DeviceAccess) Marshal added in v0.0.5

func (m *DeviceAccess) Marshal() (dAtA []byte, err error)

func (*DeviceAccess) MarshalJSON added in v0.0.5

func (mj *DeviceAccess) MarshalJSON() ([]byte, error)

func (*DeviceAccess) MarshalJSONBuf added in v0.0.5

func (mj *DeviceAccess) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*DeviceAccess) MarshalTo added in v0.0.5

func (m *DeviceAccess) MarshalTo(dAtA []byte) (int, error)

func (*DeviceAccess) ProtoMessage added in v0.0.5

func (*DeviceAccess) ProtoMessage()

func (*DeviceAccess) ProtoSize added in v0.0.5

func (m *DeviceAccess) ProtoSize() (n int)

func (*DeviceAccess) Reset added in v0.0.5

func (m *DeviceAccess) Reset()

func (*DeviceAccess) String added in v0.0.5

func (this *DeviceAccess) String() string

func (*DeviceAccess) Unmarshal added in v0.0.5

func (m *DeviceAccess) Unmarshal(dAtA []byte) error

func (*DeviceAccess) UnmarshalJSON added in v0.0.5

func (uj *DeviceAccess) UnmarshalJSON(input []byte) error

func (*DeviceAccess) UnmarshalJSONFFLexer added in v0.0.5

func (uj *DeviceAccess) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*DeviceAccess) VerboseEqual added in v0.0.5

func (this *DeviceAccess) VerboseEqual(that interface{}) error

type DeviceAccess_Access added in v0.0.5

type DeviceAccess_Access struct {
	Read  *bool `protobuf:"varint,1,opt,name=read" json:"read,omitempty"`
	Write *bool `protobuf:"varint,2,opt,name=write" json:"write,omitempty"`
	Mknod *bool `protobuf:"varint,3,opt,name=mknod" json:"mknod,omitempty"`
}

func NewPopulatedDeviceAccess_Access added in v0.0.5

func NewPopulatedDeviceAccess_Access(r randyMesos, easy bool) *DeviceAccess_Access

func (*DeviceAccess_Access) Descriptor added in v0.0.5

func (*DeviceAccess_Access) Descriptor() ([]byte, []int)

func (*DeviceAccess_Access) Equal added in v0.0.5

func (this *DeviceAccess_Access) Equal(that interface{}) bool

func (*DeviceAccess_Access) GetMknod added in v0.0.5

func (m *DeviceAccess_Access) GetMknod() bool

func (*DeviceAccess_Access) GetRead added in v0.0.5

func (m *DeviceAccess_Access) GetRead() bool

func (*DeviceAccess_Access) GetWrite added in v0.0.5

func (m *DeviceAccess_Access) GetWrite() bool

func (*DeviceAccess_Access) GoString added in v0.0.5

func (this *DeviceAccess_Access) GoString() string

func (*DeviceAccess_Access) Marshal added in v0.0.5

func (m *DeviceAccess_Access) Marshal() (dAtA []byte, err error)

func (*DeviceAccess_Access) MarshalJSON added in v0.0.5

func (mj *DeviceAccess_Access) MarshalJSON() ([]byte, error)

func (*DeviceAccess_Access) MarshalJSONBuf added in v0.0.5

func (mj *DeviceAccess_Access) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*DeviceAccess_Access) MarshalTo added in v0.0.5

func (m *DeviceAccess_Access) MarshalTo(dAtA []byte) (int, error)

func (*DeviceAccess_Access) ProtoMessage added in v0.0.5

func (*DeviceAccess_Access) ProtoMessage()

func (*DeviceAccess_Access) ProtoSize added in v0.0.5

func (m *DeviceAccess_Access) ProtoSize() (n int)

func (*DeviceAccess_Access) Reset added in v0.0.5

func (m *DeviceAccess_Access) Reset()

func (*DeviceAccess_Access) String added in v0.0.5

func (this *DeviceAccess_Access) String() string

func (*DeviceAccess_Access) Unmarshal added in v0.0.5

func (m *DeviceAccess_Access) Unmarshal(dAtA []byte) error

func (*DeviceAccess_Access) UnmarshalJSON added in v0.0.5

func (uj *DeviceAccess_Access) UnmarshalJSON(input []byte) error

func (*DeviceAccess_Access) UnmarshalJSONFFLexer added in v0.0.5

func (uj *DeviceAccess_Access) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*DeviceAccess_Access) VerboseEqual added in v0.0.5

func (this *DeviceAccess_Access) VerboseEqual(that interface{}) error

type DeviceWhitelist added in v0.0.5

type DeviceWhitelist struct {
	AllowedDevices []DeviceAccess `protobuf:"bytes,1,rep,name=allowed_devices,json=allowedDevices" json:"allowed_devices"`
}

func NewPopulatedDeviceWhitelist added in v0.0.5

func NewPopulatedDeviceWhitelist(r randyMesos, easy bool) *DeviceWhitelist

func (*DeviceWhitelist) Descriptor added in v0.0.5

func (*DeviceWhitelist) Descriptor() ([]byte, []int)

func (*DeviceWhitelist) Equal added in v0.0.5

func (this *DeviceWhitelist) Equal(that interface{}) bool

func (*DeviceWhitelist) GetAllowedDevices added in v0.0.5

func (m *DeviceWhitelist) GetAllowedDevices() []DeviceAccess

func (*DeviceWhitelist) GoString added in v0.0.5

func (this *DeviceWhitelist) GoString() string

func (*DeviceWhitelist) Marshal added in v0.0.5

func (m *DeviceWhitelist) Marshal() (dAtA []byte, err error)

func (*DeviceWhitelist) MarshalJSON added in v0.0.5

func (mj *DeviceWhitelist) MarshalJSON() ([]byte, error)

func (*DeviceWhitelist) MarshalJSONBuf added in v0.0.5

func (mj *DeviceWhitelist) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*DeviceWhitelist) MarshalTo added in v0.0.5

func (m *DeviceWhitelist) MarshalTo(dAtA []byte) (int, error)

func (*DeviceWhitelist) ProtoMessage added in v0.0.5

func (*DeviceWhitelist) ProtoMessage()

func (*DeviceWhitelist) ProtoSize added in v0.0.5

func (m *DeviceWhitelist) ProtoSize() (n int)

func (*DeviceWhitelist) Reset added in v0.0.5

func (m *DeviceWhitelist) Reset()

func (*DeviceWhitelist) String added in v0.0.5

func (this *DeviceWhitelist) String() string

func (*DeviceWhitelist) Unmarshal added in v0.0.5

func (m *DeviceWhitelist) Unmarshal(dAtA []byte) error

func (*DeviceWhitelist) UnmarshalJSON added in v0.0.5

func (uj *DeviceWhitelist) UnmarshalJSON(input []byte) error

func (*DeviceWhitelist) UnmarshalJSONFFLexer added in v0.0.5

func (uj *DeviceWhitelist) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*DeviceWhitelist) VerboseEqual added in v0.0.5

func (this *DeviceWhitelist) VerboseEqual(that interface{}) error

type Device_Number added in v0.0.6

type Device_Number struct {
	MajorNumber *uint64 `protobuf:"varint,1,req,name=major_number,json=majorNumber" json:"major_number,omitempty"`
	MinorNumber *uint64 `protobuf:"varint,2,req,name=minor_number,json=minorNumber" json:"minor_number,omitempty"`
}

func NewPopulatedDevice_Number added in v0.0.6

func NewPopulatedDevice_Number(r randyMesos, easy bool) *Device_Number

func (*Device_Number) Descriptor added in v0.0.6

func (*Device_Number) Descriptor() ([]byte, []int)

func (*Device_Number) Equal added in v0.0.6

func (this *Device_Number) Equal(that interface{}) bool

func (*Device_Number) GetMajorNumber added in v0.0.6

func (m *Device_Number) GetMajorNumber() uint64

func (*Device_Number) GetMinorNumber added in v0.0.6

func (m *Device_Number) GetMinorNumber() uint64

func (*Device_Number) GoString added in v0.0.6

func (this *Device_Number) GoString() string

func (*Device_Number) Marshal added in v0.0.6

func (m *Device_Number) Marshal() (dAtA []byte, err error)

func (*Device_Number) MarshalJSON added in v0.0.6

func (mj *Device_Number) MarshalJSON() ([]byte, error)

func (*Device_Number) MarshalJSONBuf added in v0.0.6

func (mj *Device_Number) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Device_Number) MarshalTo added in v0.0.6

func (m *Device_Number) MarshalTo(dAtA []byte) (int, error)

func (*Device_Number) ProtoMessage added in v0.0.6

func (*Device_Number) ProtoMessage()

func (*Device_Number) ProtoSize added in v0.0.6

func (m *Device_Number) ProtoSize() (n int)

func (*Device_Number) Reset added in v0.0.6

func (m *Device_Number) Reset()

func (*Device_Number) String added in v0.0.6

func (this *Device_Number) String() string

func (*Device_Number) Unmarshal added in v0.0.6

func (m *Device_Number) Unmarshal(dAtA []byte) error

func (*Device_Number) UnmarshalJSON added in v0.0.6

func (uj *Device_Number) UnmarshalJSON(input []byte) error

func (*Device_Number) UnmarshalJSONFFLexer added in v0.0.6

func (uj *Device_Number) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Device_Number) VerboseEqual added in v0.0.6

func (this *Device_Number) VerboseEqual(that interface{}) error

type DiscoveryInfo

type DiscoveryInfo struct {
	Visibility  DiscoveryInfo_Visibility `protobuf:"varint,1,req,name=visibility,enum=mesos.DiscoveryInfo_Visibility" json:"visibility"`
	Name        *string                  `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Environment *string                  `protobuf:"bytes,3,opt,name=environment" json:"environment,omitempty"`
	Location    *string                  `protobuf:"bytes,4,opt,name=location" json:"location,omitempty"`
	Version     *string                  `protobuf:"bytes,5,opt,name=version" json:"version,omitempty"`
	Ports       *Ports                   `protobuf:"bytes,6,opt,name=ports" json:"ports,omitempty"`
	Labels      *Labels                  `protobuf:"bytes,7,opt,name=labels" json:"labels,omitempty"`
}

* Service discovery information. The visibility field restricts discovery within a framework (FRAMEWORK), within a Mesos cluster (CLUSTER), or places no restrictions (EXTERNAL). Each port in the ports field also has an optional visibility field. If visibility is specified for a port, it overrides the default service-wide DiscoveryInfo.visibility for that port. The environment, location, and version fields provide first class support for common attributes used to differentiate between similar services. The environment may receive values such as PROD/QA/DEV, the location field may receive values like EAST-US/WEST-US/EUROPE/AMEA, and the version field may receive values like v2.0/v0.9. The exact use of these fields is up to each service discovery system.

func NewPopulatedDiscoveryInfo

func NewPopulatedDiscoveryInfo(r randyMesos, easy bool) *DiscoveryInfo

func (*DiscoveryInfo) Descriptor added in v0.0.4

func (*DiscoveryInfo) Descriptor() ([]byte, []int)

func (*DiscoveryInfo) Equal

func (this *DiscoveryInfo) Equal(that interface{}) bool

func (*DiscoveryInfo) GetEnvironment

func (m *DiscoveryInfo) GetEnvironment() string

func (*DiscoveryInfo) GetLabels

func (m *DiscoveryInfo) GetLabels() *Labels

func (*DiscoveryInfo) GetLocation

func (m *DiscoveryInfo) GetLocation() string

func (*DiscoveryInfo) GetName

func (m *DiscoveryInfo) GetName() string

func (*DiscoveryInfo) GetPorts

func (m *DiscoveryInfo) GetPorts() *Ports

func (*DiscoveryInfo) GetVersion

func (m *DiscoveryInfo) GetVersion() string

func (*DiscoveryInfo) GetVisibility

func (m *DiscoveryInfo) GetVisibility() DiscoveryInfo_Visibility

func (*DiscoveryInfo) GoString

func (this *DiscoveryInfo) GoString() string

func (*DiscoveryInfo) Marshal

func (m *DiscoveryInfo) Marshal() (dAtA []byte, err error)

func (*DiscoveryInfo) MarshalJSON

func (mj *DiscoveryInfo) MarshalJSON() ([]byte, error)

func (*DiscoveryInfo) MarshalJSONBuf

func (mj *DiscoveryInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*DiscoveryInfo) MarshalTo

func (m *DiscoveryInfo) MarshalTo(dAtA []byte) (int, error)

func (*DiscoveryInfo) ProtoMessage

func (*DiscoveryInfo) ProtoMessage()

func (*DiscoveryInfo) ProtoSize added in v0.0.4

func (m *DiscoveryInfo) ProtoSize() (n int)

func (*DiscoveryInfo) Reset

func (m *DiscoveryInfo) Reset()

func (*DiscoveryInfo) String

func (this *DiscoveryInfo) String() string

func (*DiscoveryInfo) Unmarshal

func (m *DiscoveryInfo) Unmarshal(dAtA []byte) error

func (*DiscoveryInfo) UnmarshalJSON

func (uj *DiscoveryInfo) UnmarshalJSON(input []byte) error

func (*DiscoveryInfo) UnmarshalJSONFFLexer

func (uj *DiscoveryInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*DiscoveryInfo) VerboseEqual

func (this *DiscoveryInfo) VerboseEqual(that interface{}) error

type DiscoveryInfo_Visibility

type DiscoveryInfo_Visibility int32
const (
	FRAMEWORK DiscoveryInfo_Visibility = 0
	CLUSTER   DiscoveryInfo_Visibility = 1
	EXTERNAL  DiscoveryInfo_Visibility = 2
)

func (DiscoveryInfo_Visibility) Enum

func (DiscoveryInfo_Visibility) EnumDescriptor added in v0.0.4

func (DiscoveryInfo_Visibility) EnumDescriptor() ([]byte, []int)

func (DiscoveryInfo_Visibility) MarshalJSON

func (x DiscoveryInfo_Visibility) MarshalJSON() ([]byte, error)

func (DiscoveryInfo_Visibility) String

func (x DiscoveryInfo_Visibility) String() string

func (*DiscoveryInfo_Visibility) UnmarshalJSON

func (x *DiscoveryInfo_Visibility) UnmarshalJSON(data []byte) error

type DiskStatistics added in v0.0.5

type DiskStatistics struct {
	Source      *Resource_DiskInfo_Source      `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
	Persistence *Resource_DiskInfo_Persistence `protobuf:"bytes,2,opt,name=persistence" json:"persistence,omitempty"`
	LimitBytes  *uint64                        `protobuf:"varint,3,opt,name=limit_bytes,json=limitBytes" json:"limit_bytes,omitempty"`
	UsedBytes   *uint64                        `protobuf:"varint,4,opt,name=used_bytes,json=usedBytes" json:"used_bytes,omitempty"`
}

func NewPopulatedDiskStatistics added in v0.0.5

func NewPopulatedDiskStatistics(r randyMesos, easy bool) *DiskStatistics

func (*DiskStatistics) Descriptor added in v0.0.5

func (*DiskStatistics) Descriptor() ([]byte, []int)

func (*DiskStatistics) Equal added in v0.0.5

func (this *DiskStatistics) Equal(that interface{}) bool

func (*DiskStatistics) GetLimitBytes added in v0.0.5

func (m *DiskStatistics) GetLimitBytes() uint64

func (*DiskStatistics) GetPersistence added in v0.0.5

func (m *DiskStatistics) GetPersistence() *Resource_DiskInfo_Persistence

func (*DiskStatistics) GetSource added in v0.0.5

func (m *DiskStatistics) GetSource() *Resource_DiskInfo_Source

func (*DiskStatistics) GetUsedBytes added in v0.0.5

func (m *DiskStatistics) GetUsedBytes() uint64

func (*DiskStatistics) GoString added in v0.0.5

func (this *DiskStatistics) GoString() string

func (*DiskStatistics) Marshal added in v0.0.5

func (m *DiskStatistics) Marshal() (dAtA []byte, err error)

func (*DiskStatistics) MarshalJSON added in v0.0.5

func (mj *DiskStatistics) MarshalJSON() ([]byte, error)

func (*DiskStatistics) MarshalJSONBuf added in v0.0.5

func (mj *DiskStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*DiskStatistics) MarshalTo added in v0.0.5

func (m *DiskStatistics) MarshalTo(dAtA []byte) (int, error)

func (*DiskStatistics) ProtoMessage added in v0.0.5

func (*DiskStatistics) ProtoMessage()

func (*DiskStatistics) ProtoSize added in v0.0.5

func (m *DiskStatistics) ProtoSize() (n int)

func (*DiskStatistics) Reset added in v0.0.5

func (m *DiskStatistics) Reset()

func (*DiskStatistics) String added in v0.0.5

func (this *DiskStatistics) String() string

func (*DiskStatistics) Unmarshal added in v0.0.5

func (m *DiskStatistics) Unmarshal(dAtA []byte) error

func (*DiskStatistics) UnmarshalJSON added in v0.0.5

func (uj *DiskStatistics) UnmarshalJSON(input []byte) error

func (*DiskStatistics) UnmarshalJSONFFLexer added in v0.0.5

func (uj *DiskStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*DiskStatistics) VerboseEqual added in v0.0.5

func (this *DiskStatistics) VerboseEqual(that interface{}) error

type DomainInfo added in v0.0.6

type DomainInfo struct {
	FaultDomain *DomainInfo_FaultDomain `protobuf:"bytes,1,opt,name=fault_domain,json=faultDomain" json:"fault_domain,omitempty"`
}

* Describes a domain. A domain is a collection of hosts that have similar characteristics. Mesos currently only supports "fault domains", which identify groups of hosts with similar failure characteristics.

Frameworks can generally assume that network links between hosts in the same fault domain have lower latency, higher bandwidth, and better availability than network links between hosts in different domains. Schedulers may prefer to place network-intensive workloads in the same domain, as this may improve performance. Conversely, a single failure that affects a host in a domain may be more likely to affect other hosts in the same domain; hence, schedulers may prefer to place workloads that require high availability in multiple domains. (For example, all the hosts in a single rack might lose power or network connectivity simultaneously.)

There are two kinds of fault domains: regions and zones. Regions offer the highest degree of fault isolation, but network latency between regions is typically high (typically >50 ms). Zones offer a modest degree of fault isolation along with reasonably low network latency (typically <10 ms).

The mapping from fault domains to physical infrastructure is up to the operator to configure. In cloud environments, regions and zones can be mapped to the "region" and "availability zone" concepts exposed by most cloud providers, respectively. In on-premise deployments, regions and zones can be mapped to data centers and racks, respectively.

Both masters and agents can be configured with domains. Frameworks can compare the domains of two hosts to determine if the hosts are in the same zone, in different zones in the same region, or in different regions. Note that all masters in a given Mesos cluster must be in the same region.

Complex deployments may have additional levels of hierarchy: for example, multiple racks might be grouped together into "halls" and multiple DCs in the same geographical vicinity might be grouped together. As a convention, the recommended way to represent additional levels of hierarchy is via dot- separated labels in the existing zone and region fields. For example, the fact that racks "abc" and "def" are in the same hall might be represented using the zone names "rack-abc.hall-1" and "rack-def.hall-1", for example. Software that is not aware of this additional structure will compare the zone names for equality- hence, the two zones will be treated as different (unrelated) zones. Software that is "hall-aware" can inspect the zone names and make use of the additional hierarchy.

func NewPopulatedDomainInfo added in v0.0.6

func NewPopulatedDomainInfo(r randyMesos, easy bool) *DomainInfo

func (*DomainInfo) Descriptor added in v0.0.6

func (*DomainInfo) Descriptor() ([]byte, []int)

func (*DomainInfo) Equal added in v0.0.6

func (this *DomainInfo) Equal(that interface{}) bool

func (*DomainInfo) GetFaultDomain added in v0.0.6

func (m *DomainInfo) GetFaultDomain() *DomainInfo_FaultDomain

func (*DomainInfo) GoString added in v0.0.6

func (this *DomainInfo) GoString() string

func (*DomainInfo) Marshal added in v0.0.6

func (m *DomainInfo) Marshal() (dAtA []byte, err error)

func (*DomainInfo) MarshalJSON added in v0.0.6

func (mj *DomainInfo) MarshalJSON() ([]byte, error)

func (*DomainInfo) MarshalJSONBuf added in v0.0.6

func (mj *DomainInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*DomainInfo) MarshalTo added in v0.0.6

func (m *DomainInfo) MarshalTo(dAtA []byte) (int, error)

func (*DomainInfo) ProtoMessage added in v0.0.6

func (*DomainInfo) ProtoMessage()

func (*DomainInfo) ProtoSize added in v0.0.6

func (m *DomainInfo) ProtoSize() (n int)

func (*DomainInfo) Reset added in v0.0.6

func (m *DomainInfo) Reset()

func (*DomainInfo) String added in v0.0.6

func (this *DomainInfo) String() string

func (*DomainInfo) Unmarshal added in v0.0.6

func (m *DomainInfo) Unmarshal(dAtA []byte) error

func (*DomainInfo) UnmarshalJSON added in v0.0.6

func (uj *DomainInfo) UnmarshalJSON(input []byte) error

func (*DomainInfo) UnmarshalJSONFFLexer added in v0.0.6

func (uj *DomainInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*DomainInfo) VerboseEqual added in v0.0.6

func (this *DomainInfo) VerboseEqual(that interface{}) error

type DomainInfo_FaultDomain added in v0.0.6

type DomainInfo_FaultDomain struct {
	Region DomainInfo_FaultDomain_RegionInfo `protobuf:"bytes,1,req,name=region" json:"region"`
	Zone   DomainInfo_FaultDomain_ZoneInfo   `protobuf:"bytes,2,req,name=zone" json:"zone"`
}

func NewPopulatedDomainInfo_FaultDomain added in v0.0.6

func NewPopulatedDomainInfo_FaultDomain(r randyMesos, easy bool) *DomainInfo_FaultDomain

func (*DomainInfo_FaultDomain) Descriptor added in v0.0.6

func (*DomainInfo_FaultDomain) Descriptor() ([]byte, []int)

func (*DomainInfo_FaultDomain) Equal added in v0.0.6

func (this *DomainInfo_FaultDomain) Equal(that interface{}) bool

func (*DomainInfo_FaultDomain) GetRegion added in v0.0.6

func (*DomainInfo_FaultDomain) GetZone added in v0.0.6

func (*DomainInfo_FaultDomain) GoString added in v0.0.6

func (this *DomainInfo_FaultDomain) GoString() string

func (*DomainInfo_FaultDomain) Marshal added in v0.0.6

func (m *DomainInfo_FaultDomain) Marshal() (dAtA []byte, err error)

func (*DomainInfo_FaultDomain) MarshalJSON added in v0.0.6

func (mj *DomainInfo_FaultDomain) MarshalJSON() ([]byte, error)

func (*DomainInfo_FaultDomain) MarshalJSONBuf added in v0.0.6

func (mj *DomainInfo_FaultDomain) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*DomainInfo_FaultDomain) MarshalTo added in v0.0.6

func (m *DomainInfo_FaultDomain) MarshalTo(dAtA []byte) (int, error)

func (*DomainInfo_FaultDomain) ProtoMessage added in v0.0.6

func (*DomainInfo_FaultDomain) ProtoMessage()

func (*DomainInfo_FaultDomain) ProtoSize added in v0.0.6

func (m *DomainInfo_FaultDomain) ProtoSize() (n int)

func (*DomainInfo_FaultDomain) Reset added in v0.0.6

func (m *DomainInfo_FaultDomain) Reset()

func (*DomainInfo_FaultDomain) String added in v0.0.6

func (this *DomainInfo_FaultDomain) String() string

func (*DomainInfo_FaultDomain) Unmarshal added in v0.0.6

func (m *DomainInfo_FaultDomain) Unmarshal(dAtA []byte) error

func (*DomainInfo_FaultDomain) UnmarshalJSON added in v0.0.6

func (uj *DomainInfo_FaultDomain) UnmarshalJSON(input []byte) error

func (*DomainInfo_FaultDomain) UnmarshalJSONFFLexer added in v0.0.6

func (uj *DomainInfo_FaultDomain) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*DomainInfo_FaultDomain) VerboseEqual added in v0.0.6

func (this *DomainInfo_FaultDomain) VerboseEqual(that interface{}) error

type DomainInfo_FaultDomain_RegionInfo added in v0.0.6

type DomainInfo_FaultDomain_RegionInfo struct {
	Name string `protobuf:"bytes,1,req,name=name" json:"name"`
}

func NewPopulatedDomainInfo_FaultDomain_RegionInfo added in v0.0.6

func NewPopulatedDomainInfo_FaultDomain_RegionInfo(r randyMesos, easy bool) *DomainInfo_FaultDomain_RegionInfo

func (*DomainInfo_FaultDomain_RegionInfo) Descriptor added in v0.0.6

func (*DomainInfo_FaultDomain_RegionInfo) Descriptor() ([]byte, []int)

func (*DomainInfo_FaultDomain_RegionInfo) Equal added in v0.0.6

func (this *DomainInfo_FaultDomain_RegionInfo) Equal(that interface{}) bool

func (*DomainInfo_FaultDomain_RegionInfo) GetName added in v0.0.6

func (*DomainInfo_FaultDomain_RegionInfo) GoString added in v0.0.6

func (this *DomainInfo_FaultDomain_RegionInfo) GoString() string

func (*DomainInfo_FaultDomain_RegionInfo) Marshal added in v0.0.6

func (m *DomainInfo_FaultDomain_RegionInfo) Marshal() (dAtA []byte, err error)

func (*DomainInfo_FaultDomain_RegionInfo) MarshalJSON added in v0.0.6

func (mj *DomainInfo_FaultDomain_RegionInfo) MarshalJSON() ([]byte, error)

func (*DomainInfo_FaultDomain_RegionInfo) MarshalJSONBuf added in v0.0.6

func (*DomainInfo_FaultDomain_RegionInfo) MarshalTo added in v0.0.6

func (m *DomainInfo_FaultDomain_RegionInfo) MarshalTo(dAtA []byte) (int, error)

func (*DomainInfo_FaultDomain_RegionInfo) ProtoMessage added in v0.0.6

func (*DomainInfo_FaultDomain_RegionInfo) ProtoMessage()

func (*DomainInfo_FaultDomain_RegionInfo) ProtoSize added in v0.0.6

func (m *DomainInfo_FaultDomain_RegionInfo) ProtoSize() (n int)

func (*DomainInfo_FaultDomain_RegionInfo) Reset added in v0.0.6

func (*DomainInfo_FaultDomain_RegionInfo) String added in v0.0.6

func (*DomainInfo_FaultDomain_RegionInfo) Unmarshal added in v0.0.6

func (m *DomainInfo_FaultDomain_RegionInfo) Unmarshal(dAtA []byte) error

func (*DomainInfo_FaultDomain_RegionInfo) UnmarshalJSON added in v0.0.6

func (uj *DomainInfo_FaultDomain_RegionInfo) UnmarshalJSON(input []byte) error

func (*DomainInfo_FaultDomain_RegionInfo) UnmarshalJSONFFLexer added in v0.0.6

func (uj *DomainInfo_FaultDomain_RegionInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*DomainInfo_FaultDomain_RegionInfo) VerboseEqual added in v0.0.6

func (this *DomainInfo_FaultDomain_RegionInfo) VerboseEqual(that interface{}) error

type DomainInfo_FaultDomain_ZoneInfo added in v0.0.6

type DomainInfo_FaultDomain_ZoneInfo struct {
	Name string `protobuf:"bytes,1,req,name=name" json:"name"`
}

func NewPopulatedDomainInfo_FaultDomain_ZoneInfo added in v0.0.6

func NewPopulatedDomainInfo_FaultDomain_ZoneInfo(r randyMesos, easy bool) *DomainInfo_FaultDomain_ZoneInfo

func (*DomainInfo_FaultDomain_ZoneInfo) Descriptor added in v0.0.6

func (*DomainInfo_FaultDomain_ZoneInfo) Descriptor() ([]byte, []int)

func (*DomainInfo_FaultDomain_ZoneInfo) Equal added in v0.0.6

func (this *DomainInfo_FaultDomain_ZoneInfo) Equal(that interface{}) bool

func (*DomainInfo_FaultDomain_ZoneInfo) GetName added in v0.0.6

func (*DomainInfo_FaultDomain_ZoneInfo) GoString added in v0.0.6

func (this *DomainInfo_FaultDomain_ZoneInfo) GoString() string

func (*DomainInfo_FaultDomain_ZoneInfo) Marshal added in v0.0.6

func (m *DomainInfo_FaultDomain_ZoneInfo) Marshal() (dAtA []byte, err error)

func (*DomainInfo_FaultDomain_ZoneInfo) MarshalJSON added in v0.0.6

func (mj *DomainInfo_FaultDomain_ZoneInfo) MarshalJSON() ([]byte, error)

func (*DomainInfo_FaultDomain_ZoneInfo) MarshalJSONBuf added in v0.0.6

func (*DomainInfo_FaultDomain_ZoneInfo) MarshalTo added in v0.0.6

func (m *DomainInfo_FaultDomain_ZoneInfo) MarshalTo(dAtA []byte) (int, error)

func (*DomainInfo_FaultDomain_ZoneInfo) ProtoMessage added in v0.0.6

func (*DomainInfo_FaultDomain_ZoneInfo) ProtoMessage()

func (*DomainInfo_FaultDomain_ZoneInfo) ProtoSize added in v0.0.6

func (m *DomainInfo_FaultDomain_ZoneInfo) ProtoSize() (n int)

func (*DomainInfo_FaultDomain_ZoneInfo) Reset added in v0.0.6

func (*DomainInfo_FaultDomain_ZoneInfo) String added in v0.0.6

func (this *DomainInfo_FaultDomain_ZoneInfo) String() string

func (*DomainInfo_FaultDomain_ZoneInfo) Unmarshal added in v0.0.6

func (m *DomainInfo_FaultDomain_ZoneInfo) Unmarshal(dAtA []byte) error

func (*DomainInfo_FaultDomain_ZoneInfo) UnmarshalJSON added in v0.0.6

func (uj *DomainInfo_FaultDomain_ZoneInfo) UnmarshalJSON(input []byte) error

func (*DomainInfo_FaultDomain_ZoneInfo) UnmarshalJSONFFLexer added in v0.0.6

func (uj *DomainInfo_FaultDomain_ZoneInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*DomainInfo_FaultDomain_ZoneInfo) VerboseEqual added in v0.0.6

func (this *DomainInfo_FaultDomain_ZoneInfo) VerboseEqual(that interface{}) error

type DurationInfo

type DurationInfo struct {
	Nanoseconds int64 `protobuf:"varint,1,req,name=nanoseconds" json:"nanoseconds"`
}

* Represents duration in nanoseconds.

func NewPopulatedDurationInfo

func NewPopulatedDurationInfo(r randyMesos, easy bool) *DurationInfo

func (*DurationInfo) Descriptor added in v0.0.4

func (*DurationInfo) Descriptor() ([]byte, []int)

func (*DurationInfo) Equal

func (this *DurationInfo) Equal(that interface{}) bool

func (*DurationInfo) GetNanoseconds

func (m *DurationInfo) GetNanoseconds() int64

func (*DurationInfo) GoString

func (this *DurationInfo) GoString() string

func (*DurationInfo) Marshal

func (m *DurationInfo) Marshal() (dAtA []byte, err error)

func (*DurationInfo) MarshalJSON

func (mj *DurationInfo) MarshalJSON() ([]byte, error)

func (*DurationInfo) MarshalJSONBuf

func (mj *DurationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*DurationInfo) MarshalTo

func (m *DurationInfo) MarshalTo(dAtA []byte) (int, error)

func (*DurationInfo) ProtoMessage

func (*DurationInfo) ProtoMessage()

func (*DurationInfo) ProtoSize added in v0.0.4

func (m *DurationInfo) ProtoSize() (n int)

func (*DurationInfo) Reset

func (m *DurationInfo) Reset()

func (*DurationInfo) String

func (this *DurationInfo) String() string

func (*DurationInfo) Unmarshal

func (m *DurationInfo) Unmarshal(dAtA []byte) error

func (*DurationInfo) UnmarshalJSON

func (uj *DurationInfo) UnmarshalJSON(input []byte) error

func (*DurationInfo) UnmarshalJSONFFLexer

func (uj *DurationInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*DurationInfo) VerboseEqual

func (this *DurationInfo) VerboseEqual(that interface{}) error

type Environment

type Environment struct {
	Variables []Environment_Variable `protobuf:"bytes,1,rep,name=variables" json:"variables"`
}

* Describes a collection of environment variables. This is used with CommandInfo in order to set environment variables before running a command. The contents of each variable may be specified as a string or a Secret; only one of `value` and `secret` must be set.

func NewPopulatedEnvironment

func NewPopulatedEnvironment(r randyMesos, easy bool) *Environment

func (*Environment) Descriptor added in v0.0.4

func (*Environment) Descriptor() ([]byte, []int)

func (*Environment) Equal

func (this *Environment) Equal(that interface{}) bool

func (*Environment) GetVariables

func (m *Environment) GetVariables() []Environment_Variable

func (*Environment) GoString

func (this *Environment) GoString() string

func (*Environment) Marshal

func (m *Environment) Marshal() (dAtA []byte, err error)

func (*Environment) MarshalJSON

func (mj *Environment) MarshalJSON() ([]byte, error)

func (*Environment) MarshalJSONBuf

func (mj *Environment) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Environment) MarshalTo

func (m *Environment) MarshalTo(dAtA []byte) (int, error)

func (*Environment) ProtoMessage

func (*Environment) ProtoMessage()

func (*Environment) ProtoSize added in v0.0.4

func (m *Environment) ProtoSize() (n int)

func (*Environment) Reset

func (m *Environment) Reset()

func (*Environment) String

func (this *Environment) String() string

func (*Environment) Unmarshal

func (m *Environment) Unmarshal(dAtA []byte) error

func (*Environment) UnmarshalJSON

func (uj *Environment) UnmarshalJSON(input []byte) error

func (*Environment) UnmarshalJSONFFLexer

func (uj *Environment) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Environment) VerboseEqual

func (this *Environment) VerboseEqual(that interface{}) error

type Environment_Variable

type Environment_Variable struct {
	Name string `protobuf:"bytes,1,req,name=name" json:"name"`
	// In Mesos 1.2, the `Environment.variables.value` message was made
	// optional. The default type for `Environment.variables.type` is now VALUE,
	// which requires `value` to be set, maintaining backward compatibility.
	//
	// TODO(greggomann): The default can be removed in Mesos 2.1 (MESOS-7134).
	Type *Environment_Variable_Type `protobuf:"varint,3,opt,name=type,enum=mesos.Environment_Variable_Type,def=1" json:"type,omitempty"`
	// Only one of `value` and `secret` must be set.
	Value  *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	Secret *Secret `protobuf:"bytes,4,opt,name=secret" json:"secret,omitempty"`
}

func NewPopulatedEnvironment_Variable

func NewPopulatedEnvironment_Variable(r randyMesos, easy bool) *Environment_Variable

func (*Environment_Variable) Descriptor added in v0.0.4

func (*Environment_Variable) Descriptor() ([]byte, []int)

func (*Environment_Variable) Equal

func (this *Environment_Variable) Equal(that interface{}) bool

func (*Environment_Variable) GetName

func (m *Environment_Variable) GetName() string

func (*Environment_Variable) GetSecret added in v0.0.5

func (m *Environment_Variable) GetSecret() *Secret

func (*Environment_Variable) GetType added in v0.0.5

func (*Environment_Variable) GetValue

func (m *Environment_Variable) GetValue() string

func (*Environment_Variable) GoString

func (this *Environment_Variable) GoString() string

func (*Environment_Variable) Marshal

func (m *Environment_Variable) Marshal() (dAtA []byte, err error)

func (*Environment_Variable) MarshalJSON

func (mj *Environment_Variable) MarshalJSON() ([]byte, error)

func (*Environment_Variable) MarshalJSONBuf

func (mj *Environment_Variable) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Environment_Variable) MarshalTo

func (m *Environment_Variable) MarshalTo(dAtA []byte) (int, error)

func (*Environment_Variable) ProtoMessage

func (*Environment_Variable) ProtoMessage()

func (*Environment_Variable) ProtoSize added in v0.0.4

func (m *Environment_Variable) ProtoSize() (n int)

func (*Environment_Variable) Reset

func (m *Environment_Variable) Reset()

func (*Environment_Variable) String

func (this *Environment_Variable) String() string

func (*Environment_Variable) Unmarshal

func (m *Environment_Variable) Unmarshal(dAtA []byte) error

func (*Environment_Variable) UnmarshalJSON

func (uj *Environment_Variable) UnmarshalJSON(input []byte) error

func (*Environment_Variable) UnmarshalJSONFFLexer

func (uj *Environment_Variable) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Environment_Variable) VerboseEqual

func (this *Environment_Variable) VerboseEqual(that interface{}) error

type Environment_Variable_Type added in v0.0.5

type Environment_Variable_Type int32
const (
	Environment_Variable_UNKNOWN Environment_Variable_Type = 0
	Environment_Variable_VALUE   Environment_Variable_Type = 1
	Environment_Variable_SECRET  Environment_Variable_Type = 2
)
const Default_Environment_Variable_Type Environment_Variable_Type = Environment_Variable_VALUE

func (Environment_Variable_Type) Enum added in v0.0.5

func (Environment_Variable_Type) EnumDescriptor added in v0.0.5

func (Environment_Variable_Type) EnumDescriptor() ([]byte, []int)

func (Environment_Variable_Type) MarshalJSON added in v0.0.5

func (x Environment_Variable_Type) MarshalJSON() ([]byte, error)

func (Environment_Variable_Type) String added in v0.0.5

func (x Environment_Variable_Type) String() string

func (*Environment_Variable_Type) UnmarshalJSON added in v0.0.5

func (x *Environment_Variable_Type) UnmarshalJSON(data []byte) error

type ExecutorID

type ExecutorID struct {
	Value string `protobuf:"bytes,1,req,name=value" json:"value"`
}

* A framework-generated ID to distinguish an executor. Only one executor with the same ID can be active on the same agent at a time. However, reusing executor IDs is discouraged.

func NewPopulatedExecutorID

func NewPopulatedExecutorID(r randyMesos, easy bool) *ExecutorID

func (*ExecutorID) Descriptor added in v0.0.4

func (*ExecutorID) Descriptor() ([]byte, []int)

func (*ExecutorID) Equal

func (this *ExecutorID) Equal(that interface{}) bool

func (*ExecutorID) GetValue

func (m *ExecutorID) GetValue() string

func (*ExecutorID) GoString

func (this *ExecutorID) GoString() string

func (*ExecutorID) Marshal

func (m *ExecutorID) Marshal() (dAtA []byte, err error)

func (*ExecutorID) MarshalJSON

func (mj *ExecutorID) MarshalJSON() ([]byte, error)

func (*ExecutorID) MarshalJSONBuf

func (mj *ExecutorID) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ExecutorID) MarshalTo

func (m *ExecutorID) MarshalTo(dAtA []byte) (int, error)

func (*ExecutorID) ProtoMessage

func (*ExecutorID) ProtoMessage()

func (*ExecutorID) ProtoSize added in v0.0.4

func (m *ExecutorID) ProtoSize() (n int)

func (*ExecutorID) Reset

func (m *ExecutorID) Reset()

func (*ExecutorID) String

func (this *ExecutorID) String() string

func (*ExecutorID) Unmarshal

func (m *ExecutorID) Unmarshal(dAtA []byte) error

func (*ExecutorID) UnmarshalJSON

func (uj *ExecutorID) UnmarshalJSON(input []byte) error

func (*ExecutorID) UnmarshalJSONFFLexer

func (uj *ExecutorID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ExecutorID) VerboseEqual

func (this *ExecutorID) VerboseEqual(that interface{}) error

type ExecutorInfo

type ExecutorInfo struct {
	// For backwards compatibility, if this field is not set when using `LAUNCH`
	// operation, Mesos will infer the type by checking if `command` is set
	// (`CUSTOM`) or unset (`DEFAULT`). `type` must be set when using
	// `LAUNCH_GROUP` operation.
	//
	// TODO(vinod): Add support for explicitly setting `type` to `DEFAULT` in
	// `LAUNCH` operation.
	Type        ExecutorInfo_Type `protobuf:"varint,15,opt,name=type,enum=mesos.ExecutorInfo_Type" json:"type"`
	ExecutorID  ExecutorID        `protobuf:"bytes,1,req,name=executor_id,json=executorId" json:"executor_id"`
	FrameworkID *FrameworkID      `protobuf:"bytes,8,opt,name=framework_id,json=frameworkId" json:"framework_id,omitempty"`
	Command     *CommandInfo      `protobuf:"bytes,7,opt,name=command" json:"command,omitempty"`
	// Executor provided with a container will launch the container
	// with the executor's CommandInfo and we expect the container to
	// act as a Mesos executor.
	Container *ContainerInfo `protobuf:"bytes,11,opt,name=container" json:"container,omitempty"`
	Resources []Resource     `protobuf:"bytes,5,rep,name=resources" json:"resources"`
	Name      *string        `protobuf:"bytes,9,opt,name=name" json:"name,omitempty"`
	// 'source' is an identifier style string used by frameworks to
	// track the source of an executor. This is useful when it's
	// possible for different executor ids to be related semantically.
	//
	// NOTE: 'source' is exposed alongside the resource usage of the
	// executor via JSON on the agent. This allows users to import usage
	// information into a time series database for monitoring.
	//
	// This field is deprecated since 1.0. Please use labels for
	// free-form metadata instead.
	Source *string `protobuf:"bytes,10,opt,name=source" json:"source,omitempty"`
	// This field can be used to pass arbitrary bytes to an executor.
	Data []byte `protobuf:"bytes,4,opt,name=data" json:"data,omitempty"`
	// Service discovery information for the executor. It is not
	// interpreted or acted upon by Mesos. It is up to a service
	// discovery system to use this information as needed and to handle
	// executors without service discovery information.
	Discovery *DiscoveryInfo `protobuf:"bytes,12,opt,name=discovery" json:"discovery,omitempty"`
	// When shutting down an executor the agent will wait in a
	// best-effort manner for the grace period specified here
	// before forcibly destroying the container. The executor
	// must not assume that it will always be allotted the full
	// grace period, as the agent may decide to allot a shorter
	// period and failures / forcible terminations may occur.
	ShutdownGracePeriod *DurationInfo `protobuf:"bytes,13,opt,name=shutdown_grace_period,json=shutdownGracePeriod" json:"shutdown_grace_period,omitempty"`
	// Labels are free-form key value pairs which are exposed through
	// master and agent endpoints. Labels will not be interpreted or
	// acted upon by Mesos itself. As opposed to the data field, labels
	// will be kept in memory on master and agent processes. Therefore,
	// labels should be used to tag executors with lightweight metadata.
	// Labels should not contain duplicate key-value pairs.
	Labels *Labels `protobuf:"bytes,14,opt,name=labels" json:"labels,omitempty"`
}

* Describes information about an executor.

func NewPopulatedExecutorInfo

func NewPopulatedExecutorInfo(r randyMesos, easy bool) *ExecutorInfo

func (*ExecutorInfo) Descriptor added in v0.0.4

func (*ExecutorInfo) Descriptor() ([]byte, []int)

func (*ExecutorInfo) Equal

func (this *ExecutorInfo) Equal(that interface{}) bool

func (*ExecutorInfo) GetCommand

func (m *ExecutorInfo) GetCommand() *CommandInfo

func (*ExecutorInfo) GetContainer

func (m *ExecutorInfo) GetContainer() *ContainerInfo

func (*ExecutorInfo) GetData

func (m *ExecutorInfo) GetData() []byte

func (*ExecutorInfo) GetDiscovery

func (m *ExecutorInfo) GetDiscovery() *DiscoveryInfo

func (*ExecutorInfo) GetExecutorID

func (m *ExecutorInfo) GetExecutorID() ExecutorID

func (*ExecutorInfo) GetFrameworkID

func (m *ExecutorInfo) GetFrameworkID() *FrameworkID

func (*ExecutorInfo) GetLabels

func (m *ExecutorInfo) GetLabels() *Labels

func (*ExecutorInfo) GetName

func (m *ExecutorInfo) GetName() string

func (*ExecutorInfo) GetResources

func (m *ExecutorInfo) GetResources() []Resource

func (*ExecutorInfo) GetShutdownGracePeriod

func (m *ExecutorInfo) GetShutdownGracePeriod() *DurationInfo

func (*ExecutorInfo) GetSource

func (m *ExecutorInfo) GetSource() string

func (*ExecutorInfo) GetType

func (m *ExecutorInfo) GetType() ExecutorInfo_Type

func (*ExecutorInfo) GoString

func (this *ExecutorInfo) GoString() string

func (*ExecutorInfo) Marshal

func (m *ExecutorInfo) Marshal() (dAtA []byte, err error)

func (*ExecutorInfo) MarshalJSON

func (mj *ExecutorInfo) MarshalJSON() ([]byte, error)

func (*ExecutorInfo) MarshalJSONBuf

func (mj *ExecutorInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ExecutorInfo) MarshalTo

func (m *ExecutorInfo) MarshalTo(dAtA []byte) (int, error)

func (*ExecutorInfo) ProtoMessage

func (*ExecutorInfo) ProtoMessage()

func (*ExecutorInfo) ProtoSize added in v0.0.4

func (m *ExecutorInfo) ProtoSize() (n int)

func (*ExecutorInfo) Reset

func (m *ExecutorInfo) Reset()

func (*ExecutorInfo) String

func (this *ExecutorInfo) String() string

func (*ExecutorInfo) Unmarshal

func (m *ExecutorInfo) Unmarshal(dAtA []byte) error

func (*ExecutorInfo) UnmarshalJSON

func (uj *ExecutorInfo) UnmarshalJSON(input []byte) error

func (*ExecutorInfo) UnmarshalJSONFFLexer

func (uj *ExecutorInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ExecutorInfo) VerboseEqual

func (this *ExecutorInfo) VerboseEqual(that interface{}) error

type ExecutorInfo_Type

type ExecutorInfo_Type int32
const (
	ExecutorInfo_UNKNOWN ExecutorInfo_Type = 0
	// Mesos provides a simple built-in default executor that frameworks can
	// leverage to run shell commands and containers.
	//
	// NOTES:
	//
	// 1) `command` must not be set when using a default executor.
	//
	// 2) Default executor only accepts a *single* `LAUNCH` or `LAUNCH_GROUP`
	//    operation.
	//
	// 3) If `container` is set, `container.type` must be `MESOS`
	//    and `container.mesos.image` must not be set.
	ExecutorInfo_DEFAULT ExecutorInfo_Type = 1
	// For frameworks that need custom functionality to run tasks, a `CUSTOM`
	// executor can be used. Note that `command` must be set when using a
	// `CUSTOM` executor.
	ExecutorInfo_CUSTOM ExecutorInfo_Type = 2
)

func (ExecutorInfo_Type) Enum

func (ExecutorInfo_Type) EnumDescriptor added in v0.0.4

func (ExecutorInfo_Type) EnumDescriptor() ([]byte, []int)

func (ExecutorInfo_Type) MarshalJSON

func (x ExecutorInfo_Type) MarshalJSON() ([]byte, error)

func (ExecutorInfo_Type) String

func (x ExecutorInfo_Type) String() string

func (*ExecutorInfo_Type) UnmarshalJSON

func (x *ExecutorInfo_Type) UnmarshalJSON(data []byte) error

type FileInfo

type FileInfo struct {
	// Absolute path to the file.
	Path string `protobuf:"bytes,1,req,name=path" json:"path"`
	// Number of hard links.
	Nlink *int32 `protobuf:"varint,2,opt,name=nlink" json:"nlink,omitempty"`
	// Total size in bytes.
	Size *uint64 `protobuf:"varint,3,opt,name=size" json:"size,omitempty"`
	// Last modification time.
	Mtime *TimeInfo `protobuf:"bytes,4,opt,name=mtime" json:"mtime,omitempty"`
	// Represents a file's mode and permission bits. The bits have the same
	// definition on all systems and is portable.
	Mode *uint32 `protobuf:"varint,5,opt,name=mode" json:"mode,omitempty"`
	// User ID of owner.
	UID *string `protobuf:"bytes,6,opt,name=uid" json:"uid,omitempty"`
	// Group ID of owner.
	GID *string `protobuf:"bytes,7,opt,name=gid" json:"gid,omitempty"`
}

* Describes a File.

func NewPopulatedFileInfo

func NewPopulatedFileInfo(r randyMesos, easy bool) *FileInfo

func (*FileInfo) Descriptor added in v0.0.4

func (*FileInfo) Descriptor() ([]byte, []int)

func (*FileInfo) Equal

func (this *FileInfo) Equal(that interface{}) bool

func (*FileInfo) GetGID

func (m *FileInfo) GetGID() string

func (*FileInfo) GetMode

func (m *FileInfo) GetMode() uint32

func (*FileInfo) GetMtime

func (m *FileInfo) GetMtime() *TimeInfo
func (m *FileInfo) GetNlink() int32

func (*FileInfo) GetPath

func (m *FileInfo) GetPath() string

func (*FileInfo) GetSize added in v0.0.4

func (m *FileInfo) GetSize() uint64

func (*FileInfo) GetUID

func (m *FileInfo) GetUID() string

func (*FileInfo) GoString

func (this *FileInfo) GoString() string

func (*FileInfo) Marshal

func (m *FileInfo) Marshal() (dAtA []byte, err error)

func (*FileInfo) MarshalJSON

func (mj *FileInfo) MarshalJSON() ([]byte, error)

func (*FileInfo) MarshalJSONBuf

func (mj *FileInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*FileInfo) MarshalTo

func (m *FileInfo) MarshalTo(dAtA []byte) (int, error)

func (*FileInfo) ProtoMessage

func (*FileInfo) ProtoMessage()

func (*FileInfo) ProtoSize added in v0.0.4

func (m *FileInfo) ProtoSize() (n int)

func (*FileInfo) Reset

func (m *FileInfo) Reset()

func (*FileInfo) String

func (this *FileInfo) String() string

func (*FileInfo) Unmarshal

func (m *FileInfo) Unmarshal(dAtA []byte) error

func (*FileInfo) UnmarshalJSON

func (uj *FileInfo) UnmarshalJSON(input []byte) error

func (*FileInfo) UnmarshalJSONFFLexer

func (uj *FileInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*FileInfo) VerboseEqual

func (this *FileInfo) VerboseEqual(that interface{}) error

type FilterOpt

type FilterOpt func(*Filters)

func RefuseSeconds

func RefuseSeconds(d time.Duration) FilterOpt

type Filters

type Filters struct {
	// Time to consider unused resources refused. Note that all unused
	// resources will be considered refused and use the default value
	// (below) regardless of whether Filters was passed to
	// SchedulerDriver::launchTasks. You MUST pass Filters with this
	// field set to change this behavior (i.e., get another offer which
	// includes unused resources sooner or later than the default).
	//
	// If this field is set to a number of seconds greater than 31536000
	// (365 days), then the resources will be considered refused for 365
	// days. If it is set to a negative number, then the default value
	// will be used.
	RefuseSeconds *float64 `protobuf:"fixed64,1,opt,name=refuse_seconds,json=refuseSeconds,def=5" json:"refuse_seconds,omitempty"`
}

* Describes possible filters that can be applied to unused resources (see SchedulerDriver::launchTasks) to influence the allocator.

func NewPopulatedFilters

func NewPopulatedFilters(r randyMesos, easy bool) *Filters

func OptionalFilters

func OptionalFilters(fo ...FilterOpt) *Filters

func (*Filters) Descriptor added in v0.0.4

func (*Filters) Descriptor() ([]byte, []int)

func (*Filters) Equal

func (this *Filters) Equal(that interface{}) bool

func (*Filters) GetRefuseSeconds

func (m *Filters) GetRefuseSeconds() float64

func (*Filters) GoString

func (this *Filters) GoString() string

func (*Filters) Marshal

func (m *Filters) Marshal() (dAtA []byte, err error)

func (*Filters) MarshalJSON

func (mj *Filters) MarshalJSON() ([]byte, error)

func (*Filters) MarshalJSONBuf

func (mj *Filters) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Filters) MarshalTo

func (m *Filters) MarshalTo(dAtA []byte) (int, error)

func (*Filters) ProtoMessage

func (*Filters) ProtoMessage()

func (*Filters) ProtoSize added in v0.0.4

func (m *Filters) ProtoSize() (n int)

func (*Filters) Reset

func (m *Filters) Reset()

func (*Filters) String

func (this *Filters) String() string

func (*Filters) Unmarshal

func (m *Filters) Unmarshal(dAtA []byte) error

func (*Filters) UnmarshalJSON

func (uj *Filters) UnmarshalJSON(input []byte) error

func (*Filters) UnmarshalJSONFFLexer

func (uj *Filters) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Filters) VerboseEqual

func (this *Filters) VerboseEqual(that interface{}) error

func (*Filters) With

func (f *Filters) With(opts ...FilterOpt) *Filters

type Flag

type Flag struct {
	Name  string  `protobuf:"bytes,1,req,name=name" json:"name"`
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

* Flag consists of a name and optionally its value.

func NewPopulatedFlag

func NewPopulatedFlag(r randyMesos, easy bool) *Flag

func (*Flag) Descriptor added in v0.0.4

func (*Flag) Descriptor() ([]byte, []int)

func (*Flag) Equal

func (this *Flag) Equal(that interface{}) bool

func (*Flag) GetName

func (m *Flag) GetName() string

func (*Flag) GetValue

func (m *Flag) GetValue() string

func (*Flag) GoString

func (this *Flag) GoString() string

func (*Flag) Marshal

func (m *Flag) Marshal() (dAtA []byte, err error)

func (*Flag) MarshalJSON

func (mj *Flag) MarshalJSON() ([]byte, error)

func (*Flag) MarshalJSONBuf

func (mj *Flag) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Flag) MarshalTo

func (m *Flag) MarshalTo(dAtA []byte) (int, error)

func (*Flag) ProtoMessage

func (*Flag) ProtoMessage()

func (*Flag) ProtoSize added in v0.0.4

func (m *Flag) ProtoSize() (n int)

func (*Flag) Reset

func (m *Flag) Reset()

func (*Flag) String

func (this *Flag) String() string

func (*Flag) Unmarshal

func (m *Flag) Unmarshal(dAtA []byte) error

func (*Flag) UnmarshalJSON

func (uj *Flag) UnmarshalJSON(input []byte) error

func (*Flag) UnmarshalJSONFFLexer

func (uj *Flag) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Flag) VerboseEqual

func (this *Flag) VerboseEqual(that interface{}) error

type FrameworkID

type FrameworkID struct {
	Value string `protobuf:"bytes,1,req,name=value" json:"value"`
}

* A unique ID assigned to a framework. A framework can reuse this ID in order to do failover (see MesosSchedulerDriver).

func NewPopulatedFrameworkID

func NewPopulatedFrameworkID(r randyMesos, easy bool) *FrameworkID

func (*FrameworkID) Descriptor added in v0.0.4

func (*FrameworkID) Descriptor() ([]byte, []int)

func (*FrameworkID) Equal

func (this *FrameworkID) Equal(that interface{}) bool

func (*FrameworkID) GetValue

func (m *FrameworkID) GetValue() string

func (*FrameworkID) GoString

func (this *FrameworkID) GoString() string

func (*FrameworkID) Marshal

func (m *FrameworkID) Marshal() (dAtA []byte, err error)

func (*FrameworkID) MarshalJSON

func (mj *FrameworkID) MarshalJSON() ([]byte, error)

func (*FrameworkID) MarshalJSONBuf

func (mj *FrameworkID) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*FrameworkID) MarshalTo

func (m *FrameworkID) MarshalTo(dAtA []byte) (int, error)

func (*FrameworkID) ProtoMessage

func (*FrameworkID) ProtoMessage()

func (*FrameworkID) ProtoSize added in v0.0.4

func (m *FrameworkID) ProtoSize() (n int)

func (*FrameworkID) Reset

func (m *FrameworkID) Reset()

func (*FrameworkID) String

func (this *FrameworkID) String() string

func (*FrameworkID) Unmarshal

func (m *FrameworkID) Unmarshal(dAtA []byte) error

func (*FrameworkID) UnmarshalJSON

func (uj *FrameworkID) UnmarshalJSON(input []byte) error

func (*FrameworkID) UnmarshalJSONFFLexer

func (uj *FrameworkID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*FrameworkID) VerboseEqual

func (this *FrameworkID) VerboseEqual(that interface{}) error

type FrameworkInfo

type FrameworkInfo struct {
	// Used to determine the Unix user that an executor or task should be
	// launched as.
	//
	// When using the MesosSchedulerDriver, if the field is set to an
	// empty string, it will automagically set it to the current user.
	//
	// When using the HTTP Scheduler API, the user has to be set
	// explicitly.
	User string `protobuf:"bytes,1,req,name=user" json:"user"`
	// Name of the framework that shows up in the Mesos Web UI.
	Name string `protobuf:"bytes,2,req,name=name" json:"name"`
	// Used to uniquely identify the framework.
	//
	// This field must be unset when the framework subscribes for the
	// first time upon which the master will assign a new ID. To
	// resubscribe after scheduler failover the framework should set
	// 'id' to the ID assigned by the master.  Setting 'id' to values
	// not assigned by Mesos masters is unsupported.
	ID *FrameworkID `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	// The amount of time (in seconds) that the master will wait for the
	// scheduler to failover before it tears down the framework by
	// killing all its tasks/executors. This should be non-zero if a
	// framework expects to reconnect after a failure and not lose its
	// tasks/executors.
	//
	// NOTE: To avoid accidental destruction of tasks, production
	// frameworks typically set this to a large value (e.g., 1 week).
	FailoverTimeout *float64 `protobuf:"fixed64,4,opt,name=failover_timeout,json=failoverTimeout,def=0" json:"failover_timeout,omitempty"`
	// If set, agents running tasks started by this framework will write
	// the framework pid, executor pids and status updates to disk. If
	// the agent exits (e.g., due to a crash or as part of upgrading
	// Mesos), this checkpointed data allows the restarted agent to
	// reconnect to executors that were started by the old instance of
	// the agent. Enabling checkpointing improves fault tolerance, at
	// the cost of a (usually small) increase in disk I/O.
	Checkpoint *bool `protobuf:"varint,5,opt,name=checkpoint,def=0" json:"checkpoint,omitempty"`
	// Roles are the entities to which allocations are made.
	// The framework must have at least one role in order to
	// be offered resources. Note that `role` is deprecated
	// in favor of `roles` and only one of these fields must
	// be used. Since we cannot distinguish between empty
	// `roles` and the default unset `role`, we require that
	// frameworks set the `MULTI_ROLE` capability if
	// setting the `roles` field.
	Role  *string  `protobuf:"bytes,6,opt,name=role,def=*" json:"role,omitempty"`
	Roles []string `protobuf:"bytes,12,rep,name=roles" json:"roles,omitempty"`
	// Used to indicate the current host from which the scheduler is
	// registered in the Mesos Web UI. If set to an empty string Mesos
	// will automagically set it to the current hostname if one is
	// available.
	Hostname *string `protobuf:"bytes,7,opt,name=hostname" json:"hostname,omitempty"`
	// This field should match the credential's principal the framework
	// uses for authentication. This field is used for framework API
	// rate limiting and dynamic reservations. It should be set even
	// if authentication is not enabled if these features are desired.
	Principal *string `protobuf:"bytes,8,opt,name=principal" json:"principal,omitempty"`
	// This field allows a framework to advertise its web UI, so that
	// the Mesos web UI can link to it. It is expected to be a full URL,
	// for example http://my-scheduler.example.com:8080/.
	WebUiURL *string `protobuf:"bytes,9,opt,name=webui_url,json=webuiUrl" json:"webui_url,omitempty"`
	// This field allows a framework to advertise its set of
	// capabilities (e.g., ability to receive offers for revocable
	// resources).
	Capabilities []FrameworkInfo_Capability `protobuf:"bytes,10,rep,name=capabilities" json:"capabilities"`
	// Labels are free-form key value pairs supplied by the framework
	// scheduler (e.g., to describe additional functionality offered by
	// the framework). These labels are not interpreted by Mesos itself.
	// Labels should not contain duplicate key-value pairs.
	Labels *Labels `protobuf:"bytes,11,opt,name=labels" json:"labels,omitempty"`
	// Specifc resource requirements for each of the framework's roles. This field
	// is used by e.g., the default allocator to decide whether a framework is
	// interested in seeing a resource of a certain shape.
	OfferFilters map[string]OfferFilters `` /* 155-byte string literal not displayed */
}

* Describes a framework.

func NewPopulatedFrameworkInfo

func NewPopulatedFrameworkInfo(r randyMesos, easy bool) *FrameworkInfo

func (*FrameworkInfo) Descriptor added in v0.0.4

func (*FrameworkInfo) Descriptor() ([]byte, []int)

func (*FrameworkInfo) Equal

func (this *FrameworkInfo) Equal(that interface{}) bool

func (*FrameworkInfo) GetCapabilities

func (m *FrameworkInfo) GetCapabilities() []FrameworkInfo_Capability

func (*FrameworkInfo) GetCheckpoint

func (m *FrameworkInfo) GetCheckpoint() bool

func (*FrameworkInfo) GetFailoverTimeout

func (m *FrameworkInfo) GetFailoverTimeout() float64

func (*FrameworkInfo) GetHostname

func (m *FrameworkInfo) GetHostname() string

func (*FrameworkInfo) GetID

func (m *FrameworkInfo) GetID() *FrameworkID

func (*FrameworkInfo) GetLabels

func (m *FrameworkInfo) GetLabels() *Labels

func (*FrameworkInfo) GetName

func (m *FrameworkInfo) GetName() string

func (*FrameworkInfo) GetOfferFilters added in v0.0.10

func (m *FrameworkInfo) GetOfferFilters() map[string]OfferFilters

func (*FrameworkInfo) GetPrincipal

func (m *FrameworkInfo) GetPrincipal() string

func (*FrameworkInfo) GetRole

func (m *FrameworkInfo) GetRole() string

func (*FrameworkInfo) GetRoles added in v0.0.4

func (m *FrameworkInfo) GetRoles() []string

func (*FrameworkInfo) GetUser

func (m *FrameworkInfo) GetUser() string

func (*FrameworkInfo) GetWebUiURL

func (m *FrameworkInfo) GetWebUiURL() string

func (*FrameworkInfo) GoString

func (this *FrameworkInfo) GoString() string

func (*FrameworkInfo) Marshal

func (m *FrameworkInfo) Marshal() (dAtA []byte, err error)

func (*FrameworkInfo) MarshalJSON

func (mj *FrameworkInfo) MarshalJSON() ([]byte, error)

func (*FrameworkInfo) MarshalJSONBuf

func (mj *FrameworkInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*FrameworkInfo) MarshalTo

func (m *FrameworkInfo) MarshalTo(dAtA []byte) (int, error)

func (*FrameworkInfo) ProtoMessage

func (*FrameworkInfo) ProtoMessage()

func (*FrameworkInfo) ProtoSize added in v0.0.4

func (m *FrameworkInfo) ProtoSize() (n int)

func (*FrameworkInfo) Reset

func (m *FrameworkInfo) Reset()

func (*FrameworkInfo) String

func (this *FrameworkInfo) String() string

func (*FrameworkInfo) Unmarshal

func (m *FrameworkInfo) Unmarshal(dAtA []byte) error

func (*FrameworkInfo) UnmarshalJSON

func (uj *FrameworkInfo) UnmarshalJSON(input []byte) error

func (*FrameworkInfo) UnmarshalJSONFFLexer

func (uj *FrameworkInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*FrameworkInfo) VerboseEqual

func (this *FrameworkInfo) VerboseEqual(that interface{}) error

type FrameworkInfo_Capability

type FrameworkInfo_Capability struct {
	// Enum fields should be optional, see: MESOS-4997.
	Type FrameworkInfo_Capability_Type `protobuf:"varint,1,opt,name=type,enum=mesos.FrameworkInfo_Capability_Type" json:"type"`
}

func NewPopulatedFrameworkInfo_Capability

func NewPopulatedFrameworkInfo_Capability(r randyMesos, easy bool) *FrameworkInfo_Capability

func (*FrameworkInfo_Capability) Descriptor added in v0.0.4

func (*FrameworkInfo_Capability) Descriptor() ([]byte, []int)

func (*FrameworkInfo_Capability) Equal

func (this *FrameworkInfo_Capability) Equal(that interface{}) bool

func (*FrameworkInfo_Capability) GetType

func (*FrameworkInfo_Capability) GoString

func (this *FrameworkInfo_Capability) GoString() string

func (*FrameworkInfo_Capability) Marshal

func (m *FrameworkInfo_Capability) Marshal() (dAtA []byte, err error)

func (*FrameworkInfo_Capability) MarshalJSON

func (mj *FrameworkInfo_Capability) MarshalJSON() ([]byte, error)

func (*FrameworkInfo_Capability) MarshalJSONBuf

func (mj *FrameworkInfo_Capability) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*FrameworkInfo_Capability) MarshalTo

func (m *FrameworkInfo_Capability) MarshalTo(dAtA []byte) (int, error)

func (*FrameworkInfo_Capability) ProtoMessage

func (*FrameworkInfo_Capability) ProtoMessage()

func (*FrameworkInfo_Capability) ProtoSize added in v0.0.4

func (m *FrameworkInfo_Capability) ProtoSize() (n int)

func (*FrameworkInfo_Capability) Reset

func (m *FrameworkInfo_Capability) Reset()

func (*FrameworkInfo_Capability) String

func (this *FrameworkInfo_Capability) String() string

func (*FrameworkInfo_Capability) Unmarshal

func (m *FrameworkInfo_Capability) Unmarshal(dAtA []byte) error

func (*FrameworkInfo_Capability) UnmarshalJSON

func (uj *FrameworkInfo_Capability) UnmarshalJSON(input []byte) error

func (*FrameworkInfo_Capability) UnmarshalJSONFFLexer

func (uj *FrameworkInfo_Capability) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*FrameworkInfo_Capability) VerboseEqual

func (this *FrameworkInfo_Capability) VerboseEqual(that interface{}) error

type FrameworkInfo_Capability_Type

type FrameworkInfo_Capability_Type int32
const (
	// This must be the first enum value in this list, to
	// ensure that if 'type' is not set, the default value
	// is UNKNOWN. This enables enum values to be added
	// in a backwards-compatible way. See: MESOS-4997.
	FrameworkInfo_Capability_UNKNOWN FrameworkInfo_Capability_Type = 0
	// Receive offers with revocable resources. See 'Resource'
	// message for details.
	FrameworkInfo_Capability_REVOCABLE_RESOURCES FrameworkInfo_Capability_Type = 1
	// Receive the TASK_KILLING TaskState when a task is being
	// killed by an executor. The executor will examine this
	// capability to determine whether it can send TASK_KILLING.
	FrameworkInfo_Capability_TASK_KILLING_STATE FrameworkInfo_Capability_Type = 2
	// Indicates whether the framework is aware of GPU resources.
	// Frameworks that are aware of GPU resources are expected to
	// avoid placing non-GPU workloads on GPU agents, in order
	// to avoid occupying a GPU agent and preventing GPU workloads
	// from running! Currently, if a framework is unaware of GPU
	// resources, it will not be offered *any* of the resources on
	// an agent with GPUs. This restriction is in place because we
	// do not have a revocation mechanism that ensures GPU workloads
	// can evict GPU agent occupants if necessary.
	//
	// TODO(bmahler): As we add revocation we can relax the
	// restriction here. See MESOS-5634 for more information.
	FrameworkInfo_Capability_GPU_RESOURCES FrameworkInfo_Capability_Type = 3
	// Receive offers with resources that are shared.
	FrameworkInfo_Capability_SHARED_RESOURCES FrameworkInfo_Capability_Type = 4
	// Indicates that (1) the framework is prepared to handle the
	// following TaskStates: TASK_UNREACHABLE, TASK_DROPPED,
	// TASK_GONE, TASK_GONE_BY_OPERATOR, and TASK_UNKNOWN, and (2)
	// the framework will assume responsibility for managing
	// partitioned tasks that reregister with the master.
	//
	// Frameworks that enable this capability can define how they
	// would like to handle partitioned tasks. Frameworks will
	// receive TASK_UNREACHABLE for tasks on agents that are
	// partitioned from the master.
	//
	// Without this capability, frameworks will receive TASK_LOST
	// for tasks on partitioned agents.
	// NOTE: Prior to Mesos 1.5, such tasks will be killed by Mesos
	// when the agent reregisters (unless the master has failed over).
	// However due to the lack of benefit in maintaining different
	// behaviors depending on whether the master has failed over
	// (see MESOS-7215), as of 1.5, Mesos will not kill these
	// tasks in either case.
	FrameworkInfo_Capability_PARTITION_AWARE FrameworkInfo_Capability_Type = 5
	// This expresses the ability for the framework to be
	// "multi-tenant" via using the newly introduced `roles`
	// field, and examining `Offer.allocation_info` to determine
	// which role the offers are being made to. We also
	// expect that "single-tenant" schedulers eventually
	// provide this and move away from the deprecated
	// `role` field.
	FrameworkInfo_Capability_MULTI_ROLE FrameworkInfo_Capability_Type = 6
	// This capability has two effects for a framework.
	//
	// (1) The framework is offered resources in a new format.
	//
	//     The offered resources have the `Resource.reservations` field set
	//     rather than `Resource.role` and `Resource.reservation`. In short,
	//     an empty `reservations` field denotes unreserved resources, and
	//     each `ReservationInfo` in the `reservations` field denotes a
	//     reservation that refines the previous one.
	//
	//     See the 'Resource Format' section for more details.
	//
	// (2) The framework can create refined reservations.
	//
	//     A framework can refine an existing reservation via the
	//     `Resource.reservations` field. For example, a reservation for role
	//     `eng` can be refined to `eng/front_end`.
	//
	//     See `ReservationInfo.reservations` for more details.
	//
	// NOTE: Without this capability, a framework is not offered resources
	// that have refined reservations. A resource is said to have refined
	// reservations if it uses the `Resource.reservations` field, and
	// `Resource.reservations_size() > 1`.
	FrameworkInfo_Capability_RESERVATION_REFINEMENT FrameworkInfo_Capability_Type = 7
	// Indicates that the framework is prepared to receive offers
	// for agents whose region is different from the master's
	// region. Network links between hosts in different regions
	// typically have higher latency and lower bandwidth than
	// network links within a region, so frameworks should be
	// careful to only place suitable workloads in remote regions.
	// Frameworks that are not region-aware will never receive
	// offers for remote agents; region-aware frameworks are assumed
	// to implement their own logic to decide which workloads (if
	// any) are suitable for placement on remote agents.
	FrameworkInfo_Capability_REGION_AWARE FrameworkInfo_Capability_Type = 8
)

func (FrameworkInfo_Capability_Type) Enum

func (FrameworkInfo_Capability_Type) EnumDescriptor added in v0.0.4

func (FrameworkInfo_Capability_Type) EnumDescriptor() ([]byte, []int)

func (FrameworkInfo_Capability_Type) MarshalJSON

func (x FrameworkInfo_Capability_Type) MarshalJSON() ([]byte, error)

func (FrameworkInfo_Capability_Type) String

func (*FrameworkInfo_Capability_Type) UnmarshalJSON

func (x *FrameworkInfo_Capability_Type) UnmarshalJSON(data []byte) error

type HealthCheck

type HealthCheck struct {
	// Amount of time to wait to start health checking the task after it
	// transitions to `TASK_RUNNING` or `TASK_STATING` if the latter is
	// used by the executor.
	DelaySeconds *float64 `protobuf:"fixed64,2,opt,name=delay_seconds,json=delaySeconds,def=15" json:"delay_seconds,omitempty"`
	// Interval between health checks, i.e., amount of time to wait after
	// the previous health check finished or timed out to start the next
	// health check.
	IntervalSeconds *float64 `protobuf:"fixed64,3,opt,name=interval_seconds,json=intervalSeconds,def=10" json:"interval_seconds,omitempty"`
	// Amount of time to wait for the health check to complete. After this
	// timeout, the health check is aborted and treated as a failure. Zero
	// means infinite timeout.
	TimeoutSeconds *float64 `protobuf:"fixed64,4,opt,name=timeout_seconds,json=timeoutSeconds,def=20" json:"timeout_seconds,omitempty"`
	// Number of consecutive failures until the task is killed by the executor.
	ConsecutiveFailures *uint32 `protobuf:"varint,5,opt,name=consecutive_failures,json=consecutiveFailures,def=3" json:"consecutive_failures,omitempty"`
	// Amount of time after the task is launched during which health check
	// failures are ignored. Once a check succeeds for the first time,
	// the grace period does not apply anymore. Note that it includes
	// `delay_seconds`, i.e., setting `grace_period_seconds` < `delay_seconds`
	// has no effect.
	GracePeriodSeconds *float64 `protobuf:"fixed64,6,opt,name=grace_period_seconds,json=gracePeriodSeconds,def=10" json:"grace_period_seconds,omitempty"`
	// The type of health check.
	Type HealthCheck_Type `protobuf:"varint,8,opt,name=type,enum=mesos.HealthCheck_Type" json:"type"`
	// Command health check.
	Command *CommandInfo `protobuf:"bytes,7,opt,name=command" json:"command,omitempty"`
	// HTTP health check.
	HTTP *HealthCheck_HTTPCheckInfo `protobuf:"bytes,1,opt,name=http" json:"http,omitempty"`
	// TCP health check.
	TCP *HealthCheck_TCPCheckInfo `protobuf:"bytes,9,opt,name=tcp" json:"tcp,omitempty"`
}

* Describes a health check for a task or executor (or any arbitrary process/command). A type is picked by specifying one of the optional fields. Specifying more than one type is an error.

func NewPopulatedHealthCheck

func NewPopulatedHealthCheck(r randyMesos, easy bool) *HealthCheck

func (*HealthCheck) Descriptor added in v0.0.4

func (*HealthCheck) Descriptor() ([]byte, []int)

func (*HealthCheck) Equal

func (this *HealthCheck) Equal(that interface{}) bool

func (*HealthCheck) GetCommand

func (m *HealthCheck) GetCommand() *CommandInfo

func (*HealthCheck) GetConsecutiveFailures

func (m *HealthCheck) GetConsecutiveFailures() uint32

func (*HealthCheck) GetDelaySeconds

func (m *HealthCheck) GetDelaySeconds() float64

func (*HealthCheck) GetGracePeriodSeconds

func (m *HealthCheck) GetGracePeriodSeconds() float64

func (*HealthCheck) GetHTTP

func (m *HealthCheck) GetHTTP() *HealthCheck_HTTPCheckInfo

func (*HealthCheck) GetIntervalSeconds

func (m *HealthCheck) GetIntervalSeconds() float64

func (*HealthCheck) GetTCP

func (*HealthCheck) GetTimeoutSeconds

func (m *HealthCheck) GetTimeoutSeconds() float64

func (*HealthCheck) GetType

func (m *HealthCheck) GetType() HealthCheck_Type

func (*HealthCheck) GoString

func (this *HealthCheck) GoString() string

func (*HealthCheck) Marshal

func (m *HealthCheck) Marshal() (dAtA []byte, err error)

func (*HealthCheck) MarshalJSON

func (mj *HealthCheck) MarshalJSON() ([]byte, error)

func (*HealthCheck) MarshalJSONBuf

func (mj *HealthCheck) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*HealthCheck) MarshalTo

func (m *HealthCheck) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheck) ProtoMessage

func (*HealthCheck) ProtoMessage()

func (*HealthCheck) ProtoSize added in v0.0.4

func (m *HealthCheck) ProtoSize() (n int)

func (*HealthCheck) Reset

func (m *HealthCheck) Reset()

func (*HealthCheck) String

func (this *HealthCheck) String() string

func (*HealthCheck) Unmarshal

func (m *HealthCheck) Unmarshal(dAtA []byte) error

func (*HealthCheck) UnmarshalJSON

func (uj *HealthCheck) UnmarshalJSON(input []byte) error

func (*HealthCheck) UnmarshalJSONFFLexer

func (uj *HealthCheck) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*HealthCheck) VerboseEqual

func (this *HealthCheck) VerboseEqual(that interface{}) error

type HealthCheck_HTTPCheckInfo

type HealthCheck_HTTPCheckInfo struct {
	Protocol *NetworkInfo_Protocol `protobuf:"varint,5,opt,name=protocol,enum=mesos.NetworkInfo_Protocol,def=1" json:"protocol,omitempty"`
	// Currently "http" and "https" are supported.
	Scheme *string `protobuf:"bytes,3,opt,name=scheme" json:"scheme,omitempty"`
	// Port to send the HTTP request.
	Port uint32 `protobuf:"varint,1,req,name=port" json:"port"`
	// HTTP request path.
	Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	// NOTE: It is up to the custom executor to interpret and act on this
	// field. Setting this field has no effect on the default executors.
	//
	// TODO(haosdent): Deprecate this field when we add better support for
	// success and possibly failure statuses, e.g. ranges of success and
	// failure statuses.
	Statuses []uint32 `protobuf:"varint,4,rep,name=statuses" json:"statuses,omitempty"`
}

Describes an HTTP health check. Sends a GET request to scheme://<host>:port/path. Note that <host> is not configurable and is resolved automatically, in most cases to 127.0.0.1. Default executors treat return codes between 200 and 399 as success; custom executors may employ a different strategy, e.g. leveraging the `statuses` field.

func NewPopulatedHealthCheck_HTTPCheckInfo

func NewPopulatedHealthCheck_HTTPCheckInfo(r randyMesos, easy bool) *HealthCheck_HTTPCheckInfo

func (*HealthCheck_HTTPCheckInfo) Descriptor added in v0.0.4

func (*HealthCheck_HTTPCheckInfo) Descriptor() ([]byte, []int)

func (*HealthCheck_HTTPCheckInfo) Equal

func (this *HealthCheck_HTTPCheckInfo) Equal(that interface{}) bool

func (*HealthCheck_HTTPCheckInfo) GetPath

func (m *HealthCheck_HTTPCheckInfo) GetPath() string

func (*HealthCheck_HTTPCheckInfo) GetPort

func (m *HealthCheck_HTTPCheckInfo) GetPort() uint32

func (*HealthCheck_HTTPCheckInfo) GetProtocol added in v0.0.7

func (*HealthCheck_HTTPCheckInfo) GetScheme

func (m *HealthCheck_HTTPCheckInfo) GetScheme() string

func (*HealthCheck_HTTPCheckInfo) GetStatuses

func (m *HealthCheck_HTTPCheckInfo) GetStatuses() []uint32

func (*HealthCheck_HTTPCheckInfo) GoString

func (this *HealthCheck_HTTPCheckInfo) GoString() string

func (*HealthCheck_HTTPCheckInfo) Marshal

func (m *HealthCheck_HTTPCheckInfo) Marshal() (dAtA []byte, err error)

func (*HealthCheck_HTTPCheckInfo) MarshalJSON

func (mj *HealthCheck_HTTPCheckInfo) MarshalJSON() ([]byte, error)

func (*HealthCheck_HTTPCheckInfo) MarshalJSONBuf

func (mj *HealthCheck_HTTPCheckInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*HealthCheck_HTTPCheckInfo) MarshalTo

func (m *HealthCheck_HTTPCheckInfo) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheck_HTTPCheckInfo) ProtoMessage

func (*HealthCheck_HTTPCheckInfo) ProtoMessage()

func (*HealthCheck_HTTPCheckInfo) ProtoSize added in v0.0.4

func (m *HealthCheck_HTTPCheckInfo) ProtoSize() (n int)

func (*HealthCheck_HTTPCheckInfo) Reset

func (m *HealthCheck_HTTPCheckInfo) Reset()

func (*HealthCheck_HTTPCheckInfo) String

func (this *HealthCheck_HTTPCheckInfo) String() string

func (*HealthCheck_HTTPCheckInfo) Unmarshal

func (m *HealthCheck_HTTPCheckInfo) Unmarshal(dAtA []byte) error

func (*HealthCheck_HTTPCheckInfo) UnmarshalJSON

func (uj *HealthCheck_HTTPCheckInfo) UnmarshalJSON(input []byte) error

func (*HealthCheck_HTTPCheckInfo) UnmarshalJSONFFLexer

func (uj *HealthCheck_HTTPCheckInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*HealthCheck_HTTPCheckInfo) VerboseEqual

func (this *HealthCheck_HTTPCheckInfo) VerboseEqual(that interface{}) error

type HealthCheck_TCPCheckInfo

type HealthCheck_TCPCheckInfo struct {
	Protocol *NetworkInfo_Protocol `protobuf:"varint,2,opt,name=protocol,enum=mesos.NetworkInfo_Protocol,def=1" json:"protocol,omitempty"`
	// Port expected to be open.
	Port uint32 `protobuf:"varint,1,req,name=port" json:"port"`
}

Describes a TCP health check, i.e. based on establishing a TCP connection to the specified port.

func NewPopulatedHealthCheck_TCPCheckInfo

func NewPopulatedHealthCheck_TCPCheckInfo(r randyMesos, easy bool) *HealthCheck_TCPCheckInfo

func (*HealthCheck_TCPCheckInfo) Descriptor added in v0.0.4

func (*HealthCheck_TCPCheckInfo) Descriptor() ([]byte, []int)

func (*HealthCheck_TCPCheckInfo) Equal

func (this *HealthCheck_TCPCheckInfo) Equal(that interface{}) bool

func (*HealthCheck_TCPCheckInfo) GetPort

func (m *HealthCheck_TCPCheckInfo) GetPort() uint32

func (*HealthCheck_TCPCheckInfo) GetProtocol added in v0.0.7

func (*HealthCheck_TCPCheckInfo) GoString

func (this *HealthCheck_TCPCheckInfo) GoString() string

func (*HealthCheck_TCPCheckInfo) Marshal

func (m *HealthCheck_TCPCheckInfo) Marshal() (dAtA []byte, err error)

func (*HealthCheck_TCPCheckInfo) MarshalJSON

func (mj *HealthCheck_TCPCheckInfo) MarshalJSON() ([]byte, error)

func (*HealthCheck_TCPCheckInfo) MarshalJSONBuf

func (mj *HealthCheck_TCPCheckInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*HealthCheck_TCPCheckInfo) MarshalTo

func (m *HealthCheck_TCPCheckInfo) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheck_TCPCheckInfo) ProtoMessage

func (*HealthCheck_TCPCheckInfo) ProtoMessage()

func (*HealthCheck_TCPCheckInfo) ProtoSize added in v0.0.4

func (m *HealthCheck_TCPCheckInfo) ProtoSize() (n int)

func (*HealthCheck_TCPCheckInfo) Reset

func (m *HealthCheck_TCPCheckInfo) Reset()

func (*HealthCheck_TCPCheckInfo) String

func (this *HealthCheck_TCPCheckInfo) String() string

func (*HealthCheck_TCPCheckInfo) Unmarshal

func (m *HealthCheck_TCPCheckInfo) Unmarshal(dAtA []byte) error

func (*HealthCheck_TCPCheckInfo) UnmarshalJSON

func (uj *HealthCheck_TCPCheckInfo) UnmarshalJSON(input []byte) error

func (*HealthCheck_TCPCheckInfo) UnmarshalJSONFFLexer

func (uj *HealthCheck_TCPCheckInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*HealthCheck_TCPCheckInfo) VerboseEqual

func (this *HealthCheck_TCPCheckInfo) VerboseEqual(that interface{}) error

type HealthCheck_Type

type HealthCheck_Type int32
const (
	HealthCheck_UNKNOWN HealthCheck_Type = 0
	HealthCheck_COMMAND HealthCheck_Type = 1
	HealthCheck_HTTP    HealthCheck_Type = 2
	HealthCheck_TCP     HealthCheck_Type = 3
)

func (HealthCheck_Type) Enum

func (HealthCheck_Type) EnumDescriptor added in v0.0.4

func (HealthCheck_Type) EnumDescriptor() ([]byte, []int)

func (HealthCheck_Type) MarshalJSON

func (x HealthCheck_Type) MarshalJSON() ([]byte, error)

func (HealthCheck_Type) String

func (x HealthCheck_Type) String() string

func (*HealthCheck_Type) UnmarshalJSON

func (x *HealthCheck_Type) UnmarshalJSON(data []byte) error

type IcmpStatistics

type IcmpStatistics struct {
	InMsgs           *int64 `protobuf:"varint,1,opt,name=InMsgs" json:"InMsgs,omitempty"`
	InErrors         *int64 `protobuf:"varint,2,opt,name=InErrors" json:"InErrors,omitempty"`
	InCsumErrors     *int64 `protobuf:"varint,3,opt,name=InCsumErrors" json:"InCsumErrors,omitempty"`
	InDestUnreachs   *int64 `protobuf:"varint,4,opt,name=InDestUnreachs" json:"InDestUnreachs,omitempty"`
	InTimeExcds      *int64 `protobuf:"varint,5,opt,name=InTimeExcds" json:"InTimeExcds,omitempty"`
	InParmProbs      *int64 `protobuf:"varint,6,opt,name=InParmProbs" json:"InParmProbs,omitempty"`
	InSrcQuenchs     *int64 `protobuf:"varint,7,opt,name=InSrcQuenchs" json:"InSrcQuenchs,omitempty"`
	InRedirects      *int64 `protobuf:"varint,8,opt,name=InRedirects" json:"InRedirects,omitempty"`
	InEchos          *int64 `protobuf:"varint,9,opt,name=InEchos" json:"InEchos,omitempty"`
	InEchoReps       *int64 `protobuf:"varint,10,opt,name=InEchoReps" json:"InEchoReps,omitempty"`
	InTimestamps     *int64 `protobuf:"varint,11,opt,name=InTimestamps" json:"InTimestamps,omitempty"`
	InTimestampReps  *int64 `protobuf:"varint,12,opt,name=InTimestampReps" json:"InTimestampReps,omitempty"`
	InAddrMasks      *int64 `protobuf:"varint,13,opt,name=InAddrMasks" json:"InAddrMasks,omitempty"`
	InAddrMaskReps   *int64 `protobuf:"varint,14,opt,name=InAddrMaskReps" json:"InAddrMaskReps,omitempty"`
	OutMsgs          *int64 `protobuf:"varint,15,opt,name=OutMsgs" json:"OutMsgs,omitempty"`
	OutErrors        *int64 `protobuf:"varint,16,opt,name=OutErrors" json:"OutErrors,omitempty"`
	OutDestUnreachs  *int64 `protobuf:"varint,17,opt,name=OutDestUnreachs" json:"OutDestUnreachs,omitempty"`
	OutTimeExcds     *int64 `protobuf:"varint,18,opt,name=OutTimeExcds" json:"OutTimeExcds,omitempty"`
	OutParmProbs     *int64 `protobuf:"varint,19,opt,name=OutParmProbs" json:"OutParmProbs,omitempty"`
	OutSrcQuenchs    *int64 `protobuf:"varint,20,opt,name=OutSrcQuenchs" json:"OutSrcQuenchs,omitempty"`
	OutRedirects     *int64 `protobuf:"varint,21,opt,name=OutRedirects" json:"OutRedirects,omitempty"`
	OutEchos         *int64 `protobuf:"varint,22,opt,name=OutEchos" json:"OutEchos,omitempty"`
	OutEchoReps      *int64 `protobuf:"varint,23,opt,name=OutEchoReps" json:"OutEchoReps,omitempty"`
	OutTimestamps    *int64 `protobuf:"varint,24,opt,name=OutTimestamps" json:"OutTimestamps,omitempty"`
	OutTimestampReps *int64 `protobuf:"varint,25,opt,name=OutTimestampReps" json:"OutTimestampReps,omitempty"`
	OutAddrMasks     *int64 `protobuf:"varint,26,opt,name=OutAddrMasks" json:"OutAddrMasks,omitempty"`
	OutAddrMaskReps  *int64 `protobuf:"varint,27,opt,name=OutAddrMaskReps" json:"OutAddrMaskReps,omitempty"`
}

func NewPopulatedIcmpStatistics

func NewPopulatedIcmpStatistics(r randyMesos, easy bool) *IcmpStatistics

func (*IcmpStatistics) Descriptor added in v0.0.4

func (*IcmpStatistics) Descriptor() ([]byte, []int)

func (*IcmpStatistics) Equal

func (this *IcmpStatistics) Equal(that interface{}) bool

func (*IcmpStatistics) GetInAddrMaskReps

func (m *IcmpStatistics) GetInAddrMaskReps() int64

func (*IcmpStatistics) GetInAddrMasks

func (m *IcmpStatistics) GetInAddrMasks() int64

func (*IcmpStatistics) GetInCsumErrors

func (m *IcmpStatistics) GetInCsumErrors() int64

func (*IcmpStatistics) GetInDestUnreachs

func (m *IcmpStatistics) GetInDestUnreachs() int64

func (*IcmpStatistics) GetInEchoReps

func (m *IcmpStatistics) GetInEchoReps() int64

func (*IcmpStatistics) GetInEchos

func (m *IcmpStatistics) GetInEchos() int64

func (*IcmpStatistics) GetInErrors

func (m *IcmpStatistics) GetInErrors() int64

func (*IcmpStatistics) GetInMsgs

func (m *IcmpStatistics) GetInMsgs() int64

func (*IcmpStatistics) GetInParmProbs

func (m *IcmpStatistics) GetInParmProbs() int64

func (*IcmpStatistics) GetInRedirects

func (m *IcmpStatistics) GetInRedirects() int64

func (*IcmpStatistics) GetInSrcQuenchs

func (m *IcmpStatistics) GetInSrcQuenchs() int64

func (*IcmpStatistics) GetInTimeExcds

func (m *IcmpStatistics) GetInTimeExcds() int64

func (*IcmpStatistics) GetInTimestampReps

func (m *IcmpStatistics) GetInTimestampReps() int64

func (*IcmpStatistics) GetInTimestamps

func (m *IcmpStatistics) GetInTimestamps() int64

func (*IcmpStatistics) GetOutAddrMaskReps

func (m *IcmpStatistics) GetOutAddrMaskReps() int64

func (*IcmpStatistics) GetOutAddrMasks

func (m *IcmpStatistics) GetOutAddrMasks() int64

func (*IcmpStatistics) GetOutDestUnreachs

func (m *IcmpStatistics) GetOutDestUnreachs() int64

func (*IcmpStatistics) GetOutEchoReps

func (m *IcmpStatistics) GetOutEchoReps() int64

func (*IcmpStatistics) GetOutEchos

func (m *IcmpStatistics) GetOutEchos() int64

func (*IcmpStatistics) GetOutErrors

func (m *IcmpStatistics) GetOutErrors() int64

func (*IcmpStatistics) GetOutMsgs

func (m *IcmpStatistics) GetOutMsgs() int64

func (*IcmpStatistics) GetOutParmProbs

func (m *IcmpStatistics) GetOutParmProbs() int64

func (*IcmpStatistics) GetOutRedirects

func (m *IcmpStatistics) GetOutRedirects() int64

func (*IcmpStatistics) GetOutSrcQuenchs

func (m *IcmpStatistics) GetOutSrcQuenchs() int64

func (*IcmpStatistics) GetOutTimeExcds

func (m *IcmpStatistics) GetOutTimeExcds() int64

func (*IcmpStatistics) GetOutTimestampReps

func (m *IcmpStatistics) GetOutTimestampReps() int64

func (*IcmpStatistics) GetOutTimestamps

func (m *IcmpStatistics) GetOutTimestamps() int64

func (*IcmpStatistics) GoString

func (this *IcmpStatistics) GoString() string

func (*IcmpStatistics) Marshal

func (m *IcmpStatistics) Marshal() (dAtA []byte, err error)

func (*IcmpStatistics) MarshalJSON

func (mj *IcmpStatistics) MarshalJSON() ([]byte, error)

func (*IcmpStatistics) MarshalJSONBuf

func (mj *IcmpStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*IcmpStatistics) MarshalTo

func (m *IcmpStatistics) MarshalTo(dAtA []byte) (int, error)

func (*IcmpStatistics) ProtoMessage

func (*IcmpStatistics) ProtoMessage()

func (*IcmpStatistics) ProtoSize added in v0.0.4

func (m *IcmpStatistics) ProtoSize() (n int)

func (*IcmpStatistics) Reset

func (m *IcmpStatistics) Reset()

func (*IcmpStatistics) String

func (this *IcmpStatistics) String() string

func (*IcmpStatistics) Unmarshal

func (m *IcmpStatistics) Unmarshal(dAtA []byte) error

func (*IcmpStatistics) UnmarshalJSON

func (uj *IcmpStatistics) UnmarshalJSON(input []byte) error

func (*IcmpStatistics) UnmarshalJSONFFLexer

func (uj *IcmpStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*IcmpStatistics) VerboseEqual

func (this *IcmpStatistics) VerboseEqual(that interface{}) error

type Image

type Image struct {
	Type *Image_Type `protobuf:"varint,1,req,name=type,enum=mesos.Image_Type" json:"type,omitempty"`
	// Only one of the following image messages should be set to match
	// the type.
	Appc   *Image_Appc   `protobuf:"bytes,2,opt,name=appc" json:"appc,omitempty"`
	Docker *Image_Docker `protobuf:"bytes,3,opt,name=docker" json:"docker,omitempty"`
	// With this flag set to false, the mesos containerizer will pull
	// the docker/appc image from the registry even if the image is
	// already downloaded on the agent.
	Cached *bool `protobuf:"varint,4,opt,name=cached,def=1" json:"cached,omitempty"`
}

* Describe an image used by tasks or executors. Note that it's only for tasks or executors launched by MesosContainerizer currently.

func NewPopulatedImage

func NewPopulatedImage(r randyMesos, easy bool) *Image

func (*Image) Descriptor added in v0.0.4

func (*Image) Descriptor() ([]byte, []int)

func (*Image) Equal

func (this *Image) Equal(that interface{}) bool

func (*Image) GetAppc

func (m *Image) GetAppc() *Image_Appc

func (*Image) GetCached

func (m *Image) GetCached() bool

func (*Image) GetDocker

func (m *Image) GetDocker() *Image_Docker

func (*Image) GetType

func (m *Image) GetType() Image_Type

func (*Image) GoString

func (this *Image) GoString() string

func (*Image) Marshal

func (m *Image) Marshal() (dAtA []byte, err error)

func (*Image) MarshalJSON

func (mj *Image) MarshalJSON() ([]byte, error)

func (*Image) MarshalJSONBuf

func (mj *Image) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Image) MarshalTo

func (m *Image) MarshalTo(dAtA []byte) (int, error)

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoSize added in v0.0.4

func (m *Image) ProtoSize() (n int)

func (*Image) Reset

func (m *Image) Reset()

func (*Image) String

func (this *Image) String() string

func (*Image) Unmarshal

func (m *Image) Unmarshal(dAtA []byte) error

func (*Image) UnmarshalJSON

func (uj *Image) UnmarshalJSON(input []byte) error

func (*Image) UnmarshalJSONFFLexer

func (uj *Image) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Image) VerboseEqual

func (this *Image) VerboseEqual(that interface{}) error

type Image_Appc

type Image_Appc struct {
	// The name of the image.
	Name string `protobuf:"bytes,1,req,name=name" json:"name"`
	// An image ID is a string of the format "hash-value", where
	// "hash" is the hash algorithm used and "value" is the hex
	// encoded string of the digest. Currently the only permitted
	// hash algorithm is sha512.
	ID *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	// Optional labels. Suggested labels: "version", "os", and "arch".
	Labels *Labels `protobuf:"bytes,3,opt,name=labels" json:"labels,omitempty"`
}

Protobuf for specifying an Appc container image. See: https://github.com/appc/spec/blob/master/spec/aci.md

func NewPopulatedImage_Appc

func NewPopulatedImage_Appc(r randyMesos, easy bool) *Image_Appc

func (*Image_Appc) Descriptor added in v0.0.4

func (*Image_Appc) Descriptor() ([]byte, []int)

func (*Image_Appc) Equal

func (this *Image_Appc) Equal(that interface{}) bool

func (*Image_Appc) GetID

func (m *Image_Appc) GetID() string

func (*Image_Appc) GetLabels

func (m *Image_Appc) GetLabels() *Labels

func (*Image_Appc) GetName

func (m *Image_Appc) GetName() string

func (*Image_Appc) GoString

func (this *Image_Appc) GoString() string

func (*Image_Appc) Marshal

func (m *Image_Appc) Marshal() (dAtA []byte, err error)

func (*Image_Appc) MarshalJSON

func (mj *Image_Appc) MarshalJSON() ([]byte, error)

func (*Image_Appc) MarshalJSONBuf

func (mj *Image_Appc) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Image_Appc) MarshalTo

func (m *Image_Appc) MarshalTo(dAtA []byte) (int, error)

func (*Image_Appc) ProtoMessage

func (*Image_Appc) ProtoMessage()

func (*Image_Appc) ProtoSize added in v0.0.4

func (m *Image_Appc) ProtoSize() (n int)

func (*Image_Appc) Reset

func (m *Image_Appc) Reset()

func (*Image_Appc) String

func (this *Image_Appc) String() string

func (*Image_Appc) Unmarshal

func (m *Image_Appc) Unmarshal(dAtA []byte) error

func (*Image_Appc) UnmarshalJSON

func (uj *Image_Appc) UnmarshalJSON(input []byte) error

func (*Image_Appc) UnmarshalJSONFFLexer

func (uj *Image_Appc) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Image_Appc) VerboseEqual

func (this *Image_Appc) VerboseEqual(that interface{}) error

type Image_Docker

type Image_Docker struct {
	// The name of the image. Expected format:
	//   [REGISTRY_HOST[:REGISTRY_PORT]/]REPOSITORY[:TAG|@TYPE:DIGEST]
	//
	// See: https://docs.docker.com/reference/commandline/pull/
	Name string `protobuf:"bytes,1,req,name=name" json:"name"`
	// Credential to authenticate with docker registry.
	// NOTE: This is not encrypted, therefore framework and operators
	// should enable SSL when passing this information.
	//
	// This field has never been used in Mesos before and is
	// deprecated since Mesos 1.3. Please use `config` below
	// (see MESOS-7088 for details).
	Credential *Credential `protobuf:"bytes,2,opt,name=credential" json:"credential,omitempty"`
	// Docker config containing credentials to authenticate with
	// docker registry. The secret is expected to be a docker
	// config file in JSON format with UTF-8 character encoding.
	Config *Secret `protobuf:"bytes,3,opt,name=config" json:"config,omitempty"`
}

func NewPopulatedImage_Docker

func NewPopulatedImage_Docker(r randyMesos, easy bool) *Image_Docker

func (*Image_Docker) Descriptor added in v0.0.4

func (*Image_Docker) Descriptor() ([]byte, []int)

func (*Image_Docker) Equal

func (this *Image_Docker) Equal(that interface{}) bool

func (*Image_Docker) GetConfig added in v0.0.5

func (m *Image_Docker) GetConfig() *Secret

func (*Image_Docker) GetCredential

func (m *Image_Docker) GetCredential() *Credential

func (*Image_Docker) GetName

func (m *Image_Docker) GetName() string

func (*Image_Docker) GoString

func (this *Image_Docker) GoString() string

func (*Image_Docker) Marshal

func (m *Image_Docker) Marshal() (dAtA []byte, err error)

func (*Image_Docker) MarshalJSON

func (mj *Image_Docker) MarshalJSON() ([]byte, error)

func (*Image_Docker) MarshalJSONBuf

func (mj *Image_Docker) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Image_Docker) MarshalTo

func (m *Image_Docker) MarshalTo(dAtA []byte) (int, error)

func (*Image_Docker) ProtoMessage

func (*Image_Docker) ProtoMessage()

func (*Image_Docker) ProtoSize added in v0.0.4

func (m *Image_Docker) ProtoSize() (n int)

func (*Image_Docker) Reset

func (m *Image_Docker) Reset()

func (*Image_Docker) String

func (this *Image_Docker) String() string

func (*Image_Docker) Unmarshal

func (m *Image_Docker) Unmarshal(dAtA []byte) error

func (*Image_Docker) UnmarshalJSON

func (uj *Image_Docker) UnmarshalJSON(input []byte) error

func (*Image_Docker) UnmarshalJSONFFLexer

func (uj *Image_Docker) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Image_Docker) VerboseEqual

func (this *Image_Docker) VerboseEqual(that interface{}) error

type Image_Type

type Image_Type int32
const (
	Image_APPC   Image_Type = 1
	Image_DOCKER Image_Type = 2
)

func (Image_Type) Enum

func (x Image_Type) Enum() *Image_Type

func (Image_Type) EnumDescriptor added in v0.0.4

func (Image_Type) EnumDescriptor() ([]byte, []int)

func (Image_Type) MarshalJSON

func (x Image_Type) MarshalJSON() ([]byte, error)

func (Image_Type) String

func (x Image_Type) String() string

func (*Image_Type) UnmarshalJSON

func (x *Image_Type) UnmarshalJSON(data []byte) error

type InverseOffer

type InverseOffer struct {
	// This is the same OfferID as found in normal offers, which allows
	// re-use of some of the OfferID-only messages.
	OfferID OfferID `protobuf:"bytes,1,req,name=id" json:"id"`
	// URL for reaching the agent running on the host.  This enables some
	// optimizations as described in MESOS-3012, such as allowing the
	// scheduler driver to bypass the master and talk directly with an agent.
	URL *URL `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	// The framework that should release its resources.
	// If no specifics are provided (i.e. which agent), all the framework's
	// resources are requested back.
	FrameworkID FrameworkID `protobuf:"bytes,3,req,name=framework_id,json=frameworkId" json:"framework_id"`
	// Specified if the resources need to be released from a particular agent.
	// All the framework's resources on this agent are requested back,
	// unless further qualified by the `resources` field.
	AgentID *AgentID `protobuf:"bytes,4,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"`
	// This InverseOffer represents a planned unavailability event in the
	// specified interval.  Any tasks running on the given framework or agent
	// may be killed when the interval arrives.  Therefore, frameworks should
	// aim to gracefully terminate tasks prior to the arrival of the interval.
	//
	// For reserved resources, the resources are expected to be returned to the
	// framework after the unavailability interval.  This is an expectation,
	// not a guarantee.  For example, if the unavailability duration is not set,
	// the resources may be removed permanently.
	//
	// For other resources, there is no guarantee that requested resources will
	// be returned after the unavailability interval.  The allocator has no
	// obligation to re-offer these resources to the prior framework after
	// the unavailability.
	Unavailability Unavailability `protobuf:"bytes,5,req,name=unavailability" json:"unavailability"`
	// A list of resources being requested back from the framework,
	// on the agent identified by `agent_id`.  If no resources are specified
	// then all resources are being requested back.  For the purpose of
	// maintenance, this field is always empty (maintenance always requests
	// all resources back).
	Resources []Resource `protobuf:"bytes,6,rep,name=resources" json:"resources"`
}

* A request to return some resources occupied by a framework.

func NewPopulatedInverseOffer

func NewPopulatedInverseOffer(r randyMesos, easy bool) *InverseOffer

func (*InverseOffer) Descriptor added in v0.0.4

func (*InverseOffer) Descriptor() ([]byte, []int)

func (*InverseOffer) Equal

func (this *InverseOffer) Equal(that interface{}) bool

func (*InverseOffer) GetAgentID

func (m *InverseOffer) GetAgentID() *AgentID

func (*InverseOffer) GetFrameworkID

func (m *InverseOffer) GetFrameworkID() FrameworkID

func (*InverseOffer) GetOfferID

func (m *InverseOffer) GetOfferID() OfferID

func (*InverseOffer) GetResources

func (m *InverseOffer) GetResources() []Resource

func (*InverseOffer) GetURL

func (m *InverseOffer) GetURL() *URL

func (*InverseOffer) GetUnavailability

func (m *InverseOffer) GetUnavailability() Unavailability

func (*InverseOffer) GoString

func (this *InverseOffer) GoString() string

func (*InverseOffer) Marshal

func (m *InverseOffer) Marshal() (dAtA []byte, err error)

func (*InverseOffer) MarshalJSON

func (mj *InverseOffer) MarshalJSON() ([]byte, error)

func (*InverseOffer) MarshalJSONBuf

func (mj *InverseOffer) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*InverseOffer) MarshalTo

func (m *InverseOffer) MarshalTo(dAtA []byte) (int, error)

func (*InverseOffer) ProtoMessage

func (*InverseOffer) ProtoMessage()

func (*InverseOffer) ProtoSize added in v0.0.4

func (m *InverseOffer) ProtoSize() (n int)

func (*InverseOffer) Reset

func (m *InverseOffer) Reset()

func (*InverseOffer) String

func (this *InverseOffer) String() string

func (*InverseOffer) Unmarshal

func (m *InverseOffer) Unmarshal(dAtA []byte) error

func (*InverseOffer) UnmarshalJSON

func (uj *InverseOffer) UnmarshalJSON(input []byte) error

func (*InverseOffer) UnmarshalJSONFFLexer

func (uj *InverseOffer) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*InverseOffer) VerboseEqual

func (this *InverseOffer) VerboseEqual(that interface{}) error

type IpStatistics

type IpStatistics struct {
	Forwarding      *int64 `protobuf:"varint,1,opt,name=Forwarding" json:"Forwarding,omitempty"`
	DefaultTTL      *int64 `protobuf:"varint,2,opt,name=DefaultTTL" json:"DefaultTTL,omitempty"`
	InReceives      *int64 `protobuf:"varint,3,opt,name=InReceives" json:"InReceives,omitempty"`
	InHdrErrors     *int64 `protobuf:"varint,4,opt,name=InHdrErrors" json:"InHdrErrors,omitempty"`
	InAddrErrors    *int64 `protobuf:"varint,5,opt,name=InAddrErrors" json:"InAddrErrors,omitempty"`
	ForwDatagrams   *int64 `protobuf:"varint,6,opt,name=ForwDatagrams" json:"ForwDatagrams,omitempty"`
	InUnknownProtos *int64 `protobuf:"varint,7,opt,name=InUnknownProtos" json:"InUnknownProtos,omitempty"`
	InDiscards      *int64 `protobuf:"varint,8,opt,name=InDiscards" json:"InDiscards,omitempty"`
	InDelivers      *int64 `protobuf:"varint,9,opt,name=InDelivers" json:"InDelivers,omitempty"`
	OutRequests     *int64 `protobuf:"varint,10,opt,name=OutRequests" json:"OutRequests,omitempty"`
	OutDiscards     *int64 `protobuf:"varint,11,opt,name=OutDiscards" json:"OutDiscards,omitempty"`
	OutNoRoutes     *int64 `protobuf:"varint,12,opt,name=OutNoRoutes" json:"OutNoRoutes,omitempty"`
	ReasmTimeout    *int64 `protobuf:"varint,13,opt,name=ReasmTimeout" json:"ReasmTimeout,omitempty"`
	ReasmReqds      *int64 `protobuf:"varint,14,opt,name=ReasmReqds" json:"ReasmReqds,omitempty"`
	ReasmOKs        *int64 `protobuf:"varint,15,opt,name=ReasmOKs" json:"ReasmOKs,omitempty"`
	ReasmFails      *int64 `protobuf:"varint,16,opt,name=ReasmFails" json:"ReasmFails,omitempty"`
	FragOKs         *int64 `protobuf:"varint,17,opt,name=FragOKs" json:"FragOKs,omitempty"`
	FragFails       *int64 `protobuf:"varint,18,opt,name=FragFails" json:"FragFails,omitempty"`
	FragCreates     *int64 `protobuf:"varint,19,opt,name=FragCreates" json:"FragCreates,omitempty"`
}

func NewPopulatedIpStatistics

func NewPopulatedIpStatistics(r randyMesos, easy bool) *IpStatistics

func (*IpStatistics) Descriptor added in v0.0.4

func (*IpStatistics) Descriptor() ([]byte, []int)

func (*IpStatistics) Equal

func (this *IpStatistics) Equal(that interface{}) bool

func (*IpStatistics) GetDefaultTTL

func (m *IpStatistics) GetDefaultTTL() int64

func (*IpStatistics) GetForwDatagrams

func (m *IpStatistics) GetForwDatagrams() int64

func (*IpStatistics) GetForwarding

func (m *IpStatistics) GetForwarding() int64

func (*IpStatistics) GetFragCreates

func (m *IpStatistics) GetFragCreates() int64

func (*IpStatistics) GetFragFails

func (m *IpStatistics) GetFragFails() int64

func (*IpStatistics) GetFragOKs

func (m *IpStatistics) GetFragOKs() int64

func (*IpStatistics) GetInAddrErrors

func (m *IpStatistics) GetInAddrErrors() int64

func (*IpStatistics) GetInDelivers

func (m *IpStatistics) GetInDelivers() int64

func (*IpStatistics) GetInDiscards

func (m *IpStatistics) GetInDiscards() int64

func (*IpStatistics) GetInHdrErrors

func (m *IpStatistics) GetInHdrErrors() int64

func (*IpStatistics) GetInReceives

func (m *IpStatistics) GetInReceives() int64

func (*IpStatistics) GetInUnknownProtos

func (m *IpStatistics) GetInUnknownProtos() int64

func (*IpStatistics) GetOutDiscards

func (m *IpStatistics) GetOutDiscards() int64

func (*IpStatistics) GetOutNoRoutes

func (m *IpStatistics) GetOutNoRoutes() int64

func (*IpStatistics) GetOutRequests

func (m *IpStatistics) GetOutRequests() int64

func (*IpStatistics) GetReasmFails

func (m *IpStatistics) GetReasmFails() int64

func (*IpStatistics) GetReasmOKs

func (m *IpStatistics) GetReasmOKs() int64

func (*IpStatistics) GetReasmReqds

func (m *IpStatistics) GetReasmReqds() int64

func (*IpStatistics) GetReasmTimeout

func (m *IpStatistics) GetReasmTimeout() int64

func (*IpStatistics) GoString

func (this *IpStatistics) GoString() string

func (*IpStatistics) Marshal

func (m *IpStatistics) Marshal() (dAtA []byte, err error)

func (*IpStatistics) MarshalJSON

func (mj *IpStatistics) MarshalJSON() ([]byte, error)

func (*IpStatistics) MarshalJSONBuf

func (mj *IpStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*IpStatistics) MarshalTo

func (m *IpStatistics) MarshalTo(dAtA []byte) (int, error)

func (*IpStatistics) ProtoMessage

func (*IpStatistics) ProtoMessage()

func (*IpStatistics) ProtoSize added in v0.0.4

func (m *IpStatistics) ProtoSize() (n int)

func (*IpStatistics) Reset

func (m *IpStatistics) Reset()

func (*IpStatistics) String

func (this *IpStatistics) String() string

func (*IpStatistics) Unmarshal

func (m *IpStatistics) Unmarshal(dAtA []byte) error

func (*IpStatistics) UnmarshalJSON

func (uj *IpStatistics) UnmarshalJSON(input []byte) error

func (*IpStatistics) UnmarshalJSONFFLexer

func (uj *IpStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*IpStatistics) VerboseEqual

func (this *IpStatistics) VerboseEqual(that interface{}) error

type KillPolicy

type KillPolicy struct {
	// The grace period specifies how long to wait before forcibly
	// killing the task. It is recommended to attempt to gracefully
	// kill the task (and send TASK_KILLING) to indicate that the
	// graceful kill is in progress. Once the grace period elapses,
	// if the task has not terminated, a forcible kill should occur.
	// The task should not assume that it will always be allotted
	// the full grace period. For example, the executor may be
	// shutdown more quickly by the agent, or failures / forcible
	// terminations may occur.
	GracePeriod *DurationInfo `protobuf:"bytes,1,opt,name=grace_period,json=gracePeriod" json:"grace_period,omitempty"`
}

* Describes a kill policy for a task. Currently does not express different policies (e.g. hitting HTTP endpoints), only controls how long to wait between graceful and forcible task kill:

graceful kill --------------> forcible kill
               grace_period

Kill policies are best-effort, because machine failures / forcible terminations may occur.

NOTE: For executor-less command-based tasks, the kill is performed via sending a signal to the task process: SIGTERM for the graceful kill and SIGKILL for the forcible kill. For the docker executor-less tasks the grace period is passed to 'docker stop --time'.

func NewPopulatedKillPolicy

func NewPopulatedKillPolicy(r randyMesos, easy bool) *KillPolicy

func (*KillPolicy) Descriptor added in v0.0.4

func (*KillPolicy) Descriptor() ([]byte, []int)

func (*KillPolicy) Equal

func (this *KillPolicy) Equal(that interface{}) bool

func (*KillPolicy) GetGracePeriod

func (m *KillPolicy) GetGracePeriod() *DurationInfo

func (*KillPolicy) GoString

func (this *KillPolicy) GoString() string

func (*KillPolicy) Marshal

func (m *KillPolicy) Marshal() (dAtA []byte, err error)

func (*KillPolicy) MarshalJSON

func (mj *KillPolicy) MarshalJSON() ([]byte, error)

func (*KillPolicy) MarshalJSONBuf

func (mj *KillPolicy) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*KillPolicy) MarshalTo

func (m *KillPolicy) MarshalTo(dAtA []byte) (int, error)

func (*KillPolicy) ProtoMessage

func (*KillPolicy) ProtoMessage()

func (*KillPolicy) ProtoSize added in v0.0.4

func (m *KillPolicy) ProtoSize() (n int)

func (*KillPolicy) Reset

func (m *KillPolicy) Reset()

func (*KillPolicy) String

func (this *KillPolicy) String() string

func (*KillPolicy) Unmarshal

func (m *KillPolicy) Unmarshal(dAtA []byte) error

func (*KillPolicy) UnmarshalJSON

func (uj *KillPolicy) UnmarshalJSON(input []byte) error

func (*KillPolicy) UnmarshalJSONFFLexer

func (uj *KillPolicy) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*KillPolicy) VerboseEqual

func (this *KillPolicy) VerboseEqual(that interface{}) error

type Label

type Label struct {
	Key   string  `protobuf:"bytes,1,req,name=key" json:"key"`
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

* Key, value pair used to store free form user-data.

func NewPopulatedLabel

func NewPopulatedLabel(r randyMesos, easy bool) *Label

func (*Label) Descriptor added in v0.0.4

func (*Label) Descriptor() ([]byte, []int)

func (*Label) Equal

func (this *Label) Equal(that interface{}) bool

func (Label) Equivalent added in v0.0.7

func (left Label) Equivalent(right Label) bool

Equivalent returns true if left and right represent the same Label.

func (*Label) GetKey

func (m *Label) GetKey() string

func (*Label) GetValue

func (m *Label) GetValue() string

func (*Label) GoString

func (this *Label) GoString() string

func (*Label) Marshal

func (m *Label) Marshal() (dAtA []byte, err error)

func (*Label) MarshalJSON

func (mj *Label) MarshalJSON() ([]byte, error)

func (*Label) MarshalJSONBuf

func (mj *Label) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Label) MarshalTo

func (m *Label) MarshalTo(dAtA []byte) (int, error)

func (*Label) ProtoMessage

func (*Label) ProtoMessage()

func (*Label) ProtoSize added in v0.0.4

func (m *Label) ProtoSize() (n int)

func (*Label) Reset

func (m *Label) Reset()

func (*Label) String

func (this *Label) String() string

func (*Label) Unmarshal

func (m *Label) Unmarshal(dAtA []byte) error

func (*Label) UnmarshalJSON

func (uj *Label) UnmarshalJSON(input []byte) error

func (*Label) UnmarshalJSONFFLexer

func (uj *Label) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Label) VerboseEqual

func (this *Label) VerboseEqual(that interface{}) error

type Labels

type Labels struct {
	Labels []Label `protobuf:"bytes,1,rep,name=labels" json:"labels"`
}

* Collection of labels. Labels should not contain duplicate key-value pairs.

func NewPopulatedLabels

func NewPopulatedLabels(r randyMesos, easy bool) *Labels

func (*Labels) Descriptor added in v0.0.4

func (*Labels) Descriptor() ([]byte, []int)

func (*Labels) Equal

func (this *Labels) Equal(that interface{}) bool

func (*Labels) Equivalent added in v0.0.7

func (left *Labels) Equivalent(right *Labels) bool

Equivalent returns true if left and right have the same labels. Order is not important.

func (*Labels) Format added in v0.0.7

func (left *Labels) Format() string

func (*Labels) GetLabels

func (m *Labels) GetLabels() []Label

func (*Labels) GoString

func (this *Labels) GoString() string

func (*Labels) Marshal

func (m *Labels) Marshal() (dAtA []byte, err error)

func (*Labels) MarshalJSON

func (mj *Labels) MarshalJSON() ([]byte, error)

func (*Labels) MarshalJSONBuf

func (mj *Labels) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Labels) MarshalTo

func (m *Labels) MarshalTo(dAtA []byte) (int, error)

func (*Labels) ProtoMessage

func (*Labels) ProtoMessage()

func (*Labels) ProtoSize added in v0.0.4

func (m *Labels) ProtoSize() (n int)

func (*Labels) Reset

func (m *Labels) Reset()

func (*Labels) String

func (this *Labels) String() string

func (*Labels) Unmarshal

func (m *Labels) Unmarshal(dAtA []byte) error

func (*Labels) UnmarshalJSON

func (uj *Labels) UnmarshalJSON(input []byte) error

func (*Labels) UnmarshalJSONFFLexer

func (uj *Labels) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Labels) VerboseEqual

func (this *Labels) VerboseEqual(that interface{}) error

type LinuxInfo

type LinuxInfo struct {
	// Since 1.4.0, deprecated in favor of `effective_capabilities`.
	CapabilityInfo *CapabilityInfo `protobuf:"bytes,1,opt,name=capability_info,json=capabilityInfo" json:"capability_info,omitempty"`
	// The set of capabilities that are allowed but not initially
	// granted to tasks.
	BoundingCapabilities *CapabilityInfo `protobuf:"bytes,2,opt,name=bounding_capabilities,json=boundingCapabilities" json:"bounding_capabilities,omitempty"`
	// Represents the set of capabilities that the task will
	// be executed with.
	EffectiveCapabilities *CapabilityInfo `protobuf:"bytes,3,opt,name=effective_capabilities,json=effectiveCapabilities" json:"effective_capabilities,omitempty"`
	// If set as 'true', the container shares the pid namespace with
	// its parent. If the container is a top level container, it will
	// share the pid namespace with the agent. If the container is a
	// nested container, it will share the pid namespace with its
	// parent container. This field will be ignored if 'namespaces/pid'
	// isolator is not enabled.
	SharePIDNamespace *bool `protobuf:"varint,4,opt,name=share_pid_namespace,json=sharePidNamespace" json:"share_pid_namespace,omitempty"`
	// Represents Seccomp configuration, which is used for syscall filtering.
	// This field is used to override the agent's default Seccomp configuration.
	Seccomp *SeccompInfo `protobuf:"bytes,5,opt,name=seccomp" json:"seccomp,omitempty"`
}

* Encapsulation for Linux specific configuration. E.g, capabilities, limits etc.

func NewPopulatedLinuxInfo

func NewPopulatedLinuxInfo(r randyMesos, easy bool) *LinuxInfo

func (*LinuxInfo) Descriptor added in v0.0.4

func (*LinuxInfo) Descriptor() ([]byte, []int)

func (*LinuxInfo) Equal

func (this *LinuxInfo) Equal(that interface{}) bool

func (*LinuxInfo) GetBoundingCapabilities added in v0.0.6

func (m *LinuxInfo) GetBoundingCapabilities() *CapabilityInfo

func (*LinuxInfo) GetCapabilityInfo

func (m *LinuxInfo) GetCapabilityInfo() *CapabilityInfo

func (*LinuxInfo) GetEffectiveCapabilities added in v0.0.6

func (m *LinuxInfo) GetEffectiveCapabilities() *CapabilityInfo

func (*LinuxInfo) GetSeccomp added in v0.0.10

func (m *LinuxInfo) GetSeccomp() *SeccompInfo

func (*LinuxInfo) GetSharePIDNamespace added in v0.0.6

func (m *LinuxInfo) GetSharePIDNamespace() bool

func (*LinuxInfo) GoString

func (this *LinuxInfo) GoString() string

func (*LinuxInfo) Marshal

func (m *LinuxInfo) Marshal() (dAtA []byte, err error)

func (*LinuxInfo) MarshalJSON

func (mj *LinuxInfo) MarshalJSON() ([]byte, error)

func (*LinuxInfo) MarshalJSONBuf

func (mj *LinuxInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*LinuxInfo) MarshalTo

func (m *LinuxInfo) MarshalTo(dAtA []byte) (int, error)

func (*LinuxInfo) ProtoMessage

func (*LinuxInfo) ProtoMessage()

func (*LinuxInfo) ProtoSize added in v0.0.4

func (m *LinuxInfo) ProtoSize() (n int)

func (*LinuxInfo) Reset

func (m *LinuxInfo) Reset()

func (*LinuxInfo) String

func (this *LinuxInfo) String() string

func (*LinuxInfo) Unmarshal

func (m *LinuxInfo) Unmarshal(dAtA []byte) error

func (*LinuxInfo) UnmarshalJSON

func (uj *LinuxInfo) UnmarshalJSON(input []byte) error

func (*LinuxInfo) UnmarshalJSONFFLexer

func (uj *LinuxInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*LinuxInfo) VerboseEqual

func (this *LinuxInfo) VerboseEqual(that interface{}) error

type MachineID

type MachineID struct {
	Hostname *string `protobuf:"bytes,1,opt,name=hostname" json:"hostname,omitempty"`
	IP       *string `protobuf:"bytes,2,opt,name=ip" json:"ip,omitempty"`
}

* Represents a single machine, which may hold one or more agents.

NOTE: In order to match an agent to a machine, both the `hostname` and `ip` must match the values advertised by the agent to the master. Hostname is not case-sensitive.

func NewPopulatedMachineID

func NewPopulatedMachineID(r randyMesos, easy bool) *MachineID

func (*MachineID) Descriptor added in v0.0.4

func (*MachineID) Descriptor() ([]byte, []int)

func (*MachineID) Equal

func (this *MachineID) Equal(that interface{}) bool

func (*MachineID) GetHostname

func (m *MachineID) GetHostname() string

func (*MachineID) GetIP

func (m *MachineID) GetIP() string

func (*MachineID) GoString

func (this *MachineID) GoString() string

func (*MachineID) Marshal

func (m *MachineID) Marshal() (dAtA []byte, err error)

func (*MachineID) MarshalJSON

func (mj *MachineID) MarshalJSON() ([]byte, error)

func (*MachineID) MarshalJSONBuf

func (mj *MachineID) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*MachineID) MarshalTo

func (m *MachineID) MarshalTo(dAtA []byte) (int, error)

func (*MachineID) ProtoMessage

func (*MachineID) ProtoMessage()

func (*MachineID) ProtoSize added in v0.0.4

func (m *MachineID) ProtoSize() (n int)

func (*MachineID) Reset

func (m *MachineID) Reset()

func (*MachineID) String

func (this *MachineID) String() string

func (*MachineID) Unmarshal

func (m *MachineID) Unmarshal(dAtA []byte) error

func (*MachineID) UnmarshalJSON

func (uj *MachineID) UnmarshalJSON(input []byte) error

func (*MachineID) UnmarshalJSONFFLexer

func (uj *MachineID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*MachineID) VerboseEqual

func (this *MachineID) VerboseEqual(that interface{}) error

type MachineInfo

type MachineInfo struct {
	ID   MachineID         `protobuf:"bytes,1,req,name=id" json:"id"`
	Mode *MachineInfo_Mode `protobuf:"varint,2,opt,name=mode,enum=mesos.MachineInfo_Mode" json:"mode,omitempty"`
	// Signifies that the machine may be unavailable during the given interval.
	// See comments in `Unavailability` and for the `unavailability` fields
	// in `Offer` and `InverseOffer` for more information.
	Unavailability *Unavailability `protobuf:"bytes,3,opt,name=unavailability" json:"unavailability,omitempty"`
}

* Holds information about a single machine, its `mode`, and any other relevant information which may affect the behavior of the machine.

func NewPopulatedMachineInfo

func NewPopulatedMachineInfo(r randyMesos, easy bool) *MachineInfo

func (*MachineInfo) Descriptor added in v0.0.4

func (*MachineInfo) Descriptor() ([]byte, []int)

func (*MachineInfo) Equal

func (this *MachineInfo) Equal(that interface{}) bool

func (*MachineInfo) GetID

func (m *MachineInfo) GetID() MachineID

func (*MachineInfo) GetMode

func (m *MachineInfo) GetMode() MachineInfo_Mode

func (*MachineInfo) GetUnavailability

func (m *MachineInfo) GetUnavailability() *Unavailability

func (*MachineInfo) GoString

func (this *MachineInfo) GoString() string

func (*MachineInfo) Marshal

func (m *MachineInfo) Marshal() (dAtA []byte, err error)

func (*MachineInfo) MarshalJSON

func (mj *MachineInfo) MarshalJSON() ([]byte, error)

func (*MachineInfo) MarshalJSONBuf

func (mj *MachineInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*MachineInfo) MarshalTo

func (m *MachineInfo) MarshalTo(dAtA []byte) (int, error)

func (*MachineInfo) ProtoMessage

func (*MachineInfo) ProtoMessage()

func (*MachineInfo) ProtoSize added in v0.0.4

func (m *MachineInfo) ProtoSize() (n int)

func (*MachineInfo) Reset

func (m *MachineInfo) Reset()

func (*MachineInfo) String

func (this *MachineInfo) String() string

func (*MachineInfo) Unmarshal

func (m *MachineInfo) Unmarshal(dAtA []byte) error

func (*MachineInfo) UnmarshalJSON

func (uj *MachineInfo) UnmarshalJSON(input []byte) error

func (*MachineInfo) UnmarshalJSONFFLexer

func (uj *MachineInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*MachineInfo) VerboseEqual

func (this *MachineInfo) VerboseEqual(that interface{}) error

type MachineInfo_Mode

type MachineInfo_Mode int32

Describes the several states that a machine can be in. A `Mode` applies to a machine and to all associated agents on the machine.

const (
	// In this mode, a machine is behaving normally;
	// offering resources, executing tasks, etc.
	UP MachineInfo_Mode = 1
	// In this mode, all agents on the machine are expected to cooperate with
	// frameworks to drain resources.  In general, draining is done ahead of
	// a pending `unavailability`.  The resources should be drained so as to
	// maximize utilization prior to the maintenance but without knowingly
	// violating the frameworks' requirements.
	DRAINING MachineInfo_Mode = 2
	// In this mode, a machine is not running any tasks and will not offer
	// any of its resources.  Agents on the machine will not be allowed to
	// register with the master.
	DOWN MachineInfo_Mode = 3
)

func (MachineInfo_Mode) Enum

func (MachineInfo_Mode) EnumDescriptor added in v0.0.4

func (MachineInfo_Mode) EnumDescriptor() ([]byte, []int)

func (MachineInfo_Mode) MarshalJSON

func (x MachineInfo_Mode) MarshalJSON() ([]byte, error)

func (MachineInfo_Mode) String

func (x MachineInfo_Mode) String() string

func (*MachineInfo_Mode) UnmarshalJSON

func (x *MachineInfo_Mode) UnmarshalJSON(data []byte) error

type MasterInfo

type MasterInfo struct {
	ID string `protobuf:"bytes,1,req,name=id" json:"id"`
	// The IP address (only IPv4) as a packed 4-bytes integer,
	// stored in network order.  Deprecated, use `address.ip` instead.
	IP uint32 `protobuf:"varint,2,req,name=ip" json:"ip"`
	// The TCP port the Master is listening on for incoming
	// HTTP requests; deprecated, use `address.port` instead.
	Port *uint32 `protobuf:"varint,3,req,name=port,def=5050" json:"port,omitempty"`
	// In the default implementation, this will contain information
	// about both the IP address, port and Master name; it should really
	// not be relied upon by external tooling/frameworks and be
	// considered an "internal" implementation field.
	PID *string `protobuf:"bytes,4,opt,name=pid" json:"pid,omitempty"`
	// The server's hostname, if available; it may be unreliable
	// in environments where the DNS configuration does not resolve
	// internal hostnames (eg, some public cloud providers).
	// Deprecated, use `address.hostname` instead.
	Hostname *string `protobuf:"bytes,5,opt,name=hostname" json:"hostname,omitempty"`
	// The running Master version, as a string; taken from the
	// generated "master/version.hpp".
	Version *string `protobuf:"bytes,6,opt,name=version" json:"version,omitempty"`
	// The full IP address (supports both IPv4 and IPv6 formats)
	// and supersedes the use of `ip`, `port` and `hostname`.
	// Since Mesos 0.24.
	Address *Address `protobuf:"bytes,7,opt,name=address" json:"address,omitempty"`
	// The domain that this master belongs to. All masters in a Mesos
	// cluster should belong to the same region.
	Domain       *DomainInfo             `protobuf:"bytes,8,opt,name=domain" json:"domain,omitempty"`
	Capabilities []MasterInfo_Capability `protobuf:"bytes,9,rep,name=capabilities" json:"capabilities"`
}

* Describes a master. This will probably have more fields in the future which might be used, for example, to link a framework webui to a master webui.

func NewPopulatedMasterInfo

func NewPopulatedMasterInfo(r randyMesos, easy bool) *MasterInfo

func (*MasterInfo) Descriptor added in v0.0.4

func (*MasterInfo) Descriptor() ([]byte, []int)

func (*MasterInfo) Equal

func (this *MasterInfo) Equal(that interface{}) bool

func (*MasterInfo) GetAddress

func (m *MasterInfo) GetAddress() *Address

func (*MasterInfo) GetCapabilities added in v0.0.7

func (m *MasterInfo) GetCapabilities() []MasterInfo_Capability

func (*MasterInfo) GetDomain added in v0.0.6

func (m *MasterInfo) GetDomain() *DomainInfo

func (*MasterInfo) GetHostname

func (m *MasterInfo) GetHostname() string

func (*MasterInfo) GetID

func (m *MasterInfo) GetID() string

func (*MasterInfo) GetIP

func (m *MasterInfo) GetIP() uint32

func (*MasterInfo) GetPID

func (m *MasterInfo) GetPID() string

func (*MasterInfo) GetPort

func (m *MasterInfo) GetPort() uint32

func (*MasterInfo) GetVersion

func (m *MasterInfo) GetVersion() string

func (*MasterInfo) GoString

func (this *MasterInfo) GoString() string

func (*MasterInfo) Marshal

func (m *MasterInfo) Marshal() (dAtA []byte, err error)

func (*MasterInfo) MarshalJSON

func (mj *MasterInfo) MarshalJSON() ([]byte, error)

func (*MasterInfo) MarshalJSONBuf

func (mj *MasterInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*MasterInfo) MarshalTo

func (m *MasterInfo) MarshalTo(dAtA []byte) (int, error)

func (*MasterInfo) ProtoMessage

func (*MasterInfo) ProtoMessage()

func (*MasterInfo) ProtoSize added in v0.0.4

func (m *MasterInfo) ProtoSize() (n int)

func (*MasterInfo) Reset

func (m *MasterInfo) Reset()

func (*MasterInfo) String

func (this *MasterInfo) String() string

func (*MasterInfo) Unmarshal

func (m *MasterInfo) Unmarshal(dAtA []byte) error

func (*MasterInfo) UnmarshalJSON

func (uj *MasterInfo) UnmarshalJSON(input []byte) error

func (*MasterInfo) UnmarshalJSONFFLexer

func (uj *MasterInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*MasterInfo) VerboseEqual

func (this *MasterInfo) VerboseEqual(that interface{}) error

type MasterInfo_Capability added in v0.0.7

type MasterInfo_Capability struct {
	Type MasterInfo_Capability_Type `protobuf:"varint,1,opt,name=type,enum=mesos.MasterInfo_Capability_Type" json:"type"`
}

func NewPopulatedMasterInfo_Capability added in v0.0.7

func NewPopulatedMasterInfo_Capability(r randyMesos, easy bool) *MasterInfo_Capability

func (*MasterInfo_Capability) Descriptor added in v0.0.7

func (*MasterInfo_Capability) Descriptor() ([]byte, []int)

func (*MasterInfo_Capability) Equal added in v0.0.7

func (this *MasterInfo_Capability) Equal(that interface{}) bool

func (*MasterInfo_Capability) GetType added in v0.0.7

func (*MasterInfo_Capability) GoString added in v0.0.7

func (this *MasterInfo_Capability) GoString() string

func (*MasterInfo_Capability) Marshal added in v0.0.7

func (m *MasterInfo_Capability) Marshal() (dAtA []byte, err error)

func (*MasterInfo_Capability) MarshalJSON added in v0.0.7

func (mj *MasterInfo_Capability) MarshalJSON() ([]byte, error)

func (*MasterInfo_Capability) MarshalJSONBuf added in v0.0.7

func (mj *MasterInfo_Capability) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*MasterInfo_Capability) MarshalTo added in v0.0.7

func (m *MasterInfo_Capability) MarshalTo(dAtA []byte) (int, error)

func (*MasterInfo_Capability) ProtoMessage added in v0.0.7

func (*MasterInfo_Capability) ProtoMessage()

func (*MasterInfo_Capability) ProtoSize added in v0.0.7

func (m *MasterInfo_Capability) ProtoSize() (n int)

func (*MasterInfo_Capability) Reset added in v0.0.7

func (m *MasterInfo_Capability) Reset()

func (*MasterInfo_Capability) String added in v0.0.7

func (this *MasterInfo_Capability) String() string

func (*MasterInfo_Capability) Unmarshal added in v0.0.7

func (m *MasterInfo_Capability) Unmarshal(dAtA []byte) error

func (*MasterInfo_Capability) UnmarshalJSON added in v0.0.7

func (uj *MasterInfo_Capability) UnmarshalJSON(input []byte) error

func (*MasterInfo_Capability) UnmarshalJSONFFLexer added in v0.0.7

func (uj *MasterInfo_Capability) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*MasterInfo_Capability) VerboseEqual added in v0.0.7

func (this *MasterInfo_Capability) VerboseEqual(that interface{}) error

type MasterInfo_Capability_Type added in v0.0.7

type MasterInfo_Capability_Type int32
const (
	MasterInfo_Capability_UNKNOWN MasterInfo_Capability_Type = 0
	// The master can handle slaves whose state
	// changes after reregistering.
	MasterInfo_Capability_AGENT_UPDATE MasterInfo_Capability_Type = 1
)

func (MasterInfo_Capability_Type) Enum added in v0.0.7

func (MasterInfo_Capability_Type) EnumDescriptor added in v0.0.7

func (MasterInfo_Capability_Type) EnumDescriptor() ([]byte, []int)

func (MasterInfo_Capability_Type) MarshalJSON added in v0.0.7

func (x MasterInfo_Capability_Type) MarshalJSON() ([]byte, error)

func (MasterInfo_Capability_Type) String added in v0.0.7

func (*MasterInfo_Capability_Type) UnmarshalJSON added in v0.0.7

func (x *MasterInfo_Capability_Type) UnmarshalJSON(data []byte) error

type Metric

type Metric struct {
	Name  string   `protobuf:"bytes,1,req,name=name" json:"name"`
	Value *float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"`
}

* Metric consists of a name and optionally its value.

func NewPopulatedMetric

func NewPopulatedMetric(r randyMesos, easy bool) *Metric

func (*Metric) Descriptor added in v0.0.4

func (*Metric) Descriptor() ([]byte, []int)

func (*Metric) Equal

func (this *Metric) Equal(that interface{}) bool

func (*Metric) GetName

func (m *Metric) GetName() string

func (*Metric) GetValue

func (m *Metric) GetValue() float64

func (*Metric) GoString

func (this *Metric) GoString() string

func (*Metric) Marshal

func (m *Metric) Marshal() (dAtA []byte, err error)

func (*Metric) MarshalJSON

func (mj *Metric) MarshalJSON() ([]byte, error)

func (*Metric) MarshalJSONBuf

func (mj *Metric) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Metric) MarshalTo

func (m *Metric) MarshalTo(dAtA []byte) (int, error)

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) ProtoSize added in v0.0.4

func (m *Metric) ProtoSize() (n int)

func (*Metric) Reset

func (m *Metric) Reset()

func (*Metric) String

func (this *Metric) String() string

func (*Metric) Unmarshal

func (m *Metric) Unmarshal(dAtA []byte) error

func (*Metric) UnmarshalJSON

func (uj *Metric) UnmarshalJSON(input []byte) error

func (*Metric) UnmarshalJSONFFLexer

func (uj *Metric) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Metric) VerboseEqual

func (this *Metric) VerboseEqual(that interface{}) error

type MountPropagation added in v0.0.7

type MountPropagation struct {
	Mode *MountPropagation_Mode `protobuf:"varint,1,opt,name=mode,enum=mesos.MountPropagation_Mode" json:"mode,omitempty"`
}

* Describes how the mount will be propagated for a volume. See the following doc for more details about mount propagation: https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt

func NewPopulatedMountPropagation added in v0.0.7

func NewPopulatedMountPropagation(r randyMesos, easy bool) *MountPropagation

func (*MountPropagation) Descriptor added in v0.0.7

func (*MountPropagation) Descriptor() ([]byte, []int)

func (*MountPropagation) Equal added in v0.0.7

func (this *MountPropagation) Equal(that interface{}) bool

func (*MountPropagation) GetMode added in v0.0.7

func (*MountPropagation) GoString added in v0.0.7

func (this *MountPropagation) GoString() string

func (*MountPropagation) Marshal added in v0.0.7

func (m *MountPropagation) Marshal() (dAtA []byte, err error)

func (*MountPropagation) MarshalJSON added in v0.0.7

func (mj *MountPropagation) MarshalJSON() ([]byte, error)

func (*MountPropagation) MarshalJSONBuf added in v0.0.7

func (mj *MountPropagation) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*MountPropagation) MarshalTo added in v0.0.7

func (m *MountPropagation) MarshalTo(dAtA []byte) (int, error)

func (*MountPropagation) ProtoMessage added in v0.0.7

func (*MountPropagation) ProtoMessage()

func (*MountPropagation) ProtoSize added in v0.0.7

func (m *MountPropagation) ProtoSize() (n int)

func (*MountPropagation) Reset added in v0.0.7

func (m *MountPropagation) Reset()

func (*MountPropagation) String added in v0.0.7

func (this *MountPropagation) String() string

func (*MountPropagation) Unmarshal added in v0.0.7

func (m *MountPropagation) Unmarshal(dAtA []byte) error

func (*MountPropagation) UnmarshalJSON added in v0.0.7

func (uj *MountPropagation) UnmarshalJSON(input []byte) error

func (*MountPropagation) UnmarshalJSONFFLexer added in v0.0.7

func (uj *MountPropagation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*MountPropagation) VerboseEqual added in v0.0.7

func (this *MountPropagation) VerboseEqual(that interface{}) error

type MountPropagation_Mode added in v0.0.7

type MountPropagation_Mode int32
const (
	MountPropagation_UNKNOWN MountPropagation_Mode = 0
	// The volume in a container will receive new mounts from the host
	// or other containers, but filesystems mounted inside the
	// container won't be propagated to the host or other containers.
	// This is currently the default behavior for all volumes.
	MountPropagation_HOST_TO_CONTAINER MountPropagation_Mode = 1
	// The volume in a container will receive new mounts from the host
	// or other containers, and its own mounts will be propagated from
	// the container to the host or other containers.
	MountPropagation_BIDIRECTIONAL MountPropagation_Mode = 2
)

func (MountPropagation_Mode) Enum added in v0.0.7

func (MountPropagation_Mode) EnumDescriptor added in v0.0.7

func (MountPropagation_Mode) EnumDescriptor() ([]byte, []int)

func (MountPropagation_Mode) MarshalJSON added in v0.0.7

func (x MountPropagation_Mode) MarshalJSON() ([]byte, error)

func (MountPropagation_Mode) String added in v0.0.7

func (x MountPropagation_Mode) String() string

func (*MountPropagation_Mode) UnmarshalJSON added in v0.0.7

func (x *MountPropagation_Mode) UnmarshalJSON(data []byte) error

type NetworkInfo

type NetworkInfo struct {
	// When included in a ContainerInfo, each of these represent a
	// request for an IP address. Each request can specify an explicit address
	// or the IP protocol to use.
	//
	// When included in a TaskStatus message, these inform the framework
	// scheduler about the IP addresses that are bound to the container
	// interface. When there are no custom network isolator modules installed,
	// this field is filled in automatically with the Agent IP address.
	IPAddresses []NetworkInfo_IPAddress `protobuf:"bytes,5,rep,name=ip_addresses,json=ipAddresses" json:"ip_addresses"`
	// Name of the network which will be used by network isolator to determine
	// the network that the container joins. It's up to the network isolator
	// to decide how to interpret this field.
	Name *string `protobuf:"bytes,6,opt,name=name" json:"name,omitempty"`
	// A group is the name given to a set of logically-related interfaces that
	// are allowed to communicate among themselves. Network traffic is allowed
	// between two container interfaces that share at least one network group.
	// For example, one might want to create separate groups for isolating dev,
	// testing, qa and prod deployment environments.
	Groups []string `protobuf:"bytes,3,rep,name=groups" json:"groups,omitempty"`
	// To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
	Labels       *Labels                   `protobuf:"bytes,4,opt,name=labels" json:"labels,omitempty"`
	PortMappings []NetworkInfo_PortMapping `protobuf:"bytes,7,rep,name=port_mappings,json=portMappings" json:"port_mappings"`
}

* Describes a network request from a framework as well as network resolution provided by Mesos.

A framework may request the network isolator on the Agent to isolate the container in a network namespace and create a virtual network interface. The `NetworkInfo` message describes the properties of that virtual interface, including the IP addresses and network isolation policy (network group membership).

The NetworkInfo message is not interpreted by the Master or Agent and is intended to be used by Agent and Master modules implementing network isolation. If the modules are missing, the message is simply ignored. In future, the task launch will fail if there is no module providing the network isolation capabilities (MESOS-3390).

An executor, Agent, or an Agent module may append NetworkInfos inside TaskStatus::container_status to provide information such as the container IP address and isolation groups.

func NewPopulatedNetworkInfo

func NewPopulatedNetworkInfo(r randyMesos, easy bool) *NetworkInfo

func (*NetworkInfo) Descriptor added in v0.0.4

func (*NetworkInfo) Descriptor() ([]byte, []int)

func (*NetworkInfo) Equal

func (this *NetworkInfo) Equal(that interface{}) bool

func (*NetworkInfo) GetGroups

func (m *NetworkInfo) GetGroups() []string

func (*NetworkInfo) GetIPAddresses

func (m *NetworkInfo) GetIPAddresses() []NetworkInfo_IPAddress

func (*NetworkInfo) GetLabels

func (m *NetworkInfo) GetLabels() *Labels

func (*NetworkInfo) GetName

func (m *NetworkInfo) GetName() string

func (*NetworkInfo) GetPortMappings

func (m *NetworkInfo) GetPortMappings() []NetworkInfo_PortMapping

func (*NetworkInfo) GoString

func (this *NetworkInfo) GoString() string

func (*NetworkInfo) Marshal

func (m *NetworkInfo) Marshal() (dAtA []byte, err error)

func (*NetworkInfo) MarshalJSON

func (mj *NetworkInfo) MarshalJSON() ([]byte, error)

func (*NetworkInfo) MarshalJSONBuf

func (mj *NetworkInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*NetworkInfo) MarshalTo

func (m *NetworkInfo) MarshalTo(dAtA []byte) (int, error)

func (*NetworkInfo) ProtoMessage

func (*NetworkInfo) ProtoMessage()

func (*NetworkInfo) ProtoSize added in v0.0.4

func (m *NetworkInfo) ProtoSize() (n int)

func (*NetworkInfo) Reset

func (m *NetworkInfo) Reset()

func (*NetworkInfo) String

func (this *NetworkInfo) String() string

func (*NetworkInfo) Unmarshal

func (m *NetworkInfo) Unmarshal(dAtA []byte) error

func (*NetworkInfo) UnmarshalJSON

func (uj *NetworkInfo) UnmarshalJSON(input []byte) error

func (*NetworkInfo) UnmarshalJSONFFLexer

func (uj *NetworkInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*NetworkInfo) VerboseEqual

func (this *NetworkInfo) VerboseEqual(that interface{}) error

type NetworkInfo_IPAddress

type NetworkInfo_IPAddress struct {
	// Specify IP address requirement. Set protocol to the desired value to
	// request the network isolator on the Agent to assign an IP address to the
	// container being launched. If a specific IP address is specified in
	// ip_address, this field should not be set.
	Protocol *NetworkInfo_Protocol `protobuf:"varint,1,opt,name=protocol,enum=mesos.NetworkInfo_Protocol,def=1" json:"protocol,omitempty"`
	// Statically assigned IP provided by the Framework. This IP will be
	// assigned to the container by the network isolator module on the Agent.
	// This field should not be used with the protocol field above.
	//
	// If an explicit address is requested but is unavailable, the network
	// isolator should fail the task.
	IPAddress *string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"`
}

Specifies a request for an IP address, or reports the assigned container IP address.

Users can request an automatically assigned IP (for example, via an IPAM service) or a specific IP by adding a NetworkInfo to the ContainerInfo for a task. On a request, specifying neither `protocol` nor `ip_address` means that any available address may be assigned.

func NewPopulatedNetworkInfo_IPAddress

func NewPopulatedNetworkInfo_IPAddress(r randyMesos, easy bool) *NetworkInfo_IPAddress

func (*NetworkInfo_IPAddress) Descriptor added in v0.0.4

func (*NetworkInfo_IPAddress) Descriptor() ([]byte, []int)

func (*NetworkInfo_IPAddress) Equal

func (this *NetworkInfo_IPAddress) Equal(that interface{}) bool

func (*NetworkInfo_IPAddress) GetIPAddress

func (m *NetworkInfo_IPAddress) GetIPAddress() string

func (*NetworkInfo_IPAddress) GetProtocol

func (*NetworkInfo_IPAddress) GoString

func (this *NetworkInfo_IPAddress) GoString() string

func (*NetworkInfo_IPAddress) Marshal

func (m *NetworkInfo_IPAddress) Marshal() (dAtA []byte, err error)

func (*NetworkInfo_IPAddress) MarshalJSON

func (mj *NetworkInfo_IPAddress) MarshalJSON() ([]byte, error)

func (*NetworkInfo_IPAddress) MarshalJSONBuf

func (mj *NetworkInfo_IPAddress) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*NetworkInfo_IPAddress) MarshalTo

func (m *NetworkInfo_IPAddress) MarshalTo(dAtA []byte) (int, error)

func (*NetworkInfo_IPAddress) ProtoMessage

func (*NetworkInfo_IPAddress) ProtoMessage()

func (*NetworkInfo_IPAddress) ProtoSize added in v0.0.4

func (m *NetworkInfo_IPAddress) ProtoSize() (n int)

func (*NetworkInfo_IPAddress) Reset

func (m *NetworkInfo_IPAddress) Reset()

func (*NetworkInfo_IPAddress) String

func (this *NetworkInfo_IPAddress) String() string

func (*NetworkInfo_IPAddress) Unmarshal

func (m *NetworkInfo_IPAddress) Unmarshal(dAtA []byte) error

func (*NetworkInfo_IPAddress) UnmarshalJSON

func (uj *NetworkInfo_IPAddress) UnmarshalJSON(input []byte) error

func (*NetworkInfo_IPAddress) UnmarshalJSONFFLexer

func (uj *NetworkInfo_IPAddress) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*NetworkInfo_IPAddress) VerboseEqual

func (this *NetworkInfo_IPAddress) VerboseEqual(that interface{}) error

type NetworkInfo_PortMapping

type NetworkInfo_PortMapping struct {
	HostPort      uint32 `protobuf:"varint,1,req,name=host_port,json=hostPort" json:"host_port"`
	ContainerPort uint32 `protobuf:"varint,2,req,name=container_port,json=containerPort" json:"container_port"`
	// Protocol to expose as (ie: tcp, udp).
	Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"`
}

Specifies a port mapping request for the task on this network.

func NewPopulatedNetworkInfo_PortMapping

func NewPopulatedNetworkInfo_PortMapping(r randyMesos, easy bool) *NetworkInfo_PortMapping

func (*NetworkInfo_PortMapping) Descriptor added in v0.0.4

func (*NetworkInfo_PortMapping) Descriptor() ([]byte, []int)

func (*NetworkInfo_PortMapping) Equal

func (this *NetworkInfo_PortMapping) Equal(that interface{}) bool

func (*NetworkInfo_PortMapping) GetContainerPort

func (m *NetworkInfo_PortMapping) GetContainerPort() uint32

func (*NetworkInfo_PortMapping) GetHostPort

func (m *NetworkInfo_PortMapping) GetHostPort() uint32

func (*NetworkInfo_PortMapping) GetProtocol

func (m *NetworkInfo_PortMapping) GetProtocol() string

func (*NetworkInfo_PortMapping) GoString

func (this *NetworkInfo_PortMapping) GoString() string

func (*NetworkInfo_PortMapping) Marshal

func (m *NetworkInfo_PortMapping) Marshal() (dAtA []byte, err error)

func (*NetworkInfo_PortMapping) MarshalJSON

func (mj *NetworkInfo_PortMapping) MarshalJSON() ([]byte, error)

func (*NetworkInfo_PortMapping) MarshalJSONBuf

func (mj *NetworkInfo_PortMapping) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*NetworkInfo_PortMapping) MarshalTo

func (m *NetworkInfo_PortMapping) MarshalTo(dAtA []byte) (int, error)

func (*NetworkInfo_PortMapping) ProtoMessage

func (*NetworkInfo_PortMapping) ProtoMessage()

func (*NetworkInfo_PortMapping) ProtoSize added in v0.0.4

func (m *NetworkInfo_PortMapping) ProtoSize() (n int)

func (*NetworkInfo_PortMapping) Reset

func (m *NetworkInfo_PortMapping) Reset()

func (*NetworkInfo_PortMapping) String

func (this *NetworkInfo_PortMapping) String() string

func (*NetworkInfo_PortMapping) Unmarshal

func (m *NetworkInfo_PortMapping) Unmarshal(dAtA []byte) error

func (*NetworkInfo_PortMapping) UnmarshalJSON

func (uj *NetworkInfo_PortMapping) UnmarshalJSON(input []byte) error

func (*NetworkInfo_PortMapping) UnmarshalJSONFFLexer

func (uj *NetworkInfo_PortMapping) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*NetworkInfo_PortMapping) VerboseEqual

func (this *NetworkInfo_PortMapping) VerboseEqual(that interface{}) error

type NetworkInfo_Protocol

type NetworkInfo_Protocol int32
const (
	IPv4 NetworkInfo_Protocol = 1
	IPv6 NetworkInfo_Protocol = 2
)
const Default_HealthCheck_HTTPCheckInfo_Protocol NetworkInfo_Protocol = IPv4
const Default_HealthCheck_TCPCheckInfo_Protocol NetworkInfo_Protocol = IPv4
const Default_NetworkInfo_IPAddress_Protocol NetworkInfo_Protocol = IPv4

func (NetworkInfo_Protocol) Enum

func (NetworkInfo_Protocol) EnumDescriptor added in v0.0.4

func (NetworkInfo_Protocol) EnumDescriptor() ([]byte, []int)

func (NetworkInfo_Protocol) MarshalJSON

func (x NetworkInfo_Protocol) MarshalJSON() ([]byte, error)

func (NetworkInfo_Protocol) String

func (x NetworkInfo_Protocol) String() string

func (*NetworkInfo_Protocol) UnmarshalJSON

func (x *NetworkInfo_Protocol) UnmarshalJSON(data []byte) error

type Offer

type Offer struct {
	ID          OfferID     `protobuf:"bytes,1,req,name=id" json:"id"`
	FrameworkID FrameworkID `protobuf:"bytes,2,req,name=framework_id,json=frameworkId" json:"framework_id"`
	AgentID     AgentID     `protobuf:"bytes,3,req,name=agent_id,json=agentId" json:"agent_id"`
	Hostname    string      `protobuf:"bytes,4,req,name=hostname" json:"hostname"`
	// URL for reaching the agent running on the host.
	URL *URL `protobuf:"bytes,8,opt,name=url" json:"url,omitempty"`
	// The domain of the agent.
	Domain     *DomainInfo `protobuf:"bytes,11,opt,name=domain" json:"domain,omitempty"`
	Resources  []Resource  `protobuf:"bytes,5,rep,name=resources" json:"resources"`
	Attributes []Attribute `protobuf:"bytes,7,rep,name=attributes" json:"attributes"`
	// Executors of the same framework running on this agent.
	ExecutorIDs []ExecutorID `protobuf:"bytes,6,rep,name=executor_ids,json=executorIds" json:"executor_ids"`
	// Signifies that the resources in this Offer may be unavailable during
	// the given interval.  Any tasks launched using these resources may be
	// killed when the interval arrives.  For example, these resources may be
	// part of a planned maintenance schedule.
	//
	// This field only provides information about a planned unavailability.
	// The unavailability interval may not necessarily start at exactly this
	// interval, nor last for exactly the duration of this interval.
	// The unavailability may also be forever!  See comments in
	// `Unavailability` for more details.
	Unavailability *Unavailability `protobuf:"bytes,9,opt,name=unavailability" json:"unavailability,omitempty"`
	// An offer represents resources allocated to *one* of the
	// roles managed by the scheduler. (Therefore, each
	// `Offer.resources[i].allocation_info` will match the
	// top level `Offer.allocation_info`).
	AllocationInfo *Resource_AllocationInfo `protobuf:"bytes,10,opt,name=allocation_info,json=allocationInfo" json:"allocation_info,omitempty"`
}

* Describes some resources available on an agent. An offer only contains resources from a single agent.

func NewPopulatedOffer

func NewPopulatedOffer(r randyMesos, easy bool) *Offer

func (*Offer) Descriptor added in v0.0.4

func (*Offer) Descriptor() ([]byte, []int)

func (*Offer) Equal

func (this *Offer) Equal(that interface{}) bool

func (*Offer) GetAgentID

func (m *Offer) GetAgentID() AgentID

func (*Offer) GetAllocationInfo added in v0.0.4

func (m *Offer) GetAllocationInfo() *Resource_AllocationInfo

func (*Offer) GetAttributes

func (m *Offer) GetAttributes() []Attribute

func (*Offer) GetDomain added in v0.0.6

func (m *Offer) GetDomain() *DomainInfo

func (*Offer) GetExecutorIDs

func (m *Offer) GetExecutorIDs() []ExecutorID

func (*Offer) GetFrameworkID

func (m *Offer) GetFrameworkID() FrameworkID

func (*Offer) GetHostname

func (m *Offer) GetHostname() string

func (*Offer) GetID

func (m *Offer) GetID() OfferID

func (*Offer) GetResources

func (m *Offer) GetResources() []Resource

func (*Offer) GetURL

func (m *Offer) GetURL() *URL

func (*Offer) GetUnavailability

func (m *Offer) GetUnavailability() *Unavailability

func (*Offer) GoString

func (this *Offer) GoString() string

func (*Offer) Marshal

func (m *Offer) Marshal() (dAtA []byte, err error)

func (*Offer) MarshalJSON

func (mj *Offer) MarshalJSON() ([]byte, error)

func (*Offer) MarshalJSONBuf

func (mj *Offer) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer) MarshalTo

func (m *Offer) MarshalTo(dAtA []byte) (int, error)

func (*Offer) ProtoMessage

func (*Offer) ProtoMessage()

func (*Offer) ProtoSize added in v0.0.4

func (m *Offer) ProtoSize() (n int)

func (*Offer) Reset

func (m *Offer) Reset()

func (*Offer) String

func (this *Offer) String() string

func (*Offer) Unmarshal

func (m *Offer) Unmarshal(dAtA []byte) error

func (*Offer) UnmarshalJSON

func (uj *Offer) UnmarshalJSON(input []byte) error

func (*Offer) UnmarshalJSONFFLexer

func (uj *Offer) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer) VerboseEqual

func (this *Offer) VerboseEqual(that interface{}) error

type OfferFilters added in v0.0.10

type OfferFilters struct {
	MinAllocatableResources *OfferFilters_MinAllocatableResources `protobuf:"bytes,1,opt,name=min_allocatable_resources,json=minAllocatableResources" json:"min_allocatable_resources,omitempty"`
}

* Represents filters that allow a framework to control the shape of offers that will be sent to its role(s). These filters apply globally to any agent (unlike the existing `DECLINE` filter which us a time-based resource subset filter that only applies to the agent that was declined).

NOTE: Custom allocators might interpret these fields in a different way, or not at all.

func NewPopulatedOfferFilters added in v0.0.10

func NewPopulatedOfferFilters(r randyMesos, easy bool) *OfferFilters

func (*OfferFilters) Descriptor added in v0.0.10

func (*OfferFilters) Descriptor() ([]byte, []int)

func (*OfferFilters) Equal added in v0.0.10

func (this *OfferFilters) Equal(that interface{}) bool

func (*OfferFilters) GetMinAllocatableResources added in v0.0.10

func (m *OfferFilters) GetMinAllocatableResources() *OfferFilters_MinAllocatableResources

func (*OfferFilters) GoString added in v0.0.10

func (this *OfferFilters) GoString() string

func (*OfferFilters) Marshal added in v0.0.10

func (m *OfferFilters) Marshal() (dAtA []byte, err error)

func (*OfferFilters) MarshalJSON added in v0.0.10

func (mj *OfferFilters) MarshalJSON() ([]byte, error)

func (*OfferFilters) MarshalJSONBuf added in v0.0.10

func (mj *OfferFilters) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*OfferFilters) MarshalTo added in v0.0.10

func (m *OfferFilters) MarshalTo(dAtA []byte) (int, error)

func (*OfferFilters) ProtoMessage added in v0.0.10

func (*OfferFilters) ProtoMessage()

func (*OfferFilters) ProtoSize added in v0.0.10

func (m *OfferFilters) ProtoSize() (n int)

func (*OfferFilters) Reset added in v0.0.10

func (m *OfferFilters) Reset()

func (*OfferFilters) String added in v0.0.10

func (this *OfferFilters) String() string

func (*OfferFilters) Unmarshal added in v0.0.10

func (m *OfferFilters) Unmarshal(dAtA []byte) error

func (*OfferFilters) UnmarshalJSON added in v0.0.10

func (uj *OfferFilters) UnmarshalJSON(input []byte) error

func (*OfferFilters) UnmarshalJSONFFLexer added in v0.0.10

func (uj *OfferFilters) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*OfferFilters) VerboseEqual added in v0.0.10

func (this *OfferFilters) VerboseEqual(that interface{}) error

type OfferFilters_MinAllocatableResources added in v0.0.10

type OfferFilters_MinAllocatableResources struct {
	// A set of resources is considered allocatable if contained in any of
	// the following quantities. If no quantities are specified any resource
	// is considered allocatable.
	Quantities []OfferFilters_ResourceQuantities `protobuf:"bytes,1,rep,name=quantities" json:"quantities"`
}

func NewPopulatedOfferFilters_MinAllocatableResources added in v0.0.10

func NewPopulatedOfferFilters_MinAllocatableResources(r randyMesos, easy bool) *OfferFilters_MinAllocatableResources

func (*OfferFilters_MinAllocatableResources) Descriptor added in v0.0.10

func (*OfferFilters_MinAllocatableResources) Descriptor() ([]byte, []int)

func (*OfferFilters_MinAllocatableResources) Equal added in v0.0.10

func (this *OfferFilters_MinAllocatableResources) Equal(that interface{}) bool

func (*OfferFilters_MinAllocatableResources) GetQuantities added in v0.0.10

func (*OfferFilters_MinAllocatableResources) GoString added in v0.0.10

func (*OfferFilters_MinAllocatableResources) Marshal added in v0.0.10

func (m *OfferFilters_MinAllocatableResources) Marshal() (dAtA []byte, err error)

func (*OfferFilters_MinAllocatableResources) MarshalJSON added in v0.0.10

func (mj *OfferFilters_MinAllocatableResources) MarshalJSON() ([]byte, error)

func (*OfferFilters_MinAllocatableResources) MarshalJSONBuf added in v0.0.10

func (*OfferFilters_MinAllocatableResources) MarshalTo added in v0.0.10

func (m *OfferFilters_MinAllocatableResources) MarshalTo(dAtA []byte) (int, error)

func (*OfferFilters_MinAllocatableResources) ProtoMessage added in v0.0.10

func (*OfferFilters_MinAllocatableResources) ProtoMessage()

func (*OfferFilters_MinAllocatableResources) ProtoSize added in v0.0.10

func (m *OfferFilters_MinAllocatableResources) ProtoSize() (n int)

func (*OfferFilters_MinAllocatableResources) Reset added in v0.0.10

func (*OfferFilters_MinAllocatableResources) String added in v0.0.10

func (*OfferFilters_MinAllocatableResources) Unmarshal added in v0.0.10

func (m *OfferFilters_MinAllocatableResources) Unmarshal(dAtA []byte) error

func (*OfferFilters_MinAllocatableResources) UnmarshalJSON added in v0.0.10

func (uj *OfferFilters_MinAllocatableResources) UnmarshalJSON(input []byte) error

func (*OfferFilters_MinAllocatableResources) UnmarshalJSONFFLexer added in v0.0.10

func (uj *OfferFilters_MinAllocatableResources) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*OfferFilters_MinAllocatableResources) VerboseEqual added in v0.0.10

func (this *OfferFilters_MinAllocatableResources) VerboseEqual(that interface{}) error

type OfferFilters_ResourceQuantities added in v0.0.10

type OfferFilters_ResourceQuantities struct {
	// Quantities are pairs of identifiers of scalar resources and
	// an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
	Quantities map[string]Value_Scalar `` /* 130-byte string literal not displayed */
}

func NewPopulatedOfferFilters_ResourceQuantities added in v0.0.10

func NewPopulatedOfferFilters_ResourceQuantities(r randyMesos, easy bool) *OfferFilters_ResourceQuantities

func (*OfferFilters_ResourceQuantities) Descriptor added in v0.0.10

func (*OfferFilters_ResourceQuantities) Descriptor() ([]byte, []int)

func (*OfferFilters_ResourceQuantities) Equal added in v0.0.10

func (this *OfferFilters_ResourceQuantities) Equal(that interface{}) bool

func (*OfferFilters_ResourceQuantities) GetQuantities added in v0.0.10

func (m *OfferFilters_ResourceQuantities) GetQuantities() map[string]Value_Scalar

func (*OfferFilters_ResourceQuantities) GoString added in v0.0.10

func (this *OfferFilters_ResourceQuantities) GoString() string

func (*OfferFilters_ResourceQuantities) Marshal added in v0.0.10

func (m *OfferFilters_ResourceQuantities) Marshal() (dAtA []byte, err error)

func (*OfferFilters_ResourceQuantities) MarshalJSON added in v0.0.10

func (mj *OfferFilters_ResourceQuantities) MarshalJSON() ([]byte, error)

func (*OfferFilters_ResourceQuantities) MarshalJSONBuf added in v0.0.10

func (*OfferFilters_ResourceQuantities) MarshalTo added in v0.0.10

func (m *OfferFilters_ResourceQuantities) MarshalTo(dAtA []byte) (int, error)

func (*OfferFilters_ResourceQuantities) ProtoMessage added in v0.0.10

func (*OfferFilters_ResourceQuantities) ProtoMessage()

func (*OfferFilters_ResourceQuantities) ProtoSize added in v0.0.10

func (m *OfferFilters_ResourceQuantities) ProtoSize() (n int)

func (*OfferFilters_ResourceQuantities) Reset added in v0.0.10

func (*OfferFilters_ResourceQuantities) String added in v0.0.10

func (this *OfferFilters_ResourceQuantities) String() string

func (*OfferFilters_ResourceQuantities) Unmarshal added in v0.0.10

func (m *OfferFilters_ResourceQuantities) Unmarshal(dAtA []byte) error

func (*OfferFilters_ResourceQuantities) UnmarshalJSON added in v0.0.10

func (uj *OfferFilters_ResourceQuantities) UnmarshalJSON(input []byte) error

func (*OfferFilters_ResourceQuantities) UnmarshalJSONFFLexer added in v0.0.10

func (uj *OfferFilters_ResourceQuantities) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*OfferFilters_ResourceQuantities) VerboseEqual added in v0.0.10

func (this *OfferFilters_ResourceQuantities) VerboseEqual(that interface{}) error

type OfferID

type OfferID struct {
	Value string `protobuf:"bytes,1,req,name=value" json:"value"`
}

* A unique ID assigned to an offer.

func NewPopulatedOfferID

func NewPopulatedOfferID(r randyMesos, easy bool) *OfferID

func (*OfferID) Descriptor added in v0.0.4

func (*OfferID) Descriptor() ([]byte, []int)

func (*OfferID) Equal

func (this *OfferID) Equal(that interface{}) bool

func (*OfferID) GetValue

func (m *OfferID) GetValue() string

func (*OfferID) GoString

func (this *OfferID) GoString() string

func (*OfferID) Marshal

func (m *OfferID) Marshal() (dAtA []byte, err error)

func (*OfferID) MarshalJSON

func (mj *OfferID) MarshalJSON() ([]byte, error)

func (*OfferID) MarshalJSONBuf

func (mj *OfferID) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*OfferID) MarshalTo

func (m *OfferID) MarshalTo(dAtA []byte) (int, error)

func (*OfferID) ProtoMessage

func (*OfferID) ProtoMessage()

func (*OfferID) ProtoSize added in v0.0.4

func (m *OfferID) ProtoSize() (n int)

func (*OfferID) Reset

func (m *OfferID) Reset()

func (*OfferID) String

func (this *OfferID) String() string

func (*OfferID) Unmarshal

func (m *OfferID) Unmarshal(dAtA []byte) error

func (*OfferID) UnmarshalJSON

func (uj *OfferID) UnmarshalJSON(input []byte) error

func (*OfferID) UnmarshalJSONFFLexer

func (uj *OfferID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*OfferID) VerboseEqual

func (this *OfferID) VerboseEqual(that interface{}) error

type Offer_Operation

type Offer_Operation struct {
	Type Offer_Operation_Type `protobuf:"varint,1,opt,name=type,enum=mesos.Offer_Operation_Type" json:"type"`
	// The `id` field allows frameworks to indicate that they wish to receive
	// feedback about an operation via the UPDATE_OPERATION_STATUS event in the
	// v1 scheduler API.
	ID           *OperationID                  `protobuf:"bytes,12,opt,name=id" json:"id,omitempty"`
	Launch       *Offer_Operation_Launch       `protobuf:"bytes,2,opt,name=launch" json:"launch,omitempty"`
	LaunchGroup  *Offer_Operation_LaunchGroup  `protobuf:"bytes,7,opt,name=launch_group,json=launchGroup" json:"launch_group,omitempty"`
	Reserve      *Offer_Operation_Reserve      `protobuf:"bytes,3,opt,name=reserve" json:"reserve,omitempty"`
	Unreserve    *Offer_Operation_Unreserve    `protobuf:"bytes,4,opt,name=unreserve" json:"unreserve,omitempty"`
	Create       *Offer_Operation_Create       `protobuf:"bytes,5,opt,name=create" json:"create,omitempty"`
	Destroy      *Offer_Operation_Destroy      `protobuf:"bytes,6,opt,name=destroy" json:"destroy,omitempty"`
	GrowVolume   *Offer_Operation_GrowVolume   `protobuf:"bytes,13,opt,name=grow_volume,json=growVolume" json:"grow_volume,omitempty"`
	ShrinkVolume *Offer_Operation_ShrinkVolume `protobuf:"bytes,14,opt,name=shrink_volume,json=shrinkVolume" json:"shrink_volume,omitempty"`
	CreateDisk   *Offer_Operation_CreateDisk   `protobuf:"bytes,15,opt,name=create_disk,json=createDisk" json:"create_disk,omitempty"`
	DestroyDisk  *Offer_Operation_DestroyDisk  `protobuf:"bytes,16,opt,name=destroy_disk,json=destroyDisk" json:"destroy_disk,omitempty"`
}

Defines an operation that can be performed against offers.

func NewPopulatedOffer_Operation

func NewPopulatedOffer_Operation(r randyMesos, easy bool) *Offer_Operation

func (*Offer_Operation) Descriptor added in v0.0.4

func (*Offer_Operation) Descriptor() ([]byte, []int)

func (*Offer_Operation) Equal

func (this *Offer_Operation) Equal(that interface{}) bool

func (*Offer_Operation) GetCreate

func (m *Offer_Operation) GetCreate() *Offer_Operation_Create

func (*Offer_Operation) GetCreateDisk added in v0.0.9

func (m *Offer_Operation) GetCreateDisk() *Offer_Operation_CreateDisk

func (*Offer_Operation) GetDestroy

func (m *Offer_Operation) GetDestroy() *Offer_Operation_Destroy

func (*Offer_Operation) GetDestroyDisk added in v0.0.9

func (m *Offer_Operation) GetDestroyDisk() *Offer_Operation_DestroyDisk

func (*Offer_Operation) GetGrowVolume added in v0.0.8

func (m *Offer_Operation) GetGrowVolume() *Offer_Operation_GrowVolume

func (*Offer_Operation) GetID added in v0.0.7

func (m *Offer_Operation) GetID() *OperationID

func (*Offer_Operation) GetLaunch

func (m *Offer_Operation) GetLaunch() *Offer_Operation_Launch

func (*Offer_Operation) GetLaunchGroup

func (m *Offer_Operation) GetLaunchGroup() *Offer_Operation_LaunchGroup

func (*Offer_Operation) GetReserve

func (m *Offer_Operation) GetReserve() *Offer_Operation_Reserve

func (*Offer_Operation) GetShrinkVolume added in v0.0.8

func (m *Offer_Operation) GetShrinkVolume() *Offer_Operation_ShrinkVolume

func (*Offer_Operation) GetType

func (*Offer_Operation) GetUnreserve

func (m *Offer_Operation) GetUnreserve() *Offer_Operation_Unreserve

func (*Offer_Operation) GoString

func (this *Offer_Operation) GoString() string

func (*Offer_Operation) Marshal

func (m *Offer_Operation) Marshal() (dAtA []byte, err error)

func (*Offer_Operation) MarshalJSON

func (mj *Offer_Operation) MarshalJSON() ([]byte, error)

func (*Offer_Operation) MarshalJSONBuf

func (mj *Offer_Operation) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer_Operation) MarshalTo

func (m *Offer_Operation) MarshalTo(dAtA []byte) (int, error)

func (*Offer_Operation) ProtoMessage

func (*Offer_Operation) ProtoMessage()

func (*Offer_Operation) ProtoSize added in v0.0.4

func (m *Offer_Operation) ProtoSize() (n int)

func (*Offer_Operation) Reset

func (m *Offer_Operation) Reset()

func (*Offer_Operation) String

func (this *Offer_Operation) String() string

func (*Offer_Operation) Unmarshal

func (m *Offer_Operation) Unmarshal(dAtA []byte) error

func (*Offer_Operation) UnmarshalJSON

func (uj *Offer_Operation) UnmarshalJSON(input []byte) error

func (*Offer_Operation) UnmarshalJSONFFLexer

func (uj *Offer_Operation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer_Operation) VerboseEqual

func (this *Offer_Operation) VerboseEqual(that interface{}) error

type Offer_Operation_Create

type Offer_Operation_Create struct {
	Volumes []Resource `protobuf:"bytes,1,rep,name=volumes" json:"volumes"`
}

func NewPopulatedOffer_Operation_Create

func NewPopulatedOffer_Operation_Create(r randyMesos, easy bool) *Offer_Operation_Create

func (*Offer_Operation_Create) Descriptor added in v0.0.4

func (*Offer_Operation_Create) Descriptor() ([]byte, []int)

func (*Offer_Operation_Create) Equal

func (this *Offer_Operation_Create) Equal(that interface{}) bool

func (*Offer_Operation_Create) GetVolumes

func (m *Offer_Operation_Create) GetVolumes() []Resource

func (*Offer_Operation_Create) GoString

func (this *Offer_Operation_Create) GoString() string

func (*Offer_Operation_Create) Marshal

func (m *Offer_Operation_Create) Marshal() (dAtA []byte, err error)

func (*Offer_Operation_Create) MarshalJSON

func (mj *Offer_Operation_Create) MarshalJSON() ([]byte, error)

func (*Offer_Operation_Create) MarshalJSONBuf

func (mj *Offer_Operation_Create) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer_Operation_Create) MarshalTo

func (m *Offer_Operation_Create) MarshalTo(dAtA []byte) (int, error)

func (*Offer_Operation_Create) ProtoMessage

func (*Offer_Operation_Create) ProtoMessage()

func (*Offer_Operation_Create) ProtoSize added in v0.0.4

func (m *Offer_Operation_Create) ProtoSize() (n int)

func (*Offer_Operation_Create) Reset

func (m *Offer_Operation_Create) Reset()

func (*Offer_Operation_Create) String

func (this *Offer_Operation_Create) String() string

func (*Offer_Operation_Create) Unmarshal

func (m *Offer_Operation_Create) Unmarshal(dAtA []byte) error

func (*Offer_Operation_Create) UnmarshalJSON

func (uj *Offer_Operation_Create) UnmarshalJSON(input []byte) error

func (*Offer_Operation_Create) UnmarshalJSONFFLexer

func (uj *Offer_Operation_Create) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer_Operation_Create) VerboseEqual

func (this *Offer_Operation_Create) VerboseEqual(that interface{}) error

type Offer_Operation_CreateDisk added in v0.0.9

type Offer_Operation_CreateDisk struct {
	Source Resource `protobuf:"bytes,1,req,name=source" json:"source"`
	// NOTE: Only `MOUNT` or `BLOCK` is allowed in this field.
	TargetType Resource_DiskInfo_Source_Type `protobuf:"varint,2,req,name=target_type,json=targetType,enum=mesos.Resource_DiskInfo_Source_Type" json:"target_type"`
	// Apply the specified profile to the created disk. This field must be set
	// if `source` does not have a profile, and must not be set if it has one.
	//
	// NOTE: The operation will fail If the specified profile is unknown to
	// Mesos, i.e., not reported by the disk profile adaptor.
	TargetProfile *string `protobuf:"bytes,3,opt,name=target_profile,json=targetProfile" json:"target_profile,omitempty"`
}

Create a `MOUNT` or `BLOCK` disk resource backed by a CSI volume from a `RAW` disk resource.

In the typical case where the `RAW` disk resource has a profile and no source ID, a new CSI volume will be provisioned by Mesos to back the returned `MOUNT` or `BLOCK` disk resource. However, the `RAW` disk resource can instead have no profile but a source ID, indicating that it is already backed by a CSI volume in one of the following scenarios:

(1) The CSI volume is preprovisioned out-of-band.

(2) The CSI volume is provisioned by Mesos, but Mesos has lost the

corresponding `MOUNT` or `BLOCK` resource metadata. This could
happen if there has been a change in the agent ID or resource
provider ID where the volume belongs.

In the above cases, Mesos won't provision a new CSI volume, but instead will simply return a `MOUNT` or `BLOCK` disk resource backed by the same CSI volume, with the profile specified in this call.

NOTE: For the time being, this API is subject to change and the related feature is experimental.

func NewPopulatedOffer_Operation_CreateDisk added in v0.0.9

func NewPopulatedOffer_Operation_CreateDisk(r randyMesos, easy bool) *Offer_Operation_CreateDisk

func (*Offer_Operation_CreateDisk) Descriptor added in v0.0.9

func (*Offer_Operation_CreateDisk) Descriptor() ([]byte, []int)

func (*Offer_Operation_CreateDisk) Equal added in v0.0.9

func (this *Offer_Operation_CreateDisk) Equal(that interface{}) bool

func (*Offer_Operation_CreateDisk) GetSource added in v0.0.9

func (m *Offer_Operation_CreateDisk) GetSource() Resource

func (*Offer_Operation_CreateDisk) GetTargetProfile added in v0.0.9

func (m *Offer_Operation_CreateDisk) GetTargetProfile() string

func (*Offer_Operation_CreateDisk) GetTargetType added in v0.0.9

func (*Offer_Operation_CreateDisk) GoString added in v0.0.9

func (this *Offer_Operation_CreateDisk) GoString() string

func (*Offer_Operation_CreateDisk) Marshal added in v0.0.9

func (m *Offer_Operation_CreateDisk) Marshal() (dAtA []byte, err error)

func (*Offer_Operation_CreateDisk) MarshalJSON added in v0.0.9

func (mj *Offer_Operation_CreateDisk) MarshalJSON() ([]byte, error)

func (*Offer_Operation_CreateDisk) MarshalJSONBuf added in v0.0.9

func (mj *Offer_Operation_CreateDisk) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer_Operation_CreateDisk) MarshalTo added in v0.0.9

func (m *Offer_Operation_CreateDisk) MarshalTo(dAtA []byte) (int, error)

func (*Offer_Operation_CreateDisk) ProtoMessage added in v0.0.9

func (*Offer_Operation_CreateDisk) ProtoMessage()

func (*Offer_Operation_CreateDisk) ProtoSize added in v0.0.9

func (m *Offer_Operation_CreateDisk) ProtoSize() (n int)

func (*Offer_Operation_CreateDisk) Reset added in v0.0.9

func (m *Offer_Operation_CreateDisk) Reset()

func (*Offer_Operation_CreateDisk) String added in v0.0.9

func (this *Offer_Operation_CreateDisk) String() string

func (*Offer_Operation_CreateDisk) Unmarshal added in v0.0.9

func (m *Offer_Operation_CreateDisk) Unmarshal(dAtA []byte) error

func (*Offer_Operation_CreateDisk) UnmarshalJSON added in v0.0.9

func (uj *Offer_Operation_CreateDisk) UnmarshalJSON(input []byte) error

func (*Offer_Operation_CreateDisk) UnmarshalJSONFFLexer added in v0.0.9

func (uj *Offer_Operation_CreateDisk) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer_Operation_CreateDisk) VerboseEqual added in v0.0.9

func (this *Offer_Operation_CreateDisk) VerboseEqual(that interface{}) error

type Offer_Operation_Destroy

type Offer_Operation_Destroy struct {
	Volumes []Resource `protobuf:"bytes,1,rep,name=volumes" json:"volumes"`
}

func NewPopulatedOffer_Operation_Destroy

func NewPopulatedOffer_Operation_Destroy(r randyMesos, easy bool) *Offer_Operation_Destroy

func (*Offer_Operation_Destroy) Descriptor added in v0.0.4

func (*Offer_Operation_Destroy) Descriptor() ([]byte, []int)

func (*Offer_Operation_Destroy) Equal

func (this *Offer_Operation_Destroy) Equal(that interface{}) bool

func (*Offer_Operation_Destroy) GetVolumes

func (m *Offer_Operation_Destroy) GetVolumes() []Resource

func (*Offer_Operation_Destroy) GoString

func (this *Offer_Operation_Destroy) GoString() string

func (*Offer_Operation_Destroy) Marshal

func (m *Offer_Operation_Destroy) Marshal() (dAtA []byte, err error)

func (*Offer_Operation_Destroy) MarshalJSON

func (mj *Offer_Operation_Destroy) MarshalJSON() ([]byte, error)

func (*Offer_Operation_Destroy) MarshalJSONBuf

func (mj *Offer_Operation_Destroy) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer_Operation_Destroy) MarshalTo

func (m *Offer_Operation_Destroy) MarshalTo(dAtA []byte) (int, error)

func (*Offer_Operation_Destroy) ProtoMessage

func (*Offer_Operation_Destroy) ProtoMessage()

func (*Offer_Operation_Destroy) ProtoSize added in v0.0.4

func (m *Offer_Operation_Destroy) ProtoSize() (n int)

func (*Offer_Operation_Destroy) Reset

func (m *Offer_Operation_Destroy) Reset()

func (*Offer_Operation_Destroy) String

func (this *Offer_Operation_Destroy) String() string

func (*Offer_Operation_Destroy) Unmarshal

func (m *Offer_Operation_Destroy) Unmarshal(dAtA []byte) error

func (*Offer_Operation_Destroy) UnmarshalJSON

func (uj *Offer_Operation_Destroy) UnmarshalJSON(input []byte) error

func (*Offer_Operation_Destroy) UnmarshalJSONFFLexer

func (uj *Offer_Operation_Destroy) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer_Operation_Destroy) VerboseEqual

func (this *Offer_Operation_Destroy) VerboseEqual(that interface{}) error

type Offer_Operation_DestroyDisk added in v0.0.9

type Offer_Operation_DestroyDisk struct {
	// NOTE: Only a `MOUNT`, `BLOCK` or `RAW` disk is allowed in this field.
	Source Resource `protobuf:"bytes,1,req,name=source" json:"source"`
}

Destroy a disk resource backed by a CSI volume.

In the typical case where the CSI plugin of the volume supports volume deprovisioning and the disk resource is a `MOUNT` or `BLOCK` disk with a profile known to Mesos, the volume will be deprovisioned and a `RAW` disk resource with the same profile but no source ID will be returned. However, the following scenarios could lead to different outcomes:

(1) If the CSI plugin supports volume deprovisioning but the profile of

the disk resource is unknown to the disk profile adaptor, or the disk
resource is a `RAW` disk with no profile but a source ID (see above
for possible scenarios), the volume will be deprovisioned but no
resource will be returned.

(2) If the CSI plugin does not support volume deprovisioning, the volume

won't be deprovisioned and a `RAW` disk resource with no profile but
the same source ID will be returned.

NOTE: For the time being, this API is subject to change and the related feature is experimental.

func NewPopulatedOffer_Operation_DestroyDisk added in v0.0.9

func NewPopulatedOffer_Operation_DestroyDisk(r randyMesos, easy bool) *Offer_Operation_DestroyDisk

func (*Offer_Operation_DestroyDisk) Descriptor added in v0.0.9

func (*Offer_Operation_DestroyDisk) Descriptor() ([]byte, []int)

func (*Offer_Operation_DestroyDisk) Equal added in v0.0.9

func (this *Offer_Operation_DestroyDisk) Equal(that interface{}) bool

func (*Offer_Operation_DestroyDisk) GetSource added in v0.0.9

func (m *Offer_Operation_DestroyDisk) GetSource() Resource

func (*Offer_Operation_DestroyDisk) GoString added in v0.0.9

func (this *Offer_Operation_DestroyDisk) GoString() string

func (*Offer_Operation_DestroyDisk) Marshal added in v0.0.9

func (m *Offer_Operation_DestroyDisk) Marshal() (dAtA []byte, err error)

func (*Offer_Operation_DestroyDisk) MarshalJSON added in v0.0.9

func (mj *Offer_Operation_DestroyDisk) MarshalJSON() ([]byte, error)

func (*Offer_Operation_DestroyDisk) MarshalJSONBuf added in v0.0.9

func (mj *Offer_Operation_DestroyDisk) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer_Operation_DestroyDisk) MarshalTo added in v0.0.9

func (m *Offer_Operation_DestroyDisk) MarshalTo(dAtA []byte) (int, error)

func (*Offer_Operation_DestroyDisk) ProtoMessage added in v0.0.9

func (*Offer_Operation_DestroyDisk) ProtoMessage()

func (*Offer_Operation_DestroyDisk) ProtoSize added in v0.0.9

func (m *Offer_Operation_DestroyDisk) ProtoSize() (n int)

func (*Offer_Operation_DestroyDisk) Reset added in v0.0.9

func (m *Offer_Operation_DestroyDisk) Reset()

func (*Offer_Operation_DestroyDisk) String added in v0.0.9

func (this *Offer_Operation_DestroyDisk) String() string

func (*Offer_Operation_DestroyDisk) Unmarshal added in v0.0.9

func (m *Offer_Operation_DestroyDisk) Unmarshal(dAtA []byte) error

func (*Offer_Operation_DestroyDisk) UnmarshalJSON added in v0.0.9

func (uj *Offer_Operation_DestroyDisk) UnmarshalJSON(input []byte) error

func (*Offer_Operation_DestroyDisk) UnmarshalJSONFFLexer added in v0.0.9

func (uj *Offer_Operation_DestroyDisk) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer_Operation_DestroyDisk) VerboseEqual added in v0.0.9

func (this *Offer_Operation_DestroyDisk) VerboseEqual(that interface{}) error

type Offer_Operation_GrowVolume added in v0.0.8

type Offer_Operation_GrowVolume struct {
	Volume   Resource `protobuf:"bytes,1,req,name=volume" json:"volume"`
	Addition Resource `protobuf:"bytes,2,req,name=addition" json:"addition"`
}

Grow a volume by an additional disk resource. NOTE: This is currently experimental and only for persistent volumes created on ROOT/PATH disk.

func NewPopulatedOffer_Operation_GrowVolume added in v0.0.8

func NewPopulatedOffer_Operation_GrowVolume(r randyMesos, easy bool) *Offer_Operation_GrowVolume

func (*Offer_Operation_GrowVolume) Descriptor added in v0.0.8

func (*Offer_Operation_GrowVolume) Descriptor() ([]byte, []int)

func (*Offer_Operation_GrowVolume) Equal added in v0.0.8

func (this *Offer_Operation_GrowVolume) Equal(that interface{}) bool

func (*Offer_Operation_GrowVolume) GetAddition added in v0.0.8

func (m *Offer_Operation_GrowVolume) GetAddition() Resource

func (*Offer_Operation_GrowVolume) GetVolume added in v0.0.8

func (m *Offer_Operation_GrowVolume) GetVolume() Resource

func (*Offer_Operation_GrowVolume) GoString added in v0.0.8

func (this *Offer_Operation_GrowVolume) GoString() string

func (*Offer_Operation_GrowVolume) Marshal added in v0.0.8

func (m *Offer_Operation_GrowVolume) Marshal() (dAtA []byte, err error)

func (*Offer_Operation_GrowVolume) MarshalJSON added in v0.0.8

func (mj *Offer_Operation_GrowVolume) MarshalJSON() ([]byte, error)

func (*Offer_Operation_GrowVolume) MarshalJSONBuf added in v0.0.8

func (mj *Offer_Operation_GrowVolume) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer_Operation_GrowVolume) MarshalTo added in v0.0.8

func (m *Offer_Operation_GrowVolume) MarshalTo(dAtA []byte) (int, error)

func (*Offer_Operation_GrowVolume) ProtoMessage added in v0.0.8

func (*Offer_Operation_GrowVolume) ProtoMessage()

func (*Offer_Operation_GrowVolume) ProtoSize added in v0.0.8

func (m *Offer_Operation_GrowVolume) ProtoSize() (n int)

func (*Offer_Operation_GrowVolume) Reset added in v0.0.8

func (m *Offer_Operation_GrowVolume) Reset()

func (*Offer_Operation_GrowVolume) String added in v0.0.8

func (this *Offer_Operation_GrowVolume) String() string

func (*Offer_Operation_GrowVolume) Unmarshal added in v0.0.8

func (m *Offer_Operation_GrowVolume) Unmarshal(dAtA []byte) error

func (*Offer_Operation_GrowVolume) UnmarshalJSON added in v0.0.8

func (uj *Offer_Operation_GrowVolume) UnmarshalJSON(input []byte) error

func (*Offer_Operation_GrowVolume) UnmarshalJSONFFLexer added in v0.0.8

func (uj *Offer_Operation_GrowVolume) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer_Operation_GrowVolume) VerboseEqual added in v0.0.8

func (this *Offer_Operation_GrowVolume) VerboseEqual(that interface{}) error

type Offer_Operation_Launch

type Offer_Operation_Launch struct {
	TaskInfos []TaskInfo `protobuf:"bytes,1,rep,name=task_infos,json=taskInfos" json:"task_infos"`
}

TODO(vinod): Deprecate this in favor of `LaunchGroup` below.

func NewPopulatedOffer_Operation_Launch

func NewPopulatedOffer_Operation_Launch(r randyMesos, easy bool) *Offer_Operation_Launch

func (*Offer_Operation_Launch) Descriptor added in v0.0.4

func (*Offer_Operation_Launch) Descriptor() ([]byte, []int)

func (*Offer_Operation_Launch) Equal

func (this *Offer_Operation_Launch) Equal(that interface{}) bool

func (*Offer_Operation_Launch) GetTaskInfos

func (m *Offer_Operation_Launch) GetTaskInfos() []TaskInfo

func (*Offer_Operation_Launch) GoString

func (this *Offer_Operation_Launch) GoString() string

func (*Offer_Operation_Launch) Marshal

func (m *Offer_Operation_Launch) Marshal() (dAtA []byte, err error)

func (*Offer_Operation_Launch) MarshalJSON

func (mj *Offer_Operation_Launch) MarshalJSON() ([]byte, error)

func (*Offer_Operation_Launch) MarshalJSONBuf

func (mj *Offer_Operation_Launch) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer_Operation_Launch) MarshalTo

func (m *Offer_Operation_Launch) MarshalTo(dAtA []byte) (int, error)

func (*Offer_Operation_Launch) ProtoMessage

func (*Offer_Operation_Launch) ProtoMessage()

func (*Offer_Operation_Launch) ProtoSize added in v0.0.4

func (m *Offer_Operation_Launch) ProtoSize() (n int)

func (*Offer_Operation_Launch) Reset

func (m *Offer_Operation_Launch) Reset()

func (*Offer_Operation_Launch) String

func (this *Offer_Operation_Launch) String() string

func (*Offer_Operation_Launch) Unmarshal

func (m *Offer_Operation_Launch) Unmarshal(dAtA []byte) error

func (*Offer_Operation_Launch) UnmarshalJSON

func (uj *Offer_Operation_Launch) UnmarshalJSON(input []byte) error

func (*Offer_Operation_Launch) UnmarshalJSONFFLexer

func (uj *Offer_Operation_Launch) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer_Operation_Launch) VerboseEqual

func (this *Offer_Operation_Launch) VerboseEqual(that interface{}) error

type Offer_Operation_LaunchGroup

type Offer_Operation_LaunchGroup struct {
	Executor  ExecutorInfo  `protobuf:"bytes,1,req,name=executor" json:"executor"`
	TaskGroup TaskGroupInfo `protobuf:"bytes,2,req,name=task_group,json=taskGroup" json:"task_group"`
}

Unlike `Launch` above, all the tasks in a `task_group` are atomically delivered to an executor.

`NetworkInfo` set on executor will be shared by all tasks in the task group.

TODO(vinod): Any volumes set on executor could be used by a task by explicitly setting `Volume.source` in its resources.

func NewPopulatedOffer_Operation_LaunchGroup

func NewPopulatedOffer_Operation_LaunchGroup(r randyMesos, easy bool) *Offer_Operation_LaunchGroup

func (*Offer_Operation_LaunchGroup) Descriptor added in v0.0.4

func (*Offer_Operation_LaunchGroup) Descriptor() ([]byte, []int)

func (*Offer_Operation_LaunchGroup) Equal

func (this *Offer_Operation_LaunchGroup) Equal(that interface{}) bool

func (*Offer_Operation_LaunchGroup) GetExecutor

func (m *Offer_Operation_LaunchGroup) GetExecutor() ExecutorInfo

func (*Offer_Operation_LaunchGroup) GetTaskGroup

func (m *Offer_Operation_LaunchGroup) GetTaskGroup() TaskGroupInfo

func (*Offer_Operation_LaunchGroup) GoString

func (this *Offer_Operation_LaunchGroup) GoString() string

func (*Offer_Operation_LaunchGroup) Marshal

func (m *Offer_Operation_LaunchGroup) Marshal() (dAtA []byte, err error)

func (*Offer_Operation_LaunchGroup) MarshalJSON

func (mj *Offer_Operation_LaunchGroup) MarshalJSON() ([]byte, error)

func (*Offer_Operation_LaunchGroup) MarshalJSONBuf

func (mj *Offer_Operation_LaunchGroup) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer_Operation_LaunchGroup) MarshalTo

func (m *Offer_Operation_LaunchGroup) MarshalTo(dAtA []byte) (int, error)

func (*Offer_Operation_LaunchGroup) ProtoMessage

func (*Offer_Operation_LaunchGroup) ProtoMessage()

func (*Offer_Operation_LaunchGroup) ProtoSize added in v0.0.4

func (m *Offer_Operation_LaunchGroup) ProtoSize() (n int)

func (*Offer_Operation_LaunchGroup) Reset

func (m *Offer_Operation_LaunchGroup) Reset()

func (*Offer_Operation_LaunchGroup) String

func (this *Offer_Operation_LaunchGroup) String() string

func (*Offer_Operation_LaunchGroup) Unmarshal

func (m *Offer_Operation_LaunchGroup) Unmarshal(dAtA []byte) error

func (*Offer_Operation_LaunchGroup) UnmarshalJSON

func (uj *Offer_Operation_LaunchGroup) UnmarshalJSON(input []byte) error

func (*Offer_Operation_LaunchGroup) UnmarshalJSONFFLexer

func (uj *Offer_Operation_LaunchGroup) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer_Operation_LaunchGroup) VerboseEqual

func (this *Offer_Operation_LaunchGroup) VerboseEqual(that interface{}) error

type Offer_Operation_Reserve

type Offer_Operation_Reserve struct {
	Resources []Resource `protobuf:"bytes,1,rep,name=resources" json:"resources"`
}

func NewPopulatedOffer_Operation_Reserve

func NewPopulatedOffer_Operation_Reserve(r randyMesos, easy bool) *Offer_Operation_Reserve

func (*Offer_Operation_Reserve) Descriptor added in v0.0.4

func (*Offer_Operation_Reserve) Descriptor() ([]byte, []int)

func (*Offer_Operation_Reserve) Equal

func (this *Offer_Operation_Reserve) Equal(that interface{}) bool

func (*Offer_Operation_Reserve) GetResources

func (m *Offer_Operation_Reserve) GetResources() []Resource

func (*Offer_Operation_Reserve) GoString

func (this *Offer_Operation_Reserve) GoString() string

func (*Offer_Operation_Reserve) Marshal

func (m *Offer_Operation_Reserve) Marshal() (dAtA []byte, err error)

func (*Offer_Operation_Reserve) MarshalJSON

func (mj *Offer_Operation_Reserve) MarshalJSON() ([]byte, error)

func (*Offer_Operation_Reserve) MarshalJSONBuf

func (mj *Offer_Operation_Reserve) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer_Operation_Reserve) MarshalTo

func (m *Offer_Operation_Reserve) MarshalTo(dAtA []byte) (int, error)

func (*Offer_Operation_Reserve) ProtoMessage

func (*Offer_Operation_Reserve) ProtoMessage()

func (*Offer_Operation_Reserve) ProtoSize added in v0.0.4

func (m *Offer_Operation_Reserve) ProtoSize() (n int)

func (*Offer_Operation_Reserve) Reset

func (m *Offer_Operation_Reserve) Reset()

func (*Offer_Operation_Reserve) String

func (this *Offer_Operation_Reserve) String() string

func (*Offer_Operation_Reserve) Unmarshal

func (m *Offer_Operation_Reserve) Unmarshal(dAtA []byte) error

func (*Offer_Operation_Reserve) UnmarshalJSON

func (uj *Offer_Operation_Reserve) UnmarshalJSON(input []byte) error

func (*Offer_Operation_Reserve) UnmarshalJSONFFLexer

func (uj *Offer_Operation_Reserve) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer_Operation_Reserve) VerboseEqual

func (this *Offer_Operation_Reserve) VerboseEqual(that interface{}) error

type Offer_Operation_ShrinkVolume added in v0.0.8

type Offer_Operation_ShrinkVolume struct {
	Volume Resource `protobuf:"bytes,1,req,name=volume" json:"volume"`
	// See comments in `Value.Scalar` for maximum precision supported.
	Subtract Value_Scalar `protobuf:"bytes,2,req,name=subtract" json:"subtract"`
}

Shrink a volume by the size specified in the `subtract` field. NOTE: This is currently experimental and only for persistent volumes created on ROOT/PATH disk.

func NewPopulatedOffer_Operation_ShrinkVolume added in v0.0.8

func NewPopulatedOffer_Operation_ShrinkVolume(r randyMesos, easy bool) *Offer_Operation_ShrinkVolume

func (*Offer_Operation_ShrinkVolume) Descriptor added in v0.0.8

func (*Offer_Operation_ShrinkVolume) Descriptor() ([]byte, []int)

func (*Offer_Operation_ShrinkVolume) Equal added in v0.0.8

func (this *Offer_Operation_ShrinkVolume) Equal(that interface{}) bool

func (*Offer_Operation_ShrinkVolume) GetSubtract added in v0.0.8

func (m *Offer_Operation_ShrinkVolume) GetSubtract() Value_Scalar

func (*Offer_Operation_ShrinkVolume) GetVolume added in v0.0.8

func (m *Offer_Operation_ShrinkVolume) GetVolume() Resource

func (*Offer_Operation_ShrinkVolume) GoString added in v0.0.8

func (this *Offer_Operation_ShrinkVolume) GoString() string

func (*Offer_Operation_ShrinkVolume) Marshal added in v0.0.8

func (m *Offer_Operation_ShrinkVolume) Marshal() (dAtA []byte, err error)

func (*Offer_Operation_ShrinkVolume) MarshalJSON added in v0.0.8

func (mj *Offer_Operation_ShrinkVolume) MarshalJSON() ([]byte, error)

func (*Offer_Operation_ShrinkVolume) MarshalJSONBuf added in v0.0.8

func (mj *Offer_Operation_ShrinkVolume) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer_Operation_ShrinkVolume) MarshalTo added in v0.0.8

func (m *Offer_Operation_ShrinkVolume) MarshalTo(dAtA []byte) (int, error)

func (*Offer_Operation_ShrinkVolume) ProtoMessage added in v0.0.8

func (*Offer_Operation_ShrinkVolume) ProtoMessage()

func (*Offer_Operation_ShrinkVolume) ProtoSize added in v0.0.8

func (m *Offer_Operation_ShrinkVolume) ProtoSize() (n int)

func (*Offer_Operation_ShrinkVolume) Reset added in v0.0.8

func (m *Offer_Operation_ShrinkVolume) Reset()

func (*Offer_Operation_ShrinkVolume) String added in v0.0.8

func (this *Offer_Operation_ShrinkVolume) String() string

func (*Offer_Operation_ShrinkVolume) Unmarshal added in v0.0.8

func (m *Offer_Operation_ShrinkVolume) Unmarshal(dAtA []byte) error

func (*Offer_Operation_ShrinkVolume) UnmarshalJSON added in v0.0.8

func (uj *Offer_Operation_ShrinkVolume) UnmarshalJSON(input []byte) error

func (*Offer_Operation_ShrinkVolume) UnmarshalJSONFFLexer added in v0.0.8

func (uj *Offer_Operation_ShrinkVolume) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer_Operation_ShrinkVolume) VerboseEqual added in v0.0.8

func (this *Offer_Operation_ShrinkVolume) VerboseEqual(that interface{}) error

type Offer_Operation_Type

type Offer_Operation_Type int32
const (
	Offer_Operation_UNKNOWN       Offer_Operation_Type = 0
	Offer_Operation_LAUNCH        Offer_Operation_Type = 1
	Offer_Operation_LAUNCH_GROUP  Offer_Operation_Type = 6
	Offer_Operation_RESERVE       Offer_Operation_Type = 2
	Offer_Operation_UNRESERVE     Offer_Operation_Type = 3
	Offer_Operation_CREATE        Offer_Operation_Type = 4
	Offer_Operation_DESTROY       Offer_Operation_Type = 5
	Offer_Operation_GROW_VOLUME   Offer_Operation_Type = 11
	Offer_Operation_SHRINK_VOLUME Offer_Operation_Type = 12
	Offer_Operation_CREATE_DISK   Offer_Operation_Type = 13
	Offer_Operation_DESTROY_DISK  Offer_Operation_Type = 14
)

func (Offer_Operation_Type) Enum

func (Offer_Operation_Type) EnumDescriptor added in v0.0.4

func (Offer_Operation_Type) EnumDescriptor() ([]byte, []int)

func (Offer_Operation_Type) MarshalJSON

func (x Offer_Operation_Type) MarshalJSON() ([]byte, error)

func (Offer_Operation_Type) String

func (x Offer_Operation_Type) String() string

func (*Offer_Operation_Type) UnmarshalJSON

func (x *Offer_Operation_Type) UnmarshalJSON(data []byte) error

type Offer_Operation_Unreserve

type Offer_Operation_Unreserve struct {
	Resources []Resource `protobuf:"bytes,1,rep,name=resources" json:"resources"`
}

func NewPopulatedOffer_Operation_Unreserve

func NewPopulatedOffer_Operation_Unreserve(r randyMesos, easy bool) *Offer_Operation_Unreserve

func (*Offer_Operation_Unreserve) Descriptor added in v0.0.4

func (*Offer_Operation_Unreserve) Descriptor() ([]byte, []int)

func (*Offer_Operation_Unreserve) Equal

func (this *Offer_Operation_Unreserve) Equal(that interface{}) bool

func (*Offer_Operation_Unreserve) GetResources

func (m *Offer_Operation_Unreserve) GetResources() []Resource

func (*Offer_Operation_Unreserve) GoString

func (this *Offer_Operation_Unreserve) GoString() string

func (*Offer_Operation_Unreserve) Marshal

func (m *Offer_Operation_Unreserve) Marshal() (dAtA []byte, err error)

func (*Offer_Operation_Unreserve) MarshalJSON

func (mj *Offer_Operation_Unreserve) MarshalJSON() ([]byte, error)

func (*Offer_Operation_Unreserve) MarshalJSONBuf

func (mj *Offer_Operation_Unreserve) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Offer_Operation_Unreserve) MarshalTo

func (m *Offer_Operation_Unreserve) MarshalTo(dAtA []byte) (int, error)

func (*Offer_Operation_Unreserve) ProtoMessage

func (*Offer_Operation_Unreserve) ProtoMessage()

func (*Offer_Operation_Unreserve) ProtoSize added in v0.0.4

func (m *Offer_Operation_Unreserve) ProtoSize() (n int)

func (*Offer_Operation_Unreserve) Reset

func (m *Offer_Operation_Unreserve) Reset()

func (*Offer_Operation_Unreserve) String

func (this *Offer_Operation_Unreserve) String() string

func (*Offer_Operation_Unreserve) Unmarshal

func (m *Offer_Operation_Unreserve) Unmarshal(dAtA []byte) error

func (*Offer_Operation_Unreserve) UnmarshalJSON

func (uj *Offer_Operation_Unreserve) UnmarshalJSON(input []byte) error

func (*Offer_Operation_Unreserve) UnmarshalJSONFFLexer

func (uj *Offer_Operation_Unreserve) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Offer_Operation_Unreserve) VerboseEqual

func (this *Offer_Operation_Unreserve) VerboseEqual(that interface{}) error

type Operation added in v0.0.7

type Operation struct {
	FrameworkID  *FrameworkID    `protobuf:"bytes,1,opt,name=framework_id,json=frameworkId" json:"framework_id,omitempty"`
	AgentID      *AgentID        `protobuf:"bytes,2,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"`
	Info         Offer_Operation `protobuf:"bytes,3,req,name=info" json:"info"`
	LatestStatus OperationStatus `protobuf:"bytes,4,req,name=latest_status,json=latestStatus" json:"latest_status"`
	// All the statuses known to this operation. Some of the statuses in this
	// list might not have been acknowledged yet. The statuses are ordered.
	Statuses []OperationStatus `protobuf:"bytes,5,rep,name=statuses" json:"statuses"`
	// This is the internal UUID for the operation, which is kept independently
	// from the framework-specified operation ID, which is optional.
	UUID UUID `protobuf:"bytes,6,req,name=uuid" json:"uuid"`
}

* Describes an operation, similar to `Offer.Operation`, with some additional information.

func NewPopulatedOperation added in v0.0.7

func NewPopulatedOperation(r randyMesos, easy bool) *Operation

func (*Operation) Descriptor added in v0.0.7

func (*Operation) Descriptor() ([]byte, []int)

func (*Operation) Equal added in v0.0.7

func (this *Operation) Equal(that interface{}) bool

func (*Operation) GetAgentID added in v0.0.7

func (m *Operation) GetAgentID() *AgentID

func (*Operation) GetFrameworkID added in v0.0.7

func (m *Operation) GetFrameworkID() *FrameworkID

func (*Operation) GetInfo added in v0.0.7

func (m *Operation) GetInfo() Offer_Operation

func (*Operation) GetLatestStatus added in v0.0.7

func (m *Operation) GetLatestStatus() OperationStatus

func (*Operation) GetStatuses added in v0.0.7

func (m *Operation) GetStatuses() []OperationStatus

func (*Operation) GetUUID added in v0.0.7

func (m *Operation) GetUUID() UUID

func (*Operation) GoString added in v0.0.7

func (this *Operation) GoString() string

func (*Operation) Marshal added in v0.0.7

func (m *Operation) Marshal() (dAtA []byte, err error)

func (*Operation) MarshalJSON added in v0.0.7

func (mj *Operation) MarshalJSON() ([]byte, error)

func (*Operation) MarshalJSONBuf added in v0.0.7

func (mj *Operation) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Operation) MarshalTo added in v0.0.7

func (m *Operation) MarshalTo(dAtA []byte) (int, error)

func (*Operation) ProtoMessage added in v0.0.7

func (*Operation) ProtoMessage()

func (*Operation) ProtoSize added in v0.0.7

func (m *Operation) ProtoSize() (n int)

func (*Operation) Reset added in v0.0.7

func (m *Operation) Reset()

func (*Operation) String added in v0.0.7

func (this *Operation) String() string

func (*Operation) Unmarshal added in v0.0.7

func (m *Operation) Unmarshal(dAtA []byte) error

func (*Operation) UnmarshalJSON added in v0.0.7

func (uj *Operation) UnmarshalJSON(input []byte) error

func (*Operation) UnmarshalJSONFFLexer added in v0.0.7

func (uj *Operation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Operation) VerboseEqual added in v0.0.7

func (this *Operation) VerboseEqual(that interface{}) error

type OperationID added in v0.0.7

type OperationID struct {
	Value string `protobuf:"bytes,1,req,name=value" json:"value"`
}

* A framework-generated ID to distinguish an operation. The ID must be unique within the framework.

func NewPopulatedOperationID added in v0.0.7

func NewPopulatedOperationID(r randyMesos, easy bool) *OperationID

func (*OperationID) Descriptor added in v0.0.7

func (*OperationID) Descriptor() ([]byte, []int)

func (*OperationID) Equal added in v0.0.7

func (this *OperationID) Equal(that interface{}) bool

func (*OperationID) GetValue added in v0.0.7

func (m *OperationID) GetValue() string

func (*OperationID) GoString added in v0.0.7

func (this *OperationID) GoString() string

func (*OperationID) Marshal added in v0.0.7

func (m *OperationID) Marshal() (dAtA []byte, err error)

func (*OperationID) MarshalJSON added in v0.0.7

func (mj *OperationID) MarshalJSON() ([]byte, error)

func (*OperationID) MarshalJSONBuf added in v0.0.7

func (mj *OperationID) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*OperationID) MarshalTo added in v0.0.7

func (m *OperationID) MarshalTo(dAtA []byte) (int, error)

func (*OperationID) ProtoMessage added in v0.0.7

func (*OperationID) ProtoMessage()

func (*OperationID) ProtoSize added in v0.0.7

func (m *OperationID) ProtoSize() (n int)

func (*OperationID) Reset added in v0.0.7

func (m *OperationID) Reset()

func (*OperationID) String added in v0.0.7

func (this *OperationID) String() string

func (*OperationID) Unmarshal added in v0.0.7

func (m *OperationID) Unmarshal(dAtA []byte) error

func (*OperationID) UnmarshalJSON added in v0.0.7

func (uj *OperationID) UnmarshalJSON(input []byte) error

func (*OperationID) UnmarshalJSONFFLexer added in v0.0.7

func (uj *OperationID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*OperationID) VerboseEqual added in v0.0.7

func (this *OperationID) VerboseEqual(that interface{}) error

type OperationState added in v0.0.7

type OperationState int32

* Describes possible operation states.

const (
	// Default value if the enum is not set. See MESOS-4997.
	OPERATION_UNSUPPORTED OperationState = 0
	// Initial state.
	OPERATION_PENDING OperationState = 1
	// TERMINAL: The operation was successfully applied.
	OPERATION_FINISHED OperationState = 2
	// TERMINAL: The operation failed to apply.
	OPERATION_FAILED OperationState = 3
	// TERMINAL: The operation description contains an error.
	OPERATION_ERROR OperationState = 4
	// TERMINAL: The operation was dropped due to a transient error.
	OPERATION_DROPPED OperationState = 5
	// The operation affects an agent that has lost contact with the master,
	// typically due to a network failure or partition. The operation may or may
	// not still be pending.
	OPERATION_UNREACHABLE OperationState = 6
	// The operation affected an agent that the master cannot contact;
	// the operator has asserted that the agent has been shutdown, but this has
	// not been directly confirmed by the master.
	//
	// If the operator is correct, the operation is not pending and this is a
	// terminal state; if the operator is mistaken, the operation may still be
	// pending and might return to a different state in the future.
	OPERATION_GONE_BY_OPERATOR OperationState = 7
	// The operation affects an agent that the master recovered from its
	// state, but that agent has not yet re-registered.
	//
	// The operation can transition to `OPERATION_UNREACHABLE` if the
	// corresponding agent is marked as unreachable, and will transition to
	// another status if the agent re-registers.
	OPERATION_RECOVERING OperationState = 8
	// The master has no knowledge of the operation. This is typically
	// because either (a) the master never had knowledge of the operation, or
	// (b) the master forgot about the operation because it garbage collected
	// its metadata about the operation. The operation may or may not still be
	// pending.
	OPERATION_UNKNOWN OperationState = 9
)

func (OperationState) Enum added in v0.0.7

func (x OperationState) Enum() *OperationState

func (OperationState) EnumDescriptor added in v0.0.7

func (OperationState) EnumDescriptor() ([]byte, []int)

func (OperationState) MarshalJSON added in v0.0.7

func (x OperationState) MarshalJSON() ([]byte, error)

func (OperationState) String added in v0.0.7

func (x OperationState) String() string

func (*OperationState) UnmarshalJSON added in v0.0.7

func (x *OperationState) UnmarshalJSON(data []byte) error

type OperationStatus added in v0.0.7

type OperationStatus struct {
	// While frameworks will only receive status updates for operations on which
	// they have set an ID, this field is optional because this message is also
	// used internally by Mesos components when the operation's ID has not been
	// set.
	OperationID *OperationID   `protobuf:"bytes,1,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"`
	State       OperationState `protobuf:"varint,2,req,name=state,enum=mesos.OperationState" json:"state"`
	Message     *string        `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	// Converted resources after applying the operation. This only
	// applies if the `state` is `OPERATION_FINISHED`.
	ConvertedResources []Resource `protobuf:"bytes,4,rep,name=converted_resources,json=convertedResources" json:"converted_resources"`
	// Statuses that are delivered reliably to the scheduler will
	// include a `uuid`. The status is considered delivered once
	// it is acknowledged by the scheduler.
	UUID *UUID `protobuf:"bytes,5,opt,name=uuid" json:"uuid,omitempty"`
	// If the operation affects resources from a local resource provider,
	// both `agent_id` and `resource_provider_id` will be set.
	//
	// If the operation affects resources that belong to an external
	// resource provider, only `resource_provider_id` will be set.
	//
	// In certain cases, e.g., invalid operations, neither `uuid`,
	// `slave_id` nor `resource_provider_id` will be set, and the
	// scheduler does not need to acknowledge this status update.
	AgentID            *AgentID            `protobuf:"bytes,6,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"`
	ResourceProviderID *ResourceProviderID `protobuf:"bytes,7,opt,name=resource_provider_id,json=resourceProviderId" json:"resource_provider_id,omitempty"`
}

* Describes the current status of an operation.

func NewPopulatedOperationStatus added in v0.0.7

func NewPopulatedOperationStatus(r randyMesos, easy bool) *OperationStatus

func (*OperationStatus) Descriptor added in v0.0.7

func (*OperationStatus) Descriptor() ([]byte, []int)

func (*OperationStatus) Equal added in v0.0.7

func (this *OperationStatus) Equal(that interface{}) bool

func (*OperationStatus) GetAgentID added in v0.0.9

func (m *OperationStatus) GetAgentID() *AgentID

func (*OperationStatus) GetConvertedResources added in v0.0.7

func (m *OperationStatus) GetConvertedResources() []Resource

func (*OperationStatus) GetMessage added in v0.0.7

func (m *OperationStatus) GetMessage() string

func (*OperationStatus) GetOperationID added in v0.0.7

func (m *OperationStatus) GetOperationID() *OperationID

func (*OperationStatus) GetResourceProviderID added in v0.0.9

func (m *OperationStatus) GetResourceProviderID() *ResourceProviderID

func (*OperationStatus) GetState added in v0.0.7

func (m *OperationStatus) GetState() OperationState

func (*OperationStatus) GetUUID added in v0.0.7

func (m *OperationStatus) GetUUID() *UUID

func (*OperationStatus) GoString added in v0.0.7

func (this *OperationStatus) GoString() string

func (*OperationStatus) Marshal added in v0.0.7

func (m *OperationStatus) Marshal() (dAtA []byte, err error)

func (*OperationStatus) MarshalJSON added in v0.0.7

func (mj *OperationStatus) MarshalJSON() ([]byte, error)

func (*OperationStatus) MarshalJSONBuf added in v0.0.7

func (mj *OperationStatus) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*OperationStatus) MarshalTo added in v0.0.7

func (m *OperationStatus) MarshalTo(dAtA []byte) (int, error)

func (*OperationStatus) ProtoMessage added in v0.0.7

func (*OperationStatus) ProtoMessage()

func (*OperationStatus) ProtoSize added in v0.0.7

func (m *OperationStatus) ProtoSize() (n int)

func (*OperationStatus) Reset added in v0.0.7

func (m *OperationStatus) Reset()

func (*OperationStatus) String added in v0.0.7

func (this *OperationStatus) String() string

func (*OperationStatus) Unmarshal added in v0.0.7

func (m *OperationStatus) Unmarshal(dAtA []byte) error

func (*OperationStatus) UnmarshalJSON added in v0.0.7

func (uj *OperationStatus) UnmarshalJSON(input []byte) error

func (*OperationStatus) UnmarshalJSONFFLexer added in v0.0.7

func (uj *OperationStatus) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*OperationStatus) VerboseEqual added in v0.0.7

func (this *OperationStatus) VerboseEqual(that interface{}) error

type Parameter

type Parameter struct {
	Key   string `protobuf:"bytes,1,req,name=key" json:"key"`
	Value string `protobuf:"bytes,2,req,name=value" json:"value"`
}

* A generic (key, value) pair used in various places for parameters.

func NewPopulatedParameter

func NewPopulatedParameter(r randyMesos, easy bool) *Parameter

func (*Parameter) Descriptor added in v0.0.4

func (*Parameter) Descriptor() ([]byte, []int)

func (*Parameter) Equal

func (this *Parameter) Equal(that interface{}) bool

func (*Parameter) GetKey

func (m *Parameter) GetKey() string

func (*Parameter) GetValue

func (m *Parameter) GetValue() string

func (*Parameter) GoString

func (this *Parameter) GoString() string

func (*Parameter) Marshal

func (m *Parameter) Marshal() (dAtA []byte, err error)

func (*Parameter) MarshalJSON

func (mj *Parameter) MarshalJSON() ([]byte, error)

func (*Parameter) MarshalJSONBuf

func (mj *Parameter) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Parameter) MarshalTo

func (m *Parameter) MarshalTo(dAtA []byte) (int, error)

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) ProtoSize added in v0.0.4

func (m *Parameter) ProtoSize() (n int)

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) String

func (this *Parameter) String() string

func (*Parameter) Unmarshal

func (m *Parameter) Unmarshal(dAtA []byte) error

func (*Parameter) UnmarshalJSON

func (uj *Parameter) UnmarshalJSON(input []byte) error

func (*Parameter) UnmarshalJSONFFLexer

func (uj *Parameter) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Parameter) VerboseEqual

func (this *Parameter) VerboseEqual(that interface{}) error

type Parameters

type Parameters struct {
	Parameter []Parameter `protobuf:"bytes,1,rep,name=parameter" json:"parameter"`
}

* Collection of Parameter.

func NewPopulatedParameters

func NewPopulatedParameters(r randyMesos, easy bool) *Parameters

func (*Parameters) Descriptor added in v0.0.4

func (*Parameters) Descriptor() ([]byte, []int)

func (*Parameters) Equal

func (this *Parameters) Equal(that interface{}) bool

func (*Parameters) GetParameter

func (m *Parameters) GetParameter() []Parameter

func (*Parameters) GoString

func (this *Parameters) GoString() string

func (*Parameters) Marshal

func (m *Parameters) Marshal() (dAtA []byte, err error)

func (*Parameters) MarshalJSON

func (mj *Parameters) MarshalJSON() ([]byte, error)

func (*Parameters) MarshalJSONBuf

func (mj *Parameters) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Parameters) MarshalTo

func (m *Parameters) MarshalTo(dAtA []byte) (int, error)

func (*Parameters) ProtoMessage

func (*Parameters) ProtoMessage()

func (*Parameters) ProtoSize added in v0.0.4

func (m *Parameters) ProtoSize() (n int)

func (*Parameters) Reset

func (m *Parameters) Reset()

func (*Parameters) String

func (this *Parameters) String() string

func (*Parameters) Unmarshal

func (m *Parameters) Unmarshal(dAtA []byte) error

func (*Parameters) UnmarshalJSON

func (uj *Parameters) UnmarshalJSON(input []byte) error

func (*Parameters) UnmarshalJSONFFLexer

func (uj *Parameters) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Parameters) VerboseEqual

func (this *Parameters) VerboseEqual(that interface{}) error

type PerfStatistics

type PerfStatistics struct {
	Timestamp float64 `protobuf:"fixed64,1,req,name=timestamp" json:"timestamp"`
	Duration  float64 `protobuf:"fixed64,2,req,name=duration" json:"duration"`
	// Hardware event.
	Cycles                *uint64 `protobuf:"varint,3,opt,name=cycles" json:"cycles,omitempty"`
	StalledCyclesFrontend *uint64 `protobuf:"varint,4,opt,name=stalled_cycles_frontend,json=stalledCyclesFrontend" json:"stalled_cycles_frontend,omitempty"`
	StalledCyclesBackend  *uint64 `protobuf:"varint,5,opt,name=stalled_cycles_backend,json=stalledCyclesBackend" json:"stalled_cycles_backend,omitempty"`
	Instructions          *uint64 `protobuf:"varint,6,opt,name=instructions" json:"instructions,omitempty"`
	CacheReferences       *uint64 `protobuf:"varint,7,opt,name=cache_references,json=cacheReferences" json:"cache_references,omitempty"`
	CacheMisses           *uint64 `protobuf:"varint,8,opt,name=cache_misses,json=cacheMisses" json:"cache_misses,omitempty"`
	Branches              *uint64 `protobuf:"varint,9,opt,name=branches" json:"branches,omitempty"`
	BranchMisses          *uint64 `protobuf:"varint,10,opt,name=branch_misses,json=branchMisses" json:"branch_misses,omitempty"`
	BusCycles             *uint64 `protobuf:"varint,11,opt,name=bus_cycles,json=busCycles" json:"bus_cycles,omitempty"`
	RefCycles             *uint64 `protobuf:"varint,12,opt,name=ref_cycles,json=refCycles" json:"ref_cycles,omitempty"`
	// Software event.
	CPUClock        *float64 `protobuf:"fixed64,13,opt,name=cpu_clock,json=cpuClock" json:"cpu_clock,omitempty"`
	TaskClock       *float64 `protobuf:"fixed64,14,opt,name=task_clock,json=taskClock" json:"task_clock,omitempty"`
	PageFaults      *uint64  `protobuf:"varint,15,opt,name=page_faults,json=pageFaults" json:"page_faults,omitempty"`
	MinorFaults     *uint64  `protobuf:"varint,16,opt,name=minor_faults,json=minorFaults" json:"minor_faults,omitempty"`
	MajorFaults     *uint64  `protobuf:"varint,17,opt,name=major_faults,json=majorFaults" json:"major_faults,omitempty"`
	ContextSwitches *uint64  `protobuf:"varint,18,opt,name=context_switches,json=contextSwitches" json:"context_switches,omitempty"`
	CPUMigrations   *uint64  `protobuf:"varint,19,opt,name=cpu_migrations,json=cpuMigrations" json:"cpu_migrations,omitempty"`
	AlignmentFaults *uint64  `protobuf:"varint,20,opt,name=alignment_faults,json=alignmentFaults" json:"alignment_faults,omitempty"`
	EmulationFaults *uint64  `protobuf:"varint,21,opt,name=emulation_faults,json=emulationFaults" json:"emulation_faults,omitempty"`
	// Hardware cache event.
	L1DcacheLoads          *uint64 `protobuf:"varint,22,opt,name=l1_dcache_loads,json=l1DcacheLoads" json:"l1_dcache_loads,omitempty"`
	L1DcacheLoadMisses     *uint64 `protobuf:"varint,23,opt,name=l1_dcache_load_misses,json=l1DcacheLoadMisses" json:"l1_dcache_load_misses,omitempty"`
	L1DcacheStores         *uint64 `protobuf:"varint,24,opt,name=l1_dcache_stores,json=l1DcacheStores" json:"l1_dcache_stores,omitempty"`
	L1DcacheStoreMisses    *uint64 `protobuf:"varint,25,opt,name=l1_dcache_store_misses,json=l1DcacheStoreMisses" json:"l1_dcache_store_misses,omitempty"`
	L1DcachePrefetches     *uint64 `protobuf:"varint,26,opt,name=l1_dcache_prefetches,json=l1DcachePrefetches" json:"l1_dcache_prefetches,omitempty"`
	L1DcachePrefetchMisses *uint64 `` /* 126-byte string literal not displayed */
	L1IcacheLoads          *uint64 `protobuf:"varint,28,opt,name=l1_icache_loads,json=l1IcacheLoads" json:"l1_icache_loads,omitempty"`
	L1IcacheLoadMisses     *uint64 `protobuf:"varint,29,opt,name=l1_icache_load_misses,json=l1IcacheLoadMisses" json:"l1_icache_load_misses,omitempty"`
	L1IcachePrefetches     *uint64 `protobuf:"varint,30,opt,name=l1_icache_prefetches,json=l1IcachePrefetches" json:"l1_icache_prefetches,omitempty"`
	L1IcachePrefetchMisses *uint64 `` /* 126-byte string literal not displayed */
	LLCLoads               *uint64 `protobuf:"varint,32,opt,name=llc_loads,json=llcLoads" json:"llc_loads,omitempty"`
	LLCLoadMisses          *uint64 `protobuf:"varint,33,opt,name=llc_load_misses,json=llcLoadMisses" json:"llc_load_misses,omitempty"`
	LLCStores              *uint64 `protobuf:"varint,34,opt,name=llc_stores,json=llcStores" json:"llc_stores,omitempty"`
	LLCStoreMisses         *uint64 `protobuf:"varint,35,opt,name=llc_store_misses,json=llcStoreMisses" json:"llc_store_misses,omitempty"`
	LLCPrefetches          *uint64 `protobuf:"varint,36,opt,name=llc_prefetches,json=llcPrefetches" json:"llc_prefetches,omitempty"`
	LLCPrefetchMisses      *uint64 `protobuf:"varint,37,opt,name=llc_prefetch_misses,json=llcPrefetchMisses" json:"llc_prefetch_misses,omitempty"`
	DTLBLoads              *uint64 `protobuf:"varint,38,opt,name=dtlb_loads,json=dtlbLoads" json:"dtlb_loads,omitempty"`
	DTLBLoadMisses         *uint64 `protobuf:"varint,39,opt,name=dtlb_load_misses,json=dtlbLoadMisses" json:"dtlb_load_misses,omitempty"`
	DTLBStores             *uint64 `protobuf:"varint,40,opt,name=dtlb_stores,json=dtlbStores" json:"dtlb_stores,omitempty"`
	DTLBStoreMisses        *uint64 `protobuf:"varint,41,opt,name=dtlb_store_misses,json=dtlbStoreMisses" json:"dtlb_store_misses,omitempty"`
	DTLBPrefetches         *uint64 `protobuf:"varint,42,opt,name=dtlb_prefetches,json=dtlbPrefetches" json:"dtlb_prefetches,omitempty"`
	DTLBPrefetchMisses     *uint64 `protobuf:"varint,43,opt,name=dtlb_prefetch_misses,json=dtlbPrefetchMisses" json:"dtlb_prefetch_misses,omitempty"`
	ITLBLoads              *uint64 `protobuf:"varint,44,opt,name=itlb_loads,json=itlbLoads" json:"itlb_loads,omitempty"`
	ITLBLoadMisses         *uint64 `protobuf:"varint,45,opt,name=itlb_load_misses,json=itlbLoadMisses" json:"itlb_load_misses,omitempty"`
	BranchLoads            *uint64 `protobuf:"varint,46,opt,name=branch_loads,json=branchLoads" json:"branch_loads,omitempty"`
	BranchLoadMisses       *uint64 `protobuf:"varint,47,opt,name=branch_load_misses,json=branchLoadMisses" json:"branch_load_misses,omitempty"`
	NodeLoads              *uint64 `protobuf:"varint,48,opt,name=node_loads,json=nodeLoads" json:"node_loads,omitempty"`
	NodeLoadMisses         *uint64 `protobuf:"varint,49,opt,name=node_load_misses,json=nodeLoadMisses" json:"node_load_misses,omitempty"`
	NodeStores             *uint64 `protobuf:"varint,50,opt,name=node_stores,json=nodeStores" json:"node_stores,omitempty"`
	NodeStoreMisses        *uint64 `protobuf:"varint,51,opt,name=node_store_misses,json=nodeStoreMisses" json:"node_store_misses,omitempty"`
	NodePrefetches         *uint64 `protobuf:"varint,52,opt,name=node_prefetches,json=nodePrefetches" json:"node_prefetches,omitempty"`
	NodePrefetchMisses     *uint64 `protobuf:"varint,53,opt,name=node_prefetch_misses,json=nodePrefetchMisses" json:"node_prefetch_misses,omitempty"`
}

* Describes a sample of events from "perf stat". Only available on Linux.

NOTE: Each optional field matches the name of a perf event (see "perf list") with the following changes:

  1. Names are downcased.
  2. Hyphens ('-') are replaced with underscores ('_').
  3. Events with alternate names use the name "perf stat" returns, e.g., for the event "cycles OR cpu-cycles" perf always returns cycles.

func NewPopulatedPerfStatistics

func NewPopulatedPerfStatistics(r randyMesos, easy bool) *PerfStatistics

func (*PerfStatistics) Descriptor added in v0.0.4

func (*PerfStatistics) Descriptor() ([]byte, []int)

func (*PerfStatistics) Equal

func (this *PerfStatistics) Equal(that interface{}) bool

func (*PerfStatistics) GetAlignmentFaults

func (m *PerfStatistics) GetAlignmentFaults() uint64

func (*PerfStatistics) GetBranchLoadMisses

func (m *PerfStatistics) GetBranchLoadMisses() uint64

func (*PerfStatistics) GetBranchLoads

func (m *PerfStatistics) GetBranchLoads() uint64

func (*PerfStatistics) GetBranchMisses

func (m *PerfStatistics) GetBranchMisses() uint64

func (*PerfStatistics) GetBranches

func (m *PerfStatistics) GetBranches() uint64

func (*PerfStatistics) GetBusCycles

func (m *PerfStatistics) GetBusCycles() uint64

func (*PerfStatistics) GetCPUClock

func (m *PerfStatistics) GetCPUClock() float64

func (*PerfStatistics) GetCPUMigrations

func (m *PerfStatistics) GetCPUMigrations() uint64

func (*PerfStatistics) GetCacheMisses

func (m *PerfStatistics) GetCacheMisses() uint64

func (*PerfStatistics) GetCacheReferences

func (m *PerfStatistics) GetCacheReferences() uint64

func (*PerfStatistics) GetContextSwitches

func (m *PerfStatistics) GetContextSwitches() uint64

func (*PerfStatistics) GetCycles

func (m *PerfStatistics) GetCycles() uint64

func (*PerfStatistics) GetDTLBLoadMisses

func (m *PerfStatistics) GetDTLBLoadMisses() uint64

func (*PerfStatistics) GetDTLBLoads

func (m *PerfStatistics) GetDTLBLoads() uint64

func (*PerfStatistics) GetDTLBPrefetchMisses

func (m *PerfStatistics) GetDTLBPrefetchMisses() uint64

func (*PerfStatistics) GetDTLBPrefetches

func (m *PerfStatistics) GetDTLBPrefetches() uint64

func (*PerfStatistics) GetDTLBStoreMisses

func (m *PerfStatistics) GetDTLBStoreMisses() uint64

func (*PerfStatistics) GetDTLBStores

func (m *PerfStatistics) GetDTLBStores() uint64

func (*PerfStatistics) GetDuration

func (m *PerfStatistics) GetDuration() float64

func (*PerfStatistics) GetEmulationFaults

func (m *PerfStatistics) GetEmulationFaults() uint64

func (*PerfStatistics) GetITLBLoadMisses

func (m *PerfStatistics) GetITLBLoadMisses() uint64

func (*PerfStatistics) GetITLBLoads

func (m *PerfStatistics) GetITLBLoads() uint64

func (*PerfStatistics) GetInstructions

func (m *PerfStatistics) GetInstructions() uint64

func (*PerfStatistics) GetL1DcacheLoadMisses

func (m *PerfStatistics) GetL1DcacheLoadMisses() uint64

func (*PerfStatistics) GetL1DcacheLoads

func (m *PerfStatistics) GetL1DcacheLoads() uint64

func (*PerfStatistics) GetL1DcachePrefetchMisses

func (m *PerfStatistics) GetL1DcachePrefetchMisses() uint64

func (*PerfStatistics) GetL1DcachePrefetches

func (m *PerfStatistics) GetL1DcachePrefetches() uint64

func (*PerfStatistics) GetL1DcacheStoreMisses

func (m *PerfStatistics) GetL1DcacheStoreMisses() uint64

func (*PerfStatistics) GetL1DcacheStores

func (m *PerfStatistics) GetL1DcacheStores() uint64

func (*PerfStatistics) GetL1IcacheLoadMisses

func (m *PerfStatistics) GetL1IcacheLoadMisses() uint64

func (*PerfStatistics) GetL1IcacheLoads

func (m *PerfStatistics) GetL1IcacheLoads() uint64

func (*PerfStatistics) GetL1IcachePrefetchMisses

func (m *PerfStatistics) GetL1IcachePrefetchMisses() uint64

func (*PerfStatistics) GetL1IcachePrefetches

func (m *PerfStatistics) GetL1IcachePrefetches() uint64

func (*PerfStatistics) GetLLCLoadMisses

func (m *PerfStatistics) GetLLCLoadMisses() uint64

func (*PerfStatistics) GetLLCLoads

func (m *PerfStatistics) GetLLCLoads() uint64

func (*PerfStatistics) GetLLCPrefetchMisses

func (m *PerfStatistics) GetLLCPrefetchMisses() uint64

func (*PerfStatistics) GetLLCPrefetches

func (m *PerfStatistics) GetLLCPrefetches() uint64

func (*PerfStatistics) GetLLCStoreMisses

func (m *PerfStatistics) GetLLCStoreMisses() uint64

func (*PerfStatistics) GetLLCStores

func (m *PerfStatistics) GetLLCStores() uint64

func (*PerfStatistics) GetMajorFaults

func (m *PerfStatistics) GetMajorFaults() uint64

func (*PerfStatistics) GetMinorFaults

func (m *PerfStatistics) GetMinorFaults() uint64

func (*PerfStatistics) GetNodeLoadMisses

func (m *PerfStatistics) GetNodeLoadMisses() uint64

func (*PerfStatistics) GetNodeLoads

func (m *PerfStatistics) GetNodeLoads() uint64

func (*PerfStatistics) GetNodePrefetchMisses

func (m *PerfStatistics) GetNodePrefetchMisses() uint64

func (*PerfStatistics) GetNodePrefetches

func (m *PerfStatistics) GetNodePrefetches() uint64

func (*PerfStatistics) GetNodeStoreMisses

func (m *PerfStatistics) GetNodeStoreMisses() uint64

func (*PerfStatistics) GetNodeStores

func (m *PerfStatistics) GetNodeStores() uint64

func (*PerfStatistics) GetPageFaults

func (m *PerfStatistics) GetPageFaults() uint64

func (*PerfStatistics) GetRefCycles

func (m *PerfStatistics) GetRefCycles() uint64

func (*PerfStatistics) GetStalledCyclesBackend

func (m *PerfStatistics) GetStalledCyclesBackend() uint64

func (*PerfStatistics) GetStalledCyclesFrontend

func (m *PerfStatistics) GetStalledCyclesFrontend() uint64

func (*PerfStatistics) GetTaskClock

func (m *PerfStatistics) GetTaskClock() float64

func (*PerfStatistics) GetTimestamp

func (m *PerfStatistics) GetTimestamp() float64

func (*PerfStatistics) GoString

func (this *PerfStatistics) GoString() string

func (*PerfStatistics) Marshal

func (m *PerfStatistics) Marshal() (dAtA []byte, err error)

func (*PerfStatistics) MarshalJSON

func (mj *PerfStatistics) MarshalJSON() ([]byte, error)

func (*PerfStatistics) MarshalJSONBuf

func (mj *PerfStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*PerfStatistics) MarshalTo

func (m *PerfStatistics) MarshalTo(dAtA []byte) (int, error)

func (*PerfStatistics) ProtoMessage

func (*PerfStatistics) ProtoMessage()

func (*PerfStatistics) ProtoSize added in v0.0.4

func (m *PerfStatistics) ProtoSize() (n int)

func (*PerfStatistics) Reset

func (m *PerfStatistics) Reset()

func (*PerfStatistics) String

func (this *PerfStatistics) String() string

func (*PerfStatistics) Unmarshal

func (m *PerfStatistics) Unmarshal(dAtA []byte) error

func (*PerfStatistics) UnmarshalJSON

func (uj *PerfStatistics) UnmarshalJSON(input []byte) error

func (*PerfStatistics) UnmarshalJSONFFLexer

func (uj *PerfStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*PerfStatistics) VerboseEqual

func (this *PerfStatistics) VerboseEqual(that interface{}) error

type Port

type Port struct {
	// Port number on which the framework exposes a service.
	Number uint32 `protobuf:"varint,1,req,name=number" json:"number"`
	// Name of the service hosted on this port.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Layer 4-7 protocol on which the framework exposes its services.
	Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"`
	// This field restricts discovery within a framework (FRAMEWORK),
	// within a Mesos cluster (CLUSTER), or places no restrictions (EXTERNAL).
	// The visibility setting for a Port overrides the general visibility setting
	// in the DiscoveryInfo.
	Visibility *DiscoveryInfo_Visibility `protobuf:"varint,4,opt,name=visibility,enum=mesos.DiscoveryInfo_Visibility" json:"visibility,omitempty"`
	// This can be used to decorate the message with metadata to be
	// interpreted by external applications such as firewalls.
	Labels *Labels `protobuf:"bytes,5,opt,name=labels" json:"labels,omitempty"`
}

* Named port used for service discovery.

func NewPopulatedPort

func NewPopulatedPort(r randyMesos, easy bool) *Port

func (*Port) Descriptor added in v0.0.4

func (*Port) Descriptor() ([]byte, []int)

func (*Port) Equal

func (this *Port) Equal(that interface{}) bool

func (*Port) GetLabels

func (m *Port) GetLabels() *Labels

func (*Port) GetName

func (m *Port) GetName() string

func (*Port) GetNumber

func (m *Port) GetNumber() uint32

func (*Port) GetProtocol

func (m *Port) GetProtocol() string

func (*Port) GetVisibility

func (m *Port) GetVisibility() DiscoveryInfo_Visibility

func (*Port) GoString

func (this *Port) GoString() string

func (*Port) Marshal

func (m *Port) Marshal() (dAtA []byte, err error)

func (*Port) MarshalJSON

func (mj *Port) MarshalJSON() ([]byte, error)

func (*Port) MarshalJSONBuf

func (mj *Port) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Port) MarshalTo

func (m *Port) MarshalTo(dAtA []byte) (int, error)

func (*Port) ProtoMessage

func (*Port) ProtoMessage()

func (*Port) ProtoSize added in v0.0.4

func (m *Port) ProtoSize() (n int)

func (*Port) Reset

func (m *Port) Reset()

func (*Port) String

func (this *Port) String() string

func (*Port) Unmarshal

func (m *Port) Unmarshal(dAtA []byte) error

func (*Port) UnmarshalJSON

func (uj *Port) UnmarshalJSON(input []byte) error

func (*Port) UnmarshalJSONFFLexer

func (uj *Port) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Port) VerboseEqual

func (this *Port) VerboseEqual(that interface{}) error

type Ports

type Ports struct {
	Ports []Port `protobuf:"bytes,1,rep,name=ports" json:"ports"`
}

* Collection of ports.

func NewPopulatedPorts

func NewPopulatedPorts(r randyMesos, easy bool) *Ports

func (*Ports) Descriptor added in v0.0.4

func (*Ports) Descriptor() ([]byte, []int)

func (*Ports) Equal

func (this *Ports) Equal(that interface{}) bool

func (*Ports) GetPorts

func (m *Ports) GetPorts() []Port

func (*Ports) GoString

func (this *Ports) GoString() string

func (*Ports) Marshal

func (m *Ports) Marshal() (dAtA []byte, err error)

func (*Ports) MarshalJSON

func (mj *Ports) MarshalJSON() ([]byte, error)

func (*Ports) MarshalJSONBuf

func (mj *Ports) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Ports) MarshalTo

func (m *Ports) MarshalTo(dAtA []byte) (int, error)

func (*Ports) ProtoMessage

func (*Ports) ProtoMessage()

func (*Ports) ProtoSize added in v0.0.4

func (m *Ports) ProtoSize() (n int)

func (*Ports) Reset

func (m *Ports) Reset()

func (*Ports) String

func (this *Ports) String() string

func (*Ports) Unmarshal

func (m *Ports) Unmarshal(dAtA []byte) error

func (*Ports) UnmarshalJSON

func (uj *Ports) UnmarshalJSON(input []byte) error

func (*Ports) UnmarshalJSONFFLexer

func (uj *Ports) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Ports) VerboseEqual

func (this *Ports) VerboseEqual(that interface{}) error

type RLimitInfo added in v0.0.4

type RLimitInfo struct {
	Rlimits []RLimitInfo_RLimit `protobuf:"bytes,1,rep,name=rlimits" json:"rlimits"`
}

* Encapsulation for POSIX rlimits, see http://pubs.opengroup.org/onlinepubs/009695399/functions/getrlimit.html. Note that some types might only be defined for Linux. We use a custom prefix to avoid conflict with existing system macros (e.g., `RLIMIT_CPU` or `NOFILE`).

func NewPopulatedRLimitInfo added in v0.0.4

func NewPopulatedRLimitInfo(r randyMesos, easy bool) *RLimitInfo

func (*RLimitInfo) Descriptor added in v0.0.4

func (*RLimitInfo) Descriptor() ([]byte, []int)

func (*RLimitInfo) Equal added in v0.0.4

func (this *RLimitInfo) Equal(that interface{}) bool

func (*RLimitInfo) GetRlimits added in v0.0.4

func (m *RLimitInfo) GetRlimits() []RLimitInfo_RLimit

func (*RLimitInfo) GoString added in v0.0.4

func (this *RLimitInfo) GoString() string

func (*RLimitInfo) Marshal added in v0.0.4

func (m *RLimitInfo) Marshal() (dAtA []byte, err error)

func (*RLimitInfo) MarshalJSON added in v0.0.4

func (mj *RLimitInfo) MarshalJSON() ([]byte, error)

func (*RLimitInfo) MarshalJSONBuf added in v0.0.4

func (mj *RLimitInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*RLimitInfo) MarshalTo added in v0.0.4

func (m *RLimitInfo) MarshalTo(dAtA []byte) (int, error)

func (*RLimitInfo) ProtoMessage added in v0.0.4

func (*RLimitInfo) ProtoMessage()

func (*RLimitInfo) ProtoSize added in v0.0.4

func (m *RLimitInfo) ProtoSize() (n int)

func (*RLimitInfo) Reset added in v0.0.4

func (m *RLimitInfo) Reset()

func (*RLimitInfo) String added in v0.0.4

func (this *RLimitInfo) String() string

func (*RLimitInfo) Unmarshal added in v0.0.4

func (m *RLimitInfo) Unmarshal(dAtA []byte) error

func (*RLimitInfo) UnmarshalJSON added in v0.0.4

func (uj *RLimitInfo) UnmarshalJSON(input []byte) error

func (*RLimitInfo) UnmarshalJSONFFLexer added in v0.0.4

func (uj *RLimitInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*RLimitInfo) VerboseEqual added in v0.0.4

func (this *RLimitInfo) VerboseEqual(that interface{}) error

type RLimitInfo_RLimit added in v0.0.4

type RLimitInfo_RLimit struct {
	Type RLimitInfo_RLimit_Type `protobuf:"varint,1,opt,name=type,enum=mesos.RLimitInfo_RLimit_Type" json:"type"`
	// Either both are set or both are not set.
	// If both are not set, it represents unlimited.
	// If both are set, we require `soft` <= `hard`.
	Hard *uint64 `protobuf:"varint,2,opt,name=hard" json:"hard,omitempty"`
	Soft *uint64 `protobuf:"varint,3,opt,name=soft" json:"soft,omitempty"`
}

func NewPopulatedRLimitInfo_RLimit added in v0.0.4

func NewPopulatedRLimitInfo_RLimit(r randyMesos, easy bool) *RLimitInfo_RLimit

func (*RLimitInfo_RLimit) Descriptor added in v0.0.4

func (*RLimitInfo_RLimit) Descriptor() ([]byte, []int)

func (*RLimitInfo_RLimit) Equal added in v0.0.4

func (this *RLimitInfo_RLimit) Equal(that interface{}) bool

func (*RLimitInfo_RLimit) GetHard added in v0.0.4

func (m *RLimitInfo_RLimit) GetHard() uint64

func (*RLimitInfo_RLimit) GetSoft added in v0.0.4

func (m *RLimitInfo_RLimit) GetSoft() uint64

func (*RLimitInfo_RLimit) GetType added in v0.0.4

func (*RLimitInfo_RLimit) GoString added in v0.0.4

func (this *RLimitInfo_RLimit) GoString() string

func (*RLimitInfo_RLimit) Marshal added in v0.0.4

func (m *RLimitInfo_RLimit) Marshal() (dAtA []byte, err error)

func (*RLimitInfo_RLimit) MarshalJSON added in v0.0.4

func (mj *RLimitInfo_RLimit) MarshalJSON() ([]byte, error)

func (*RLimitInfo_RLimit) MarshalJSONBuf added in v0.0.4

func (mj *RLimitInfo_RLimit) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*RLimitInfo_RLimit) MarshalTo added in v0.0.4

func (m *RLimitInfo_RLimit) MarshalTo(dAtA []byte) (int, error)

func (*RLimitInfo_RLimit) ProtoMessage added in v0.0.4

func (*RLimitInfo_RLimit) ProtoMessage()

func (*RLimitInfo_RLimit) ProtoSize added in v0.0.4

func (m *RLimitInfo_RLimit) ProtoSize() (n int)

func (*RLimitInfo_RLimit) Reset added in v0.0.4

func (m *RLimitInfo_RLimit) Reset()

func (*RLimitInfo_RLimit) String added in v0.0.4

func (this *RLimitInfo_RLimit) String() string

func (*RLimitInfo_RLimit) Unmarshal added in v0.0.4

func (m *RLimitInfo_RLimit) Unmarshal(dAtA []byte) error

func (*RLimitInfo_RLimit) UnmarshalJSON added in v0.0.4

func (uj *RLimitInfo_RLimit) UnmarshalJSON(input []byte) error

func (*RLimitInfo_RLimit) UnmarshalJSONFFLexer added in v0.0.4

func (uj *RLimitInfo_RLimit) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*RLimitInfo_RLimit) VerboseEqual added in v0.0.4

func (this *RLimitInfo_RLimit) VerboseEqual(that interface{}) error

type RLimitInfo_RLimit_Type added in v0.0.4

type RLimitInfo_RLimit_Type int32
const (
	RLimitInfo_RLimit_UNKNOWN         RLimitInfo_RLimit_Type = 0
	RLimitInfo_RLimit_RLMT_AS         RLimitInfo_RLimit_Type = 1
	RLimitInfo_RLimit_RLMT_CORE       RLimitInfo_RLimit_Type = 2
	RLimitInfo_RLimit_RLMT_CPU        RLimitInfo_RLimit_Type = 3
	RLimitInfo_RLimit_RLMT_DATA       RLimitInfo_RLimit_Type = 4
	RLimitInfo_RLimit_RLMT_FSIZE      RLimitInfo_RLimit_Type = 5
	RLimitInfo_RLimit_RLMT_LOCKS      RLimitInfo_RLimit_Type = 6
	RLimitInfo_RLimit_RLMT_MEMLOCK    RLimitInfo_RLimit_Type = 7
	RLimitInfo_RLimit_RLMT_MSGQUEUE   RLimitInfo_RLimit_Type = 8
	RLimitInfo_RLimit_RLMT_NICE       RLimitInfo_RLimit_Type = 9
	RLimitInfo_RLimit_RLMT_NOFILE     RLimitInfo_RLimit_Type = 10
	RLimitInfo_RLimit_RLMT_NPROC      RLimitInfo_RLimit_Type = 11
	RLimitInfo_RLimit_RLMT_RSS        RLimitInfo_RLimit_Type = 12
	RLimitInfo_RLimit_RLMT_RTPRIO     RLimitInfo_RLimit_Type = 13
	RLimitInfo_RLimit_RLMT_RTTIME     RLimitInfo_RLimit_Type = 14
	RLimitInfo_RLimit_RLMT_SIGPENDING RLimitInfo_RLimit_Type = 15
	RLimitInfo_RLimit_RLMT_STACK      RLimitInfo_RLimit_Type = 16
)

func (RLimitInfo_RLimit_Type) Enum added in v0.0.4

func (RLimitInfo_RLimit_Type) EnumDescriptor added in v0.0.4

func (RLimitInfo_RLimit_Type) EnumDescriptor() ([]byte, []int)

func (RLimitInfo_RLimit_Type) MarshalJSON added in v0.0.4

func (x RLimitInfo_RLimit_Type) MarshalJSON() ([]byte, error)

func (RLimitInfo_RLimit_Type) String added in v0.0.4

func (x RLimitInfo_RLimit_Type) String() string

func (*RLimitInfo_RLimit_Type) UnmarshalJSON added in v0.0.4

func (x *RLimitInfo_RLimit_Type) UnmarshalJSON(data []byte) error

type Ranges

type Ranges []Value_Range

Ranges represents a list of Ranges.

func NewPortRanges

func NewPortRanges(o *Offer) Ranges

NewPortRanges returns Ranges from the "ports" resource in the given *Offer. If that resource isn't provided, nil will be returned.

The returned Ranges are sorted and have all overlapping ranges merged from left to right. e.g. [[0, 5], [4, 3], [10, 7]] -> [[0, 5], [7, 10]]

func NewRanges

func NewRanges(ns ...uint64) Ranges

NewRanges returns squashed Ranges from the given numbers.

func (Ranges) Clone

func (rs Ranges) Clone() Ranges

func (Ranges) Compare

func (rs Ranges) Compare(right Ranges) int

Compare assumes that both Ranges are already in sort-order. Returns 0 if rs and right are equivalent, -1 if rs is a subset of right, or else 1

func (Ranges) Equivalent

func (rs Ranges) Equivalent(right Ranges) (result bool)

Equivalent assumes that both Ranges are already in sort-order.

func (Ranges) Len

func (rs Ranges) Len() int

These three methods implement sort.Interface

func (Ranges) Less

func (rs Ranges) Less(i, j int) bool

func (Ranges) Max

func (rs Ranges) Max() uint64

Max returns the maximum number in Ranges. It will panic on empty Ranges.

func (Ranges) Min

func (rs Ranges) Min() uint64

Min returns the minimum number in Ranges. It will panic on empty Ranges.

func (Ranges) Partition

func (rs Ranges) Partition(n uint64) (Ranges, bool)

Partition partitions Ranges around n. It returns the partitioned Ranges and a boolean indicating if n was found.

func (Ranges) Remove

func (rs Ranges) Remove(removal Value_Range) Ranges

Remove removes a range from already coalesced ranges. The algorithms constructs a new vector of ranges which is then Squash'ed into a Ranges instance.

func (Ranges) Search

func (rs Ranges) Search(n uint64) int

Search performs a binary search for n returning the index of the Range it was found at or -1 if not found.

func (Ranges) Size

func (rs Ranges) Size() uint64

Size returns the sum of the Size of all Ranges.

func (Ranges) Sort

func (rs Ranges) Sort() Ranges

Sort sorts the receiving Ranges and returns the result; convenience

func (Ranges) Squash

func (rs Ranges) Squash() Ranges

Squash merges overlapping and continuous Ranges. It assumes they're pre-sorted.

func (Ranges) Swap

func (rs Ranges) Swap(i, j int)

type RateLimit

type RateLimit struct {
	// Leaving QPS unset gives it unlimited rate (i.e., not throttled),
	// which also implies unlimited capacity.
	QPS *float64 `protobuf:"fixed64,1,opt,name=qps" json:"qps,omitempty"`
	// Principal of framework(s) to be throttled. Should match
	// FrameworkInfo.principal and Credential.principal (if using authentication).
	Principal string `protobuf:"bytes,2,req,name=principal" json:"principal"`
	// Max number of outstanding messages from frameworks of this principal
	// allowed by master before the next message is dropped and an error is sent
	// back to the sender. Messages received before the capacity is reached are
	// still going to be processed after the error is sent.
	// If unspecified, this principal is assigned unlimited capacity.
	// NOTE: This value is ignored if 'qps' is not set.
	Capacity *uint64 `protobuf:"varint,3,opt,name=capacity" json:"capacity,omitempty"`
}

* Rate (queries per second, QPS) limit for messages from a framework to master. Strictly speaking they are the combined rate from all frameworks of the same principal.

func NewPopulatedRateLimit

func NewPopulatedRateLimit(r randyMesos, easy bool) *RateLimit

func (*RateLimit) Descriptor added in v0.0.4

func (*RateLimit) Descriptor() ([]byte, []int)

func (*RateLimit) Equal

func (this *RateLimit) Equal(that interface{}) bool

func (*RateLimit) GetCapacity

func (m *RateLimit) GetCapacity() uint64

func (*RateLimit) GetPrincipal

func (m *RateLimit) GetPrincipal() string

func (*RateLimit) GetQPS

func (m *RateLimit) GetQPS() float64

func (*RateLimit) GoString

func (this *RateLimit) GoString() string

func (*RateLimit) Marshal

func (m *RateLimit) Marshal() (dAtA []byte, err error)

func (*RateLimit) MarshalJSON

func (mj *RateLimit) MarshalJSON() ([]byte, error)

func (*RateLimit) MarshalJSONBuf

func (mj *RateLimit) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*RateLimit) MarshalTo

func (m *RateLimit) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit) ProtoMessage

func (*RateLimit) ProtoMessage()

func (*RateLimit) ProtoSize added in v0.0.4

func (m *RateLimit) ProtoSize() (n int)

func (*RateLimit) Reset

func (m *RateLimit) Reset()

func (*RateLimit) String

func (this *RateLimit) String() string

func (*RateLimit) Unmarshal

func (m *RateLimit) Unmarshal(dAtA []byte) error

func (*RateLimit) UnmarshalJSON

func (uj *RateLimit) UnmarshalJSON(input []byte) error

func (*RateLimit) UnmarshalJSONFFLexer

func (uj *RateLimit) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*RateLimit) VerboseEqual

func (this *RateLimit) VerboseEqual(that interface{}) error

type RateLimits

type RateLimits struct {
	// Items should have unique principals.
	Limits []RateLimit `protobuf:"bytes,1,rep,name=limits" json:"limits"`
	// All the frameworks not specified in 'limits' get this default rate.
	// This rate is an aggregate rate for all of them, i.e., their combined
	// traffic is throttled together at this rate.
	AggregateDefaultQPS *float64 `protobuf:"fixed64,2,opt,name=aggregate_default_qps,json=aggregateDefaultQps" json:"aggregate_default_qps,omitempty"`
	// All the frameworks not specified in 'limits' get this default capacity.
	// This is an aggregate value similar to 'aggregate_default_qps'.
	AggregateDefaultCapacity *uint64 `` /* 129-byte string literal not displayed */
}

* Collection of RateLimit. Frameworks without rate limits defined here are not throttled unless 'aggregate_default_qps' is specified.

func NewPopulatedRateLimits

func NewPopulatedRateLimits(r randyMesos, easy bool) *RateLimits

func (*RateLimits) Descriptor added in v0.0.4

func (*RateLimits) Descriptor() ([]byte, []int)

func (*RateLimits) Equal

func (this *RateLimits) Equal(that interface{}) bool

func (*RateLimits) GetAggregateDefaultCapacity

func (m *RateLimits) GetAggregateDefaultCapacity() uint64

func (*RateLimits) GetAggregateDefaultQPS

func (m *RateLimits) GetAggregateDefaultQPS() float64

func (*RateLimits) GetLimits

func (m *RateLimits) GetLimits() []RateLimit

func (*RateLimits) GoString

func (this *RateLimits) GoString() string

func (*RateLimits) Marshal

func (m *RateLimits) Marshal() (dAtA []byte, err error)

func (*RateLimits) MarshalJSON

func (mj *RateLimits) MarshalJSON() ([]byte, error)

func (*RateLimits) MarshalJSONBuf

func (mj *RateLimits) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*RateLimits) MarshalTo

func (m *RateLimits) MarshalTo(dAtA []byte) (int, error)

func (*RateLimits) ProtoMessage

func (*RateLimits) ProtoMessage()

func (*RateLimits) ProtoSize added in v0.0.4

func (m *RateLimits) ProtoSize() (n int)

func (*RateLimits) Reset

func (m *RateLimits) Reset()

func (*RateLimits) String

func (this *RateLimits) String() string

func (*RateLimits) Unmarshal

func (m *RateLimits) Unmarshal(dAtA []byte) error

func (*RateLimits) UnmarshalJSON

func (uj *RateLimits) UnmarshalJSON(input []byte) error

func (*RateLimits) UnmarshalJSONFFLexer

func (uj *RateLimits) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*RateLimits) VerboseEqual

func (this *RateLimits) VerboseEqual(that interface{}) error

type Request

type Request struct {
	AgentID   *AgentID   `protobuf:"bytes,1,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"`
	Resources []Resource `protobuf:"bytes,2,rep,name=resources" json:"resources"`
}

* Describes a request for resources that can be used by a framework to proactively influence the allocator. If 'agent_id' is provided then this request is assumed to only apply to resources on that agent.

func NewPopulatedRequest

func NewPopulatedRequest(r randyMesos, easy bool) *Request

func (*Request) Descriptor added in v0.0.4

func (*Request) Descriptor() ([]byte, []int)

func (*Request) Equal

func (this *Request) Equal(that interface{}) bool

func (*Request) GetAgentID

func (m *Request) GetAgentID() *AgentID

func (*Request) GetResources

func (m *Request) GetResources() []Resource

func (*Request) GoString

func (this *Request) GoString() string

func (*Request) Marshal

func (m *Request) Marshal() (dAtA []byte, err error)

func (*Request) MarshalJSON

func (mj *Request) MarshalJSON() ([]byte, error)

func (*Request) MarshalJSONBuf

func (mj *Request) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Request) MarshalTo

func (m *Request) MarshalTo(dAtA []byte) (int, error)

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoSize added in v0.0.4

func (m *Request) ProtoSize() (n int)

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (this *Request) String() string

func (*Request) Unmarshal

func (m *Request) Unmarshal(dAtA []byte) error

func (*Request) UnmarshalJSON

func (uj *Request) UnmarshalJSON(input []byte) error

func (*Request) UnmarshalJSONFFLexer

func (uj *Request) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Request) VerboseEqual

func (this *Request) VerboseEqual(that interface{}) error

type Resource

type Resource struct {
	// Specified if the resource comes from a particular resource provider.
	ProviderID *ResourceProviderID `protobuf:"bytes,12,opt,name=provider_id,json=providerId" json:"provider_id,omitempty"`
	Name       string              `protobuf:"bytes,1,req,name=name" json:"name"`
	Type       *Value_Type         `protobuf:"varint,2,req,name=type,enum=mesos.Value_Type" json:"type,omitempty"`
	Scalar     *Value_Scalar       `protobuf:"bytes,3,opt,name=scalar" json:"scalar,omitempty"`
	Ranges     *Value_Ranges       `protobuf:"bytes,4,opt,name=ranges" json:"ranges,omitempty"`
	Set        *Value_Set          `protobuf:"bytes,5,opt,name=set" json:"set,omitempty"`
	// The role that this resource is reserved for. If "*", this indicates
	// that the resource is unreserved. Otherwise, the resource will only
	// be offered to frameworks that belong to this role.
	//
	// NOTE: Frameworks must not set this field if `reservations` is set.
	//       See the 'Resource Format' section for more details.
	//
	// TODO(mpark): Deprecate once `reservations` is no longer experimental.
	Role           *string                  `protobuf:"bytes,6,opt,name=role,def=*" json:"role,omitempty"`
	AllocationInfo *Resource_AllocationInfo `protobuf:"bytes,11,opt,name=allocation_info,json=allocationInfo" json:"allocation_info,omitempty"`
	// If this is set, this resource was dynamically reserved by an
	// operator or a framework. Otherwise, this resource is either unreserved
	// or statically reserved by an operator via the --resources flag.
	//
	// NOTE: Frameworks must not set this field if `reservations` is set.
	//       See the 'Resource Format' section for more details.
	//
	// TODO(mpark): Deprecate once `reservations` is no longer experimental.
	Reservation *Resource_ReservationInfo `protobuf:"bytes,8,opt,name=reservation" json:"reservation,omitempty"`
	// The stack of reservations. If this field is empty, it indicates that this
	// resource is unreserved. Otherwise, the resource is reserved. The first
	// `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must
	// have `DYNAMIC`. One can create a new reservation on top of an existing
	// one by pushing a new `ReservationInfo` to the back. The last
	// `ReservationInfo` in this stack is the "current" reservation. The new
	// reservation's role must be a child of the current reservation's role.
	//
	// NOTE: Frameworks must not set this field if `reservation` is set.
	//       See the 'Resource Format' section for more details.
	//
	// TODO(mpark): Deprecate `role` and `reservation` once this is stable.
	Reservations []Resource_ReservationInfo `protobuf:"bytes,13,rep,name=reservations" json:"reservations"`
	Disk         *Resource_DiskInfo         `protobuf:"bytes,7,opt,name=disk" json:"disk,omitempty"`
	// If this is set, the resources are revocable, i.e., any tasks or
	// executors launched using these resources could get preempted or
	// throttled at any time. This could be used by frameworks to run
	// best effort tasks that do not need strict uptime or performance
	// guarantees. Note that if this is set, 'disk' or 'reservation'
	// cannot be set.
	Revocable *Resource_RevocableInfo `protobuf:"bytes,9,opt,name=revocable" json:"revocable,omitempty"`
	// If this is set, the resources are shared, i.e. multiple tasks
	// can be launched using this resource and all of them shall refer
	// to the same physical resource on the cluster. Note that only
	// persistent volumes can be shared currently.
	Shared *Resource_SharedInfo `protobuf:"bytes,10,opt,name=shared" json:"shared,omitempty"`
}

* Describes a resource from a resource provider. The `name` field is a string like "cpus" or "mem" that indicates which kind of resource this is; the rest of the fields describe the properties of the resource. A resource can take on one of three types: scalar (double), a list of finite and discrete ranges (e.g., [1-10, 20-30]), or a set of items. A resource is described using the standard protocol buffer "union" trick.

Note that "disk" and "mem" resources are scalar values expressed in megabytes. Fractional "cpus" values are allowed (e.g., "0.5"), which correspond to partial shares of a CPU.

func NewPopulatedResource

func NewPopulatedResource(r randyMesos, easy bool) *Resource

func (*Resource) Add

func (left *Resource) Add(right Resource)

Add adds right to left. This func panics if the resource types don't match.

func (*Resource) Addable

func (left *Resource) Addable(right Resource) bool

Addable tests if we can add two Resource objects together resulting in one valid Resource object. For example, two Resource objects with different name, type or role are not addable.

func (*Resource) Allocate added in v0.0.7

func (r *Resource) Allocate(role string)

Allocate sets the AllocationInfo for the resource, panics if role is "".

func (Resource) Contains

func (left Resource) Contains(right Resource) bool

Contains tests if "right" is contained in "left".

func (*Resource) Descriptor added in v0.0.4

func (*Resource) Descriptor() ([]byte, []int)

func (*Resource) Equal

func (this *Resource) Equal(that interface{}) bool

func (*Resource) Equivalent

func (left *Resource) Equivalent(right Resource) bool

Equivalent returns true if right is equivalent to left (differs from Equal in that deeply nested values are test for equivalence, not equality).

func (*Resource) GetAllocationInfo added in v0.0.4

func (m *Resource) GetAllocationInfo() *Resource_AllocationInfo

func (*Resource) GetDisk

func (m *Resource) GetDisk() *Resource_DiskInfo

func (*Resource) GetName

func (m *Resource) GetName() string

func (*Resource) GetProviderID added in v0.0.5

func (m *Resource) GetProviderID() *ResourceProviderID

func (*Resource) GetRanges

func (m *Resource) GetRanges() *Value_Ranges

func (*Resource) GetReservation

func (m *Resource) GetReservation() *Resource_ReservationInfo

func (*Resource) GetReservations added in v0.0.6

func (m *Resource) GetReservations() []Resource_ReservationInfo

func (*Resource) GetRevocable

func (m *Resource) GetRevocable() *Resource_RevocableInfo

func (*Resource) GetRole

func (m *Resource) GetRole() string

func (*Resource) GetScalar

func (m *Resource) GetScalar() *Value_Scalar

func (*Resource) GetSet

func (m *Resource) GetSet() *Value_Set

func (*Resource) GetShared

func (m *Resource) GetShared() *Resource_SharedInfo

func (*Resource) GetType

func (m *Resource) GetType() Value_Type

func (*Resource) GoString

func (this *Resource) GoString() string

func (*Resource) HasResourceProvider added in v0.0.7

func (left *Resource) HasResourceProvider() bool

HasResourceProvider returns true if the given Resource object is provided by a resource provider.

func (*Resource) IsAllocatableTo added in v0.0.7

func (left *Resource) IsAllocatableTo(role string) bool

IsAllocatableTo returns true if the resource may be allocated to the given role.

func (*Resource) IsDisk added in v0.0.7

IsDisk returns true if this is a disk resource of the specified type.

func (*Resource) IsDynamicallyReserved

func (left *Resource) IsDynamicallyReserved() bool

IsDynamicallyReserved returns true if this resource has a non-nil reservation descriptor

func (*Resource) IsEmpty

func (left *Resource) IsEmpty() bool

IsEmpty returns true if the value of this resource is equivalent to the zero-value, where a zero-length slice or map is equivalent to a nil reference to such.

func (*Resource) IsPersistentVolume

func (left *Resource) IsPersistentVolume() bool

IsPersistentVolume returns true if this is a disk resource with a non-nil Persistence descriptor

func (*Resource) IsReserved

func (left *Resource) IsReserved(role string) bool

IsReserved returns true if this resource has been reserved for the given role. If role=="" then return true if there are no static or dynamic reservations for this resource. It's expected that this Resource has already been validated (see Validate).

func (*Resource) IsRevocable

func (left *Resource) IsRevocable() bool

IsRevocable returns true if this resource has a non-nil revocable descriptor

func (*Resource) IsUnreserved

func (left *Resource) IsUnreserved() bool

IsUnreserved returns true if this resource neither statically or dynamically reserved. A resource is considered statically reserved if it has a non-default role.

func (*Resource) Marshal

func (m *Resource) Marshal() (dAtA []byte, err error)

func (*Resource) MarshalJSON

func (mj *Resource) MarshalJSON() ([]byte, error)

func (*Resource) MarshalJSONBuf

func (mj *Resource) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Resource) MarshalTo

func (m *Resource) MarshalTo(dAtA []byte) (int, error)

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoSize added in v0.0.4

func (m *Resource) ProtoSize() (n int)

func (*Resource) ReservationRole added in v0.0.7

func (r *Resource) ReservationRole() string

ReservationRole returns the role for which the resource is reserved. Callers should check the reservation status of the resource via IsReserved prior to invoking this func.

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (this *Resource) String() string

func (*Resource) Subtract

func (left *Resource) Subtract(right Resource)

Subtract removes right from left. This func panics if the resource types don't match.

func (*Resource) Subtractable

func (left *Resource) Subtractable(right Resource) bool

Subtractable tests if we can subtract "right" from "left" resulting in one valid Resource object. For example, two Resource objects with different name, type or role are not subtractable. NOTE: Set subtraction is always well defined, it does not require 'right' to be contained within 'left'. For example, assuming that "left = {1, 2}" and "right = {2, 3}", "left" and "right" are subtractable because "left - right = {1}". However, "left" does not contain "right".

func (*Resource) Unallocate added in v0.0.7

func (r *Resource) Unallocate()

Unallocate clears the AllocationInfo for the resource.

func (*Resource) Unmarshal

func (m *Resource) Unmarshal(dAtA []byte) error

func (*Resource) UnmarshalJSON

func (uj *Resource) UnmarshalJSON(input []byte) error

func (*Resource) UnmarshalJSONFFLexer

func (uj *Resource) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Resource) Validate

func (left *Resource) Validate() error

func (*Resource) VerboseEqual

func (this *Resource) VerboseEqual(that interface{}) error

type ResourceProviderID added in v0.0.5

type ResourceProviderID struct {
	Value string `protobuf:"bytes,1,req,name=value" json:"value"`
}

* A unique ID assigned to a resource provider. Currently, a resource provider gets a new ID whenever it (re)registers with Mesos.

func NewPopulatedResourceProviderID added in v0.0.5

func NewPopulatedResourceProviderID(r randyMesos, easy bool) *ResourceProviderID

func (*ResourceProviderID) Descriptor added in v0.0.5

func (*ResourceProviderID) Descriptor() ([]byte, []int)

func (*ResourceProviderID) Equal added in v0.0.5

func (this *ResourceProviderID) Equal(that interface{}) bool

func (*ResourceProviderID) GetValue added in v0.0.5

func (m *ResourceProviderID) GetValue() string

func (*ResourceProviderID) GoString added in v0.0.5

func (this *ResourceProviderID) GoString() string

func (*ResourceProviderID) Marshal added in v0.0.5

func (m *ResourceProviderID) Marshal() (dAtA []byte, err error)

func (*ResourceProviderID) MarshalJSON added in v0.0.5

func (mj *ResourceProviderID) MarshalJSON() ([]byte, error)

func (*ResourceProviderID) MarshalJSONBuf added in v0.0.5

func (mj *ResourceProviderID) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ResourceProviderID) MarshalTo added in v0.0.5

func (m *ResourceProviderID) MarshalTo(dAtA []byte) (int, error)

func (*ResourceProviderID) ProtoMessage added in v0.0.5

func (*ResourceProviderID) ProtoMessage()

func (*ResourceProviderID) ProtoSize added in v0.0.5

func (m *ResourceProviderID) ProtoSize() (n int)

func (*ResourceProviderID) Reset added in v0.0.5

func (m *ResourceProviderID) Reset()

func (*ResourceProviderID) String added in v0.0.5

func (this *ResourceProviderID) String() string

func (*ResourceProviderID) Unmarshal added in v0.0.5

func (m *ResourceProviderID) Unmarshal(dAtA []byte) error

func (*ResourceProviderID) UnmarshalJSON added in v0.0.5

func (uj *ResourceProviderID) UnmarshalJSON(input []byte) error

func (*ResourceProviderID) UnmarshalJSONFFLexer added in v0.0.5

func (uj *ResourceProviderID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ResourceProviderID) VerboseEqual added in v0.0.5

func (this *ResourceProviderID) VerboseEqual(that interface{}) error

type ResourceProviderInfo added in v0.0.6

type ResourceProviderInfo struct {
	ID         *ResourceProviderID `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Attributes []Attribute         `protobuf:"bytes,2,rep,name=attributes" json:"attributes"`
	// The type of the resource provider. This uniquely identifies a
	// resource provider implementation. For instance:
	//     org.apache.mesos.rp.local.storage
	//
	// Please follow to Java package naming convention
	// (https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
	// to avoid conflicts on type names.
	Type string `protobuf:"bytes,3,req,name=type" json:"type"`
	// The name of the resource provider. There could be multiple
	// instances of a type of resource provider. The name field is used
	// to distinguish these instances. It should be a legal Java identifier
	// (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html)
	// to avoid conflicts on concatenation of type and name.
	Name string `protobuf:"bytes,4,req,name=name" json:"name"`
	// The stack of default reservations. If this field is not empty, it
	// indicates that resources from this resource provider are reserved
	// by default, except for the resources that have been reserved or
	// unreserved through operations. The first `ReservationInfo`
	// may have type `STATIC` or `DYNAMIC`, but the rest must have
	// `DYNAMIC`. One can create a new reservation on top of an existing
	// one by pushing a new `ReservationInfo` to the back. The last
	// `ReservationInfo` in this stack is the "current" reservation. The
	// new reservation's role must be a child of the current one.
	DefaultReservations []Resource_ReservationInfo    `protobuf:"bytes,5,rep,name=default_reservations,json=defaultReservations" json:"default_reservations"`
	Storage             *ResourceProviderInfo_Storage `protobuf:"bytes,6,opt,name=storage" json:"storage,omitempty"`
}

* Describes a resource provider. Note that the 'id' field is only available after a resource provider is registered with the master, and is made available here to facilitate re-registration.

func NewPopulatedResourceProviderInfo added in v0.0.6

func NewPopulatedResourceProviderInfo(r randyMesos, easy bool) *ResourceProviderInfo

func (*ResourceProviderInfo) Descriptor added in v0.0.6

func (*ResourceProviderInfo) Descriptor() ([]byte, []int)

func (*ResourceProviderInfo) Equal added in v0.0.6

func (this *ResourceProviderInfo) Equal(that interface{}) bool

func (*ResourceProviderInfo) GetAttributes added in v0.0.6

func (m *ResourceProviderInfo) GetAttributes() []Attribute

func (*ResourceProviderInfo) GetDefaultReservations added in v0.0.7

func (m *ResourceProviderInfo) GetDefaultReservations() []Resource_ReservationInfo

func (*ResourceProviderInfo) GetID added in v0.0.6

func (*ResourceProviderInfo) GetName added in v0.0.6

func (m *ResourceProviderInfo) GetName() string

func (*ResourceProviderInfo) GetStorage added in v0.0.7

func (*ResourceProviderInfo) GetType added in v0.0.6

func (m *ResourceProviderInfo) GetType() string

func (*ResourceProviderInfo) GoString added in v0.0.6

func (this *ResourceProviderInfo) GoString() string

func (*ResourceProviderInfo) Marshal added in v0.0.6

func (m *ResourceProviderInfo) Marshal() (dAtA []byte, err error)

func (*ResourceProviderInfo) MarshalJSON added in v0.0.6

func (mj *ResourceProviderInfo) MarshalJSON() ([]byte, error)

func (*ResourceProviderInfo) MarshalJSONBuf added in v0.0.6

func (mj *ResourceProviderInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ResourceProviderInfo) MarshalTo added in v0.0.6

func (m *ResourceProviderInfo) MarshalTo(dAtA []byte) (int, error)

func (*ResourceProviderInfo) ProtoMessage added in v0.0.6

func (*ResourceProviderInfo) ProtoMessage()

func (*ResourceProviderInfo) ProtoSize added in v0.0.6

func (m *ResourceProviderInfo) ProtoSize() (n int)

func (*ResourceProviderInfo) Reset added in v0.0.6

func (m *ResourceProviderInfo) Reset()

func (*ResourceProviderInfo) String added in v0.0.6

func (this *ResourceProviderInfo) String() string

func (*ResourceProviderInfo) Unmarshal added in v0.0.6

func (m *ResourceProviderInfo) Unmarshal(dAtA []byte) error

func (*ResourceProviderInfo) UnmarshalJSON added in v0.0.6

func (uj *ResourceProviderInfo) UnmarshalJSON(input []byte) error

func (*ResourceProviderInfo) UnmarshalJSONFFLexer added in v0.0.6

func (uj *ResourceProviderInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ResourceProviderInfo) VerboseEqual added in v0.0.6

func (this *ResourceProviderInfo) VerboseEqual(that interface{}) error

type ResourceProviderInfo_Storage added in v0.0.7

type ResourceProviderInfo_Storage struct {
	Plugin CSIPluginInfo `protobuf:"bytes,1,req,name=plugin" json:"plugin"`
}

Storage resource provider related information.

func NewPopulatedResourceProviderInfo_Storage added in v0.0.7

func NewPopulatedResourceProviderInfo_Storage(r randyMesos, easy bool) *ResourceProviderInfo_Storage

func (*ResourceProviderInfo_Storage) Descriptor added in v0.0.7

func (*ResourceProviderInfo_Storage) Descriptor() ([]byte, []int)

func (*ResourceProviderInfo_Storage) Equal added in v0.0.7

func (this *ResourceProviderInfo_Storage) Equal(that interface{}) bool

func (*ResourceProviderInfo_Storage) GetPlugin added in v0.0.7

func (*ResourceProviderInfo_Storage) GoString added in v0.0.7

func (this *ResourceProviderInfo_Storage) GoString() string

func (*ResourceProviderInfo_Storage) Marshal added in v0.0.7

func (m *ResourceProviderInfo_Storage) Marshal() (dAtA []byte, err error)

func (*ResourceProviderInfo_Storage) MarshalJSON added in v0.0.7

func (mj *ResourceProviderInfo_Storage) MarshalJSON() ([]byte, error)

func (*ResourceProviderInfo_Storage) MarshalJSONBuf added in v0.0.7

func (mj *ResourceProviderInfo_Storage) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ResourceProviderInfo_Storage) MarshalTo added in v0.0.7

func (m *ResourceProviderInfo_Storage) MarshalTo(dAtA []byte) (int, error)

func (*ResourceProviderInfo_Storage) ProtoMessage added in v0.0.7

func (*ResourceProviderInfo_Storage) ProtoMessage()

func (*ResourceProviderInfo_Storage) ProtoSize added in v0.0.7

func (m *ResourceProviderInfo_Storage) ProtoSize() (n int)

func (*ResourceProviderInfo_Storage) Reset added in v0.0.7

func (m *ResourceProviderInfo_Storage) Reset()

func (*ResourceProviderInfo_Storage) String added in v0.0.7

func (this *ResourceProviderInfo_Storage) String() string

func (*ResourceProviderInfo_Storage) Unmarshal added in v0.0.7

func (m *ResourceProviderInfo_Storage) Unmarshal(dAtA []byte) error

func (*ResourceProviderInfo_Storage) UnmarshalJSON added in v0.0.7

func (uj *ResourceProviderInfo_Storage) UnmarshalJSON(input []byte) error

func (*ResourceProviderInfo_Storage) UnmarshalJSONFFLexer added in v0.0.7

func (uj *ResourceProviderInfo_Storage) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ResourceProviderInfo_Storage) VerboseEqual added in v0.0.7

func (this *ResourceProviderInfo_Storage) VerboseEqual(that interface{}) error

type ResourceStatistics

type ResourceStatistics struct {
	Timestamp float64 `protobuf:"fixed64,1,req,name=timestamp" json:"timestamp"`
	Processes *uint32 `protobuf:"varint,30,opt,name=processes" json:"processes,omitempty"`
	Threads   *uint32 `protobuf:"varint,31,opt,name=threads" json:"threads,omitempty"`
	// CPU Usage Information:
	// Total CPU time spent in user mode, and kernel mode.
	CPUsUserTimeSecs   *float64 `protobuf:"fixed64,2,opt,name=cpus_user_time_secs,json=cpusUserTimeSecs" json:"cpus_user_time_secs,omitempty"`
	CPUsSystemTimeSecs *float64 `protobuf:"fixed64,3,opt,name=cpus_system_time_secs,json=cpusSystemTimeSecs" json:"cpus_system_time_secs,omitempty"`
	// Number of CPUs allocated.
	CPUsLimit *float64 `protobuf:"fixed64,4,opt,name=cpus_limit,json=cpusLimit" json:"cpus_limit,omitempty"`
	// cpu.stat on process throttling (for contention issues).
	CPUsNrPeriods         *uint32  `protobuf:"varint,7,opt,name=cpus_nr_periods,json=cpusNrPeriods" json:"cpus_nr_periods,omitempty"`
	CPUsNrThrottled       *uint32  `protobuf:"varint,8,opt,name=cpus_nr_throttled,json=cpusNrThrottled" json:"cpus_nr_throttled,omitempty"`
	CPUsThrottledTimeSecs *float64 `protobuf:"fixed64,9,opt,name=cpus_throttled_time_secs,json=cpusThrottledTimeSecs" json:"cpus_throttled_time_secs,omitempty"`
	// mem_total_bytes was added in 0.23.0 to represent the total memory
	// of a process in RAM (as opposed to in Swap). This was previously
	// reported as mem_rss_bytes, which was also changed in 0.23.0 to
	// represent only the anonymous memory usage, to keep in sync with
	// Linux kernel's (arguably erroneous) use of terminology.
	MemTotalBytes *uint64 `protobuf:"varint,36,opt,name=mem_total_bytes,json=memTotalBytes" json:"mem_total_bytes,omitempty"`
	// Total memory + swap usage. This is set if swap is enabled.
	MemTotalMemswBytes *uint64 `protobuf:"varint,37,opt,name=mem_total_memsw_bytes,json=memTotalMemswBytes" json:"mem_total_memsw_bytes,omitempty"`
	// Hard memory limit for a container.
	MemLimitBytes *uint64 `protobuf:"varint,6,opt,name=mem_limit_bytes,json=memLimitBytes" json:"mem_limit_bytes,omitempty"`
	// Soft memory limit for a container.
	MemSoftLimitBytes *uint64 `protobuf:"varint,38,opt,name=mem_soft_limit_bytes,json=memSoftLimitBytes" json:"mem_soft_limit_bytes,omitempty"`
	// TODO(chzhcn) mem_file_bytes and mem_anon_bytes are deprecated in
	// 0.23.0 and will be removed in 0.24.0.
	MemFileBytes *uint64 `protobuf:"varint,10,opt,name=mem_file_bytes,json=memFileBytes" json:"mem_file_bytes,omitempty"`
	MemAnonBytes *uint64 `protobuf:"varint,11,opt,name=mem_anon_bytes,json=memAnonBytes" json:"mem_anon_bytes,omitempty"`
	// mem_cache_bytes is added in 0.23.0 to represent page cache usage.
	MemCacheBytes *uint64 `protobuf:"varint,39,opt,name=mem_cache_bytes,json=memCacheBytes" json:"mem_cache_bytes,omitempty"`
	// Since 0.23.0, mem_rss_bytes is changed to represent only
	// anonymous memory usage. Note that neither its requiredness, type,
	// name nor numeric tag has been changed.
	MemRSSBytes        *uint64 `protobuf:"varint,5,opt,name=mem_rss_bytes,json=memRssBytes" json:"mem_rss_bytes,omitempty"`
	MemMappedFileBytes *uint64 `protobuf:"varint,12,opt,name=mem_mapped_file_bytes,json=memMappedFileBytes" json:"mem_mapped_file_bytes,omitempty"`
	// This is only set if swap is enabled.
	MemSwapBytes        *uint64 `protobuf:"varint,40,opt,name=mem_swap_bytes,json=memSwapBytes" json:"mem_swap_bytes,omitempty"`
	MemUnevictableBytes *uint64 `protobuf:"varint,41,opt,name=mem_unevictable_bytes,json=memUnevictableBytes" json:"mem_unevictable_bytes,omitempty"`
	// Number of occurrences of different levels of memory pressure
	// events reported by memory cgroup. Pressure listening (re)starts
	// with these values set to 0 when agent (re)starts. See
	// https://www.kernel.org/doc/Documentation/cgroups/memory.txt for
	// more details.
	MemLowPressureCounter      *uint64 `protobuf:"varint,32,opt,name=mem_low_pressure_counter,json=memLowPressureCounter" json:"mem_low_pressure_counter,omitempty"`
	MemMediumPressureCounter   *uint64 `` /* 132-byte string literal not displayed */
	MemCriticalPressureCounter *uint64 `` /* 138-byte string literal not displayed */
	// Disk Usage Information for executor working directory.
	DiskLimitBytes *uint64 `protobuf:"varint,26,opt,name=disk_limit_bytes,json=diskLimitBytes" json:"disk_limit_bytes,omitempty"`
	DiskUsedBytes  *uint64 `protobuf:"varint,27,opt,name=disk_used_bytes,json=diskUsedBytes" json:"disk_used_bytes,omitempty"`
	// Per disk (resource) statistics.
	DiskStatistics []DiskStatistics `protobuf:"bytes,43,rep,name=disk_statistics,json=diskStatistics" json:"disk_statistics"`
	// Cgroups blkio statistics.
	BlkioStatistics *CgroupInfo_Blkio_Statistics `protobuf:"bytes,44,opt,name=blkio_statistics,json=blkioStatistics" json:"blkio_statistics,omitempty"`
	// Perf statistics.
	Perf *PerfStatistics `protobuf:"bytes,13,opt,name=perf" json:"perf,omitempty"`
	// Network Usage Information:
	NetRxPackets *uint64 `protobuf:"varint,14,opt,name=net_rx_packets,json=netRxPackets" json:"net_rx_packets,omitempty"`
	NetRxBytes   *uint64 `protobuf:"varint,15,opt,name=net_rx_bytes,json=netRxBytes" json:"net_rx_bytes,omitempty"`
	NetRxErrors  *uint64 `protobuf:"varint,16,opt,name=net_rx_errors,json=netRxErrors" json:"net_rx_errors,omitempty"`
	NetRxDropped *uint64 `protobuf:"varint,17,opt,name=net_rx_dropped,json=netRxDropped" json:"net_rx_dropped,omitempty"`
	NetTxPackets *uint64 `protobuf:"varint,18,opt,name=net_tx_packets,json=netTxPackets" json:"net_tx_packets,omitempty"`
	NetTxBytes   *uint64 `protobuf:"varint,19,opt,name=net_tx_bytes,json=netTxBytes" json:"net_tx_bytes,omitempty"`
	NetTxErrors  *uint64 `protobuf:"varint,20,opt,name=net_tx_errors,json=netTxErrors" json:"net_tx_errors,omitempty"`
	NetTxDropped *uint64 `protobuf:"varint,21,opt,name=net_tx_dropped,json=netTxDropped" json:"net_tx_dropped,omitempty"`
	// The kernel keeps track of RTT (round-trip time) for its TCP
	// sockets. RTT is a way to tell the latency of a container.
	NetTCPRttMicrosecsP50     *float64 `` /* 126-byte string literal not displayed */
	NetTCPRttMicrosecsP90     *float64 `` /* 126-byte string literal not displayed */
	NetTCPRttMicrosecsP95     *float64 `` /* 126-byte string literal not displayed */
	NetTCPRttMicrosecsP99     *float64 `` /* 126-byte string literal not displayed */
	NetTCPActiveConnections   *float64 `` /* 130-byte string literal not displayed */
	NetTCPTimeWaitConnections *float64 `` /* 138-byte string literal not displayed */
	// Network traffic flowing into or out of a container can be delayed
	// or dropped due to congestion or policy inside and outside the
	// container.
	NetTrafficControlStatistics []TrafficControlStatistics `` /* 130-byte string literal not displayed */
	// Network SNMP statistics for each container.
	NetSNMPStatistics *SNMPStatistics `protobuf:"bytes,42,opt,name=net_snmp_statistics,json=netSnmpStatistics" json:"net_snmp_statistics,omitempty"`
}

* A snapshot of resource usage statistics.

func NewPopulatedResourceStatistics

func NewPopulatedResourceStatistics(r randyMesos, easy bool) *ResourceStatistics

func (*ResourceStatistics) Descriptor added in v0.0.4

func (*ResourceStatistics) Descriptor() ([]byte, []int)

func (*ResourceStatistics) Equal

func (this *ResourceStatistics) Equal(that interface{}) bool

func (*ResourceStatistics) GetBlkioStatistics added in v0.0.6

func (m *ResourceStatistics) GetBlkioStatistics() *CgroupInfo_Blkio_Statistics

func (*ResourceStatistics) GetCPUsLimit

func (m *ResourceStatistics) GetCPUsLimit() float64

func (*ResourceStatistics) GetCPUsNrPeriods

func (m *ResourceStatistics) GetCPUsNrPeriods() uint32

func (*ResourceStatistics) GetCPUsNrThrottled

func (m *ResourceStatistics) GetCPUsNrThrottled() uint32

func (*ResourceStatistics) GetCPUsSystemTimeSecs

func (m *ResourceStatistics) GetCPUsSystemTimeSecs() float64

func (*ResourceStatistics) GetCPUsThrottledTimeSecs

func (m *ResourceStatistics) GetCPUsThrottledTimeSecs() float64

func (*ResourceStatistics) GetCPUsUserTimeSecs

func (m *ResourceStatistics) GetCPUsUserTimeSecs() float64

func (*ResourceStatistics) GetDiskLimitBytes

func (m *ResourceStatistics) GetDiskLimitBytes() uint64

func (*ResourceStatistics) GetDiskStatistics added in v0.0.5

func (m *ResourceStatistics) GetDiskStatistics() []DiskStatistics

func (*ResourceStatistics) GetDiskUsedBytes

func (m *ResourceStatistics) GetDiskUsedBytes() uint64

func (*ResourceStatistics) GetMemAnonBytes

func (m *ResourceStatistics) GetMemAnonBytes() uint64

func (*ResourceStatistics) GetMemCacheBytes

func (m *ResourceStatistics) GetMemCacheBytes() uint64

func (*ResourceStatistics) GetMemCriticalPressureCounter

func (m *ResourceStatistics) GetMemCriticalPressureCounter() uint64

func (*ResourceStatistics) GetMemFileBytes

func (m *ResourceStatistics) GetMemFileBytes() uint64

func (*ResourceStatistics) GetMemLimitBytes

func (m *ResourceStatistics) GetMemLimitBytes() uint64

func (*ResourceStatistics) GetMemLowPressureCounter

func (m *ResourceStatistics) GetMemLowPressureCounter() uint64

func (*ResourceStatistics) GetMemMappedFileBytes

func (m *ResourceStatistics) GetMemMappedFileBytes() uint64

func (*ResourceStatistics) GetMemMediumPressureCounter

func (m *ResourceStatistics) GetMemMediumPressureCounter() uint64

func (*ResourceStatistics) GetMemRSSBytes

func (m *ResourceStatistics) GetMemRSSBytes() uint64

func (*ResourceStatistics) GetMemSoftLimitBytes

func (m *ResourceStatistics) GetMemSoftLimitBytes() uint64

func (*ResourceStatistics) GetMemSwapBytes

func (m *ResourceStatistics) GetMemSwapBytes() uint64

func (*ResourceStatistics) GetMemTotalBytes

func (m *ResourceStatistics) GetMemTotalBytes() uint64

func (*ResourceStatistics) GetMemTotalMemswBytes

func (m *ResourceStatistics) GetMemTotalMemswBytes() uint64

func (*ResourceStatistics) GetMemUnevictableBytes

func (m *ResourceStatistics) GetMemUnevictableBytes() uint64

func (*ResourceStatistics) GetNetRxBytes

func (m *ResourceStatistics) GetNetRxBytes() uint64

func (*ResourceStatistics) GetNetRxDropped

func (m *ResourceStatistics) GetNetRxDropped() uint64

func (*ResourceStatistics) GetNetRxErrors

func (m *ResourceStatistics) GetNetRxErrors() uint64

func (*ResourceStatistics) GetNetRxPackets

func (m *ResourceStatistics) GetNetRxPackets() uint64

func (*ResourceStatistics) GetNetSNMPStatistics

func (m *ResourceStatistics) GetNetSNMPStatistics() *SNMPStatistics

func (*ResourceStatistics) GetNetTCPActiveConnections

func (m *ResourceStatistics) GetNetTCPActiveConnections() float64

func (*ResourceStatistics) GetNetTCPRttMicrosecsP50

func (m *ResourceStatistics) GetNetTCPRttMicrosecsP50() float64

func (*ResourceStatistics) GetNetTCPRttMicrosecsP90

func (m *ResourceStatistics) GetNetTCPRttMicrosecsP90() float64

func (*ResourceStatistics) GetNetTCPRttMicrosecsP95

func (m *ResourceStatistics) GetNetTCPRttMicrosecsP95() float64

func (*ResourceStatistics) GetNetTCPRttMicrosecsP99

func (m *ResourceStatistics) GetNetTCPRttMicrosecsP99() float64

func (*ResourceStatistics) GetNetTCPTimeWaitConnections

func (m *ResourceStatistics) GetNetTCPTimeWaitConnections() float64

func (*ResourceStatistics) GetNetTrafficControlStatistics

func (m *ResourceStatistics) GetNetTrafficControlStatistics() []TrafficControlStatistics

func (*ResourceStatistics) GetNetTxBytes

func (m *ResourceStatistics) GetNetTxBytes() uint64

func (*ResourceStatistics) GetNetTxDropped

func (m *ResourceStatistics) GetNetTxDropped() uint64

func (*ResourceStatistics) GetNetTxErrors

func (m *ResourceStatistics) GetNetTxErrors() uint64

func (*ResourceStatistics) GetNetTxPackets

func (m *ResourceStatistics) GetNetTxPackets() uint64

func (*ResourceStatistics) GetPerf

func (m *ResourceStatistics) GetPerf() *PerfStatistics

func (*ResourceStatistics) GetProcesses

func (m *ResourceStatistics) GetProcesses() uint32

func (*ResourceStatistics) GetThreads

func (m *ResourceStatistics) GetThreads() uint32

func (*ResourceStatistics) GetTimestamp

func (m *ResourceStatistics) GetTimestamp() float64

func (*ResourceStatistics) GoString

func (this *ResourceStatistics) GoString() string

func (*ResourceStatistics) Marshal

func (m *ResourceStatistics) Marshal() (dAtA []byte, err error)

func (*ResourceStatistics) MarshalJSON

func (mj *ResourceStatistics) MarshalJSON() ([]byte, error)

func (*ResourceStatistics) MarshalJSONBuf

func (mj *ResourceStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ResourceStatistics) MarshalTo

func (m *ResourceStatistics) MarshalTo(dAtA []byte) (int, error)

func (*ResourceStatistics) ProtoMessage

func (*ResourceStatistics) ProtoMessage()

func (*ResourceStatistics) ProtoSize added in v0.0.4

func (m *ResourceStatistics) ProtoSize() (n int)

func (*ResourceStatistics) Reset

func (m *ResourceStatistics) Reset()

func (*ResourceStatistics) String

func (this *ResourceStatistics) String() string

func (*ResourceStatistics) Unmarshal

func (m *ResourceStatistics) Unmarshal(dAtA []byte) error

func (*ResourceStatistics) UnmarshalJSON

func (uj *ResourceStatistics) UnmarshalJSON(input []byte) error

func (*ResourceStatistics) UnmarshalJSONFFLexer

func (uj *ResourceStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ResourceStatistics) VerboseEqual

func (this *ResourceStatistics) VerboseEqual(that interface{}) error

type ResourceUsage

type ResourceUsage struct {
	Executors []ResourceUsage_Executor `protobuf:"bytes,1,rep,name=executors" json:"executors"`
	// Agent's total resources including checkpointed dynamic
	// reservations and persistent volumes.
	Total []Resource `protobuf:"bytes,2,rep,name=total" json:"total"`
}

* Describes a snapshot of the resource usage for executors.

func NewPopulatedResourceUsage

func NewPopulatedResourceUsage(r randyMesos, easy bool) *ResourceUsage

func (*ResourceUsage) Descriptor added in v0.0.4

func (*ResourceUsage) Descriptor() ([]byte, []int)

func (*ResourceUsage) Equal

func (this *ResourceUsage) Equal(that interface{}) bool

func (*ResourceUsage) GetExecutors

func (m *ResourceUsage) GetExecutors() []ResourceUsage_Executor

func (*ResourceUsage) GetTotal

func (m *ResourceUsage) GetTotal() []Resource

func (*ResourceUsage) GoString

func (this *ResourceUsage) GoString() string

func (*ResourceUsage) Marshal

func (m *ResourceUsage) Marshal() (dAtA []byte, err error)

func (*ResourceUsage) MarshalJSON

func (mj *ResourceUsage) MarshalJSON() ([]byte, error)

func (*ResourceUsage) MarshalJSONBuf

func (mj *ResourceUsage) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ResourceUsage) MarshalTo

func (m *ResourceUsage) MarshalTo(dAtA []byte) (int, error)

func (*ResourceUsage) ProtoMessage

func (*ResourceUsage) ProtoMessage()

func (*ResourceUsage) ProtoSize added in v0.0.4

func (m *ResourceUsage) ProtoSize() (n int)

func (*ResourceUsage) Reset

func (m *ResourceUsage) Reset()

func (*ResourceUsage) String

func (this *ResourceUsage) String() string

func (*ResourceUsage) Unmarshal

func (m *ResourceUsage) Unmarshal(dAtA []byte) error

func (*ResourceUsage) UnmarshalJSON

func (uj *ResourceUsage) UnmarshalJSON(input []byte) error

func (*ResourceUsage) UnmarshalJSONFFLexer

func (uj *ResourceUsage) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ResourceUsage) VerboseEqual

func (this *ResourceUsage) VerboseEqual(that interface{}) error

type ResourceUsage_Executor

type ResourceUsage_Executor struct {
	ExecutorInfo ExecutorInfo `protobuf:"bytes,1,req,name=executor_info,json=executorInfo" json:"executor_info"`
	// This includes resources used by the executor itself
	// as well as its active tasks.
	Allocated []Resource `protobuf:"bytes,2,rep,name=allocated" json:"allocated"`
	// Current resource usage. If absent, the containerizer
	// cannot provide resource usage.
	Statistics *ResourceStatistics `protobuf:"bytes,3,opt,name=statistics" json:"statistics,omitempty"`
	// The container id for the executor specified in the executor_info field.
	ContainerID ContainerID `protobuf:"bytes,4,req,name=container_id,json=containerId" json:"container_id"`
	// Non-terminal tasks.
	Tasks []ResourceUsage_Executor_Task `protobuf:"bytes,5,rep,name=tasks" json:"tasks"`
}

func NewPopulatedResourceUsage_Executor

func NewPopulatedResourceUsage_Executor(r randyMesos, easy bool) *ResourceUsage_Executor

func (*ResourceUsage_Executor) Descriptor added in v0.0.4

func (*ResourceUsage_Executor) Descriptor() ([]byte, []int)

func (*ResourceUsage_Executor) Equal

func (this *ResourceUsage_Executor) Equal(that interface{}) bool

func (*ResourceUsage_Executor) GetAllocated

func (m *ResourceUsage_Executor) GetAllocated() []Resource

func (*ResourceUsage_Executor) GetContainerID

func (m *ResourceUsage_Executor) GetContainerID() ContainerID

func (*ResourceUsage_Executor) GetExecutorInfo

func (m *ResourceUsage_Executor) GetExecutorInfo() ExecutorInfo

func (*ResourceUsage_Executor) GetStatistics

func (m *ResourceUsage_Executor) GetStatistics() *ResourceStatistics

func (*ResourceUsage_Executor) GetTasks

func (*ResourceUsage_Executor) GoString

func (this *ResourceUsage_Executor) GoString() string

func (*ResourceUsage_Executor) Marshal

func (m *ResourceUsage_Executor) Marshal() (dAtA []byte, err error)

func (*ResourceUsage_Executor) MarshalJSON

func (mj *ResourceUsage_Executor) MarshalJSON() ([]byte, error)

func (*ResourceUsage_Executor) MarshalJSONBuf

func (mj *ResourceUsage_Executor) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ResourceUsage_Executor) MarshalTo

func (m *ResourceUsage_Executor) MarshalTo(dAtA []byte) (int, error)

func (*ResourceUsage_Executor) ProtoMessage

func (*ResourceUsage_Executor) ProtoMessage()

func (*ResourceUsage_Executor) ProtoSize added in v0.0.4

func (m *ResourceUsage_Executor) ProtoSize() (n int)

func (*ResourceUsage_Executor) Reset

func (m *ResourceUsage_Executor) Reset()

func (*ResourceUsage_Executor) String

func (this *ResourceUsage_Executor) String() string

func (*ResourceUsage_Executor) Unmarshal

func (m *ResourceUsage_Executor) Unmarshal(dAtA []byte) error

func (*ResourceUsage_Executor) UnmarshalJSON

func (uj *ResourceUsage_Executor) UnmarshalJSON(input []byte) error

func (*ResourceUsage_Executor) UnmarshalJSONFFLexer

func (uj *ResourceUsage_Executor) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ResourceUsage_Executor) VerboseEqual

func (this *ResourceUsage_Executor) VerboseEqual(that interface{}) error

type ResourceUsage_Executor_Task

type ResourceUsage_Executor_Task struct {
	Name      string     `protobuf:"bytes,1,req,name=name" json:"name"`
	ID        TaskID     `protobuf:"bytes,2,req,name=id" json:"id"`
	Resources []Resource `protobuf:"bytes,3,rep,name=resources" json:"resources"`
	Labels    *Labels    `protobuf:"bytes,4,opt,name=labels" json:"labels,omitempty"`
}

func NewPopulatedResourceUsage_Executor_Task

func NewPopulatedResourceUsage_Executor_Task(r randyMesos, easy bool) *ResourceUsage_Executor_Task

func (*ResourceUsage_Executor_Task) Descriptor added in v0.0.4

func (*ResourceUsage_Executor_Task) Descriptor() ([]byte, []int)

func (*ResourceUsage_Executor_Task) Equal

func (this *ResourceUsage_Executor_Task) Equal(that interface{}) bool

func (*ResourceUsage_Executor_Task) GetID

func (*ResourceUsage_Executor_Task) GetLabels

func (m *ResourceUsage_Executor_Task) GetLabels() *Labels

func (*ResourceUsage_Executor_Task) GetName

func (m *ResourceUsage_Executor_Task) GetName() string

func (*ResourceUsage_Executor_Task) GetResources

func (m *ResourceUsage_Executor_Task) GetResources() []Resource

func (*ResourceUsage_Executor_Task) GoString

func (this *ResourceUsage_Executor_Task) GoString() string

func (*ResourceUsage_Executor_Task) Marshal

func (m *ResourceUsage_Executor_Task) Marshal() (dAtA []byte, err error)

func (*ResourceUsage_Executor_Task) MarshalJSON

func (mj *ResourceUsage_Executor_Task) MarshalJSON() ([]byte, error)

func (*ResourceUsage_Executor_Task) MarshalJSONBuf

func (mj *ResourceUsage_Executor_Task) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*ResourceUsage_Executor_Task) MarshalTo

func (m *ResourceUsage_Executor_Task) MarshalTo(dAtA []byte) (int, error)

func (*ResourceUsage_Executor_Task) ProtoMessage

func (*ResourceUsage_Executor_Task) ProtoMessage()

func (*ResourceUsage_Executor_Task) ProtoSize added in v0.0.4

func (m *ResourceUsage_Executor_Task) ProtoSize() (n int)

func (*ResourceUsage_Executor_Task) Reset

func (m *ResourceUsage_Executor_Task) Reset()

func (*ResourceUsage_Executor_Task) String

func (this *ResourceUsage_Executor_Task) String() string

func (*ResourceUsage_Executor_Task) Unmarshal

func (m *ResourceUsage_Executor_Task) Unmarshal(dAtA []byte) error

func (*ResourceUsage_Executor_Task) UnmarshalJSON

func (uj *ResourceUsage_Executor_Task) UnmarshalJSON(input []byte) error

func (*ResourceUsage_Executor_Task) UnmarshalJSONFFLexer

func (uj *ResourceUsage_Executor_Task) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*ResourceUsage_Executor_Task) VerboseEqual

func (this *ResourceUsage_Executor_Task) VerboseEqual(that interface{}) error

type Resource_AllocationInfo added in v0.0.4

type Resource_AllocationInfo struct {
	// If set, this resource is allocated to a role. Note that in the
	// future, this may be unset and the scheduler may be responsible
	// for allocating to one of its roles.
	Role *string `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"`
}

This was initially introduced to support MULTI_ROLE capable frameworks. Frameworks that are not MULTI_ROLE capable can continue to assume that the offered resources are allocated to their role.

func NewPopulatedResource_AllocationInfo added in v0.0.4

func NewPopulatedResource_AllocationInfo(r randyMesos, easy bool) *Resource_AllocationInfo

func (*Resource_AllocationInfo) Descriptor added in v0.0.4

func (*Resource_AllocationInfo) Descriptor() ([]byte, []int)

func (*Resource_AllocationInfo) Equal added in v0.0.4

func (this *Resource_AllocationInfo) Equal(that interface{}) bool

func (*Resource_AllocationInfo) Equivalent added in v0.0.7

func (left *Resource_AllocationInfo) Equivalent(right *Resource_AllocationInfo) bool

func (*Resource_AllocationInfo) GetRole added in v0.0.4

func (m *Resource_AllocationInfo) GetRole() string

func (*Resource_AllocationInfo) GoString added in v0.0.4

func (this *Resource_AllocationInfo) GoString() string

func (*Resource_AllocationInfo) Marshal added in v0.0.4

func (m *Resource_AllocationInfo) Marshal() (dAtA []byte, err error)

func (*Resource_AllocationInfo) MarshalJSON added in v0.0.4

func (mj *Resource_AllocationInfo) MarshalJSON() ([]byte, error)

func (*Resource_AllocationInfo) MarshalJSONBuf added in v0.0.4

func (mj *Resource_AllocationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Resource_AllocationInfo) MarshalTo added in v0.0.4

func (m *Resource_AllocationInfo) MarshalTo(dAtA []byte) (int, error)

func (*Resource_AllocationInfo) ProtoMessage added in v0.0.4

func (*Resource_AllocationInfo) ProtoMessage()

func (*Resource_AllocationInfo) ProtoSize added in v0.0.4

func (m *Resource_AllocationInfo) ProtoSize() (n int)

func (*Resource_AllocationInfo) Reset added in v0.0.4

func (m *Resource_AllocationInfo) Reset()

func (*Resource_AllocationInfo) String added in v0.0.4

func (this *Resource_AllocationInfo) String() string

func (*Resource_AllocationInfo) Unmarshal added in v0.0.4

func (m *Resource_AllocationInfo) Unmarshal(dAtA []byte) error

func (*Resource_AllocationInfo) UnmarshalJSON added in v0.0.4

func (uj *Resource_AllocationInfo) UnmarshalJSON(input []byte) error

func (*Resource_AllocationInfo) UnmarshalJSONFFLexer added in v0.0.4

func (uj *Resource_AllocationInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Resource_AllocationInfo) VerboseEqual added in v0.0.4

func (this *Resource_AllocationInfo) VerboseEqual(that interface{}) error

type Resource_DiskInfo

type Resource_DiskInfo struct {
	Persistence *Resource_DiskInfo_Persistence `protobuf:"bytes,1,opt,name=persistence" json:"persistence,omitempty"`
	// Describes how this disk resource will be mounted in the
	// container. If not set, the disk resource will be used as the
	// sandbox. Otherwise, it will be mounted according to the
	// 'container_path' inside 'volume'. The 'host_path' inside
	// 'volume' is ignored.
	// NOTE: If 'volume' is set but 'persistence' is not set, the
	// volume will be automatically garbage collected after
	// task/executor terminates. Currently, if 'persistence' is set,
	// 'volume' must be set.
	Volume *Volume                   `protobuf:"bytes,2,opt,name=volume" json:"volume,omitempty"`
	Source *Resource_DiskInfo_Source `protobuf:"bytes,3,opt,name=source" json:"source,omitempty"`
}

func NewPopulatedResource_DiskInfo

func NewPopulatedResource_DiskInfo(r randyMesos, easy bool) *Resource_DiskInfo

func (*Resource_DiskInfo) Descriptor added in v0.0.4

func (*Resource_DiskInfo) Descriptor() ([]byte, []int)

func (*Resource_DiskInfo) Equal

func (this *Resource_DiskInfo) Equal(that interface{}) bool

func (*Resource_DiskInfo) Equivalent

func (left *Resource_DiskInfo) Equivalent(right *Resource_DiskInfo) bool

func (*Resource_DiskInfo) GetPersistence

func (m *Resource_DiskInfo) GetPersistence() *Resource_DiskInfo_Persistence

func (*Resource_DiskInfo) GetSource

func (*Resource_DiskInfo) GetVolume

func (m *Resource_DiskInfo) GetVolume() *Volume

func (*Resource_DiskInfo) GoString

func (this *Resource_DiskInfo) GoString() string

func (*Resource_DiskInfo) Marshal

func (m *Resource_DiskInfo) Marshal() (dAtA []byte, err error)

func (*Resource_DiskInfo) MarshalJSON

func (mj *Resource_DiskInfo) MarshalJSON() ([]byte, error)

func (*Resource_DiskInfo) MarshalJSONBuf

func (mj *Resource_DiskInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Resource_DiskInfo) MarshalTo

func (m *Resource_DiskInfo) MarshalTo(dAtA []byte) (int, error)

func (*Resource_DiskInfo) ProtoMessage

func (*Resource_DiskInfo) ProtoMessage()

func (*Resource_DiskInfo) ProtoSize added in v0.0.4

func (m *Resource_DiskInfo) ProtoSize() (n int)

func (*Resource_DiskInfo) Reset

func (m *Resource_DiskInfo) Reset()

func (*Resource_DiskInfo) String

func (this *Resource_DiskInfo) String() string

func (*Resource_DiskInfo) Unmarshal

func (m *Resource_DiskInfo) Unmarshal(dAtA []byte) error

func (*Resource_DiskInfo) UnmarshalJSON

func (uj *Resource_DiskInfo) UnmarshalJSON(input []byte) error

func (*Resource_DiskInfo) UnmarshalJSONFFLexer

func (uj *Resource_DiskInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Resource_DiskInfo) VerboseEqual

func (this *Resource_DiskInfo) VerboseEqual(that interface{}) error

type Resource_DiskInfo_Persistence

type Resource_DiskInfo_Persistence struct {
	// A unique ID for the persistent disk volume. This ID must be
	// unique per role on each agent. Although it is possible to use
	// the same ID on different agents in the cluster and to reuse
	// IDs after a volume with that ID has been destroyed, both
	// practices are discouraged.
	ID string `protobuf:"bytes,1,req,name=id" json:"id"`
	// This field indicates the principal of the operator or
	// framework that created this volume. It is used in conjunction
	// with the "destroy" ACL to determine whether an entity
	// attempting to destroy the volume is permitted to do so.
	//
	// NOTE: This field should match the FrameworkInfo.principal of
	// the framework that created the volume.
	Principal *string `protobuf:"bytes,2,opt,name=principal" json:"principal,omitempty"`
}

Describes a persistent disk volume.

A persistent disk volume will not be automatically garbage collected if the task/executor/agent terminates, but will be re-offered to the framework(s) belonging to the 'role'.

NOTE: Currently, we do not allow persistent disk volumes without a reservation (i.e., 'role' cannot be '*').

func NewPopulatedResource_DiskInfo_Persistence

func NewPopulatedResource_DiskInfo_Persistence(r randyMesos, easy bool) *Resource_DiskInfo_Persistence

func (*Resource_DiskInfo_Persistence) Descriptor added in v0.0.4

func (*Resource_DiskInfo_Persistence) Descriptor() ([]byte, []int)

func (*Resource_DiskInfo_Persistence) Equal

func (this *Resource_DiskInfo_Persistence) Equal(that interface{}) bool

func (*Resource_DiskInfo_Persistence) GetID

func (*Resource_DiskInfo_Persistence) GetPrincipal

func (m *Resource_DiskInfo_Persistence) GetPrincipal() string

func (*Resource_DiskInfo_Persistence) GoString

func (this *Resource_DiskInfo_Persistence) GoString() string

func (*Resource_DiskInfo_Persistence) Marshal

func (m *Resource_DiskInfo_Persistence) Marshal() (dAtA []byte, err error)

func (*Resource_DiskInfo_Persistence) MarshalJSON

func (mj *Resource_DiskInfo_Persistence) MarshalJSON() ([]byte, error)

func (*Resource_DiskInfo_Persistence) MarshalJSONBuf

func (mj *Resource_DiskInfo_Persistence) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Resource_DiskInfo_Persistence) MarshalTo

func (m *Resource_DiskInfo_Persistence) MarshalTo(dAtA []byte) (int, error)

func (*Resource_DiskInfo_Persistence) ProtoMessage

func (*Resource_DiskInfo_Persistence) ProtoMessage()

func (*Resource_DiskInfo_Persistence) ProtoSize added in v0.0.4

func (m *Resource_DiskInfo_Persistence) ProtoSize() (n int)

func (*Resource_DiskInfo_Persistence) Reset

func (m *Resource_DiskInfo_Persistence) Reset()

func (*Resource_DiskInfo_Persistence) String

func (this *Resource_DiskInfo_Persistence) String() string

func (*Resource_DiskInfo_Persistence) Unmarshal

func (m *Resource_DiskInfo_Persistence) Unmarshal(dAtA []byte) error

func (*Resource_DiskInfo_Persistence) UnmarshalJSON

func (uj *Resource_DiskInfo_Persistence) UnmarshalJSON(input []byte) error

func (*Resource_DiskInfo_Persistence) UnmarshalJSONFFLexer

func (uj *Resource_DiskInfo_Persistence) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Resource_DiskInfo_Persistence) VerboseEqual

func (this *Resource_DiskInfo_Persistence) VerboseEqual(that interface{}) error

type Resource_DiskInfo_Source

type Resource_DiskInfo_Source struct {
	Type  Resource_DiskInfo_Source_Type   `protobuf:"varint,1,req,name=type,enum=mesos.Resource_DiskInfo_Source_Type" json:"type"`
	Path  *Resource_DiskInfo_Source_Path  `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	Mount *Resource_DiskInfo_Source_Mount `protobuf:"bytes,3,opt,name=mount" json:"mount,omitempty"`
	// The vendor of this source. If present, this field provides the means to
	// uniquely identify the storage backend of this source in the cluster.
	Vendor *string `protobuf:"bytes,7,opt,name=vendor" json:"vendor,omitempty"`
	// The identifier of this source. This field maps onto CSI volume IDs and
	// is not expected to be set by frameworks. If both `vendor` and `id` are
	// present, these two fields together provide the means to uniquely
	// identify this source in the cluster.
	ID *string `protobuf:"bytes,4,opt,name=id" json:"id,omitempty"`
	// Additional metadata for this source. This field maps onto CSI volume
	// context. Frameworks should neither alter this field, nor expect this
	// field to remain unchanged.
	Metadata *Labels `protobuf:"bytes,5,opt,name=metadata" json:"metadata,omitempty"`
	// This field serves as an indirection to a set of storage
	// vendor specific disk parameters which describe the properties
	// of the disk. The operator will setup mappings between a
	// profile name to a set of vendor specific disk parameters. And
	// the framework will do disk selection based on profile names,
	// instead of vendor specific disk parameters.
	//
	// Also see the DiskProfileAdaptor module.
	Profile *string `protobuf:"bytes,6,opt,name=profile" json:"profile,omitempty"`
}

Describes where a disk originates from.

func NewPopulatedResource_DiskInfo_Source

func NewPopulatedResource_DiskInfo_Source(r randyMesos, easy bool) *Resource_DiskInfo_Source

func (*Resource_DiskInfo_Source) Descriptor added in v0.0.4

func (*Resource_DiskInfo_Source) Descriptor() ([]byte, []int)

func (*Resource_DiskInfo_Source) Equal

func (this *Resource_DiskInfo_Source) Equal(that interface{}) bool

func (*Resource_DiskInfo_Source) GetID added in v0.0.7

func (m *Resource_DiskInfo_Source) GetID() string

func (*Resource_DiskInfo_Source) GetMetadata added in v0.0.7

func (m *Resource_DiskInfo_Source) GetMetadata() *Labels

func (*Resource_DiskInfo_Source) GetMount

func (*Resource_DiskInfo_Source) GetPath

func (*Resource_DiskInfo_Source) GetProfile added in v0.0.7

func (m *Resource_DiskInfo_Source) GetProfile() string

func (*Resource_DiskInfo_Source) GetType

func (*Resource_DiskInfo_Source) GetVendor added in v0.0.9

func (m *Resource_DiskInfo_Source) GetVendor() string

func (*Resource_DiskInfo_Source) GoString

func (this *Resource_DiskInfo_Source) GoString() string

func (*Resource_DiskInfo_Source) Marshal

func (m *Resource_DiskInfo_Source) Marshal() (dAtA []byte, err error)

func (*Resource_DiskInfo_Source) MarshalJSON

func (mj *Resource_DiskInfo_Source) MarshalJSON() ([]byte, error)

func (*Resource_DiskInfo_Source) MarshalJSONBuf

func (mj *Resource_DiskInfo_Source) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Resource_DiskInfo_Source) MarshalTo

func (m *Resource_DiskInfo_Source) MarshalTo(dAtA []byte) (int, error)

func (*Resource_DiskInfo_Source) ProtoMessage

func (*Resource_DiskInfo_Source) ProtoMessage()

func (*Resource_DiskInfo_Source) ProtoSize added in v0.0.4

func (m *Resource_DiskInfo_Source) ProtoSize() (n int)

func (*Resource_DiskInfo_Source) Reset

func (m *Resource_DiskInfo_Source) Reset()

func (*Resource_DiskInfo_Source) String

func (this *Resource_DiskInfo_Source) String() string

func (*Resource_DiskInfo_Source) Unmarshal

func (m *Resource_DiskInfo_Source) Unmarshal(dAtA []byte) error

func (*Resource_DiskInfo_Source) UnmarshalJSON

func (uj *Resource_DiskInfo_Source) UnmarshalJSON(input []byte) error

func (*Resource_DiskInfo_Source) UnmarshalJSONFFLexer

func (uj *Resource_DiskInfo_Source) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Resource_DiskInfo_Source) VerboseEqual

func (this *Resource_DiskInfo_Source) VerboseEqual(that interface{}) error

type Resource_DiskInfo_Source_Mount

type Resource_DiskInfo_Source_Mount struct {
	// Path to mount point (e.g., /mnt/raid/disk0). If the path is a
	// relative path, it is relative to the agent work directory.
	Root *string `protobuf:"bytes,1,opt,name=root" json:"root,omitempty"`
}

A mounted file-system set up by the Agent administrator. This can only be used exclusively: a framework cannot accept a partial amount of this disk.

func NewPopulatedResource_DiskInfo_Source_Mount

func NewPopulatedResource_DiskInfo_Source_Mount(r randyMesos, easy bool) *Resource_DiskInfo_Source_Mount

func (*Resource_DiskInfo_Source_Mount) Descriptor added in v0.0.4

func (*Resource_DiskInfo_Source_Mount) Descriptor() ([]byte, []int)

func (*Resource_DiskInfo_Source_Mount) Equal

func (this *Resource_DiskInfo_Source_Mount) Equal(that interface{}) bool

func (*Resource_DiskInfo_Source_Mount) GetRoot

func (*Resource_DiskInfo_Source_Mount) GoString

func (this *Resource_DiskInfo_Source_Mount) GoString() string

func (*Resource_DiskInfo_Source_Mount) Marshal

func (m *Resource_DiskInfo_Source_Mount) Marshal() (dAtA []byte, err error)

func (*Resource_DiskInfo_Source_Mount) MarshalJSON

func (mj *Resource_DiskInfo_Source_Mount) MarshalJSON() ([]byte, error)

func (*Resource_DiskInfo_Source_Mount) MarshalJSONBuf

func (mj *Resource_DiskInfo_Source_Mount) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Resource_DiskInfo_Source_Mount) MarshalTo

func (m *Resource_DiskInfo_Source_Mount) MarshalTo(dAtA []byte) (int, error)

func (*Resource_DiskInfo_Source_Mount) ProtoMessage

func (*Resource_DiskInfo_Source_Mount) ProtoMessage()

func (*Resource_DiskInfo_Source_Mount) ProtoSize added in v0.0.4

func (m *Resource_DiskInfo_Source_Mount) ProtoSize() (n int)

func (*Resource_DiskInfo_Source_Mount) Reset

func (m *Resource_DiskInfo_Source_Mount) Reset()

func (*Resource_DiskInfo_Source_Mount) String

func (this *Resource_DiskInfo_Source_Mount) String() string

func (*Resource_DiskInfo_Source_Mount) Unmarshal

func (m *Resource_DiskInfo_Source_Mount) Unmarshal(dAtA []byte) error

func (*Resource_DiskInfo_Source_Mount) UnmarshalJSON

func (uj *Resource_DiskInfo_Source_Mount) UnmarshalJSON(input []byte) error

func (*Resource_DiskInfo_Source_Mount) UnmarshalJSONFFLexer

func (uj *Resource_DiskInfo_Source_Mount) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Resource_DiskInfo_Source_Mount) VerboseEqual

func (this *Resource_DiskInfo_Source_Mount) VerboseEqual(that interface{}) error

type Resource_DiskInfo_Source_Path

type Resource_DiskInfo_Source_Path struct {
	// Path to the folder (e.g., /mnt/raid/disk0). If the path is a
	// relative path, it is relative to the agent work directory.
	Root *string `protobuf:"bytes,1,opt,name=root" json:"root,omitempty"`
}

A folder that can be located on a separate disk device. This can be shared and carved up as necessary between frameworks.

func NewPopulatedResource_DiskInfo_Source_Path

func NewPopulatedResource_DiskInfo_Source_Path(r randyMesos, easy bool) *Resource_DiskInfo_Source_Path

func (*Resource_DiskInfo_Source_Path) Descriptor added in v0.0.4

func (*Resource_DiskInfo_Source_Path) Descriptor() ([]byte, []int)

func (*Resource_DiskInfo_Source_Path) Equal

func (this *Resource_DiskInfo_Source_Path) Equal(that interface{}) bool

func (*Resource_DiskInfo_Source_Path) GetRoot

func (*Resource_DiskInfo_Source_Path) GoString

func (this *Resource_DiskInfo_Source_Path) GoString() string

func (*Resource_DiskInfo_Source_Path) Marshal

func (m *Resource_DiskInfo_Source_Path) Marshal() (dAtA []byte, err error)

func (*Resource_DiskInfo_Source_Path) MarshalJSON

func (mj *Resource_DiskInfo_Source_Path) MarshalJSON() ([]byte, error)

func (*Resource_DiskInfo_Source_Path) MarshalJSONBuf

func (mj *Resource_DiskInfo_Source_Path) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Resource_DiskInfo_Source_Path) MarshalTo

func (m *Resource_DiskInfo_Source_Path) MarshalTo(dAtA []byte) (int, error)

func (*Resource_DiskInfo_Source_Path) ProtoMessage

func (*Resource_DiskInfo_Source_Path) ProtoMessage()

func (*Resource_DiskInfo_Source_Path) ProtoSize added in v0.0.4

func (m *Resource_DiskInfo_Source_Path) ProtoSize() (n int)

func (*Resource_DiskInfo_Source_Path) Reset

func (m *Resource_DiskInfo_Source_Path) Reset()

func (*Resource_DiskInfo_Source_Path) String

func (this *Resource_DiskInfo_Source_Path) String() string

func (*Resource_DiskInfo_Source_Path) Unmarshal

func (m *Resource_DiskInfo_Source_Path) Unmarshal(dAtA []byte) error

func (*Resource_DiskInfo_Source_Path) UnmarshalJSON

func (uj *Resource_DiskInfo_Source_Path) UnmarshalJSON(input []byte) error

func (*Resource_DiskInfo_Source_Path) UnmarshalJSONFFLexer

func (uj *Resource_DiskInfo_Source_Path) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Resource_DiskInfo_Source_Path) VerboseEqual

func (this *Resource_DiskInfo_Source_Path) VerboseEqual(that interface{}) error

type Resource_DiskInfo_Source_Type

type Resource_DiskInfo_Source_Type int32
const (
	Resource_DiskInfo_Source_UNKNOWN Resource_DiskInfo_Source_Type = 0
	Resource_DiskInfo_Source_PATH    Resource_DiskInfo_Source_Type = 1
	Resource_DiskInfo_Source_MOUNT   Resource_DiskInfo_Source_Type = 2
	Resource_DiskInfo_Source_BLOCK   Resource_DiskInfo_Source_Type = 3
	Resource_DiskInfo_Source_RAW     Resource_DiskInfo_Source_Type = 4
)

func (Resource_DiskInfo_Source_Type) Enum

func (Resource_DiskInfo_Source_Type) EnumDescriptor added in v0.0.4

func (Resource_DiskInfo_Source_Type) EnumDescriptor() ([]byte, []int)

func (Resource_DiskInfo_Source_Type) MarshalJSON

func (x Resource_DiskInfo_Source_Type) MarshalJSON() ([]byte, error)

func (Resource_DiskInfo_Source_Type) String

func (*Resource_DiskInfo_Source_Type) UnmarshalJSON

func (x *Resource_DiskInfo_Source_Type) UnmarshalJSON(data []byte) error

type Resource_ReservationInfo

type Resource_ReservationInfo struct {
	// The type of this reservation.
	//
	// NOTE: This field must not be set for `Resource.reservation`.
	//       See the 'Resource Format' section for more details.
	Type *Resource_ReservationInfo_Type `protobuf:"varint,4,opt,name=type,enum=mesos.Resource_ReservationInfo_Type" json:"type,omitempty"`
	// The role to which this reservation is made for.
	//
	// NOTE: This field must not be set for `Resource.reservation`.
	//       See the 'Resource Format' section for more details.
	Role *string `protobuf:"bytes,3,opt,name=role" json:"role,omitempty"`
	// Indicates the principal, if any, of the framework or operator
	// that reserved this resource. If reserved by a framework, the
	// field should match the `FrameworkInfo.principal`. It is used in
	// conjunction with the `UnreserveResources` ACL to determine
	// whether the entity attempting to unreserve this resource is
	// permitted to do so.
	Principal *string `protobuf:"bytes,1,opt,name=principal" json:"principal,omitempty"`
	// Labels are free-form key value pairs that can be used to
	// associate arbitrary metadata with a reserved resource.  For
	// example, frameworks can use labels to identify the intended
	// purpose for a portion of the resources the framework has
	// reserved at a given agent. Labels should not contain duplicate
	// key-value pairs.
	Labels *Labels `protobuf:"bytes,2,opt,name=labels" json:"labels,omitempty"`
}

func NewPopulatedResource_ReservationInfo

func NewPopulatedResource_ReservationInfo(r randyMesos, easy bool) *Resource_ReservationInfo

func (*Resource_ReservationInfo) Assign

func (r *Resource_ReservationInfo) Assign() func(interface{})

func (*Resource_ReservationInfo) Descriptor added in v0.0.4

func (*Resource_ReservationInfo) Descriptor() ([]byte, []int)

func (*Resource_ReservationInfo) Equal

func (this *Resource_ReservationInfo) Equal(that interface{}) bool

func (*Resource_ReservationInfo) Equivalent

func (*Resource_ReservationInfo) GetLabels

func (m *Resource_ReservationInfo) GetLabels() *Labels

func (*Resource_ReservationInfo) GetPrincipal

func (m *Resource_ReservationInfo) GetPrincipal() string

func (*Resource_ReservationInfo) GetRole added in v0.0.6

func (m *Resource_ReservationInfo) GetRole() string

func (*Resource_ReservationInfo) GetType added in v0.0.6

func (*Resource_ReservationInfo) GoString

func (this *Resource_ReservationInfo) GoString() string

func (*Resource_ReservationInfo) Marshal

func (m *Resource_ReservationInfo) Marshal() (dAtA []byte, err error)

func (*Resource_ReservationInfo) MarshalJSON

func (mj *Resource_ReservationInfo) MarshalJSON() ([]byte, error)

func (*Resource_ReservationInfo) MarshalJSONBuf

func (mj *Resource_ReservationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Resource_ReservationInfo) MarshalTo

func (m *Resource_ReservationInfo) MarshalTo(dAtA []byte) (int, error)

func (*Resource_ReservationInfo) ProtoMessage

func (*Resource_ReservationInfo) ProtoMessage()

func (*Resource_ReservationInfo) ProtoSize added in v0.0.4

func (m *Resource_ReservationInfo) ProtoSize() (n int)

func (*Resource_ReservationInfo) Reset

func (m *Resource_ReservationInfo) Reset()

func (*Resource_ReservationInfo) String

func (this *Resource_ReservationInfo) String() string

func (*Resource_ReservationInfo) Unmarshal

func (m *Resource_ReservationInfo) Unmarshal(dAtA []byte) error

func (*Resource_ReservationInfo) UnmarshalJSON

func (uj *Resource_ReservationInfo) UnmarshalJSON(input []byte) error

func (*Resource_ReservationInfo) UnmarshalJSONFFLexer

func (uj *Resource_ReservationInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Resource_ReservationInfo) VerboseEqual

func (this *Resource_ReservationInfo) VerboseEqual(that interface{}) error

type Resource_ReservationInfo_Type added in v0.0.6

type Resource_ReservationInfo_Type int32
const (
	Resource_ReservationInfo_UNKNOWN Resource_ReservationInfo_Type = 0
	Resource_ReservationInfo_STATIC  Resource_ReservationInfo_Type = 1
	Resource_ReservationInfo_DYNAMIC Resource_ReservationInfo_Type = 2
)

func (Resource_ReservationInfo_Type) Enum added in v0.0.6

func (Resource_ReservationInfo_Type) EnumDescriptor added in v0.0.6

func (Resource_ReservationInfo_Type) EnumDescriptor() ([]byte, []int)

func (Resource_ReservationInfo_Type) MarshalJSON added in v0.0.6

func (x Resource_ReservationInfo_Type) MarshalJSON() ([]byte, error)

func (Resource_ReservationInfo_Type) String added in v0.0.6

func (*Resource_ReservationInfo_Type) UnmarshalJSON added in v0.0.6

func (x *Resource_ReservationInfo_Type) UnmarshalJSON(data []byte) error

type Resource_RevocableInfo

type Resource_RevocableInfo struct {
}

func NewPopulatedResource_RevocableInfo

func NewPopulatedResource_RevocableInfo(r randyMesos, easy bool) *Resource_RevocableInfo

func (*Resource_RevocableInfo) Descriptor added in v0.0.4

func (*Resource_RevocableInfo) Descriptor() ([]byte, []int)

func (*Resource_RevocableInfo) Equal

func (this *Resource_RevocableInfo) Equal(that interface{}) bool

func (*Resource_RevocableInfo) GoString

func (this *Resource_RevocableInfo) GoString() string

func (*Resource_RevocableInfo) Marshal

func (m *Resource_RevocableInfo) Marshal() (dAtA []byte, err error)

func (*Resource_RevocableInfo) MarshalJSON

func (mj *Resource_RevocableInfo) MarshalJSON() ([]byte, error)

func (*Resource_RevocableInfo) MarshalJSONBuf

func (mj *Resource_RevocableInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Resource_RevocableInfo) MarshalTo

func (m *Resource_RevocableInfo) MarshalTo(dAtA []byte) (int, error)

func (*Resource_RevocableInfo) ProtoMessage

func (*Resource_RevocableInfo) ProtoMessage()

func (*Resource_RevocableInfo) ProtoSize added in v0.0.4

func (m *Resource_RevocableInfo) ProtoSize() (n int)

func (*Resource_RevocableInfo) Reset

func (m *Resource_RevocableInfo) Reset()

func (*Resource_RevocableInfo) String

func (this *Resource_RevocableInfo) String() string

func (*Resource_RevocableInfo) Unmarshal

func (m *Resource_RevocableInfo) Unmarshal(dAtA []byte) error

func (*Resource_RevocableInfo) UnmarshalJSON

func (uj *Resource_RevocableInfo) UnmarshalJSON(input []byte) error

func (*Resource_RevocableInfo) UnmarshalJSONFFLexer

func (uj *Resource_RevocableInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Resource_RevocableInfo) VerboseEqual

func (this *Resource_RevocableInfo) VerboseEqual(that interface{}) error

type Resource_SharedInfo

type Resource_SharedInfo struct {
}

Allow the resource to be shared across tasks.

func NewPopulatedResource_SharedInfo

func NewPopulatedResource_SharedInfo(r randyMesos, easy bool) *Resource_SharedInfo

func (*Resource_SharedInfo) Descriptor added in v0.0.4

func (*Resource_SharedInfo) Descriptor() ([]byte, []int)

func (*Resource_SharedInfo) Equal

func (this *Resource_SharedInfo) Equal(that interface{}) bool

func (*Resource_SharedInfo) GoString

func (this *Resource_SharedInfo) GoString() string

func (*Resource_SharedInfo) Marshal

func (m *Resource_SharedInfo) Marshal() (dAtA []byte, err error)

func (*Resource_SharedInfo) MarshalJSON

func (mj *Resource_SharedInfo) MarshalJSON() ([]byte, error)

func (*Resource_SharedInfo) MarshalJSONBuf

func (mj *Resource_SharedInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Resource_SharedInfo) MarshalTo

func (m *Resource_SharedInfo) MarshalTo(dAtA []byte) (int, error)

func (*Resource_SharedInfo) ProtoMessage

func (*Resource_SharedInfo) ProtoMessage()

func (*Resource_SharedInfo) ProtoSize added in v0.0.4

func (m *Resource_SharedInfo) ProtoSize() (n int)

func (*Resource_SharedInfo) Reset

func (m *Resource_SharedInfo) Reset()

func (*Resource_SharedInfo) String

func (this *Resource_SharedInfo) String() string

func (*Resource_SharedInfo) Unmarshal

func (m *Resource_SharedInfo) Unmarshal(dAtA []byte) error

func (*Resource_SharedInfo) UnmarshalJSON

func (uj *Resource_SharedInfo) UnmarshalJSON(input []byte) error

func (*Resource_SharedInfo) UnmarshalJSONFFLexer

func (uj *Resource_SharedInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Resource_SharedInfo) VerboseEqual

func (this *Resource_SharedInfo) VerboseEqual(that interface{}) error

type Resources

type Resources []Resource

func (*Resources) Add

func (resources *Resources) Add(that ...Resource) (rs Resources)

Add adds `that` to the receiving `resources` and returns the result (the modified `resources` receiver).

func (*Resources) Add1 added in v0.0.4

func (resources *Resources) Add1(that Resource) (rs Resources)

Add1 adds `that` to the receiving `resources` and returns the result (the modified `resources` receiver).

func (Resources) Allocate added in v0.0.7

func (rs Resources) Allocate(role string) Resources

Allocate sets the AllocationInfo for all the resources. Returns a reference to the receiver to allow for chaining.

func (Resources) Clone

func (resources Resources) Clone() Resources

func (Resources) Format added in v0.0.7

func (resources Resources) Format(options ...func(*ResourcesFormatOptions)) string

func (Resources) Minus

func (resources Resources) Minus(that ...Resource) Resources

Minus calculates and returns the result of `resources - that` without modifying either the receiving `resources` or `that`.

func (*Resources) Minus1 added in v0.0.4

func (resources *Resources) Minus1(that Resource) Resources

Minus1 calculates and returns the result of `resources - that` without modifying either the receiving `resources` or `that`.

func (Resources) Plus

func (resources Resources) Plus(that ...Resource) Resources

Plus calculates and returns the result of `resources + that` without modifying either the receiving `resources` or `that`.

func (Resources) PopReservation added in v0.0.7

func (rs Resources) PopReservation() (result Resources)

PopReservation returns a cloned set of Resources wherein the most recent reservation refeinement has been removed. Panics if for any resource in the collection there is no "last refinement" to remove.

func (Resources) PushReservation added in v0.0.7

func (rs Resources) PushReservation(ri Resource_ReservationInfo) (result Resources)

PushReservation returns a cloned set of Resources w/ the given resource refinement. Panics if resources become invalid as a result of pushing the reservation (e.g. pre- and post- refinement modes are mixed).

func (Resources) String

func (resources Resources) String() string

String returns a human-friendly representation of the resource collection using default formatting options (e.g. allocation-info is not rendered). For additional control over resource formatting see the Format func.

func (*Resources) Subtract

func (resources *Resources) Subtract(that ...Resource) (rs Resources)

Subtract subtracts `that` from the receiving `resources` and returns the result (the modified `resources` receiver).

func (*Resources) Subtract1 added in v0.0.4

func (resources *Resources) Subtract1(that Resource) Resources

Subtract1 subtracts `that` from the receiving `resources` and returns the result (the modified `resources` receiver).

func (Resources) ToUnreserved added in v0.0.7

func (rs Resources) ToUnreserved() (result Resources)

ToUnreserved returns a (cloned) view of the Resources w/o any reservation data. It does not modify the receiver.

func (Resources) Unallocate added in v0.0.7

func (rs Resources) Unallocate() Resources

Unallocate clears the AllocationInfo for all the resources. Returns a reference to the receiver to allow for chaining.

type ResourcesFormatOptions added in v0.0.7

type ResourcesFormatOptions struct {
	ShowAllocated bool // ShowAllocated when true will not display resource allocation info
}

type Response

type Response interface {
	io.Closer
	encoding.Decoder
}

Response captures the output of a Mesos API operation. Callers are responsible for invoking Close when they're finished processing the response otherwise there may be connection leaks.

type ResponseDecorator

type ResponseDecorator interface {
	Decorate(Response) Response
}

ResponseDecorator optionally modifies the behavior of a Response

type ResponseDecoratorFunc

type ResponseDecoratorFunc func(Response) Response

ResponseDecoratorFunc is the functional adapter for ResponseDecorator

func (ResponseDecoratorFunc) Decorate

func (f ResponseDecoratorFunc) Decorate(r Response) Response

type ResponseWrapper

type ResponseWrapper struct {
	Response Response
	Closer   io.Closer
	Decoder  encoding.Decoder
}

ResponseWrapper delegates to optional overrides for invocations of Response methods.

func (*ResponseWrapper) Close

func (wrapper *ResponseWrapper) Close() error

func (*ResponseWrapper) Decode

func (wrapper *ResponseWrapper) Decode(u encoding.Unmarshaler) error

type Role

type Role struct {
	Name       string        `protobuf:"bytes,1,req,name=name" json:"name"`
	Weight     float64       `protobuf:"fixed64,2,req,name=weight" json:"weight"`
	Frameworks []FrameworkID `protobuf:"bytes,3,rep,name=frameworks" json:"frameworks"`
	Resources  []Resource    `protobuf:"bytes,4,rep,name=resources" json:"resources"`
}

* Describes a Role. Roles can be used to specify that certain resources are reserved for the use of one or more frameworks.

func NewPopulatedRole

func NewPopulatedRole(r randyMesos, easy bool) *Role

func (*Role) Descriptor added in v0.0.4

func (*Role) Descriptor() ([]byte, []int)

func (*Role) Equal

func (this *Role) Equal(that interface{}) bool

func (*Role) GetFrameworks

func (m *Role) GetFrameworks() []FrameworkID

func (*Role) GetName

func (m *Role) GetName() string

func (*Role) GetResources

func (m *Role) GetResources() []Resource

func (*Role) GetWeight

func (m *Role) GetWeight() float64

func (*Role) GoString

func (this *Role) GoString() string

func (*Role) Marshal

func (m *Role) Marshal() (dAtA []byte, err error)

func (*Role) MarshalJSON

func (mj *Role) MarshalJSON() ([]byte, error)

func (*Role) MarshalJSONBuf

func (mj *Role) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Role) MarshalTo

func (m *Role) MarshalTo(dAtA []byte) (int, error)

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoSize added in v0.0.4

func (m *Role) ProtoSize() (n int)

func (*Role) Reset

func (m *Role) Reset()

func (*Role) String

func (this *Role) String() string

func (*Role) Unmarshal

func (m *Role) Unmarshal(dAtA []byte) error

func (*Role) UnmarshalJSON

func (uj *Role) UnmarshalJSON(input []byte) error

func (*Role) UnmarshalJSONFFLexer

func (uj *Role) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Role) VerboseEqual

func (this *Role) VerboseEqual(that interface{}) error

type SNMPStatistics

type SNMPStatistics struct {
	IPStats   *IpStatistics   `protobuf:"bytes,1,opt,name=ip_stats,json=ipStats" json:"ip_stats,omitempty"`
	ICMPStats *IcmpStatistics `protobuf:"bytes,2,opt,name=icmp_stats,json=icmpStats" json:"icmp_stats,omitempty"`
	TCPStats  *TcpStatistics  `protobuf:"bytes,3,opt,name=tcp_stats,json=tcpStats" json:"tcp_stats,omitempty"`
	UDPStats  *UdpStatistics  `protobuf:"bytes,4,opt,name=udp_stats,json=udpStats" json:"udp_stats,omitempty"`
}

func NewPopulatedSNMPStatistics

func NewPopulatedSNMPStatistics(r randyMesos, easy bool) *SNMPStatistics

func (*SNMPStatistics) Descriptor added in v0.0.4

func (*SNMPStatistics) Descriptor() ([]byte, []int)

func (*SNMPStatistics) Equal

func (this *SNMPStatistics) Equal(that interface{}) bool

func (*SNMPStatistics) GetICMPStats

func (m *SNMPStatistics) GetICMPStats() *IcmpStatistics

func (*SNMPStatistics) GetIPStats

func (m *SNMPStatistics) GetIPStats() *IpStatistics

func (*SNMPStatistics) GetTCPStats

func (m *SNMPStatistics) GetTCPStats() *TcpStatistics

func (*SNMPStatistics) GetUDPStats

func (m *SNMPStatistics) GetUDPStats() *UdpStatistics

func (*SNMPStatistics) GoString

func (this *SNMPStatistics) GoString() string

func (*SNMPStatistics) Marshal

func (m *SNMPStatistics) Marshal() (dAtA []byte, err error)

func (*SNMPStatistics) MarshalJSON

func (mj *SNMPStatistics) MarshalJSON() ([]byte, error)

func (*SNMPStatistics) MarshalJSONBuf

func (mj *SNMPStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*SNMPStatistics) MarshalTo

func (m *SNMPStatistics) MarshalTo(dAtA []byte) (int, error)

func (*SNMPStatistics) ProtoMessage

func (*SNMPStatistics) ProtoMessage()

func (*SNMPStatistics) ProtoSize added in v0.0.4

func (m *SNMPStatistics) ProtoSize() (n int)

func (*SNMPStatistics) Reset

func (m *SNMPStatistics) Reset()

func (*SNMPStatistics) String

func (this *SNMPStatistics) String() string

func (*SNMPStatistics) Unmarshal

func (m *SNMPStatistics) Unmarshal(dAtA []byte) error

func (*SNMPStatistics) UnmarshalJSON

func (uj *SNMPStatistics) UnmarshalJSON(input []byte) error

func (*SNMPStatistics) UnmarshalJSONFFLexer

func (uj *SNMPStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*SNMPStatistics) VerboseEqual

func (this *SNMPStatistics) VerboseEqual(that interface{}) error

type SeccompInfo added in v0.0.10

type SeccompInfo struct {
	// A filename of the Seccomp profile. This should be a path
	// relative to the directory containing Seccomp profiles,
	// which is specified on the agent via the `--seccomp_config_dir` flag.
	ProfileName *string `protobuf:"bytes,1,opt,name=profile_name,json=profileName" json:"profile_name,omitempty"`
	// If set to `true`, Seccomp is not applied to the container.
	// If not set or set to `false`, the container is launched with
	// the profile specified in the `profile_name` field.
	//
	// NOTE: `profile_name` must not be specified if `unconfined` set to `true`.
	// `profile_name` must be specified if `unconfined` is not set or
	// is set to `false`.
	Unconfined *bool `protobuf:"varint,2,opt,name=unconfined" json:"unconfined,omitempty"`
}

* Encapsulation for Seccomp configuration, which is Linux specific.

func NewPopulatedSeccompInfo added in v0.0.10

func NewPopulatedSeccompInfo(r randyMesos, easy bool) *SeccompInfo

func (*SeccompInfo) Descriptor added in v0.0.10

func (*SeccompInfo) Descriptor() ([]byte, []int)

func (*SeccompInfo) Equal added in v0.0.10

func (this *SeccompInfo) Equal(that interface{}) bool

func (*SeccompInfo) GetProfileName added in v0.0.10

func (m *SeccompInfo) GetProfileName() string

func (*SeccompInfo) GetUnconfined added in v0.0.10

func (m *SeccompInfo) GetUnconfined() bool

func (*SeccompInfo) GoString added in v0.0.10

func (this *SeccompInfo) GoString() string

func (*SeccompInfo) Marshal added in v0.0.10

func (m *SeccompInfo) Marshal() (dAtA []byte, err error)

func (*SeccompInfo) MarshalJSON added in v0.0.10

func (mj *SeccompInfo) MarshalJSON() ([]byte, error)

func (*SeccompInfo) MarshalJSONBuf added in v0.0.10

func (mj *SeccompInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*SeccompInfo) MarshalTo added in v0.0.10

func (m *SeccompInfo) MarshalTo(dAtA []byte) (int, error)

func (*SeccompInfo) ProtoMessage added in v0.0.10

func (*SeccompInfo) ProtoMessage()

func (*SeccompInfo) ProtoSize added in v0.0.10

func (m *SeccompInfo) ProtoSize() (n int)

func (*SeccompInfo) Reset added in v0.0.10

func (m *SeccompInfo) Reset()

func (*SeccompInfo) String added in v0.0.10

func (this *SeccompInfo) String() string

func (*SeccompInfo) Unmarshal added in v0.0.10

func (m *SeccompInfo) Unmarshal(dAtA []byte) error

func (*SeccompInfo) UnmarshalJSON added in v0.0.10

func (uj *SeccompInfo) UnmarshalJSON(input []byte) error

func (*SeccompInfo) UnmarshalJSONFFLexer added in v0.0.10

func (uj *SeccompInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*SeccompInfo) VerboseEqual added in v0.0.10

func (this *SeccompInfo) VerboseEqual(that interface{}) error

type Secret added in v0.0.5

type Secret struct {
	Type Secret_Type `protobuf:"varint,1,opt,name=type,enum=mesos.Secret_Type" json:"type"`
	// Only one of `reference` and `value` must be set.
	Reference *Secret_Reference `protobuf:"bytes,2,opt,name=reference" json:"reference,omitempty"`
	Value     *Secret_Value     `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
}

* Secret used to pass privileged information. It is designed to provide pass-by-value or pass-by-reference semantics, where the REFERENCE type can be used by custom modules which interact with a secure back-end.

func NewPopulatedSecret added in v0.0.5

func NewPopulatedSecret(r randyMesos, easy bool) *Secret

func (*Secret) Descriptor added in v0.0.5

func (*Secret) Descriptor() ([]byte, []int)

func (*Secret) Equal added in v0.0.5

func (this *Secret) Equal(that interface{}) bool

func (*Secret) GetReference added in v0.0.5

func (m *Secret) GetReference() *Secret_Reference

func (*Secret) GetType added in v0.0.5

func (m *Secret) GetType() Secret_Type

func (*Secret) GetValue added in v0.0.5

func (m *Secret) GetValue() *Secret_Value

func (*Secret) GoString added in v0.0.5

func (this *Secret) GoString() string

func (*Secret) Marshal added in v0.0.5

func (m *Secret) Marshal() (dAtA []byte, err error)

func (*Secret) MarshalJSON added in v0.0.5

func (mj *Secret) MarshalJSON() ([]byte, error)

func (*Secret) MarshalJSONBuf added in v0.0.5

func (mj *Secret) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Secret) MarshalTo added in v0.0.5

func (m *Secret) MarshalTo(dAtA []byte) (int, error)

func (*Secret) ProtoMessage added in v0.0.5

func (*Secret) ProtoMessage()

func (*Secret) ProtoSize added in v0.0.5

func (m *Secret) ProtoSize() (n int)

func (*Secret) Reset added in v0.0.5

func (m *Secret) Reset()

func (*Secret) String added in v0.0.5

func (this *Secret) String() string

func (*Secret) Unmarshal added in v0.0.5

func (m *Secret) Unmarshal(dAtA []byte) error

func (*Secret) UnmarshalJSON added in v0.0.5

func (uj *Secret) UnmarshalJSON(input []byte) error

func (*Secret) UnmarshalJSONFFLexer added in v0.0.5

func (uj *Secret) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Secret) VerboseEqual added in v0.0.5

func (this *Secret) VerboseEqual(that interface{}) error

type Secret_Reference added in v0.0.5

type Secret_Reference struct {
	Name string  `protobuf:"bytes,1,req,name=name" json:"name"`
	Key  *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
}

Can be used by modules to refer to a secret stored in a secure back-end. The `key` field is provided to permit reference to a single value within a secret containing arbitrary key-value pairs.

For example, given a back-end secret store with a secret named "my-secret" containing the following key-value pairs:

{
  "username": "my-user",
  "password": "my-password
}

the username could be referred to in a `Secret` by specifying "my-secret" for the `name` and "username" for the `key`.

func NewPopulatedSecret_Reference added in v0.0.5

func NewPopulatedSecret_Reference(r randyMesos, easy bool) *Secret_Reference

func (*Secret_Reference) Descriptor added in v0.0.5

func (*Secret_Reference) Descriptor() ([]byte, []int)

func (*Secret_Reference) Equal added in v0.0.5

func (this *Secret_Reference) Equal(that interface{}) bool

func (*Secret_Reference) GetKey added in v0.0.5

func (m *Secret_Reference) GetKey() string

func (*Secret_Reference) GetName added in v0.0.5

func (m *Secret_Reference) GetName() string

func (*Secret_Reference) GoString added in v0.0.5

func (this *Secret_Reference) GoString() string

func (*Secret_Reference) Marshal added in v0.0.5

func (m *Secret_Reference) Marshal() (dAtA []byte, err error)

func (*Secret_Reference) MarshalJSON added in v0.0.5

func (mj *Secret_Reference) MarshalJSON() ([]byte, error)

func (*Secret_Reference) MarshalJSONBuf added in v0.0.5

func (mj *Secret_Reference) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Secret_Reference) MarshalTo added in v0.0.5

func (m *Secret_Reference) MarshalTo(dAtA []byte) (int, error)

func (*Secret_Reference) ProtoMessage added in v0.0.5

func (*Secret_Reference) ProtoMessage()

func (*Secret_Reference) ProtoSize added in v0.0.5

func (m *Secret_Reference) ProtoSize() (n int)

func (*Secret_Reference) Reset added in v0.0.5

func (m *Secret_Reference) Reset()

func (*Secret_Reference) String added in v0.0.5

func (this *Secret_Reference) String() string

func (*Secret_Reference) Unmarshal added in v0.0.5

func (m *Secret_Reference) Unmarshal(dAtA []byte) error

func (*Secret_Reference) UnmarshalJSON added in v0.0.5

func (uj *Secret_Reference) UnmarshalJSON(input []byte) error

func (*Secret_Reference) UnmarshalJSONFFLexer added in v0.0.5

func (uj *Secret_Reference) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Secret_Reference) VerboseEqual added in v0.0.5

func (this *Secret_Reference) VerboseEqual(that interface{}) error

type Secret_Type added in v0.0.5

type Secret_Type int32
const (
	Secret_UNKNOWN   Secret_Type = 0
	Secret_REFERENCE Secret_Type = 1
	Secret_VALUE     Secret_Type = 2
)

func (Secret_Type) Enum added in v0.0.5

func (x Secret_Type) Enum() *Secret_Type

func (Secret_Type) EnumDescriptor added in v0.0.5

func (Secret_Type) EnumDescriptor() ([]byte, []int)

func (Secret_Type) MarshalJSON added in v0.0.5

func (x Secret_Type) MarshalJSON() ([]byte, error)

func (Secret_Type) String added in v0.0.5

func (x Secret_Type) String() string

func (*Secret_Type) UnmarshalJSON added in v0.0.5

func (x *Secret_Type) UnmarshalJSON(data []byte) error

type Secret_Value added in v0.0.5

type Secret_Value struct {
	Data []byte `protobuf:"bytes,1,req,name=data" json:"data,omitempty"`
}

Used to pass the value of a secret.

func NewPopulatedSecret_Value added in v0.0.5

func NewPopulatedSecret_Value(r randyMesos, easy bool) *Secret_Value

func (*Secret_Value) Descriptor added in v0.0.5

func (*Secret_Value) Descriptor() ([]byte, []int)

func (*Secret_Value) Equal added in v0.0.5

func (this *Secret_Value) Equal(that interface{}) bool

func (*Secret_Value) GetData added in v0.0.5

func (m *Secret_Value) GetData() []byte

func (*Secret_Value) GoString added in v0.0.5

func (this *Secret_Value) GoString() string

func (*Secret_Value) Marshal added in v0.0.5

func (m *Secret_Value) Marshal() (dAtA []byte, err error)

func (*Secret_Value) MarshalJSON added in v0.0.5

func (mj *Secret_Value) MarshalJSON() ([]byte, error)

func (*Secret_Value) MarshalJSONBuf added in v0.0.5

func (mj *Secret_Value) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Secret_Value) MarshalTo added in v0.0.5

func (m *Secret_Value) MarshalTo(dAtA []byte) (int, error)

func (*Secret_Value) ProtoMessage added in v0.0.5

func (*Secret_Value) ProtoMessage()

func (*Secret_Value) ProtoSize added in v0.0.5

func (m *Secret_Value) ProtoSize() (n int)

func (*Secret_Value) Reset added in v0.0.5

func (m *Secret_Value) Reset()

func (*Secret_Value) String added in v0.0.5

func (this *Secret_Value) String() string

func (*Secret_Value) Unmarshal added in v0.0.5

func (m *Secret_Value) Unmarshal(dAtA []byte) error

func (*Secret_Value) UnmarshalJSON added in v0.0.5

func (uj *Secret_Value) UnmarshalJSON(input []byte) error

func (*Secret_Value) UnmarshalJSONFFLexer added in v0.0.5

func (uj *Secret_Value) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Secret_Value) VerboseEqual added in v0.0.5

func (this *Secret_Value) VerboseEqual(that interface{}) error

type Status

type Status int32

* Status is used to indicate the state of the scheduler and executor driver after function calls.

const (
	DRIVER_NOT_STARTED Status = 1
	DRIVER_RUNNING     Status = 2
	DRIVER_ABORTED     Status = 3
	DRIVER_STOPPED     Status = 4
)

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor added in v0.0.4

func (Status) EnumDescriptor() ([]byte, []int)

func (Status) MarshalJSON

func (x Status) MarshalJSON() ([]byte, error)

func (Status) String

func (x Status) String() string

func (*Status) UnmarshalJSON

func (x *Status) UnmarshalJSON(data []byte) error

type TTYInfo added in v0.0.4

type TTYInfo struct {
	WindowSize *TTYInfo_WindowSize `protobuf:"bytes,1,opt,name=window_size,json=windowSize" json:"window_size,omitempty"`
}

* Describes the information about (pseudo) TTY that can be attached to a process running in a container.

func NewPopulatedTTYInfo added in v0.0.4

func NewPopulatedTTYInfo(r randyMesos, easy bool) *TTYInfo

func (*TTYInfo) Descriptor added in v0.0.4

func (*TTYInfo) Descriptor() ([]byte, []int)

func (*TTYInfo) Equal added in v0.0.4

func (this *TTYInfo) Equal(that interface{}) bool

func (*TTYInfo) GetWindowSize added in v0.0.4

func (m *TTYInfo) GetWindowSize() *TTYInfo_WindowSize

func (*TTYInfo) GoString added in v0.0.4

func (this *TTYInfo) GoString() string

func (*TTYInfo) Marshal added in v0.0.4

func (m *TTYInfo) Marshal() (dAtA []byte, err error)

func (*TTYInfo) MarshalJSON added in v0.0.4

func (mj *TTYInfo) MarshalJSON() ([]byte, error)

func (*TTYInfo) MarshalJSONBuf added in v0.0.4

func (mj *TTYInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*TTYInfo) MarshalTo added in v0.0.4

func (m *TTYInfo) MarshalTo(dAtA []byte) (int, error)

func (*TTYInfo) ProtoMessage added in v0.0.4

func (*TTYInfo) ProtoMessage()

func (*TTYInfo) ProtoSize added in v0.0.4

func (m *TTYInfo) ProtoSize() (n int)

func (*TTYInfo) Reset added in v0.0.4

func (m *TTYInfo) Reset()

func (*TTYInfo) String added in v0.0.4

func (this *TTYInfo) String() string

func (*TTYInfo) Unmarshal added in v0.0.4

func (m *TTYInfo) Unmarshal(dAtA []byte) error

func (*TTYInfo) UnmarshalJSON added in v0.0.4

func (uj *TTYInfo) UnmarshalJSON(input []byte) error

func (*TTYInfo) UnmarshalJSONFFLexer added in v0.0.4

func (uj *TTYInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*TTYInfo) VerboseEqual added in v0.0.4

func (this *TTYInfo) VerboseEqual(that interface{}) error

type TTYInfo_WindowSize added in v0.0.4

type TTYInfo_WindowSize struct {
	Rows    uint32 `protobuf:"varint,1,req,name=rows" json:"rows"`
	Columns uint32 `protobuf:"varint,2,req,name=columns" json:"columns"`
}

func NewPopulatedTTYInfo_WindowSize added in v0.0.4

func NewPopulatedTTYInfo_WindowSize(r randyMesos, easy bool) *TTYInfo_WindowSize

func (*TTYInfo_WindowSize) Descriptor added in v0.0.4

func (*TTYInfo_WindowSize) Descriptor() ([]byte, []int)

func (*TTYInfo_WindowSize) Equal added in v0.0.4

func (this *TTYInfo_WindowSize) Equal(that interface{}) bool

func (*TTYInfo_WindowSize) GetColumns added in v0.0.4

func (m *TTYInfo_WindowSize) GetColumns() uint32

func (*TTYInfo_WindowSize) GetRows added in v0.0.4

func (m *TTYInfo_WindowSize) GetRows() uint32

func (*TTYInfo_WindowSize) GoString added in v0.0.4

func (this *TTYInfo_WindowSize) GoString() string

func (*TTYInfo_WindowSize) Marshal added in v0.0.4

func (m *TTYInfo_WindowSize) Marshal() (dAtA []byte, err error)

func (*TTYInfo_WindowSize) MarshalJSON added in v0.0.4

func (mj *TTYInfo_WindowSize) MarshalJSON() ([]byte, error)

func (*TTYInfo_WindowSize) MarshalJSONBuf added in v0.0.4

func (mj *TTYInfo_WindowSize) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*TTYInfo_WindowSize) MarshalTo added in v0.0.4

func (m *TTYInfo_WindowSize) MarshalTo(dAtA []byte) (int, error)

func (*TTYInfo_WindowSize) ProtoMessage added in v0.0.4

func (*TTYInfo_WindowSize) ProtoMessage()

func (*TTYInfo_WindowSize) ProtoSize added in v0.0.4

func (m *TTYInfo_WindowSize) ProtoSize() (n int)

func (*TTYInfo_WindowSize) Reset added in v0.0.4

func (m *TTYInfo_WindowSize) Reset()

func (*TTYInfo_WindowSize) String added in v0.0.4

func (this *TTYInfo_WindowSize) String() string

func (*TTYInfo_WindowSize) Unmarshal added in v0.0.4

func (m *TTYInfo_WindowSize) Unmarshal(dAtA []byte) error

func (*TTYInfo_WindowSize) UnmarshalJSON added in v0.0.4

func (uj *TTYInfo_WindowSize) UnmarshalJSON(input []byte) error

func (*TTYInfo_WindowSize) UnmarshalJSONFFLexer added in v0.0.4

func (uj *TTYInfo_WindowSize) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*TTYInfo_WindowSize) VerboseEqual added in v0.0.4

func (this *TTYInfo_WindowSize) VerboseEqual(that interface{}) error

type Task

type Task struct {
	Name        string       `protobuf:"bytes,1,req,name=name" json:"name"`
	TaskID      TaskID       `protobuf:"bytes,2,req,name=task_id,json=taskId" json:"task_id"`
	FrameworkID FrameworkID  `protobuf:"bytes,3,req,name=framework_id,json=frameworkId" json:"framework_id"`
	ExecutorID  *ExecutorID  `protobuf:"bytes,4,opt,name=executor_id,json=executorId" json:"executor_id,omitempty"`
	AgentID     AgentID      `protobuf:"bytes,5,req,name=agent_id,json=agentId" json:"agent_id"`
	State       *TaskState   `protobuf:"varint,6,req,name=state,enum=mesos.TaskState" json:"state,omitempty"`
	Resources   []Resource   `protobuf:"bytes,7,rep,name=resources" json:"resources"`
	Statuses    []TaskStatus `protobuf:"bytes,8,rep,name=statuses" json:"statuses"`
	// These fields correspond to the state and uuid of the latest
	// status update forwarded to the master.
	// NOTE: Either both the fields must be set or both must be unset.
	StatusUpdateState *TaskState `` /* 129-byte string literal not displayed */
	StatusUpdateUUID  []byte     `protobuf:"bytes,10,opt,name=status_update_uuid,json=statusUpdateUuid" json:"status_update_uuid,omitempty"`
	Labels            *Labels    `protobuf:"bytes,11,opt,name=labels" json:"labels,omitempty"`
	// Service discovery information for the task. It is not interpreted
	// or acted upon by Mesos. It is up to a service discovery system
	// to use this information as needed and to handle tasks without
	// service discovery information.
	Discovery *DiscoveryInfo `protobuf:"bytes,12,opt,name=discovery" json:"discovery,omitempty"`
	// Container information for the task.
	Container   *ContainerInfo `protobuf:"bytes,13,opt,name=container" json:"container,omitempty"`
	HealthCheck *HealthCheck   `protobuf:"bytes,15,opt,name=health_check,json=healthCheck" json:"health_check,omitempty"`
	// Specific user under which task is running.
	User *string `protobuf:"bytes,14,opt,name=user" json:"user,omitempty"`
}

* Describes a task, similar to `TaskInfo`.

`Task` is used in some of the Mesos messages found below. `Task` is used instead of `TaskInfo` if:

  1. we need additional IDs, such as a specific framework, executor, or agent; or
  2. we do not need the additional data, such as the command run by the task. These additional fields may be large and unnecessary for some Mesos messages.

`Task` is generally constructed from a `TaskInfo`. See protobuf::createTask.

func NewPopulatedTask

func NewPopulatedTask(r randyMesos, easy bool) *Task

func (*Task) Descriptor added in v0.0.4

func (*Task) Descriptor() ([]byte, []int)

func (*Task) Equal

func (this *Task) Equal(that interface{}) bool

func (*Task) GetAgentID

func (m *Task) GetAgentID() AgentID

func (*Task) GetContainer

func (m *Task) GetContainer() *ContainerInfo

func (*Task) GetDiscovery

func (m *Task) GetDiscovery() *DiscoveryInfo

func (*Task) GetExecutorID

func (m *Task) GetExecutorID() *ExecutorID

func (*Task) GetFrameworkID

func (m *Task) GetFrameworkID() FrameworkID

func (*Task) GetHealthCheck added in v0.0.10

func (m *Task) GetHealthCheck() *HealthCheck

func (*Task) GetLabels

func (m *Task) GetLabels() *Labels

func (*Task) GetName

func (m *Task) GetName() string

func (*Task) GetResources

func (m *Task) GetResources() []Resource

func (*Task) GetState

func (m *Task) GetState() TaskState

func (*Task) GetStatusUpdateState

func (m *Task) GetStatusUpdateState() TaskState

func (*Task) GetStatusUpdateUUID

func (m *Task) GetStatusUpdateUUID() []byte

func (*Task) GetStatuses

func (m *Task) GetStatuses() []TaskStatus

func (*Task) GetTaskID

func (m *Task) GetTaskID() TaskID

func (*Task) GetUser

func (m *Task) GetUser() string

func (*Task) GoString

func (this *Task) GoString() string

func (*Task) Marshal

func (m *Task) Marshal() (dAtA []byte, err error)

func (*Task) MarshalJSON

func (mj *Task) MarshalJSON() ([]byte, error)

func (*Task) MarshalJSONBuf

func (mj *Task) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Task) MarshalTo

func (m *Task) MarshalTo(dAtA []byte) (int, error)

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) ProtoSize added in v0.0.4

func (m *Task) ProtoSize() (n int)

func (*Task) Reset

func (m *Task) Reset()

func (*Task) String

func (this *Task) String() string

func (*Task) Unmarshal

func (m *Task) Unmarshal(dAtA []byte) error

func (*Task) UnmarshalJSON

func (uj *Task) UnmarshalJSON(input []byte) error

func (*Task) UnmarshalJSONFFLexer

func (uj *Task) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Task) VerboseEqual

func (this *Task) VerboseEqual(that interface{}) error

type TaskGroupInfo

type TaskGroupInfo struct {
	Tasks []TaskInfo `protobuf:"bytes,1,rep,name=tasks" json:"tasks"`
}

* Describes a group of tasks that belong to an executor. The executor will receive the task group in a single message to allow the group to be launched "atomically".

NOTES:

  1. `NetworkInfo` must not be set inside task's `ContainerInfo`.
  2. `TaskInfo.executor` doesn't need to set. If set, it should match `LaunchGroup.executor`.

func NewPopulatedTaskGroupInfo

func NewPopulatedTaskGroupInfo(r randyMesos, easy bool) *TaskGroupInfo

func (*TaskGroupInfo) Descriptor added in v0.0.4

func (*TaskGroupInfo) Descriptor() ([]byte, []int)

func (*TaskGroupInfo) Equal

func (this *TaskGroupInfo) Equal(that interface{}) bool

func (*TaskGroupInfo) GetTasks

func (m *TaskGroupInfo) GetTasks() []TaskInfo

func (*TaskGroupInfo) GoString

func (this *TaskGroupInfo) GoString() string

func (*TaskGroupInfo) Marshal

func (m *TaskGroupInfo) Marshal() (dAtA []byte, err error)

func (*TaskGroupInfo) MarshalJSON

func (mj *TaskGroupInfo) MarshalJSON() ([]byte, error)

func (*TaskGroupInfo) MarshalJSONBuf

func (mj *TaskGroupInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*TaskGroupInfo) MarshalTo

func (m *TaskGroupInfo) MarshalTo(dAtA []byte) (int, error)

func (*TaskGroupInfo) ProtoMessage

func (*TaskGroupInfo) ProtoMessage()

func (*TaskGroupInfo) ProtoSize added in v0.0.4

func (m *TaskGroupInfo) ProtoSize() (n int)

func (*TaskGroupInfo) Reset

func (m *TaskGroupInfo) Reset()

func (*TaskGroupInfo) String

func (this *TaskGroupInfo) String() string

func (*TaskGroupInfo) Unmarshal

func (m *TaskGroupInfo) Unmarshal(dAtA []byte) error

func (*TaskGroupInfo) UnmarshalJSON

func (uj *TaskGroupInfo) UnmarshalJSON(input []byte) error

func (*TaskGroupInfo) UnmarshalJSONFFLexer

func (uj *TaskGroupInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*TaskGroupInfo) VerboseEqual

func (this *TaskGroupInfo) VerboseEqual(that interface{}) error

type TaskID

type TaskID struct {
	Value string `protobuf:"bytes,1,req,name=value" json:"value"`
}

* A framework-generated ID to distinguish a task. The ID must remain unique while the task is active. A framework can reuse an ID _only_ if the previous task with the same ID has reached a terminal state (e.g., TASK_FINISHED, TASK_KILLED, etc.). However, reusing task IDs is strongly discouraged (MESOS-2198).

func NewPopulatedTaskID

func NewPopulatedTaskID(r randyMesos, easy bool) *TaskID

func (*TaskID) Descriptor added in v0.0.4

func (*TaskID) Descriptor() ([]byte, []int)

func (*TaskID) Equal

func (this *TaskID) Equal(that interface{}) bool

func (*TaskID) GetValue

func (m *TaskID) GetValue() string

func (*TaskID) GoString

func (this *TaskID) GoString() string

func (*TaskID) Marshal

func (m *TaskID) Marshal() (dAtA []byte, err error)

func (*TaskID) MarshalJSON

func (mj *TaskID) MarshalJSON() ([]byte, error)

func (*TaskID) MarshalJSONBuf

func (mj *TaskID) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*TaskID) MarshalTo

func (m *TaskID) MarshalTo(dAtA []byte) (int, error)

func (*TaskID) ProtoMessage

func (*TaskID) ProtoMessage()

func (*TaskID) ProtoSize added in v0.0.4

func (m *TaskID) ProtoSize() (n int)

func (*TaskID) Reset

func (m *TaskID) Reset()

func (*TaskID) String

func (this *TaskID) String() string

func (*TaskID) Unmarshal

func (m *TaskID) Unmarshal(dAtA []byte) error

func (*TaskID) UnmarshalJSON

func (uj *TaskID) UnmarshalJSON(input []byte) error

func (*TaskID) UnmarshalJSONFFLexer

func (uj *TaskID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*TaskID) VerboseEqual

func (this *TaskID) VerboseEqual(that interface{}) error

type TaskInfo

type TaskInfo struct {
	Name      string        `protobuf:"bytes,1,req,name=name" json:"name"`
	TaskID    TaskID        `protobuf:"bytes,2,req,name=task_id,json=taskId" json:"task_id"`
	AgentID   AgentID       `protobuf:"bytes,3,req,name=agent_id,json=agentId" json:"agent_id"`
	Resources []Resource    `protobuf:"bytes,4,rep,name=resources" json:"resources"`
	Executor  *ExecutorInfo `protobuf:"bytes,5,opt,name=executor" json:"executor,omitempty"`
	Command   *CommandInfo  `protobuf:"bytes,7,opt,name=command" json:"command,omitempty"`
	// Task provided with a container will launch the container as part
	// of this task paired with the task's CommandInfo.
	Container *ContainerInfo `protobuf:"bytes,9,opt,name=container" json:"container,omitempty"`
	// A health check for the task. Implemented for executor-less
	// command-based tasks. For tasks that specify an executor, it is
	// the executor's responsibility to implement the health checking.
	HealthCheck *HealthCheck `protobuf:"bytes,8,opt,name=health_check,json=healthCheck" json:"health_check,omitempty"`
	// A general check for the task. Implemented for all built-in executors.
	// For tasks that specify an executor, it is the executor's responsibility
	// to implement checking support. Executors should (all built-in executors
	// will) neither interpret nor act on the check's result.
	//
	// NOTE: Check support in built-in executors is experimental.
	//
	// TODO(alexr): Consider supporting multiple checks per task.
	Check *CheckInfo `protobuf:"bytes,13,opt,name=check" json:"check,omitempty"`
	// A kill policy for the task. Implemented for executor-less
	// command-based and docker tasks. For tasks that specify an
	// executor, it is the executor's responsibility to implement
	// the kill policy.
	KillPolicy *KillPolicy `protobuf:"bytes,12,opt,name=kill_policy,json=killPolicy" json:"kill_policy,omitempty"`
	Data       []byte      `protobuf:"bytes,6,opt,name=data" json:"data,omitempty"`
	// Labels are free-form key value pairs which are exposed through
	// master and agent endpoints. Labels will not be interpreted or
	// acted upon by Mesos itself. As opposed to the data field, labels
	// will be kept in memory on master and agent processes. Therefore,
	// labels should be used to tag tasks with light-weight meta-data.
	// Labels should not contain duplicate key-value pairs.
	Labels *Labels `protobuf:"bytes,10,opt,name=labels" json:"labels,omitempty"`
	// Service discovery information for the task. It is not interpreted
	// or acted upon by Mesos. It is up to a service discovery system
	// to use this information as needed and to handle tasks without
	// service discovery information.
	Discovery *DiscoveryInfo `protobuf:"bytes,11,opt,name=discovery" json:"discovery,omitempty"`
	// Maximum duration for task completion. If the task is non-terminal at the
	// end of this duration, it will fail with the reason
	// `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
	// executor-less tasks, and tasks that use Docker or default executors.
	// It is the executor's responsibility to implement this, so it might not be
	// supported by all custom executors.
	MaxCompletionTime *DurationInfo `protobuf:"bytes,14,opt,name=max_completion_time,json=maxCompletionTime" json:"max_completion_time,omitempty"`
}

* Describes a task. Passed from the scheduler all the way to an executor (see SchedulerDriver::launchTasks and Executor::launchTask). Either ExecutorInfo or CommandInfo should be set. A different executor can be used to launch this task, and subsequent tasks meant for the same executor can reuse the same ExecutorInfo struct.

func NewPopulatedTaskInfo

func NewPopulatedTaskInfo(r randyMesos, easy bool) *TaskInfo

func (*TaskInfo) Descriptor added in v0.0.4

func (*TaskInfo) Descriptor() ([]byte, []int)

func (*TaskInfo) Equal

func (this *TaskInfo) Equal(that interface{}) bool

func (*TaskInfo) GetAgentID

func (m *TaskInfo) GetAgentID() AgentID

func (*TaskInfo) GetCheck added in v0.0.4

func (m *TaskInfo) GetCheck() *CheckInfo

func (*TaskInfo) GetCommand

func (m *TaskInfo) GetCommand() *CommandInfo

func (*TaskInfo) GetContainer

func (m *TaskInfo) GetContainer() *ContainerInfo

func (*TaskInfo) GetData

func (m *TaskInfo) GetData() []byte

func (*TaskInfo) GetDiscovery

func (m *TaskInfo) GetDiscovery() *DiscoveryInfo

func (*TaskInfo) GetExecutor

func (m *TaskInfo) GetExecutor() *ExecutorInfo

func (*TaskInfo) GetHealthCheck

func (m *TaskInfo) GetHealthCheck() *HealthCheck

func (*TaskInfo) GetKillPolicy

func (m *TaskInfo) GetKillPolicy() *KillPolicy

func (*TaskInfo) GetLabels

func (m *TaskInfo) GetLabels() *Labels

func (*TaskInfo) GetMaxCompletionTime added in v0.0.8

func (m *TaskInfo) GetMaxCompletionTime() *DurationInfo

func (*TaskInfo) GetName

func (m *TaskInfo) GetName() string

func (*TaskInfo) GetResources

func (m *TaskInfo) GetResources() []Resource

func (*TaskInfo) GetTaskID

func (m *TaskInfo) GetTaskID() TaskID

func (*TaskInfo) GoString

func (this *TaskInfo) GoString() string

func (*TaskInfo) Marshal

func (m *TaskInfo) Marshal() (dAtA []byte, err error)

func (*TaskInfo) MarshalJSON

func (mj *TaskInfo) MarshalJSON() ([]byte, error)

func (*TaskInfo) MarshalJSONBuf

func (mj *TaskInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*TaskInfo) MarshalTo

func (m *TaskInfo) MarshalTo(dAtA []byte) (int, error)

func (*TaskInfo) ProtoMessage

func (*TaskInfo) ProtoMessage()

func (*TaskInfo) ProtoSize added in v0.0.4

func (m *TaskInfo) ProtoSize() (n int)

func (*TaskInfo) Reset

func (m *TaskInfo) Reset()

func (*TaskInfo) String

func (this *TaskInfo) String() string

func (*TaskInfo) Unmarshal

func (m *TaskInfo) Unmarshal(dAtA []byte) error

func (*TaskInfo) UnmarshalJSON

func (uj *TaskInfo) UnmarshalJSON(input []byte) error

func (*TaskInfo) UnmarshalJSONFFLexer

func (uj *TaskInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*TaskInfo) VerboseEqual

func (this *TaskInfo) VerboseEqual(that interface{}) error

type TaskResourceLimitation added in v0.0.7

type TaskResourceLimitation struct {
	// This field contains the resource whose limits were violated.
	//
	// NOTE: 'Resources' is used here because the resource may span
	// multiple roles (e.g. `"mem(*):1;mem(role):2"`).
	Resources []Resource `protobuf:"bytes,1,rep,name=resources" json:"resources"`
}

* Describes a resource limitation that caused a task failure.

func NewPopulatedTaskResourceLimitation added in v0.0.7

func NewPopulatedTaskResourceLimitation(r randyMesos, easy bool) *TaskResourceLimitation

func (*TaskResourceLimitation) Descriptor added in v0.0.7

func (*TaskResourceLimitation) Descriptor() ([]byte, []int)

func (*TaskResourceLimitation) Equal added in v0.0.7

func (this *TaskResourceLimitation) Equal(that interface{}) bool

func (*TaskResourceLimitation) GetResources added in v0.0.7

func (m *TaskResourceLimitation) GetResources() []Resource

func (*TaskResourceLimitation) GoString added in v0.0.7

func (this *TaskResourceLimitation) GoString() string

func (*TaskResourceLimitation) Marshal added in v0.0.7

func (m *TaskResourceLimitation) Marshal() (dAtA []byte, err error)

func (*TaskResourceLimitation) MarshalJSON added in v0.0.7

func (mj *TaskResourceLimitation) MarshalJSON() ([]byte, error)

func (*TaskResourceLimitation) MarshalJSONBuf added in v0.0.7

func (mj *TaskResourceLimitation) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*TaskResourceLimitation) MarshalTo added in v0.0.7

func (m *TaskResourceLimitation) MarshalTo(dAtA []byte) (int, error)

func (*TaskResourceLimitation) ProtoMessage added in v0.0.7

func (*TaskResourceLimitation) ProtoMessage()

func (*TaskResourceLimitation) ProtoSize added in v0.0.7

func (m *TaskResourceLimitation) ProtoSize() (n int)

func (*TaskResourceLimitation) Reset added in v0.0.7

func (m *TaskResourceLimitation) Reset()

func (*TaskResourceLimitation) String added in v0.0.7

func (this *TaskResourceLimitation) String() string

func (*TaskResourceLimitation) Unmarshal added in v0.0.7

func (m *TaskResourceLimitation) Unmarshal(dAtA []byte) error

func (*TaskResourceLimitation) UnmarshalJSON added in v0.0.7

func (uj *TaskResourceLimitation) UnmarshalJSON(input []byte) error

func (*TaskResourceLimitation) UnmarshalJSONFFLexer added in v0.0.7

func (uj *TaskResourceLimitation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*TaskResourceLimitation) VerboseEqual added in v0.0.7

func (this *TaskResourceLimitation) VerboseEqual(that interface{}) error

type TaskState

type TaskState int32

* Describes possible task states. IMPORTANT: Mesos assumes tasks that enter terminal states (see below) imply the task is no longer running and thus clean up any thing associated with the task (ultimately offering any resources being consumed by that task to another task).

const (
	TASK_STAGING  TaskState = 6
	TASK_STARTING TaskState = 0
	TASK_RUNNING  TaskState = 1
	// NOTE: This should only be sent when the framework has
	// the TASK_KILLING_STATE capability.
	TASK_KILLING TaskState = 8
	// The task finished successfully on its own without external interference.
	TASK_FINISHED TaskState = 2
	TASK_FAILED   TaskState = 3
	TASK_KILLED   TaskState = 4
	TASK_ERROR    TaskState = 7
	// In Mesos 1.3, this will only be sent when the framework does NOT
	// opt-in to the PARTITION_AWARE capability.
	//
	// NOTE: This state is not always terminal. For example, tasks might
	// transition from TASK_LOST to TASK_RUNNING or other states when a
	// partitioned agent reregisters.
	TASK_LOST TaskState = 5
	// The task failed to launch because of a transient error. The
	// task's executor never started running. Unlike TASK_ERROR, the
	// task description is valid -- attempting to launch the task again
	// may be successful.
	TASK_DROPPED TaskState = 9
	// The task was running on an agent that has lost contact with the
	// master, typically due to a network failure or partition. The task
	// may or may not still be running.
	TASK_UNREACHABLE TaskState = 10
	// The task is no longer running. This can occur if the agent has
	// been terminated along with all of its tasks (e.g., the host that
	// was running the agent was rebooted). It might also occur if the
	// task was terminated due to an agent or containerizer error, or if
	// the task was preempted by the QoS controller in an
	// oversubscription scenario.
	TASK_GONE TaskState = 11
	// The task was running on an agent that the master cannot contact;
	// the operator has asserted that the agent has been shutdown, but
	// this has not been directly confirmed by the master. If the
	// operator is correct, the task is not running and this is a
	// terminal state; if the operator is mistaken, the task may still
	// be running and might return to RUNNING in the future.
	TASK_GONE_BY_OPERATOR TaskState = 12
	// The master has no knowledge of the task. This is typically
	// because either (a) the master never had knowledge of the task, or
	// (b) the master forgot about the task because it garbage collected
	// its metadata about the task. The task may or may not still be
	// running.
	TASK_UNKNOWN TaskState = 13
)

func (TaskState) Enum

func (x TaskState) Enum() *TaskState

func (TaskState) EnumDescriptor added in v0.0.4

func (TaskState) EnumDescriptor() ([]byte, []int)

func (TaskState) MarshalJSON

func (x TaskState) MarshalJSON() ([]byte, error)

func (TaskState) String

func (x TaskState) String() string

func (*TaskState) UnmarshalJSON

func (x *TaskState) UnmarshalJSON(data []byte) error

type TaskStatus

type TaskStatus struct {
	TaskID     TaskID             `protobuf:"bytes,1,req,name=task_id,json=taskId" json:"task_id"`
	State      *TaskState         `protobuf:"varint,2,req,name=state,enum=mesos.TaskState" json:"state,omitempty"`
	Message    *string            `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
	Source     *TaskStatus_Source `protobuf:"varint,9,opt,name=source,enum=mesos.TaskStatus_Source" json:"source,omitempty"`
	Reason     *TaskStatus_Reason `protobuf:"varint,10,opt,name=reason,enum=mesos.TaskStatus_Reason" json:"reason,omitempty"`
	Data       []byte             `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"`
	AgentID    *AgentID           `protobuf:"bytes,5,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"`
	ExecutorID *ExecutorID        `protobuf:"bytes,7,opt,name=executor_id,json=executorId" json:"executor_id,omitempty"`
	Timestamp  *float64           `protobuf:"fixed64,6,opt,name=timestamp" json:"timestamp,omitempty"`
	// Statuses that are delivered reliably to the scheduler will
	// include a 'uuid'. The status is considered delivered once
	// it is acknowledged by the scheduler. Schedulers can choose
	// to either explicitly acknowledge statuses or let the scheduler
	// driver implicitly acknowledge (default).
	//
	// TODO(bmahler): This is currently overwritten in the scheduler
	// driver and executor driver, but executors will need to set this
	// to a valid RFC-4122 UUID if using the HTTP API.
	UUID []byte `protobuf:"bytes,11,opt,name=uuid" json:"uuid,omitempty"`
	// Describes whether the task has been determined to be healthy (true) or
	// unhealthy (false) according to the `health_check` field in `TaskInfo`.
	Healthy *bool `protobuf:"varint,8,opt,name=healthy" json:"healthy,omitempty"`
	// Contains check status for the check specified in the corresponding
	// `TaskInfo`. If no check has been specified, this field must be
	// absent, otherwise it must be present even if the check status is
	// not available yet. If the status update is triggered for a different
	// reason than `REASON_TASK_CHECK_STATUS_UPDATED`, this field will contain
	// the last known value.
	//
	// NOTE: A check-related task status update is triggered if and only if
	// the value or presence of any field in `CheckStatusInfo` changes.
	//
	// NOTE: Check support in built-in executors is experimental.
	CheckStatus *CheckStatusInfo `protobuf:"bytes,15,opt,name=check_status,json=checkStatus" json:"check_status,omitempty"`
	// Labels are free-form key value pairs which are exposed through
	// master and agent endpoints. Labels will not be interpreted or
	// acted upon by Mesos itself. As opposed to the data field, labels
	// will be kept in memory on master and agent processes. Therefore,
	// labels should be used to tag TaskStatus message with light-weight
	// meta-data. Labels should not contain duplicate key-value pairs.
	Labels *Labels `protobuf:"bytes,12,opt,name=labels" json:"labels,omitempty"`
	// Container related information that is resolved dynamically such as
	// network address.
	ContainerStatus *ContainerStatus `protobuf:"bytes,13,opt,name=container_status,json=containerStatus" json:"container_status,omitempty"`
	// The time (according to the master's clock) when the agent where
	// this task was running became unreachable. This is only set on
	// status updates for tasks running on agents that are unreachable
	// (e.g., partitioned away from the master).
	UnreachableTime *TimeInfo `protobuf:"bytes,14,opt,name=unreachable_time,json=unreachableTime" json:"unreachable_time,omitempty"`
	// If the reason field indicates a container resource limitation,
	// this field optionally contains additional information.
	Limitation *TaskResourceLimitation `protobuf:"bytes,16,opt,name=limitation" json:"limitation,omitempty"`
}

* Describes the current status of a task.

func NewPopulatedTaskStatus

func NewPopulatedTaskStatus(r randyMesos, easy bool) *TaskStatus

func (*TaskStatus) Descriptor added in v0.0.4

func (*TaskStatus) Descriptor() ([]byte, []int)

func (*TaskStatus) Equal

func (this *TaskStatus) Equal(that interface{}) bool

func (*TaskStatus) GetAgentID

func (m *TaskStatus) GetAgentID() *AgentID

func (*TaskStatus) GetCheckStatus added in v0.0.4

func (m *TaskStatus) GetCheckStatus() *CheckStatusInfo

func (*TaskStatus) GetContainerStatus

func (m *TaskStatus) GetContainerStatus() *ContainerStatus

func (*TaskStatus) GetData

func (m *TaskStatus) GetData() []byte

func (*TaskStatus) GetExecutorID

func (m *TaskStatus) GetExecutorID() *ExecutorID

func (*TaskStatus) GetHealthy

func (m *TaskStatus) GetHealthy() bool

func (*TaskStatus) GetLabels

func (m *TaskStatus) GetLabels() *Labels

func (*TaskStatus) GetLimitation added in v0.0.7

func (m *TaskStatus) GetLimitation() *TaskResourceLimitation

func (*TaskStatus) GetMessage

func (m *TaskStatus) GetMessage() string

func (*TaskStatus) GetReason

func (m *TaskStatus) GetReason() TaskStatus_Reason

func (*TaskStatus) GetSource

func (m *TaskStatus) GetSource() TaskStatus_Source

func (*TaskStatus) GetState

func (m *TaskStatus) GetState() TaskState

func (*TaskStatus) GetTaskID

func (m *TaskStatus) GetTaskID() TaskID

func (*TaskStatus) GetTimestamp

func (m *TaskStatus) GetTimestamp() float64

func (*TaskStatus) GetUUID

func (m *TaskStatus) GetUUID() []byte

func (*TaskStatus) GetUnreachableTime

func (m *TaskStatus) GetUnreachableTime() *TimeInfo

func (*TaskStatus) GoString

func (this *TaskStatus) GoString() string

func (*TaskStatus) Marshal

func (m *TaskStatus) Marshal() (dAtA []byte, err error)

func (*TaskStatus) MarshalJSON

func (mj *TaskStatus) MarshalJSON() ([]byte, error)

func (*TaskStatus) MarshalJSONBuf

func (mj *TaskStatus) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*TaskStatus) MarshalTo

func (m *TaskStatus) MarshalTo(dAtA []byte) (int, error)

func (*TaskStatus) ProtoMessage

func (*TaskStatus) ProtoMessage()

func (*TaskStatus) ProtoSize added in v0.0.4

func (m *TaskStatus) ProtoSize() (n int)

func (*TaskStatus) Reset

func (m *TaskStatus) Reset()

func (*TaskStatus) String

func (this *TaskStatus) String() string

func (*TaskStatus) Unmarshal

func (m *TaskStatus) Unmarshal(dAtA []byte) error

func (*TaskStatus) UnmarshalJSON

func (uj *TaskStatus) UnmarshalJSON(input []byte) error

func (*TaskStatus) UnmarshalJSONFFLexer

func (uj *TaskStatus) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*TaskStatus) VerboseEqual

func (this *TaskStatus) VerboseEqual(that interface{}) error

type TaskStatus_Reason

type TaskStatus_Reason int32

Detailed reason for the task status update. Refer to docs/task-state-reasons.md for additional explanation.

const (
	// TODO(jieyu): The default value when a caller doesn't check for
	// presence is 0 and so ideally the 0 reason is not a valid one.
	// Since this is not used anywhere, consider removing this reason.
	REASON_COMMAND_EXECUTOR_FAILED          TaskStatus_Reason = 0
	REASON_CONTAINER_LAUNCH_FAILED          TaskStatus_Reason = 21
	REASON_CONTAINER_LIMITATION             TaskStatus_Reason = 19
	REASON_CONTAINER_LIMITATION_DISK        TaskStatus_Reason = 20
	REASON_CONTAINER_LIMITATION_MEMORY      TaskStatus_Reason = 8
	REASON_CONTAINER_PREEMPTED              TaskStatus_Reason = 17
	REASON_CONTAINER_UPDATE_FAILED          TaskStatus_Reason = 22
	REASON_MAX_COMPLETION_TIME_REACHED      TaskStatus_Reason = 33
	REASON_EXECUTOR_REGISTRATION_TIMEOUT    TaskStatus_Reason = 23
	REASON_EXECUTOR_REREGISTRATION_TIMEOUT  TaskStatus_Reason = 24
	REASON_EXECUTOR_TERMINATED              TaskStatus_Reason = 1
	REASON_EXECUTOR_UNREGISTERED            TaskStatus_Reason = 2
	REASON_FRAMEWORK_REMOVED                TaskStatus_Reason = 3
	REASON_GC_ERROR                         TaskStatus_Reason = 4
	REASON_INVALID_FRAMEWORKID              TaskStatus_Reason = 5
	REASON_INVALID_OFFERS                   TaskStatus_Reason = 6
	REASON_IO_SWITCHBOARD_EXITED            TaskStatus_Reason = 27
	REASON_MASTER_DISCONNECTED              TaskStatus_Reason = 7
	REASON_RECONCILIATION                   TaskStatus_Reason = 9
	REASON_RESOURCES_UNKNOWN                TaskStatus_Reason = 18
	REASON_AGENT_DISCONNECTED               TaskStatus_Reason = 10
	REASON_AGENT_REMOVED                    TaskStatus_Reason = 11
	REASON_AGENT_REMOVED_BY_OPERATOR        TaskStatus_Reason = 31
	REASON_AGENT_REREGISTERED               TaskStatus_Reason = 32
	REASON_AGENT_RESTARTED                  TaskStatus_Reason = 12
	REASON_AGENT_UNKNOWN                    TaskStatus_Reason = 13
	REASON_TASK_KILLED_DURING_LAUNCH        TaskStatus_Reason = 30
	REASON_TASK_CHECK_STATUS_UPDATED        TaskStatus_Reason = 28
	REASON_TASK_HEALTH_CHECK_STATUS_UPDATED TaskStatus_Reason = 29
	REASON_TASK_GROUP_INVALID               TaskStatus_Reason = 25
	REASON_TASK_GROUP_UNAUTHORIZED          TaskStatus_Reason = 26
	REASON_TASK_INVALID                     TaskStatus_Reason = 14
	REASON_TASK_UNAUTHORIZED                TaskStatus_Reason = 15
	REASON_TASK_UNKNOWN                     TaskStatus_Reason = 16
)

func (TaskStatus_Reason) Enum

func (TaskStatus_Reason) EnumDescriptor added in v0.0.4

func (TaskStatus_Reason) EnumDescriptor() ([]byte, []int)

func (TaskStatus_Reason) MarshalJSON

func (x TaskStatus_Reason) MarshalJSON() ([]byte, error)

func (TaskStatus_Reason) String

func (x TaskStatus_Reason) String() string

func (*TaskStatus_Reason) UnmarshalJSON

func (x *TaskStatus_Reason) UnmarshalJSON(data []byte) error

type TaskStatus_Source

type TaskStatus_Source int32

Describes the source of the task status update.

const (
	SOURCE_MASTER   TaskStatus_Source = 0
	SOURCE_AGENT    TaskStatus_Source = 1
	SOURCE_EXECUTOR TaskStatus_Source = 2
)

func (TaskStatus_Source) Enum

func (TaskStatus_Source) EnumDescriptor added in v0.0.4

func (TaskStatus_Source) EnumDescriptor() ([]byte, []int)

func (TaskStatus_Source) MarshalJSON

func (x TaskStatus_Source) MarshalJSON() ([]byte, error)

func (TaskStatus_Source) String

func (x TaskStatus_Source) String() string

func (*TaskStatus_Source) UnmarshalJSON

func (x *TaskStatus_Source) UnmarshalJSON(data []byte) error

type TcpStatistics

type TcpStatistics struct {
	RtoAlgorithm *int64 `protobuf:"varint,1,opt,name=RtoAlgorithm" json:"RtoAlgorithm,omitempty"`
	RtoMin       *int64 `protobuf:"varint,2,opt,name=RtoMin" json:"RtoMin,omitempty"`
	RtoMax       *int64 `protobuf:"varint,3,opt,name=RtoMax" json:"RtoMax,omitempty"`
	MaxConn      *int64 `protobuf:"varint,4,opt,name=MaxConn" json:"MaxConn,omitempty"`
	ActiveOpens  *int64 `protobuf:"varint,5,opt,name=ActiveOpens" json:"ActiveOpens,omitempty"`
	PassiveOpens *int64 `protobuf:"varint,6,opt,name=PassiveOpens" json:"PassiveOpens,omitempty"`
	AttemptFails *int64 `protobuf:"varint,7,opt,name=AttemptFails" json:"AttemptFails,omitempty"`
	EstabResets  *int64 `protobuf:"varint,8,opt,name=EstabResets" json:"EstabResets,omitempty"`
	CurrEstab    *int64 `protobuf:"varint,9,opt,name=CurrEstab" json:"CurrEstab,omitempty"`
	InSegs       *int64 `protobuf:"varint,10,opt,name=InSegs" json:"InSegs,omitempty"`
	OutSegs      *int64 `protobuf:"varint,11,opt,name=OutSegs" json:"OutSegs,omitempty"`
	RetransSegs  *int64 `protobuf:"varint,12,opt,name=RetransSegs" json:"RetransSegs,omitempty"`
	InErrs       *int64 `protobuf:"varint,13,opt,name=InErrs" json:"InErrs,omitempty"`
	OutRsts      *int64 `protobuf:"varint,14,opt,name=OutRsts" json:"OutRsts,omitempty"`
	InCsumErrors *int64 `protobuf:"varint,15,opt,name=InCsumErrors" json:"InCsumErrors,omitempty"`
}

func NewPopulatedTcpStatistics

func NewPopulatedTcpStatistics(r randyMesos, easy bool) *TcpStatistics

func (*TcpStatistics) Descriptor added in v0.0.4

func (*TcpStatistics) Descriptor() ([]byte, []int)

func (*TcpStatistics) Equal

func (this *TcpStatistics) Equal(that interface{}) bool

func (*TcpStatistics) GetActiveOpens

func (m *TcpStatistics) GetActiveOpens() int64

func (*TcpStatistics) GetAttemptFails

func (m *TcpStatistics) GetAttemptFails() int64

func (*TcpStatistics) GetCurrEstab

func (m *TcpStatistics) GetCurrEstab() int64

func (*TcpStatistics) GetEstabResets

func (m *TcpStatistics) GetEstabResets() int64

func (*TcpStatistics) GetInCsumErrors

func (m *TcpStatistics) GetInCsumErrors() int64

func (*TcpStatistics) GetInErrs

func (m *TcpStatistics) GetInErrs() int64

func (*TcpStatistics) GetInSegs

func (m *TcpStatistics) GetInSegs() int64

func (*TcpStatistics) GetMaxConn

func (m *TcpStatistics) GetMaxConn() int64

func (*TcpStatistics) GetOutRsts

func (m *TcpStatistics) GetOutRsts() int64

func (*TcpStatistics) GetOutSegs

func (m *TcpStatistics) GetOutSegs() int64

func (*TcpStatistics) GetPassiveOpens

func (m *TcpStatistics) GetPassiveOpens() int64

func (*TcpStatistics) GetRetransSegs

func (m *TcpStatistics) GetRetransSegs() int64

func (*TcpStatistics) GetRtoAlgorithm

func (m *TcpStatistics) GetRtoAlgorithm() int64

func (*TcpStatistics) GetRtoMax

func (m *TcpStatistics) GetRtoMax() int64

func (*TcpStatistics) GetRtoMin

func (m *TcpStatistics) GetRtoMin() int64

func (*TcpStatistics) GoString

func (this *TcpStatistics) GoString() string

func (*TcpStatistics) Marshal

func (m *TcpStatistics) Marshal() (dAtA []byte, err error)

func (*TcpStatistics) MarshalJSON

func (mj *TcpStatistics) MarshalJSON() ([]byte, error)

func (*TcpStatistics) MarshalJSONBuf

func (mj *TcpStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*TcpStatistics) MarshalTo

func (m *TcpStatistics) MarshalTo(dAtA []byte) (int, error)

func (*TcpStatistics) ProtoMessage

func (*TcpStatistics) ProtoMessage()

func (*TcpStatistics) ProtoSize added in v0.0.4

func (m *TcpStatistics) ProtoSize() (n int)

func (*TcpStatistics) Reset

func (m *TcpStatistics) Reset()

func (*TcpStatistics) String

func (this *TcpStatistics) String() string

func (*TcpStatistics) Unmarshal

func (m *TcpStatistics) Unmarshal(dAtA []byte) error

func (*TcpStatistics) UnmarshalJSON

func (uj *TcpStatistics) UnmarshalJSON(input []byte) error

func (*TcpStatistics) UnmarshalJSONFFLexer

func (uj *TcpStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*TcpStatistics) VerboseEqual

func (this *TcpStatistics) VerboseEqual(that interface{}) error

type TimeInfo

type TimeInfo struct {
	Nanoseconds int64 `protobuf:"varint,1,req,name=nanoseconds" json:"nanoseconds"`
}

* Represents time since the epoch, in nanoseconds.

func NewPopulatedTimeInfo

func NewPopulatedTimeInfo(r randyMesos, easy bool) *TimeInfo

func (*TimeInfo) Descriptor added in v0.0.4

func (*TimeInfo) Descriptor() ([]byte, []int)

func (*TimeInfo) Equal

func (this *TimeInfo) Equal(that interface{}) bool

func (*TimeInfo) GetNanoseconds

func (m *TimeInfo) GetNanoseconds() int64

func (*TimeInfo) GoString

func (this *TimeInfo) GoString() string

func (*TimeInfo) Marshal

func (m *TimeInfo) Marshal() (dAtA []byte, err error)

func (*TimeInfo) MarshalJSON

func (mj *TimeInfo) MarshalJSON() ([]byte, error)

func (*TimeInfo) MarshalJSONBuf

func (mj *TimeInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*TimeInfo) MarshalTo

func (m *TimeInfo) MarshalTo(dAtA []byte) (int, error)

func (*TimeInfo) ProtoMessage

func (*TimeInfo) ProtoMessage()

func (*TimeInfo) ProtoSize added in v0.0.4

func (m *TimeInfo) ProtoSize() (n int)

func (*TimeInfo) Reset

func (m *TimeInfo) Reset()

func (*TimeInfo) String

func (this *TimeInfo) String() string

func (*TimeInfo) Unmarshal

func (m *TimeInfo) Unmarshal(dAtA []byte) error

func (*TimeInfo) UnmarshalJSON

func (uj *TimeInfo) UnmarshalJSON(input []byte) error

func (*TimeInfo) UnmarshalJSONFFLexer

func (uj *TimeInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*TimeInfo) VerboseEqual

func (this *TimeInfo) VerboseEqual(that interface{}) error

type TrafficControlStatistics

type TrafficControlStatistics struct {
	ID         string  `protobuf:"bytes,1,req,name=id" json:"id"`
	Backlog    *uint64 `protobuf:"varint,2,opt,name=backlog" json:"backlog,omitempty"`
	Bytes      *uint64 `protobuf:"varint,3,opt,name=bytes" json:"bytes,omitempty"`
	Drops      *uint64 `protobuf:"varint,4,opt,name=drops" json:"drops,omitempty"`
	Overlimits *uint64 `protobuf:"varint,5,opt,name=overlimits" json:"overlimits,omitempty"`
	Packets    *uint64 `protobuf:"varint,6,opt,name=packets" json:"packets,omitempty"`
	Qlen       *uint64 `protobuf:"varint,7,opt,name=qlen" json:"qlen,omitempty"`
	RateBPS    *uint64 `protobuf:"varint,8,opt,name=ratebps" json:"ratebps,omitempty"`
	RatePPS    *uint64 `protobuf:"varint,9,opt,name=ratepps" json:"ratepps,omitempty"`
	Requeues   *uint64 `protobuf:"varint,10,opt,name=requeues" json:"requeues,omitempty"`
}

* When the network bandwidth caps are enabled and the container is over its limit, outbound packets may be either delayed or dropped completely either because it exceeds the maximum bandwidth allocation for a single container (the cap) or because the combined network traffic of multiple containers on the host exceeds the transmit capacity of the host (the share). We can report the following statistics for each of these conditions exported directly from the Linux Traffic Control Queueing Discipline.

id : name of the limiter, e.g. 'tx_bw_cap' backlog : number of packets currently delayed bytes : total bytes seen drops : number of packets dropped in total overlimits : number of packets which exceeded allocation packets : total packets seen qlen : number of packets currently queued rate_bps : throughput in bytes/sec rate_pps : throughput in packets/sec requeues : number of times a packet has been delayed due to

locking or device contention issues

More information on the operation of Linux Traffic Control can be found at http://www.lartc.org/lartc.html.

func NewPopulatedTrafficControlStatistics

func NewPopulatedTrafficControlStatistics(r randyMesos, easy bool) *TrafficControlStatistics

func (*TrafficControlStatistics) Descriptor added in v0.0.4

func (*TrafficControlStatistics) Descriptor() ([]byte, []int)

func (*TrafficControlStatistics) Equal

func (this *TrafficControlStatistics) Equal(that interface{}) bool

func (*TrafficControlStatistics) GetBacklog

func (m *TrafficControlStatistics) GetBacklog() uint64

func (*TrafficControlStatistics) GetBytes

func (m *TrafficControlStatistics) GetBytes() uint64

func (*TrafficControlStatistics) GetDrops

func (m *TrafficControlStatistics) GetDrops() uint64

func (*TrafficControlStatistics) GetID

func (m *TrafficControlStatistics) GetID() string

func (*TrafficControlStatistics) GetOverlimits

func (m *TrafficControlStatistics) GetOverlimits() uint64

func (*TrafficControlStatistics) GetPackets

func (m *TrafficControlStatistics) GetPackets() uint64

func (*TrafficControlStatistics) GetQlen

func (m *TrafficControlStatistics) GetQlen() uint64

func (*TrafficControlStatistics) GetRateBPS

func (m *TrafficControlStatistics) GetRateBPS() uint64

func (*TrafficControlStatistics) GetRatePPS

func (m *TrafficControlStatistics) GetRatePPS() uint64

func (*TrafficControlStatistics) GetRequeues

func (m *TrafficControlStatistics) GetRequeues() uint64

func (*TrafficControlStatistics) GoString

func (this *TrafficControlStatistics) GoString() string

func (*TrafficControlStatistics) Marshal

func (m *TrafficControlStatistics) Marshal() (dAtA []byte, err error)

func (*TrafficControlStatistics) MarshalJSON

func (mj *TrafficControlStatistics) MarshalJSON() ([]byte, error)

func (*TrafficControlStatistics) MarshalJSONBuf

func (mj *TrafficControlStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*TrafficControlStatistics) MarshalTo

func (m *TrafficControlStatistics) MarshalTo(dAtA []byte) (int, error)

func (*TrafficControlStatistics) ProtoMessage

func (*TrafficControlStatistics) ProtoMessage()

func (*TrafficControlStatistics) ProtoSize added in v0.0.4

func (m *TrafficControlStatistics) ProtoSize() (n int)

func (*TrafficControlStatistics) Reset

func (m *TrafficControlStatistics) Reset()

func (*TrafficControlStatistics) String

func (this *TrafficControlStatistics) String() string

func (*TrafficControlStatistics) Unmarshal

func (m *TrafficControlStatistics) Unmarshal(dAtA []byte) error

func (*TrafficControlStatistics) UnmarshalJSON

func (uj *TrafficControlStatistics) UnmarshalJSON(input []byte) error

func (*TrafficControlStatistics) UnmarshalJSONFFLexer

func (uj *TrafficControlStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*TrafficControlStatistics) VerboseEqual

func (this *TrafficControlStatistics) VerboseEqual(that interface{}) error

type URL

type URL struct {
	Scheme   string      `protobuf:"bytes,1,req,name=scheme" json:"scheme"`
	Address  Address     `protobuf:"bytes,2,req,name=address" json:"address"`
	Path     *string     `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
	Query    []Parameter `protobuf:"bytes,4,rep,name=query" json:"query"`
	Fragment *string     `protobuf:"bytes,5,opt,name=fragment" json:"fragment,omitempty"`
}

* Represents a URL.

func NewPopulatedURL

func NewPopulatedURL(r randyMesos, easy bool) *URL

func (*URL) Descriptor added in v0.0.4

func (*URL) Descriptor() ([]byte, []int)

func (*URL) Equal

func (this *URL) Equal(that interface{}) bool

func (*URL) GetAddress

func (m *URL) GetAddress() Address

func (*URL) GetFragment

func (m *URL) GetFragment() string

func (*URL) GetPath

func (m *URL) GetPath() string

func (*URL) GetQuery

func (m *URL) GetQuery() []Parameter

func (*URL) GetScheme

func (m *URL) GetScheme() string

func (*URL) GoString

func (this *URL) GoString() string

func (*URL) Marshal

func (m *URL) Marshal() (dAtA []byte, err error)

func (*URL) MarshalJSON

func (mj *URL) MarshalJSON() ([]byte, error)

func (*URL) MarshalJSONBuf

func (mj *URL) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*URL) MarshalTo

func (m *URL) MarshalTo(dAtA []byte) (int, error)

func (*URL) ProtoMessage

func (*URL) ProtoMessage()

func (*URL) ProtoSize added in v0.0.4

func (m *URL) ProtoSize() (n int)

func (*URL) Reset

func (m *URL) Reset()

func (*URL) String

func (this *URL) String() string

func (*URL) Unmarshal

func (m *URL) Unmarshal(dAtA []byte) error

func (*URL) UnmarshalJSON

func (uj *URL) UnmarshalJSON(input []byte) error

func (*URL) UnmarshalJSONFFLexer

func (uj *URL) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*URL) VerboseEqual

func (this *URL) VerboseEqual(that interface{}) error

type UUID added in v0.0.7

type UUID struct {
	Value []byte `protobuf:"bytes,1,req,name=value" json:"value,omitempty"`
}

* A 128 bit (16 byte) UUID, see RFC 4122.

func NewPopulatedUUID added in v0.0.7

func NewPopulatedUUID(r randyMesos, easy bool) *UUID

func (*UUID) Descriptor added in v0.0.7

func (*UUID) Descriptor() ([]byte, []int)

func (*UUID) Equal added in v0.0.7

func (this *UUID) Equal(that interface{}) bool

func (*UUID) GetValue added in v0.0.7

func (m *UUID) GetValue() []byte

func (*UUID) GoString added in v0.0.7

func (this *UUID) GoString() string

func (*UUID) Marshal added in v0.0.7

func (m *UUID) Marshal() (dAtA []byte, err error)

func (*UUID) MarshalJSON added in v0.0.7

func (mj *UUID) MarshalJSON() ([]byte, error)

func (*UUID) MarshalJSONBuf added in v0.0.7

func (mj *UUID) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*UUID) MarshalTo added in v0.0.7

func (m *UUID) MarshalTo(dAtA []byte) (int, error)

func (*UUID) ProtoMessage added in v0.0.7

func (*UUID) ProtoMessage()

func (*UUID) ProtoSize added in v0.0.7

func (m *UUID) ProtoSize() (n int)

func (*UUID) Reset added in v0.0.7

func (m *UUID) Reset()

func (*UUID) String added in v0.0.7

func (this *UUID) String() string

func (*UUID) Unmarshal added in v0.0.7

func (m *UUID) Unmarshal(dAtA []byte) error

func (*UUID) UnmarshalJSON added in v0.0.7

func (uj *UUID) UnmarshalJSON(input []byte) error

func (*UUID) UnmarshalJSONFFLexer added in v0.0.7

func (uj *UUID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*UUID) VerboseEqual added in v0.0.7

func (this *UUID) VerboseEqual(that interface{}) error

type UdpStatistics

type UdpStatistics struct {
	InDatagrams  *int64 `protobuf:"varint,1,opt,name=InDatagrams" json:"InDatagrams,omitempty"`
	NoPorts      *int64 `protobuf:"varint,2,opt,name=NoPorts" json:"NoPorts,omitempty"`
	InErrors     *int64 `protobuf:"varint,3,opt,name=InErrors" json:"InErrors,omitempty"`
	OutDatagrams *int64 `protobuf:"varint,4,opt,name=OutDatagrams" json:"OutDatagrams,omitempty"`
	RcvbufErrors *int64 `protobuf:"varint,5,opt,name=RcvbufErrors" json:"RcvbufErrors,omitempty"`
	SndbufErrors *int64 `protobuf:"varint,6,opt,name=SndbufErrors" json:"SndbufErrors,omitempty"`
	InCsumErrors *int64 `protobuf:"varint,7,opt,name=InCsumErrors" json:"InCsumErrors,omitempty"`
	IgnoredMulti *int64 `protobuf:"varint,8,opt,name=IgnoredMulti" json:"IgnoredMulti,omitempty"`
}

func NewPopulatedUdpStatistics

func NewPopulatedUdpStatistics(r randyMesos, easy bool) *UdpStatistics

func (*UdpStatistics) Descriptor added in v0.0.4

func (*UdpStatistics) Descriptor() ([]byte, []int)

func (*UdpStatistics) Equal

func (this *UdpStatistics) Equal(that interface{}) bool

func (*UdpStatistics) GetIgnoredMulti

func (m *UdpStatistics) GetIgnoredMulti() int64

func (*UdpStatistics) GetInCsumErrors

func (m *UdpStatistics) GetInCsumErrors() int64

func (*UdpStatistics) GetInDatagrams

func (m *UdpStatistics) GetInDatagrams() int64

func (*UdpStatistics) GetInErrors

func (m *UdpStatistics) GetInErrors() int64

func (*UdpStatistics) GetNoPorts

func (m *UdpStatistics) GetNoPorts() int64

func (*UdpStatistics) GetOutDatagrams

func (m *UdpStatistics) GetOutDatagrams() int64

func (*UdpStatistics) GetRcvbufErrors

func (m *UdpStatistics) GetRcvbufErrors() int64

func (*UdpStatistics) GetSndbufErrors

func (m *UdpStatistics) GetSndbufErrors() int64

func (*UdpStatistics) GoString

func (this *UdpStatistics) GoString() string

func (*UdpStatistics) Marshal

func (m *UdpStatistics) Marshal() (dAtA []byte, err error)

func (*UdpStatistics) MarshalJSON

func (mj *UdpStatistics) MarshalJSON() ([]byte, error)

func (*UdpStatistics) MarshalJSONBuf

func (mj *UdpStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*UdpStatistics) MarshalTo

func (m *UdpStatistics) MarshalTo(dAtA []byte) (int, error)

func (*UdpStatistics) ProtoMessage

func (*UdpStatistics) ProtoMessage()

func (*UdpStatistics) ProtoSize added in v0.0.4

func (m *UdpStatistics) ProtoSize() (n int)

func (*UdpStatistics) Reset

func (m *UdpStatistics) Reset()

func (*UdpStatistics) String

func (this *UdpStatistics) String() string

func (*UdpStatistics) Unmarshal

func (m *UdpStatistics) Unmarshal(dAtA []byte) error

func (*UdpStatistics) UnmarshalJSON

func (uj *UdpStatistics) UnmarshalJSON(input []byte) error

func (*UdpStatistics) UnmarshalJSONFFLexer

func (uj *UdpStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*UdpStatistics) VerboseEqual

func (this *UdpStatistics) VerboseEqual(that interface{}) error

type Unavailability

type Unavailability struct {
	Start TimeInfo `protobuf:"bytes,1,req,name=start" json:"start"`
	// When added to `start`, this represents the end of the interval.
	// If unspecified, the duration is assumed to be infinite.
	Duration *DurationInfo `protobuf:"bytes,2,opt,name=duration" json:"duration,omitempty"`
}

* Represents an interval, from a given start time over a given duration. This interval pertains to an unavailability event, such as maintenance, and is not a generic interval.

func NewPopulatedUnavailability

func NewPopulatedUnavailability(r randyMesos, easy bool) *Unavailability

func (*Unavailability) Descriptor added in v0.0.4

func (*Unavailability) Descriptor() ([]byte, []int)

func (*Unavailability) Equal

func (this *Unavailability) Equal(that interface{}) bool

func (*Unavailability) GetDuration

func (m *Unavailability) GetDuration() *DurationInfo

func (*Unavailability) GetStart

func (m *Unavailability) GetStart() TimeInfo

func (*Unavailability) GoString

func (this *Unavailability) GoString() string

func (*Unavailability) Marshal

func (m *Unavailability) Marshal() (dAtA []byte, err error)

func (*Unavailability) MarshalJSON

func (mj *Unavailability) MarshalJSON() ([]byte, error)

func (*Unavailability) MarshalJSONBuf

func (mj *Unavailability) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Unavailability) MarshalTo

func (m *Unavailability) MarshalTo(dAtA []byte) (int, error)

func (*Unavailability) ProtoMessage

func (*Unavailability) ProtoMessage()

func (*Unavailability) ProtoSize added in v0.0.4

func (m *Unavailability) ProtoSize() (n int)

func (*Unavailability) Reset

func (m *Unavailability) Reset()

func (*Unavailability) String

func (this *Unavailability) String() string

func (*Unavailability) Unmarshal

func (m *Unavailability) Unmarshal(dAtA []byte) error

func (*Unavailability) UnmarshalJSON

func (uj *Unavailability) UnmarshalJSON(input []byte) error

func (*Unavailability) UnmarshalJSONFFLexer

func (uj *Unavailability) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Unavailability) VerboseEqual

func (this *Unavailability) VerboseEqual(that interface{}) error

type Value

type Value struct {
	Type   Value_Type    `protobuf:"varint,1,req,name=type,enum=mesos.Value_Type" json:"type"`
	Scalar *Value_Scalar `protobuf:"bytes,2,opt,name=scalar" json:"scalar,omitempty"`
	Ranges *Value_Ranges `protobuf:"bytes,3,opt,name=ranges" json:"ranges,omitempty"`
	Set    *Value_Set    `protobuf:"bytes,4,opt,name=set" json:"set,omitempty"`
	Text   *Value_Text   `protobuf:"bytes,5,opt,name=text" json:"text,omitempty"`
}

* Describes an Attribute or Resource "value". A value is described using the standard protocol buffer "union" trick.

func NewPopulatedValue

func NewPopulatedValue(r randyMesos, easy bool) *Value

func (*Value) Descriptor added in v0.0.4

func (*Value) Descriptor() ([]byte, []int)

func (*Value) Equal

func (this *Value) Equal(that interface{}) bool

func (*Value) GetRanges

func (m *Value) GetRanges() *Value_Ranges

func (*Value) GetScalar

func (m *Value) GetScalar() *Value_Scalar

func (*Value) GetSet

func (m *Value) GetSet() *Value_Set

func (*Value) GetText

func (m *Value) GetText() *Value_Text

func (*Value) GetType

func (m *Value) GetType() Value_Type

func (*Value) GoString

func (this *Value) GoString() string

func (*Value) Marshal

func (m *Value) Marshal() (dAtA []byte, err error)

func (*Value) MarshalJSON

func (mj *Value) MarshalJSON() ([]byte, error)

func (*Value) MarshalJSONBuf

func (mj *Value) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Value) MarshalTo

func (m *Value) MarshalTo(dAtA []byte) (int, error)

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoSize added in v0.0.4

func (m *Value) ProtoSize() (n int)

func (*Value) Reset

func (m *Value) Reset()

func (*Value) String

func (this *Value) String() string

func (*Value) Unmarshal

func (m *Value) Unmarshal(dAtA []byte) error

func (*Value) UnmarshalJSON

func (uj *Value) UnmarshalJSON(input []byte) error

func (*Value) UnmarshalJSONFFLexer

func (uj *Value) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Value) VerboseEqual

func (this *Value) VerboseEqual(that interface{}) error

type Value_Range

type Value_Range struct {
	Begin uint64 `protobuf:"varint,1,req,name=begin" json:"begin"`
	End   uint64 `protobuf:"varint,2,req,name=end" json:"end"`
}

func NewPopulatedValue_Range

func NewPopulatedValue_Range(r randyMesos, easy bool) *Value_Range

func (*Value_Range) Descriptor added in v0.0.4

func (*Value_Range) Descriptor() ([]byte, []int)

func (*Value_Range) Equal

func (this *Value_Range) Equal(that interface{}) bool

func (*Value_Range) GetBegin

func (m *Value_Range) GetBegin() uint64

func (*Value_Range) GetEnd

func (m *Value_Range) GetEnd() uint64

func (*Value_Range) GoString

func (this *Value_Range) GoString() string

func (*Value_Range) Marshal

func (m *Value_Range) Marshal() (dAtA []byte, err error)

func (*Value_Range) MarshalJSON

func (mj *Value_Range) MarshalJSON() ([]byte, error)

func (*Value_Range) MarshalJSONBuf

func (mj *Value_Range) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Value_Range) MarshalTo

func (m *Value_Range) MarshalTo(dAtA []byte) (int, error)

func (*Value_Range) ProtoMessage

func (*Value_Range) ProtoMessage()

func (*Value_Range) ProtoSize added in v0.0.4

func (m *Value_Range) ProtoSize() (n int)

func (*Value_Range) Reset

func (m *Value_Range) Reset()

func (*Value_Range) String

func (this *Value_Range) String() string

func (*Value_Range) Unmarshal

func (m *Value_Range) Unmarshal(dAtA []byte) error

func (*Value_Range) UnmarshalJSON

func (uj *Value_Range) UnmarshalJSON(input []byte) error

func (*Value_Range) UnmarshalJSONFFLexer

func (uj *Value_Range) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Value_Range) VerboseEqual

func (this *Value_Range) VerboseEqual(that interface{}) error

type Value_Ranges

type Value_Ranges struct {
	Range []Value_Range `protobuf:"bytes,1,rep,name=range" json:"range"`
}

func NewPopulatedValue_Ranges

func NewPopulatedValue_Ranges(r randyMesos, easy bool) *Value_Ranges

func (*Value_Ranges) Add

func (left *Value_Ranges) Add(right *Value_Ranges) *Value_Ranges

func (*Value_Ranges) Compare

func (left *Value_Ranges) Compare(right *Value_Ranges) int

func (*Value_Ranges) Descriptor added in v0.0.4

func (*Value_Ranges) Descriptor() ([]byte, []int)

func (*Value_Ranges) Equal

func (this *Value_Ranges) Equal(that interface{}) bool

func (*Value_Ranges) GetRange

func (m *Value_Ranges) GetRange() []Value_Range

func (*Value_Ranges) GoString

func (this *Value_Ranges) GoString() string

func (*Value_Ranges) Marshal

func (m *Value_Ranges) Marshal() (dAtA []byte, err error)

func (*Value_Ranges) MarshalJSON

func (mj *Value_Ranges) MarshalJSON() ([]byte, error)

func (*Value_Ranges) MarshalJSONBuf

func (mj *Value_Ranges) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Value_Ranges) MarshalTo

func (m *Value_Ranges) MarshalTo(dAtA []byte) (int, error)

func (*Value_Ranges) ProtoMessage

func (*Value_Ranges) ProtoMessage()

func (*Value_Ranges) ProtoSize added in v0.0.4

func (m *Value_Ranges) ProtoSize() (n int)

func (*Value_Ranges) Reset

func (m *Value_Ranges) Reset()

func (*Value_Ranges) String

func (this *Value_Ranges) String() string

func (*Value_Ranges) Subtract

func (left *Value_Ranges) Subtract(right *Value_Ranges) *Value_Ranges

func (*Value_Ranges) Unmarshal

func (m *Value_Ranges) Unmarshal(dAtA []byte) error

func (*Value_Ranges) UnmarshalJSON

func (uj *Value_Ranges) UnmarshalJSON(input []byte) error

func (*Value_Ranges) UnmarshalJSONFFLexer

func (uj *Value_Ranges) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Value_Ranges) VerboseEqual

func (this *Value_Ranges) VerboseEqual(that interface{}) error

type Value_Scalar

type Value_Scalar struct {
	// Scalar values are represented using floating point. To reduce
	// the chance of unpredictable floating point behavior due to
	// roundoff error, Mesos only supports three decimal digits of
	// precision for scalar resource values. That is, floating point
	// values are converted to a fixed point format that supports
	// three decimal digits of precision, and then converted back to
	// floating point on output. Any additional precision in scalar
	// resource values is discarded (via rounding).
	Value float64 `protobuf:"fixed64,1,req,name=value" json:"value"`
}

func NewPopulatedValue_Scalar

func NewPopulatedValue_Scalar(r randyMesos, easy bool) *Value_Scalar

func (*Value_Scalar) Add

func (left *Value_Scalar) Add(right *Value_Scalar) *Value_Scalar

func (*Value_Scalar) Compare

func (left *Value_Scalar) Compare(right *Value_Scalar) int

func (*Value_Scalar) Descriptor added in v0.0.4

func (*Value_Scalar) Descriptor() ([]byte, []int)

func (*Value_Scalar) Equal

func (this *Value_Scalar) Equal(that interface{}) bool

func (*Value_Scalar) GetValue

func (m *Value_Scalar) GetValue() float64

func (*Value_Scalar) GoString

func (this *Value_Scalar) GoString() string

func (*Value_Scalar) Marshal

func (m *Value_Scalar) Marshal() (dAtA []byte, err error)

func (*Value_Scalar) MarshalJSON

func (mj *Value_Scalar) MarshalJSON() ([]byte, error)

func (*Value_Scalar) MarshalJSONBuf

func (mj *Value_Scalar) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Value_Scalar) MarshalTo

func (m *Value_Scalar) MarshalTo(dAtA []byte) (int, error)

func (*Value_Scalar) ProtoMessage

func (*Value_Scalar) ProtoMessage()

func (*Value_Scalar) ProtoSize added in v0.0.4

func (m *Value_Scalar) ProtoSize() (n int)

func (*Value_Scalar) Reset

func (m *Value_Scalar) Reset()

func (*Value_Scalar) String

func (this *Value_Scalar) String() string

func (*Value_Scalar) Subtract

func (left *Value_Scalar) Subtract(right *Value_Scalar) *Value_Scalar

func (*Value_Scalar) Unmarshal

func (m *Value_Scalar) Unmarshal(dAtA []byte) error

func (*Value_Scalar) UnmarshalJSON

func (uj *Value_Scalar) UnmarshalJSON(input []byte) error

func (*Value_Scalar) UnmarshalJSONFFLexer

func (uj *Value_Scalar) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Value_Scalar) VerboseEqual

func (this *Value_Scalar) VerboseEqual(that interface{}) error

type Value_Set

type Value_Set struct {
	Item []string `protobuf:"bytes,1,rep,name=item" json:"item,omitempty"`
}

func NewPopulatedValue_Set

func NewPopulatedValue_Set(r randyMesos, easy bool) *Value_Set

func (*Value_Set) Add

func (left *Value_Set) Add(right *Value_Set) *Value_Set

func (*Value_Set) Compare

func (left *Value_Set) Compare(right *Value_Set) int

func (*Value_Set) Descriptor added in v0.0.4

func (*Value_Set) Descriptor() ([]byte, []int)

func (*Value_Set) Equal

func (this *Value_Set) Equal(that interface{}) bool

func (*Value_Set) GetItem

func (m *Value_Set) GetItem() []string

func (*Value_Set) GoString

func (this *Value_Set) GoString() string

func (*Value_Set) Marshal

func (m *Value_Set) Marshal() (dAtA []byte, err error)

func (*Value_Set) MarshalJSON

func (mj *Value_Set) MarshalJSON() ([]byte, error)

func (*Value_Set) MarshalJSONBuf

func (mj *Value_Set) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Value_Set) MarshalTo

func (m *Value_Set) MarshalTo(dAtA []byte) (int, error)

func (*Value_Set) ProtoMessage

func (*Value_Set) ProtoMessage()

func (*Value_Set) ProtoSize added in v0.0.4

func (m *Value_Set) ProtoSize() (n int)

func (*Value_Set) Reset

func (m *Value_Set) Reset()

func (*Value_Set) String

func (this *Value_Set) String() string

func (*Value_Set) Subtract

func (left *Value_Set) Subtract(right *Value_Set) *Value_Set

func (*Value_Set) Unmarshal

func (m *Value_Set) Unmarshal(dAtA []byte) error

func (*Value_Set) UnmarshalJSON

func (uj *Value_Set) UnmarshalJSON(input []byte) error

func (*Value_Set) UnmarshalJSONFFLexer

func (uj *Value_Set) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Value_Set) VerboseEqual

func (this *Value_Set) VerboseEqual(that interface{}) error

type Value_Text

type Value_Text struct {
	Value string `protobuf:"bytes,1,req,name=value" json:"value"`
}

func NewPopulatedValue_Text

func NewPopulatedValue_Text(r randyMesos, easy bool) *Value_Text

func (*Value_Text) Descriptor added in v0.0.4

func (*Value_Text) Descriptor() ([]byte, []int)

func (*Value_Text) Equal

func (this *Value_Text) Equal(that interface{}) bool

func (*Value_Text) GetValue

func (m *Value_Text) GetValue() string

func (*Value_Text) GoString

func (this *Value_Text) GoString() string

func (*Value_Text) Marshal

func (m *Value_Text) Marshal() (dAtA []byte, err error)

func (*Value_Text) MarshalJSON

func (mj *Value_Text) MarshalJSON() ([]byte, error)

func (*Value_Text) MarshalJSONBuf

func (mj *Value_Text) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Value_Text) MarshalTo

func (m *Value_Text) MarshalTo(dAtA []byte) (int, error)

func (*Value_Text) ProtoMessage

func (*Value_Text) ProtoMessage()

func (*Value_Text) ProtoSize added in v0.0.4

func (m *Value_Text) ProtoSize() (n int)

func (*Value_Text) Reset

func (m *Value_Text) Reset()

func (*Value_Text) String

func (this *Value_Text) String() string

func (*Value_Text) Unmarshal

func (m *Value_Text) Unmarshal(dAtA []byte) error

func (*Value_Text) UnmarshalJSON

func (uj *Value_Text) UnmarshalJSON(input []byte) error

func (*Value_Text) UnmarshalJSONFFLexer

func (uj *Value_Text) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Value_Text) VerboseEqual

func (this *Value_Text) VerboseEqual(that interface{}) error

type Value_Type

type Value_Type int32
const (
	SCALAR Value_Type = 0
	RANGES Value_Type = 1
	SET    Value_Type = 2
	TEXT   Value_Type = 3
)

func (Value_Type) Enum

func (x Value_Type) Enum() *Value_Type

func (Value_Type) EnumDescriptor added in v0.0.4

func (Value_Type) EnumDescriptor() ([]byte, []int)

func (Value_Type) MarshalJSON

func (x Value_Type) MarshalJSON() ([]byte, error)

func (Value_Type) String

func (x Value_Type) String() string

func (*Value_Type) UnmarshalJSON

func (x *Value_Type) UnmarshalJSON(data []byte) error

type VersionInfo

type VersionInfo struct {
	Version   string   `protobuf:"bytes,1,req,name=version" json:"version"`
	BuildDate *string  `protobuf:"bytes,2,opt,name=build_date,json=buildDate" json:"build_date,omitempty"`
	BuildTime *float64 `protobuf:"fixed64,3,opt,name=build_time,json=buildTime" json:"build_time,omitempty"`
	BuildUser *string  `protobuf:"bytes,4,opt,name=build_user,json=buildUser" json:"build_user,omitempty"`
	GitSHA    *string  `protobuf:"bytes,5,opt,name=git_sha,json=gitSha" json:"git_sha,omitempty"`
	GitBranch *string  `protobuf:"bytes,6,opt,name=git_branch,json=gitBranch" json:"git_branch,omitempty"`
	GitTag    *string  `protobuf:"bytes,7,opt,name=git_tag,json=gitTag" json:"git_tag,omitempty"`
}

* Version information of a component.

func NewPopulatedVersionInfo

func NewPopulatedVersionInfo(r randyMesos, easy bool) *VersionInfo

func (*VersionInfo) Descriptor added in v0.0.4

func (*VersionInfo) Descriptor() ([]byte, []int)

func (*VersionInfo) Equal

func (this *VersionInfo) Equal(that interface{}) bool

func (*VersionInfo) GetBuildDate

func (m *VersionInfo) GetBuildDate() string

func (*VersionInfo) GetBuildTime

func (m *VersionInfo) GetBuildTime() float64

func (*VersionInfo) GetBuildUser

func (m *VersionInfo) GetBuildUser() string

func (*VersionInfo) GetGitBranch

func (m *VersionInfo) GetGitBranch() string

func (*VersionInfo) GetGitSHA

func (m *VersionInfo) GetGitSHA() string

func (*VersionInfo) GetGitTag

func (m *VersionInfo) GetGitTag() string

func (*VersionInfo) GetVersion

func (m *VersionInfo) GetVersion() string

func (*VersionInfo) GoString

func (this *VersionInfo) GoString() string

func (*VersionInfo) Marshal

func (m *VersionInfo) Marshal() (dAtA []byte, err error)

func (*VersionInfo) MarshalJSON

func (mj *VersionInfo) MarshalJSON() ([]byte, error)

func (*VersionInfo) MarshalJSONBuf

func (mj *VersionInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*VersionInfo) MarshalTo

func (m *VersionInfo) MarshalTo(dAtA []byte) (int, error)

func (*VersionInfo) ProtoMessage

func (*VersionInfo) ProtoMessage()

func (*VersionInfo) ProtoSize added in v0.0.4

func (m *VersionInfo) ProtoSize() (n int)

func (*VersionInfo) Reset

func (m *VersionInfo) Reset()

func (*VersionInfo) String

func (this *VersionInfo) String() string

func (*VersionInfo) Unmarshal

func (m *VersionInfo) Unmarshal(dAtA []byte) error

func (*VersionInfo) UnmarshalJSON

func (uj *VersionInfo) UnmarshalJSON(input []byte) error

func (*VersionInfo) UnmarshalJSONFFLexer

func (uj *VersionInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*VersionInfo) VerboseEqual

func (this *VersionInfo) VerboseEqual(that interface{}) error

type Volume

type Volume struct {
	// TODO(gyliu513): Make this as `optional` after deprecation cycle of 1.0.
	Mode *Volume_Mode `protobuf:"varint,3,req,name=mode,enum=mesos.Volume_Mode" json:"mode,omitempty"`
	// Path pointing to a directory or file in the container. If the
	// path is a relative path, it is relative to the container work
	// directory. If the path is an absolute path, that path must
	// already exist.
	ContainerPath string `protobuf:"bytes,1,req,name=container_path,json=containerPath" json:"container_path"`
	// Absolute path pointing to a directory or file on the host or a
	// path relative to the container work directory.
	HostPath *string `protobuf:"bytes,2,opt,name=host_path,json=hostPath" json:"host_path,omitempty"`
	// The source of the volume is an Image which describes a root
	// filesystem which will be provisioned by Mesos.
	Image  *Image         `protobuf:"bytes,4,opt,name=image" json:"image,omitempty"`
	Source *Volume_Source `protobuf:"bytes,5,opt,name=source" json:"source,omitempty"`
}

* Describes a volume mapping either from host to container or vice versa. Both paths can either refer to a directory or a file.

func NewPopulatedVolume

func NewPopulatedVolume(r randyMesos, easy bool) *Volume

func (*Volume) Descriptor added in v0.0.4

func (*Volume) Descriptor() ([]byte, []int)

func (*Volume) Equal

func (this *Volume) Equal(that interface{}) bool

func (*Volume) GetContainerPath

func (m *Volume) GetContainerPath() string

func (*Volume) GetHostPath

func (m *Volume) GetHostPath() string

func (*Volume) GetImage

func (m *Volume) GetImage() *Image

func (*Volume) GetMode

func (m *Volume) GetMode() Volume_Mode

func (*Volume) GetSource

func (m *Volume) GetSource() *Volume_Source

func (*Volume) GoString

func (this *Volume) GoString() string

func (*Volume) Marshal

func (m *Volume) Marshal() (dAtA []byte, err error)

func (*Volume) MarshalJSON

func (mj *Volume) MarshalJSON() ([]byte, error)

func (*Volume) MarshalJSONBuf

func (mj *Volume) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Volume) MarshalTo

func (m *Volume) MarshalTo(dAtA []byte) (int, error)

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) ProtoSize added in v0.0.4

func (m *Volume) ProtoSize() (n int)

func (*Volume) Reset

func (m *Volume) Reset()

func (*Volume) String

func (this *Volume) String() string

func (*Volume) Unmarshal

func (m *Volume) Unmarshal(dAtA []byte) error

func (*Volume) UnmarshalJSON

func (uj *Volume) UnmarshalJSON(input []byte) error

func (*Volume) UnmarshalJSONFFLexer

func (uj *Volume) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Volume) VerboseEqual

func (this *Volume) VerboseEqual(that interface{}) error

type Volume_Mode

type Volume_Mode int32
const (
	RW Volume_Mode = 1
	RO Volume_Mode = 2
)

func (Volume_Mode) Enum

func (x Volume_Mode) Enum() *Volume_Mode

func (Volume_Mode) EnumDescriptor added in v0.0.4

func (Volume_Mode) EnumDescriptor() ([]byte, []int)

func (Volume_Mode) MarshalJSON

func (x Volume_Mode) MarshalJSON() ([]byte, error)

func (Volume_Mode) String

func (x Volume_Mode) String() string

func (*Volume_Mode) UnmarshalJSON

func (x *Volume_Mode) UnmarshalJSON(data []byte) error

type Volume_Source

type Volume_Source struct {
	// Enum fields should be optional, see: MESOS-4997.
	Type Volume_Source_Type `protobuf:"varint,1,opt,name=type,enum=mesos.Volume_Source_Type" json:"type"`
	// The source of the volume created by docker volume driver.
	DockerVolume *Volume_Source_DockerVolume `protobuf:"bytes,2,opt,name=docker_volume,json=dockerVolume" json:"docker_volume,omitempty"`
	HostPath     *Volume_Source_HostPath     `protobuf:"bytes,5,opt,name=host_path,json=hostPath" json:"host_path,omitempty"`
	SandboxPath  *Volume_Source_SandboxPath  `protobuf:"bytes,3,opt,name=sandbox_path,json=sandboxPath" json:"sandbox_path,omitempty"`
	// The volume/secret isolator uses the secret-fetcher module (third-party or
	// internal) downloads the secret and makes it available at container_path.
	Secret *Secret `protobuf:"bytes,4,opt,name=secret" json:"secret,omitempty"`
}

Describes where a volume originates from.

func NewPopulatedVolume_Source

func NewPopulatedVolume_Source(r randyMesos, easy bool) *Volume_Source

func (*Volume_Source) Descriptor added in v0.0.4

func (*Volume_Source) Descriptor() ([]byte, []int)

func (*Volume_Source) Equal

func (this *Volume_Source) Equal(that interface{}) bool

func (*Volume_Source) GetDockerVolume

func (m *Volume_Source) GetDockerVolume() *Volume_Source_DockerVolume

func (*Volume_Source) GetHostPath added in v0.0.7

func (m *Volume_Source) GetHostPath() *Volume_Source_HostPath

func (*Volume_Source) GetSandboxPath

func (m *Volume_Source) GetSandboxPath() *Volume_Source_SandboxPath

func (*Volume_Source) GetSecret added in v0.0.5

func (m *Volume_Source) GetSecret() *Secret

func (*Volume_Source) GetType

func (m *Volume_Source) GetType() Volume_Source_Type

func (*Volume_Source) GoString

func (this *Volume_Source) GoString() string

func (*Volume_Source) Marshal

func (m *Volume_Source) Marshal() (dAtA []byte, err error)

func (*Volume_Source) MarshalJSON

func (mj *Volume_Source) MarshalJSON() ([]byte, error)

func (*Volume_Source) MarshalJSONBuf

func (mj *Volume_Source) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Volume_Source) MarshalTo

func (m *Volume_Source) MarshalTo(dAtA []byte) (int, error)

func (*Volume_Source) ProtoMessage

func (*Volume_Source) ProtoMessage()

func (*Volume_Source) ProtoSize added in v0.0.4

func (m *Volume_Source) ProtoSize() (n int)

func (*Volume_Source) Reset

func (m *Volume_Source) Reset()

func (*Volume_Source) String

func (this *Volume_Source) String() string

func (*Volume_Source) Unmarshal

func (m *Volume_Source) Unmarshal(dAtA []byte) error

func (*Volume_Source) UnmarshalJSON

func (uj *Volume_Source) UnmarshalJSON(input []byte) error

func (*Volume_Source) UnmarshalJSONFFLexer

func (uj *Volume_Source) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Volume_Source) VerboseEqual

func (this *Volume_Source) VerboseEqual(that interface{}) error

type Volume_Source_DockerVolume

type Volume_Source_DockerVolume struct {
	// Driver of the volume, it can be flocker, convoy, raxrey etc.
	Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"`
	// Name of the volume.
	Name string `protobuf:"bytes,2,req,name=name" json:"name"`
	// Volume driver specific options.
	DriverOptions *Parameters `protobuf:"bytes,3,opt,name=driver_options,json=driverOptions" json:"driver_options,omitempty"`
}

func NewPopulatedVolume_Source_DockerVolume

func NewPopulatedVolume_Source_DockerVolume(r randyMesos, easy bool) *Volume_Source_DockerVolume

func (*Volume_Source_DockerVolume) Descriptor added in v0.0.4

func (*Volume_Source_DockerVolume) Descriptor() ([]byte, []int)

func (*Volume_Source_DockerVolume) Equal

func (this *Volume_Source_DockerVolume) Equal(that interface{}) bool

func (*Volume_Source_DockerVolume) GetDriver

func (m *Volume_Source_DockerVolume) GetDriver() string

func (*Volume_Source_DockerVolume) GetDriverOptions

func (m *Volume_Source_DockerVolume) GetDriverOptions() *Parameters

func (*Volume_Source_DockerVolume) GetName

func (m *Volume_Source_DockerVolume) GetName() string

func (*Volume_Source_DockerVolume) GoString

func (this *Volume_Source_DockerVolume) GoString() string

func (*Volume_Source_DockerVolume) Marshal

func (m *Volume_Source_DockerVolume) Marshal() (dAtA []byte, err error)

func (*Volume_Source_DockerVolume) MarshalJSON

func (mj *Volume_Source_DockerVolume) MarshalJSON() ([]byte, error)

func (*Volume_Source_DockerVolume) MarshalJSONBuf

func (mj *Volume_Source_DockerVolume) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Volume_Source_DockerVolume) MarshalTo

func (m *Volume_Source_DockerVolume) MarshalTo(dAtA []byte) (int, error)

func (*Volume_Source_DockerVolume) ProtoMessage

func (*Volume_Source_DockerVolume) ProtoMessage()

func (*Volume_Source_DockerVolume) ProtoSize added in v0.0.4

func (m *Volume_Source_DockerVolume) ProtoSize() (n int)

func (*Volume_Source_DockerVolume) Reset

func (m *Volume_Source_DockerVolume) Reset()

func (*Volume_Source_DockerVolume) String

func (this *Volume_Source_DockerVolume) String() string

func (*Volume_Source_DockerVolume) Unmarshal

func (m *Volume_Source_DockerVolume) Unmarshal(dAtA []byte) error

func (*Volume_Source_DockerVolume) UnmarshalJSON

func (uj *Volume_Source_DockerVolume) UnmarshalJSON(input []byte) error

func (*Volume_Source_DockerVolume) UnmarshalJSONFFLexer

func (uj *Volume_Source_DockerVolume) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Volume_Source_DockerVolume) VerboseEqual

func (this *Volume_Source_DockerVolume) VerboseEqual(that interface{}) error

type Volume_Source_HostPath added in v0.0.7

type Volume_Source_HostPath struct {
	Path             string            `protobuf:"bytes,1,req,name=path" json:"path"`
	MountPropagation *MountPropagation `protobuf:"bytes,2,opt,name=mount_propagation,json=mountPropagation" json:"mount_propagation,omitempty"`
}

Absolute path pointing to a directory or file on the host.

func NewPopulatedVolume_Source_HostPath added in v0.0.7

func NewPopulatedVolume_Source_HostPath(r randyMesos, easy bool) *Volume_Source_HostPath

func (*Volume_Source_HostPath) Descriptor added in v0.0.7

func (*Volume_Source_HostPath) Descriptor() ([]byte, []int)

func (*Volume_Source_HostPath) Equal added in v0.0.7

func (this *Volume_Source_HostPath) Equal(that interface{}) bool

func (*Volume_Source_HostPath) GetMountPropagation added in v0.0.7

func (m *Volume_Source_HostPath) GetMountPropagation() *MountPropagation

func (*Volume_Source_HostPath) GetPath added in v0.0.7

func (m *Volume_Source_HostPath) GetPath() string

func (*Volume_Source_HostPath) GoString added in v0.0.7

func (this *Volume_Source_HostPath) GoString() string

func (*Volume_Source_HostPath) Marshal added in v0.0.7

func (m *Volume_Source_HostPath) Marshal() (dAtA []byte, err error)

func (*Volume_Source_HostPath) MarshalJSON added in v0.0.7

func (mj *Volume_Source_HostPath) MarshalJSON() ([]byte, error)

func (*Volume_Source_HostPath) MarshalJSONBuf added in v0.0.7

func (mj *Volume_Source_HostPath) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Volume_Source_HostPath) MarshalTo added in v0.0.7

func (m *Volume_Source_HostPath) MarshalTo(dAtA []byte) (int, error)

func (*Volume_Source_HostPath) ProtoMessage added in v0.0.7

func (*Volume_Source_HostPath) ProtoMessage()

func (*Volume_Source_HostPath) ProtoSize added in v0.0.7

func (m *Volume_Source_HostPath) ProtoSize() (n int)

func (*Volume_Source_HostPath) Reset added in v0.0.7

func (m *Volume_Source_HostPath) Reset()

func (*Volume_Source_HostPath) String added in v0.0.7

func (this *Volume_Source_HostPath) String() string

func (*Volume_Source_HostPath) Unmarshal added in v0.0.7

func (m *Volume_Source_HostPath) Unmarshal(dAtA []byte) error

func (*Volume_Source_HostPath) UnmarshalJSON added in v0.0.7

func (uj *Volume_Source_HostPath) UnmarshalJSON(input []byte) error

func (*Volume_Source_HostPath) UnmarshalJSONFFLexer added in v0.0.7

func (uj *Volume_Source_HostPath) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Volume_Source_HostPath) VerboseEqual added in v0.0.7

func (this *Volume_Source_HostPath) VerboseEqual(that interface{}) error

type Volume_Source_SandboxPath

type Volume_Source_SandboxPath struct {
	Type Volume_Source_SandboxPath_Type `protobuf:"varint,1,opt,name=type,enum=mesos.Volume_Source_SandboxPath_Type" json:"type"`
	// A path relative to the corresponding container's sandbox.
	// Note that upwards traversal (i.e. ../../abc) is not allowed.
	Path string `protobuf:"bytes,2,req,name=path" json:"path"`
}

Describe a path from a container's sandbox. The container can be the current container (SELF), or its parent container (PARENT). PARENT allows all child containers to share a volume from their parent container's sandbox. It'll be an error if the current container is a top level container.

func NewPopulatedVolume_Source_SandboxPath

func NewPopulatedVolume_Source_SandboxPath(r randyMesos, easy bool) *Volume_Source_SandboxPath

func (*Volume_Source_SandboxPath) Descriptor added in v0.0.4

func (*Volume_Source_SandboxPath) Descriptor() ([]byte, []int)

func (*Volume_Source_SandboxPath) Equal

func (this *Volume_Source_SandboxPath) Equal(that interface{}) bool

func (*Volume_Source_SandboxPath) GetPath

func (m *Volume_Source_SandboxPath) GetPath() string

func (*Volume_Source_SandboxPath) GetType

func (*Volume_Source_SandboxPath) GoString

func (this *Volume_Source_SandboxPath) GoString() string

func (*Volume_Source_SandboxPath) Marshal

func (m *Volume_Source_SandboxPath) Marshal() (dAtA []byte, err error)

func (*Volume_Source_SandboxPath) MarshalJSON

func (mj *Volume_Source_SandboxPath) MarshalJSON() ([]byte, error)

func (*Volume_Source_SandboxPath) MarshalJSONBuf

func (mj *Volume_Source_SandboxPath) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Volume_Source_SandboxPath) MarshalTo

func (m *Volume_Source_SandboxPath) MarshalTo(dAtA []byte) (int, error)

func (*Volume_Source_SandboxPath) ProtoMessage

func (*Volume_Source_SandboxPath) ProtoMessage()

func (*Volume_Source_SandboxPath) ProtoSize added in v0.0.4

func (m *Volume_Source_SandboxPath) ProtoSize() (n int)

func (*Volume_Source_SandboxPath) Reset

func (m *Volume_Source_SandboxPath) Reset()

func (*Volume_Source_SandboxPath) String

func (this *Volume_Source_SandboxPath) String() string

func (*Volume_Source_SandboxPath) Unmarshal

func (m *Volume_Source_SandboxPath) Unmarshal(dAtA []byte) error

func (*Volume_Source_SandboxPath) UnmarshalJSON

func (uj *Volume_Source_SandboxPath) UnmarshalJSON(input []byte) error

func (*Volume_Source_SandboxPath) UnmarshalJSONFFLexer

func (uj *Volume_Source_SandboxPath) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*Volume_Source_SandboxPath) VerboseEqual

func (this *Volume_Source_SandboxPath) VerboseEqual(that interface{}) error

type Volume_Source_SandboxPath_Type

type Volume_Source_SandboxPath_Type int32
const (
	Volume_Source_SandboxPath_UNKNOWN Volume_Source_SandboxPath_Type = 0
	Volume_Source_SandboxPath_SELF    Volume_Source_SandboxPath_Type = 1
	Volume_Source_SandboxPath_PARENT  Volume_Source_SandboxPath_Type = 2
)

func (Volume_Source_SandboxPath_Type) Enum

func (Volume_Source_SandboxPath_Type) EnumDescriptor added in v0.0.4

func (Volume_Source_SandboxPath_Type) EnumDescriptor() ([]byte, []int)

func (Volume_Source_SandboxPath_Type) MarshalJSON

func (x Volume_Source_SandboxPath_Type) MarshalJSON() ([]byte, error)

func (Volume_Source_SandboxPath_Type) String

func (*Volume_Source_SandboxPath_Type) UnmarshalJSON

func (x *Volume_Source_SandboxPath_Type) UnmarshalJSON(data []byte) error

type Volume_Source_Type

type Volume_Source_Type int32
const (
	// This must be the first enum value in this list, to
	// ensure that if 'type' is not set, the default value
	// is UNKNOWN. This enables enum values to be added
	// in a backwards-compatible way. See: MESOS-4997.
	Volume_Source_UNKNOWN Volume_Source_Type = 0
	// TODO(gyliu513): Add IMAGE as volume source type.
	Volume_Source_DOCKER_VOLUME Volume_Source_Type = 1
	Volume_Source_HOST_PATH     Volume_Source_Type = 4
	Volume_Source_SANDBOX_PATH  Volume_Source_Type = 2
	Volume_Source_SECRET        Volume_Source_Type = 3
)

func (Volume_Source_Type) Enum

func (Volume_Source_Type) EnumDescriptor added in v0.0.4

func (Volume_Source_Type) EnumDescriptor() ([]byte, []int)

func (Volume_Source_Type) MarshalJSON

func (x Volume_Source_Type) MarshalJSON() ([]byte, error)

func (Volume_Source_Type) String

func (x Volume_Source_Type) String() string

func (*Volume_Source_Type) UnmarshalJSON

func (x *Volume_Source_Type) UnmarshalJSON(data []byte) error

type WeightInfo

type WeightInfo struct {
	Weight float64 `protobuf:"fixed64,1,req,name=weight" json:"weight"`
	// Related role name.
	Role *string `protobuf:"bytes,2,opt,name=role" json:"role,omitempty"`
}

* Named WeightInfo to indicate resource allocation priority between the different roles.

func NewPopulatedWeightInfo

func NewPopulatedWeightInfo(r randyMesos, easy bool) *WeightInfo

func (*WeightInfo) Descriptor added in v0.0.4

func (*WeightInfo) Descriptor() ([]byte, []int)

func (*WeightInfo) Equal

func (this *WeightInfo) Equal(that interface{}) bool

func (*WeightInfo) GetRole

func (m *WeightInfo) GetRole() string

func (*WeightInfo) GetWeight

func (m *WeightInfo) GetWeight() float64

func (*WeightInfo) GoString

func (this *WeightInfo) GoString() string

func (*WeightInfo) Marshal

func (m *WeightInfo) Marshal() (dAtA []byte, err error)

func (*WeightInfo) MarshalJSON

func (mj *WeightInfo) MarshalJSON() ([]byte, error)

func (*WeightInfo) MarshalJSONBuf

func (mj *WeightInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*WeightInfo) MarshalTo

func (m *WeightInfo) MarshalTo(dAtA []byte) (int, error)

func (*WeightInfo) ProtoMessage

func (*WeightInfo) ProtoMessage()

func (*WeightInfo) ProtoSize added in v0.0.4

func (m *WeightInfo) ProtoSize() (n int)

func (*WeightInfo) Reset

func (m *WeightInfo) Reset()

func (*WeightInfo) String

func (this *WeightInfo) String() string

func (*WeightInfo) Unmarshal

func (m *WeightInfo) Unmarshal(dAtA []byte) error

func (*WeightInfo) UnmarshalJSON

func (uj *WeightInfo) UnmarshalJSON(input []byte) error

func (*WeightInfo) UnmarshalJSONFFLexer

func (uj *WeightInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

func (*WeightInfo) VerboseEqual

func (this *WeightInfo) VerboseEqual(that interface{}) error

Directories

Path Synopsis
Package agent is a generated protocol buffer package.
Package agent is a generated protocol buffer package.
Package allocator is a generated protocol buffer package.
Package allocator is a generated protocol buffer package.
proto
Package proto implements protobuf utilities such as functional options to construct complex structs and encoders and decoders composable with io.ReadWriters.
Package proto implements protobuf utilities such as functional options to construct complex structs and encoders and decoders composable with io.ReadWriters.
Package executor is a generated protocol buffer package.
Package executor is a generated protocol buffer package.
extras
Package maintenance is a generated protocol buffer package.
Package maintenance is a generated protocol buffer package.
Package master is a generated protocol buffer package.
Package master is a generated protocol buffer package.
Package quota is a generated protocol buffer package.
Package quota is a generated protocol buffer package.
Package recordio implements the Mesos variant of RecordIO framing, whereby each record is prefixed by a line that indicates the length of the record in decimal ASCII.
Package recordio implements the Mesos variant of RecordIO framing, whereby each record is prefixed by a line that indicates the length of the record in decimal ASCII.
Package scheduler is a generated protocol buffer package.
Package scheduler is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL