Documentation ¶
Overview ¶
Package mesosproto is a generated protocol buffer package.
It is generated from these files:
authentication.proto internal.proto mesos.proto messages.proto
It has these top-level messages:
AuthenticateMessage AuthenticationMechanismsMessage AuthenticationStartMessage AuthenticationStepMessage AuthenticationCompletedMessage AuthenticationFailedMessage AuthenticationErrorMessage InternalMasterChangeDetected InternalTryAuthentication InternalAuthenticationResult InternalNetworkError FrameworkID OfferID SlaveID TaskID ExecutorID ContainerID TimeInfo DurationInfo Address URL Unavailability MachineID MachineInfo FrameworkInfo HealthCheck CommandInfo ExecutorInfo MasterInfo SlaveInfo Value Attribute Resource TrafficControlStatistics ResourceStatistics ResourceUsage PerfStatistics Request Offer InverseOffer TaskInfo TaskStatus Filters Environment Parameter Parameters Credential Credentials RateLimit RateLimits Image Volume NetworkInfo ContainerInfo ContainerStatus Labels Label Port Ports DiscoveryInfo AppcImageManifest Task StatusUpdate StatusUpdateRecord SubmitSchedulerRequest SubmitSchedulerResponse ExecutorToFrameworkMessage FrameworkToExecutorMessage RegisterFrameworkMessage ReregisterFrameworkMessage FrameworkRegisteredMessage FrameworkReregisteredMessage UnregisterFrameworkMessage DeactivateFrameworkMessage ResourceRequestMessage ResourceOffersMessage LaunchTasksMessage RescindResourceOfferMessage ReviveOffersMessage RunTaskMessage KillTaskMessage StatusUpdateMessage StatusUpdateAcknowledgementMessage LostSlaveMessage ReconcileTasksMessage FrameworkErrorMessage RegisterSlaveMessage ReregisterSlaveMessage SlaveRegisteredMessage SlaveReregisteredMessage UnregisterSlaveMessage MasterSlaveConnection PingSlaveMessage PongSlaveMessage ShutdownFrameworkMessage ShutdownExecutorMessage UpdateFrameworkMessage CheckpointResourcesMessage UpdateSlaveMessage RegisterExecutorMessage ExecutorRegisteredMessage ExecutorReregisteredMessage ExitedExecutorMessage ReconnectExecutorMessage ReregisterExecutorMessage ShutdownMessage Archive TaskHealthStatus HookExecuted
Index ¶
- Constants
- Variables
- type Address
- func (this *Address) Equal(that interface{}) bool
- func (m *Address) GetHostname() string
- func (m *Address) GetIp() string
- func (m *Address) GetPort() int32
- func (this *Address) GoString() string
- func (m *Address) Marshal() (data []byte, err error)
- func (m *Address) MarshalTo(data []byte) (int, error)
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) Size() (n int)
- func (this *Address) String() string
- func (m *Address) Unmarshal(data []byte) error
- func (this *Address) VerboseEqual(that interface{}) error
- type AppcImageManifest
- func (this *AppcImageManifest) Equal(that interface{}) bool
- func (m *AppcImageManifest) GetAcKind() string
- func (m *AppcImageManifest) GetAcVersion() string
- func (m *AppcImageManifest) GetAnnotations() []*AppcImageManifest_Annotation
- func (m *AppcImageManifest) GetLabels() []*AppcImageManifest_Label
- func (m *AppcImageManifest) GetName() string
- func (this *AppcImageManifest) GoString() string
- func (m *AppcImageManifest) Marshal() (data []byte, err error)
- func (m *AppcImageManifest) MarshalTo(data []byte) (int, error)
- func (*AppcImageManifest) ProtoMessage()
- func (m *AppcImageManifest) Reset()
- func (m *AppcImageManifest) Size() (n int)
- func (this *AppcImageManifest) String() string
- func (m *AppcImageManifest) Unmarshal(data []byte) error
- func (this *AppcImageManifest) VerboseEqual(that interface{}) error
- type AppcImageManifest_Annotation
- func (this *AppcImageManifest_Annotation) Equal(that interface{}) bool
- func (m *AppcImageManifest_Annotation) GetName() string
- func (m *AppcImageManifest_Annotation) GetValue() string
- func (this *AppcImageManifest_Annotation) GoString() string
- func (m *AppcImageManifest_Annotation) Marshal() (data []byte, err error)
- func (m *AppcImageManifest_Annotation) MarshalTo(data []byte) (int, error)
- func (*AppcImageManifest_Annotation) ProtoMessage()
- func (m *AppcImageManifest_Annotation) Reset()
- func (m *AppcImageManifest_Annotation) Size() (n int)
- func (this *AppcImageManifest_Annotation) String() string
- func (m *AppcImageManifest_Annotation) Unmarshal(data []byte) error
- func (this *AppcImageManifest_Annotation) VerboseEqual(that interface{}) error
- type AppcImageManifest_Label
- func (this *AppcImageManifest_Label) Equal(that interface{}) bool
- func (m *AppcImageManifest_Label) GetName() string
- func (m *AppcImageManifest_Label) GetValue() string
- func (this *AppcImageManifest_Label) GoString() string
- func (m *AppcImageManifest_Label) Marshal() (data []byte, err error)
- func (m *AppcImageManifest_Label) MarshalTo(data []byte) (int, error)
- func (*AppcImageManifest_Label) ProtoMessage()
- func (m *AppcImageManifest_Label) Reset()
- func (m *AppcImageManifest_Label) Size() (n int)
- func (this *AppcImageManifest_Label) String() string
- func (m *AppcImageManifest_Label) Unmarshal(data []byte) error
- func (this *AppcImageManifest_Label) VerboseEqual(that interface{}) error
- type Archive
- func (this *Archive) Equal(that interface{}) bool
- func (m *Archive) GetFrameworks() []*Archive_Framework
- func (this *Archive) GoString() string
- func (m *Archive) Marshal() (data []byte, err error)
- func (m *Archive) MarshalTo(data []byte) (int, error)
- func (*Archive) ProtoMessage()
- func (m *Archive) Reset()
- func (m *Archive) Size() (n int)
- func (this *Archive) String() string
- func (m *Archive) Unmarshal(data []byte) error
- func (this *Archive) VerboseEqual(that interface{}) error
- type Archive_Framework
- func (this *Archive_Framework) Equal(that interface{}) bool
- func (m *Archive_Framework) GetFrameworkInfo() *FrameworkInfo
- func (m *Archive_Framework) GetPid() string
- func (m *Archive_Framework) GetTasks() []*Task
- func (this *Archive_Framework) GoString() string
- func (m *Archive_Framework) Marshal() (data []byte, err error)
- func (m *Archive_Framework) MarshalTo(data []byte) (int, error)
- func (*Archive_Framework) ProtoMessage()
- func (m *Archive_Framework) Reset()
- func (m *Archive_Framework) Size() (n int)
- func (this *Archive_Framework) String() string
- func (m *Archive_Framework) Unmarshal(data []byte) error
- func (this *Archive_Framework) VerboseEqual(that interface{}) error
- type Attribute
- func (this *Attribute) Equal(that interface{}) bool
- func (m *Attribute) GetName() string
- func (m *Attribute) GetRanges() *Value_Ranges
- func (m *Attribute) GetScalar() *Value_Scalar
- func (m *Attribute) GetSet() *Value_Set
- func (m *Attribute) GetText() *Value_Text
- func (m *Attribute) GetType() Value_Type
- func (this *Attribute) GoString() string
- func (m *Attribute) Marshal() (data []byte, err error)
- func (m *Attribute) MarshalTo(data []byte) (int, error)
- func (*Attribute) ProtoMessage()
- func (m *Attribute) Reset()
- func (m *Attribute) Size() (n int)
- func (this *Attribute) String() string
- func (m *Attribute) Unmarshal(data []byte) error
- func (this *Attribute) VerboseEqual(that interface{}) error
- type AuthenticateMessage
- func (this *AuthenticateMessage) Equal(that interface{}) bool
- func (m *AuthenticateMessage) GetPid() string
- func (this *AuthenticateMessage) GoString() string
- func (m *AuthenticateMessage) Marshal() (data []byte, err error)
- func (m *AuthenticateMessage) MarshalTo(data []byte) (int, error)
- func (*AuthenticateMessage) ProtoMessage()
- func (m *AuthenticateMessage) Reset()
- func (m *AuthenticateMessage) Size() (n int)
- func (this *AuthenticateMessage) String() string
- func (m *AuthenticateMessage) Unmarshal(data []byte) error
- func (this *AuthenticateMessage) VerboseEqual(that interface{}) error
- type AuthenticationCompletedMessage
- func (this *AuthenticationCompletedMessage) Equal(that interface{}) bool
- func (this *AuthenticationCompletedMessage) GoString() string
- func (m *AuthenticationCompletedMessage) Marshal() (data []byte, err error)
- func (m *AuthenticationCompletedMessage) MarshalTo(data []byte) (int, error)
- func (*AuthenticationCompletedMessage) ProtoMessage()
- func (m *AuthenticationCompletedMessage) Reset()
- func (m *AuthenticationCompletedMessage) Size() (n int)
- func (this *AuthenticationCompletedMessage) String() string
- func (m *AuthenticationCompletedMessage) Unmarshal(data []byte) error
- func (this *AuthenticationCompletedMessage) VerboseEqual(that interface{}) error
- type AuthenticationErrorMessage
- func (this *AuthenticationErrorMessage) Equal(that interface{}) bool
- func (m *AuthenticationErrorMessage) GetError() string
- func (this *AuthenticationErrorMessage) GoString() string
- func (m *AuthenticationErrorMessage) Marshal() (data []byte, err error)
- func (m *AuthenticationErrorMessage) MarshalTo(data []byte) (int, error)
- func (*AuthenticationErrorMessage) ProtoMessage()
- func (m *AuthenticationErrorMessage) Reset()
- func (m *AuthenticationErrorMessage) Size() (n int)
- func (this *AuthenticationErrorMessage) String() string
- func (m *AuthenticationErrorMessage) Unmarshal(data []byte) error
- func (this *AuthenticationErrorMessage) VerboseEqual(that interface{}) error
- type AuthenticationFailedMessage
- func (this *AuthenticationFailedMessage) Equal(that interface{}) bool
- func (this *AuthenticationFailedMessage) GoString() string
- func (m *AuthenticationFailedMessage) Marshal() (data []byte, err error)
- func (m *AuthenticationFailedMessage) MarshalTo(data []byte) (int, error)
- func (*AuthenticationFailedMessage) ProtoMessage()
- func (m *AuthenticationFailedMessage) Reset()
- func (m *AuthenticationFailedMessage) Size() (n int)
- func (this *AuthenticationFailedMessage) String() string
- func (m *AuthenticationFailedMessage) Unmarshal(data []byte) error
- func (this *AuthenticationFailedMessage) VerboseEqual(that interface{}) error
- type AuthenticationMechanismsMessage
- func (this *AuthenticationMechanismsMessage) Equal(that interface{}) bool
- func (m *AuthenticationMechanismsMessage) GetMechanisms() []string
- func (this *AuthenticationMechanismsMessage) GoString() string
- func (m *AuthenticationMechanismsMessage) Marshal() (data []byte, err error)
- func (m *AuthenticationMechanismsMessage) MarshalTo(data []byte) (int, error)
- func (*AuthenticationMechanismsMessage) ProtoMessage()
- func (m *AuthenticationMechanismsMessage) Reset()
- func (m *AuthenticationMechanismsMessage) Size() (n int)
- func (this *AuthenticationMechanismsMessage) String() string
- func (m *AuthenticationMechanismsMessage) Unmarshal(data []byte) error
- func (this *AuthenticationMechanismsMessage) VerboseEqual(that interface{}) error
- type AuthenticationStartMessage
- func (this *AuthenticationStartMessage) Equal(that interface{}) bool
- func (m *AuthenticationStartMessage) GetData() []byte
- func (m *AuthenticationStartMessage) GetMechanism() string
- func (this *AuthenticationStartMessage) GoString() string
- func (m *AuthenticationStartMessage) Marshal() (data []byte, err error)
- func (m *AuthenticationStartMessage) MarshalTo(data []byte) (int, error)
- func (*AuthenticationStartMessage) ProtoMessage()
- func (m *AuthenticationStartMessage) Reset()
- func (m *AuthenticationStartMessage) Size() (n int)
- func (this *AuthenticationStartMessage) String() string
- func (m *AuthenticationStartMessage) Unmarshal(data []byte) error
- func (this *AuthenticationStartMessage) VerboseEqual(that interface{}) error
- type AuthenticationStepMessage
- func (this *AuthenticationStepMessage) Equal(that interface{}) bool
- func (m *AuthenticationStepMessage) GetData() []byte
- func (this *AuthenticationStepMessage) GoString() string
- func (m *AuthenticationStepMessage) Marshal() (data []byte, err error)
- func (m *AuthenticationStepMessage) MarshalTo(data []byte) (int, error)
- func (*AuthenticationStepMessage) ProtoMessage()
- func (m *AuthenticationStepMessage) Reset()
- func (m *AuthenticationStepMessage) Size() (n int)
- func (this *AuthenticationStepMessage) String() string
- func (m *AuthenticationStepMessage) Unmarshal(data []byte) error
- func (this *AuthenticationStepMessage) VerboseEqual(that interface{}) error
- type CheckpointResourcesMessage
- func (this *CheckpointResourcesMessage) Equal(that interface{}) bool
- func (m *CheckpointResourcesMessage) GetResources() []*Resource
- func (this *CheckpointResourcesMessage) GoString() string
- func (m *CheckpointResourcesMessage) Marshal() (data []byte, err error)
- func (m *CheckpointResourcesMessage) MarshalTo(data []byte) (int, error)
- func (*CheckpointResourcesMessage) ProtoMessage()
- func (m *CheckpointResourcesMessage) Reset()
- func (m *CheckpointResourcesMessage) Size() (n int)
- func (this *CheckpointResourcesMessage) String() string
- func (m *CheckpointResourcesMessage) Unmarshal(data []byte) error
- func (this *CheckpointResourcesMessage) VerboseEqual(that interface{}) error
- type CommandInfo
- func (this *CommandInfo) Equal(that interface{}) bool
- func (m *CommandInfo) GetArguments() []string
- func (m *CommandInfo) GetContainer() *CommandInfo_ContainerInfo
- func (m *CommandInfo) GetEnvironment() *Environment
- func (m *CommandInfo) GetShell() bool
- func (m *CommandInfo) GetUris() []*CommandInfo_URI
- func (m *CommandInfo) GetUser() string
- func (m *CommandInfo) GetValue() string
- func (this *CommandInfo) GoString() string
- func (m *CommandInfo) Marshal() (data []byte, err error)
- func (m *CommandInfo) MarshalTo(data []byte) (int, error)
- func (*CommandInfo) ProtoMessage()
- func (m *CommandInfo) Reset()
- func (m *CommandInfo) Size() (n int)
- func (this *CommandInfo) String() string
- func (m *CommandInfo) Unmarshal(data []byte) error
- func (this *CommandInfo) VerboseEqual(that interface{}) error
- type CommandInfo_ContainerInfo
- func (this *CommandInfo_ContainerInfo) Equal(that interface{}) bool
- func (m *CommandInfo_ContainerInfo) GetImage() string
- func (m *CommandInfo_ContainerInfo) GetOptions() []string
- func (this *CommandInfo_ContainerInfo) GoString() string
- func (m *CommandInfo_ContainerInfo) Marshal() (data []byte, err error)
- func (m *CommandInfo_ContainerInfo) MarshalTo(data []byte) (int, error)
- func (*CommandInfo_ContainerInfo) ProtoMessage()
- func (m *CommandInfo_ContainerInfo) Reset()
- func (m *CommandInfo_ContainerInfo) Size() (n int)
- func (this *CommandInfo_ContainerInfo) String() string
- func (m *CommandInfo_ContainerInfo) Unmarshal(data []byte) error
- func (this *CommandInfo_ContainerInfo) VerboseEqual(that interface{}) error
- type CommandInfo_URI
- func (this *CommandInfo_URI) Equal(that interface{}) bool
- func (m *CommandInfo_URI) GetCache() bool
- func (m *CommandInfo_URI) GetExecutable() bool
- func (m *CommandInfo_URI) GetExtract() bool
- func (m *CommandInfo_URI) GetValue() string
- func (this *CommandInfo_URI) GoString() string
- func (m *CommandInfo_URI) Marshal() (data []byte, err error)
- func (m *CommandInfo_URI) MarshalTo(data []byte) (int, error)
- func (*CommandInfo_URI) ProtoMessage()
- func (m *CommandInfo_URI) Reset()
- func (m *CommandInfo_URI) Size() (n int)
- func (this *CommandInfo_URI) String() string
- func (m *CommandInfo_URI) Unmarshal(data []byte) error
- func (this *CommandInfo_URI) VerboseEqual(that interface{}) error
- type ContainerID
- func (this *ContainerID) Equal(that interface{}) bool
- func (m *ContainerID) GetValue() string
- func (this *ContainerID) GoString() string
- func (m *ContainerID) Marshal() (data []byte, err error)
- func (m *ContainerID) MarshalTo(data []byte) (int, error)
- func (*ContainerID) ProtoMessage()
- func (m *ContainerID) Reset()
- func (m *ContainerID) Size() (n int)
- func (this *ContainerID) String() string
- func (m *ContainerID) Unmarshal(data []byte) error
- func (this *ContainerID) VerboseEqual(that interface{}) error
- type ContainerInfo
- func (this *ContainerInfo) Equal(that interface{}) bool
- func (m *ContainerInfo) GetDocker() *ContainerInfo_DockerInfo
- func (m *ContainerInfo) GetHostname() string
- func (m *ContainerInfo) GetMesos() *ContainerInfo_MesosInfo
- func (m *ContainerInfo) GetNetworkInfos() []*NetworkInfo
- func (m *ContainerInfo) GetType() ContainerInfo_Type
- func (m *ContainerInfo) GetVolumes() []*Volume
- func (this *ContainerInfo) GoString() string
- func (m *ContainerInfo) Marshal() (data []byte, err error)
- func (m *ContainerInfo) MarshalTo(data []byte) (int, error)
- func (*ContainerInfo) ProtoMessage()
- func (m *ContainerInfo) Reset()
- func (m *ContainerInfo) Size() (n int)
- func (this *ContainerInfo) String() string
- func (m *ContainerInfo) Unmarshal(data []byte) error
- func (this *ContainerInfo) VerboseEqual(that interface{}) error
- type ContainerInfo_DockerInfo
- func (this *ContainerInfo_DockerInfo) Equal(that interface{}) bool
- func (m *ContainerInfo_DockerInfo) GetForcePullImage() bool
- func (m *ContainerInfo_DockerInfo) GetImage() string
- func (m *ContainerInfo_DockerInfo) GetNetwork() ContainerInfo_DockerInfo_Network
- func (m *ContainerInfo_DockerInfo) GetParameters() []*Parameter
- func (m *ContainerInfo_DockerInfo) GetPortMappings() []*ContainerInfo_DockerInfo_PortMapping
- func (m *ContainerInfo_DockerInfo) GetPrivileged() bool
- func (this *ContainerInfo_DockerInfo) GoString() string
- func (m *ContainerInfo_DockerInfo) Marshal() (data []byte, err error)
- func (m *ContainerInfo_DockerInfo) MarshalTo(data []byte) (int, error)
- func (*ContainerInfo_DockerInfo) ProtoMessage()
- func (m *ContainerInfo_DockerInfo) Reset()
- func (m *ContainerInfo_DockerInfo) Size() (n int)
- func (this *ContainerInfo_DockerInfo) String() string
- func (m *ContainerInfo_DockerInfo) Unmarshal(data []byte) error
- func (this *ContainerInfo_DockerInfo) VerboseEqual(that interface{}) error
- type ContainerInfo_DockerInfo_Network
- type ContainerInfo_DockerInfo_PortMapping
- func (this *ContainerInfo_DockerInfo_PortMapping) Equal(that interface{}) bool
- func (m *ContainerInfo_DockerInfo_PortMapping) GetContainerPort() uint32
- func (m *ContainerInfo_DockerInfo_PortMapping) GetHostPort() uint32
- func (m *ContainerInfo_DockerInfo_PortMapping) GetProtocol() string
- func (this *ContainerInfo_DockerInfo_PortMapping) GoString() string
- func (m *ContainerInfo_DockerInfo_PortMapping) Marshal() (data []byte, err error)
- func (m *ContainerInfo_DockerInfo_PortMapping) MarshalTo(data []byte) (int, error)
- func (*ContainerInfo_DockerInfo_PortMapping) ProtoMessage()
- func (m *ContainerInfo_DockerInfo_PortMapping) Reset()
- func (m *ContainerInfo_DockerInfo_PortMapping) Size() (n int)
- func (this *ContainerInfo_DockerInfo_PortMapping) String() string
- func (m *ContainerInfo_DockerInfo_PortMapping) Unmarshal(data []byte) error
- func (this *ContainerInfo_DockerInfo_PortMapping) VerboseEqual(that interface{}) error
- type ContainerInfo_MesosInfo
- func (this *ContainerInfo_MesosInfo) Equal(that interface{}) bool
- func (m *ContainerInfo_MesosInfo) GetImage() *Image
- func (this *ContainerInfo_MesosInfo) GoString() string
- func (m *ContainerInfo_MesosInfo) Marshal() (data []byte, err error)
- func (m *ContainerInfo_MesosInfo) MarshalTo(data []byte) (int, error)
- func (*ContainerInfo_MesosInfo) ProtoMessage()
- func (m *ContainerInfo_MesosInfo) Reset()
- func (m *ContainerInfo_MesosInfo) Size() (n int)
- func (this *ContainerInfo_MesosInfo) String() string
- func (m *ContainerInfo_MesosInfo) Unmarshal(data []byte) error
- func (this *ContainerInfo_MesosInfo) VerboseEqual(that interface{}) error
- type ContainerInfo_Type
- type ContainerStatus
- func (this *ContainerStatus) Equal(that interface{}) bool
- func (m *ContainerStatus) GetNetworkInfos() []*NetworkInfo
- func (this *ContainerStatus) GoString() string
- func (m *ContainerStatus) Marshal() (data []byte, err error)
- func (m *ContainerStatus) MarshalTo(data []byte) (int, error)
- func (*ContainerStatus) ProtoMessage()
- func (m *ContainerStatus) Reset()
- func (m *ContainerStatus) Size() (n int)
- func (this *ContainerStatus) String() string
- func (m *ContainerStatus) Unmarshal(data []byte) error
- func (this *ContainerStatus) VerboseEqual(that interface{}) error
- type Credential
- func (this *Credential) Equal(that interface{}) bool
- func (m *Credential) GetPrincipal() string
- func (m *Credential) GetSecret() string
- func (this *Credential) GoString() string
- func (m *Credential) Marshal() (data []byte, err error)
- func (m *Credential) MarshalTo(data []byte) (int, error)
- func (*Credential) ProtoMessage()
- func (m *Credential) Reset()
- func (m *Credential) Size() (n int)
- func (this *Credential) String() string
- func (m *Credential) Unmarshal(data []byte) error
- func (this *Credential) VerboseEqual(that interface{}) error
- type Credentials
- func (this *Credentials) Equal(that interface{}) bool
- func (m *Credentials) GetCredentials() []*Credential
- func (this *Credentials) GoString() string
- func (m *Credentials) Marshal() (data []byte, err error)
- func (m *Credentials) MarshalTo(data []byte) (int, error)
- func (*Credentials) ProtoMessage()
- func (m *Credentials) Reset()
- func (m *Credentials) Size() (n int)
- func (this *Credentials) String() string
- func (m *Credentials) Unmarshal(data []byte) error
- func (this *Credentials) VerboseEqual(that interface{}) error
- type DeactivateFrameworkMessage
- func (this *DeactivateFrameworkMessage) Equal(that interface{}) bool
- func (m *DeactivateFrameworkMessage) GetFrameworkId() *FrameworkID
- func (this *DeactivateFrameworkMessage) GoString() string
- func (m *DeactivateFrameworkMessage) Marshal() (data []byte, err error)
- func (m *DeactivateFrameworkMessage) MarshalTo(data []byte) (int, error)
- func (*DeactivateFrameworkMessage) ProtoMessage()
- func (m *DeactivateFrameworkMessage) Reset()
- func (m *DeactivateFrameworkMessage) Size() (n int)
- func (this *DeactivateFrameworkMessage) String() string
- func (m *DeactivateFrameworkMessage) Unmarshal(data []byte) error
- func (this *DeactivateFrameworkMessage) VerboseEqual(that interface{}) error
- type DiscoveryInfo
- func (this *DiscoveryInfo) Equal(that interface{}) bool
- func (m *DiscoveryInfo) GetEnvironment() string
- func (m *DiscoveryInfo) GetLabels() *Labels
- func (m *DiscoveryInfo) GetLocation() string
- func (m *DiscoveryInfo) GetName() string
- func (m *DiscoveryInfo) GetPorts() *Ports
- func (m *DiscoveryInfo) GetVersion() string
- func (m *DiscoveryInfo) GetVisibility() DiscoveryInfo_Visibility
- func (this *DiscoveryInfo) GoString() string
- func (m *DiscoveryInfo) Marshal() (data []byte, err error)
- func (m *DiscoveryInfo) MarshalTo(data []byte) (int, error)
- func (*DiscoveryInfo) ProtoMessage()
- func (m *DiscoveryInfo) Reset()
- func (m *DiscoveryInfo) Size() (n int)
- func (this *DiscoveryInfo) String() string
- func (m *DiscoveryInfo) Unmarshal(data []byte) error
- func (this *DiscoveryInfo) VerboseEqual(that interface{}) error
- type DiscoveryInfo_Visibility
- type DurationInfo
- func (this *DurationInfo) Equal(that interface{}) bool
- func (m *DurationInfo) GetNanoseconds() int64
- func (this *DurationInfo) GoString() string
- func (m *DurationInfo) Marshal() (data []byte, err error)
- func (m *DurationInfo) MarshalTo(data []byte) (int, error)
- func (*DurationInfo) ProtoMessage()
- func (m *DurationInfo) Reset()
- func (m *DurationInfo) Size() (n int)
- func (this *DurationInfo) String() string
- func (m *DurationInfo) Unmarshal(data []byte) error
- func (this *DurationInfo) VerboseEqual(that interface{}) error
- type Environment
- func (this *Environment) Equal(that interface{}) bool
- func (m *Environment) GetVariables() []*Environment_Variable
- func (this *Environment) GoString() string
- func (m *Environment) Marshal() (data []byte, err error)
- func (m *Environment) MarshalTo(data []byte) (int, error)
- func (*Environment) ProtoMessage()
- func (m *Environment) Reset()
- func (m *Environment) Size() (n int)
- func (this *Environment) String() string
- func (m *Environment) Unmarshal(data []byte) error
- func (this *Environment) VerboseEqual(that interface{}) error
- type Environment_Variable
- func (this *Environment_Variable) Equal(that interface{}) bool
- func (m *Environment_Variable) GetName() string
- func (m *Environment_Variable) GetValue() string
- func (this *Environment_Variable) GoString() string
- func (m *Environment_Variable) Marshal() (data []byte, err error)
- func (m *Environment_Variable) MarshalTo(data []byte) (int, error)
- func (*Environment_Variable) ProtoMessage()
- func (m *Environment_Variable) Reset()
- func (m *Environment_Variable) Size() (n int)
- func (this *Environment_Variable) String() string
- func (m *Environment_Variable) Unmarshal(data []byte) error
- func (this *Environment_Variable) VerboseEqual(that interface{}) error
- type ExecutorID
- func (this *ExecutorID) Equal(that interface{}) bool
- func (m *ExecutorID) GetValue() string
- func (this *ExecutorID) GoString() string
- func (m *ExecutorID) Marshal() (data []byte, err error)
- func (m *ExecutorID) MarshalTo(data []byte) (int, error)
- func (*ExecutorID) ProtoMessage()
- func (m *ExecutorID) Reset()
- func (m *ExecutorID) Size() (n int)
- func (this *ExecutorID) String() string
- func (m *ExecutorID) Unmarshal(data []byte) error
- func (this *ExecutorID) VerboseEqual(that interface{}) error
- type ExecutorInfo
- func (this *ExecutorInfo) Equal(that interface{}) bool
- func (m *ExecutorInfo) GetCommand() *CommandInfo
- func (m *ExecutorInfo) GetContainer() *ContainerInfo
- func (m *ExecutorInfo) GetData() []byte
- func (m *ExecutorInfo) GetDiscovery() *DiscoveryInfo
- func (m *ExecutorInfo) GetExecutorId() *ExecutorID
- func (m *ExecutorInfo) GetFrameworkId() *FrameworkID
- func (m *ExecutorInfo) GetName() string
- func (m *ExecutorInfo) GetResources() []*Resource
- func (m *ExecutorInfo) GetSource() string
- func (this *ExecutorInfo) GoString() string
- func (m *ExecutorInfo) Marshal() (data []byte, err error)
- func (m *ExecutorInfo) MarshalTo(data []byte) (int, error)
- func (*ExecutorInfo) ProtoMessage()
- func (m *ExecutorInfo) Reset()
- func (m *ExecutorInfo) Size() (n int)
- func (this *ExecutorInfo) String() string
- func (m *ExecutorInfo) Unmarshal(data []byte) error
- func (this *ExecutorInfo) VerboseEqual(that interface{}) error
- type ExecutorRegisteredMessage
- func (this *ExecutorRegisteredMessage) Equal(that interface{}) bool
- func (m *ExecutorRegisteredMessage) GetExecutorInfo() *ExecutorInfo
- func (m *ExecutorRegisteredMessage) GetFrameworkId() *FrameworkID
- func (m *ExecutorRegisteredMessage) GetFrameworkInfo() *FrameworkInfo
- func (m *ExecutorRegisteredMessage) GetSlaveId() *SlaveID
- func (m *ExecutorRegisteredMessage) GetSlaveInfo() *SlaveInfo
- func (this *ExecutorRegisteredMessage) GoString() string
- func (m *ExecutorRegisteredMessage) Marshal() (data []byte, err error)
- func (m *ExecutorRegisteredMessage) MarshalTo(data []byte) (int, error)
- func (*ExecutorRegisteredMessage) ProtoMessage()
- func (m *ExecutorRegisteredMessage) Reset()
- func (m *ExecutorRegisteredMessage) Size() (n int)
- func (this *ExecutorRegisteredMessage) String() string
- func (m *ExecutorRegisteredMessage) Unmarshal(data []byte) error
- func (this *ExecutorRegisteredMessage) VerboseEqual(that interface{}) error
- type ExecutorReregisteredMessage
- func (this *ExecutorReregisteredMessage) Equal(that interface{}) bool
- func (m *ExecutorReregisteredMessage) GetSlaveId() *SlaveID
- func (m *ExecutorReregisteredMessage) GetSlaveInfo() *SlaveInfo
- func (this *ExecutorReregisteredMessage) GoString() string
- func (m *ExecutorReregisteredMessage) Marshal() (data []byte, err error)
- func (m *ExecutorReregisteredMessage) MarshalTo(data []byte) (int, error)
- func (*ExecutorReregisteredMessage) ProtoMessage()
- func (m *ExecutorReregisteredMessage) Reset()
- func (m *ExecutorReregisteredMessage) Size() (n int)
- func (this *ExecutorReregisteredMessage) String() string
- func (m *ExecutorReregisteredMessage) Unmarshal(data []byte) error
- func (this *ExecutorReregisteredMessage) VerboseEqual(that interface{}) error
- type ExecutorToFrameworkMessage
- func (this *ExecutorToFrameworkMessage) Equal(that interface{}) bool
- func (m *ExecutorToFrameworkMessage) GetData() []byte
- func (m *ExecutorToFrameworkMessage) GetExecutorId() *ExecutorID
- func (m *ExecutorToFrameworkMessage) GetFrameworkId() *FrameworkID
- func (m *ExecutorToFrameworkMessage) GetSlaveId() *SlaveID
- func (this *ExecutorToFrameworkMessage) GoString() string
- func (m *ExecutorToFrameworkMessage) Marshal() (data []byte, err error)
- func (m *ExecutorToFrameworkMessage) MarshalTo(data []byte) (int, error)
- func (*ExecutorToFrameworkMessage) ProtoMessage()
- func (m *ExecutorToFrameworkMessage) Reset()
- func (m *ExecutorToFrameworkMessage) Size() (n int)
- func (this *ExecutorToFrameworkMessage) String() string
- func (m *ExecutorToFrameworkMessage) Unmarshal(data []byte) error
- func (this *ExecutorToFrameworkMessage) VerboseEqual(that interface{}) error
- type ExitedExecutorMessage
- func (this *ExitedExecutorMessage) Equal(that interface{}) bool
- func (m *ExitedExecutorMessage) GetExecutorId() *ExecutorID
- func (m *ExitedExecutorMessage) GetFrameworkId() *FrameworkID
- func (m *ExitedExecutorMessage) GetSlaveId() *SlaveID
- func (m *ExitedExecutorMessage) GetStatus() int32
- func (this *ExitedExecutorMessage) GoString() string
- func (m *ExitedExecutorMessage) Marshal() (data []byte, err error)
- func (m *ExitedExecutorMessage) MarshalTo(data []byte) (int, error)
- func (*ExitedExecutorMessage) ProtoMessage()
- func (m *ExitedExecutorMessage) Reset()
- func (m *ExitedExecutorMessage) Size() (n int)
- func (this *ExitedExecutorMessage) String() string
- func (m *ExitedExecutorMessage) Unmarshal(data []byte) error
- func (this *ExitedExecutorMessage) VerboseEqual(that interface{}) error
- type Filters
- func (this *Filters) Equal(that interface{}) bool
- func (m *Filters) GetRefuseSeconds() float64
- func (this *Filters) GoString() string
- func (m *Filters) Marshal() (data []byte, err error)
- func (m *Filters) MarshalTo(data []byte) (int, error)
- func (*Filters) ProtoMessage()
- func (m *Filters) Reset()
- func (m *Filters) Size() (n int)
- func (this *Filters) String() string
- func (m *Filters) Unmarshal(data []byte) error
- func (this *Filters) VerboseEqual(that interface{}) error
- type FrameworkErrorMessage
- func (this *FrameworkErrorMessage) Equal(that interface{}) bool
- func (m *FrameworkErrorMessage) GetMessage() string
- func (this *FrameworkErrorMessage) GoString() string
- func (m *FrameworkErrorMessage) Marshal() (data []byte, err error)
- func (m *FrameworkErrorMessage) MarshalTo(data []byte) (int, error)
- func (*FrameworkErrorMessage) ProtoMessage()
- func (m *FrameworkErrorMessage) Reset()
- func (m *FrameworkErrorMessage) Size() (n int)
- func (this *FrameworkErrorMessage) String() string
- func (m *FrameworkErrorMessage) Unmarshal(data []byte) error
- func (this *FrameworkErrorMessage) VerboseEqual(that interface{}) error
- type FrameworkID
- func (this *FrameworkID) Equal(that interface{}) bool
- func (m *FrameworkID) GetValue() string
- func (this *FrameworkID) GoString() string
- func (m *FrameworkID) Marshal() (data []byte, err error)
- func (m *FrameworkID) MarshalTo(data []byte) (int, error)
- func (*FrameworkID) ProtoMessage()
- func (m *FrameworkID) Reset()
- func (m *FrameworkID) Size() (n int)
- func (this *FrameworkID) String() string
- func (m *FrameworkID) Unmarshal(data []byte) error
- func (this *FrameworkID) VerboseEqual(that interface{}) error
- type FrameworkInfo
- func (this *FrameworkInfo) Equal(that interface{}) bool
- func (m *FrameworkInfo) GetCapabilities() []*FrameworkInfo_Capability
- func (m *FrameworkInfo) GetCheckpoint() bool
- func (m *FrameworkInfo) GetFailoverTimeout() float64
- func (m *FrameworkInfo) GetHostname() string
- func (m *FrameworkInfo) GetId() *FrameworkID
- func (m *FrameworkInfo) GetLabels() *Labels
- func (m *FrameworkInfo) GetName() string
- func (m *FrameworkInfo) GetPrincipal() string
- func (m *FrameworkInfo) GetRole() string
- func (m *FrameworkInfo) GetUser() string
- func (m *FrameworkInfo) GetWebuiUrl() string
- func (this *FrameworkInfo) GoString() string
- func (m *FrameworkInfo) Marshal() (data []byte, err error)
- func (m *FrameworkInfo) MarshalTo(data []byte) (int, error)
- func (*FrameworkInfo) ProtoMessage()
- func (m *FrameworkInfo) Reset()
- func (m *FrameworkInfo) Size() (n int)
- func (this *FrameworkInfo) String() string
- func (m *FrameworkInfo) Unmarshal(data []byte) error
- func (this *FrameworkInfo) VerboseEqual(that interface{}) error
- type FrameworkInfo_Capability
- func (this *FrameworkInfo_Capability) Equal(that interface{}) bool
- func (m *FrameworkInfo_Capability) GetType() FrameworkInfo_Capability_Type
- func (this *FrameworkInfo_Capability) GoString() string
- func (m *FrameworkInfo_Capability) Marshal() (data []byte, err error)
- func (m *FrameworkInfo_Capability) MarshalTo(data []byte) (int, error)
- func (*FrameworkInfo_Capability) ProtoMessage()
- func (m *FrameworkInfo_Capability) Reset()
- func (m *FrameworkInfo_Capability) Size() (n int)
- func (this *FrameworkInfo_Capability) String() string
- func (m *FrameworkInfo_Capability) Unmarshal(data []byte) error
- func (this *FrameworkInfo_Capability) VerboseEqual(that interface{}) error
- type FrameworkInfo_Capability_Type
- type FrameworkRegisteredMessage
- func (this *FrameworkRegisteredMessage) Equal(that interface{}) bool
- func (m *FrameworkRegisteredMessage) GetFrameworkId() *FrameworkID
- func (m *FrameworkRegisteredMessage) GetMasterInfo() *MasterInfo
- func (this *FrameworkRegisteredMessage) GoString() string
- func (m *FrameworkRegisteredMessage) Marshal() (data []byte, err error)
- func (m *FrameworkRegisteredMessage) MarshalTo(data []byte) (int, error)
- func (*FrameworkRegisteredMessage) ProtoMessage()
- func (m *FrameworkRegisteredMessage) Reset()
- func (m *FrameworkRegisteredMessage) Size() (n int)
- func (this *FrameworkRegisteredMessage) String() string
- func (m *FrameworkRegisteredMessage) Unmarshal(data []byte) error
- func (this *FrameworkRegisteredMessage) VerboseEqual(that interface{}) error
- type FrameworkReregisteredMessage
- func (this *FrameworkReregisteredMessage) Equal(that interface{}) bool
- func (m *FrameworkReregisteredMessage) GetFrameworkId() *FrameworkID
- func (m *FrameworkReregisteredMessage) GetMasterInfo() *MasterInfo
- func (this *FrameworkReregisteredMessage) GoString() string
- func (m *FrameworkReregisteredMessage) Marshal() (data []byte, err error)
- func (m *FrameworkReregisteredMessage) MarshalTo(data []byte) (int, error)
- func (*FrameworkReregisteredMessage) ProtoMessage()
- func (m *FrameworkReregisteredMessage) Reset()
- func (m *FrameworkReregisteredMessage) Size() (n int)
- func (this *FrameworkReregisteredMessage) String() string
- func (m *FrameworkReregisteredMessage) Unmarshal(data []byte) error
- func (this *FrameworkReregisteredMessage) VerboseEqual(that interface{}) error
- type FrameworkToExecutorMessage
- func (this *FrameworkToExecutorMessage) Equal(that interface{}) bool
- func (m *FrameworkToExecutorMessage) GetData() []byte
- func (m *FrameworkToExecutorMessage) GetExecutorId() *ExecutorID
- func (m *FrameworkToExecutorMessage) GetFrameworkId() *FrameworkID
- func (m *FrameworkToExecutorMessage) GetSlaveId() *SlaveID
- func (this *FrameworkToExecutorMessage) GoString() string
- func (m *FrameworkToExecutorMessage) Marshal() (data []byte, err error)
- func (m *FrameworkToExecutorMessage) MarshalTo(data []byte) (int, error)
- func (*FrameworkToExecutorMessage) ProtoMessage()
- func (m *FrameworkToExecutorMessage) Reset()
- func (m *FrameworkToExecutorMessage) Size() (n int)
- func (this *FrameworkToExecutorMessage) String() string
- func (m *FrameworkToExecutorMessage) Unmarshal(data []byte) error
- func (this *FrameworkToExecutorMessage) VerboseEqual(that interface{}) error
- type HealthCheck
- func (this *HealthCheck) Equal(that interface{}) bool
- func (m *HealthCheck) GetCommand() *CommandInfo
- func (m *HealthCheck) GetConsecutiveFailures() uint32
- func (m *HealthCheck) GetDelaySeconds() float64
- func (m *HealthCheck) GetGracePeriodSeconds() float64
- func (m *HealthCheck) GetHttp() *HealthCheck_HTTP
- func (m *HealthCheck) GetIntervalSeconds() float64
- func (m *HealthCheck) GetTimeoutSeconds() float64
- func (this *HealthCheck) GoString() string
- func (m *HealthCheck) Marshal() (data []byte, err error)
- func (m *HealthCheck) MarshalTo(data []byte) (int, error)
- func (*HealthCheck) ProtoMessage()
- func (m *HealthCheck) Reset()
- func (m *HealthCheck) Size() (n int)
- func (this *HealthCheck) String() string
- func (m *HealthCheck) Unmarshal(data []byte) error
- func (this *HealthCheck) VerboseEqual(that interface{}) error
- type HealthCheck_HTTP
- func (this *HealthCheck_HTTP) Equal(that interface{}) bool
- func (m *HealthCheck_HTTP) GetPath() string
- func (m *HealthCheck_HTTP) GetPort() uint32
- func (m *HealthCheck_HTTP) GetStatuses() []uint32
- func (this *HealthCheck_HTTP) GoString() string
- func (m *HealthCheck_HTTP) Marshal() (data []byte, err error)
- func (m *HealthCheck_HTTP) MarshalTo(data []byte) (int, error)
- func (*HealthCheck_HTTP) ProtoMessage()
- func (m *HealthCheck_HTTP) Reset()
- func (m *HealthCheck_HTTP) Size() (n int)
- func (this *HealthCheck_HTTP) String() string
- func (m *HealthCheck_HTTP) Unmarshal(data []byte) error
- func (this *HealthCheck_HTTP) VerboseEqual(that interface{}) error
- type HookExecuted
- func (this *HookExecuted) Equal(that interface{}) bool
- func (m *HookExecuted) GetModule() string
- func (this *HookExecuted) GoString() string
- func (m *HookExecuted) Marshal() (data []byte, err error)
- func (m *HookExecuted) MarshalTo(data []byte) (int, error)
- func (*HookExecuted) ProtoMessage()
- func (m *HookExecuted) Reset()
- func (m *HookExecuted) Size() (n int)
- func (this *HookExecuted) String() string
- func (m *HookExecuted) Unmarshal(data []byte) error
- func (this *HookExecuted) VerboseEqual(that interface{}) error
- type Image
- func (this *Image) Equal(that interface{}) bool
- func (m *Image) GetAppc() *Image_Appc
- func (m *Image) GetDocker() *Image_Docker
- func (m *Image) GetType() Image_Type
- func (this *Image) GoString() string
- func (m *Image) Marshal() (data []byte, err error)
- func (m *Image) MarshalTo(data []byte) (int, error)
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) Size() (n int)
- func (this *Image) String() string
- func (m *Image) Unmarshal(data []byte) error
- func (this *Image) VerboseEqual(that interface{}) error
- type Image_Appc
- func (this *Image_Appc) Equal(that interface{}) bool
- func (m *Image_Appc) GetId() string
- func (m *Image_Appc) GetLabels() *Labels
- func (m *Image_Appc) GetName() string
- func (this *Image_Appc) GoString() string
- func (m *Image_Appc) Marshal() (data []byte, err error)
- func (m *Image_Appc) MarshalTo(data []byte) (int, error)
- func (*Image_Appc) ProtoMessage()
- func (m *Image_Appc) Reset()
- func (m *Image_Appc) Size() (n int)
- func (this *Image_Appc) String() string
- func (m *Image_Appc) Unmarshal(data []byte) error
- func (this *Image_Appc) VerboseEqual(that interface{}) error
- type Image_Docker
- func (this *Image_Docker) Equal(that interface{}) bool
- func (m *Image_Docker) GetName() string
- func (this *Image_Docker) GoString() string
- func (m *Image_Docker) Marshal() (data []byte, err error)
- func (m *Image_Docker) MarshalTo(data []byte) (int, error)
- func (*Image_Docker) ProtoMessage()
- func (m *Image_Docker) Reset()
- func (m *Image_Docker) Size() (n int)
- func (this *Image_Docker) String() string
- func (m *Image_Docker) Unmarshal(data []byte) error
- func (this *Image_Docker) VerboseEqual(that interface{}) error
- type Image_Type
- type InternalAuthenticationResult
- func (m *InternalAuthenticationResult) GetCompleted() bool
- func (m *InternalAuthenticationResult) GetPid() string
- func (m *InternalAuthenticationResult) GetSuccess() bool
- func (*InternalAuthenticationResult) ProtoMessage()
- func (m *InternalAuthenticationResult) Reset()
- func (m *InternalAuthenticationResult) String() string
- type InternalMasterChangeDetected
- type InternalNetworkError
- type InternalTryAuthentication
- type InverseOffer
- func (this *InverseOffer) Equal(that interface{}) bool
- func (m *InverseOffer) GetFrameworkId() *FrameworkID
- func (m *InverseOffer) GetId() *OfferID
- func (m *InverseOffer) GetResources() []*Resource
- func (m *InverseOffer) GetSlaveId() *SlaveID
- func (m *InverseOffer) GetUnavailability() *Unavailability
- func (m *InverseOffer) GetUrl() *URL
- func (this *InverseOffer) GoString() string
- func (m *InverseOffer) Marshal() (data []byte, err error)
- func (m *InverseOffer) MarshalTo(data []byte) (int, error)
- func (*InverseOffer) ProtoMessage()
- func (m *InverseOffer) Reset()
- func (m *InverseOffer) Size() (n int)
- func (this *InverseOffer) String() string
- func (m *InverseOffer) Unmarshal(data []byte) error
- func (this *InverseOffer) VerboseEqual(that interface{}) error
- type KillTaskMessage
- func (this *KillTaskMessage) Equal(that interface{}) bool
- func (m *KillTaskMessage) GetFrameworkId() *FrameworkID
- func (m *KillTaskMessage) GetTaskId() *TaskID
- func (this *KillTaskMessage) GoString() string
- func (m *KillTaskMessage) Marshal() (data []byte, err error)
- func (m *KillTaskMessage) MarshalTo(data []byte) (int, error)
- func (*KillTaskMessage) ProtoMessage()
- func (m *KillTaskMessage) Reset()
- func (m *KillTaskMessage) Size() (n int)
- func (this *KillTaskMessage) String() string
- func (m *KillTaskMessage) Unmarshal(data []byte) error
- func (this *KillTaskMessage) VerboseEqual(that interface{}) error
- type Label
- func (this *Label) Equal(that interface{}) bool
- func (m *Label) GetKey() string
- func (m *Label) GetValue() string
- func (this *Label) GoString() string
- func (m *Label) Marshal() (data []byte, err error)
- func (m *Label) MarshalTo(data []byte) (int, error)
- func (*Label) ProtoMessage()
- func (m *Label) Reset()
- func (m *Label) Size() (n int)
- func (this *Label) String() string
- func (m *Label) Unmarshal(data []byte) error
- func (this *Label) VerboseEqual(that interface{}) error
- type Labels
- func (this *Labels) Equal(that interface{}) bool
- func (m *Labels) GetLabels() []*Label
- func (this *Labels) GoString() string
- func (m *Labels) Marshal() (data []byte, err error)
- func (m *Labels) MarshalTo(data []byte) (int, error)
- func (*Labels) ProtoMessage()
- func (m *Labels) Reset()
- func (m *Labels) Size() (n int)
- func (this *Labels) String() string
- func (m *Labels) Unmarshal(data []byte) error
- func (this *Labels) VerboseEqual(that interface{}) error
- type LaunchTasksMessage
- func (this *LaunchTasksMessage) Equal(that interface{}) bool
- func (m *LaunchTasksMessage) GetFilters() *Filters
- func (m *LaunchTasksMessage) GetFrameworkId() *FrameworkID
- func (m *LaunchTasksMessage) GetOfferIds() []*OfferID
- func (m *LaunchTasksMessage) GetTasks() []*TaskInfo
- func (this *LaunchTasksMessage) GoString() string
- func (m *LaunchTasksMessage) Marshal() (data []byte, err error)
- func (m *LaunchTasksMessage) MarshalTo(data []byte) (int, error)
- func (*LaunchTasksMessage) ProtoMessage()
- func (m *LaunchTasksMessage) Reset()
- func (m *LaunchTasksMessage) Size() (n int)
- func (this *LaunchTasksMessage) String() string
- func (m *LaunchTasksMessage) Unmarshal(data []byte) error
- func (this *LaunchTasksMessage) VerboseEqual(that interface{}) error
- type LostSlaveMessage
- func (this *LostSlaveMessage) Equal(that interface{}) bool
- func (m *LostSlaveMessage) GetSlaveId() *SlaveID
- func (this *LostSlaveMessage) GoString() string
- func (m *LostSlaveMessage) Marshal() (data []byte, err error)
- func (m *LostSlaveMessage) MarshalTo(data []byte) (int, error)
- func (*LostSlaveMessage) ProtoMessage()
- func (m *LostSlaveMessage) Reset()
- func (m *LostSlaveMessage) Size() (n int)
- func (this *LostSlaveMessage) String() string
- func (m *LostSlaveMessage) Unmarshal(data []byte) error
- func (this *LostSlaveMessage) VerboseEqual(that interface{}) error
- type MachineID
- func (this *MachineID) Equal(that interface{}) bool
- func (m *MachineID) GetHostname() string
- func (m *MachineID) GetIp() string
- func (this *MachineID) GoString() string
- func (m *MachineID) Marshal() (data []byte, err error)
- func (m *MachineID) MarshalTo(data []byte) (int, error)
- func (*MachineID) ProtoMessage()
- func (m *MachineID) Reset()
- func (m *MachineID) Size() (n int)
- func (this *MachineID) String() string
- func (m *MachineID) Unmarshal(data []byte) error
- func (this *MachineID) VerboseEqual(that interface{}) error
- type MachineInfo
- func (this *MachineInfo) Equal(that interface{}) bool
- func (m *MachineInfo) GetId() *MachineID
- func (m *MachineInfo) GetMode() MachineInfo_Mode
- func (m *MachineInfo) GetUnavailability() *Unavailability
- func (this *MachineInfo) GoString() string
- func (m *MachineInfo) Marshal() (data []byte, err error)
- func (m *MachineInfo) MarshalTo(data []byte) (int, error)
- func (*MachineInfo) ProtoMessage()
- func (m *MachineInfo) Reset()
- func (m *MachineInfo) Size() (n int)
- func (this *MachineInfo) String() string
- func (m *MachineInfo) Unmarshal(data []byte) error
- func (this *MachineInfo) VerboseEqual(that interface{}) error
- type MachineInfo_Mode
- type MasterInfo
- func (this *MasterInfo) Equal(that interface{}) bool
- func (m *MasterInfo) GetAddress() *Address
- func (m *MasterInfo) GetHostname() string
- func (m *MasterInfo) GetId() string
- func (m *MasterInfo) GetIp() uint32
- func (m *MasterInfo) GetPid() string
- func (m *MasterInfo) GetPort() uint32
- func (m *MasterInfo) GetVersion() string
- func (this *MasterInfo) GoString() string
- func (m *MasterInfo) Marshal() (data []byte, err error)
- func (m *MasterInfo) MarshalTo(data []byte) (int, error)
- func (*MasterInfo) ProtoMessage()
- func (m *MasterInfo) Reset()
- func (m *MasterInfo) Size() (n int)
- func (this *MasterInfo) String() string
- func (m *MasterInfo) Unmarshal(data []byte) error
- func (this *MasterInfo) VerboseEqual(that interface{}) error
- type MasterSlaveConnection
- func (this *MasterSlaveConnection) Equal(that interface{}) bool
- func (m *MasterSlaveConnection) GetTotalPingTimeoutSeconds() float64
- func (this *MasterSlaveConnection) GoString() string
- func (m *MasterSlaveConnection) Marshal() (data []byte, err error)
- func (m *MasterSlaveConnection) MarshalTo(data []byte) (int, error)
- func (*MasterSlaveConnection) ProtoMessage()
- func (m *MasterSlaveConnection) Reset()
- func (m *MasterSlaveConnection) Size() (n int)
- func (this *MasterSlaveConnection) String() string
- func (m *MasterSlaveConnection) Unmarshal(data []byte) error
- func (this *MasterSlaveConnection) VerboseEqual(that interface{}) error
- type NetworkInfo
- func (this *NetworkInfo) Equal(that interface{}) bool
- func (m *NetworkInfo) GetGroups() []string
- func (m *NetworkInfo) GetIpAddress() string
- func (m *NetworkInfo) GetIpAddresses() []*NetworkInfo_IPAddress
- func (m *NetworkInfo) GetLabels() *Labels
- func (m *NetworkInfo) GetProtocol() NetworkInfo_Protocol
- func (this *NetworkInfo) GoString() string
- func (m *NetworkInfo) Marshal() (data []byte, err error)
- func (m *NetworkInfo) MarshalTo(data []byte) (int, error)
- func (*NetworkInfo) ProtoMessage()
- func (m *NetworkInfo) Reset()
- func (m *NetworkInfo) Size() (n int)
- func (this *NetworkInfo) String() string
- func (m *NetworkInfo) Unmarshal(data []byte) error
- func (this *NetworkInfo) VerboseEqual(that interface{}) error
- type NetworkInfo_IPAddress
- func (this *NetworkInfo_IPAddress) Equal(that interface{}) bool
- func (m *NetworkInfo_IPAddress) GetIpAddress() string
- func (m *NetworkInfo_IPAddress) GetProtocol() NetworkInfo_Protocol
- func (this *NetworkInfo_IPAddress) GoString() string
- func (m *NetworkInfo_IPAddress) Marshal() (data []byte, err error)
- func (m *NetworkInfo_IPAddress) MarshalTo(data []byte) (int, error)
- func (*NetworkInfo_IPAddress) ProtoMessage()
- func (m *NetworkInfo_IPAddress) Reset()
- func (m *NetworkInfo_IPAddress) Size() (n int)
- func (this *NetworkInfo_IPAddress) String() string
- func (m *NetworkInfo_IPAddress) Unmarshal(data []byte) error
- func (this *NetworkInfo_IPAddress) VerboseEqual(that interface{}) error
- type NetworkInfo_Protocol
- type Offer
- func (this *Offer) Equal(that interface{}) bool
- func (m *Offer) GetAttributes() []*Attribute
- func (m *Offer) GetExecutorIds() []*ExecutorID
- func (m *Offer) GetFrameworkId() *FrameworkID
- func (m *Offer) GetHostname() string
- func (m *Offer) GetId() *OfferID
- func (m *Offer) GetResources() []*Resource
- func (m *Offer) GetSlaveId() *SlaveID
- func (m *Offer) GetUnavailability() *Unavailability
- func (m *Offer) GetUrl() *URL
- func (this *Offer) GoString() string
- func (m *Offer) Marshal() (data []byte, err error)
- func (m *Offer) MarshalTo(data []byte) (int, error)
- func (*Offer) ProtoMessage()
- func (m *Offer) Reset()
- func (m *Offer) Size() (n int)
- func (this *Offer) String() string
- func (m *Offer) Unmarshal(data []byte) error
- func (this *Offer) VerboseEqual(that interface{}) error
- type OfferID
- func (this *OfferID) Equal(that interface{}) bool
- func (m *OfferID) GetValue() string
- func (this *OfferID) GoString() string
- func (m *OfferID) Marshal() (data []byte, err error)
- func (m *OfferID) MarshalTo(data []byte) (int, error)
- func (*OfferID) ProtoMessage()
- func (m *OfferID) Reset()
- func (m *OfferID) Size() (n int)
- func (this *OfferID) String() string
- func (m *OfferID) Unmarshal(data []byte) error
- func (this *OfferID) VerboseEqual(that interface{}) error
- type Offer_Operation
- func (this *Offer_Operation) Equal(that interface{}) bool
- func (m *Offer_Operation) GetCreate() *Offer_Operation_Create
- func (m *Offer_Operation) GetDestroy() *Offer_Operation_Destroy
- func (m *Offer_Operation) GetLaunch() *Offer_Operation_Launch
- func (m *Offer_Operation) GetReserve() *Offer_Operation_Reserve
- func (m *Offer_Operation) GetType() Offer_Operation_Type
- func (m *Offer_Operation) GetUnreserve() *Offer_Operation_Unreserve
- func (this *Offer_Operation) GoString() string
- func (m *Offer_Operation) Marshal() (data []byte, err error)
- func (m *Offer_Operation) MarshalTo(data []byte) (int, error)
- func (*Offer_Operation) ProtoMessage()
- func (m *Offer_Operation) Reset()
- func (m *Offer_Operation) Size() (n int)
- func (this *Offer_Operation) String() string
- func (m *Offer_Operation) Unmarshal(data []byte) error
- func (this *Offer_Operation) VerboseEqual(that interface{}) error
- type Offer_Operation_Create
- func (this *Offer_Operation_Create) Equal(that interface{}) bool
- func (m *Offer_Operation_Create) GetVolumes() []*Resource
- func (this *Offer_Operation_Create) GoString() string
- func (m *Offer_Operation_Create) Marshal() (data []byte, err error)
- func (m *Offer_Operation_Create) MarshalTo(data []byte) (int, error)
- func (*Offer_Operation_Create) ProtoMessage()
- func (m *Offer_Operation_Create) Reset()
- func (m *Offer_Operation_Create) Size() (n int)
- func (this *Offer_Operation_Create) String() string
- func (m *Offer_Operation_Create) Unmarshal(data []byte) error
- func (this *Offer_Operation_Create) VerboseEqual(that interface{}) error
- type Offer_Operation_Destroy
- func (this *Offer_Operation_Destroy) Equal(that interface{}) bool
- func (m *Offer_Operation_Destroy) GetVolumes() []*Resource
- func (this *Offer_Operation_Destroy) GoString() string
- func (m *Offer_Operation_Destroy) Marshal() (data []byte, err error)
- func (m *Offer_Operation_Destroy) MarshalTo(data []byte) (int, error)
- func (*Offer_Operation_Destroy) ProtoMessage()
- func (m *Offer_Operation_Destroy) Reset()
- func (m *Offer_Operation_Destroy) Size() (n int)
- func (this *Offer_Operation_Destroy) String() string
- func (m *Offer_Operation_Destroy) Unmarshal(data []byte) error
- func (this *Offer_Operation_Destroy) VerboseEqual(that interface{}) error
- type Offer_Operation_Launch
- func (this *Offer_Operation_Launch) Equal(that interface{}) bool
- func (m *Offer_Operation_Launch) GetTaskInfos() []*TaskInfo
- func (this *Offer_Operation_Launch) GoString() string
- func (m *Offer_Operation_Launch) Marshal() (data []byte, err error)
- func (m *Offer_Operation_Launch) MarshalTo(data []byte) (int, error)
- func (*Offer_Operation_Launch) ProtoMessage()
- func (m *Offer_Operation_Launch) Reset()
- func (m *Offer_Operation_Launch) Size() (n int)
- func (this *Offer_Operation_Launch) String() string
- func (m *Offer_Operation_Launch) Unmarshal(data []byte) error
- func (this *Offer_Operation_Launch) VerboseEqual(that interface{}) error
- type Offer_Operation_Reserve
- func (this *Offer_Operation_Reserve) Equal(that interface{}) bool
- func (m *Offer_Operation_Reserve) GetResources() []*Resource
- func (this *Offer_Operation_Reserve) GoString() string
- func (m *Offer_Operation_Reserve) Marshal() (data []byte, err error)
- func (m *Offer_Operation_Reserve) MarshalTo(data []byte) (int, error)
- func (*Offer_Operation_Reserve) ProtoMessage()
- func (m *Offer_Operation_Reserve) Reset()
- func (m *Offer_Operation_Reserve) Size() (n int)
- func (this *Offer_Operation_Reserve) String() string
- func (m *Offer_Operation_Reserve) Unmarshal(data []byte) error
- func (this *Offer_Operation_Reserve) VerboseEqual(that interface{}) error
- type Offer_Operation_Type
- type Offer_Operation_Unreserve
- func (this *Offer_Operation_Unreserve) Equal(that interface{}) bool
- func (m *Offer_Operation_Unreserve) GetResources() []*Resource
- func (this *Offer_Operation_Unreserve) GoString() string
- func (m *Offer_Operation_Unreserve) Marshal() (data []byte, err error)
- func (m *Offer_Operation_Unreserve) MarshalTo(data []byte) (int, error)
- func (*Offer_Operation_Unreserve) ProtoMessage()
- func (m *Offer_Operation_Unreserve) Reset()
- func (m *Offer_Operation_Unreserve) Size() (n int)
- func (this *Offer_Operation_Unreserve) String() string
- func (m *Offer_Operation_Unreserve) Unmarshal(data []byte) error
- func (this *Offer_Operation_Unreserve) VerboseEqual(that interface{}) error
- type Parameter
- func (this *Parameter) Equal(that interface{}) bool
- func (m *Parameter) GetKey() string
- func (m *Parameter) GetValue() string
- func (this *Parameter) GoString() string
- func (m *Parameter) Marshal() (data []byte, err error)
- func (m *Parameter) MarshalTo(data []byte) (int, error)
- func (*Parameter) ProtoMessage()
- func (m *Parameter) Reset()
- func (m *Parameter) Size() (n int)
- func (this *Parameter) String() string
- func (m *Parameter) Unmarshal(data []byte) error
- func (this *Parameter) VerboseEqual(that interface{}) error
- type Parameters
- func (this *Parameters) Equal(that interface{}) bool
- func (m *Parameters) GetParameter() []*Parameter
- func (this *Parameters) GoString() string
- func (m *Parameters) Marshal() (data []byte, err error)
- func (m *Parameters) MarshalTo(data []byte) (int, error)
- func (*Parameters) ProtoMessage()
- func (m *Parameters) Reset()
- func (m *Parameters) Size() (n int)
- func (this *Parameters) String() string
- func (m *Parameters) Unmarshal(data []byte) error
- func (this *Parameters) VerboseEqual(that interface{}) error
- type PerfStatistics
- func (this *PerfStatistics) Equal(that interface{}) bool
- func (m *PerfStatistics) GetAlignmentFaults() uint64
- func (m *PerfStatistics) GetBranchLoadMisses() uint64
- func (m *PerfStatistics) GetBranchLoads() uint64
- func (m *PerfStatistics) GetBranchMisses() uint64
- func (m *PerfStatistics) GetBranches() uint64
- func (m *PerfStatistics) GetBusCycles() uint64
- func (m *PerfStatistics) GetCacheMisses() uint64
- func (m *PerfStatistics) GetCacheReferences() uint64
- func (m *PerfStatistics) GetContextSwitches() uint64
- func (m *PerfStatistics) GetCpuClock() float64
- func (m *PerfStatistics) GetCpuMigrations() uint64
- func (m *PerfStatistics) GetCycles() uint64
- func (m *PerfStatistics) GetDtlbLoadMisses() uint64
- func (m *PerfStatistics) GetDtlbLoads() uint64
- func (m *PerfStatistics) GetDtlbPrefetchMisses() uint64
- func (m *PerfStatistics) GetDtlbPrefetches() uint64
- func (m *PerfStatistics) GetDtlbStoreMisses() uint64
- func (m *PerfStatistics) GetDtlbStores() uint64
- func (m *PerfStatistics) GetDuration() float64
- func (m *PerfStatistics) GetEmulationFaults() uint64
- func (m *PerfStatistics) GetInstructions() uint64
- func (m *PerfStatistics) GetItlbLoadMisses() uint64
- func (m *PerfStatistics) GetItlbLoads() uint64
- func (m *PerfStatistics) GetL1DcacheLoadMisses() uint64
- func (m *PerfStatistics) GetL1DcacheLoads() uint64
- func (m *PerfStatistics) GetL1DcachePrefetchMisses() uint64
- func (m *PerfStatistics) GetL1DcachePrefetches() uint64
- func (m *PerfStatistics) GetL1DcacheStoreMisses() uint64
- func (m *PerfStatistics) GetL1DcacheStores() uint64
- func (m *PerfStatistics) GetL1IcacheLoadMisses() uint64
- func (m *PerfStatistics) GetL1IcacheLoads() uint64
- func (m *PerfStatistics) GetL1IcachePrefetchMisses() uint64
- func (m *PerfStatistics) GetL1IcachePrefetches() uint64
- func (m *PerfStatistics) GetLlcLoadMisses() uint64
- func (m *PerfStatistics) GetLlcLoads() uint64
- func (m *PerfStatistics) GetLlcPrefetchMisses() uint64
- func (m *PerfStatistics) GetLlcPrefetches() uint64
- func (m *PerfStatistics) GetLlcStoreMisses() uint64
- func (m *PerfStatistics) GetLlcStores() uint64
- func (m *PerfStatistics) GetMajorFaults() uint64
- func (m *PerfStatistics) GetMinorFaults() uint64
- func (m *PerfStatistics) GetNodeLoadMisses() uint64
- func (m *PerfStatistics) GetNodeLoads() uint64
- func (m *PerfStatistics) GetNodePrefetchMisses() uint64
- func (m *PerfStatistics) GetNodePrefetches() uint64
- func (m *PerfStatistics) GetNodeStoreMisses() uint64
- func (m *PerfStatistics) GetNodeStores() uint64
- func (m *PerfStatistics) GetPageFaults() uint64
- func (m *PerfStatistics) GetRefCycles() uint64
- func (m *PerfStatistics) GetStalledCyclesBackend() uint64
- func (m *PerfStatistics) GetStalledCyclesFrontend() uint64
- func (m *PerfStatistics) GetTaskClock() float64
- func (m *PerfStatistics) GetTimestamp() float64
- func (this *PerfStatistics) GoString() string
- func (m *PerfStatistics) Marshal() (data []byte, err error)
- func (m *PerfStatistics) MarshalTo(data []byte) (int, error)
- func (*PerfStatistics) ProtoMessage()
- func (m *PerfStatistics) Reset()
- func (m *PerfStatistics) Size() (n int)
- func (this *PerfStatistics) String() string
- func (m *PerfStatistics) Unmarshal(data []byte) error
- func (this *PerfStatistics) VerboseEqual(that interface{}) error
- type PingSlaveMessage
- func (this *PingSlaveMessage) Equal(that interface{}) bool
- func (m *PingSlaveMessage) GetConnected() bool
- func (this *PingSlaveMessage) GoString() string
- func (m *PingSlaveMessage) Marshal() (data []byte, err error)
- func (m *PingSlaveMessage) MarshalTo(data []byte) (int, error)
- func (*PingSlaveMessage) ProtoMessage()
- func (m *PingSlaveMessage) Reset()
- func (m *PingSlaveMessage) Size() (n int)
- func (this *PingSlaveMessage) String() string
- func (m *PingSlaveMessage) Unmarshal(data []byte) error
- func (this *PingSlaveMessage) VerboseEqual(that interface{}) error
- type PongSlaveMessage
- func (this *PongSlaveMessage) Equal(that interface{}) bool
- func (this *PongSlaveMessage) GoString() string
- func (m *PongSlaveMessage) Marshal() (data []byte, err error)
- func (m *PongSlaveMessage) MarshalTo(data []byte) (int, error)
- func (*PongSlaveMessage) ProtoMessage()
- func (m *PongSlaveMessage) Reset()
- func (m *PongSlaveMessage) Size() (n int)
- func (this *PongSlaveMessage) String() string
- func (m *PongSlaveMessage) Unmarshal(data []byte) error
- func (this *PongSlaveMessage) VerboseEqual(that interface{}) error
- type Port
- func (this *Port) Equal(that interface{}) bool
- func (m *Port) GetName() string
- func (m *Port) GetNumber() uint32
- func (m *Port) GetProtocol() string
- func (m *Port) GetVisibility() DiscoveryInfo_Visibility
- func (this *Port) GoString() string
- func (m *Port) Marshal() (data []byte, err error)
- func (m *Port) MarshalTo(data []byte) (int, error)
- func (*Port) ProtoMessage()
- func (m *Port) Reset()
- func (m *Port) Size() (n int)
- func (this *Port) String() string
- func (m *Port) Unmarshal(data []byte) error
- func (this *Port) VerboseEqual(that interface{}) error
- type Ports
- func (this *Ports) Equal(that interface{}) bool
- func (m *Ports) GetPorts() []*Port
- func (this *Ports) GoString() string
- func (m *Ports) Marshal() (data []byte, err error)
- func (m *Ports) MarshalTo(data []byte) (int, error)
- func (*Ports) ProtoMessage()
- func (m *Ports) Reset()
- func (m *Ports) Size() (n int)
- func (this *Ports) String() string
- func (m *Ports) Unmarshal(data []byte) error
- func (this *Ports) VerboseEqual(that interface{}) error
- type RateLimit
- func (this *RateLimit) Equal(that interface{}) bool
- func (m *RateLimit) GetCapacity() uint64
- func (m *RateLimit) GetPrincipal() string
- func (m *RateLimit) GetQps() float64
- func (this *RateLimit) GoString() string
- func (m *RateLimit) Marshal() (data []byte, err error)
- func (m *RateLimit) MarshalTo(data []byte) (int, error)
- func (*RateLimit) ProtoMessage()
- func (m *RateLimit) Reset()
- func (m *RateLimit) Size() (n int)
- func (this *RateLimit) String() string
- func (m *RateLimit) Unmarshal(data []byte) error
- func (this *RateLimit) VerboseEqual(that interface{}) error
- type RateLimits
- func (this *RateLimits) Equal(that interface{}) bool
- func (m *RateLimits) GetAggregateDefaultCapacity() uint64
- func (m *RateLimits) GetAggregateDefaultQps() float64
- func (m *RateLimits) GetLimits() []*RateLimit
- func (this *RateLimits) GoString() string
- func (m *RateLimits) Marshal() (data []byte, err error)
- func (m *RateLimits) MarshalTo(data []byte) (int, error)
- func (*RateLimits) ProtoMessage()
- func (m *RateLimits) Reset()
- func (m *RateLimits) Size() (n int)
- func (this *RateLimits) String() string
- func (m *RateLimits) Unmarshal(data []byte) error
- func (this *RateLimits) VerboseEqual(that interface{}) error
- type ReconcileTasksMessage
- func (this *ReconcileTasksMessage) Equal(that interface{}) bool
- func (m *ReconcileTasksMessage) GetFrameworkId() *FrameworkID
- func (m *ReconcileTasksMessage) GetStatuses() []*TaskStatus
- func (this *ReconcileTasksMessage) GoString() string
- func (m *ReconcileTasksMessage) Marshal() (data []byte, err error)
- func (m *ReconcileTasksMessage) MarshalTo(data []byte) (int, error)
- func (*ReconcileTasksMessage) ProtoMessage()
- func (m *ReconcileTasksMessage) Reset()
- func (m *ReconcileTasksMessage) Size() (n int)
- func (this *ReconcileTasksMessage) String() string
- func (m *ReconcileTasksMessage) Unmarshal(data []byte) error
- func (this *ReconcileTasksMessage) VerboseEqual(that interface{}) error
- type ReconnectExecutorMessage
- func (this *ReconnectExecutorMessage) Equal(that interface{}) bool
- func (m *ReconnectExecutorMessage) GetSlaveId() *SlaveID
- func (this *ReconnectExecutorMessage) GoString() string
- func (m *ReconnectExecutorMessage) Marshal() (data []byte, err error)
- func (m *ReconnectExecutorMessage) MarshalTo(data []byte) (int, error)
- func (*ReconnectExecutorMessage) ProtoMessage()
- func (m *ReconnectExecutorMessage) Reset()
- func (m *ReconnectExecutorMessage) Size() (n int)
- func (this *ReconnectExecutorMessage) String() string
- func (m *ReconnectExecutorMessage) Unmarshal(data []byte) error
- func (this *ReconnectExecutorMessage) VerboseEqual(that interface{}) error
- type RegisterExecutorMessage
- func (this *RegisterExecutorMessage) Equal(that interface{}) bool
- func (m *RegisterExecutorMessage) GetExecutorId() *ExecutorID
- func (m *RegisterExecutorMessage) GetFrameworkId() *FrameworkID
- func (this *RegisterExecutorMessage) GoString() string
- func (m *RegisterExecutorMessage) Marshal() (data []byte, err error)
- func (m *RegisterExecutorMessage) MarshalTo(data []byte) (int, error)
- func (*RegisterExecutorMessage) ProtoMessage()
- func (m *RegisterExecutorMessage) Reset()
- func (m *RegisterExecutorMessage) Size() (n int)
- func (this *RegisterExecutorMessage) String() string
- func (m *RegisterExecutorMessage) Unmarshal(data []byte) error
- func (this *RegisterExecutorMessage) VerboseEqual(that interface{}) error
- type RegisterFrameworkMessage
- func (this *RegisterFrameworkMessage) Equal(that interface{}) bool
- func (m *RegisterFrameworkMessage) GetFramework() *FrameworkInfo
- func (this *RegisterFrameworkMessage) GoString() string
- func (m *RegisterFrameworkMessage) Marshal() (data []byte, err error)
- func (m *RegisterFrameworkMessage) MarshalTo(data []byte) (int, error)
- func (*RegisterFrameworkMessage) ProtoMessage()
- func (m *RegisterFrameworkMessage) Reset()
- func (m *RegisterFrameworkMessage) Size() (n int)
- func (this *RegisterFrameworkMessage) String() string
- func (m *RegisterFrameworkMessage) Unmarshal(data []byte) error
- func (this *RegisterFrameworkMessage) VerboseEqual(that interface{}) error
- type RegisterSlaveMessage
- func (this *RegisterSlaveMessage) Equal(that interface{}) bool
- func (m *RegisterSlaveMessage) GetCheckpointedResources() []*Resource
- func (m *RegisterSlaveMessage) GetSlave() *SlaveInfo
- func (m *RegisterSlaveMessage) GetVersion() string
- func (this *RegisterSlaveMessage) GoString() string
- func (m *RegisterSlaveMessage) Marshal() (data []byte, err error)
- func (m *RegisterSlaveMessage) MarshalTo(data []byte) (int, error)
- func (*RegisterSlaveMessage) ProtoMessage()
- func (m *RegisterSlaveMessage) Reset()
- func (m *RegisterSlaveMessage) Size() (n int)
- func (this *RegisterSlaveMessage) String() string
- func (m *RegisterSlaveMessage) Unmarshal(data []byte) error
- func (this *RegisterSlaveMessage) VerboseEqual(that interface{}) error
- type Request
- func (this *Request) Equal(that interface{}) bool
- func (m *Request) GetResources() []*Resource
- func (m *Request) GetSlaveId() *SlaveID
- func (this *Request) GoString() string
- func (m *Request) Marshal() (data []byte, err error)
- func (m *Request) MarshalTo(data []byte) (int, error)
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) Size() (n int)
- func (this *Request) String() string
- func (m *Request) Unmarshal(data []byte) error
- func (this *Request) VerboseEqual(that interface{}) error
- type ReregisterExecutorMessage
- func (this *ReregisterExecutorMessage) Equal(that interface{}) bool
- func (m *ReregisterExecutorMessage) GetExecutorId() *ExecutorID
- func (m *ReregisterExecutorMessage) GetFrameworkId() *FrameworkID
- func (m *ReregisterExecutorMessage) GetTasks() []*TaskInfo
- func (m *ReregisterExecutorMessage) GetUpdates() []*StatusUpdate
- func (this *ReregisterExecutorMessage) GoString() string
- func (m *ReregisterExecutorMessage) Marshal() (data []byte, err error)
- func (m *ReregisterExecutorMessage) MarshalTo(data []byte) (int, error)
- func (*ReregisterExecutorMessage) ProtoMessage()
- func (m *ReregisterExecutorMessage) Reset()
- func (m *ReregisterExecutorMessage) Size() (n int)
- func (this *ReregisterExecutorMessage) String() string
- func (m *ReregisterExecutorMessage) Unmarshal(data []byte) error
- func (this *ReregisterExecutorMessage) VerboseEqual(that interface{}) error
- type ReregisterFrameworkMessage
- func (this *ReregisterFrameworkMessage) Equal(that interface{}) bool
- func (m *ReregisterFrameworkMessage) GetFailover() bool
- func (m *ReregisterFrameworkMessage) GetFramework() *FrameworkInfo
- func (this *ReregisterFrameworkMessage) GoString() string
- func (m *ReregisterFrameworkMessage) Marshal() (data []byte, err error)
- func (m *ReregisterFrameworkMessage) MarshalTo(data []byte) (int, error)
- func (*ReregisterFrameworkMessage) ProtoMessage()
- func (m *ReregisterFrameworkMessage) Reset()
- func (m *ReregisterFrameworkMessage) Size() (n int)
- func (this *ReregisterFrameworkMessage) String() string
- func (m *ReregisterFrameworkMessage) Unmarshal(data []byte) error
- func (this *ReregisterFrameworkMessage) VerboseEqual(that interface{}) error
- type ReregisterSlaveMessage
- func (this *ReregisterSlaveMessage) Equal(that interface{}) bool
- func (m *ReregisterSlaveMessage) GetCheckpointedResources() []*Resource
- func (m *ReregisterSlaveMessage) GetCompletedFrameworks() []*Archive_Framework
- func (m *ReregisterSlaveMessage) GetExecutorInfos() []*ExecutorInfo
- func (m *ReregisterSlaveMessage) GetSlave() *SlaveInfo
- func (m *ReregisterSlaveMessage) GetTasks() []*Task
- func (m *ReregisterSlaveMessage) GetVersion() string
- func (this *ReregisterSlaveMessage) GoString() string
- func (m *ReregisterSlaveMessage) Marshal() (data []byte, err error)
- func (m *ReregisterSlaveMessage) MarshalTo(data []byte) (int, error)
- func (*ReregisterSlaveMessage) ProtoMessage()
- func (m *ReregisterSlaveMessage) Reset()
- func (m *ReregisterSlaveMessage) Size() (n int)
- func (this *ReregisterSlaveMessage) String() string
- func (m *ReregisterSlaveMessage) Unmarshal(data []byte) error
- func (this *ReregisterSlaveMessage) VerboseEqual(that interface{}) error
- type RescindResourceOfferMessage
- func (this *RescindResourceOfferMessage) Equal(that interface{}) bool
- func (m *RescindResourceOfferMessage) GetOfferId() *OfferID
- func (this *RescindResourceOfferMessage) GoString() string
- func (m *RescindResourceOfferMessage) Marshal() (data []byte, err error)
- func (m *RescindResourceOfferMessage) MarshalTo(data []byte) (int, error)
- func (*RescindResourceOfferMessage) ProtoMessage()
- func (m *RescindResourceOfferMessage) Reset()
- func (m *RescindResourceOfferMessage) Size() (n int)
- func (this *RescindResourceOfferMessage) String() string
- func (m *RescindResourceOfferMessage) Unmarshal(data []byte) error
- func (this *RescindResourceOfferMessage) VerboseEqual(that interface{}) error
- type Resource
- func (this *Resource) Equal(that interface{}) bool
- func (m *Resource) GetDisk() *Resource_DiskInfo
- func (m *Resource) GetName() string
- func (m *Resource) GetRanges() *Value_Ranges
- func (m *Resource) GetReservation() *Resource_ReservationInfo
- func (m *Resource) GetRevocable() *Resource_RevocableInfo
- func (m *Resource) GetRole() string
- func (m *Resource) GetScalar() *Value_Scalar
- func (m *Resource) GetSet() *Value_Set
- func (m *Resource) GetType() Value_Type
- func (this *Resource) GoString() string
- func (m *Resource) Marshal() (data []byte, err error)
- func (m *Resource) MarshalTo(data []byte) (int, error)
- func (*Resource) ProtoMessage()
- func (m *Resource) Reset()
- func (m *Resource) Size() (n int)
- func (this *Resource) String() string
- func (m *Resource) Unmarshal(data []byte) error
- func (this *Resource) VerboseEqual(that interface{}) error
- type ResourceOffersMessage
- func (this *ResourceOffersMessage) Equal(that interface{}) bool
- func (m *ResourceOffersMessage) GetInverseOffers() []*InverseOffer
- func (m *ResourceOffersMessage) GetOffers() []*Offer
- func (m *ResourceOffersMessage) GetPids() []string
- func (this *ResourceOffersMessage) GoString() string
- func (m *ResourceOffersMessage) Marshal() (data []byte, err error)
- func (m *ResourceOffersMessage) MarshalTo(data []byte) (int, error)
- func (*ResourceOffersMessage) ProtoMessage()
- func (m *ResourceOffersMessage) Reset()
- func (m *ResourceOffersMessage) Size() (n int)
- func (this *ResourceOffersMessage) String() string
- func (m *ResourceOffersMessage) Unmarshal(data []byte) error
- func (this *ResourceOffersMessage) VerboseEqual(that interface{}) error
- type ResourceRequestMessage
- func (this *ResourceRequestMessage) Equal(that interface{}) bool
- func (m *ResourceRequestMessage) GetFrameworkId() *FrameworkID
- func (m *ResourceRequestMessage) GetRequests() []*Request
- func (this *ResourceRequestMessage) GoString() string
- func (m *ResourceRequestMessage) Marshal() (data []byte, err error)
- func (m *ResourceRequestMessage) MarshalTo(data []byte) (int, error)
- func (*ResourceRequestMessage) ProtoMessage()
- func (m *ResourceRequestMessage) Reset()
- func (m *ResourceRequestMessage) Size() (n int)
- func (this *ResourceRequestMessage) String() string
- func (m *ResourceRequestMessage) Unmarshal(data []byte) error
- func (this *ResourceRequestMessage) VerboseEqual(that interface{}) error
- type ResourceStatistics
- func (this *ResourceStatistics) Equal(that interface{}) bool
- func (m *ResourceStatistics) GetCpusLimit() float64
- func (m *ResourceStatistics) GetCpusNrPeriods() uint32
- func (m *ResourceStatistics) GetCpusNrThrottled() uint32
- func (m *ResourceStatistics) GetCpusSystemTimeSecs() float64
- func (m *ResourceStatistics) GetCpusThrottledTimeSecs() float64
- func (m *ResourceStatistics) GetCpusUserTimeSecs() float64
- func (m *ResourceStatistics) GetDiskLimitBytes() uint64
- func (m *ResourceStatistics) GetDiskUsedBytes() uint64
- func (m *ResourceStatistics) GetMemAnonBytes() uint64
- func (m *ResourceStatistics) GetMemCacheBytes() uint64
- func (m *ResourceStatistics) GetMemCriticalPressureCounter() uint64
- func (m *ResourceStatistics) GetMemFileBytes() uint64
- func (m *ResourceStatistics) GetMemLimitBytes() uint64
- func (m *ResourceStatistics) GetMemLowPressureCounter() uint64
- func (m *ResourceStatistics) GetMemMappedFileBytes() uint64
- func (m *ResourceStatistics) GetMemMediumPressureCounter() uint64
- func (m *ResourceStatistics) GetMemRssBytes() uint64
- func (m *ResourceStatistics) GetMemSoftLimitBytes() uint64
- func (m *ResourceStatistics) GetMemSwapBytes() uint64
- func (m *ResourceStatistics) GetMemTotalBytes() uint64
- func (m *ResourceStatistics) GetMemTotalMemswBytes() uint64
- func (m *ResourceStatistics) GetMemUnevictableBytes() uint64
- func (m *ResourceStatistics) GetNetRxBytes() uint64
- func (m *ResourceStatistics) GetNetRxDropped() uint64
- func (m *ResourceStatistics) GetNetRxErrors() uint64
- func (m *ResourceStatistics) GetNetRxPackets() uint64
- func (m *ResourceStatistics) GetNetTcpActiveConnections() float64
- func (m *ResourceStatistics) GetNetTcpRttMicrosecsP50() float64
- func (m *ResourceStatistics) GetNetTcpRttMicrosecsP90() float64
- func (m *ResourceStatistics) GetNetTcpRttMicrosecsP95() float64
- func (m *ResourceStatistics) GetNetTcpRttMicrosecsP99() float64
- func (m *ResourceStatistics) GetNetTcpTimeWaitConnections() float64
- func (m *ResourceStatistics) GetNetTrafficControlStatistics() []*TrafficControlStatistics
- func (m *ResourceStatistics) GetNetTxBytes() uint64
- func (m *ResourceStatistics) GetNetTxDropped() uint64
- func (m *ResourceStatistics) GetNetTxErrors() uint64
- func (m *ResourceStatistics) GetNetTxPackets() uint64
- func (m *ResourceStatistics) GetPerf() *PerfStatistics
- func (m *ResourceStatistics) GetProcesses() uint32
- func (m *ResourceStatistics) GetThreads() uint32
- func (m *ResourceStatistics) GetTimestamp() float64
- func (this *ResourceStatistics) GoString() string
- func (m *ResourceStatistics) Marshal() (data []byte, err error)
- func (m *ResourceStatistics) MarshalTo(data []byte) (int, error)
- func (*ResourceStatistics) ProtoMessage()
- func (m *ResourceStatistics) Reset()
- func (m *ResourceStatistics) Size() (n int)
- func (this *ResourceStatistics) String() string
- func (m *ResourceStatistics) Unmarshal(data []byte) error
- func (this *ResourceStatistics) VerboseEqual(that interface{}) error
- type ResourceUsage
- func (this *ResourceUsage) Equal(that interface{}) bool
- func (m *ResourceUsage) GetExecutors() []*ResourceUsage_Executor
- func (m *ResourceUsage) GetTotal() []*Resource
- func (this *ResourceUsage) GoString() string
- func (m *ResourceUsage) Marshal() (data []byte, err error)
- func (m *ResourceUsage) MarshalTo(data []byte) (int, error)
- func (*ResourceUsage) ProtoMessage()
- func (m *ResourceUsage) Reset()
- func (m *ResourceUsage) Size() (n int)
- func (this *ResourceUsage) String() string
- func (m *ResourceUsage) Unmarshal(data []byte) error
- func (this *ResourceUsage) VerboseEqual(that interface{}) error
- type ResourceUsage_Executor
- func (this *ResourceUsage_Executor) Equal(that interface{}) bool
- func (m *ResourceUsage_Executor) GetAllocated() []*Resource
- func (m *ResourceUsage_Executor) GetContainerId() *ContainerID
- func (m *ResourceUsage_Executor) GetExecutorInfo() *ExecutorInfo
- func (m *ResourceUsage_Executor) GetStatistics() *ResourceStatistics
- func (this *ResourceUsage_Executor) GoString() string
- func (m *ResourceUsage_Executor) Marshal() (data []byte, err error)
- func (m *ResourceUsage_Executor) MarshalTo(data []byte) (int, error)
- func (*ResourceUsage_Executor) ProtoMessage()
- func (m *ResourceUsage_Executor) Reset()
- func (m *ResourceUsage_Executor) Size() (n int)
- func (this *ResourceUsage_Executor) String() string
- func (m *ResourceUsage_Executor) Unmarshal(data []byte) error
- func (this *ResourceUsage_Executor) VerboseEqual(that interface{}) error
- type Resource_DiskInfo
- func (this *Resource_DiskInfo) Equal(that interface{}) bool
- func (m *Resource_DiskInfo) GetPersistence() *Resource_DiskInfo_Persistence
- func (m *Resource_DiskInfo) GetVolume() *Volume
- func (this *Resource_DiskInfo) GoString() string
- func (m *Resource_DiskInfo) Marshal() (data []byte, err error)
- func (m *Resource_DiskInfo) MarshalTo(data []byte) (int, error)
- func (*Resource_DiskInfo) ProtoMessage()
- func (m *Resource_DiskInfo) Reset()
- func (m *Resource_DiskInfo) Size() (n int)
- func (this *Resource_DiskInfo) String() string
- func (m *Resource_DiskInfo) Unmarshal(data []byte) error
- func (this *Resource_DiskInfo) VerboseEqual(that interface{}) error
- type Resource_DiskInfo_Persistence
- func (this *Resource_DiskInfo_Persistence) Equal(that interface{}) bool
- func (m *Resource_DiskInfo_Persistence) GetId() string
- func (this *Resource_DiskInfo_Persistence) GoString() string
- func (m *Resource_DiskInfo_Persistence) Marshal() (data []byte, err error)
- func (m *Resource_DiskInfo_Persistence) MarshalTo(data []byte) (int, error)
- func (*Resource_DiskInfo_Persistence) ProtoMessage()
- func (m *Resource_DiskInfo_Persistence) Reset()
- func (m *Resource_DiskInfo_Persistence) Size() (n int)
- func (this *Resource_DiskInfo_Persistence) String() string
- func (m *Resource_DiskInfo_Persistence) Unmarshal(data []byte) error
- func (this *Resource_DiskInfo_Persistence) VerboseEqual(that interface{}) error
- type Resource_ReservationInfo
- func (this *Resource_ReservationInfo) Equal(that interface{}) bool
- func (m *Resource_ReservationInfo) GetPrincipal() string
- func (this *Resource_ReservationInfo) GoString() string
- func (m *Resource_ReservationInfo) Marshal() (data []byte, err error)
- func (m *Resource_ReservationInfo) MarshalTo(data []byte) (int, error)
- func (*Resource_ReservationInfo) ProtoMessage()
- func (m *Resource_ReservationInfo) Reset()
- func (m *Resource_ReservationInfo) Size() (n int)
- func (this *Resource_ReservationInfo) String() string
- func (m *Resource_ReservationInfo) Unmarshal(data []byte) error
- func (this *Resource_ReservationInfo) VerboseEqual(that interface{}) error
- type Resource_RevocableInfo
- func (this *Resource_RevocableInfo) Equal(that interface{}) bool
- func (this *Resource_RevocableInfo) GoString() string
- func (m *Resource_RevocableInfo) Marshal() (data []byte, err error)
- func (m *Resource_RevocableInfo) MarshalTo(data []byte) (int, error)
- func (*Resource_RevocableInfo) ProtoMessage()
- func (m *Resource_RevocableInfo) Reset()
- func (m *Resource_RevocableInfo) Size() (n int)
- func (this *Resource_RevocableInfo) String() string
- func (m *Resource_RevocableInfo) Unmarshal(data []byte) error
- func (this *Resource_RevocableInfo) VerboseEqual(that interface{}) error
- type ReviveOffersMessage
- func (this *ReviveOffersMessage) Equal(that interface{}) bool
- func (m *ReviveOffersMessage) GetFrameworkId() *FrameworkID
- func (this *ReviveOffersMessage) GoString() string
- func (m *ReviveOffersMessage) Marshal() (data []byte, err error)
- func (m *ReviveOffersMessage) MarshalTo(data []byte) (int, error)
- func (*ReviveOffersMessage) ProtoMessage()
- func (m *ReviveOffersMessage) Reset()
- func (m *ReviveOffersMessage) Size() (n int)
- func (this *ReviveOffersMessage) String() string
- func (m *ReviveOffersMessage) Unmarshal(data []byte) error
- func (this *ReviveOffersMessage) VerboseEqual(that interface{}) error
- type RunTaskMessage
- func (this *RunTaskMessage) Equal(that interface{}) bool
- func (m *RunTaskMessage) GetFramework() *FrameworkInfo
- func (m *RunTaskMessage) GetFrameworkId() *FrameworkID
- func (m *RunTaskMessage) GetPid() string
- func (m *RunTaskMessage) GetTask() *TaskInfo
- func (this *RunTaskMessage) GoString() string
- func (m *RunTaskMessage) Marshal() (data []byte, err error)
- func (m *RunTaskMessage) MarshalTo(data []byte) (int, error)
- func (*RunTaskMessage) ProtoMessage()
- func (m *RunTaskMessage) Reset()
- func (m *RunTaskMessage) Size() (n int)
- func (this *RunTaskMessage) String() string
- func (m *RunTaskMessage) Unmarshal(data []byte) error
- func (this *RunTaskMessage) VerboseEqual(that interface{}) error
- type ShutdownExecutorMessage
- func (this *ShutdownExecutorMessage) Equal(that interface{}) bool
- func (m *ShutdownExecutorMessage) GetExecutorId() *ExecutorID
- func (m *ShutdownExecutorMessage) GetFrameworkId() *FrameworkID
- func (this *ShutdownExecutorMessage) GoString() string
- func (m *ShutdownExecutorMessage) Marshal() (data []byte, err error)
- func (m *ShutdownExecutorMessage) MarshalTo(data []byte) (int, error)
- func (*ShutdownExecutorMessage) ProtoMessage()
- func (m *ShutdownExecutorMessage) Reset()
- func (m *ShutdownExecutorMessage) Size() (n int)
- func (this *ShutdownExecutorMessage) String() string
- func (m *ShutdownExecutorMessage) Unmarshal(data []byte) error
- func (this *ShutdownExecutorMessage) VerboseEqual(that interface{}) error
- type ShutdownFrameworkMessage
- func (this *ShutdownFrameworkMessage) Equal(that interface{}) bool
- func (m *ShutdownFrameworkMessage) GetFrameworkId() *FrameworkID
- func (this *ShutdownFrameworkMessage) GoString() string
- func (m *ShutdownFrameworkMessage) Marshal() (data []byte, err error)
- func (m *ShutdownFrameworkMessage) MarshalTo(data []byte) (int, error)
- func (*ShutdownFrameworkMessage) ProtoMessage()
- func (m *ShutdownFrameworkMessage) Reset()
- func (m *ShutdownFrameworkMessage) Size() (n int)
- func (this *ShutdownFrameworkMessage) String() string
- func (m *ShutdownFrameworkMessage) Unmarshal(data []byte) error
- func (this *ShutdownFrameworkMessage) VerboseEqual(that interface{}) error
- type ShutdownMessage
- func (this *ShutdownMessage) Equal(that interface{}) bool
- func (m *ShutdownMessage) GetMessage() string
- func (this *ShutdownMessage) GoString() string
- func (m *ShutdownMessage) Marshal() (data []byte, err error)
- func (m *ShutdownMessage) MarshalTo(data []byte) (int, error)
- func (*ShutdownMessage) ProtoMessage()
- func (m *ShutdownMessage) Reset()
- func (m *ShutdownMessage) Size() (n int)
- func (this *ShutdownMessage) String() string
- func (m *ShutdownMessage) Unmarshal(data []byte) error
- func (this *ShutdownMessage) VerboseEqual(that interface{}) error
- type SlaveID
- func (this *SlaveID) Equal(that interface{}) bool
- func (m *SlaveID) GetValue() string
- func (this *SlaveID) GoString() string
- func (m *SlaveID) Marshal() (data []byte, err error)
- func (m *SlaveID) MarshalTo(data []byte) (int, error)
- func (*SlaveID) ProtoMessage()
- func (m *SlaveID) Reset()
- func (m *SlaveID) Size() (n int)
- func (this *SlaveID) String() string
- func (m *SlaveID) Unmarshal(data []byte) error
- func (this *SlaveID) VerboseEqual(that interface{}) error
- type SlaveInfo
- func (this *SlaveInfo) Equal(that interface{}) bool
- func (m *SlaveInfo) GetAttributes() []*Attribute
- func (m *SlaveInfo) GetCheckpoint() bool
- func (m *SlaveInfo) GetHostname() string
- func (m *SlaveInfo) GetId() *SlaveID
- func (m *SlaveInfo) GetPort() int32
- func (m *SlaveInfo) GetResources() []*Resource
- func (this *SlaveInfo) GoString() string
- func (m *SlaveInfo) Marshal() (data []byte, err error)
- func (m *SlaveInfo) MarshalTo(data []byte) (int, error)
- func (*SlaveInfo) ProtoMessage()
- func (m *SlaveInfo) Reset()
- func (m *SlaveInfo) Size() (n int)
- func (this *SlaveInfo) String() string
- func (m *SlaveInfo) Unmarshal(data []byte) error
- func (this *SlaveInfo) VerboseEqual(that interface{}) error
- type SlaveRegisteredMessage
- func (this *SlaveRegisteredMessage) Equal(that interface{}) bool
- func (m *SlaveRegisteredMessage) GetConnection() *MasterSlaveConnection
- func (m *SlaveRegisteredMessage) GetSlaveId() *SlaveID
- func (this *SlaveRegisteredMessage) GoString() string
- func (m *SlaveRegisteredMessage) Marshal() (data []byte, err error)
- func (m *SlaveRegisteredMessage) MarshalTo(data []byte) (int, error)
- func (*SlaveRegisteredMessage) ProtoMessage()
- func (m *SlaveRegisteredMessage) Reset()
- func (m *SlaveRegisteredMessage) Size() (n int)
- func (this *SlaveRegisteredMessage) String() string
- func (m *SlaveRegisteredMessage) Unmarshal(data []byte) error
- func (this *SlaveRegisteredMessage) VerboseEqual(that interface{}) error
- type SlaveReregisteredMessage
- func (this *SlaveReregisteredMessage) Equal(that interface{}) bool
- func (m *SlaveReregisteredMessage) GetConnection() *MasterSlaveConnection
- func (m *SlaveReregisteredMessage) GetReconciliations() []*ReconcileTasksMessage
- func (m *SlaveReregisteredMessage) GetSlaveId() *SlaveID
- func (this *SlaveReregisteredMessage) GoString() string
- func (m *SlaveReregisteredMessage) Marshal() (data []byte, err error)
- func (m *SlaveReregisteredMessage) MarshalTo(data []byte) (int, error)
- func (*SlaveReregisteredMessage) ProtoMessage()
- func (m *SlaveReregisteredMessage) Reset()
- func (m *SlaveReregisteredMessage) Size() (n int)
- func (this *SlaveReregisteredMessage) String() string
- func (m *SlaveReregisteredMessage) Unmarshal(data []byte) error
- func (this *SlaveReregisteredMessage) VerboseEqual(that interface{}) error
- type Status
- type StatusUpdate
- func (this *StatusUpdate) Equal(that interface{}) bool
- func (m *StatusUpdate) GetExecutorId() *ExecutorID
- func (m *StatusUpdate) GetFrameworkId() *FrameworkID
- func (m *StatusUpdate) GetLatestState() TaskState
- func (m *StatusUpdate) GetSlaveId() *SlaveID
- func (m *StatusUpdate) GetStatus() *TaskStatus
- func (m *StatusUpdate) GetTimestamp() float64
- func (m *StatusUpdate) GetUuid() []byte
- func (this *StatusUpdate) GoString() string
- func (m *StatusUpdate) Marshal() (data []byte, err error)
- func (m *StatusUpdate) MarshalTo(data []byte) (int, error)
- func (*StatusUpdate) ProtoMessage()
- func (m *StatusUpdate) Reset()
- func (m *StatusUpdate) Size() (n int)
- func (this *StatusUpdate) String() string
- func (m *StatusUpdate) Unmarshal(data []byte) error
- func (this *StatusUpdate) VerboseEqual(that interface{}) error
- type StatusUpdateAcknowledgementMessage
- func (this *StatusUpdateAcknowledgementMessage) Equal(that interface{}) bool
- func (m *StatusUpdateAcknowledgementMessage) GetFrameworkId() *FrameworkID
- func (m *StatusUpdateAcknowledgementMessage) GetSlaveId() *SlaveID
- func (m *StatusUpdateAcknowledgementMessage) GetTaskId() *TaskID
- func (m *StatusUpdateAcknowledgementMessage) GetUuid() []byte
- func (this *StatusUpdateAcknowledgementMessage) GoString() string
- func (m *StatusUpdateAcknowledgementMessage) Marshal() (data []byte, err error)
- func (m *StatusUpdateAcknowledgementMessage) MarshalTo(data []byte) (int, error)
- func (*StatusUpdateAcknowledgementMessage) ProtoMessage()
- func (m *StatusUpdateAcknowledgementMessage) Reset()
- func (m *StatusUpdateAcknowledgementMessage) Size() (n int)
- func (this *StatusUpdateAcknowledgementMessage) String() string
- func (m *StatusUpdateAcknowledgementMessage) Unmarshal(data []byte) error
- func (this *StatusUpdateAcknowledgementMessage) VerboseEqual(that interface{}) error
- type StatusUpdateMessage
- func (this *StatusUpdateMessage) Equal(that interface{}) bool
- func (m *StatusUpdateMessage) GetPid() string
- func (m *StatusUpdateMessage) GetUpdate() *StatusUpdate
- func (this *StatusUpdateMessage) GoString() string
- func (m *StatusUpdateMessage) Marshal() (data []byte, err error)
- func (m *StatusUpdateMessage) MarshalTo(data []byte) (int, error)
- func (*StatusUpdateMessage) ProtoMessage()
- func (m *StatusUpdateMessage) Reset()
- func (m *StatusUpdateMessage) Size() (n int)
- func (this *StatusUpdateMessage) String() string
- func (m *StatusUpdateMessage) Unmarshal(data []byte) error
- func (this *StatusUpdateMessage) VerboseEqual(that interface{}) error
- type StatusUpdateRecord
- func (this *StatusUpdateRecord) Equal(that interface{}) bool
- func (m *StatusUpdateRecord) GetType() StatusUpdateRecord_Type
- func (m *StatusUpdateRecord) GetUpdate() *StatusUpdate
- func (m *StatusUpdateRecord) GetUuid() []byte
- func (this *StatusUpdateRecord) GoString() string
- func (m *StatusUpdateRecord) Marshal() (data []byte, err error)
- func (m *StatusUpdateRecord) MarshalTo(data []byte) (int, error)
- func (*StatusUpdateRecord) ProtoMessage()
- func (m *StatusUpdateRecord) Reset()
- func (m *StatusUpdateRecord) Size() (n int)
- func (this *StatusUpdateRecord) String() string
- func (m *StatusUpdateRecord) Unmarshal(data []byte) error
- func (this *StatusUpdateRecord) VerboseEqual(that interface{}) error
- type StatusUpdateRecord_Type
- type SubmitSchedulerRequest
- func (this *SubmitSchedulerRequest) Equal(that interface{}) bool
- func (m *SubmitSchedulerRequest) GetName() string
- func (this *SubmitSchedulerRequest) GoString() string
- func (m *SubmitSchedulerRequest) Marshal() (data []byte, err error)
- func (m *SubmitSchedulerRequest) MarshalTo(data []byte) (int, error)
- func (*SubmitSchedulerRequest) ProtoMessage()
- func (m *SubmitSchedulerRequest) Reset()
- func (m *SubmitSchedulerRequest) Size() (n int)
- func (this *SubmitSchedulerRequest) String() string
- func (m *SubmitSchedulerRequest) Unmarshal(data []byte) error
- func (this *SubmitSchedulerRequest) VerboseEqual(that interface{}) error
- type SubmitSchedulerResponse
- func (this *SubmitSchedulerResponse) Equal(that interface{}) bool
- func (m *SubmitSchedulerResponse) GetOkay() bool
- func (this *SubmitSchedulerResponse) GoString() string
- func (m *SubmitSchedulerResponse) Marshal() (data []byte, err error)
- func (m *SubmitSchedulerResponse) MarshalTo(data []byte) (int, error)
- func (*SubmitSchedulerResponse) ProtoMessage()
- func (m *SubmitSchedulerResponse) Reset()
- func (m *SubmitSchedulerResponse) Size() (n int)
- func (this *SubmitSchedulerResponse) String() string
- func (m *SubmitSchedulerResponse) Unmarshal(data []byte) error
- func (this *SubmitSchedulerResponse) VerboseEqual(that interface{}) error
- type Task
- func (this *Task) Equal(that interface{}) bool
- func (m *Task) GetDiscovery() *DiscoveryInfo
- func (m *Task) GetExecutorId() *ExecutorID
- func (m *Task) GetFrameworkId() *FrameworkID
- func (m *Task) GetLabels() *Labels
- func (m *Task) GetName() string
- func (m *Task) GetResources() []*Resource
- func (m *Task) GetSlaveId() *SlaveID
- func (m *Task) GetState() TaskState
- func (m *Task) GetStatusUpdateState() TaskState
- func (m *Task) GetStatusUpdateUuid() []byte
- func (m *Task) GetStatuses() []*TaskStatus
- func (m *Task) GetTaskId() *TaskID
- func (this *Task) GoString() string
- func (m *Task) Marshal() (data []byte, err error)
- func (m *Task) MarshalTo(data []byte) (int, error)
- func (*Task) ProtoMessage()
- func (m *Task) Reset()
- func (m *Task) Size() (n int)
- func (this *Task) String() string
- func (m *Task) Unmarshal(data []byte) error
- func (this *Task) VerboseEqual(that interface{}) error
- type TaskHealthStatus
- func (this *TaskHealthStatus) Equal(that interface{}) bool
- func (m *TaskHealthStatus) GetConsecutiveFailures() int32
- func (m *TaskHealthStatus) GetHealthy() bool
- func (m *TaskHealthStatus) GetKillTask() bool
- func (m *TaskHealthStatus) GetTaskId() *TaskID
- func (this *TaskHealthStatus) GoString() string
- func (m *TaskHealthStatus) Marshal() (data []byte, err error)
- func (m *TaskHealthStatus) MarshalTo(data []byte) (int, error)
- func (*TaskHealthStatus) ProtoMessage()
- func (m *TaskHealthStatus) Reset()
- func (m *TaskHealthStatus) Size() (n int)
- func (this *TaskHealthStatus) String() string
- func (m *TaskHealthStatus) Unmarshal(data []byte) error
- func (this *TaskHealthStatus) VerboseEqual(that interface{}) error
- type TaskID
- func (this *TaskID) Equal(that interface{}) bool
- func (m *TaskID) GetValue() string
- func (this *TaskID) GoString() string
- func (m *TaskID) Marshal() (data []byte, err error)
- func (m *TaskID) MarshalTo(data []byte) (int, error)
- func (*TaskID) ProtoMessage()
- func (m *TaskID) Reset()
- func (m *TaskID) Size() (n int)
- func (this *TaskID) String() string
- func (m *TaskID) Unmarshal(data []byte) error
- func (this *TaskID) VerboseEqual(that interface{}) error
- type TaskInfo
- func (this *TaskInfo) Equal(that interface{}) bool
- func (m *TaskInfo) GetCommand() *CommandInfo
- func (m *TaskInfo) GetContainer() *ContainerInfo
- func (m *TaskInfo) GetData() []byte
- func (m *TaskInfo) GetDiscovery() *DiscoveryInfo
- func (m *TaskInfo) GetExecutor() *ExecutorInfo
- func (m *TaskInfo) GetHealthCheck() *HealthCheck
- func (m *TaskInfo) GetLabels() *Labels
- func (m *TaskInfo) GetName() string
- func (m *TaskInfo) GetResources() []*Resource
- func (m *TaskInfo) GetSlaveId() *SlaveID
- func (m *TaskInfo) GetTaskId() *TaskID
- func (this *TaskInfo) GoString() string
- func (m *TaskInfo) Marshal() (data []byte, err error)
- func (m *TaskInfo) MarshalTo(data []byte) (int, error)
- func (*TaskInfo) ProtoMessage()
- func (m *TaskInfo) Reset()
- func (m *TaskInfo) Size() (n int)
- func (this *TaskInfo) String() string
- func (m *TaskInfo) Unmarshal(data []byte) error
- func (this *TaskInfo) VerboseEqual(that interface{}) error
- type TaskState
- type TaskStatus
- func (this *TaskStatus) Equal(that interface{}) bool
- func (m *TaskStatus) GetContainerStatus() *ContainerStatus
- func (m *TaskStatus) GetData() []byte
- func (m *TaskStatus) GetExecutorId() *ExecutorID
- func (m *TaskStatus) GetHealthy() bool
- func (m *TaskStatus) GetLabels() *Labels
- func (m *TaskStatus) GetMessage() string
- func (m *TaskStatus) GetReason() TaskStatus_Reason
- func (m *TaskStatus) GetSlaveId() *SlaveID
- func (m *TaskStatus) GetSource() TaskStatus_Source
- func (m *TaskStatus) GetState() TaskState
- func (m *TaskStatus) GetTaskId() *TaskID
- func (m *TaskStatus) GetTimestamp() float64
- func (m *TaskStatus) GetUuid() []byte
- func (this *TaskStatus) GoString() string
- func (m *TaskStatus) Marshal() (data []byte, err error)
- func (m *TaskStatus) MarshalTo(data []byte) (int, error)
- func (*TaskStatus) ProtoMessage()
- func (m *TaskStatus) Reset()
- func (m *TaskStatus) Size() (n int)
- func (this *TaskStatus) String() string
- func (m *TaskStatus) Unmarshal(data []byte) error
- func (this *TaskStatus) VerboseEqual(that interface{}) error
- type TaskStatus_Reason
- type TaskStatus_Source
- type TimeInfo
- func (this *TimeInfo) Equal(that interface{}) bool
- func (m *TimeInfo) GetNanoseconds() int64
- func (this *TimeInfo) GoString() string
- func (m *TimeInfo) Marshal() (data []byte, err error)
- func (m *TimeInfo) MarshalTo(data []byte) (int, error)
- func (*TimeInfo) ProtoMessage()
- func (m *TimeInfo) Reset()
- func (m *TimeInfo) Size() (n int)
- func (this *TimeInfo) String() string
- func (m *TimeInfo) Unmarshal(data []byte) error
- func (this *TimeInfo) VerboseEqual(that interface{}) error
- type TrafficControlStatistics
- func (this *TrafficControlStatistics) Equal(that interface{}) bool
- func (m *TrafficControlStatistics) GetBacklog() uint64
- func (m *TrafficControlStatistics) GetBytes() uint64
- func (m *TrafficControlStatistics) GetDrops() uint64
- func (m *TrafficControlStatistics) GetId() string
- func (m *TrafficControlStatistics) GetOverlimits() uint64
- func (m *TrafficControlStatistics) GetPackets() uint64
- func (m *TrafficControlStatistics) GetQlen() uint64
- func (m *TrafficControlStatistics) GetRatebps() uint64
- func (m *TrafficControlStatistics) GetRatepps() uint64
- func (m *TrafficControlStatistics) GetRequeues() uint64
- func (this *TrafficControlStatistics) GoString() string
- func (m *TrafficControlStatistics) Marshal() (data []byte, err error)
- func (m *TrafficControlStatistics) MarshalTo(data []byte) (int, error)
- func (*TrafficControlStatistics) ProtoMessage()
- func (m *TrafficControlStatistics) Reset()
- func (m *TrafficControlStatistics) Size() (n int)
- func (this *TrafficControlStatistics) String() string
- func (m *TrafficControlStatistics) Unmarshal(data []byte) error
- func (this *TrafficControlStatistics) VerboseEqual(that interface{}) error
- type URL
- func (this *URL) Equal(that interface{}) bool
- func (m *URL) GetAddress() *Address
- func (m *URL) GetFragment() string
- func (m *URL) GetPath() string
- func (m *URL) GetQuery() []*Parameter
- func (m *URL) GetScheme() string
- func (this *URL) GoString() string
- func (m *URL) Marshal() (data []byte, err error)
- func (m *URL) MarshalTo(data []byte) (int, error)
- func (*URL) ProtoMessage()
- func (m *URL) Reset()
- func (m *URL) Size() (n int)
- func (this *URL) String() string
- func (m *URL) Unmarshal(data []byte) error
- func (this *URL) VerboseEqual(that interface{}) error
- type Unavailability
- func (this *Unavailability) Equal(that interface{}) bool
- func (m *Unavailability) GetDuration() *DurationInfo
- func (m *Unavailability) GetStart() *TimeInfo
- func (this *Unavailability) GoString() string
- func (m *Unavailability) Marshal() (data []byte, err error)
- func (m *Unavailability) MarshalTo(data []byte) (int, error)
- func (*Unavailability) ProtoMessage()
- func (m *Unavailability) Reset()
- func (m *Unavailability) Size() (n int)
- func (this *Unavailability) String() string
- func (m *Unavailability) Unmarshal(data []byte) error
- func (this *Unavailability) VerboseEqual(that interface{}) error
- type UnregisterFrameworkMessage
- func (this *UnregisterFrameworkMessage) Equal(that interface{}) bool
- func (m *UnregisterFrameworkMessage) GetFrameworkId() *FrameworkID
- func (this *UnregisterFrameworkMessage) GoString() string
- func (m *UnregisterFrameworkMessage) Marshal() (data []byte, err error)
- func (m *UnregisterFrameworkMessage) MarshalTo(data []byte) (int, error)
- func (*UnregisterFrameworkMessage) ProtoMessage()
- func (m *UnregisterFrameworkMessage) Reset()
- func (m *UnregisterFrameworkMessage) Size() (n int)
- func (this *UnregisterFrameworkMessage) String() string
- func (m *UnregisterFrameworkMessage) Unmarshal(data []byte) error
- func (this *UnregisterFrameworkMessage) VerboseEqual(that interface{}) error
- type UnregisterSlaveMessage
- func (this *UnregisterSlaveMessage) Equal(that interface{}) bool
- func (m *UnregisterSlaveMessage) GetSlaveId() *SlaveID
- func (this *UnregisterSlaveMessage) GoString() string
- func (m *UnregisterSlaveMessage) Marshal() (data []byte, err error)
- func (m *UnregisterSlaveMessage) MarshalTo(data []byte) (int, error)
- func (*UnregisterSlaveMessage) ProtoMessage()
- func (m *UnregisterSlaveMessage) Reset()
- func (m *UnregisterSlaveMessage) Size() (n int)
- func (this *UnregisterSlaveMessage) String() string
- func (m *UnregisterSlaveMessage) Unmarshal(data []byte) error
- func (this *UnregisterSlaveMessage) VerboseEqual(that interface{}) error
- type UpdateFrameworkMessage
- func (this *UpdateFrameworkMessage) Equal(that interface{}) bool
- func (m *UpdateFrameworkMessage) GetFrameworkId() *FrameworkID
- func (m *UpdateFrameworkMessage) GetPid() string
- func (this *UpdateFrameworkMessage) GoString() string
- func (m *UpdateFrameworkMessage) Marshal() (data []byte, err error)
- func (m *UpdateFrameworkMessage) MarshalTo(data []byte) (int, error)
- func (*UpdateFrameworkMessage) ProtoMessage()
- func (m *UpdateFrameworkMessage) Reset()
- func (m *UpdateFrameworkMessage) Size() (n int)
- func (this *UpdateFrameworkMessage) String() string
- func (m *UpdateFrameworkMessage) Unmarshal(data []byte) error
- func (this *UpdateFrameworkMessage) VerboseEqual(that interface{}) error
- type UpdateSlaveMessage
- func (this *UpdateSlaveMessage) Equal(that interface{}) bool
- func (m *UpdateSlaveMessage) GetOversubscribedResources() []*Resource
- func (m *UpdateSlaveMessage) GetSlaveId() *SlaveID
- func (this *UpdateSlaveMessage) GoString() string
- func (m *UpdateSlaveMessage) Marshal() (data []byte, err error)
- func (m *UpdateSlaveMessage) MarshalTo(data []byte) (int, error)
- func (*UpdateSlaveMessage) ProtoMessage()
- func (m *UpdateSlaveMessage) Reset()
- func (m *UpdateSlaveMessage) Size() (n int)
- func (this *UpdateSlaveMessage) String() string
- func (m *UpdateSlaveMessage) Unmarshal(data []byte) error
- func (this *UpdateSlaveMessage) VerboseEqual(that interface{}) error
- type Value
- func (this *Value) Equal(that interface{}) bool
- func (m *Value) GetRanges() *Value_Ranges
- func (m *Value) GetScalar() *Value_Scalar
- func (m *Value) GetSet() *Value_Set
- func (m *Value) GetText() *Value_Text
- func (m *Value) GetType() Value_Type
- func (this *Value) GoString() string
- func (m *Value) Marshal() (data []byte, err error)
- func (m *Value) MarshalTo(data []byte) (int, error)
- func (*Value) ProtoMessage()
- func (m *Value) Reset()
- func (m *Value) Size() (n int)
- func (this *Value) String() string
- func (m *Value) Unmarshal(data []byte) error
- func (this *Value) VerboseEqual(that interface{}) error
- type Value_Range
- func (this *Value_Range) Equal(that interface{}) bool
- func (m *Value_Range) GetBegin() uint64
- func (m *Value_Range) GetEnd() uint64
- func (this *Value_Range) GoString() string
- func (m *Value_Range) Marshal() (data []byte, err error)
- func (m *Value_Range) MarshalTo(data []byte) (int, error)
- func (*Value_Range) ProtoMessage()
- func (m *Value_Range) Reset()
- func (m *Value_Range) Size() (n int)
- func (this *Value_Range) String() string
- func (m *Value_Range) Unmarshal(data []byte) error
- func (this *Value_Range) VerboseEqual(that interface{}) error
- type Value_Ranges
- func (this *Value_Ranges) Equal(that interface{}) bool
- func (m *Value_Ranges) GetRange() []*Value_Range
- func (this *Value_Ranges) GoString() string
- func (m *Value_Ranges) Marshal() (data []byte, err error)
- func (m *Value_Ranges) MarshalTo(data []byte) (int, error)
- func (*Value_Ranges) ProtoMessage()
- func (m *Value_Ranges) Reset()
- func (m *Value_Ranges) Size() (n int)
- func (this *Value_Ranges) String() string
- func (m *Value_Ranges) Unmarshal(data []byte) error
- func (this *Value_Ranges) VerboseEqual(that interface{}) error
- type Value_Scalar
- func (this *Value_Scalar) Equal(that interface{}) bool
- func (m *Value_Scalar) GetValue() float64
- func (this *Value_Scalar) GoString() string
- func (m *Value_Scalar) Marshal() (data []byte, err error)
- func (m *Value_Scalar) MarshalTo(data []byte) (int, error)
- func (*Value_Scalar) ProtoMessage()
- func (m *Value_Scalar) Reset()
- func (m *Value_Scalar) Size() (n int)
- func (this *Value_Scalar) String() string
- func (m *Value_Scalar) Unmarshal(data []byte) error
- func (this *Value_Scalar) VerboseEqual(that interface{}) error
- type Value_Set
- func (this *Value_Set) Equal(that interface{}) bool
- func (m *Value_Set) GetItem() []string
- func (this *Value_Set) GoString() string
- func (m *Value_Set) Marshal() (data []byte, err error)
- func (m *Value_Set) MarshalTo(data []byte) (int, error)
- func (*Value_Set) ProtoMessage()
- func (m *Value_Set) Reset()
- func (m *Value_Set) Size() (n int)
- func (this *Value_Set) String() string
- func (m *Value_Set) Unmarshal(data []byte) error
- func (this *Value_Set) VerboseEqual(that interface{}) error
- type Value_Text
- func (this *Value_Text) Equal(that interface{}) bool
- func (m *Value_Text) GetValue() string
- func (this *Value_Text) GoString() string
- func (m *Value_Text) Marshal() (data []byte, err error)
- func (m *Value_Text) MarshalTo(data []byte) (int, error)
- func (*Value_Text) ProtoMessage()
- func (m *Value_Text) Reset()
- func (m *Value_Text) Size() (n int)
- func (this *Value_Text) String() string
- func (m *Value_Text) Unmarshal(data []byte) error
- func (this *Value_Text) VerboseEqual(that interface{}) error
- type Value_Type
- type Volume
- func (this *Volume) Equal(that interface{}) bool
- func (m *Volume) GetContainerPath() string
- func (m *Volume) GetHostPath() string
- func (m *Volume) GetImage() *Image
- func (m *Volume) GetMode() Volume_Mode
- func (this *Volume) GoString() string
- func (m *Volume) Marshal() (data []byte, err error)
- func (m *Volume) MarshalTo(data []byte) (int, error)
- func (*Volume) ProtoMessage()
- func (m *Volume) Reset()
- func (m *Volume) Size() (n int)
- func (this *Volume) String() string
- func (m *Volume) Unmarshal(data []byte) error
- func (this *Volume) VerboseEqual(that interface{}) error
- type Volume_Mode
Constants ¶
const Default_CommandInfo_Shell bool = true
const Default_CommandInfo_URI_Extract bool = true
const Default_ContainerInfo_DockerInfo_Privileged bool = false
const Default_Filters_RefuseSeconds float64 = 5
const Default_FrameworkInfo_Checkpoint bool = false
const Default_FrameworkInfo_FailoverTimeout float64 = 0
const Default_FrameworkInfo_Role string = "*"
const Default_HealthCheck_ConsecutiveFailures uint32 = 3
const Default_HealthCheck_DelaySeconds float64 = 15
const Default_HealthCheck_GracePeriodSeconds float64 = 10
const Default_HealthCheck_HTTP_Path string = "/"
const Default_HealthCheck_IntervalSeconds float64 = 10
const Default_HealthCheck_TimeoutSeconds float64 = 20
const Default_MasterInfo_Port uint32 = 5050
const Default_Resource_Role string = "*"
const Default_SlaveInfo_Checkpoint bool = false
const Default_SlaveInfo_Port int32 = 5051
const Default_TaskHealthStatus_KillTask bool = false
Variables ¶
var ( ErrInvalidLengthAuthentication = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAuthentication = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthMesos = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMesos = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthMessages = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMessages = fmt.Errorf("proto: integer overflow") )
var ContainerInfo_DockerInfo_Network_name = map[int32]string{
1: "HOST",
2: "BRIDGE",
3: "NONE",
}
var ContainerInfo_DockerInfo_Network_value = map[string]int32{
"HOST": 1,
"BRIDGE": 2,
"NONE": 3,
}
var ContainerInfo_Type_name = map[int32]string{
1: "DOCKER",
2: "MESOS",
}
var ContainerInfo_Type_value = map[string]int32{
"DOCKER": 1,
"MESOS": 2,
}
var DiscoveryInfo_Visibility_name = map[int32]string{
0: "FRAMEWORK",
1: "CLUSTER",
2: "EXTERNAL",
}
var DiscoveryInfo_Visibility_value = map[string]int32{
"FRAMEWORK": 0,
"CLUSTER": 1,
"EXTERNAL": 2,
}
var FrameworkInfo_Capability_Type_name = map[int32]string{
1: "REVOCABLE_RESOURCES",
}
var FrameworkInfo_Capability_Type_value = map[string]int32{
"REVOCABLE_RESOURCES": 1,
}
var Image_Type_name = map[int32]string{
1: "APPC",
2: "DOCKER",
}
var Image_Type_value = map[string]int32{
"APPC": 1,
"DOCKER": 2,
}
var MachineInfo_Mode_name = map[int32]string{
1: "UP",
2: "DRAINING",
3: "DOWN",
}
var MachineInfo_Mode_value = map[string]int32{
"UP": 1,
"DRAINING": 2,
"DOWN": 3,
}
var NetworkInfo_Protocol_name = map[int32]string{
1: "IPv4",
2: "IPv6",
}
var NetworkInfo_Protocol_value = map[string]int32{
"IPv4": 1,
"IPv6": 2,
}
var Offer_Operation_Type_name = map[int32]string{
1: "LAUNCH",
2: "RESERVE",
3: "UNRESERVE",
4: "CREATE",
5: "DESTROY",
}
var Offer_Operation_Type_value = map[string]int32{
"LAUNCH": 1,
"RESERVE": 2,
"UNRESERVE": 3,
"CREATE": 4,
"DESTROY": 5,
}
var StatusUpdateRecord_Type_name = map[int32]string{
0: "UPDATE",
1: "ACK",
}
var StatusUpdateRecord_Type_value = map[string]int32{
"UPDATE": 0,
"ACK": 1,
}
var Status_name = map[int32]string{
1: "DRIVER_NOT_STARTED",
2: "DRIVER_RUNNING",
3: "DRIVER_ABORTED",
4: "DRIVER_STOPPED",
}
var Status_value = map[string]int32{
"DRIVER_NOT_STARTED": 1,
"DRIVER_RUNNING": 2,
"DRIVER_ABORTED": 3,
"DRIVER_STOPPED": 4,
}
var TaskState_name = map[int32]string{
6: "TASK_STAGING",
0: "TASK_STARTING",
1: "TASK_RUNNING",
2: "TASK_FINISHED",
3: "TASK_FAILED",
4: "TASK_KILLED",
5: "TASK_LOST",
7: "TASK_ERROR",
}
var TaskState_value = map[string]int32{
"TASK_STAGING": 6,
"TASK_STARTING": 0,
"TASK_RUNNING": 1,
"TASK_FINISHED": 2,
"TASK_FAILED": 3,
"TASK_KILLED": 4,
"TASK_LOST": 5,
"TASK_ERROR": 7,
}
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",
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",
7: "REASON_MASTER_DISCONNECTED",
9: "REASON_RECONCILIATION",
18: "REASON_RESOURCES_UNKNOWN",
10: "REASON_SLAVE_DISCONNECTED",
11: "REASON_SLAVE_REMOVED",
12: "REASON_SLAVE_RESTARTED",
13: "REASON_SLAVE_UNKNOWN",
14: "REASON_TASK_INVALID",
15: "REASON_TASK_UNAUTHORIZED",
16: "REASON_TASK_UNKNOWN",
}
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_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_MASTER_DISCONNECTED": 7,
"REASON_RECONCILIATION": 9,
"REASON_RESOURCES_UNKNOWN": 18,
"REASON_SLAVE_DISCONNECTED": 10,
"REASON_SLAVE_REMOVED": 11,
"REASON_SLAVE_RESTARTED": 12,
"REASON_SLAVE_UNKNOWN": 13,
"REASON_TASK_INVALID": 14,
"REASON_TASK_UNAUTHORIZED": 15,
"REASON_TASK_UNKNOWN": 16,
}
var TaskStatus_Source_name = map[int32]string{
0: "SOURCE_MASTER",
1: "SOURCE_SLAVE",
2: "SOURCE_EXECUTOR",
}
var TaskStatus_Source_value = map[string]int32{
"SOURCE_MASTER": 0,
"SOURCE_SLAVE": 1,
"SOURCE_EXECUTOR": 2,
}
var Value_Type_name = map[int32]string{
0: "SCALAR",
1: "RANGES",
2: "SET",
3: "TEXT",
}
var Value_Type_value = map[string]int32{
"SCALAR": 0,
"RANGES": 1,
"SET": 2,
"TEXT": 3,
}
var Volume_Mode_name = map[int32]string{
1: "RW",
2: "RO",
}
var Volume_Mode_value = map[string]int32{
"RW": 1,
"RO": 2,
}
Functions ¶
This section is empty.
Types ¶
type Address ¶ added in v1.2.0
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,omitempty"` XXX_unrecognized []byte `json:"-"` }
* A network address.
TODO(bmahler): Use this more widely.
func NewPopulatedAddress ¶ added in v1.2.0
func (*Address) GetHostname ¶ added in v1.2.0
func (*Address) ProtoMessage ¶ added in v1.2.0
func (*Address) ProtoMessage()
func (*Address) VerboseEqual ¶ added in v1.2.0
type AppcImageManifest ¶ added in v1.2.0
type AppcImageManifest struct { AcKind *string `protobuf:"bytes,1,req,name=acKind" json:"acKind,omitempty"` AcVersion *string `protobuf:"bytes,2,req,name=acVersion" json:"acVersion,omitempty"` Name *string `protobuf:"bytes,3,req,name=name" json:"name,omitempty"` Labels []*AppcImageManifest_Label `protobuf:"bytes,4,rep,name=labels" json:"labels,omitempty"` Annotations []*AppcImageManifest_Annotation `protobuf:"bytes,5,rep,name=annotations" json:"annotations,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Protobuf for the Appc image manifest JSON schema: https://github.com/appc/spec/blob/master/spec/aci.md#image-manifest-schema Where possible, any field required in the schema is required in the protobuf but some cannot be expressed, e.g., a repeated string that has at least one element. Further validation should be performed after parsing the JSON into the protobuf. This version of Appc protobuf is based on Appc spec version 0.6.1. TODO(xujyan): This protobuf currently defines a subset of fields in the spec that Mesos makes use of to avoid confusion. New fields are going to be added when Mesos starts to support them.
func NewPopulatedAppcImageManifest ¶ added in v1.2.0
func NewPopulatedAppcImageManifest(r randyMesos, easy bool) *AppcImageManifest
func (*AppcImageManifest) Equal ¶ added in v1.2.0
func (this *AppcImageManifest) Equal(that interface{}) bool
func (*AppcImageManifest) GetAcKind ¶ added in v1.2.0
func (m *AppcImageManifest) GetAcKind() string
func (*AppcImageManifest) GetAcVersion ¶ added in v1.2.0
func (m *AppcImageManifest) GetAcVersion() string
func (*AppcImageManifest) GetAnnotations ¶ added in v1.2.0
func (m *AppcImageManifest) GetAnnotations() []*AppcImageManifest_Annotation
func (*AppcImageManifest) GetLabels ¶ added in v1.2.0
func (m *AppcImageManifest) GetLabels() []*AppcImageManifest_Label
func (*AppcImageManifest) GetName ¶ added in v1.2.0
func (m *AppcImageManifest) GetName() string
func (*AppcImageManifest) GoString ¶ added in v1.2.0
func (this *AppcImageManifest) GoString() string
func (*AppcImageManifest) Marshal ¶ added in v1.2.0
func (m *AppcImageManifest) Marshal() (data []byte, err error)
func (*AppcImageManifest) MarshalTo ¶ added in v1.2.0
func (m *AppcImageManifest) MarshalTo(data []byte) (int, error)
func (*AppcImageManifest) ProtoMessage ¶ added in v1.2.0
func (*AppcImageManifest) ProtoMessage()
func (*AppcImageManifest) Reset ¶ added in v1.2.0
func (m *AppcImageManifest) Reset()
func (*AppcImageManifest) Size ¶ added in v1.2.0
func (m *AppcImageManifest) Size() (n int)
func (*AppcImageManifest) String ¶ added in v1.2.0
func (this *AppcImageManifest) String() string
func (*AppcImageManifest) Unmarshal ¶ added in v1.2.0
func (m *AppcImageManifest) Unmarshal(data []byte) error
func (*AppcImageManifest) VerboseEqual ¶ added in v1.2.0
func (this *AppcImageManifest) VerboseEqual(that interface{}) error
type AppcImageManifest_Annotation ¶ added in v1.2.0
type AppcImageManifest_Annotation struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedAppcImageManifest_Annotation ¶ added in v1.2.0
func NewPopulatedAppcImageManifest_Annotation(r randyMesos, easy bool) *AppcImageManifest_Annotation
func (*AppcImageManifest_Annotation) Equal ¶ added in v1.2.0
func (this *AppcImageManifest_Annotation) Equal(that interface{}) bool
func (*AppcImageManifest_Annotation) GetName ¶ added in v1.2.0
func (m *AppcImageManifest_Annotation) GetName() string
func (*AppcImageManifest_Annotation) GetValue ¶ added in v1.2.0
func (m *AppcImageManifest_Annotation) GetValue() string
func (*AppcImageManifest_Annotation) GoString ¶ added in v1.2.0
func (this *AppcImageManifest_Annotation) GoString() string
func (*AppcImageManifest_Annotation) Marshal ¶ added in v1.2.0
func (m *AppcImageManifest_Annotation) Marshal() (data []byte, err error)
func (*AppcImageManifest_Annotation) MarshalTo ¶ added in v1.2.0
func (m *AppcImageManifest_Annotation) MarshalTo(data []byte) (int, error)
func (*AppcImageManifest_Annotation) ProtoMessage ¶ added in v1.2.0
func (*AppcImageManifest_Annotation) ProtoMessage()
func (*AppcImageManifest_Annotation) Reset ¶ added in v1.2.0
func (m *AppcImageManifest_Annotation) Reset()
func (*AppcImageManifest_Annotation) Size ¶ added in v1.2.0
func (m *AppcImageManifest_Annotation) Size() (n int)
func (*AppcImageManifest_Annotation) String ¶ added in v1.2.0
func (this *AppcImageManifest_Annotation) String() string
func (*AppcImageManifest_Annotation) Unmarshal ¶ added in v1.2.0
func (m *AppcImageManifest_Annotation) Unmarshal(data []byte) error
func (*AppcImageManifest_Annotation) VerboseEqual ¶ added in v1.2.0
func (this *AppcImageManifest_Annotation) VerboseEqual(that interface{}) error
type AppcImageManifest_Label ¶ added in v1.2.0
type AppcImageManifest_Label struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedAppcImageManifest_Label ¶ added in v1.2.0
func NewPopulatedAppcImageManifest_Label(r randyMesos, easy bool) *AppcImageManifest_Label
func (*AppcImageManifest_Label) Equal ¶ added in v1.2.0
func (this *AppcImageManifest_Label) Equal(that interface{}) bool
func (*AppcImageManifest_Label) GetName ¶ added in v1.2.0
func (m *AppcImageManifest_Label) GetName() string
func (*AppcImageManifest_Label) GetValue ¶ added in v1.2.0
func (m *AppcImageManifest_Label) GetValue() string
func (*AppcImageManifest_Label) GoString ¶ added in v1.2.0
func (this *AppcImageManifest_Label) GoString() string
func (*AppcImageManifest_Label) Marshal ¶ added in v1.2.0
func (m *AppcImageManifest_Label) Marshal() (data []byte, err error)
func (*AppcImageManifest_Label) MarshalTo ¶ added in v1.2.0
func (m *AppcImageManifest_Label) MarshalTo(data []byte) (int, error)
func (*AppcImageManifest_Label) ProtoMessage ¶ added in v1.2.0
func (*AppcImageManifest_Label) ProtoMessage()
func (*AppcImageManifest_Label) Reset ¶ added in v1.2.0
func (m *AppcImageManifest_Label) Reset()
func (*AppcImageManifest_Label) Size ¶ added in v1.2.0
func (m *AppcImageManifest_Label) Size() (n int)
func (*AppcImageManifest_Label) String ¶ added in v1.2.0
func (this *AppcImageManifest_Label) String() string
func (*AppcImageManifest_Label) Unmarshal ¶ added in v1.2.0
func (m *AppcImageManifest_Label) Unmarshal(data []byte) error
func (*AppcImageManifest_Label) VerboseEqual ¶ added in v1.2.0
func (this *AppcImageManifest_Label) VerboseEqual(that interface{}) error
type Archive ¶
type Archive struct { Frameworks []*Archive_Framework `protobuf:"bytes,1,rep,name=frameworks" json:"frameworks,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes Completed Frameworks, etc. for archival.
func NewPopulatedArchive ¶ added in v1.2.0
func (*Archive) GetFrameworks ¶
func (m *Archive) GetFrameworks() []*Archive_Framework
func (*Archive) ProtoMessage ¶
func (*Archive) ProtoMessage()
func (*Archive) VerboseEqual ¶ added in v1.2.0
type Archive_Framework ¶
type Archive_Framework struct { FrameworkInfo *FrameworkInfo `protobuf:"bytes,1,req,name=framework_info" json:"framework_info,omitempty"` Pid *string `protobuf:"bytes,2,opt,name=pid" json:"pid,omitempty"` Tasks []*Task `protobuf:"bytes,3,rep,name=tasks" json:"tasks,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedArchive_Framework ¶ added in v1.2.0
func NewPopulatedArchive_Framework(r randyMessages, easy bool) *Archive_Framework
func (*Archive_Framework) Equal ¶ added in v1.2.0
func (this *Archive_Framework) Equal(that interface{}) bool
func (*Archive_Framework) GetFrameworkInfo ¶
func (m *Archive_Framework) GetFrameworkInfo() *FrameworkInfo
func (*Archive_Framework) GetPid ¶
func (m *Archive_Framework) GetPid() string
func (*Archive_Framework) GetTasks ¶
func (m *Archive_Framework) GetTasks() []*Task
func (*Archive_Framework) GoString ¶ added in v1.2.0
func (this *Archive_Framework) GoString() string
func (*Archive_Framework) Marshal ¶ added in v1.2.0
func (m *Archive_Framework) Marshal() (data []byte, err error)
func (*Archive_Framework) MarshalTo ¶ added in v1.2.0
func (m *Archive_Framework) MarshalTo(data []byte) (int, error)
func (*Archive_Framework) ProtoMessage ¶
func (*Archive_Framework) ProtoMessage()
func (*Archive_Framework) Reset ¶
func (m *Archive_Framework) Reset()
func (*Archive_Framework) Size ¶ added in v1.2.0
func (m *Archive_Framework) Size() (n int)
func (*Archive_Framework) String ¶
func (this *Archive_Framework) String() string
func (*Archive_Framework) Unmarshal ¶ added in v1.2.0
func (m *Archive_Framework) Unmarshal(data []byte) error
func (*Archive_Framework) VerboseEqual ¶ added in v1.2.0
func (this *Archive_Framework) VerboseEqual(that interface{}) error
type Attribute ¶
type Attribute struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Type *Value_Type `protobuf:"varint,2,req,name=type,enum=mesosproto.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,6,opt,name=set" json:"set,omitempty"` Text *Value_Text `protobuf:"bytes,5,opt,name=text" json:"text,omitempty"` XXX_unrecognized []byte `json:"-"` }
* 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 (*Attribute) GetRanges ¶
func (m *Attribute) GetRanges() *Value_Ranges
func (*Attribute) GetScalar ¶
func (m *Attribute) GetScalar() *Value_Scalar
func (*Attribute) GetText ¶
func (m *Attribute) GetText() *Value_Text
func (*Attribute) GetType ¶
func (m *Attribute) GetType() Value_Type
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) VerboseEqual ¶
type AuthenticateMessage ¶
type AuthenticateMessage struct { Pid *string `protobuf:"bytes,1,req,name=pid" json:"pid,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedAuthenticateMessage ¶ added in v1.2.0
func NewPopulatedAuthenticateMessage(r randyAuthentication, easy bool) *AuthenticateMessage
func (*AuthenticateMessage) Equal ¶ added in v1.2.0
func (this *AuthenticateMessage) Equal(that interface{}) bool
func (*AuthenticateMessage) GetPid ¶
func (m *AuthenticateMessage) GetPid() string
func (*AuthenticateMessage) GoString ¶ added in v1.2.0
func (this *AuthenticateMessage) GoString() string
func (*AuthenticateMessage) Marshal ¶ added in v1.2.0
func (m *AuthenticateMessage) Marshal() (data []byte, err error)
func (*AuthenticateMessage) MarshalTo ¶ added in v1.2.0
func (m *AuthenticateMessage) MarshalTo(data []byte) (int, error)
func (*AuthenticateMessage) ProtoMessage ¶
func (*AuthenticateMessage) ProtoMessage()
func (*AuthenticateMessage) Reset ¶
func (m *AuthenticateMessage) Reset()
func (*AuthenticateMessage) Size ¶ added in v1.2.0
func (m *AuthenticateMessage) Size() (n int)
func (*AuthenticateMessage) String ¶
func (this *AuthenticateMessage) String() string
func (*AuthenticateMessage) Unmarshal ¶ added in v1.2.0
func (m *AuthenticateMessage) Unmarshal(data []byte) error
func (*AuthenticateMessage) VerboseEqual ¶ added in v1.2.0
func (this *AuthenticateMessage) VerboseEqual(that interface{}) error
type AuthenticationCompletedMessage ¶
type AuthenticationCompletedMessage struct {
XXX_unrecognized []byte `json:"-"`
}
func NewPopulatedAuthenticationCompletedMessage ¶ added in v1.2.0
func NewPopulatedAuthenticationCompletedMessage(r randyAuthentication, easy bool) *AuthenticationCompletedMessage
func (*AuthenticationCompletedMessage) Equal ¶ added in v1.2.0
func (this *AuthenticationCompletedMessage) Equal(that interface{}) bool
func (*AuthenticationCompletedMessage) GoString ¶ added in v1.2.0
func (this *AuthenticationCompletedMessage) GoString() string
func (*AuthenticationCompletedMessage) Marshal ¶ added in v1.2.0
func (m *AuthenticationCompletedMessage) Marshal() (data []byte, err error)
func (*AuthenticationCompletedMessage) MarshalTo ¶ added in v1.2.0
func (m *AuthenticationCompletedMessage) MarshalTo(data []byte) (int, error)
func (*AuthenticationCompletedMessage) ProtoMessage ¶
func (*AuthenticationCompletedMessage) ProtoMessage()
func (*AuthenticationCompletedMessage) Reset ¶
func (m *AuthenticationCompletedMessage) Reset()
func (*AuthenticationCompletedMessage) Size ¶ added in v1.2.0
func (m *AuthenticationCompletedMessage) Size() (n int)
func (*AuthenticationCompletedMessage) String ¶
func (this *AuthenticationCompletedMessage) String() string
func (*AuthenticationCompletedMessage) Unmarshal ¶ added in v1.2.0
func (m *AuthenticationCompletedMessage) Unmarshal(data []byte) error
func (*AuthenticationCompletedMessage) VerboseEqual ¶ added in v1.2.0
func (this *AuthenticationCompletedMessage) VerboseEqual(that interface{}) error
type AuthenticationErrorMessage ¶
type AuthenticationErrorMessage struct { Error *string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedAuthenticationErrorMessage ¶ added in v1.2.0
func NewPopulatedAuthenticationErrorMessage(r randyAuthentication, easy bool) *AuthenticationErrorMessage
func (*AuthenticationErrorMessage) Equal ¶ added in v1.2.0
func (this *AuthenticationErrorMessage) Equal(that interface{}) bool
func (*AuthenticationErrorMessage) GetError ¶
func (m *AuthenticationErrorMessage) GetError() string
func (*AuthenticationErrorMessage) GoString ¶ added in v1.2.0
func (this *AuthenticationErrorMessage) GoString() string
func (*AuthenticationErrorMessage) Marshal ¶ added in v1.2.0
func (m *AuthenticationErrorMessage) Marshal() (data []byte, err error)
func (*AuthenticationErrorMessage) MarshalTo ¶ added in v1.2.0
func (m *AuthenticationErrorMessage) MarshalTo(data []byte) (int, error)
func (*AuthenticationErrorMessage) ProtoMessage ¶
func (*AuthenticationErrorMessage) ProtoMessage()
func (*AuthenticationErrorMessage) Reset ¶
func (m *AuthenticationErrorMessage) Reset()
func (*AuthenticationErrorMessage) Size ¶ added in v1.2.0
func (m *AuthenticationErrorMessage) Size() (n int)
func (*AuthenticationErrorMessage) String ¶
func (this *AuthenticationErrorMessage) String() string
func (*AuthenticationErrorMessage) Unmarshal ¶ added in v1.2.0
func (m *AuthenticationErrorMessage) Unmarshal(data []byte) error
func (*AuthenticationErrorMessage) VerboseEqual ¶ added in v1.2.0
func (this *AuthenticationErrorMessage) VerboseEqual(that interface{}) error
type AuthenticationFailedMessage ¶
type AuthenticationFailedMessage struct {
XXX_unrecognized []byte `json:"-"`
}
func NewPopulatedAuthenticationFailedMessage ¶ added in v1.2.0
func NewPopulatedAuthenticationFailedMessage(r randyAuthentication, easy bool) *AuthenticationFailedMessage
func (*AuthenticationFailedMessage) Equal ¶ added in v1.2.0
func (this *AuthenticationFailedMessage) Equal(that interface{}) bool
func (*AuthenticationFailedMessage) GoString ¶ added in v1.2.0
func (this *AuthenticationFailedMessage) GoString() string
func (*AuthenticationFailedMessage) Marshal ¶ added in v1.2.0
func (m *AuthenticationFailedMessage) Marshal() (data []byte, err error)
func (*AuthenticationFailedMessage) MarshalTo ¶ added in v1.2.0
func (m *AuthenticationFailedMessage) MarshalTo(data []byte) (int, error)
func (*AuthenticationFailedMessage) ProtoMessage ¶
func (*AuthenticationFailedMessage) ProtoMessage()
func (*AuthenticationFailedMessage) Reset ¶
func (m *AuthenticationFailedMessage) Reset()
func (*AuthenticationFailedMessage) Size ¶ added in v1.2.0
func (m *AuthenticationFailedMessage) Size() (n int)
func (*AuthenticationFailedMessage) String ¶
func (this *AuthenticationFailedMessage) String() string
func (*AuthenticationFailedMessage) Unmarshal ¶ added in v1.2.0
func (m *AuthenticationFailedMessage) Unmarshal(data []byte) error
func (*AuthenticationFailedMessage) VerboseEqual ¶ added in v1.2.0
func (this *AuthenticationFailedMessage) VerboseEqual(that interface{}) error
type AuthenticationMechanismsMessage ¶
type AuthenticationMechanismsMessage struct { Mechanisms []string `protobuf:"bytes,1,rep,name=mechanisms" json:"mechanisms,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedAuthenticationMechanismsMessage ¶ added in v1.2.0
func NewPopulatedAuthenticationMechanismsMessage(r randyAuthentication, easy bool) *AuthenticationMechanismsMessage
func (*AuthenticationMechanismsMessage) Equal ¶ added in v1.2.0
func (this *AuthenticationMechanismsMessage) Equal(that interface{}) bool
func (*AuthenticationMechanismsMessage) GetMechanisms ¶
func (m *AuthenticationMechanismsMessage) GetMechanisms() []string
func (*AuthenticationMechanismsMessage) GoString ¶ added in v1.2.0
func (this *AuthenticationMechanismsMessage) GoString() string
func (*AuthenticationMechanismsMessage) Marshal ¶ added in v1.2.0
func (m *AuthenticationMechanismsMessage) Marshal() (data []byte, err error)
func (*AuthenticationMechanismsMessage) MarshalTo ¶ added in v1.2.0
func (m *AuthenticationMechanismsMessage) MarshalTo(data []byte) (int, error)
func (*AuthenticationMechanismsMessage) ProtoMessage ¶
func (*AuthenticationMechanismsMessage) ProtoMessage()
func (*AuthenticationMechanismsMessage) Reset ¶
func (m *AuthenticationMechanismsMessage) Reset()
func (*AuthenticationMechanismsMessage) Size ¶ added in v1.2.0
func (m *AuthenticationMechanismsMessage) Size() (n int)
func (*AuthenticationMechanismsMessage) String ¶
func (this *AuthenticationMechanismsMessage) String() string
func (*AuthenticationMechanismsMessage) Unmarshal ¶ added in v1.2.0
func (m *AuthenticationMechanismsMessage) Unmarshal(data []byte) error
func (*AuthenticationMechanismsMessage) VerboseEqual ¶ added in v1.2.0
func (this *AuthenticationMechanismsMessage) VerboseEqual(that interface{}) error
type AuthenticationStartMessage ¶
type AuthenticationStartMessage struct { Mechanism *string `protobuf:"bytes,1,req,name=mechanism" json:"mechanism,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedAuthenticationStartMessage ¶ added in v1.2.0
func NewPopulatedAuthenticationStartMessage(r randyAuthentication, easy bool) *AuthenticationStartMessage
func (*AuthenticationStartMessage) Equal ¶ added in v1.2.0
func (this *AuthenticationStartMessage) Equal(that interface{}) bool
func (*AuthenticationStartMessage) GetData ¶
func (m *AuthenticationStartMessage) GetData() []byte
func (*AuthenticationStartMessage) GetMechanism ¶
func (m *AuthenticationStartMessage) GetMechanism() string
func (*AuthenticationStartMessage) GoString ¶ added in v1.2.0
func (this *AuthenticationStartMessage) GoString() string
func (*AuthenticationStartMessage) Marshal ¶ added in v1.2.0
func (m *AuthenticationStartMessage) Marshal() (data []byte, err error)
func (*AuthenticationStartMessage) MarshalTo ¶ added in v1.2.0
func (m *AuthenticationStartMessage) MarshalTo(data []byte) (int, error)
func (*AuthenticationStartMessage) ProtoMessage ¶
func (*AuthenticationStartMessage) ProtoMessage()
func (*AuthenticationStartMessage) Reset ¶
func (m *AuthenticationStartMessage) Reset()
func (*AuthenticationStartMessage) Size ¶ added in v1.2.0
func (m *AuthenticationStartMessage) Size() (n int)
func (*AuthenticationStartMessage) String ¶
func (this *AuthenticationStartMessage) String() string
func (*AuthenticationStartMessage) Unmarshal ¶ added in v1.2.0
func (m *AuthenticationStartMessage) Unmarshal(data []byte) error
func (*AuthenticationStartMessage) VerboseEqual ¶ added in v1.2.0
func (this *AuthenticationStartMessage) VerboseEqual(that interface{}) error
type AuthenticationStepMessage ¶
type AuthenticationStepMessage struct { Data []byte `protobuf:"bytes,1,req,name=data" json:"data,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedAuthenticationStepMessage ¶ added in v1.2.0
func NewPopulatedAuthenticationStepMessage(r randyAuthentication, easy bool) *AuthenticationStepMessage
func (*AuthenticationStepMessage) Equal ¶ added in v1.2.0
func (this *AuthenticationStepMessage) Equal(that interface{}) bool
func (*AuthenticationStepMessage) GetData ¶
func (m *AuthenticationStepMessage) GetData() []byte
func (*AuthenticationStepMessage) GoString ¶ added in v1.2.0
func (this *AuthenticationStepMessage) GoString() string
func (*AuthenticationStepMessage) Marshal ¶ added in v1.2.0
func (m *AuthenticationStepMessage) Marshal() (data []byte, err error)
func (*AuthenticationStepMessage) MarshalTo ¶ added in v1.2.0
func (m *AuthenticationStepMessage) MarshalTo(data []byte) (int, error)
func (*AuthenticationStepMessage) ProtoMessage ¶
func (*AuthenticationStepMessage) ProtoMessage()
func (*AuthenticationStepMessage) Reset ¶
func (m *AuthenticationStepMessage) Reset()
func (*AuthenticationStepMessage) Size ¶ added in v1.2.0
func (m *AuthenticationStepMessage) Size() (n int)
func (*AuthenticationStepMessage) String ¶
func (this *AuthenticationStepMessage) String() string
func (*AuthenticationStepMessage) Unmarshal ¶ added in v1.2.0
func (m *AuthenticationStepMessage) Unmarshal(data []byte) error
func (*AuthenticationStepMessage) VerboseEqual ¶ added in v1.2.0
func (this *AuthenticationStepMessage) VerboseEqual(that interface{}) error
type CheckpointResourcesMessage ¶ added in v1.1.0
type CheckpointResourcesMessage struct { Resources []*Resource `protobuf:"bytes,1,rep,name=resources" json:"resources,omitempty"` XXX_unrecognized []byte `json:"-"` }
* This message is sent to the agent whenever there is an update of the resources that need to be checkpointed (e.g., persistent volume or dynamic reservation).
func NewPopulatedCheckpointResourcesMessage ¶ added in v1.2.0
func NewPopulatedCheckpointResourcesMessage(r randyMessages, easy bool) *CheckpointResourcesMessage
func (*CheckpointResourcesMessage) Equal ¶ added in v1.2.0
func (this *CheckpointResourcesMessage) Equal(that interface{}) bool
func (*CheckpointResourcesMessage) GetResources ¶ added in v1.1.0
func (m *CheckpointResourcesMessage) GetResources() []*Resource
func (*CheckpointResourcesMessage) GoString ¶ added in v1.2.0
func (this *CheckpointResourcesMessage) GoString() string
func (*CheckpointResourcesMessage) Marshal ¶ added in v1.2.0
func (m *CheckpointResourcesMessage) Marshal() (data []byte, err error)
func (*CheckpointResourcesMessage) MarshalTo ¶ added in v1.2.0
func (m *CheckpointResourcesMessage) MarshalTo(data []byte) (int, error)
func (*CheckpointResourcesMessage) ProtoMessage ¶ added in v1.1.0
func (*CheckpointResourcesMessage) ProtoMessage()
func (*CheckpointResourcesMessage) Reset ¶ added in v1.1.0
func (m *CheckpointResourcesMessage) Reset()
func (*CheckpointResourcesMessage) Size ¶ added in v1.2.0
func (m *CheckpointResourcesMessage) Size() (n int)
func (*CheckpointResourcesMessage) String ¶ added in v1.1.0
func (this *CheckpointResourcesMessage) String() string
func (*CheckpointResourcesMessage) Unmarshal ¶ added in v1.2.0
func (m *CheckpointResourcesMessage) Unmarshal(data []byte) error
func (*CheckpointResourcesMessage) VerboseEqual ¶ added in v1.2.0
func (this *CheckpointResourcesMessage) VerboseEqual(that interface{}) error
type CommandInfo ¶
type CommandInfo struct { // NOTE: MesosContainerizer does currently not support this // attribute and tasks supplying a 'container' will fail. Container *CommandInfo_ContainerInfo `protobuf:"bytes,4,opt,name=container" json:"container,omitempty"` Uris []*CommandInfo_URI `protobuf:"bytes,1,rep,name=uris" json:"uris,omitempty"` 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"` XXX_unrecognized []byte `json:"-"` }
* 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) Equal ¶
func (this *CommandInfo) Equal(that interface{}) bool
func (*CommandInfo) GetArguments ¶
func (m *CommandInfo) GetArguments() []string
func (*CommandInfo) GetContainer ¶
func (m *CommandInfo) GetContainer() *CommandInfo_ContainerInfo
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) ProtoMessage ¶
func (*CommandInfo) ProtoMessage()
func (*CommandInfo) Reset ¶
func (m *CommandInfo) Reset()
func (*CommandInfo) Size ¶
func (m *CommandInfo) Size() (n int)
func (*CommandInfo) String ¶
func (this *CommandInfo) String() string
func (*CommandInfo) Unmarshal ¶
func (m *CommandInfo) Unmarshal(data []byte) error
func (*CommandInfo) VerboseEqual ¶
func (this *CommandInfo) VerboseEqual(that interface{}) error
type CommandInfo_ContainerInfo ¶
type CommandInfo_ContainerInfo struct { // URI describing the container image name. Image *string `protobuf:"bytes,1,req,name=image" json:"image,omitempty"` // Describes additional options passed to the containerizer. Options []string `protobuf:"bytes,2,rep,name=options" json:"options,omitempty"` XXX_unrecognized []byte `json:"-"` }
Describes a container. Not all containerizers currently implement ContainerInfo, so it is possible that a launched task will fail due to supplying this attribute. NOTE: The containerizer API is currently in an early beta or even alpha state. Some details, like the exact semantics of an "image" or "options" are not yet hardened. TODO(tillt): Describe the exact scheme and semantics of "image" and "options".
func NewPopulatedCommandInfo_ContainerInfo ¶
func NewPopulatedCommandInfo_ContainerInfo(r randyMesos, easy bool) *CommandInfo_ContainerInfo
func (*CommandInfo_ContainerInfo) Equal ¶
func (this *CommandInfo_ContainerInfo) Equal(that interface{}) bool
func (*CommandInfo_ContainerInfo) GetImage ¶
func (m *CommandInfo_ContainerInfo) GetImage() string
func (*CommandInfo_ContainerInfo) GetOptions ¶
func (m *CommandInfo_ContainerInfo) GetOptions() []string
func (*CommandInfo_ContainerInfo) GoString ¶
func (this *CommandInfo_ContainerInfo) GoString() string
func (*CommandInfo_ContainerInfo) Marshal ¶
func (m *CommandInfo_ContainerInfo) Marshal() (data []byte, err error)
func (*CommandInfo_ContainerInfo) MarshalTo ¶
func (m *CommandInfo_ContainerInfo) MarshalTo(data []byte) (int, error)
func (*CommandInfo_ContainerInfo) ProtoMessage ¶
func (*CommandInfo_ContainerInfo) ProtoMessage()
func (*CommandInfo_ContainerInfo) Reset ¶
func (m *CommandInfo_ContainerInfo) Reset()
func (*CommandInfo_ContainerInfo) Size ¶
func (m *CommandInfo_ContainerInfo) Size() (n int)
func (*CommandInfo_ContainerInfo) String ¶
func (this *CommandInfo_ContainerInfo) String() string
func (*CommandInfo_ContainerInfo) Unmarshal ¶
func (m *CommandInfo_ContainerInfo) Unmarshal(data []byte) error
func (*CommandInfo_ContainerInfo) VerboseEqual ¶
func (this *CommandInfo_ContainerInfo) VerboseEqual(that interface{}) error
type CommandInfo_URI ¶
type CommandInfo_URI struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` 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"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedCommandInfo_URI ¶
func NewPopulatedCommandInfo_URI(r randyMesos, easy bool) *CommandInfo_URI
func (*CommandInfo_URI) Equal ¶
func (this *CommandInfo_URI) Equal(that interface{}) bool
func (*CommandInfo_URI) GetCache ¶ added in v1.1.0
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) 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) ProtoMessage ¶
func (*CommandInfo_URI) ProtoMessage()
func (*CommandInfo_URI) Reset ¶
func (m *CommandInfo_URI) Reset()
func (*CommandInfo_URI) Size ¶
func (m *CommandInfo_URI) Size() (n int)
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) VerboseEqual ¶
func (this *CommandInfo_URI) VerboseEqual(that interface{}) error
type ContainerID ¶
type ContainerID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
* A slave generated ID to distinguish a container. The ID must be unique between any active or completed containers on the slave. In particular, containers for different runs of the same (framework, executor) pair must be unique.
func NewPopulatedContainerID ¶
func NewPopulatedContainerID(r randyMesos, easy bool) *ContainerID
func (*ContainerID) Equal ¶
func (this *ContainerID) Equal(that interface{}) bool
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) ProtoMessage ¶
func (*ContainerID) ProtoMessage()
func (*ContainerID) Reset ¶
func (m *ContainerID) Reset()
func (*ContainerID) Size ¶
func (m *ContainerID) Size() (n int)
func (*ContainerID) String ¶
func (this *ContainerID) String() string
func (*ContainerID) Unmarshal ¶
func (m *ContainerID) Unmarshal(data []byte) 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=mesosproto.ContainerInfo_Type" json:"type,omitempty"` Volumes []*Volume `protobuf:"bytes,2,rep,name=volumes" json:"volumes,omitempty"` Hostname *string `protobuf:"bytes,4,opt,name=hostname" json:"hostname,omitempty"` // Only one of the following *Info messages should be set to match // the type. 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:"network_infos,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes a container configuration and allows extensible configurations for different container implementations.
func NewPopulatedContainerInfo ¶
func NewPopulatedContainerInfo(r randyMesos, easy bool) *ContainerInfo
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) GetMesos ¶ added in v1.2.0
func (m *ContainerInfo) GetMesos() *ContainerInfo_MesosInfo
func (*ContainerInfo) GetNetworkInfos ¶ added in v1.2.0
func (m *ContainerInfo) GetNetworkInfos() []*NetworkInfo
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) ProtoMessage ¶
func (*ContainerInfo) ProtoMessage()
func (*ContainerInfo) Reset ¶
func (m *ContainerInfo) Reset()
func (*ContainerInfo) Size ¶
func (m *ContainerInfo) Size() (n int)
func (*ContainerInfo) String ¶
func (this *ContainerInfo) String() string
func (*ContainerInfo) Unmarshal ¶
func (m *ContainerInfo) Unmarshal(data []byte) 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,omitempty"` Network *ContainerInfo_DockerInfo_Network `protobuf:"varint,2,opt,name=network,enum=mesosproto.ContainerInfo_DockerInfo_Network,def=1" json:"network,omitempty"` PortMappings []*ContainerInfo_DockerInfo_PortMapping `protobuf:"bytes,3,rep,name=port_mappings" json:"port_mappings,omitempty"` 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,omitempty"` // 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 slave. ForcePullImage *bool `protobuf:"varint,6,opt,name=force_pull_image" json:"force_pull_image,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedContainerInfo_DockerInfo ¶
func NewPopulatedContainerInfo_DockerInfo(r randyMesos, easy bool) *ContainerInfo_DockerInfo
func (*ContainerInfo_DockerInfo) Equal ¶
func (this *ContainerInfo_DockerInfo) Equal(that interface{}) bool
func (*ContainerInfo_DockerInfo) GetForcePullImage ¶ added in v1.1.0
func (m *ContainerInfo_DockerInfo) GetForcePullImage() bool
func (*ContainerInfo_DockerInfo) GetImage ¶
func (m *ContainerInfo_DockerInfo) GetImage() string
func (*ContainerInfo_DockerInfo) GetNetwork ¶
func (m *ContainerInfo_DockerInfo) GetNetwork() ContainerInfo_DockerInfo_Network
func (*ContainerInfo_DockerInfo) GetParameters ¶
func (m *ContainerInfo_DockerInfo) GetParameters() []*Parameter
func (*ContainerInfo_DockerInfo) GetPortMappings ¶
func (m *ContainerInfo_DockerInfo) GetPortMappings() []*ContainerInfo_DockerInfo_PortMapping
func (*ContainerInfo_DockerInfo) GetPrivileged ¶
func (m *ContainerInfo_DockerInfo) GetPrivileged() bool
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) MarshalTo ¶
func (m *ContainerInfo_DockerInfo) MarshalTo(data []byte) (int, error)
func (*ContainerInfo_DockerInfo) ProtoMessage ¶
func (*ContainerInfo_DockerInfo) ProtoMessage()
func (*ContainerInfo_DockerInfo) Reset ¶
func (m *ContainerInfo_DockerInfo) Reset()
func (*ContainerInfo_DockerInfo) Size ¶
func (m *ContainerInfo_DockerInfo) Size() (n int)
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) 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 )
const Default_ContainerInfo_DockerInfo_Network ContainerInfo_DockerInfo_Network = ContainerInfo_DockerInfo_HOST
func (ContainerInfo_DockerInfo_Network) Enum ¶
func (x ContainerInfo_DockerInfo_Network) Enum() *ContainerInfo_DockerInfo_Network
func (ContainerInfo_DockerInfo_Network) String ¶
func (x ContainerInfo_DockerInfo_Network) String() 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:"host_port,omitempty"` ContainerPort *uint32 `protobuf:"varint,2,req,name=container_port" json:"container_port,omitempty"` // Protocol to expose as (ie: tcp, udp). Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedContainerInfo_DockerInfo_PortMapping ¶
func NewPopulatedContainerInfo_DockerInfo_PortMapping(r randyMesos, easy bool) *ContainerInfo_DockerInfo_PortMapping
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 (m *ContainerInfo_DockerInfo_PortMapping) GetHostPort() uint32
func (*ContainerInfo_DockerInfo_PortMapping) GetProtocol ¶
func (m *ContainerInfo_DockerInfo_PortMapping) GetProtocol() string
func (*ContainerInfo_DockerInfo_PortMapping) GoString ¶
func (this *ContainerInfo_DockerInfo_PortMapping) GoString() string
func (*ContainerInfo_DockerInfo_PortMapping) Marshal ¶
func (m *ContainerInfo_DockerInfo_PortMapping) Marshal() (data []byte, err error)
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) Reset ¶
func (m *ContainerInfo_DockerInfo_PortMapping) Reset()
func (*ContainerInfo_DockerInfo_PortMapping) Size ¶
func (m *ContainerInfo_DockerInfo_PortMapping) Size() (n int)
func (*ContainerInfo_DockerInfo_PortMapping) String ¶
func (this *ContainerInfo_DockerInfo_PortMapping) String() string
func (*ContainerInfo_DockerInfo_PortMapping) Unmarshal ¶
func (m *ContainerInfo_DockerInfo_PortMapping) Unmarshal(data []byte) error
func (*ContainerInfo_DockerInfo_PortMapping) VerboseEqual ¶
func (this *ContainerInfo_DockerInfo_PortMapping) VerboseEqual(that interface{}) error
type ContainerInfo_MesosInfo ¶ added in v1.2.0
type ContainerInfo_MesosInfo struct { Image *Image `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedContainerInfo_MesosInfo ¶ added in v1.2.0
func NewPopulatedContainerInfo_MesosInfo(r randyMesos, easy bool) *ContainerInfo_MesosInfo
func (*ContainerInfo_MesosInfo) Equal ¶ added in v1.2.0
func (this *ContainerInfo_MesosInfo) Equal(that interface{}) bool
func (*ContainerInfo_MesosInfo) GetImage ¶ added in v1.2.0
func (m *ContainerInfo_MesosInfo) GetImage() *Image
func (*ContainerInfo_MesosInfo) GoString ¶ added in v1.2.0
func (this *ContainerInfo_MesosInfo) GoString() string
func (*ContainerInfo_MesosInfo) Marshal ¶ added in v1.2.0
func (m *ContainerInfo_MesosInfo) Marshal() (data []byte, err error)
func (*ContainerInfo_MesosInfo) MarshalTo ¶ added in v1.2.0
func (m *ContainerInfo_MesosInfo) MarshalTo(data []byte) (int, error)
func (*ContainerInfo_MesosInfo) ProtoMessage ¶ added in v1.2.0
func (*ContainerInfo_MesosInfo) ProtoMessage()
func (*ContainerInfo_MesosInfo) Reset ¶ added in v1.2.0
func (m *ContainerInfo_MesosInfo) Reset()
func (*ContainerInfo_MesosInfo) Size ¶ added in v1.2.0
func (m *ContainerInfo_MesosInfo) Size() (n int)
func (*ContainerInfo_MesosInfo) String ¶ added in v1.2.0
func (this *ContainerInfo_MesosInfo) String() string
func (*ContainerInfo_MesosInfo) Unmarshal ¶ added in v1.2.0
func (m *ContainerInfo_MesosInfo) Unmarshal(data []byte) error
func (*ContainerInfo_MesosInfo) VerboseEqual ¶ added in v1.2.0
func (this *ContainerInfo_MesosInfo) VerboseEqual(that interface{}) error
type ContainerInfo_Type ¶
type ContainerInfo_Type int32
All container implementation types.
const ( ContainerInfo_DOCKER ContainerInfo_Type = 1 ContainerInfo_MESOS ContainerInfo_Type = 2 )
func (ContainerInfo_Type) Enum ¶
func (x ContainerInfo_Type) Enum() *ContainerInfo_Type
func (ContainerInfo_Type) String ¶
func (x ContainerInfo_Type) String() string
func (*ContainerInfo_Type) UnmarshalJSON ¶
func (x *ContainerInfo_Type) UnmarshalJSON(data []byte) error
type ContainerStatus ¶ added in v1.2.0
type ContainerStatus struct { // This field can be reliably used to identify the container IP address. NetworkInfos []*NetworkInfo `protobuf:"bytes,1,rep,name=network_infos" json:"network_infos,omitempty"` XXX_unrecognized []byte `json:"-"` }
* 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 ¶ added in v1.2.0
func NewPopulatedContainerStatus(r randyMesos, easy bool) *ContainerStatus
func (*ContainerStatus) Equal ¶ added in v1.2.0
func (this *ContainerStatus) Equal(that interface{}) bool
func (*ContainerStatus) GetNetworkInfos ¶ added in v1.2.0
func (m *ContainerStatus) GetNetworkInfos() []*NetworkInfo
func (*ContainerStatus) GoString ¶ added in v1.2.0
func (this *ContainerStatus) GoString() string
func (*ContainerStatus) Marshal ¶ added in v1.2.0
func (m *ContainerStatus) Marshal() (data []byte, err error)
func (*ContainerStatus) MarshalTo ¶ added in v1.2.0
func (m *ContainerStatus) MarshalTo(data []byte) (int, error)
func (*ContainerStatus) ProtoMessage ¶ added in v1.2.0
func (*ContainerStatus) ProtoMessage()
func (*ContainerStatus) Reset ¶ added in v1.2.0
func (m *ContainerStatus) Reset()
func (*ContainerStatus) Size ¶ added in v1.2.0
func (m *ContainerStatus) Size() (n int)
func (*ContainerStatus) String ¶ added in v1.2.0
func (this *ContainerStatus) String() string
func (*ContainerStatus) Unmarshal ¶ added in v1.2.0
func (m *ContainerStatus) Unmarshal(data []byte) error
func (*ContainerStatus) VerboseEqual ¶ added in v1.2.0
func (this *ContainerStatus) VerboseEqual(that interface{}) error
type Credential ¶
type Credential struct { Principal *string `protobuf:"bytes,1,req,name=principal" json:"principal,omitempty"` Secret *string `protobuf:"bytes,2,opt,name=secret" json:"secret,omitempty"` XXX_unrecognized []byte `json:"-"` }
* 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) 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) ProtoMessage ¶
func (*Credential) ProtoMessage()
func (*Credential) Reset ¶
func (m *Credential) Reset()
func (*Credential) Size ¶
func (m *Credential) Size() (n int)
func (*Credential) String ¶
func (this *Credential) String() string
func (*Credential) Unmarshal ¶
func (m *Credential) Unmarshal(data []byte) 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,omitempty"` XXX_unrecognized []byte `json:"-"` }
* 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) 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) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) Reset ¶
func (m *Credentials) Reset()
func (*Credentials) Size ¶
func (m *Credentials) Size() (n int)
func (*Credentials) String ¶
func (this *Credentials) String() string
func (*Credentials) Unmarshal ¶
func (m *Credentials) Unmarshal(data []byte) error
func (*Credentials) VerboseEqual ¶
func (this *Credentials) VerboseEqual(that interface{}) error
type DeactivateFrameworkMessage ¶
type DeactivateFrameworkMessage struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Aborts the scheduler driver and prevents further callbacks to the driver.
Used exclusively by the pre-Event/Call Mesos scheduler driver.
func NewPopulatedDeactivateFrameworkMessage ¶ added in v1.2.0
func NewPopulatedDeactivateFrameworkMessage(r randyMessages, easy bool) *DeactivateFrameworkMessage
func (*DeactivateFrameworkMessage) Equal ¶ added in v1.2.0
func (this *DeactivateFrameworkMessage) Equal(that interface{}) bool
func (*DeactivateFrameworkMessage) GetFrameworkId ¶
func (m *DeactivateFrameworkMessage) GetFrameworkId() *FrameworkID
func (*DeactivateFrameworkMessage) GoString ¶ added in v1.2.0
func (this *DeactivateFrameworkMessage) GoString() string
func (*DeactivateFrameworkMessage) Marshal ¶ added in v1.2.0
func (m *DeactivateFrameworkMessage) Marshal() (data []byte, err error)
func (*DeactivateFrameworkMessage) MarshalTo ¶ added in v1.2.0
func (m *DeactivateFrameworkMessage) MarshalTo(data []byte) (int, error)
func (*DeactivateFrameworkMessage) ProtoMessage ¶
func (*DeactivateFrameworkMessage) ProtoMessage()
func (*DeactivateFrameworkMessage) Reset ¶
func (m *DeactivateFrameworkMessage) Reset()
func (*DeactivateFrameworkMessage) Size ¶ added in v1.2.0
func (m *DeactivateFrameworkMessage) Size() (n int)
func (*DeactivateFrameworkMessage) String ¶
func (this *DeactivateFrameworkMessage) String() string
func (*DeactivateFrameworkMessage) Unmarshal ¶ added in v1.2.0
func (m *DeactivateFrameworkMessage) Unmarshal(data []byte) error
func (*DeactivateFrameworkMessage) VerboseEqual ¶ added in v1.2.0
func (this *DeactivateFrameworkMessage) VerboseEqual(that interface{}) error
type DiscoveryInfo ¶ added in v1.1.0
type DiscoveryInfo struct { Visibility *DiscoveryInfo_Visibility `protobuf:"varint,1,req,name=visibility,enum=mesosproto.DiscoveryInfo_Visibility" json:"visibility,omitempty"` 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"` XXX_unrecognized []byte `json:"-"` }
* 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 ¶ added in v1.1.0
func NewPopulatedDiscoveryInfo(r randyMesos, easy bool) *DiscoveryInfo
func (*DiscoveryInfo) Equal ¶ added in v1.1.0
func (this *DiscoveryInfo) Equal(that interface{}) bool
func (*DiscoveryInfo) GetEnvironment ¶ added in v1.1.0
func (m *DiscoveryInfo) GetEnvironment() string
func (*DiscoveryInfo) GetLabels ¶ added in v1.1.0
func (m *DiscoveryInfo) GetLabels() *Labels
func (*DiscoveryInfo) GetLocation ¶ added in v1.1.0
func (m *DiscoveryInfo) GetLocation() string
func (*DiscoveryInfo) GetName ¶ added in v1.1.0
func (m *DiscoveryInfo) GetName() string
func (*DiscoveryInfo) GetPorts ¶ added in v1.1.0
func (m *DiscoveryInfo) GetPorts() *Ports
func (*DiscoveryInfo) GetVersion ¶ added in v1.1.0
func (m *DiscoveryInfo) GetVersion() string
func (*DiscoveryInfo) GetVisibility ¶ added in v1.1.0
func (m *DiscoveryInfo) GetVisibility() DiscoveryInfo_Visibility
func (*DiscoveryInfo) GoString ¶ added in v1.1.0
func (this *DiscoveryInfo) GoString() string
func (*DiscoveryInfo) Marshal ¶ added in v1.1.0
func (m *DiscoveryInfo) Marshal() (data []byte, err error)
func (*DiscoveryInfo) MarshalTo ¶ added in v1.1.0
func (m *DiscoveryInfo) MarshalTo(data []byte) (int, error)
func (*DiscoveryInfo) ProtoMessage ¶ added in v1.1.0
func (*DiscoveryInfo) ProtoMessage()
func (*DiscoveryInfo) Reset ¶ added in v1.1.0
func (m *DiscoveryInfo) Reset()
func (*DiscoveryInfo) Size ¶ added in v1.1.0
func (m *DiscoveryInfo) Size() (n int)
func (*DiscoveryInfo) String ¶ added in v1.1.0
func (this *DiscoveryInfo) String() string
func (*DiscoveryInfo) Unmarshal ¶ added in v1.1.0
func (m *DiscoveryInfo) Unmarshal(data []byte) error
func (*DiscoveryInfo) VerboseEqual ¶ added in v1.1.0
func (this *DiscoveryInfo) VerboseEqual(that interface{}) error
type DiscoveryInfo_Visibility ¶ added in v1.1.0
type DiscoveryInfo_Visibility int32
const ( DiscoveryInfo_FRAMEWORK DiscoveryInfo_Visibility = 0 DiscoveryInfo_CLUSTER DiscoveryInfo_Visibility = 1 DiscoveryInfo_EXTERNAL DiscoveryInfo_Visibility = 2 )
func (DiscoveryInfo_Visibility) Enum ¶ added in v1.1.0
func (x DiscoveryInfo_Visibility) Enum() *DiscoveryInfo_Visibility
func (DiscoveryInfo_Visibility) String ¶ added in v1.1.0
func (x DiscoveryInfo_Visibility) String() string
func (*DiscoveryInfo_Visibility) UnmarshalJSON ¶ added in v1.1.0
func (x *DiscoveryInfo_Visibility) UnmarshalJSON(data []byte) error
type DurationInfo ¶ added in v1.2.0
type DurationInfo struct { Nanoseconds *int64 `protobuf:"varint,1,req,name=nanoseconds" json:"nanoseconds,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Represents duration in nanoseconds.
func NewPopulatedDurationInfo ¶ added in v1.2.0
func NewPopulatedDurationInfo(r randyMesos, easy bool) *DurationInfo
func (*DurationInfo) Equal ¶ added in v1.2.0
func (this *DurationInfo) Equal(that interface{}) bool
func (*DurationInfo) GetNanoseconds ¶ added in v1.2.0
func (m *DurationInfo) GetNanoseconds() int64
func (*DurationInfo) GoString ¶ added in v1.2.0
func (this *DurationInfo) GoString() string
func (*DurationInfo) Marshal ¶ added in v1.2.0
func (m *DurationInfo) Marshal() (data []byte, err error)
func (*DurationInfo) MarshalTo ¶ added in v1.2.0
func (m *DurationInfo) MarshalTo(data []byte) (int, error)
func (*DurationInfo) ProtoMessage ¶ added in v1.2.0
func (*DurationInfo) ProtoMessage()
func (*DurationInfo) Reset ¶ added in v1.2.0
func (m *DurationInfo) Reset()
func (*DurationInfo) Size ¶ added in v1.2.0
func (m *DurationInfo) Size() (n int)
func (*DurationInfo) String ¶ added in v1.2.0
func (this *DurationInfo) String() string
func (*DurationInfo) Unmarshal ¶ added in v1.2.0
func (m *DurationInfo) Unmarshal(data []byte) error
func (*DurationInfo) VerboseEqual ¶ added in v1.2.0
func (this *DurationInfo) VerboseEqual(that interface{}) error
type Environment ¶
type Environment struct { Variables []*Environment_Variable `protobuf:"bytes,1,rep,name=variables" json:"variables,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes a collection of environment variables. This is used with CommandInfo in order to set environment variables before running a command.
func NewPopulatedEnvironment ¶
func NewPopulatedEnvironment(r randyMesos, easy bool) *Environment
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) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) Reset ¶
func (m *Environment) Reset()
func (*Environment) Size ¶
func (m *Environment) Size() (n int)
func (*Environment) String ¶
func (this *Environment) String() string
func (*Environment) Unmarshal ¶
func (m *Environment) Unmarshal(data []byte) 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,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedEnvironment_Variable ¶
func NewPopulatedEnvironment_Variable(r randyMesos, easy bool) *Environment_Variable
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) 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) MarshalTo ¶
func (m *Environment_Variable) MarshalTo(data []byte) (int, error)
func (*Environment_Variable) ProtoMessage ¶
func (*Environment_Variable) ProtoMessage()
func (*Environment_Variable) Reset ¶
func (m *Environment_Variable) Reset()
func (*Environment_Variable) Size ¶
func (m *Environment_Variable) Size() (n int)
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) VerboseEqual ¶
func (this *Environment_Variable) VerboseEqual(that interface{}) error
type ExecutorID ¶
type ExecutorID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
* A framework generated ID to distinguish an executor. Only one executor with the same ID can be active on the same slave at a time.
func NewPopulatedExecutorID ¶
func NewPopulatedExecutorID(r randyMesos, easy bool) *ExecutorID
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) ProtoMessage ¶
func (*ExecutorID) ProtoMessage()
func (*ExecutorID) Reset ¶
func (m *ExecutorID) Reset()
func (*ExecutorID) Size ¶
func (m *ExecutorID) Size() (n int)
func (*ExecutorID) String ¶
func (this *ExecutorID) String() string
func (*ExecutorID) Unmarshal ¶
func (m *ExecutorID) Unmarshal(data []byte) error
func (*ExecutorID) VerboseEqual ¶
func (this *ExecutorID) VerboseEqual(that interface{}) error
type ExecutorInfo ¶
type ExecutorInfo struct { ExecutorId *ExecutorID `protobuf:"bytes,1,req,name=executor_id" json:"executor_id,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,8,opt,name=framework_id" json:"framework_id,omitempty"` Command *CommandInfo `protobuf:"bytes,7,req,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,omitempty"` 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 slave. This allows users to import // usage information into a time series database for monitoring. Source *string `protobuf:"bytes,10,opt,name=source" json:"source,omitempty"` 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"` XXX_unrecognized []byte `json:"-"` }
* Describes information about an executor. The 'data' field can be used to pass arbitrary bytes to an executor.
func NewPopulatedExecutorInfo ¶
func NewPopulatedExecutorInfo(r randyMesos, easy bool) *ExecutorInfo
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 ¶ added in v1.1.0
func (m *ExecutorInfo) GetDiscovery() *DiscoveryInfo
func (*ExecutorInfo) GetExecutorId ¶
func (m *ExecutorInfo) GetExecutorId() *ExecutorID
func (*ExecutorInfo) GetFrameworkId ¶
func (m *ExecutorInfo) GetFrameworkId() *FrameworkID
func (*ExecutorInfo) GetName ¶
func (m *ExecutorInfo) GetName() string
func (*ExecutorInfo) GetResources ¶
func (m *ExecutorInfo) GetResources() []*Resource
func (*ExecutorInfo) GetSource ¶
func (m *ExecutorInfo) GetSource() string
func (*ExecutorInfo) GoString ¶
func (this *ExecutorInfo) GoString() string
func (*ExecutorInfo) Marshal ¶
func (m *ExecutorInfo) Marshal() (data []byte, err error)
func (*ExecutorInfo) ProtoMessage ¶
func (*ExecutorInfo) ProtoMessage()
func (*ExecutorInfo) Reset ¶
func (m *ExecutorInfo) Reset()
func (*ExecutorInfo) Size ¶
func (m *ExecutorInfo) Size() (n int)
func (*ExecutorInfo) String ¶
func (this *ExecutorInfo) String() string
func (*ExecutorInfo) Unmarshal ¶
func (m *ExecutorInfo) Unmarshal(data []byte) error
func (*ExecutorInfo) VerboseEqual ¶
func (this *ExecutorInfo) VerboseEqual(that interface{}) error
type ExecutorRegisteredMessage ¶
type ExecutorRegisteredMessage struct { ExecutorInfo *ExecutorInfo `protobuf:"bytes,2,req,name=executor_info" json:"executor_info,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,3,req,name=framework_id" json:"framework_id,omitempty"` FrameworkInfo *FrameworkInfo `protobuf:"bytes,4,req,name=framework_info" json:"framework_info,omitempty"` SlaveId *SlaveID `protobuf:"bytes,5,req,name=slave_id" json:"slave_id,omitempty"` SlaveInfo *SlaveInfo `protobuf:"bytes,6,req,name=slave_info" json:"slave_info,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Notifies the executor that the agent has registered it.
See executor::Event::Subscribed.
func NewPopulatedExecutorRegisteredMessage ¶ added in v1.2.0
func NewPopulatedExecutorRegisteredMessage(r randyMessages, easy bool) *ExecutorRegisteredMessage
func (*ExecutorRegisteredMessage) Equal ¶ added in v1.2.0
func (this *ExecutorRegisteredMessage) Equal(that interface{}) bool
func (*ExecutorRegisteredMessage) GetExecutorInfo ¶
func (m *ExecutorRegisteredMessage) GetExecutorInfo() *ExecutorInfo
func (*ExecutorRegisteredMessage) GetFrameworkId ¶
func (m *ExecutorRegisteredMessage) GetFrameworkId() *FrameworkID
func (*ExecutorRegisteredMessage) GetFrameworkInfo ¶
func (m *ExecutorRegisteredMessage) GetFrameworkInfo() *FrameworkInfo
func (*ExecutorRegisteredMessage) GetSlaveId ¶
func (m *ExecutorRegisteredMessage) GetSlaveId() *SlaveID
func (*ExecutorRegisteredMessage) GetSlaveInfo ¶
func (m *ExecutorRegisteredMessage) GetSlaveInfo() *SlaveInfo
func (*ExecutorRegisteredMessage) GoString ¶ added in v1.2.0
func (this *ExecutorRegisteredMessage) GoString() string
func (*ExecutorRegisteredMessage) Marshal ¶ added in v1.2.0
func (m *ExecutorRegisteredMessage) Marshal() (data []byte, err error)
func (*ExecutorRegisteredMessage) MarshalTo ¶ added in v1.2.0
func (m *ExecutorRegisteredMessage) MarshalTo(data []byte) (int, error)
func (*ExecutorRegisteredMessage) ProtoMessage ¶
func (*ExecutorRegisteredMessage) ProtoMessage()
func (*ExecutorRegisteredMessage) Reset ¶
func (m *ExecutorRegisteredMessage) Reset()
func (*ExecutorRegisteredMessage) Size ¶ added in v1.2.0
func (m *ExecutorRegisteredMessage) Size() (n int)
func (*ExecutorRegisteredMessage) String ¶
func (this *ExecutorRegisteredMessage) String() string
func (*ExecutorRegisteredMessage) Unmarshal ¶ added in v1.2.0
func (m *ExecutorRegisteredMessage) Unmarshal(data []byte) error
func (*ExecutorRegisteredMessage) VerboseEqual ¶ added in v1.2.0
func (this *ExecutorRegisteredMessage) VerboseEqual(that interface{}) error
type ExecutorReregisteredMessage ¶
type ExecutorReregisteredMessage struct { SlaveId *SlaveID `protobuf:"bytes,1,req,name=slave_id" json:"slave_id,omitempty"` SlaveInfo *SlaveInfo `protobuf:"bytes,2,req,name=slave_info" json:"slave_info,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Notifies the executor that the agent has reregistered it.
See executor::Event::Subscribed.
func NewPopulatedExecutorReregisteredMessage ¶ added in v1.2.0
func NewPopulatedExecutorReregisteredMessage(r randyMessages, easy bool) *ExecutorReregisteredMessage
func (*ExecutorReregisteredMessage) Equal ¶ added in v1.2.0
func (this *ExecutorReregisteredMessage) Equal(that interface{}) bool
func (*ExecutorReregisteredMessage) GetSlaveId ¶
func (m *ExecutorReregisteredMessage) GetSlaveId() *SlaveID
func (*ExecutorReregisteredMessage) GetSlaveInfo ¶
func (m *ExecutorReregisteredMessage) GetSlaveInfo() *SlaveInfo
func (*ExecutorReregisteredMessage) GoString ¶ added in v1.2.0
func (this *ExecutorReregisteredMessage) GoString() string
func (*ExecutorReregisteredMessage) Marshal ¶ added in v1.2.0
func (m *ExecutorReregisteredMessage) Marshal() (data []byte, err error)
func (*ExecutorReregisteredMessage) MarshalTo ¶ added in v1.2.0
func (m *ExecutorReregisteredMessage) MarshalTo(data []byte) (int, error)
func (*ExecutorReregisteredMessage) ProtoMessage ¶
func (*ExecutorReregisteredMessage) ProtoMessage()
func (*ExecutorReregisteredMessage) Reset ¶
func (m *ExecutorReregisteredMessage) Reset()
func (*ExecutorReregisteredMessage) Size ¶ added in v1.2.0
func (m *ExecutorReregisteredMessage) Size() (n int)
func (*ExecutorReregisteredMessage) String ¶
func (this *ExecutorReregisteredMessage) String() string
func (*ExecutorReregisteredMessage) Unmarshal ¶ added in v1.2.0
func (m *ExecutorReregisteredMessage) Unmarshal(data []byte) error
func (*ExecutorReregisteredMessage) VerboseEqual ¶ added in v1.2.0
func (this *ExecutorReregisteredMessage) VerboseEqual(that interface{}) error
type ExecutorToFrameworkMessage ¶
type ExecutorToFrameworkMessage struct { SlaveId *SlaveID `protobuf:"bytes,1,req,name=slave_id" json:"slave_id,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,2,req,name=framework_id" json:"framework_id,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,3,req,name=executor_id" json:"executor_id,omitempty"` Data []byte `protobuf:"bytes,4,req,name=data" json:"data,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Sends a free-form message from the executor to the framework. Mesos forwards the message, if necessary, via the agents and the master.
See scheduler::Event::Message.
func NewPopulatedExecutorToFrameworkMessage ¶ added in v1.2.0
func NewPopulatedExecutorToFrameworkMessage(r randyMessages, easy bool) *ExecutorToFrameworkMessage
func (*ExecutorToFrameworkMessage) Equal ¶ added in v1.2.0
func (this *ExecutorToFrameworkMessage) Equal(that interface{}) bool
func (*ExecutorToFrameworkMessage) GetData ¶
func (m *ExecutorToFrameworkMessage) GetData() []byte
func (*ExecutorToFrameworkMessage) GetExecutorId ¶
func (m *ExecutorToFrameworkMessage) GetExecutorId() *ExecutorID
func (*ExecutorToFrameworkMessage) GetFrameworkId ¶
func (m *ExecutorToFrameworkMessage) GetFrameworkId() *FrameworkID
func (*ExecutorToFrameworkMessage) GetSlaveId ¶
func (m *ExecutorToFrameworkMessage) GetSlaveId() *SlaveID
func (*ExecutorToFrameworkMessage) GoString ¶ added in v1.2.0
func (this *ExecutorToFrameworkMessage) GoString() string
func (*ExecutorToFrameworkMessage) Marshal ¶ added in v1.2.0
func (m *ExecutorToFrameworkMessage) Marshal() (data []byte, err error)
func (*ExecutorToFrameworkMessage) MarshalTo ¶ added in v1.2.0
func (m *ExecutorToFrameworkMessage) MarshalTo(data []byte) (int, error)
func (*ExecutorToFrameworkMessage) ProtoMessage ¶
func (*ExecutorToFrameworkMessage) ProtoMessage()
func (*ExecutorToFrameworkMessage) Reset ¶
func (m *ExecutorToFrameworkMessage) Reset()
func (*ExecutorToFrameworkMessage) Size ¶ added in v1.2.0
func (m *ExecutorToFrameworkMessage) Size() (n int)
func (*ExecutorToFrameworkMessage) String ¶
func (this *ExecutorToFrameworkMessage) String() string
func (*ExecutorToFrameworkMessage) Unmarshal ¶ added in v1.2.0
func (m *ExecutorToFrameworkMessage) Unmarshal(data []byte) error
func (*ExecutorToFrameworkMessage) VerboseEqual ¶ added in v1.2.0
func (this *ExecutorToFrameworkMessage) VerboseEqual(that interface{}) error
type ExitedExecutorMessage ¶
type ExitedExecutorMessage struct { SlaveId *SlaveID `protobuf:"bytes,1,req,name=slave_id" json:"slave_id,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,2,req,name=framework_id" json:"framework_id,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,3,req,name=executor_id" json:"executor_id,omitempty"` Status *int32 `protobuf:"varint,4,req,name=status" json:"status,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Notifies the scheduler about terminated executors.
See scheduler::Event::Failure.
func NewPopulatedExitedExecutorMessage ¶ added in v1.2.0
func NewPopulatedExitedExecutorMessage(r randyMessages, easy bool) *ExitedExecutorMessage
func (*ExitedExecutorMessage) Equal ¶ added in v1.2.0
func (this *ExitedExecutorMessage) Equal(that interface{}) bool
func (*ExitedExecutorMessage) GetExecutorId ¶
func (m *ExitedExecutorMessage) GetExecutorId() *ExecutorID
func (*ExitedExecutorMessage) GetFrameworkId ¶
func (m *ExitedExecutorMessage) GetFrameworkId() *FrameworkID
func (*ExitedExecutorMessage) GetSlaveId ¶
func (m *ExitedExecutorMessage) GetSlaveId() *SlaveID
func (*ExitedExecutorMessage) GetStatus ¶
func (m *ExitedExecutorMessage) GetStatus() int32
func (*ExitedExecutorMessage) GoString ¶ added in v1.2.0
func (this *ExitedExecutorMessage) GoString() string
func (*ExitedExecutorMessage) Marshal ¶ added in v1.2.0
func (m *ExitedExecutorMessage) Marshal() (data []byte, err error)
func (*ExitedExecutorMessage) MarshalTo ¶ added in v1.2.0
func (m *ExitedExecutorMessage) MarshalTo(data []byte) (int, error)
func (*ExitedExecutorMessage) ProtoMessage ¶
func (*ExitedExecutorMessage) ProtoMessage()
func (*ExitedExecutorMessage) Reset ¶
func (m *ExitedExecutorMessage) Reset()
func (*ExitedExecutorMessage) Size ¶ added in v1.2.0
func (m *ExitedExecutorMessage) Size() (n int)
func (*ExitedExecutorMessage) String ¶
func (this *ExitedExecutorMessage) String() string
func (*ExitedExecutorMessage) Unmarshal ¶ added in v1.2.0
func (m *ExitedExecutorMessage) Unmarshal(data []byte) error
func (*ExitedExecutorMessage) VerboseEqual ¶ added in v1.2.0
func (this *ExitedExecutorMessage) VerboseEqual(that interface{}) error
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). RefuseSeconds *float64 `protobuf:"fixed64,1,opt,name=refuse_seconds,def=5" json:"refuse_seconds,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes possible filters that can be applied to unused resources (see SchedulerDriver::launchTasks) to influence the allocator.
func NewPopulatedFilters ¶
func (*Filters) GetRefuseSeconds ¶
func (*Filters) ProtoMessage ¶
func (*Filters) ProtoMessage()
func (*Filters) VerboseEqual ¶
type FrameworkErrorMessage ¶
type FrameworkErrorMessage struct { Message *string `protobuf:"bytes,2,req,name=message" json:"message,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Notifies the framework about errors during registration.
See scheduler::Event::Error.
func NewPopulatedFrameworkErrorMessage ¶ added in v1.2.0
func NewPopulatedFrameworkErrorMessage(r randyMessages, easy bool) *FrameworkErrorMessage
func (*FrameworkErrorMessage) Equal ¶ added in v1.2.0
func (this *FrameworkErrorMessage) Equal(that interface{}) bool
func (*FrameworkErrorMessage) GetMessage ¶
func (m *FrameworkErrorMessage) GetMessage() string
func (*FrameworkErrorMessage) GoString ¶ added in v1.2.0
func (this *FrameworkErrorMessage) GoString() string
func (*FrameworkErrorMessage) Marshal ¶ added in v1.2.0
func (m *FrameworkErrorMessage) Marshal() (data []byte, err error)
func (*FrameworkErrorMessage) MarshalTo ¶ added in v1.2.0
func (m *FrameworkErrorMessage) MarshalTo(data []byte) (int, error)
func (*FrameworkErrorMessage) ProtoMessage ¶
func (*FrameworkErrorMessage) ProtoMessage()
func (*FrameworkErrorMessage) Reset ¶
func (m *FrameworkErrorMessage) Reset()
func (*FrameworkErrorMessage) Size ¶ added in v1.2.0
func (m *FrameworkErrorMessage) Size() (n int)
func (*FrameworkErrorMessage) String ¶
func (this *FrameworkErrorMessage) String() string
func (*FrameworkErrorMessage) Unmarshal ¶ added in v1.2.0
func (m *FrameworkErrorMessage) Unmarshal(data []byte) error
func (*FrameworkErrorMessage) VerboseEqual ¶ added in v1.2.0
func (this *FrameworkErrorMessage) VerboseEqual(that interface{}) error
type FrameworkID ¶
type FrameworkID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
* 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) 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) ProtoMessage ¶
func (*FrameworkID) ProtoMessage()
func (*FrameworkID) Reset ¶
func (m *FrameworkID) Reset()
func (*FrameworkID) Size ¶
func (m *FrameworkID) Size() (n int)
func (*FrameworkID) String ¶
func (this *FrameworkID) String() string
func (*FrameworkID) Unmarshal ¶
func (m *FrameworkID) Unmarshal(data []byte) 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. If the user field is set to an empty string Mesos // will automagically set it to the current user. User *string `protobuf:"bytes,1,req,name=user" json:"user,omitempty"` // Name of the framework that shows up in the Mesos Web UI. Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` // Note that 'id' is only available after a framework has // registered, however, it is included here in order to facilitate // scheduler failover (i.e., if it is set then the // MesosSchedulerDriver expects the scheduler is performing // failover). Id *FrameworkID `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"` // The amount of time 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 failover and not lose its tasks/executors. FailoverTimeout *float64 `protobuf:"fixed64,4,opt,name=failover_timeout,def=0" json:"failover_timeout,omitempty"` // If set, framework pid, executor pids and status updates are // checkpointed to disk by the slaves. Checkpointing allows a // restarted slave to reconnect with old executors and recover // status updates, at the cost of disk I/O. Checkpoint *bool `protobuf:"varint,5,opt,name=checkpoint,def=0" json:"checkpoint,omitempty"` // Used to group frameworks for allocation decisions, depending on // the allocation policy being used. Role *string `protobuf:"bytes,6,opt,name=role,def=*" json:"role,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:"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,omitempty"` // 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 *Labels `protobuf:"bytes,11,opt,name=labels" json:"labels,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes a framework.
func NewPopulatedFrameworkInfo ¶
func NewPopulatedFrameworkInfo(r randyMesos, easy bool) *FrameworkInfo
func (*FrameworkInfo) Equal ¶
func (this *FrameworkInfo) Equal(that interface{}) bool
func (*FrameworkInfo) GetCapabilities ¶ added in v1.1.0
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 ¶ added in v1.2.0
func (m *FrameworkInfo) GetLabels() *Labels
func (*FrameworkInfo) GetName ¶
func (m *FrameworkInfo) GetName() string
func (*FrameworkInfo) GetPrincipal ¶
func (m *FrameworkInfo) GetPrincipal() string
func (*FrameworkInfo) GetRole ¶
func (m *FrameworkInfo) GetRole() 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) ProtoMessage ¶
func (*FrameworkInfo) ProtoMessage()
func (*FrameworkInfo) Reset ¶
func (m *FrameworkInfo) Reset()
func (*FrameworkInfo) Size ¶
func (m *FrameworkInfo) Size() (n int)
func (*FrameworkInfo) String ¶
func (this *FrameworkInfo) String() string
func (*FrameworkInfo) Unmarshal ¶
func (m *FrameworkInfo) Unmarshal(data []byte) error
func (*FrameworkInfo) VerboseEqual ¶
func (this *FrameworkInfo) VerboseEqual(that interface{}) error
type FrameworkInfo_Capability ¶ added in v1.1.0
type FrameworkInfo_Capability struct { Type *FrameworkInfo_Capability_Type `protobuf:"varint,1,req,name=type,enum=mesosproto.FrameworkInfo_Capability_Type" json:"type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedFrameworkInfo_Capability ¶ added in v1.1.0
func NewPopulatedFrameworkInfo_Capability(r randyMesos, easy bool) *FrameworkInfo_Capability
func (*FrameworkInfo_Capability) Equal ¶ added in v1.1.0
func (this *FrameworkInfo_Capability) Equal(that interface{}) bool
func (*FrameworkInfo_Capability) GetType ¶ added in v1.1.0
func (m *FrameworkInfo_Capability) GetType() FrameworkInfo_Capability_Type
func (*FrameworkInfo_Capability) GoString ¶ added in v1.1.0
func (this *FrameworkInfo_Capability) GoString() string
func (*FrameworkInfo_Capability) Marshal ¶ added in v1.1.0
func (m *FrameworkInfo_Capability) Marshal() (data []byte, err error)
func (*FrameworkInfo_Capability) MarshalTo ¶ added in v1.1.0
func (m *FrameworkInfo_Capability) MarshalTo(data []byte) (int, error)
func (*FrameworkInfo_Capability) ProtoMessage ¶ added in v1.1.0
func (*FrameworkInfo_Capability) ProtoMessage()
func (*FrameworkInfo_Capability) Reset ¶ added in v1.1.0
func (m *FrameworkInfo_Capability) Reset()
func (*FrameworkInfo_Capability) Size ¶ added in v1.1.0
func (m *FrameworkInfo_Capability) Size() (n int)
func (*FrameworkInfo_Capability) String ¶ added in v1.1.0
func (this *FrameworkInfo_Capability) String() string
func (*FrameworkInfo_Capability) Unmarshal ¶ added in v1.1.0
func (m *FrameworkInfo_Capability) Unmarshal(data []byte) error
func (*FrameworkInfo_Capability) VerboseEqual ¶ added in v1.1.0
func (this *FrameworkInfo_Capability) VerboseEqual(that interface{}) error
type FrameworkInfo_Capability_Type ¶ added in v1.1.0
type FrameworkInfo_Capability_Type int32
const ( // Receive offers with revocable resources. See 'Resource' // message for details. // TODO(vinod): This is currently a no-op. FrameworkInfo_Capability_REVOCABLE_RESOURCES FrameworkInfo_Capability_Type = 1 )
func (FrameworkInfo_Capability_Type) Enum ¶ added in v1.1.0
func (x FrameworkInfo_Capability_Type) Enum() *FrameworkInfo_Capability_Type
func (FrameworkInfo_Capability_Type) String ¶ added in v1.1.0
func (x FrameworkInfo_Capability_Type) String() string
func (*FrameworkInfo_Capability_Type) UnmarshalJSON ¶ added in v1.1.0
func (x *FrameworkInfo_Capability_Type) UnmarshalJSON(data []byte) error
type FrameworkRegisteredMessage ¶
type FrameworkRegisteredMessage struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` MasterInfo *MasterInfo `protobuf:"bytes,2,req,name=master_info" json:"master_info,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Notifies the framework that the master has registered it. The `framework_id` holds a unique ID for distinguishing this framework.
See scheduler::Event::Subscribed.
func NewPopulatedFrameworkRegisteredMessage ¶ added in v1.2.0
func NewPopulatedFrameworkRegisteredMessage(r randyMessages, easy bool) *FrameworkRegisteredMessage
func (*FrameworkRegisteredMessage) Equal ¶ added in v1.2.0
func (this *FrameworkRegisteredMessage) Equal(that interface{}) bool
func (*FrameworkRegisteredMessage) GetFrameworkId ¶
func (m *FrameworkRegisteredMessage) GetFrameworkId() *FrameworkID
func (*FrameworkRegisteredMessage) GetMasterInfo ¶
func (m *FrameworkRegisteredMessage) GetMasterInfo() *MasterInfo
func (*FrameworkRegisteredMessage) GoString ¶ added in v1.2.0
func (this *FrameworkRegisteredMessage) GoString() string
func (*FrameworkRegisteredMessage) Marshal ¶ added in v1.2.0
func (m *FrameworkRegisteredMessage) Marshal() (data []byte, err error)
func (*FrameworkRegisteredMessage) MarshalTo ¶ added in v1.2.0
func (m *FrameworkRegisteredMessage) MarshalTo(data []byte) (int, error)
func (*FrameworkRegisteredMessage) ProtoMessage ¶
func (*FrameworkRegisteredMessage) ProtoMessage()
func (*FrameworkRegisteredMessage) Reset ¶
func (m *FrameworkRegisteredMessage) Reset()
func (*FrameworkRegisteredMessage) Size ¶ added in v1.2.0
func (m *FrameworkRegisteredMessage) Size() (n int)
func (*FrameworkRegisteredMessage) String ¶
func (this *FrameworkRegisteredMessage) String() string
func (*FrameworkRegisteredMessage) Unmarshal ¶ added in v1.2.0
func (m *FrameworkRegisteredMessage) Unmarshal(data []byte) error
func (*FrameworkRegisteredMessage) VerboseEqual ¶ added in v1.2.0
func (this *FrameworkRegisteredMessage) VerboseEqual(that interface{}) error
type FrameworkReregisteredMessage ¶
type FrameworkReregisteredMessage struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` MasterInfo *MasterInfo `protobuf:"bytes,2,req,name=master_info" json:"master_info,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Notifies the framework that the master has reregistered it. This message is used in the same conditions as `ReregisterFrameworkMessage`.
See scheduler::Event::Subscribed.
func NewPopulatedFrameworkReregisteredMessage ¶ added in v1.2.0
func NewPopulatedFrameworkReregisteredMessage(r randyMessages, easy bool) *FrameworkReregisteredMessage
func (*FrameworkReregisteredMessage) Equal ¶ added in v1.2.0
func (this *FrameworkReregisteredMessage) Equal(that interface{}) bool
func (*FrameworkReregisteredMessage) GetFrameworkId ¶
func (m *FrameworkReregisteredMessage) GetFrameworkId() *FrameworkID
func (*FrameworkReregisteredMessage) GetMasterInfo ¶
func (m *FrameworkReregisteredMessage) GetMasterInfo() *MasterInfo
func (*FrameworkReregisteredMessage) GoString ¶ added in v1.2.0
func (this *FrameworkReregisteredMessage) GoString() string
func (*FrameworkReregisteredMessage) Marshal ¶ added in v1.2.0
func (m *FrameworkReregisteredMessage) Marshal() (data []byte, err error)
func (*FrameworkReregisteredMessage) MarshalTo ¶ added in v1.2.0
func (m *FrameworkReregisteredMessage) MarshalTo(data []byte) (int, error)
func (*FrameworkReregisteredMessage) ProtoMessage ¶
func (*FrameworkReregisteredMessage) ProtoMessage()
func (*FrameworkReregisteredMessage) Reset ¶
func (m *FrameworkReregisteredMessage) Reset()
func (*FrameworkReregisteredMessage) Size ¶ added in v1.2.0
func (m *FrameworkReregisteredMessage) Size() (n int)
func (*FrameworkReregisteredMessage) String ¶
func (this *FrameworkReregisteredMessage) String() string
func (*FrameworkReregisteredMessage) Unmarshal ¶ added in v1.2.0
func (m *FrameworkReregisteredMessage) Unmarshal(data []byte) error
func (*FrameworkReregisteredMessage) VerboseEqual ¶ added in v1.2.0
func (this *FrameworkReregisteredMessage) VerboseEqual(that interface{}) error
type FrameworkToExecutorMessage ¶
type FrameworkToExecutorMessage struct { SlaveId *SlaveID `protobuf:"bytes,1,req,name=slave_id" json:"slave_id,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,2,req,name=framework_id" json:"framework_id,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,3,req,name=executor_id" json:"executor_id,omitempty"` Data []byte `protobuf:"bytes,4,req,name=data" json:"data,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Sends a free-form message from the framework to the executor. Mesos forwards the message, if necessary, via the agents and the master.
See scheduler::Call::Message.
func NewPopulatedFrameworkToExecutorMessage ¶ added in v1.2.0
func NewPopulatedFrameworkToExecutorMessage(r randyMessages, easy bool) *FrameworkToExecutorMessage
func (*FrameworkToExecutorMessage) Equal ¶ added in v1.2.0
func (this *FrameworkToExecutorMessage) Equal(that interface{}) bool
func (*FrameworkToExecutorMessage) GetData ¶
func (m *FrameworkToExecutorMessage) GetData() []byte
func (*FrameworkToExecutorMessage) GetExecutorId ¶
func (m *FrameworkToExecutorMessage) GetExecutorId() *ExecutorID
func (*FrameworkToExecutorMessage) GetFrameworkId ¶
func (m *FrameworkToExecutorMessage) GetFrameworkId() *FrameworkID
func (*FrameworkToExecutorMessage) GetSlaveId ¶
func (m *FrameworkToExecutorMessage) GetSlaveId() *SlaveID
func (*FrameworkToExecutorMessage) GoString ¶ added in v1.2.0
func (this *FrameworkToExecutorMessage) GoString() string
func (*FrameworkToExecutorMessage) Marshal ¶ added in v1.2.0
func (m *FrameworkToExecutorMessage) Marshal() (data []byte, err error)
func (*FrameworkToExecutorMessage) MarshalTo ¶ added in v1.2.0
func (m *FrameworkToExecutorMessage) MarshalTo(data []byte) (int, error)
func (*FrameworkToExecutorMessage) ProtoMessage ¶
func (*FrameworkToExecutorMessage) ProtoMessage()
func (*FrameworkToExecutorMessage) Reset ¶
func (m *FrameworkToExecutorMessage) Reset()
func (*FrameworkToExecutorMessage) Size ¶ added in v1.2.0
func (m *FrameworkToExecutorMessage) Size() (n int)
func (*FrameworkToExecutorMessage) String ¶
func (this *FrameworkToExecutorMessage) String() string
func (*FrameworkToExecutorMessage) Unmarshal ¶ added in v1.2.0
func (m *FrameworkToExecutorMessage) Unmarshal(data []byte) error
func (*FrameworkToExecutorMessage) VerboseEqual ¶ added in v1.2.0
func (this *FrameworkToExecutorMessage) VerboseEqual(that interface{}) error
type HealthCheck ¶
type HealthCheck struct { // HTTP health check - not yet recommended for use, see MESOS-2533. Http *HealthCheck_HTTP `protobuf:"bytes,1,opt,name=http" json:"http,omitempty"` // Amount of time to wait until starting the health checks. DelaySeconds *float64 `protobuf:"fixed64,2,opt,name=delay_seconds,def=15" json:"delay_seconds,omitempty"` // Interval between health checks. IntervalSeconds *float64 `protobuf:"fixed64,3,opt,name=interval_seconds,def=10" json:"interval_seconds,omitempty"` // Amount of time to wait for the health check to complete. TimeoutSeconds *float64 `protobuf:"fixed64,4,opt,name=timeout_seconds,def=20" json:"timeout_seconds,omitempty"` // Number of consecutive failures until considered unhealthy. ConsecutiveFailures *uint32 `protobuf:"varint,5,opt,name=consecutive_failures,def=3" json:"consecutive_failures,omitempty"` // Amount of time to allow failed health checks since launch. GracePeriodSeconds *float64 `protobuf:"fixed64,6,opt,name=grace_period_seconds,def=10" json:"grace_period_seconds,omitempty"` // Command health check. Command *CommandInfo `protobuf:"bytes,7,opt,name=command" json:"command,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes a health check for a task or executor (or any arbitrary process/command). A "strategy" is picked by specifying one of the optional fields; currently only 'command' is supported. Specifying more than one strategy is an error.
func NewPopulatedHealthCheck ¶
func NewPopulatedHealthCheck(r randyMesos, easy bool) *HealthCheck
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_HTTP
func (*HealthCheck) GetIntervalSeconds ¶
func (m *HealthCheck) GetIntervalSeconds() float64
func (*HealthCheck) GetTimeoutSeconds ¶
func (m *HealthCheck) GetTimeoutSeconds() float64
func (*HealthCheck) GoString ¶
func (this *HealthCheck) GoString() string
func (*HealthCheck) Marshal ¶
func (m *HealthCheck) Marshal() (data []byte, err error)
func (*HealthCheck) ProtoMessage ¶
func (*HealthCheck) ProtoMessage()
func (*HealthCheck) Reset ¶
func (m *HealthCheck) Reset()
func (*HealthCheck) Size ¶
func (m *HealthCheck) Size() (n int)
func (*HealthCheck) String ¶
func (this *HealthCheck) String() string
func (*HealthCheck) Unmarshal ¶
func (m *HealthCheck) Unmarshal(data []byte) error
func (*HealthCheck) VerboseEqual ¶
func (this *HealthCheck) VerboseEqual(that interface{}) error
type HealthCheck_HTTP ¶
type HealthCheck_HTTP struct { // Port to send the HTTP request. Port *uint32 `protobuf:"varint,1,req,name=port" json:"port,omitempty"` // HTTP request path. Path *string `protobuf:"bytes,2,opt,name=path,def=/" json:"path,omitempty"` // Expected response statuses. Not specifying any statuses implies // that any returned status is acceptable. Statuses []uint32 `protobuf:"varint,4,rep,name=statuses" json:"statuses,omitempty"` XXX_unrecognized []byte `json:"-"` }
Describes an HTTP health check. This is not fully implemented and not recommended for use - see MESOS-2533.
func NewPopulatedHealthCheck_HTTP ¶
func NewPopulatedHealthCheck_HTTP(r randyMesos, easy bool) *HealthCheck_HTTP
func (*HealthCheck_HTTP) Equal ¶
func (this *HealthCheck_HTTP) Equal(that interface{}) bool
func (*HealthCheck_HTTP) GetPath ¶
func (m *HealthCheck_HTTP) GetPath() string
func (*HealthCheck_HTTP) GetPort ¶
func (m *HealthCheck_HTTP) GetPort() uint32
func (*HealthCheck_HTTP) GetStatuses ¶
func (m *HealthCheck_HTTP) GetStatuses() []uint32
func (*HealthCheck_HTTP) GoString ¶
func (this *HealthCheck_HTTP) GoString() string
func (*HealthCheck_HTTP) Marshal ¶
func (m *HealthCheck_HTTP) Marshal() (data []byte, err error)
func (*HealthCheck_HTTP) ProtoMessage ¶
func (*HealthCheck_HTTP) ProtoMessage()
func (*HealthCheck_HTTP) Reset ¶
func (m *HealthCheck_HTTP) Reset()
func (*HealthCheck_HTTP) Size ¶
func (m *HealthCheck_HTTP) Size() (n int)
func (*HealthCheck_HTTP) String ¶
func (this *HealthCheck_HTTP) String() string
func (*HealthCheck_HTTP) Unmarshal ¶
func (m *HealthCheck_HTTP) Unmarshal(data []byte) error
func (*HealthCheck_HTTP) VerboseEqual ¶
func (this *HealthCheck_HTTP) VerboseEqual(that interface{}) error
type HookExecuted ¶ added in v1.1.0
type HookExecuted struct { Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Message to signal completion of an event within a module.
func NewPopulatedHookExecuted ¶ added in v1.2.0
func NewPopulatedHookExecuted(r randyMessages, easy bool) *HookExecuted
func (*HookExecuted) Equal ¶ added in v1.2.0
func (this *HookExecuted) Equal(that interface{}) bool
func (*HookExecuted) GetModule ¶ added in v1.1.0
func (m *HookExecuted) GetModule() string
func (*HookExecuted) GoString ¶ added in v1.2.0
func (this *HookExecuted) GoString() string
func (*HookExecuted) Marshal ¶ added in v1.2.0
func (m *HookExecuted) Marshal() (data []byte, err error)
func (*HookExecuted) MarshalTo ¶ added in v1.2.0
func (m *HookExecuted) MarshalTo(data []byte) (int, error)
func (*HookExecuted) ProtoMessage ¶ added in v1.1.0
func (*HookExecuted) ProtoMessage()
func (*HookExecuted) Reset ¶ added in v1.1.0
func (m *HookExecuted) Reset()
func (*HookExecuted) Size ¶ added in v1.2.0
func (m *HookExecuted) Size() (n int)
func (*HookExecuted) String ¶ added in v1.1.0
func (this *HookExecuted) String() string
func (*HookExecuted) Unmarshal ¶ added in v1.2.0
func (m *HookExecuted) Unmarshal(data []byte) error
func (*HookExecuted) VerboseEqual ¶ added in v1.2.0
func (this *HookExecuted) VerboseEqual(that interface{}) error
type Image ¶ added in v1.2.0
type Image struct { Type *Image_Type `protobuf:"varint,1,req,name=type,enum=mesosproto.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"` XXX_unrecognized []byte `json:"-"` }
* Describe an image used by tasks or executors. Note that it's only for tasks or executors launched by MesosContainerizer currently. TODO(jieyu): This feature not fully supported in 0.24.0. Please do not use it until this feature is announced.
func NewPopulatedImage ¶ added in v1.2.0
func (*Image) GetAppc ¶ added in v1.2.0
func (m *Image) GetAppc() *Image_Appc
func (*Image) GetDocker ¶ added in v1.2.0
func (m *Image) GetDocker() *Image_Docker
func (*Image) GetType ¶ added in v1.2.0
func (m *Image) GetType() Image_Type
func (*Image) ProtoMessage ¶ added in v1.2.0
func (*Image) ProtoMessage()
func (*Image) VerboseEqual ¶ added in v1.2.0
type Image_Appc ¶ added in v1.2.0
type Image_Appc struct { // The name of the image. Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` // 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"` XXX_unrecognized []byte `json:"-"` }
Protobuf for specifying an Appc container image. See: https://github.com/appc/spec/blob/master/spec/aci.md
func NewPopulatedImage_Appc ¶ added in v1.2.0
func NewPopulatedImage_Appc(r randyMesos, easy bool) *Image_Appc
func (*Image_Appc) Equal ¶ added in v1.2.0
func (this *Image_Appc) Equal(that interface{}) bool
func (*Image_Appc) GetId ¶ added in v1.2.0
func (m *Image_Appc) GetId() string
func (*Image_Appc) GetLabels ¶ added in v1.2.0
func (m *Image_Appc) GetLabels() *Labels
func (*Image_Appc) GetName ¶ added in v1.2.0
func (m *Image_Appc) GetName() string
func (*Image_Appc) GoString ¶ added in v1.2.0
func (this *Image_Appc) GoString() string
func (*Image_Appc) Marshal ¶ added in v1.2.0
func (m *Image_Appc) Marshal() (data []byte, err error)
func (*Image_Appc) MarshalTo ¶ added in v1.2.0
func (m *Image_Appc) MarshalTo(data []byte) (int, error)
func (*Image_Appc) ProtoMessage ¶ added in v1.2.0
func (*Image_Appc) ProtoMessage()
func (*Image_Appc) Reset ¶ added in v1.2.0
func (m *Image_Appc) Reset()
func (*Image_Appc) Size ¶ added in v1.2.0
func (m *Image_Appc) Size() (n int)
func (*Image_Appc) String ¶ added in v1.2.0
func (this *Image_Appc) String() string
func (*Image_Appc) Unmarshal ¶ added in v1.2.0
func (m *Image_Appc) Unmarshal(data []byte) error
func (*Image_Appc) VerboseEqual ¶ added in v1.2.0
func (this *Image_Appc) VerboseEqual(that interface{}) error
type Image_Docker ¶ added in v1.2.0
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,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedImage_Docker ¶ added in v1.2.0
func NewPopulatedImage_Docker(r randyMesos, easy bool) *Image_Docker
func (*Image_Docker) Equal ¶ added in v1.2.0
func (this *Image_Docker) Equal(that interface{}) bool
func (*Image_Docker) GetName ¶ added in v1.2.0
func (m *Image_Docker) GetName() string
func (*Image_Docker) GoString ¶ added in v1.2.0
func (this *Image_Docker) GoString() string
func (*Image_Docker) Marshal ¶ added in v1.2.0
func (m *Image_Docker) Marshal() (data []byte, err error)
func (*Image_Docker) MarshalTo ¶ added in v1.2.0
func (m *Image_Docker) MarshalTo(data []byte) (int, error)
func (*Image_Docker) ProtoMessage ¶ added in v1.2.0
func (*Image_Docker) ProtoMessage()
func (*Image_Docker) Reset ¶ added in v1.2.0
func (m *Image_Docker) Reset()
func (*Image_Docker) Size ¶ added in v1.2.0
func (m *Image_Docker) Size() (n int)
func (*Image_Docker) String ¶ added in v1.2.0
func (this *Image_Docker) String() string
func (*Image_Docker) Unmarshal ¶ added in v1.2.0
func (m *Image_Docker) Unmarshal(data []byte) error
func (*Image_Docker) VerboseEqual ¶ added in v1.2.0
func (this *Image_Docker) VerboseEqual(that interface{}) error
type Image_Type ¶ added in v1.2.0
type Image_Type int32
const ( Image_APPC Image_Type = 1 Image_DOCKER Image_Type = 2 )
func (Image_Type) Enum ¶ added in v1.2.0
func (x Image_Type) Enum() *Image_Type
func (Image_Type) String ¶ added in v1.2.0
func (x Image_Type) String() string
func (*Image_Type) UnmarshalJSON ¶ added in v1.2.0
func (x *Image_Type) UnmarshalJSON(data []byte) error
type InternalAuthenticationResult ¶
type InternalAuthenticationResult struct { // true only if the authentication process completed and login was successful Success *bool `protobuf:"varint,1,req,name=success" json:"success,omitempty"` // true if the authentication process completed, successfully or not Completed *bool `protobuf:"varint,2,req,name=completed" json:"completed,omitempty"` // master pid that this result pertains to Pid *string `protobuf:"bytes,3,req,name=pid" json:"pid,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InternalAuthenticationResult) GetCompleted ¶
func (m *InternalAuthenticationResult) GetCompleted() bool
func (*InternalAuthenticationResult) GetPid ¶
func (m *InternalAuthenticationResult) GetPid() string
func (*InternalAuthenticationResult) GetSuccess ¶
func (m *InternalAuthenticationResult) GetSuccess() bool
func (*InternalAuthenticationResult) ProtoMessage ¶
func (*InternalAuthenticationResult) ProtoMessage()
func (*InternalAuthenticationResult) Reset ¶
func (m *InternalAuthenticationResult) Reset()
func (*InternalAuthenticationResult) String ¶
func (m *InternalAuthenticationResult) String() string
type InternalMasterChangeDetected ¶
type InternalMasterChangeDetected struct { // will be present if there's a new master, otherwise nil Master *MasterInfo `protobuf:"bytes,1,opt,name=master" json:"master,omitempty"` XXX_unrecognized []byte `json:"-"` }
For use with detector callbacks
func (*InternalMasterChangeDetected) GetMaster ¶
func (m *InternalMasterChangeDetected) GetMaster() *MasterInfo
func (*InternalMasterChangeDetected) ProtoMessage ¶
func (*InternalMasterChangeDetected) ProtoMessage()
func (*InternalMasterChangeDetected) Reset ¶
func (m *InternalMasterChangeDetected) Reset()
func (*InternalMasterChangeDetected) String ¶
func (m *InternalMasterChangeDetected) String() string
type InternalNetworkError ¶ added in v1.2.0
type InternalNetworkError struct { // master pid that this event pertains to Pid *string `protobuf:"bytes,1,req,name=pid" json:"pid,omitempty"` // driver session UUID Session *string `protobuf:"bytes,2,opt,name=session" json:"session,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InternalNetworkError) GetPid ¶ added in v1.2.0
func (m *InternalNetworkError) GetPid() string
func (*InternalNetworkError) GetSession ¶ added in v1.2.0
func (m *InternalNetworkError) GetSession() string
func (*InternalNetworkError) ProtoMessage ¶ added in v1.2.0
func (*InternalNetworkError) ProtoMessage()
func (*InternalNetworkError) Reset ¶ added in v1.2.0
func (m *InternalNetworkError) Reset()
func (*InternalNetworkError) String ¶ added in v1.2.0
func (m *InternalNetworkError) String() string
type InternalTryAuthentication ¶
type InternalTryAuthentication struct {
XXX_unrecognized []byte `json:"-"`
}
func (*InternalTryAuthentication) ProtoMessage ¶
func (*InternalTryAuthentication) ProtoMessage()
func (*InternalTryAuthentication) Reset ¶
func (m *InternalTryAuthentication) Reset()
func (*InternalTryAuthentication) String ¶
func (m *InternalTryAuthentication) String() string
type InverseOffer ¶ added in v1.2.0
type InverseOffer struct { // This is the same OfferID as found in normal offers, which allows // re-use of some of the OfferID-only messages. Id *OfferID `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` // URL for reaching the slave 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 a slave. 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 slave), all the framework's // resources are requested back. FrameworkId *FrameworkID `protobuf:"bytes,3,req,name=framework_id" json:"framework_id,omitempty"` // Specified if the resources need to be released from a particular slave. // All the framework's resources on this slave are requested back, // unless further qualified by the `resources` field. SlaveId *SlaveID `protobuf:"bytes,4,opt,name=slave_id" json:"slave_id,omitempty"` // specified interval. Any tasks running on the given framework or slave // 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,omitempty"` // A list of resources being requested back from the framework, // on the slave identified by `slave_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,omitempty"` XXX_unrecognized []byte `json:"-"` }
* A request to return some resources occupied by a framework.
func NewPopulatedInverseOffer ¶ added in v1.2.0
func NewPopulatedInverseOffer(r randyMesos, easy bool) *InverseOffer
func (*InverseOffer) Equal ¶ added in v1.2.0
func (this *InverseOffer) Equal(that interface{}) bool
func (*InverseOffer) GetFrameworkId ¶ added in v1.2.0
func (m *InverseOffer) GetFrameworkId() *FrameworkID
func (*InverseOffer) GetId ¶ added in v1.2.0
func (m *InverseOffer) GetId() *OfferID
func (*InverseOffer) GetResources ¶ added in v1.2.0
func (m *InverseOffer) GetResources() []*Resource
func (*InverseOffer) GetSlaveId ¶ added in v1.2.0
func (m *InverseOffer) GetSlaveId() *SlaveID
func (*InverseOffer) GetUnavailability ¶ added in v1.2.0
func (m *InverseOffer) GetUnavailability() *Unavailability
func (*InverseOffer) GetUrl ¶ added in v1.2.0
func (m *InverseOffer) GetUrl() *URL
func (*InverseOffer) GoString ¶ added in v1.2.0
func (this *InverseOffer) GoString() string
func (*InverseOffer) Marshal ¶ added in v1.2.0
func (m *InverseOffer) Marshal() (data []byte, err error)
func (*InverseOffer) MarshalTo ¶ added in v1.2.0
func (m *InverseOffer) MarshalTo(data []byte) (int, error)
func (*InverseOffer) ProtoMessage ¶ added in v1.2.0
func (*InverseOffer) ProtoMessage()
func (*InverseOffer) Reset ¶ added in v1.2.0
func (m *InverseOffer) Reset()
func (*InverseOffer) Size ¶ added in v1.2.0
func (m *InverseOffer) Size() (n int)
func (*InverseOffer) String ¶ added in v1.2.0
func (this *InverseOffer) String() string
func (*InverseOffer) Unmarshal ¶ added in v1.2.0
func (m *InverseOffer) Unmarshal(data []byte) error
func (*InverseOffer) VerboseEqual ¶ added in v1.2.0
func (this *InverseOffer) VerboseEqual(that interface{}) error
type KillTaskMessage ¶
type KillTaskMessage struct { // TODO(bmahler): Include the SlaveID here to improve the Master's // ability to respond for non-activated agents. FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` TaskId *TaskID `protobuf:"bytes,2,req,name=task_id" json:"task_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Kills a specific task.
See scheduler::Call::Kill and executor::Event::Kill.
func NewPopulatedKillTaskMessage ¶ added in v1.2.0
func NewPopulatedKillTaskMessage(r randyMessages, easy bool) *KillTaskMessage
func (*KillTaskMessage) Equal ¶ added in v1.2.0
func (this *KillTaskMessage) Equal(that interface{}) bool
func (*KillTaskMessage) GetFrameworkId ¶
func (m *KillTaskMessage) GetFrameworkId() *FrameworkID
func (*KillTaskMessage) GetTaskId ¶
func (m *KillTaskMessage) GetTaskId() *TaskID
func (*KillTaskMessage) GoString ¶ added in v1.2.0
func (this *KillTaskMessage) GoString() string
func (*KillTaskMessage) Marshal ¶ added in v1.2.0
func (m *KillTaskMessage) Marshal() (data []byte, err error)
func (*KillTaskMessage) MarshalTo ¶ added in v1.2.0
func (m *KillTaskMessage) MarshalTo(data []byte) (int, error)
func (*KillTaskMessage) ProtoMessage ¶
func (*KillTaskMessage) ProtoMessage()
func (*KillTaskMessage) Reset ¶
func (m *KillTaskMessage) Reset()
func (*KillTaskMessage) Size ¶ added in v1.2.0
func (m *KillTaskMessage) Size() (n int)
func (*KillTaskMessage) String ¶
func (this *KillTaskMessage) String() string
func (*KillTaskMessage) Unmarshal ¶ added in v1.2.0
func (m *KillTaskMessage) Unmarshal(data []byte) error
func (*KillTaskMessage) VerboseEqual ¶ added in v1.2.0
func (this *KillTaskMessage) VerboseEqual(that interface{}) error
type Label ¶ added in v1.1.0
type Label struct { Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Key, value pair used to store free form user-data.
func NewPopulatedLabel ¶ added in v1.1.0
func (*Label) ProtoMessage ¶ added in v1.1.0
func (*Label) ProtoMessage()
func (*Label) VerboseEqual ¶ added in v1.1.0
type Labels ¶ added in v1.1.0
type Labels struct { Labels []*Label `protobuf:"bytes,1,rep,name=labels" json:"labels,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Collection of labels.
func NewPopulatedLabels ¶ added in v1.1.0
func (*Labels) ProtoMessage ¶ added in v1.1.0
func (*Labels) ProtoMessage()
func (*Labels) VerboseEqual ¶ added in v1.1.0
type LaunchTasksMessage ¶
type LaunchTasksMessage struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` Tasks []*TaskInfo `protobuf:"bytes,3,rep,name=tasks" json:"tasks,omitempty"` Filters *Filters `protobuf:"bytes,5,req,name=filters" json:"filters,omitempty"` OfferIds []*OfferID `protobuf:"bytes,6,rep,name=offer_ids" json:"offer_ids,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Launches tasks using resources from the specified offers.
Used by the pre-Event/Call Mesos scheduler driver. See scheduler::Call::Accept and scheduler::Call::Decline.
func NewPopulatedLaunchTasksMessage ¶ added in v1.2.0
func NewPopulatedLaunchTasksMessage(r randyMessages, easy bool) *LaunchTasksMessage
func (*LaunchTasksMessage) Equal ¶ added in v1.2.0
func (this *LaunchTasksMessage) Equal(that interface{}) bool
func (*LaunchTasksMessage) GetFilters ¶
func (m *LaunchTasksMessage) GetFilters() *Filters
func (*LaunchTasksMessage) GetFrameworkId ¶
func (m *LaunchTasksMessage) GetFrameworkId() *FrameworkID
func (*LaunchTasksMessage) GetOfferIds ¶
func (m *LaunchTasksMessage) GetOfferIds() []*OfferID
func (*LaunchTasksMessage) GetTasks ¶
func (m *LaunchTasksMessage) GetTasks() []*TaskInfo
func (*LaunchTasksMessage) GoString ¶ added in v1.2.0
func (this *LaunchTasksMessage) GoString() string
func (*LaunchTasksMessage) Marshal ¶ added in v1.2.0
func (m *LaunchTasksMessage) Marshal() (data []byte, err error)
func (*LaunchTasksMessage) MarshalTo ¶ added in v1.2.0
func (m *LaunchTasksMessage) MarshalTo(data []byte) (int, error)
func (*LaunchTasksMessage) ProtoMessage ¶
func (*LaunchTasksMessage) ProtoMessage()
func (*LaunchTasksMessage) Reset ¶
func (m *LaunchTasksMessage) Reset()
func (*LaunchTasksMessage) Size ¶ added in v1.2.0
func (m *LaunchTasksMessage) Size() (n int)
func (*LaunchTasksMessage) String ¶
func (this *LaunchTasksMessage) String() string
func (*LaunchTasksMessage) Unmarshal ¶ added in v1.2.0
func (m *LaunchTasksMessage) Unmarshal(data []byte) error
func (*LaunchTasksMessage) VerboseEqual ¶ added in v1.2.0
func (this *LaunchTasksMessage) VerboseEqual(that interface{}) error
type LostSlaveMessage ¶
type LostSlaveMessage struct { SlaveId *SlaveID `protobuf:"bytes,1,req,name=slave_id" json:"slave_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Notifies the scheduler that the agent was lost.
See scheduler::Event::Failure.
func NewPopulatedLostSlaveMessage ¶ added in v1.2.0
func NewPopulatedLostSlaveMessage(r randyMessages, easy bool) *LostSlaveMessage
func (*LostSlaveMessage) Equal ¶ added in v1.2.0
func (this *LostSlaveMessage) Equal(that interface{}) bool
func (*LostSlaveMessage) GetSlaveId ¶
func (m *LostSlaveMessage) GetSlaveId() *SlaveID
func (*LostSlaveMessage) GoString ¶ added in v1.2.0
func (this *LostSlaveMessage) GoString() string
func (*LostSlaveMessage) Marshal ¶ added in v1.2.0
func (m *LostSlaveMessage) Marshal() (data []byte, err error)
func (*LostSlaveMessage) MarshalTo ¶ added in v1.2.0
func (m *LostSlaveMessage) MarshalTo(data []byte) (int, error)
func (*LostSlaveMessage) ProtoMessage ¶
func (*LostSlaveMessage) ProtoMessage()
func (*LostSlaveMessage) Reset ¶
func (m *LostSlaveMessage) Reset()
func (*LostSlaveMessage) Size ¶ added in v1.2.0
func (m *LostSlaveMessage) Size() (n int)
func (*LostSlaveMessage) String ¶
func (this *LostSlaveMessage) String() string
func (*LostSlaveMessage) Unmarshal ¶ added in v1.2.0
func (m *LostSlaveMessage) Unmarshal(data []byte) error
func (*LostSlaveMessage) VerboseEqual ¶ added in v1.2.0
func (this *LostSlaveMessage) VerboseEqual(that interface{}) error
type MachineID ¶ added in v1.2.0
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"` XXX_unrecognized []byte `json:"-"` }
* Represents a single machine, which may hold one or more slaves.
NOTE: In order to match a slave to a machine, both the `hostname` and `ip` must match the values advertised by the slave to the master. Hostname is not case-sensitive.
func NewPopulatedMachineID ¶ added in v1.2.0
func (*MachineID) GetHostname ¶ added in v1.2.0
func (*MachineID) ProtoMessage ¶ added in v1.2.0
func (*MachineID) ProtoMessage()
func (*MachineID) VerboseEqual ¶ added in v1.2.0
type MachineInfo ¶ added in v1.2.0
type MachineInfo struct { Id *MachineID `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` Mode *MachineInfo_Mode `protobuf:"varint,2,opt,name=mode,enum=mesosproto.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. XXX_unrecognized []byte `json:"-"` }
* Holds information about a single machine, its `mode`, and any other relevant information which may affect the behavior of the machine.
func NewPopulatedMachineInfo ¶ added in v1.2.0
func NewPopulatedMachineInfo(r randyMesos, easy bool) *MachineInfo
func (*MachineInfo) Equal ¶ added in v1.2.0
func (this *MachineInfo) Equal(that interface{}) bool
func (*MachineInfo) GetId ¶ added in v1.2.0
func (m *MachineInfo) GetId() *MachineID
func (*MachineInfo) GetMode ¶ added in v1.2.0
func (m *MachineInfo) GetMode() MachineInfo_Mode
func (*MachineInfo) GetUnavailability ¶ added in v1.2.0
func (m *MachineInfo) GetUnavailability() *Unavailability
func (*MachineInfo) GoString ¶ added in v1.2.0
func (this *MachineInfo) GoString() string
func (*MachineInfo) Marshal ¶ added in v1.2.0
func (m *MachineInfo) Marshal() (data []byte, err error)
func (*MachineInfo) MarshalTo ¶ added in v1.2.0
func (m *MachineInfo) MarshalTo(data []byte) (int, error)
func (*MachineInfo) ProtoMessage ¶ added in v1.2.0
func (*MachineInfo) ProtoMessage()
func (*MachineInfo) Reset ¶ added in v1.2.0
func (m *MachineInfo) Reset()
func (*MachineInfo) Size ¶ added in v1.2.0
func (m *MachineInfo) Size() (n int)
func (*MachineInfo) String ¶ added in v1.2.0
func (this *MachineInfo) String() string
func (*MachineInfo) Unmarshal ¶ added in v1.2.0
func (m *MachineInfo) Unmarshal(data []byte) error
func (*MachineInfo) VerboseEqual ¶ added in v1.2.0
func (this *MachineInfo) VerboseEqual(that interface{}) error
type MachineInfo_Mode ¶ added in v1.2.0
type MachineInfo_Mode int32
Describes the several states that a machine can be in. A `Mode` applies to a machine and to all associated slaves on the machine.
const ( // In this mode, a machine is behaving normally; // offering resources, executing tasks, etc. MachineInfo_UP MachineInfo_Mode = 1 // In this mode, all slaves 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. MachineInfo_DRAINING MachineInfo_Mode = 2 // In this mode, a machine is not running any tasks and will not offer // any of its resources. Slaves on the machine will not be allowed to // register with the master. MachineInfo_DOWN MachineInfo_Mode = 3 )
func (MachineInfo_Mode) Enum ¶ added in v1.2.0
func (x MachineInfo_Mode) Enum() *MachineInfo_Mode
func (MachineInfo_Mode) String ¶ added in v1.2.0
func (x MachineInfo_Mode) String() string
func (*MachineInfo_Mode) UnmarshalJSON ¶ added in v1.2.0
func (x *MachineInfo_Mode) UnmarshalJSON(data []byte) error
type MasterInfo ¶
type MasterInfo struct { Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` // 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,omitempty"` // 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"` XXX_unrecognized []byte `json:"-"` }
* 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) Equal ¶
func (this *MasterInfo) Equal(that interface{}) bool
func (*MasterInfo) GetAddress ¶ added in v1.2.0
func (m *MasterInfo) GetAddress() *Address
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 ¶ added in v1.1.0
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) ProtoMessage ¶
func (*MasterInfo) ProtoMessage()
func (*MasterInfo) Reset ¶
func (m *MasterInfo) Reset()
func (*MasterInfo) Size ¶
func (m *MasterInfo) Size() (n int)
func (*MasterInfo) String ¶
func (this *MasterInfo) String() string
func (*MasterInfo) Unmarshal ¶
func (m *MasterInfo) Unmarshal(data []byte) error
func (*MasterInfo) VerboseEqual ¶
func (this *MasterInfo) VerboseEqual(that interface{}) error
type MasterSlaveConnection ¶ added in v1.1.0
type MasterSlaveConnection struct { // Product of max_slave_ping_timeouts * slave_ping_timeout. // If no pings are received within the total timeout, // the master will remove the agent. TotalPingTimeoutSeconds *float64 `protobuf:"fixed64,1,opt,name=total_ping_timeout_seconds" json:"total_ping_timeout_seconds,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes the connection between the master and agent.
func NewPopulatedMasterSlaveConnection ¶ added in v1.2.0
func NewPopulatedMasterSlaveConnection(r randyMessages, easy bool) *MasterSlaveConnection
func (*MasterSlaveConnection) Equal ¶ added in v1.2.0
func (this *MasterSlaveConnection) Equal(that interface{}) bool
func (*MasterSlaveConnection) GetTotalPingTimeoutSeconds ¶ added in v1.1.0
func (m *MasterSlaveConnection) GetTotalPingTimeoutSeconds() float64
func (*MasterSlaveConnection) GoString ¶ added in v1.2.0
func (this *MasterSlaveConnection) GoString() string
func (*MasterSlaveConnection) Marshal ¶ added in v1.2.0
func (m *MasterSlaveConnection) Marshal() (data []byte, err error)
func (*MasterSlaveConnection) MarshalTo ¶ added in v1.2.0
func (m *MasterSlaveConnection) MarshalTo(data []byte) (int, error)
func (*MasterSlaveConnection) ProtoMessage ¶ added in v1.1.0
func (*MasterSlaveConnection) ProtoMessage()
func (*MasterSlaveConnection) Reset ¶ added in v1.1.0
func (m *MasterSlaveConnection) Reset()
func (*MasterSlaveConnection) Size ¶ added in v1.2.0
func (m *MasterSlaveConnection) Size() (n int)
func (*MasterSlaveConnection) String ¶ added in v1.1.0
func (this *MasterSlaveConnection) String() string
func (*MasterSlaveConnection) Unmarshal ¶ added in v1.2.0
func (m *MasterSlaveConnection) Unmarshal(data []byte) error
func (*MasterSlaveConnection) VerboseEqual ¶ added in v1.2.0
func (this *MasterSlaveConnection) VerboseEqual(that interface{}) error
type NetworkInfo ¶ added in v1.2.0
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:"ip_addresses,omitempty"` // 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=mesosproto.NetworkInfo_Protocol" 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. // NOTE: It is up to the networking 'provider' (IPAM/Isolator) to interpret // this either as a hint of as a requirement for assigning the IP. IpAddress *string `protobuf:"bytes,2,opt,name=ip_address" json:"ip_address,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"` XXX_unrecognized []byte `json:"-"` }
* 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 ¶ added in v1.2.0
func NewPopulatedNetworkInfo(r randyMesos, easy bool) *NetworkInfo
func (*NetworkInfo) Equal ¶ added in v1.2.0
func (this *NetworkInfo) Equal(that interface{}) bool
func (*NetworkInfo) GetGroups ¶ added in v1.2.0
func (m *NetworkInfo) GetGroups() []string
func (*NetworkInfo) GetIpAddress ¶ added in v1.2.0
func (m *NetworkInfo) GetIpAddress() string
func (*NetworkInfo) GetIpAddresses ¶ added in v1.2.0
func (m *NetworkInfo) GetIpAddresses() []*NetworkInfo_IPAddress
func (*NetworkInfo) GetLabels ¶ added in v1.2.0
func (m *NetworkInfo) GetLabels() *Labels
func (*NetworkInfo) GetProtocol ¶ added in v1.2.0
func (m *NetworkInfo) GetProtocol() NetworkInfo_Protocol
func (*NetworkInfo) GoString ¶ added in v1.2.0
func (this *NetworkInfo) GoString() string
func (*NetworkInfo) Marshal ¶ added in v1.2.0
func (m *NetworkInfo) Marshal() (data []byte, err error)
func (*NetworkInfo) MarshalTo ¶ added in v1.2.0
func (m *NetworkInfo) MarshalTo(data []byte) (int, error)
func (*NetworkInfo) ProtoMessage ¶ added in v1.2.0
func (*NetworkInfo) ProtoMessage()
func (*NetworkInfo) Reset ¶ added in v1.2.0
func (m *NetworkInfo) Reset()
func (*NetworkInfo) Size ¶ added in v1.2.0
func (m *NetworkInfo) Size() (n int)
func (*NetworkInfo) String ¶ added in v1.2.0
func (this *NetworkInfo) String() string
func (*NetworkInfo) Unmarshal ¶ added in v1.2.0
func (m *NetworkInfo) Unmarshal(data []byte) error
func (*NetworkInfo) VerboseEqual ¶ added in v1.2.0
func (this *NetworkInfo) VerboseEqual(that interface{}) error
type NetworkInfo_IPAddress ¶ added in v1.2.0
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=mesosproto.NetworkInfo_Protocol" 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:"ip_address,omitempty"` XXX_unrecognized []byte `json:"-"` }
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 ¶ added in v1.2.0
func NewPopulatedNetworkInfo_IPAddress(r randyMesos, easy bool) *NetworkInfo_IPAddress
func (*NetworkInfo_IPAddress) Equal ¶ added in v1.2.0
func (this *NetworkInfo_IPAddress) Equal(that interface{}) bool
func (*NetworkInfo_IPAddress) GetIpAddress ¶ added in v1.2.0
func (m *NetworkInfo_IPAddress) GetIpAddress() string
func (*NetworkInfo_IPAddress) GetProtocol ¶ added in v1.2.0
func (m *NetworkInfo_IPAddress) GetProtocol() NetworkInfo_Protocol
func (*NetworkInfo_IPAddress) GoString ¶ added in v1.2.0
func (this *NetworkInfo_IPAddress) GoString() string
func (*NetworkInfo_IPAddress) Marshal ¶ added in v1.2.0
func (m *NetworkInfo_IPAddress) Marshal() (data []byte, err error)
func (*NetworkInfo_IPAddress) MarshalTo ¶ added in v1.2.0
func (m *NetworkInfo_IPAddress) MarshalTo(data []byte) (int, error)
func (*NetworkInfo_IPAddress) ProtoMessage ¶ added in v1.2.0
func (*NetworkInfo_IPAddress) ProtoMessage()
func (*NetworkInfo_IPAddress) Reset ¶ added in v1.2.0
func (m *NetworkInfo_IPAddress) Reset()
func (*NetworkInfo_IPAddress) Size ¶ added in v1.2.0
func (m *NetworkInfo_IPAddress) Size() (n int)
func (*NetworkInfo_IPAddress) String ¶ added in v1.2.0
func (this *NetworkInfo_IPAddress) String() string
func (*NetworkInfo_IPAddress) Unmarshal ¶ added in v1.2.0
func (m *NetworkInfo_IPAddress) Unmarshal(data []byte) error
func (*NetworkInfo_IPAddress) VerboseEqual ¶ added in v1.2.0
func (this *NetworkInfo_IPAddress) VerboseEqual(that interface{}) error
type NetworkInfo_Protocol ¶ added in v1.2.0
type NetworkInfo_Protocol int32
const ( NetworkInfo_IPv4 NetworkInfo_Protocol = 1 NetworkInfo_IPv6 NetworkInfo_Protocol = 2 )
func (NetworkInfo_Protocol) Enum ¶ added in v1.2.0
func (x NetworkInfo_Protocol) Enum() *NetworkInfo_Protocol
func (NetworkInfo_Protocol) String ¶ added in v1.2.0
func (x NetworkInfo_Protocol) String() string
func (*NetworkInfo_Protocol) UnmarshalJSON ¶ added in v1.2.0
func (x *NetworkInfo_Protocol) UnmarshalJSON(data []byte) error
type Offer ¶
type Offer struct { Id *OfferID `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,2,req,name=framework_id" json:"framework_id,omitempty"` SlaveId *SlaveID `protobuf:"bytes,3,req,name=slave_id" json:"slave_id,omitempty"` Hostname *string `protobuf:"bytes,4,req,name=hostname" json:"hostname,omitempty"` // URL for reaching the slave running on the host. Url *URL `protobuf:"bytes,8,opt,name=url" json:"url,omitempty"` Resources []*Resource `protobuf:"bytes,5,rep,name=resources" json:"resources,omitempty"` Attributes []*Attribute `protobuf:"bytes,7,rep,name=attributes" json:"attributes,omitempty"` ExecutorIds []*ExecutorID `protobuf:"bytes,6,rep,name=executor_ids" json:"executor_ids,omitempty"` // 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. XXX_unrecognized []byte `json:"-"` }
* Describes some resources available on a slave. An offer only contains resources from a single slave.
func NewPopulatedOffer ¶
func (*Offer) GetAttributes ¶
func (*Offer) GetExecutorIds ¶
func (m *Offer) GetExecutorIds() []*ExecutorID
func (*Offer) GetFrameworkId ¶
func (m *Offer) GetFrameworkId() *FrameworkID
func (*Offer) GetHostname ¶
func (*Offer) GetResources ¶
func (*Offer) GetSlaveId ¶
func (*Offer) GetUnavailability ¶ added in v1.2.0
func (m *Offer) GetUnavailability() *Unavailability
func (*Offer) ProtoMessage ¶
func (*Offer) ProtoMessage()
func (*Offer) VerboseEqual ¶
type OfferID ¶
type OfferID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
* A unique ID assigned to an offer.
func NewPopulatedOfferID ¶
func (*OfferID) ProtoMessage ¶
func (*OfferID) ProtoMessage()
func (*OfferID) VerboseEqual ¶
type Offer_Operation ¶ added in v1.1.0
type Offer_Operation struct { Type *Offer_Operation_Type `protobuf:"varint,1,req,name=type,enum=mesosproto.Offer_Operation_Type" json:"type,omitempty"` Launch *Offer_Operation_Launch `protobuf:"bytes,2,opt,name=launch" json:"launch,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"` XXX_unrecognized []byte `json:"-"` }
Defines an operation that can be performed against offers.
func NewPopulatedOffer_Operation ¶ added in v1.1.0
func NewPopulatedOffer_Operation(r randyMesos, easy bool) *Offer_Operation
func (*Offer_Operation) Equal ¶ added in v1.1.0
func (this *Offer_Operation) Equal(that interface{}) bool
func (*Offer_Operation) GetCreate ¶ added in v1.1.0
func (m *Offer_Operation) GetCreate() *Offer_Operation_Create
func (*Offer_Operation) GetDestroy ¶ added in v1.1.0
func (m *Offer_Operation) GetDestroy() *Offer_Operation_Destroy
func (*Offer_Operation) GetLaunch ¶ added in v1.1.0
func (m *Offer_Operation) GetLaunch() *Offer_Operation_Launch
func (*Offer_Operation) GetReserve ¶ added in v1.1.0
func (m *Offer_Operation) GetReserve() *Offer_Operation_Reserve
func (*Offer_Operation) GetType ¶ added in v1.1.0
func (m *Offer_Operation) GetType() Offer_Operation_Type
func (*Offer_Operation) GetUnreserve ¶ added in v1.1.0
func (m *Offer_Operation) GetUnreserve() *Offer_Operation_Unreserve
func (*Offer_Operation) GoString ¶ added in v1.1.0
func (this *Offer_Operation) GoString() string
func (*Offer_Operation) Marshal ¶ added in v1.1.0
func (m *Offer_Operation) Marshal() (data []byte, err error)
func (*Offer_Operation) MarshalTo ¶ added in v1.1.0
func (m *Offer_Operation) MarshalTo(data []byte) (int, error)
func (*Offer_Operation) ProtoMessage ¶ added in v1.1.0
func (*Offer_Operation) ProtoMessage()
func (*Offer_Operation) Reset ¶ added in v1.1.0
func (m *Offer_Operation) Reset()
func (*Offer_Operation) Size ¶ added in v1.1.0
func (m *Offer_Operation) Size() (n int)
func (*Offer_Operation) String ¶ added in v1.1.0
func (this *Offer_Operation) String() string
func (*Offer_Operation) Unmarshal ¶ added in v1.1.0
func (m *Offer_Operation) Unmarshal(data []byte) error
func (*Offer_Operation) VerboseEqual ¶ added in v1.1.0
func (this *Offer_Operation) VerboseEqual(that interface{}) error
type Offer_Operation_Create ¶ added in v1.1.0
type Offer_Operation_Create struct { Volumes []*Resource `protobuf:"bytes,1,rep,name=volumes" json:"volumes,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedOffer_Operation_Create ¶ added in v1.1.0
func NewPopulatedOffer_Operation_Create(r randyMesos, easy bool) *Offer_Operation_Create
func (*Offer_Operation_Create) Equal ¶ added in v1.1.0
func (this *Offer_Operation_Create) Equal(that interface{}) bool
func (*Offer_Operation_Create) GetVolumes ¶ added in v1.1.0
func (m *Offer_Operation_Create) GetVolumes() []*Resource
func (*Offer_Operation_Create) GoString ¶ added in v1.1.0
func (this *Offer_Operation_Create) GoString() string
func (*Offer_Operation_Create) Marshal ¶ added in v1.1.0
func (m *Offer_Operation_Create) Marshal() (data []byte, err error)
func (*Offer_Operation_Create) MarshalTo ¶ added in v1.1.0
func (m *Offer_Operation_Create) MarshalTo(data []byte) (int, error)
func (*Offer_Operation_Create) ProtoMessage ¶ added in v1.1.0
func (*Offer_Operation_Create) ProtoMessage()
func (*Offer_Operation_Create) Reset ¶ added in v1.1.0
func (m *Offer_Operation_Create) Reset()
func (*Offer_Operation_Create) Size ¶ added in v1.1.0
func (m *Offer_Operation_Create) Size() (n int)
func (*Offer_Operation_Create) String ¶ added in v1.1.0
func (this *Offer_Operation_Create) String() string
func (*Offer_Operation_Create) Unmarshal ¶ added in v1.1.0
func (m *Offer_Operation_Create) Unmarshal(data []byte) error
func (*Offer_Operation_Create) VerboseEqual ¶ added in v1.1.0
func (this *Offer_Operation_Create) VerboseEqual(that interface{}) error
type Offer_Operation_Destroy ¶ added in v1.1.0
type Offer_Operation_Destroy struct { Volumes []*Resource `protobuf:"bytes,1,rep,name=volumes" json:"volumes,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedOffer_Operation_Destroy ¶ added in v1.1.0
func NewPopulatedOffer_Operation_Destroy(r randyMesos, easy bool) *Offer_Operation_Destroy
func (*Offer_Operation_Destroy) Equal ¶ added in v1.1.0
func (this *Offer_Operation_Destroy) Equal(that interface{}) bool
func (*Offer_Operation_Destroy) GetVolumes ¶ added in v1.1.0
func (m *Offer_Operation_Destroy) GetVolumes() []*Resource
func (*Offer_Operation_Destroy) GoString ¶ added in v1.1.0
func (this *Offer_Operation_Destroy) GoString() string
func (*Offer_Operation_Destroy) Marshal ¶ added in v1.1.0
func (m *Offer_Operation_Destroy) Marshal() (data []byte, err error)
func (*Offer_Operation_Destroy) MarshalTo ¶ added in v1.1.0
func (m *Offer_Operation_Destroy) MarshalTo(data []byte) (int, error)
func (*Offer_Operation_Destroy) ProtoMessage ¶ added in v1.1.0
func (*Offer_Operation_Destroy) ProtoMessage()
func (*Offer_Operation_Destroy) Reset ¶ added in v1.1.0
func (m *Offer_Operation_Destroy) Reset()
func (*Offer_Operation_Destroy) Size ¶ added in v1.1.0
func (m *Offer_Operation_Destroy) Size() (n int)
func (*Offer_Operation_Destroy) String ¶ added in v1.1.0
func (this *Offer_Operation_Destroy) String() string
func (*Offer_Operation_Destroy) Unmarshal ¶ added in v1.1.0
func (m *Offer_Operation_Destroy) Unmarshal(data []byte) error
func (*Offer_Operation_Destroy) VerboseEqual ¶ added in v1.1.0
func (this *Offer_Operation_Destroy) VerboseEqual(that interface{}) error
type Offer_Operation_Launch ¶ added in v1.1.0
type Offer_Operation_Launch struct { TaskInfos []*TaskInfo `protobuf:"bytes,1,rep,name=task_infos" json:"task_infos,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedOffer_Operation_Launch ¶ added in v1.1.0
func NewPopulatedOffer_Operation_Launch(r randyMesos, easy bool) *Offer_Operation_Launch
func (*Offer_Operation_Launch) Equal ¶ added in v1.1.0
func (this *Offer_Operation_Launch) Equal(that interface{}) bool
func (*Offer_Operation_Launch) GetTaskInfos ¶ added in v1.1.0
func (m *Offer_Operation_Launch) GetTaskInfos() []*TaskInfo
func (*Offer_Operation_Launch) GoString ¶ added in v1.1.0
func (this *Offer_Operation_Launch) GoString() string
func (*Offer_Operation_Launch) Marshal ¶ added in v1.1.0
func (m *Offer_Operation_Launch) Marshal() (data []byte, err error)
func (*Offer_Operation_Launch) MarshalTo ¶ added in v1.1.0
func (m *Offer_Operation_Launch) MarshalTo(data []byte) (int, error)
func (*Offer_Operation_Launch) ProtoMessage ¶ added in v1.1.0
func (*Offer_Operation_Launch) ProtoMessage()
func (*Offer_Operation_Launch) Reset ¶ added in v1.1.0
func (m *Offer_Operation_Launch) Reset()
func (*Offer_Operation_Launch) Size ¶ added in v1.1.0
func (m *Offer_Operation_Launch) Size() (n int)
func (*Offer_Operation_Launch) String ¶ added in v1.1.0
func (this *Offer_Operation_Launch) String() string
func (*Offer_Operation_Launch) Unmarshal ¶ added in v1.1.0
func (m *Offer_Operation_Launch) Unmarshal(data []byte) error
func (*Offer_Operation_Launch) VerboseEqual ¶ added in v1.1.0
func (this *Offer_Operation_Launch) VerboseEqual(that interface{}) error
type Offer_Operation_Reserve ¶ added in v1.1.0
type Offer_Operation_Reserve struct { Resources []*Resource `protobuf:"bytes,1,rep,name=resources" json:"resources,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedOffer_Operation_Reserve ¶ added in v1.1.0
func NewPopulatedOffer_Operation_Reserve(r randyMesos, easy bool) *Offer_Operation_Reserve
func (*Offer_Operation_Reserve) Equal ¶ added in v1.1.0
func (this *Offer_Operation_Reserve) Equal(that interface{}) bool
func (*Offer_Operation_Reserve) GetResources ¶ added in v1.1.0
func (m *Offer_Operation_Reserve) GetResources() []*Resource
func (*Offer_Operation_Reserve) GoString ¶ added in v1.1.0
func (this *Offer_Operation_Reserve) GoString() string
func (*Offer_Operation_Reserve) Marshal ¶ added in v1.1.0
func (m *Offer_Operation_Reserve) Marshal() (data []byte, err error)
func (*Offer_Operation_Reserve) MarshalTo ¶ added in v1.1.0
func (m *Offer_Operation_Reserve) MarshalTo(data []byte) (int, error)
func (*Offer_Operation_Reserve) ProtoMessage ¶ added in v1.1.0
func (*Offer_Operation_Reserve) ProtoMessage()
func (*Offer_Operation_Reserve) Reset ¶ added in v1.1.0
func (m *Offer_Operation_Reserve) Reset()
func (*Offer_Operation_Reserve) Size ¶ added in v1.1.0
func (m *Offer_Operation_Reserve) Size() (n int)
func (*Offer_Operation_Reserve) String ¶ added in v1.1.0
func (this *Offer_Operation_Reserve) String() string
func (*Offer_Operation_Reserve) Unmarshal ¶ added in v1.1.0
func (m *Offer_Operation_Reserve) Unmarshal(data []byte) error
func (*Offer_Operation_Reserve) VerboseEqual ¶ added in v1.1.0
func (this *Offer_Operation_Reserve) VerboseEqual(that interface{}) error
type Offer_Operation_Type ¶ added in v1.1.0
type Offer_Operation_Type int32
const ( Offer_Operation_LAUNCH Offer_Operation_Type = 1 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 )
func (Offer_Operation_Type) Enum ¶ added in v1.1.0
func (x Offer_Operation_Type) Enum() *Offer_Operation_Type
func (Offer_Operation_Type) String ¶ added in v1.1.0
func (x Offer_Operation_Type) String() string
func (*Offer_Operation_Type) UnmarshalJSON ¶ added in v1.1.0
func (x *Offer_Operation_Type) UnmarshalJSON(data []byte) error
type Offer_Operation_Unreserve ¶ added in v1.1.0
type Offer_Operation_Unreserve struct { Resources []*Resource `protobuf:"bytes,1,rep,name=resources" json:"resources,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedOffer_Operation_Unreserve ¶ added in v1.1.0
func NewPopulatedOffer_Operation_Unreserve(r randyMesos, easy bool) *Offer_Operation_Unreserve
func (*Offer_Operation_Unreserve) Equal ¶ added in v1.1.0
func (this *Offer_Operation_Unreserve) Equal(that interface{}) bool
func (*Offer_Operation_Unreserve) GetResources ¶ added in v1.1.0
func (m *Offer_Operation_Unreserve) GetResources() []*Resource
func (*Offer_Operation_Unreserve) GoString ¶ added in v1.1.0
func (this *Offer_Operation_Unreserve) GoString() string
func (*Offer_Operation_Unreserve) Marshal ¶ added in v1.1.0
func (m *Offer_Operation_Unreserve) Marshal() (data []byte, err error)
func (*Offer_Operation_Unreserve) MarshalTo ¶ added in v1.1.0
func (m *Offer_Operation_Unreserve) MarshalTo(data []byte) (int, error)
func (*Offer_Operation_Unreserve) ProtoMessage ¶ added in v1.1.0
func (*Offer_Operation_Unreserve) ProtoMessage()
func (*Offer_Operation_Unreserve) Reset ¶ added in v1.1.0
func (m *Offer_Operation_Unreserve) Reset()
func (*Offer_Operation_Unreserve) Size ¶ added in v1.1.0
func (m *Offer_Operation_Unreserve) Size() (n int)
func (*Offer_Operation_Unreserve) String ¶ added in v1.1.0
func (this *Offer_Operation_Unreserve) String() string
func (*Offer_Operation_Unreserve) Unmarshal ¶ added in v1.1.0
func (m *Offer_Operation_Unreserve) Unmarshal(data []byte) error
func (*Offer_Operation_Unreserve) VerboseEqual ¶ added in v1.1.0
func (this *Offer_Operation_Unreserve) VerboseEqual(that interface{}) error
type Parameter ¶
type Parameter struct { Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
* A generic (key, value) pair used in various places for parameters.
func NewPopulatedParameter ¶
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) VerboseEqual ¶
type Parameters ¶
type Parameters struct { Parameter []*Parameter `protobuf:"bytes,1,rep,name=parameter" json:"parameter,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Collection of Parameter.
func NewPopulatedParameters ¶
func NewPopulatedParameters(r randyMesos, easy bool) *Parameters
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) ProtoMessage ¶
func (*Parameters) ProtoMessage()
func (*Parameters) Reset ¶
func (m *Parameters) Reset()
func (*Parameters) Size ¶
func (m *Parameters) Size() (n int)
func (*Parameters) String ¶
func (this *Parameters) String() string
func (*Parameters) Unmarshal ¶
func (m *Parameters) Unmarshal(data []byte) 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,omitempty"` Duration *float64 `protobuf:"fixed64,2,req,name=duration" json:"duration,omitempty"` // Hardware event. Cycles *uint64 `protobuf:"varint,3,opt,name=cycles" json:"cycles,omitempty"` StalledCyclesFrontend *uint64 `protobuf:"varint,4,opt,name=stalled_cycles_frontend" json:"stalled_cycles_frontend,omitempty"` StalledCyclesBackend *uint64 `protobuf:"varint,5,opt,name=stalled_cycles_backend" 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:"cache_references,omitempty"` CacheMisses *uint64 `protobuf:"varint,8,opt,name=cache_misses" 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:"branch_misses,omitempty"` BusCycles *uint64 `protobuf:"varint,11,opt,name=bus_cycles" json:"bus_cycles,omitempty"` RefCycles *uint64 `protobuf:"varint,12,opt,name=ref_cycles" json:"ref_cycles,omitempty"` // Software event. CpuClock *float64 `protobuf:"fixed64,13,opt,name=cpu_clock" json:"cpu_clock,omitempty"` TaskClock *float64 `protobuf:"fixed64,14,opt,name=task_clock" json:"task_clock,omitempty"` PageFaults *uint64 `protobuf:"varint,15,opt,name=page_faults" json:"page_faults,omitempty"` MinorFaults *uint64 `protobuf:"varint,16,opt,name=minor_faults" json:"minor_faults,omitempty"` MajorFaults *uint64 `protobuf:"varint,17,opt,name=major_faults" json:"major_faults,omitempty"` ContextSwitches *uint64 `protobuf:"varint,18,opt,name=context_switches" json:"context_switches,omitempty"` CpuMigrations *uint64 `protobuf:"varint,19,opt,name=cpu_migrations" json:"cpu_migrations,omitempty"` AlignmentFaults *uint64 `protobuf:"varint,20,opt,name=alignment_faults" json:"alignment_faults,omitempty"` EmulationFaults *uint64 `protobuf:"varint,21,opt,name=emulation_faults" json:"emulation_faults,omitempty"` // Hardware cache event. L1DcacheLoads *uint64 `protobuf:"varint,22,opt,name=l1_dcache_loads" json:"l1_dcache_loads,omitempty"` L1DcacheLoadMisses *uint64 `protobuf:"varint,23,opt,name=l1_dcache_load_misses" json:"l1_dcache_load_misses,omitempty"` L1DcacheStores *uint64 `protobuf:"varint,24,opt,name=l1_dcache_stores" json:"l1_dcache_stores,omitempty"` L1DcacheStoreMisses *uint64 `protobuf:"varint,25,opt,name=l1_dcache_store_misses" json:"l1_dcache_store_misses,omitempty"` L1DcachePrefetches *uint64 `protobuf:"varint,26,opt,name=l1_dcache_prefetches" json:"l1_dcache_prefetches,omitempty"` L1DcachePrefetchMisses *uint64 `protobuf:"varint,27,opt,name=l1_dcache_prefetch_misses" json:"l1_dcache_prefetch_misses,omitempty"` L1IcacheLoads *uint64 `protobuf:"varint,28,opt,name=l1_icache_loads" json:"l1_icache_loads,omitempty"` L1IcacheLoadMisses *uint64 `protobuf:"varint,29,opt,name=l1_icache_load_misses" json:"l1_icache_load_misses,omitempty"` L1IcachePrefetches *uint64 `protobuf:"varint,30,opt,name=l1_icache_prefetches" json:"l1_icache_prefetches,omitempty"` L1IcachePrefetchMisses *uint64 `protobuf:"varint,31,opt,name=l1_icache_prefetch_misses" json:"l1_icache_prefetch_misses,omitempty"` LlcLoads *uint64 `protobuf:"varint,32,opt,name=llc_loads" json:"llc_loads,omitempty"` LlcLoadMisses *uint64 `protobuf:"varint,33,opt,name=llc_load_misses" json:"llc_load_misses,omitempty"` LlcStores *uint64 `protobuf:"varint,34,opt,name=llc_stores" json:"llc_stores,omitempty"` LlcStoreMisses *uint64 `protobuf:"varint,35,opt,name=llc_store_misses" json:"llc_store_misses,omitempty"` LlcPrefetches *uint64 `protobuf:"varint,36,opt,name=llc_prefetches" json:"llc_prefetches,omitempty"` LlcPrefetchMisses *uint64 `protobuf:"varint,37,opt,name=llc_prefetch_misses" json:"llc_prefetch_misses,omitempty"` DtlbLoads *uint64 `protobuf:"varint,38,opt,name=dtlb_loads" json:"dtlb_loads,omitempty"` DtlbLoadMisses *uint64 `protobuf:"varint,39,opt,name=dtlb_load_misses" json:"dtlb_load_misses,omitempty"` DtlbStores *uint64 `protobuf:"varint,40,opt,name=dtlb_stores" json:"dtlb_stores,omitempty"` DtlbStoreMisses *uint64 `protobuf:"varint,41,opt,name=dtlb_store_misses" json:"dtlb_store_misses,omitempty"` DtlbPrefetches *uint64 `protobuf:"varint,42,opt,name=dtlb_prefetches" json:"dtlb_prefetches,omitempty"` DtlbPrefetchMisses *uint64 `protobuf:"varint,43,opt,name=dtlb_prefetch_misses" json:"dtlb_prefetch_misses,omitempty"` ItlbLoads *uint64 `protobuf:"varint,44,opt,name=itlb_loads" json:"itlb_loads,omitempty"` ItlbLoadMisses *uint64 `protobuf:"varint,45,opt,name=itlb_load_misses" json:"itlb_load_misses,omitempty"` BranchLoads *uint64 `protobuf:"varint,46,opt,name=branch_loads" json:"branch_loads,omitempty"` BranchLoadMisses *uint64 `protobuf:"varint,47,opt,name=branch_load_misses" json:"branch_load_misses,omitempty"` NodeLoads *uint64 `protobuf:"varint,48,opt,name=node_loads" json:"node_loads,omitempty"` NodeLoadMisses *uint64 `protobuf:"varint,49,opt,name=node_load_misses" json:"node_load_misses,omitempty"` NodeStores *uint64 `protobuf:"varint,50,opt,name=node_stores" json:"node_stores,omitempty"` NodeStoreMisses *uint64 `protobuf:"varint,51,opt,name=node_store_misses" json:"node_store_misses,omitempty"` NodePrefetches *uint64 `protobuf:"varint,52,opt,name=node_prefetches" json:"node_prefetches,omitempty"` NodePrefetchMisses *uint64 `protobuf:"varint,53,opt,name=node_prefetch_misses" json:"node_prefetch_misses,omitempty"` XXX_unrecognized []byte `json:"-"` }
* 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:
- Names are downcased.
- Hyphens ('-') are replaced with underscores ('_').
- 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) 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) GetCacheMisses ¶
func (m *PerfStatistics) GetCacheMisses() uint64
func (*PerfStatistics) GetCacheReferences ¶
func (m *PerfStatistics) GetCacheReferences() uint64
func (*PerfStatistics) GetContextSwitches ¶
func (m *PerfStatistics) GetContextSwitches() uint64
func (*PerfStatistics) GetCpuClock ¶
func (m *PerfStatistics) GetCpuClock() float64
func (*PerfStatistics) GetCpuMigrations ¶
func (m *PerfStatistics) GetCpuMigrations() 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) GetInstructions ¶
func (m *PerfStatistics) GetInstructions() uint64
func (*PerfStatistics) GetItlbLoadMisses ¶
func (m *PerfStatistics) GetItlbLoadMisses() uint64
func (*PerfStatistics) GetItlbLoads ¶
func (m *PerfStatistics) GetItlbLoads() 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) ProtoMessage ¶
func (*PerfStatistics) ProtoMessage()
func (*PerfStatistics) Reset ¶
func (m *PerfStatistics) Reset()
func (*PerfStatistics) Size ¶
func (m *PerfStatistics) Size() (n int)
func (*PerfStatistics) String ¶
func (this *PerfStatistics) String() string
func (*PerfStatistics) Unmarshal ¶
func (m *PerfStatistics) Unmarshal(data []byte) error
func (*PerfStatistics) VerboseEqual ¶
func (this *PerfStatistics) VerboseEqual(that interface{}) error
type PingSlaveMessage ¶
type PingSlaveMessage struct { Connected *bool `protobuf:"varint,1,req,name=connected" json:"connected,omitempty"` XXX_unrecognized []byte `json:"-"` }
* This message is periodically sent by the master to the agent. If the agent is connected to the master, "connected" is true.
func NewPopulatedPingSlaveMessage ¶ added in v1.2.0
func NewPopulatedPingSlaveMessage(r randyMessages, easy bool) *PingSlaveMessage
func (*PingSlaveMessage) Equal ¶ added in v1.2.0
func (this *PingSlaveMessage) Equal(that interface{}) bool
func (*PingSlaveMessage) GetConnected ¶
func (m *PingSlaveMessage) GetConnected() bool
func (*PingSlaveMessage) GoString ¶ added in v1.2.0
func (this *PingSlaveMessage) GoString() string
func (*PingSlaveMessage) Marshal ¶ added in v1.2.0
func (m *PingSlaveMessage) Marshal() (data []byte, err error)
func (*PingSlaveMessage) MarshalTo ¶ added in v1.2.0
func (m *PingSlaveMessage) MarshalTo(data []byte) (int, error)
func (*PingSlaveMessage) ProtoMessage ¶
func (*PingSlaveMessage) ProtoMessage()
func (*PingSlaveMessage) Reset ¶
func (m *PingSlaveMessage) Reset()
func (*PingSlaveMessage) Size ¶ added in v1.2.0
func (m *PingSlaveMessage) Size() (n int)
func (*PingSlaveMessage) String ¶
func (this *PingSlaveMessage) String() string
func (*PingSlaveMessage) Unmarshal ¶ added in v1.2.0
func (m *PingSlaveMessage) Unmarshal(data []byte) error
func (*PingSlaveMessage) VerboseEqual ¶ added in v1.2.0
func (this *PingSlaveMessage) VerboseEqual(that interface{}) error
type PongSlaveMessage ¶
type PongSlaveMessage struct {
XXX_unrecognized []byte `json:"-"`
}
* This message is sent by the agent to the master in response to the `PingSlaveMessage`.
func NewPopulatedPongSlaveMessage ¶ added in v1.2.0
func NewPopulatedPongSlaveMessage(r randyMessages, easy bool) *PongSlaveMessage
func (*PongSlaveMessage) Equal ¶ added in v1.2.0
func (this *PongSlaveMessage) Equal(that interface{}) bool
func (*PongSlaveMessage) GoString ¶ added in v1.2.0
func (this *PongSlaveMessage) GoString() string
func (*PongSlaveMessage) Marshal ¶ added in v1.2.0
func (m *PongSlaveMessage) Marshal() (data []byte, err error)
func (*PongSlaveMessage) MarshalTo ¶ added in v1.2.0
func (m *PongSlaveMessage) MarshalTo(data []byte) (int, error)
func (*PongSlaveMessage) ProtoMessage ¶
func (*PongSlaveMessage) ProtoMessage()
func (*PongSlaveMessage) Reset ¶
func (m *PongSlaveMessage) Reset()
func (*PongSlaveMessage) Size ¶ added in v1.2.0
func (m *PongSlaveMessage) Size() (n int)
func (*PongSlaveMessage) String ¶
func (this *PongSlaveMessage) String() string
func (*PongSlaveMessage) Unmarshal ¶ added in v1.2.0
func (m *PongSlaveMessage) Unmarshal(data []byte) error
func (*PongSlaveMessage) VerboseEqual ¶ added in v1.2.0
func (this *PongSlaveMessage) VerboseEqual(that interface{}) error
type Port ¶ added in v1.1.0
type Port struct { Number *uint32 `protobuf:"varint,1,req,name=number" json:"number,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"` Visibility *DiscoveryInfo_Visibility `protobuf:"varint,4,opt,name=visibility,enum=mesosproto.DiscoveryInfo_Visibility" json:"visibility,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Named port used for service discovery.
func NewPopulatedPort ¶ added in v1.1.0
func (*Port) GetProtocol ¶ added in v1.1.0
func (*Port) GetVisibility ¶ added in v1.2.0
func (m *Port) GetVisibility() DiscoveryInfo_Visibility
func (*Port) ProtoMessage ¶ added in v1.1.0
func (*Port) ProtoMessage()
func (*Port) VerboseEqual ¶ added in v1.1.0
type Ports ¶ added in v1.1.0
type Ports struct { Ports []*Port `protobuf:"bytes,1,rep,name=ports" json:"ports,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Collection of ports.
func NewPopulatedPorts ¶ added in v1.1.0
func (*Ports) ProtoMessage ¶ added in v1.1.0
func (*Ports) ProtoMessage()
func (*Ports) VerboseEqual ¶ added in v1.1.0
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,omitempty"` // 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"` XXX_unrecognized []byte `json:"-"` }
* 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 (*RateLimit) GetCapacity ¶
func (*RateLimit) GetPrincipal ¶
func (*RateLimit) ProtoMessage ¶
func (*RateLimit) ProtoMessage()
func (*RateLimit) VerboseEqual ¶
type RateLimits ¶
type RateLimits struct { // Items should have unique principals. Limits []*RateLimit `protobuf:"bytes,1,rep,name=limits" json:"limits,omitempty"` // 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:"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 `protobuf:"varint,3,opt,name=aggregate_default_capacity" json:"aggregate_default_capacity,omitempty"` XXX_unrecognized []byte `json:"-"` }
* 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) 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) ProtoMessage ¶
func (*RateLimits) ProtoMessage()
func (*RateLimits) Reset ¶
func (m *RateLimits) Reset()
func (*RateLimits) Size ¶
func (m *RateLimits) Size() (n int)
func (*RateLimits) String ¶
func (this *RateLimits) String() string
func (*RateLimits) Unmarshal ¶
func (m *RateLimits) Unmarshal(data []byte) error
func (*RateLimits) VerboseEqual ¶
func (this *RateLimits) VerboseEqual(that interface{}) error
type ReconcileTasksMessage ¶
type ReconcileTasksMessage struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` Statuses []*TaskStatus `protobuf:"bytes,2,rep,name=statuses" json:"statuses,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Allows the scheduler to query the status for non-terminal tasks. This causes the master to send back the latest task status for each task in `statuses`, if possible. Tasks that are no longer known will result in a `TASK_LOST` update. If `statuses` is empty, then the master will send the latest status for each task currently known.
func NewPopulatedReconcileTasksMessage ¶ added in v1.2.0
func NewPopulatedReconcileTasksMessage(r randyMessages, easy bool) *ReconcileTasksMessage
func (*ReconcileTasksMessage) Equal ¶ added in v1.2.0
func (this *ReconcileTasksMessage) Equal(that interface{}) bool
func (*ReconcileTasksMessage) GetFrameworkId ¶
func (m *ReconcileTasksMessage) GetFrameworkId() *FrameworkID
func (*ReconcileTasksMessage) GetStatuses ¶
func (m *ReconcileTasksMessage) GetStatuses() []*TaskStatus
func (*ReconcileTasksMessage) GoString ¶ added in v1.2.0
func (this *ReconcileTasksMessage) GoString() string
func (*ReconcileTasksMessage) Marshal ¶ added in v1.2.0
func (m *ReconcileTasksMessage) Marshal() (data []byte, err error)
func (*ReconcileTasksMessage) MarshalTo ¶ added in v1.2.0
func (m *ReconcileTasksMessage) MarshalTo(data []byte) (int, error)
func (*ReconcileTasksMessage) ProtoMessage ¶
func (*ReconcileTasksMessage) ProtoMessage()
func (*ReconcileTasksMessage) Reset ¶
func (m *ReconcileTasksMessage) Reset()
func (*ReconcileTasksMessage) Size ¶ added in v1.2.0
func (m *ReconcileTasksMessage) Size() (n int)
func (*ReconcileTasksMessage) String ¶
func (this *ReconcileTasksMessage) String() string
func (*ReconcileTasksMessage) Unmarshal ¶ added in v1.2.0
func (m *ReconcileTasksMessage) Unmarshal(data []byte) error
func (*ReconcileTasksMessage) VerboseEqual ¶ added in v1.2.0
func (this *ReconcileTasksMessage) VerboseEqual(that interface{}) error
type ReconnectExecutorMessage ¶
type ReconnectExecutorMessage struct { SlaveId *SlaveID `protobuf:"bytes,1,req,name=slave_id" json:"slave_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Reestablishes the connection between executor and agent after agent failover. This message originates from the agent.
func NewPopulatedReconnectExecutorMessage ¶ added in v1.2.0
func NewPopulatedReconnectExecutorMessage(r randyMessages, easy bool) *ReconnectExecutorMessage
func (*ReconnectExecutorMessage) Equal ¶ added in v1.2.0
func (this *ReconnectExecutorMessage) Equal(that interface{}) bool
func (*ReconnectExecutorMessage) GetSlaveId ¶
func (m *ReconnectExecutorMessage) GetSlaveId() *SlaveID
func (*ReconnectExecutorMessage) GoString ¶ added in v1.2.0
func (this *ReconnectExecutorMessage) GoString() string
func (*ReconnectExecutorMessage) Marshal ¶ added in v1.2.0
func (m *ReconnectExecutorMessage) Marshal() (data []byte, err error)
func (*ReconnectExecutorMessage) MarshalTo ¶ added in v1.2.0
func (m *ReconnectExecutorMessage) MarshalTo(data []byte) (int, error)
func (*ReconnectExecutorMessage) ProtoMessage ¶
func (*ReconnectExecutorMessage) ProtoMessage()
func (*ReconnectExecutorMessage) Reset ¶
func (m *ReconnectExecutorMessage) Reset()
func (*ReconnectExecutorMessage) Size ¶ added in v1.2.0
func (m *ReconnectExecutorMessage) Size() (n int)
func (*ReconnectExecutorMessage) String ¶
func (this *ReconnectExecutorMessage) String() string
func (*ReconnectExecutorMessage) Unmarshal ¶ added in v1.2.0
func (m *ReconnectExecutorMessage) Unmarshal(data []byte) error
func (*ReconnectExecutorMessage) VerboseEqual ¶ added in v1.2.0
func (this *ReconnectExecutorMessage) VerboseEqual(that interface{}) error
type RegisterExecutorMessage ¶
type RegisterExecutorMessage struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,2,req,name=executor_id" json:"executor_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Subscribes the executor with the agent to receive events.
See executor::Call::Subscribe.
func NewPopulatedRegisterExecutorMessage ¶ added in v1.2.0
func NewPopulatedRegisterExecutorMessage(r randyMessages, easy bool) *RegisterExecutorMessage
func (*RegisterExecutorMessage) Equal ¶ added in v1.2.0
func (this *RegisterExecutorMessage) Equal(that interface{}) bool
func (*RegisterExecutorMessage) GetExecutorId ¶
func (m *RegisterExecutorMessage) GetExecutorId() *ExecutorID
func (*RegisterExecutorMessage) GetFrameworkId ¶
func (m *RegisterExecutorMessage) GetFrameworkId() *FrameworkID
func (*RegisterExecutorMessage) GoString ¶ added in v1.2.0
func (this *RegisterExecutorMessage) GoString() string
func (*RegisterExecutorMessage) Marshal ¶ added in v1.2.0
func (m *RegisterExecutorMessage) Marshal() (data []byte, err error)
func (*RegisterExecutorMessage) MarshalTo ¶ added in v1.2.0
func (m *RegisterExecutorMessage) MarshalTo(data []byte) (int, error)
func (*RegisterExecutorMessage) ProtoMessage ¶
func (*RegisterExecutorMessage) ProtoMessage()
func (*RegisterExecutorMessage) Reset ¶
func (m *RegisterExecutorMessage) Reset()
func (*RegisterExecutorMessage) Size ¶ added in v1.2.0
func (m *RegisterExecutorMessage) Size() (n int)
func (*RegisterExecutorMessage) String ¶
func (this *RegisterExecutorMessage) String() string
func (*RegisterExecutorMessage) Unmarshal ¶ added in v1.2.0
func (m *RegisterExecutorMessage) Unmarshal(data []byte) error
func (*RegisterExecutorMessage) VerboseEqual ¶ added in v1.2.0
func (this *RegisterExecutorMessage) VerboseEqual(that interface{}) error
type RegisterFrameworkMessage ¶
type RegisterFrameworkMessage struct { Framework *FrameworkInfo `protobuf:"bytes,1,req,name=framework" json:"framework,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Subscribes the framework with the master to receive events.
Used by the pre-Event/Call Mesos scheduler driver. See scheduler::Call::Subscribe.
func NewPopulatedRegisterFrameworkMessage ¶ added in v1.2.0
func NewPopulatedRegisterFrameworkMessage(r randyMessages, easy bool) *RegisterFrameworkMessage
func (*RegisterFrameworkMessage) Equal ¶ added in v1.2.0
func (this *RegisterFrameworkMessage) Equal(that interface{}) bool
func (*RegisterFrameworkMessage) GetFramework ¶
func (m *RegisterFrameworkMessage) GetFramework() *FrameworkInfo
func (*RegisterFrameworkMessage) GoString ¶ added in v1.2.0
func (this *RegisterFrameworkMessage) GoString() string
func (*RegisterFrameworkMessage) Marshal ¶ added in v1.2.0
func (m *RegisterFrameworkMessage) Marshal() (data []byte, err error)
func (*RegisterFrameworkMessage) MarshalTo ¶ added in v1.2.0
func (m *RegisterFrameworkMessage) MarshalTo(data []byte) (int, error)
func (*RegisterFrameworkMessage) ProtoMessage ¶
func (*RegisterFrameworkMessage) ProtoMessage()
func (*RegisterFrameworkMessage) Reset ¶
func (m *RegisterFrameworkMessage) Reset()
func (*RegisterFrameworkMessage) Size ¶ added in v1.2.0
func (m *RegisterFrameworkMessage) Size() (n int)
func (*RegisterFrameworkMessage) String ¶
func (this *RegisterFrameworkMessage) String() string
func (*RegisterFrameworkMessage) Unmarshal ¶ added in v1.2.0
func (m *RegisterFrameworkMessage) Unmarshal(data []byte) error
func (*RegisterFrameworkMessage) VerboseEqual ¶ added in v1.2.0
func (this *RegisterFrameworkMessage) VerboseEqual(that interface{}) error
type RegisterSlaveMessage ¶
type RegisterSlaveMessage struct { Slave *SlaveInfo `protobuf:"bytes,1,req,name=slave" json:"slave,omitempty"` // Resources that are checkpointed by the agent (e.g., persistent // volume or dynamic reservation). Frameworks need to release // checkpointed resources explicitly. CheckpointedResources []*Resource `protobuf:"bytes,3,rep,name=checkpointed_resources" json:"checkpointed_resources,omitempty"` // NOTE: This is a hack for the master to detect the agent's // version. If unset the agent is < 0.21.0. // TODO(bmahler): Do proper versioning: MESOS-986. Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Registers the agent with the master.
If registration fails, a `ShutdownMessage` is sent to the agent. Failure conditions are documented inline in Master::registerSlave.
func NewPopulatedRegisterSlaveMessage ¶ added in v1.2.0
func NewPopulatedRegisterSlaveMessage(r randyMessages, easy bool) *RegisterSlaveMessage
func (*RegisterSlaveMessage) Equal ¶ added in v1.2.0
func (this *RegisterSlaveMessage) Equal(that interface{}) bool
func (*RegisterSlaveMessage) GetCheckpointedResources ¶ added in v1.1.0
func (m *RegisterSlaveMessage) GetCheckpointedResources() []*Resource
func (*RegisterSlaveMessage) GetSlave ¶
func (m *RegisterSlaveMessage) GetSlave() *SlaveInfo
func (*RegisterSlaveMessage) GetVersion ¶
func (m *RegisterSlaveMessage) GetVersion() string
func (*RegisterSlaveMessage) GoString ¶ added in v1.2.0
func (this *RegisterSlaveMessage) GoString() string
func (*RegisterSlaveMessage) Marshal ¶ added in v1.2.0
func (m *RegisterSlaveMessage) Marshal() (data []byte, err error)
func (*RegisterSlaveMessage) MarshalTo ¶ added in v1.2.0
func (m *RegisterSlaveMessage) MarshalTo(data []byte) (int, error)
func (*RegisterSlaveMessage) ProtoMessage ¶
func (*RegisterSlaveMessage) ProtoMessage()
func (*RegisterSlaveMessage) Reset ¶
func (m *RegisterSlaveMessage) Reset()
func (*RegisterSlaveMessage) Size ¶ added in v1.2.0
func (m *RegisterSlaveMessage) Size() (n int)
func (*RegisterSlaveMessage) String ¶
func (this *RegisterSlaveMessage) String() string
func (*RegisterSlaveMessage) Unmarshal ¶ added in v1.2.0
func (m *RegisterSlaveMessage) Unmarshal(data []byte) error
func (*RegisterSlaveMessage) VerboseEqual ¶ added in v1.2.0
func (this *RegisterSlaveMessage) VerboseEqual(that interface{}) error
type Request ¶
type Request struct { SlaveId *SlaveID `protobuf:"bytes,1,opt,name=slave_id" json:"slave_id,omitempty"` Resources []*Resource `protobuf:"bytes,2,rep,name=resources" json:"resources,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes a request for resources that can be used by a framework to proactively influence the allocator. If 'slave_id' is provided then this request is assumed to only apply to resources on that slave.
func NewPopulatedRequest ¶
func (*Request) GetResources ¶
func (*Request) GetSlaveId ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) VerboseEqual ¶
type ReregisterExecutorMessage ¶
type ReregisterExecutorMessage struct { ExecutorId *ExecutorID `protobuf:"bytes,1,req,name=executor_id" json:"executor_id,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,2,req,name=framework_id" json:"framework_id,omitempty"` Tasks []*TaskInfo `protobuf:"bytes,3,rep,name=tasks" json:"tasks,omitempty"` Updates []*StatusUpdate `protobuf:"bytes,4,rep,name=updates" json:"updates,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Subscribes the executor with the agent to receive events. This is used after a disconnection. The executor must include any unacknowledged tasks or updates.
See executor::Call::Subscribe.
func NewPopulatedReregisterExecutorMessage ¶ added in v1.2.0
func NewPopulatedReregisterExecutorMessage(r randyMessages, easy bool) *ReregisterExecutorMessage
func (*ReregisterExecutorMessage) Equal ¶ added in v1.2.0
func (this *ReregisterExecutorMessage) Equal(that interface{}) bool
func (*ReregisterExecutorMessage) GetExecutorId ¶
func (m *ReregisterExecutorMessage) GetExecutorId() *ExecutorID
func (*ReregisterExecutorMessage) GetFrameworkId ¶
func (m *ReregisterExecutorMessage) GetFrameworkId() *FrameworkID
func (*ReregisterExecutorMessage) GetTasks ¶
func (m *ReregisterExecutorMessage) GetTasks() []*TaskInfo
func (*ReregisterExecutorMessage) GetUpdates ¶
func (m *ReregisterExecutorMessage) GetUpdates() []*StatusUpdate
func (*ReregisterExecutorMessage) GoString ¶ added in v1.2.0
func (this *ReregisterExecutorMessage) GoString() string
func (*ReregisterExecutorMessage) Marshal ¶ added in v1.2.0
func (m *ReregisterExecutorMessage) Marshal() (data []byte, err error)
func (*ReregisterExecutorMessage) MarshalTo ¶ added in v1.2.0
func (m *ReregisterExecutorMessage) MarshalTo(data []byte) (int, error)
func (*ReregisterExecutorMessage) ProtoMessage ¶
func (*ReregisterExecutorMessage) ProtoMessage()
func (*ReregisterExecutorMessage) Reset ¶
func (m *ReregisterExecutorMessage) Reset()
func (*ReregisterExecutorMessage) Size ¶ added in v1.2.0
func (m *ReregisterExecutorMessage) Size() (n int)
func (*ReregisterExecutorMessage) String ¶
func (this *ReregisterExecutorMessage) String() string
func (*ReregisterExecutorMessage) Unmarshal ¶ added in v1.2.0
func (m *ReregisterExecutorMessage) Unmarshal(data []byte) error
func (*ReregisterExecutorMessage) VerboseEqual ¶ added in v1.2.0
func (this *ReregisterExecutorMessage) VerboseEqual(that interface{}) error
type ReregisterFrameworkMessage ¶
type ReregisterFrameworkMessage struct { Framework *FrameworkInfo `protobuf:"bytes,2,req,name=framework" json:"framework,omitempty"` Failover *bool `protobuf:"varint,3,req,name=failover" json:"failover,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Subscribes the framework with the master to receive events. This is used when the framework has previously registered and the master changes to a newly elected master.
Used by the pre-Event/Call Mesos scheduler driver. See scheduler::Call::Subscribe.
func NewPopulatedReregisterFrameworkMessage ¶ added in v1.2.0
func NewPopulatedReregisterFrameworkMessage(r randyMessages, easy bool) *ReregisterFrameworkMessage
func (*ReregisterFrameworkMessage) Equal ¶ added in v1.2.0
func (this *ReregisterFrameworkMessage) Equal(that interface{}) bool
func (*ReregisterFrameworkMessage) GetFailover ¶
func (m *ReregisterFrameworkMessage) GetFailover() bool
func (*ReregisterFrameworkMessage) GetFramework ¶
func (m *ReregisterFrameworkMessage) GetFramework() *FrameworkInfo
func (*ReregisterFrameworkMessage) GoString ¶ added in v1.2.0
func (this *ReregisterFrameworkMessage) GoString() string
func (*ReregisterFrameworkMessage) Marshal ¶ added in v1.2.0
func (m *ReregisterFrameworkMessage) Marshal() (data []byte, err error)
func (*ReregisterFrameworkMessage) MarshalTo ¶ added in v1.2.0
func (m *ReregisterFrameworkMessage) MarshalTo(data []byte) (int, error)
func (*ReregisterFrameworkMessage) ProtoMessage ¶
func (*ReregisterFrameworkMessage) ProtoMessage()
func (*ReregisterFrameworkMessage) Reset ¶
func (m *ReregisterFrameworkMessage) Reset()
func (*ReregisterFrameworkMessage) Size ¶ added in v1.2.0
func (m *ReregisterFrameworkMessage) Size() (n int)
func (*ReregisterFrameworkMessage) String ¶
func (this *ReregisterFrameworkMessage) String() string
func (*ReregisterFrameworkMessage) Unmarshal ¶ added in v1.2.0
func (m *ReregisterFrameworkMessage) Unmarshal(data []byte) error
func (*ReregisterFrameworkMessage) VerboseEqual ¶ added in v1.2.0
func (this *ReregisterFrameworkMessage) VerboseEqual(that interface{}) error
type ReregisterSlaveMessage ¶
type ReregisterSlaveMessage struct { Slave *SlaveInfo `protobuf:"bytes,2,req,name=slave" json:"slave,omitempty"` // Resources that are checkpointed by the agent (e.g., persistent // volume or dynamic reservation). Frameworks need to release // checkpointed resources explicitly. CheckpointedResources []*Resource `protobuf:"bytes,7,rep,name=checkpointed_resources" json:"checkpointed_resources,omitempty"` ExecutorInfos []*ExecutorInfo `protobuf:"bytes,4,rep,name=executor_infos" json:"executor_infos,omitempty"` Tasks []*Task `protobuf:"bytes,3,rep,name=tasks" json:"tasks,omitempty"` CompletedFrameworks []*Archive_Framework `protobuf:"bytes,5,rep,name=completed_frameworks" json:"completed_frameworks,omitempty"` // NOTE: This is a hack for the master to detect the agent's // version. If unset the agent is < 0.21.0. // TODO(bmahler): Do proper versioning: MESOS-986. Version *string `protobuf:"bytes,6,opt,name=version" json:"version,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Registers the agent with the master. This is used when the agent has previously registered and the master changes to a newly elected master.
If registration fails, a `ShutdownMessage` is sent to the agent. Failure conditions are documented inline in Master::reregisterSlave.
func NewPopulatedReregisterSlaveMessage ¶ added in v1.2.0
func NewPopulatedReregisterSlaveMessage(r randyMessages, easy bool) *ReregisterSlaveMessage
func (*ReregisterSlaveMessage) Equal ¶ added in v1.2.0
func (this *ReregisterSlaveMessage) Equal(that interface{}) bool
func (*ReregisterSlaveMessage) GetCheckpointedResources ¶ added in v1.1.0
func (m *ReregisterSlaveMessage) GetCheckpointedResources() []*Resource
func (*ReregisterSlaveMessage) GetCompletedFrameworks ¶
func (m *ReregisterSlaveMessage) GetCompletedFrameworks() []*Archive_Framework
func (*ReregisterSlaveMessage) GetExecutorInfos ¶
func (m *ReregisterSlaveMessage) GetExecutorInfos() []*ExecutorInfo
func (*ReregisterSlaveMessage) GetSlave ¶
func (m *ReregisterSlaveMessage) GetSlave() *SlaveInfo
func (*ReregisterSlaveMessage) GetTasks ¶
func (m *ReregisterSlaveMessage) GetTasks() []*Task
func (*ReregisterSlaveMessage) GetVersion ¶
func (m *ReregisterSlaveMessage) GetVersion() string
func (*ReregisterSlaveMessage) GoString ¶ added in v1.2.0
func (this *ReregisterSlaveMessage) GoString() string
func (*ReregisterSlaveMessage) Marshal ¶ added in v1.2.0
func (m *ReregisterSlaveMessage) Marshal() (data []byte, err error)
func (*ReregisterSlaveMessage) MarshalTo ¶ added in v1.2.0
func (m *ReregisterSlaveMessage) MarshalTo(data []byte) (int, error)
func (*ReregisterSlaveMessage) ProtoMessage ¶
func (*ReregisterSlaveMessage) ProtoMessage()
func (*ReregisterSlaveMessage) Reset ¶
func (m *ReregisterSlaveMessage) Reset()
func (*ReregisterSlaveMessage) Size ¶ added in v1.2.0
func (m *ReregisterSlaveMessage) Size() (n int)
func (*ReregisterSlaveMessage) String ¶
func (this *ReregisterSlaveMessage) String() string
func (*ReregisterSlaveMessage) Unmarshal ¶ added in v1.2.0
func (m *ReregisterSlaveMessage) Unmarshal(data []byte) error
func (*ReregisterSlaveMessage) VerboseEqual ¶ added in v1.2.0
func (this *ReregisterSlaveMessage) VerboseEqual(that interface{}) error
type RescindResourceOfferMessage ¶
type RescindResourceOfferMessage struct { OfferId *OfferID `protobuf:"bytes,1,req,name=offer_id" json:"offer_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Notifies the scheduler that a particular offer is not longer valid.
See scheduler::Event::Rescind.
func NewPopulatedRescindResourceOfferMessage ¶ added in v1.2.0
func NewPopulatedRescindResourceOfferMessage(r randyMessages, easy bool) *RescindResourceOfferMessage
func (*RescindResourceOfferMessage) Equal ¶ added in v1.2.0
func (this *RescindResourceOfferMessage) Equal(that interface{}) bool
func (*RescindResourceOfferMessage) GetOfferId ¶
func (m *RescindResourceOfferMessage) GetOfferId() *OfferID
func (*RescindResourceOfferMessage) GoString ¶ added in v1.2.0
func (this *RescindResourceOfferMessage) GoString() string
func (*RescindResourceOfferMessage) Marshal ¶ added in v1.2.0
func (m *RescindResourceOfferMessage) Marshal() (data []byte, err error)
func (*RescindResourceOfferMessage) MarshalTo ¶ added in v1.2.0
func (m *RescindResourceOfferMessage) MarshalTo(data []byte) (int, error)
func (*RescindResourceOfferMessage) ProtoMessage ¶
func (*RescindResourceOfferMessage) ProtoMessage()
func (*RescindResourceOfferMessage) Reset ¶
func (m *RescindResourceOfferMessage) Reset()
func (*RescindResourceOfferMessage) Size ¶ added in v1.2.0
func (m *RescindResourceOfferMessage) Size() (n int)
func (*RescindResourceOfferMessage) String ¶
func (this *RescindResourceOfferMessage) String() string
func (*RescindResourceOfferMessage) Unmarshal ¶ added in v1.2.0
func (m *RescindResourceOfferMessage) Unmarshal(data []byte) error
func (*RescindResourceOfferMessage) VerboseEqual ¶ added in v1.2.0
func (this *RescindResourceOfferMessage) VerboseEqual(that interface{}) error
type Resource ¶
type Resource struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Type *Value_Type `protobuf:"varint,2,req,name=type,enum=mesosproto.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"` Role *string `protobuf:"bytes,6,opt,name=role,def=*" json:"role,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. Reservation *Resource_ReservationInfo `protobuf:"bytes,8,opt,name=reservation" json:"reservation,omitempty"` 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"` XXX_unrecognized []byte `json:"-"` }
* Describes a resource on a machine. 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.
TODO(benh): Add better support for "expected" resources (e.g., cpus, memory, disk, network).
func NewPopulatedResource ¶
func (*Resource) GetDisk ¶ added in v1.1.0
func (m *Resource) GetDisk() *Resource_DiskInfo
func (*Resource) GetRanges ¶
func (m *Resource) GetRanges() *Value_Ranges
func (*Resource) GetReservation ¶ added in v1.1.0
func (m *Resource) GetReservation() *Resource_ReservationInfo
func (*Resource) GetRevocable ¶ added in v1.1.0
func (m *Resource) GetRevocable() *Resource_RevocableInfo
func (*Resource) GetScalar ¶
func (m *Resource) GetScalar() *Value_Scalar
func (*Resource) GetType ¶
func (m *Resource) GetType() Value_Type
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) VerboseEqual ¶
type ResourceOffersMessage ¶
type ResourceOffersMessage struct { Offers []*Offer `protobuf:"bytes,1,rep,name=offers" json:"offers,omitempty"` Pids []string `protobuf:"bytes,2,rep,name=pids" json:"pids,omitempty"` // The `inverse_offers` field is added here because we currently use it in // `master.cpp` when constructing the message to send to schedulers. We use // the original version of the proto API until we do a full refactor of all // the messages being sent. // It is not fully implemented in the old scheduler; only the V1 scheduler // currently implements inverse offers. InverseOffers []*InverseOffer `protobuf:"bytes,3,rep,name=inverse_offers" json:"inverse_offers,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Sends resources offers to the scheduler.
See scheduler::Event::Offers.
func NewPopulatedResourceOffersMessage ¶ added in v1.2.0
func NewPopulatedResourceOffersMessage(r randyMessages, easy bool) *ResourceOffersMessage
func (*ResourceOffersMessage) Equal ¶ added in v1.2.0
func (this *ResourceOffersMessage) Equal(that interface{}) bool
func (*ResourceOffersMessage) GetInverseOffers ¶ added in v1.2.0
func (m *ResourceOffersMessage) GetInverseOffers() []*InverseOffer
func (*ResourceOffersMessage) GetOffers ¶
func (m *ResourceOffersMessage) GetOffers() []*Offer
func (*ResourceOffersMessage) GetPids ¶
func (m *ResourceOffersMessage) GetPids() []string
func (*ResourceOffersMessage) GoString ¶ added in v1.2.0
func (this *ResourceOffersMessage) GoString() string
func (*ResourceOffersMessage) Marshal ¶ added in v1.2.0
func (m *ResourceOffersMessage) Marshal() (data []byte, err error)
func (*ResourceOffersMessage) MarshalTo ¶ added in v1.2.0
func (m *ResourceOffersMessage) MarshalTo(data []byte) (int, error)
func (*ResourceOffersMessage) ProtoMessage ¶
func (*ResourceOffersMessage) ProtoMessage()
func (*ResourceOffersMessage) Reset ¶
func (m *ResourceOffersMessage) Reset()
func (*ResourceOffersMessage) Size ¶ added in v1.2.0
func (m *ResourceOffersMessage) Size() (n int)
func (*ResourceOffersMessage) String ¶
func (this *ResourceOffersMessage) String() string
func (*ResourceOffersMessage) Unmarshal ¶ added in v1.2.0
func (m *ResourceOffersMessage) Unmarshal(data []byte) error
func (*ResourceOffersMessage) VerboseEqual ¶ added in v1.2.0
func (this *ResourceOffersMessage) VerboseEqual(that interface{}) error
type ResourceRequestMessage ¶
type ResourceRequestMessage struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` Requests []*Request `protobuf:"bytes,2,rep,name=requests" json:"requests,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Requests specific resources from Mesos's allocator. If the allocator supports resource requests, any corresponding resources will be sent like a normal resource offer.
Used by the pre-Event/Call Mesos scheduler driver. See scheduler::Call::Request.
func NewPopulatedResourceRequestMessage ¶ added in v1.2.0
func NewPopulatedResourceRequestMessage(r randyMessages, easy bool) *ResourceRequestMessage
func (*ResourceRequestMessage) Equal ¶ added in v1.2.0
func (this *ResourceRequestMessage) Equal(that interface{}) bool
func (*ResourceRequestMessage) GetFrameworkId ¶
func (m *ResourceRequestMessage) GetFrameworkId() *FrameworkID
func (*ResourceRequestMessage) GetRequests ¶
func (m *ResourceRequestMessage) GetRequests() []*Request
func (*ResourceRequestMessage) GoString ¶ added in v1.2.0
func (this *ResourceRequestMessage) GoString() string
func (*ResourceRequestMessage) Marshal ¶ added in v1.2.0
func (m *ResourceRequestMessage) Marshal() (data []byte, err error)
func (*ResourceRequestMessage) MarshalTo ¶ added in v1.2.0
func (m *ResourceRequestMessage) MarshalTo(data []byte) (int, error)
func (*ResourceRequestMessage) ProtoMessage ¶
func (*ResourceRequestMessage) ProtoMessage()
func (*ResourceRequestMessage) Reset ¶
func (m *ResourceRequestMessage) Reset()
func (*ResourceRequestMessage) Size ¶ added in v1.2.0
func (m *ResourceRequestMessage) Size() (n int)
func (*ResourceRequestMessage) String ¶
func (this *ResourceRequestMessage) String() string
func (*ResourceRequestMessage) Unmarshal ¶ added in v1.2.0
func (m *ResourceRequestMessage) Unmarshal(data []byte) error
func (*ResourceRequestMessage) VerboseEqual ¶ added in v1.2.0
func (this *ResourceRequestMessage) VerboseEqual(that interface{}) error
type ResourceStatistics ¶
type ResourceStatistics struct { Timestamp *float64 `protobuf:"fixed64,1,req,name=timestamp" json:"timestamp,omitempty"` 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:"cpus_user_time_secs,omitempty"` CpusSystemTimeSecs *float64 `protobuf:"fixed64,3,opt,name=cpus_system_time_secs" json:"cpus_system_time_secs,omitempty"` // Number of CPUs allocated. CpusLimit *float64 `protobuf:"fixed64,4,opt,name=cpus_limit" json:"cpus_limit,omitempty"` // cpu.stat on process throttling (for contention issues). CpusNrPeriods *uint32 `protobuf:"varint,7,opt,name=cpus_nr_periods" json:"cpus_nr_periods,omitempty"` CpusNrThrottled *uint32 `protobuf:"varint,8,opt,name=cpus_nr_throttled" json:"cpus_nr_throttled,omitempty"` CpusThrottledTimeSecs *float64 `protobuf:"fixed64,9,opt,name=cpus_throttled_time_secs" 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:"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:"mem_total_memsw_bytes,omitempty"` // Hard memory limit for a container. MemLimitBytes *uint64 `protobuf:"varint,6,opt,name=mem_limit_bytes" json:"mem_limit_bytes,omitempty"` // Soft memory limit for a container. MemSoftLimitBytes *uint64 `protobuf:"varint,38,opt,name=mem_soft_limit_bytes" 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:"mem_file_bytes,omitempty"` MemAnonBytes *uint64 `protobuf:"varint,11,opt,name=mem_anon_bytes" 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:"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:"mem_rss_bytes,omitempty"` MemMappedFileBytes *uint64 `protobuf:"varint,12,opt,name=mem_mapped_file_bytes" 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:"mem_swap_bytes,omitempty"` MemUnevictableBytes *uint64 `protobuf:"varint,41,opt,name=mem_unevictable_bytes" 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 slave (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:"mem_low_pressure_counter,omitempty"` MemMediumPressureCounter *uint64 `protobuf:"varint,33,opt,name=mem_medium_pressure_counter" json:"mem_medium_pressure_counter,omitempty"` MemCriticalPressureCounter *uint64 `protobuf:"varint,34,opt,name=mem_critical_pressure_counter" json:"mem_critical_pressure_counter,omitempty"` // Disk Usage Information for executor working directory. DiskLimitBytes *uint64 `protobuf:"varint,26,opt,name=disk_limit_bytes" json:"disk_limit_bytes,omitempty"` DiskUsedBytes *uint64 `protobuf:"varint,27,opt,name=disk_used_bytes" json:"disk_used_bytes,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:"net_rx_packets,omitempty"` NetRxBytes *uint64 `protobuf:"varint,15,opt,name=net_rx_bytes" json:"net_rx_bytes,omitempty"` NetRxErrors *uint64 `protobuf:"varint,16,opt,name=net_rx_errors" json:"net_rx_errors,omitempty"` NetRxDropped *uint64 `protobuf:"varint,17,opt,name=net_rx_dropped" json:"net_rx_dropped,omitempty"` NetTxPackets *uint64 `protobuf:"varint,18,opt,name=net_tx_packets" json:"net_tx_packets,omitempty"` NetTxBytes *uint64 `protobuf:"varint,19,opt,name=net_tx_bytes" json:"net_tx_bytes,omitempty"` NetTxErrors *uint64 `protobuf:"varint,20,opt,name=net_tx_errors" json:"net_tx_errors,omitempty"` NetTxDropped *uint64 `protobuf:"varint,21,opt,name=net_tx_dropped" 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 `protobuf:"fixed64,22,opt,name=net_tcp_rtt_microsecs_p50" json:"net_tcp_rtt_microsecs_p50,omitempty"` NetTcpRttMicrosecsP90 *float64 `protobuf:"fixed64,23,opt,name=net_tcp_rtt_microsecs_p90" json:"net_tcp_rtt_microsecs_p90,omitempty"` NetTcpRttMicrosecsP95 *float64 `protobuf:"fixed64,24,opt,name=net_tcp_rtt_microsecs_p95" json:"net_tcp_rtt_microsecs_p95,omitempty"` NetTcpRttMicrosecsP99 *float64 `protobuf:"fixed64,25,opt,name=net_tcp_rtt_microsecs_p99" json:"net_tcp_rtt_microsecs_p99,omitempty"` NetTcpActiveConnections *float64 `protobuf:"fixed64,28,opt,name=net_tcp_active_connections" json:"net_tcp_active_connections,omitempty"` NetTcpTimeWaitConnections *float64 `protobuf:"fixed64,29,opt,name=net_tcp_time_wait_connections" json:"net_tcp_time_wait_connections,omitempty"` // 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 `protobuf:"bytes,35,rep,name=net_traffic_control_statistics" json:"net_traffic_control_statistics,omitempty"` XXX_unrecognized []byte `json:"-"` }
* A snapshot of resource usage statistics.
func NewPopulatedResourceStatistics ¶
func NewPopulatedResourceStatistics(r randyMesos, easy bool) *ResourceStatistics
func (*ResourceStatistics) Equal ¶
func (this *ResourceStatistics) Equal(that interface{}) bool
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 ¶ added in v1.1.0
func (m *ResourceStatistics) GetDiskLimitBytes() uint64
func (*ResourceStatistics) GetDiskUsedBytes ¶ added in v1.1.0
func (m *ResourceStatistics) GetDiskUsedBytes() uint64
func (*ResourceStatistics) GetMemAnonBytes ¶
func (m *ResourceStatistics) GetMemAnonBytes() uint64
func (*ResourceStatistics) GetMemCacheBytes ¶ added in v1.1.0
func (m *ResourceStatistics) GetMemCacheBytes() uint64
func (*ResourceStatistics) GetMemCriticalPressureCounter ¶ added in v1.1.0
func (m *ResourceStatistics) GetMemCriticalPressureCounter() uint64
func (*ResourceStatistics) GetMemFileBytes ¶
func (m *ResourceStatistics) GetMemFileBytes() uint64
func (*ResourceStatistics) GetMemLimitBytes ¶
func (m *ResourceStatistics) GetMemLimitBytes() uint64
func (*ResourceStatistics) GetMemLowPressureCounter ¶ added in v1.1.0
func (m *ResourceStatistics) GetMemLowPressureCounter() uint64
func (*ResourceStatistics) GetMemMappedFileBytes ¶
func (m *ResourceStatistics) GetMemMappedFileBytes() uint64
func (*ResourceStatistics) GetMemMediumPressureCounter ¶ added in v1.1.0
func (m *ResourceStatistics) GetMemMediumPressureCounter() uint64
func (*ResourceStatistics) GetMemRssBytes ¶
func (m *ResourceStatistics) GetMemRssBytes() uint64
func (*ResourceStatistics) GetMemSoftLimitBytes ¶ added in v1.1.0
func (m *ResourceStatistics) GetMemSoftLimitBytes() uint64
func (*ResourceStatistics) GetMemSwapBytes ¶ added in v1.1.0
func (m *ResourceStatistics) GetMemSwapBytes() uint64
func (*ResourceStatistics) GetMemTotalBytes ¶ added in v1.1.0
func (m *ResourceStatistics) GetMemTotalBytes() uint64
func (*ResourceStatistics) GetMemTotalMemswBytes ¶ added in v1.1.0
func (m *ResourceStatistics) GetMemTotalMemswBytes() uint64
func (*ResourceStatistics) GetMemUnevictableBytes ¶ added in v1.2.0
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) GetNetTcpActiveConnections ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (m *ResourceStatistics) GetNetTcpTimeWaitConnections() float64
func (*ResourceStatistics) GetNetTrafficControlStatistics ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (m *ResourceStatistics) GetProcesses() uint32
func (*ResourceStatistics) GetThreads ¶ added in v1.1.0
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) MarshalTo ¶
func (m *ResourceStatistics) MarshalTo(data []byte) (int, error)
func (*ResourceStatistics) ProtoMessage ¶
func (*ResourceStatistics) ProtoMessage()
func (*ResourceStatistics) Reset ¶
func (m *ResourceStatistics) Reset()
func (*ResourceStatistics) Size ¶
func (m *ResourceStatistics) Size() (n int)
func (*ResourceStatistics) String ¶
func (this *ResourceStatistics) String() string
func (*ResourceStatistics) Unmarshal ¶
func (m *ResourceStatistics) Unmarshal(data []byte) 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,omitempty"` // Slave's total resources including checkpointed dynamic // reservations and persistent volumes. Total []*Resource `protobuf:"bytes,2,rep,name=total" json:"total,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes a snapshot of the resource usage for executors.
func NewPopulatedResourceUsage ¶
func NewPopulatedResourceUsage(r randyMesos, easy bool) *ResourceUsage
func (*ResourceUsage) Equal ¶
func (this *ResourceUsage) Equal(that interface{}) bool
func (*ResourceUsage) GetExecutors ¶ added in v1.1.0
func (m *ResourceUsage) GetExecutors() []*ResourceUsage_Executor
func (*ResourceUsage) GetTotal ¶ added in v1.2.0
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) ProtoMessage ¶
func (*ResourceUsage) ProtoMessage()
func (*ResourceUsage) Reset ¶
func (m *ResourceUsage) Reset()
func (*ResourceUsage) Size ¶
func (m *ResourceUsage) Size() (n int)
func (*ResourceUsage) String ¶
func (this *ResourceUsage) String() string
func (*ResourceUsage) Unmarshal ¶
func (m *ResourceUsage) Unmarshal(data []byte) error
func (*ResourceUsage) VerboseEqual ¶
func (this *ResourceUsage) VerboseEqual(that interface{}) error
type ResourceUsage_Executor ¶ added in v1.1.0
type ResourceUsage_Executor struct { ExecutorInfo *ExecutorInfo `protobuf:"bytes,1,req,name=executor_info" json:"executor_info,omitempty"` // This includes resources used by the executor itself // as well as its active tasks. Allocated []*Resource `protobuf:"bytes,2,rep,name=allocated" json:"allocated,omitempty"` // 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:"container_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedResourceUsage_Executor ¶ added in v1.1.0
func NewPopulatedResourceUsage_Executor(r randyMesos, easy bool) *ResourceUsage_Executor
func (*ResourceUsage_Executor) Equal ¶ added in v1.1.0
func (this *ResourceUsage_Executor) Equal(that interface{}) bool
func (*ResourceUsage_Executor) GetAllocated ¶ added in v1.1.0
func (m *ResourceUsage_Executor) GetAllocated() []*Resource
func (*ResourceUsage_Executor) GetContainerId ¶ added in v1.2.0
func (m *ResourceUsage_Executor) GetContainerId() *ContainerID
func (*ResourceUsage_Executor) GetExecutorInfo ¶ added in v1.1.0
func (m *ResourceUsage_Executor) GetExecutorInfo() *ExecutorInfo
func (*ResourceUsage_Executor) GetStatistics ¶ added in v1.1.0
func (m *ResourceUsage_Executor) GetStatistics() *ResourceStatistics
func (*ResourceUsage_Executor) GoString ¶ added in v1.1.0
func (this *ResourceUsage_Executor) GoString() string
func (*ResourceUsage_Executor) Marshal ¶ added in v1.1.0
func (m *ResourceUsage_Executor) Marshal() (data []byte, err error)
func (*ResourceUsage_Executor) MarshalTo ¶ added in v1.1.0
func (m *ResourceUsage_Executor) MarshalTo(data []byte) (int, error)
func (*ResourceUsage_Executor) ProtoMessage ¶ added in v1.1.0
func (*ResourceUsage_Executor) ProtoMessage()
func (*ResourceUsage_Executor) Reset ¶ added in v1.1.0
func (m *ResourceUsage_Executor) Reset()
func (*ResourceUsage_Executor) Size ¶ added in v1.1.0
func (m *ResourceUsage_Executor) Size() (n int)
func (*ResourceUsage_Executor) String ¶ added in v1.1.0
func (this *ResourceUsage_Executor) String() string
func (*ResourceUsage_Executor) Unmarshal ¶ added in v1.1.0
func (m *ResourceUsage_Executor) Unmarshal(data []byte) error
func (*ResourceUsage_Executor) VerboseEqual ¶ added in v1.1.0
func (this *ResourceUsage_Executor) VerboseEqual(that interface{}) error
type Resource_DiskInfo ¶ added in v1.1.0
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"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedResource_DiskInfo ¶ added in v1.1.0
func NewPopulatedResource_DiskInfo(r randyMesos, easy bool) *Resource_DiskInfo
func (*Resource_DiskInfo) Equal ¶ added in v1.1.0
func (this *Resource_DiskInfo) Equal(that interface{}) bool
func (*Resource_DiskInfo) GetPersistence ¶ added in v1.1.0
func (m *Resource_DiskInfo) GetPersistence() *Resource_DiskInfo_Persistence
func (*Resource_DiskInfo) GetVolume ¶ added in v1.1.0
func (m *Resource_DiskInfo) GetVolume() *Volume
func (*Resource_DiskInfo) GoString ¶ added in v1.1.0
func (this *Resource_DiskInfo) GoString() string
func (*Resource_DiskInfo) Marshal ¶ added in v1.1.0
func (m *Resource_DiskInfo) Marshal() (data []byte, err error)
func (*Resource_DiskInfo) MarshalTo ¶ added in v1.1.0
func (m *Resource_DiskInfo) MarshalTo(data []byte) (int, error)
func (*Resource_DiskInfo) ProtoMessage ¶ added in v1.1.0
func (*Resource_DiskInfo) ProtoMessage()
func (*Resource_DiskInfo) Reset ¶ added in v1.1.0
func (m *Resource_DiskInfo) Reset()
func (*Resource_DiskInfo) Size ¶ added in v1.1.0
func (m *Resource_DiskInfo) Size() (n int)
func (*Resource_DiskInfo) String ¶ added in v1.1.0
func (this *Resource_DiskInfo) String() string
func (*Resource_DiskInfo) Unmarshal ¶ added in v1.1.0
func (m *Resource_DiskInfo) Unmarshal(data []byte) error
func (*Resource_DiskInfo) VerboseEqual ¶ added in v1.1.0
func (this *Resource_DiskInfo) VerboseEqual(that interface{}) error
type Resource_DiskInfo_Persistence ¶ added in v1.1.0
type Resource_DiskInfo_Persistence struct { // A unique ID for the persistent disk volume. // NOTE: The ID needs to be unique per role on each slave. Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` XXX_unrecognized []byte `json:"-"` }
Describes a persistent disk volume. A persistent disk volume will not be automatically garbage collected if the task/executor/slave terminates, but is re-offered to the framework(s) belonging to the 'role'. A framework can set the ID (if it is not set yet) to express the intention to create a new persistent disk volume from a regular disk resource. To reuse a previously created volume, a framework can launch a task/executor when it receives an offer with a persistent volume, i.e., ID is set. NOTE: Currently, we do not allow a persistent disk volume without a reservation (i.e., 'role' should not be '*').
func NewPopulatedResource_DiskInfo_Persistence ¶ added in v1.1.0
func NewPopulatedResource_DiskInfo_Persistence(r randyMesos, easy bool) *Resource_DiskInfo_Persistence
func (*Resource_DiskInfo_Persistence) Equal ¶ added in v1.1.0
func (this *Resource_DiskInfo_Persistence) Equal(that interface{}) bool
func (*Resource_DiskInfo_Persistence) GetId ¶ added in v1.1.0
func (m *Resource_DiskInfo_Persistence) GetId() string
func (*Resource_DiskInfo_Persistence) GoString ¶ added in v1.1.0
func (this *Resource_DiskInfo_Persistence) GoString() string
func (*Resource_DiskInfo_Persistence) Marshal ¶ added in v1.1.0
func (m *Resource_DiskInfo_Persistence) Marshal() (data []byte, err error)
func (*Resource_DiskInfo_Persistence) MarshalTo ¶ added in v1.1.0
func (m *Resource_DiskInfo_Persistence) MarshalTo(data []byte) (int, error)
func (*Resource_DiskInfo_Persistence) ProtoMessage ¶ added in v1.1.0
func (*Resource_DiskInfo_Persistence) ProtoMessage()
func (*Resource_DiskInfo_Persistence) Reset ¶ added in v1.1.0
func (m *Resource_DiskInfo_Persistence) Reset()
func (*Resource_DiskInfo_Persistence) Size ¶ added in v1.1.0
func (m *Resource_DiskInfo_Persistence) Size() (n int)
func (*Resource_DiskInfo_Persistence) String ¶ added in v1.1.0
func (this *Resource_DiskInfo_Persistence) String() string
func (*Resource_DiskInfo_Persistence) Unmarshal ¶ added in v1.1.0
func (m *Resource_DiskInfo_Persistence) Unmarshal(data []byte) error
func (*Resource_DiskInfo_Persistence) VerboseEqual ¶ added in v1.1.0
func (this *Resource_DiskInfo_Persistence) VerboseEqual(that interface{}) error
type Resource_ReservationInfo ¶ added in v1.1.0
type Resource_ReservationInfo struct { // This field indicates the principal of the operator or framework // that reserved this resource. It is used in conjunction with the // "unreserve" ACL to determine whether the entity attempting to // unreserve this resource is permitted to do so. // NOTE: This field should match the FrameworkInfo.principal of // the framework that reserved this resource. Principal *string `protobuf:"bytes,1,req,name=principal" json:"principal,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedResource_ReservationInfo ¶ added in v1.1.0
func NewPopulatedResource_ReservationInfo(r randyMesos, easy bool) *Resource_ReservationInfo
func (*Resource_ReservationInfo) Equal ¶ added in v1.1.0
func (this *Resource_ReservationInfo) Equal(that interface{}) bool
func (*Resource_ReservationInfo) GetPrincipal ¶ added in v1.1.0
func (m *Resource_ReservationInfo) GetPrincipal() string
func (*Resource_ReservationInfo) GoString ¶ added in v1.1.0
func (this *Resource_ReservationInfo) GoString() string
func (*Resource_ReservationInfo) Marshal ¶ added in v1.1.0
func (m *Resource_ReservationInfo) Marshal() (data []byte, err error)
func (*Resource_ReservationInfo) MarshalTo ¶ added in v1.1.0
func (m *Resource_ReservationInfo) MarshalTo(data []byte) (int, error)
func (*Resource_ReservationInfo) ProtoMessage ¶ added in v1.1.0
func (*Resource_ReservationInfo) ProtoMessage()
func (*Resource_ReservationInfo) Reset ¶ added in v1.1.0
func (m *Resource_ReservationInfo) Reset()
func (*Resource_ReservationInfo) Size ¶ added in v1.1.0
func (m *Resource_ReservationInfo) Size() (n int)
func (*Resource_ReservationInfo) String ¶ added in v1.1.0
func (this *Resource_ReservationInfo) String() string
func (*Resource_ReservationInfo) Unmarshal ¶ added in v1.1.0
func (m *Resource_ReservationInfo) Unmarshal(data []byte) error
func (*Resource_ReservationInfo) VerboseEqual ¶ added in v1.1.0
func (this *Resource_ReservationInfo) VerboseEqual(that interface{}) error
type Resource_RevocableInfo ¶ added in v1.1.0
type Resource_RevocableInfo struct {
XXX_unrecognized []byte `json:"-"`
}
func NewPopulatedResource_RevocableInfo ¶ added in v1.1.0
func NewPopulatedResource_RevocableInfo(r randyMesos, easy bool) *Resource_RevocableInfo
func (*Resource_RevocableInfo) Equal ¶ added in v1.1.0
func (this *Resource_RevocableInfo) Equal(that interface{}) bool
func (*Resource_RevocableInfo) GoString ¶ added in v1.1.0
func (this *Resource_RevocableInfo) GoString() string
func (*Resource_RevocableInfo) Marshal ¶ added in v1.1.0
func (m *Resource_RevocableInfo) Marshal() (data []byte, err error)
func (*Resource_RevocableInfo) MarshalTo ¶ added in v1.1.0
func (m *Resource_RevocableInfo) MarshalTo(data []byte) (int, error)
func (*Resource_RevocableInfo) ProtoMessage ¶ added in v1.1.0
func (*Resource_RevocableInfo) ProtoMessage()
func (*Resource_RevocableInfo) Reset ¶ added in v1.1.0
func (m *Resource_RevocableInfo) Reset()
func (*Resource_RevocableInfo) Size ¶ added in v1.1.0
func (m *Resource_RevocableInfo) Size() (n int)
func (*Resource_RevocableInfo) String ¶ added in v1.1.0
func (this *Resource_RevocableInfo) String() string
func (*Resource_RevocableInfo) Unmarshal ¶ added in v1.1.0
func (m *Resource_RevocableInfo) Unmarshal(data []byte) error
func (*Resource_RevocableInfo) VerboseEqual ¶ added in v1.1.0
func (this *Resource_RevocableInfo) VerboseEqual(that interface{}) error
type ReviveOffersMessage ¶
type ReviveOffersMessage struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Removes all filters previously set by the scheduler.
Used by the pre-Event/Call Mesos scheduler driver. See scheduler::Call::Revive.
func NewPopulatedReviveOffersMessage ¶ added in v1.2.0
func NewPopulatedReviveOffersMessage(r randyMessages, easy bool) *ReviveOffersMessage
func (*ReviveOffersMessage) Equal ¶ added in v1.2.0
func (this *ReviveOffersMessage) Equal(that interface{}) bool
func (*ReviveOffersMessage) GetFrameworkId ¶
func (m *ReviveOffersMessage) GetFrameworkId() *FrameworkID
func (*ReviveOffersMessage) GoString ¶ added in v1.2.0
func (this *ReviveOffersMessage) GoString() string
func (*ReviveOffersMessage) Marshal ¶ added in v1.2.0
func (m *ReviveOffersMessage) Marshal() (data []byte, err error)
func (*ReviveOffersMessage) MarshalTo ¶ added in v1.2.0
func (m *ReviveOffersMessage) MarshalTo(data []byte) (int, error)
func (*ReviveOffersMessage) ProtoMessage ¶
func (*ReviveOffersMessage) ProtoMessage()
func (*ReviveOffersMessage) Reset ¶
func (m *ReviveOffersMessage) Reset()
func (*ReviveOffersMessage) Size ¶ added in v1.2.0
func (m *ReviveOffersMessage) Size() (n int)
func (*ReviveOffersMessage) String ¶
func (this *ReviveOffersMessage) String() string
func (*ReviveOffersMessage) Unmarshal ¶ added in v1.2.0
func (m *ReviveOffersMessage) Unmarshal(data []byte) error
func (*ReviveOffersMessage) VerboseEqual ¶ added in v1.2.0
func (this *ReviveOffersMessage) VerboseEqual(that interface{}) error
type RunTaskMessage ¶
type RunTaskMessage struct { // TODO(karya): Remove framework_id after MESOS-2559 has shipped. FrameworkId *FrameworkID `protobuf:"bytes,1,opt,name=framework_id" json:"framework_id,omitempty"` Framework *FrameworkInfo `protobuf:"bytes,2,req,name=framework" json:"framework,omitempty"` Task *TaskInfo `protobuf:"bytes,4,req,name=task" json:"task,omitempty"` // The pid of the framework. This was moved to 'optional' in // 0.24.0 to support schedulers using the HTTP API. For now, we // continue to always set pid since it was required in 0.23.x. // When 'pid' is unset, or set to empty string, the agent will // forward executor messages through the master. For schedulers // still using the driver, this will remain set. Pid *string `protobuf:"bytes,3,opt,name=pid" json:"pid,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Depending on the `TaskInfo`, this message either notifies an existing executor to run the task, or starts a new executor and runs the task. This message is sent when scheduler::Call::Accept is sent with Offer::Operation::Launch.
See executor::Event::Launch.
func NewPopulatedRunTaskMessage ¶ added in v1.2.0
func NewPopulatedRunTaskMessage(r randyMessages, easy bool) *RunTaskMessage
func (*RunTaskMessage) Equal ¶ added in v1.2.0
func (this *RunTaskMessage) Equal(that interface{}) bool
func (*RunTaskMessage) GetFramework ¶
func (m *RunTaskMessage) GetFramework() *FrameworkInfo
func (*RunTaskMessage) GetFrameworkId ¶
func (m *RunTaskMessage) GetFrameworkId() *FrameworkID
func (*RunTaskMessage) GetPid ¶
func (m *RunTaskMessage) GetPid() string
func (*RunTaskMessage) GetTask ¶
func (m *RunTaskMessage) GetTask() *TaskInfo
func (*RunTaskMessage) GoString ¶ added in v1.2.0
func (this *RunTaskMessage) GoString() string
func (*RunTaskMessage) Marshal ¶ added in v1.2.0
func (m *RunTaskMessage) Marshal() (data []byte, err error)
func (*RunTaskMessage) MarshalTo ¶ added in v1.2.0
func (m *RunTaskMessage) MarshalTo(data []byte) (int, error)
func (*RunTaskMessage) ProtoMessage ¶
func (*RunTaskMessage) ProtoMessage()
func (*RunTaskMessage) Reset ¶
func (m *RunTaskMessage) Reset()
func (*RunTaskMessage) Size ¶ added in v1.2.0
func (m *RunTaskMessage) Size() (n int)
func (*RunTaskMessage) String ¶
func (this *RunTaskMessage) String() string
func (*RunTaskMessage) Unmarshal ¶ added in v1.2.0
func (m *RunTaskMessage) Unmarshal(data []byte) error
func (*RunTaskMessage) VerboseEqual ¶ added in v1.2.0
func (this *RunTaskMessage) VerboseEqual(that interface{}) error
type ShutdownExecutorMessage ¶
type ShutdownExecutorMessage struct { // TODO(vinod): Make these fields required. These are made optional // for backwards compatibility between 0.23.0 agent and pre 0.23.0 // executor driver. ExecutorId *ExecutorID `protobuf:"bytes,1,opt,name=executor_id" json:"executor_id,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,2,opt,name=framework_id" json:"framework_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Tells an agent (and consequently the executor) to shutdown an executor.
func NewPopulatedShutdownExecutorMessage ¶ added in v1.2.0
func NewPopulatedShutdownExecutorMessage(r randyMessages, easy bool) *ShutdownExecutorMessage
func (*ShutdownExecutorMessage) Equal ¶ added in v1.2.0
func (this *ShutdownExecutorMessage) Equal(that interface{}) bool
func (*ShutdownExecutorMessage) GetExecutorId ¶ added in v1.1.0
func (m *ShutdownExecutorMessage) GetExecutorId() *ExecutorID
func (*ShutdownExecutorMessage) GetFrameworkId ¶ added in v1.1.0
func (m *ShutdownExecutorMessage) GetFrameworkId() *FrameworkID
func (*ShutdownExecutorMessage) GoString ¶ added in v1.2.0
func (this *ShutdownExecutorMessage) GoString() string
func (*ShutdownExecutorMessage) Marshal ¶ added in v1.2.0
func (m *ShutdownExecutorMessage) Marshal() (data []byte, err error)
func (*ShutdownExecutorMessage) MarshalTo ¶ added in v1.2.0
func (m *ShutdownExecutorMessage) MarshalTo(data []byte) (int, error)
func (*ShutdownExecutorMessage) ProtoMessage ¶
func (*ShutdownExecutorMessage) ProtoMessage()
func (*ShutdownExecutorMessage) Reset ¶
func (m *ShutdownExecutorMessage) Reset()
func (*ShutdownExecutorMessage) Size ¶ added in v1.2.0
func (m *ShutdownExecutorMessage) Size() (n int)
func (*ShutdownExecutorMessage) String ¶
func (this *ShutdownExecutorMessage) String() string
func (*ShutdownExecutorMessage) Unmarshal ¶ added in v1.2.0
func (m *ShutdownExecutorMessage) Unmarshal(data []byte) error
func (*ShutdownExecutorMessage) VerboseEqual ¶ added in v1.2.0
func (this *ShutdownExecutorMessage) VerboseEqual(that interface{}) error
type ShutdownFrameworkMessage ¶
type ShutdownFrameworkMessage struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Tells an agent to shut down all executors of the given framework.
func NewPopulatedShutdownFrameworkMessage ¶ added in v1.2.0
func NewPopulatedShutdownFrameworkMessage(r randyMessages, easy bool) *ShutdownFrameworkMessage
func (*ShutdownFrameworkMessage) Equal ¶ added in v1.2.0
func (this *ShutdownFrameworkMessage) Equal(that interface{}) bool
func (*ShutdownFrameworkMessage) GetFrameworkId ¶
func (m *ShutdownFrameworkMessage) GetFrameworkId() *FrameworkID
func (*ShutdownFrameworkMessage) GoString ¶ added in v1.2.0
func (this *ShutdownFrameworkMessage) GoString() string
func (*ShutdownFrameworkMessage) Marshal ¶ added in v1.2.0
func (m *ShutdownFrameworkMessage) Marshal() (data []byte, err error)
func (*ShutdownFrameworkMessage) MarshalTo ¶ added in v1.2.0
func (m *ShutdownFrameworkMessage) MarshalTo(data []byte) (int, error)
func (*ShutdownFrameworkMessage) ProtoMessage ¶
func (*ShutdownFrameworkMessage) ProtoMessage()
func (*ShutdownFrameworkMessage) Reset ¶
func (m *ShutdownFrameworkMessage) Reset()
func (*ShutdownFrameworkMessage) Size ¶ added in v1.2.0
func (m *ShutdownFrameworkMessage) Size() (n int)
func (*ShutdownFrameworkMessage) String ¶
func (this *ShutdownFrameworkMessage) String() string
func (*ShutdownFrameworkMessage) Unmarshal ¶ added in v1.2.0
func (m *ShutdownFrameworkMessage) Unmarshal(data []byte) error
func (*ShutdownFrameworkMessage) VerboseEqual ¶ added in v1.2.0
func (this *ShutdownFrameworkMessage) VerboseEqual(that interface{}) error
type ShutdownMessage ¶
type ShutdownMessage struct { Message *string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Sends a free-form message from the master to an agent. The agent should gracefully terminate in response, which includes shutting down all executors and tasks on the agent.
func NewPopulatedShutdownMessage ¶ added in v1.2.0
func NewPopulatedShutdownMessage(r randyMessages, easy bool) *ShutdownMessage
func (*ShutdownMessage) Equal ¶ added in v1.2.0
func (this *ShutdownMessage) Equal(that interface{}) bool
func (*ShutdownMessage) GetMessage ¶
func (m *ShutdownMessage) GetMessage() string
func (*ShutdownMessage) GoString ¶ added in v1.2.0
func (this *ShutdownMessage) GoString() string
func (*ShutdownMessage) Marshal ¶ added in v1.2.0
func (m *ShutdownMessage) Marshal() (data []byte, err error)
func (*ShutdownMessage) MarshalTo ¶ added in v1.2.0
func (m *ShutdownMessage) MarshalTo(data []byte) (int, error)
func (*ShutdownMessage) ProtoMessage ¶
func (*ShutdownMessage) ProtoMessage()
func (*ShutdownMessage) Reset ¶
func (m *ShutdownMessage) Reset()
func (*ShutdownMessage) Size ¶ added in v1.2.0
func (m *ShutdownMessage) Size() (n int)
func (*ShutdownMessage) String ¶
func (this *ShutdownMessage) String() string
func (*ShutdownMessage) Unmarshal ¶ added in v1.2.0
func (m *ShutdownMessage) Unmarshal(data []byte) error
func (*ShutdownMessage) VerboseEqual ¶ added in v1.2.0
func (this *ShutdownMessage) VerboseEqual(that interface{}) error
type SlaveID ¶
type SlaveID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
* A unique ID assigned to a slave. Currently, a slave gets a new ID whenever it (re)registers with Mesos. Framework writers shouldn't assume any binding between a slave ID and and a hostname.
func NewPopulatedSlaveID ¶
func (*SlaveID) ProtoMessage ¶
func (*SlaveID) ProtoMessage()
func (*SlaveID) VerboseEqual ¶
type SlaveInfo ¶
type SlaveInfo struct { Hostname *string `protobuf:"bytes,1,req,name=hostname" json:"hostname,omitempty"` Port *int32 `protobuf:"varint,8,opt,name=port,def=5051" json:"port,omitempty"` Resources []*Resource `protobuf:"bytes,3,rep,name=resources" json:"resources,omitempty"` Attributes []*Attribute `protobuf:"bytes,5,rep,name=attributes" json:"attributes,omitempty"` Id *SlaveID `protobuf:"bytes,6,opt,name=id" json:"id,omitempty"` // TODO(joerg84): Remove checkpoint field as with 0.22.0 // slave checkpointing is enabled for all slaves (MESOS-2317). Checkpoint *bool `protobuf:"varint,7,opt,name=checkpoint,def=0" json:"checkpoint,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes a slave. Note that the 'id' field is only available after a slave is registered with the master, and is made available here to facilitate re-registration. If checkpoint is set, the slave is checkpointing its own information and potentially frameworks' information (if a framework has checkpointing enabled).
func NewPopulatedSlaveInfo ¶
func (*SlaveInfo) GetAttributes ¶
func (*SlaveInfo) GetCheckpoint ¶
func (*SlaveInfo) GetHostname ¶
func (*SlaveInfo) GetResources ¶
func (*SlaveInfo) ProtoMessage ¶
func (*SlaveInfo) ProtoMessage()
func (*SlaveInfo) VerboseEqual ¶
type SlaveRegisteredMessage ¶
type SlaveRegisteredMessage struct { SlaveId *SlaveID `protobuf:"bytes,1,req,name=slave_id" json:"slave_id,omitempty"` Connection *MasterSlaveConnection `protobuf:"bytes,2,opt,name=connection" json:"connection,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Notifies the agent that the master has registered it. The `slave_id` holds a unique ID for distinguishing this agent.
func NewPopulatedSlaveRegisteredMessage ¶ added in v1.2.0
func NewPopulatedSlaveRegisteredMessage(r randyMessages, easy bool) *SlaveRegisteredMessage
func (*SlaveRegisteredMessage) Equal ¶ added in v1.2.0
func (this *SlaveRegisteredMessage) Equal(that interface{}) bool
func (*SlaveRegisteredMessage) GetConnection ¶ added in v1.1.0
func (m *SlaveRegisteredMessage) GetConnection() *MasterSlaveConnection
func (*SlaveRegisteredMessage) GetSlaveId ¶
func (m *SlaveRegisteredMessage) GetSlaveId() *SlaveID
func (*SlaveRegisteredMessage) GoString ¶ added in v1.2.0
func (this *SlaveRegisteredMessage) GoString() string
func (*SlaveRegisteredMessage) Marshal ¶ added in v1.2.0
func (m *SlaveRegisteredMessage) Marshal() (data []byte, err error)
func (*SlaveRegisteredMessage) MarshalTo ¶ added in v1.2.0
func (m *SlaveRegisteredMessage) MarshalTo(data []byte) (int, error)
func (*SlaveRegisteredMessage) ProtoMessage ¶
func (*SlaveRegisteredMessage) ProtoMessage()
func (*SlaveRegisteredMessage) Reset ¶
func (m *SlaveRegisteredMessage) Reset()
func (*SlaveRegisteredMessage) Size ¶ added in v1.2.0
func (m *SlaveRegisteredMessage) Size() (n int)
func (*SlaveRegisteredMessage) String ¶
func (this *SlaveRegisteredMessage) String() string
func (*SlaveRegisteredMessage) Unmarshal ¶ added in v1.2.0
func (m *SlaveRegisteredMessage) Unmarshal(data []byte) error
func (*SlaveRegisteredMessage) VerboseEqual ¶ added in v1.2.0
func (this *SlaveRegisteredMessage) VerboseEqual(that interface{}) error
type SlaveReregisteredMessage ¶
type SlaveReregisteredMessage struct { SlaveId *SlaveID `protobuf:"bytes,1,req,name=slave_id" json:"slave_id,omitempty"` // Contains a list of non-terminal tasks that the master believes to // be running on the agent. The agent should respond `TASK_LOST` to // any tasks that are unknown, so the master knows to remove those. Reconciliations []*ReconcileTasksMessage `protobuf:"bytes,2,rep,name=reconciliations" json:"reconciliations,omitempty"` Connection *MasterSlaveConnection `protobuf:"bytes,3,opt,name=connection" json:"connection,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Notifies the agent that the master has reregistered it. This message is used in the same conditions as `ReregisterSlaveMessage`.
func NewPopulatedSlaveReregisteredMessage ¶ added in v1.2.0
func NewPopulatedSlaveReregisteredMessage(r randyMessages, easy bool) *SlaveReregisteredMessage
func (*SlaveReregisteredMessage) Equal ¶ added in v1.2.0
func (this *SlaveReregisteredMessage) Equal(that interface{}) bool
func (*SlaveReregisteredMessage) GetConnection ¶ added in v1.1.0
func (m *SlaveReregisteredMessage) GetConnection() *MasterSlaveConnection
func (*SlaveReregisteredMessage) GetReconciliations ¶
func (m *SlaveReregisteredMessage) GetReconciliations() []*ReconcileTasksMessage
func (*SlaveReregisteredMessage) GetSlaveId ¶
func (m *SlaveReregisteredMessage) GetSlaveId() *SlaveID
func (*SlaveReregisteredMessage) GoString ¶ added in v1.2.0
func (this *SlaveReregisteredMessage) GoString() string
func (*SlaveReregisteredMessage) Marshal ¶ added in v1.2.0
func (m *SlaveReregisteredMessage) Marshal() (data []byte, err error)
func (*SlaveReregisteredMessage) MarshalTo ¶ added in v1.2.0
func (m *SlaveReregisteredMessage) MarshalTo(data []byte) (int, error)
func (*SlaveReregisteredMessage) ProtoMessage ¶
func (*SlaveReregisteredMessage) ProtoMessage()
func (*SlaveReregisteredMessage) Reset ¶
func (m *SlaveReregisteredMessage) Reset()
func (*SlaveReregisteredMessage) Size ¶ added in v1.2.0
func (m *SlaveReregisteredMessage) Size() (n int)
func (*SlaveReregisteredMessage) String ¶
func (this *SlaveReregisteredMessage) String() string
func (*SlaveReregisteredMessage) Unmarshal ¶ added in v1.2.0
func (m *SlaveReregisteredMessage) Unmarshal(data []byte) error
func (*SlaveReregisteredMessage) VerboseEqual ¶ added in v1.2.0
func (this *SlaveReregisteredMessage) 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.
func (*Status) UnmarshalJSON ¶
type StatusUpdate ¶
type StatusUpdate struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,2,opt,name=executor_id" json:"executor_id,omitempty"` SlaveId *SlaveID `protobuf:"bytes,3,opt,name=slave_id" json:"slave_id,omitempty"` // Since 0.23.0 we set 'status.uuid' in the executor // driver for all retryable status updates. Status *TaskStatus `protobuf:"bytes,4,req,name=status" json:"status,omitempty"` Timestamp *float64 `protobuf:"fixed64,5,req,name=timestamp" json:"timestamp,omitempty"` // Since 0.26.0 this is deprecated in favor of 'status.uuid'. Uuid []byte `protobuf:"bytes,6,opt,name=uuid" json:"uuid,omitempty"` // This corresponds to the latest state of the task according to the // agent. Note that this state might be different than the state in // 'status' because status update manager queues updates. In other // words, 'status' corresponds to the update at top of the queue and // 'latest_state' corresponds to the update at bottom of the queue. LatestState *TaskState `protobuf:"varint,7,opt,name=latest_state,enum=mesosproto.TaskState" json:"latest_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes a task's status.
`StatusUpdate` is used in some of the Mesos messages found below. The master and agent use `StatusUpdate` to wrap a `TaskStatus` when passing it from the agent to the framework that spawned the task.
See protobuf::createStatusUpdate.
func NewPopulatedStatusUpdate ¶ added in v1.2.0
func NewPopulatedStatusUpdate(r randyMessages, easy bool) *StatusUpdate
func (*StatusUpdate) Equal ¶ added in v1.2.0
func (this *StatusUpdate) Equal(that interface{}) bool
func (*StatusUpdate) GetExecutorId ¶
func (m *StatusUpdate) GetExecutorId() *ExecutorID
func (*StatusUpdate) GetFrameworkId ¶
func (m *StatusUpdate) GetFrameworkId() *FrameworkID
func (*StatusUpdate) GetLatestState ¶
func (m *StatusUpdate) GetLatestState() TaskState
func (*StatusUpdate) GetSlaveId ¶
func (m *StatusUpdate) GetSlaveId() *SlaveID
func (*StatusUpdate) GetStatus ¶
func (m *StatusUpdate) GetStatus() *TaskStatus
func (*StatusUpdate) GetTimestamp ¶
func (m *StatusUpdate) GetTimestamp() float64
func (*StatusUpdate) GetUuid ¶
func (m *StatusUpdate) GetUuid() []byte
func (*StatusUpdate) GoString ¶ added in v1.2.0
func (this *StatusUpdate) GoString() string
func (*StatusUpdate) Marshal ¶ added in v1.2.0
func (m *StatusUpdate) Marshal() (data []byte, err error)
func (*StatusUpdate) MarshalTo ¶ added in v1.2.0
func (m *StatusUpdate) MarshalTo(data []byte) (int, error)
func (*StatusUpdate) ProtoMessage ¶
func (*StatusUpdate) ProtoMessage()
func (*StatusUpdate) Reset ¶
func (m *StatusUpdate) Reset()
func (*StatusUpdate) Size ¶ added in v1.2.0
func (m *StatusUpdate) Size() (n int)
func (*StatusUpdate) String ¶
func (this *StatusUpdate) String() string
func (*StatusUpdate) Unmarshal ¶ added in v1.2.0
func (m *StatusUpdate) Unmarshal(data []byte) error
func (*StatusUpdate) VerboseEqual ¶ added in v1.2.0
func (this *StatusUpdate) VerboseEqual(that interface{}) error
type StatusUpdateAcknowledgementMessage ¶
type StatusUpdateAcknowledgementMessage struct { SlaveId *SlaveID `protobuf:"bytes,1,req,name=slave_id" json:"slave_id,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,2,req,name=framework_id" json:"framework_id,omitempty"` TaskId *TaskID `protobuf:"bytes,3,req,name=task_id" json:"task_id,omitempty"` Uuid []byte `protobuf:"bytes,4,req,name=uuid" json:"uuid,omitempty"` XXX_unrecognized []byte `json:"-"` }
* This message is used by the scheduler to acknowledge the receipt of a status update. Mesos forwards the acknowledgement to the executor running the task.
See scheduler::Call::Acknowledge and executor::Event::Acknowledged.
func NewPopulatedStatusUpdateAcknowledgementMessage ¶ added in v1.2.0
func NewPopulatedStatusUpdateAcknowledgementMessage(r randyMessages, easy bool) *StatusUpdateAcknowledgementMessage
func (*StatusUpdateAcknowledgementMessage) Equal ¶ added in v1.2.0
func (this *StatusUpdateAcknowledgementMessage) Equal(that interface{}) bool
func (*StatusUpdateAcknowledgementMessage) GetFrameworkId ¶
func (m *StatusUpdateAcknowledgementMessage) GetFrameworkId() *FrameworkID
func (*StatusUpdateAcknowledgementMessage) GetSlaveId ¶
func (m *StatusUpdateAcknowledgementMessage) GetSlaveId() *SlaveID
func (*StatusUpdateAcknowledgementMessage) GetTaskId ¶
func (m *StatusUpdateAcknowledgementMessage) GetTaskId() *TaskID
func (*StatusUpdateAcknowledgementMessage) GetUuid ¶
func (m *StatusUpdateAcknowledgementMessage) GetUuid() []byte
func (*StatusUpdateAcknowledgementMessage) GoString ¶ added in v1.2.0
func (this *StatusUpdateAcknowledgementMessage) GoString() string
func (*StatusUpdateAcknowledgementMessage) Marshal ¶ added in v1.2.0
func (m *StatusUpdateAcknowledgementMessage) Marshal() (data []byte, err error)
func (*StatusUpdateAcknowledgementMessage) MarshalTo ¶ added in v1.2.0
func (m *StatusUpdateAcknowledgementMessage) MarshalTo(data []byte) (int, error)
func (*StatusUpdateAcknowledgementMessage) ProtoMessage ¶
func (*StatusUpdateAcknowledgementMessage) ProtoMessage()
func (*StatusUpdateAcknowledgementMessage) Reset ¶
func (m *StatusUpdateAcknowledgementMessage) Reset()
func (*StatusUpdateAcknowledgementMessage) Size ¶ added in v1.2.0
func (m *StatusUpdateAcknowledgementMessage) Size() (n int)
func (*StatusUpdateAcknowledgementMessage) String ¶
func (this *StatusUpdateAcknowledgementMessage) String() string
func (*StatusUpdateAcknowledgementMessage) Unmarshal ¶ added in v1.2.0
func (m *StatusUpdateAcknowledgementMessage) Unmarshal(data []byte) error
func (*StatusUpdateAcknowledgementMessage) VerboseEqual ¶ added in v1.2.0
func (this *StatusUpdateAcknowledgementMessage) VerboseEqual(that interface{}) error
type StatusUpdateMessage ¶
type StatusUpdateMessage struct { Update *StatusUpdate `protobuf:"bytes,1,req,name=update" json:"update,omitempty"` // If present, scheduler driver automatically sends an acknowledgement // to the `pid`. This only applies to the pre-Event/Call Mesos // scheduler driver. Pid *string `protobuf:"bytes,2,opt,name=pid" json:"pid,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Sends a task status update to the scheduler.
See scheduler::Event::Update.
func NewPopulatedStatusUpdateMessage ¶ added in v1.2.0
func NewPopulatedStatusUpdateMessage(r randyMessages, easy bool) *StatusUpdateMessage
func (*StatusUpdateMessage) Equal ¶ added in v1.2.0
func (this *StatusUpdateMessage) Equal(that interface{}) bool
func (*StatusUpdateMessage) GetPid ¶
func (m *StatusUpdateMessage) GetPid() string
func (*StatusUpdateMessage) GetUpdate ¶
func (m *StatusUpdateMessage) GetUpdate() *StatusUpdate
func (*StatusUpdateMessage) GoString ¶ added in v1.2.0
func (this *StatusUpdateMessage) GoString() string
func (*StatusUpdateMessage) Marshal ¶ added in v1.2.0
func (m *StatusUpdateMessage) Marshal() (data []byte, err error)
func (*StatusUpdateMessage) MarshalTo ¶ added in v1.2.0
func (m *StatusUpdateMessage) MarshalTo(data []byte) (int, error)
func (*StatusUpdateMessage) ProtoMessage ¶
func (*StatusUpdateMessage) ProtoMessage()
func (*StatusUpdateMessage) Reset ¶
func (m *StatusUpdateMessage) Reset()
func (*StatusUpdateMessage) Size ¶ added in v1.2.0
func (m *StatusUpdateMessage) Size() (n int)
func (*StatusUpdateMessage) String ¶
func (this *StatusUpdateMessage) String() string
func (*StatusUpdateMessage) Unmarshal ¶ added in v1.2.0
func (m *StatusUpdateMessage) Unmarshal(data []byte) error
func (*StatusUpdateMessage) VerboseEqual ¶ added in v1.2.0
func (this *StatusUpdateMessage) VerboseEqual(that interface{}) error
type StatusUpdateRecord ¶
type StatusUpdateRecord struct { Type *StatusUpdateRecord_Type `protobuf:"varint,1,req,name=type,enum=mesosproto.StatusUpdateRecord_Type" json:"type,omitempty"` // Required if type == UPDATE. Update *StatusUpdate `protobuf:"bytes,2,opt,name=update" json:"update,omitempty"` // Required if type == ACK. Uuid []byte `protobuf:"bytes,3,opt,name=uuid" json:"uuid,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Encapsulates how we checkpoint a `StatusUpdate` to disk.
See the StatusUpdateManager and slave/state.cpp.
func NewPopulatedStatusUpdateRecord ¶ added in v1.2.0
func NewPopulatedStatusUpdateRecord(r randyMessages, easy bool) *StatusUpdateRecord
func (*StatusUpdateRecord) Equal ¶ added in v1.2.0
func (this *StatusUpdateRecord) Equal(that interface{}) bool
func (*StatusUpdateRecord) GetType ¶
func (m *StatusUpdateRecord) GetType() StatusUpdateRecord_Type
func (*StatusUpdateRecord) GetUpdate ¶
func (m *StatusUpdateRecord) GetUpdate() *StatusUpdate
func (*StatusUpdateRecord) GetUuid ¶
func (m *StatusUpdateRecord) GetUuid() []byte
func (*StatusUpdateRecord) GoString ¶ added in v1.2.0
func (this *StatusUpdateRecord) GoString() string
func (*StatusUpdateRecord) Marshal ¶ added in v1.2.0
func (m *StatusUpdateRecord) Marshal() (data []byte, err error)
func (*StatusUpdateRecord) MarshalTo ¶ added in v1.2.0
func (m *StatusUpdateRecord) MarshalTo(data []byte) (int, error)
func (*StatusUpdateRecord) ProtoMessage ¶
func (*StatusUpdateRecord) ProtoMessage()
func (*StatusUpdateRecord) Reset ¶
func (m *StatusUpdateRecord) Reset()
func (*StatusUpdateRecord) Size ¶ added in v1.2.0
func (m *StatusUpdateRecord) Size() (n int)
func (*StatusUpdateRecord) String ¶
func (this *StatusUpdateRecord) String() string
func (*StatusUpdateRecord) Unmarshal ¶ added in v1.2.0
func (m *StatusUpdateRecord) Unmarshal(data []byte) error
func (*StatusUpdateRecord) VerboseEqual ¶ added in v1.2.0
func (this *StatusUpdateRecord) VerboseEqual(that interface{}) error
type StatusUpdateRecord_Type ¶
type StatusUpdateRecord_Type int32
const ( StatusUpdateRecord_UPDATE StatusUpdateRecord_Type = 0 StatusUpdateRecord_ACK StatusUpdateRecord_Type = 1 )
func (StatusUpdateRecord_Type) Enum ¶
func (x StatusUpdateRecord_Type) Enum() *StatusUpdateRecord_Type
func (StatusUpdateRecord_Type) String ¶
func (x StatusUpdateRecord_Type) String() string
func (*StatusUpdateRecord_Type) UnmarshalJSON ¶
func (x *StatusUpdateRecord_Type) UnmarshalJSON(data []byte) error
type SubmitSchedulerRequest ¶
type SubmitSchedulerRequest struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
TODO(josephw): Check if this can be removed. This appears to be for backwards compatibility with very early versions of Mesos.
func NewPopulatedSubmitSchedulerRequest ¶ added in v1.2.0
func NewPopulatedSubmitSchedulerRequest(r randyMessages, easy bool) *SubmitSchedulerRequest
func (*SubmitSchedulerRequest) Equal ¶ added in v1.2.0
func (this *SubmitSchedulerRequest) Equal(that interface{}) bool
func (*SubmitSchedulerRequest) GetName ¶
func (m *SubmitSchedulerRequest) GetName() string
func (*SubmitSchedulerRequest) GoString ¶ added in v1.2.0
func (this *SubmitSchedulerRequest) GoString() string
func (*SubmitSchedulerRequest) Marshal ¶ added in v1.2.0
func (m *SubmitSchedulerRequest) Marshal() (data []byte, err error)
func (*SubmitSchedulerRequest) MarshalTo ¶ added in v1.2.0
func (m *SubmitSchedulerRequest) MarshalTo(data []byte) (int, error)
func (*SubmitSchedulerRequest) ProtoMessage ¶
func (*SubmitSchedulerRequest) ProtoMessage()
func (*SubmitSchedulerRequest) Reset ¶
func (m *SubmitSchedulerRequest) Reset()
func (*SubmitSchedulerRequest) Size ¶ added in v1.2.0
func (m *SubmitSchedulerRequest) Size() (n int)
func (*SubmitSchedulerRequest) String ¶
func (this *SubmitSchedulerRequest) String() string
func (*SubmitSchedulerRequest) Unmarshal ¶ added in v1.2.0
func (m *SubmitSchedulerRequest) Unmarshal(data []byte) error
func (*SubmitSchedulerRequest) VerboseEqual ¶ added in v1.2.0
func (this *SubmitSchedulerRequest) VerboseEqual(that interface{}) error
type SubmitSchedulerResponse ¶
type SubmitSchedulerResponse struct { Okay *bool `protobuf:"varint,1,req,name=okay" json:"okay,omitempty"` XXX_unrecognized []byte `json:"-"` }
TODO(josephw): Remove for the same reason as `SubmitSchedulerRequest`.
func NewPopulatedSubmitSchedulerResponse ¶ added in v1.2.0
func NewPopulatedSubmitSchedulerResponse(r randyMessages, easy bool) *SubmitSchedulerResponse
func (*SubmitSchedulerResponse) Equal ¶ added in v1.2.0
func (this *SubmitSchedulerResponse) Equal(that interface{}) bool
func (*SubmitSchedulerResponse) GetOkay ¶
func (m *SubmitSchedulerResponse) GetOkay() bool
func (*SubmitSchedulerResponse) GoString ¶ added in v1.2.0
func (this *SubmitSchedulerResponse) GoString() string
func (*SubmitSchedulerResponse) Marshal ¶ added in v1.2.0
func (m *SubmitSchedulerResponse) Marshal() (data []byte, err error)
func (*SubmitSchedulerResponse) MarshalTo ¶ added in v1.2.0
func (m *SubmitSchedulerResponse) MarshalTo(data []byte) (int, error)
func (*SubmitSchedulerResponse) ProtoMessage ¶
func (*SubmitSchedulerResponse) ProtoMessage()
func (*SubmitSchedulerResponse) Reset ¶
func (m *SubmitSchedulerResponse) Reset()
func (*SubmitSchedulerResponse) Size ¶ added in v1.2.0
func (m *SubmitSchedulerResponse) Size() (n int)
func (*SubmitSchedulerResponse) String ¶
func (this *SubmitSchedulerResponse) String() string
func (*SubmitSchedulerResponse) Unmarshal ¶ added in v1.2.0
func (m *SubmitSchedulerResponse) Unmarshal(data []byte) error
func (*SubmitSchedulerResponse) VerboseEqual ¶ added in v1.2.0
func (this *SubmitSchedulerResponse) VerboseEqual(that interface{}) error
type Task ¶
type Task struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` TaskId *TaskID `protobuf:"bytes,2,req,name=task_id" json:"task_id,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,3,req,name=framework_id" json:"framework_id,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,4,opt,name=executor_id" json:"executor_id,omitempty"` SlaveId *SlaveID `protobuf:"bytes,5,req,name=slave_id" json:"slave_id,omitempty"` State *TaskState `protobuf:"varint,6,req,name=state,enum=mesosproto.TaskState" json:"state,omitempty"` Resources []*Resource `protobuf:"bytes,7,rep,name=resources" json:"resources,omitempty"` Statuses []*TaskStatus `protobuf:"bytes,8,rep,name=statuses" json:"statuses,omitempty"` // 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 `protobuf:"varint,9,opt,name=status_update_state,enum=mesosproto.TaskState" json:"status_update_state,omitempty"` StatusUpdateUuid []byte `protobuf:"bytes,10,opt,name=status_update_uuid" 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"` XXX_unrecognized []byte `json:"-"` }
* Describes a task, similar to `TaskInfo`.
`Task` is used in some of the Mesos messages found below. `Task` is used instead of `TaskInfo` if:
- we need additional IDs, such as a specific framework, executor, or agent; or
- we do not need the additional data, such as the command run by the task, the specific containerization, or health checks. These additional fields may be large and unnecessary for some Mesos messages.
`Task` is generally constructed from a `TaskInfo`. See protobuf::createTask.
func NewPopulatedTask ¶ added in v1.2.0
func (*Task) GetDiscovery ¶ added in v1.1.0
func (m *Task) GetDiscovery() *DiscoveryInfo
func (*Task) GetExecutorId ¶
func (m *Task) GetExecutorId() *ExecutorID
func (*Task) GetFrameworkId ¶
func (m *Task) GetFrameworkId() *FrameworkID
func (*Task) GetResources ¶
func (*Task) GetSlaveId ¶
func (*Task) GetStatusUpdateState ¶
func (*Task) GetStatusUpdateUuid ¶
func (*Task) GetStatuses ¶
func (m *Task) GetStatuses() []*TaskStatus
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) VerboseEqual ¶ added in v1.2.0
type TaskHealthStatus ¶
type TaskHealthStatus struct { TaskId *TaskID `protobuf:"bytes,1,req,name=task_id" json:"task_id,omitempty"` Healthy *bool `protobuf:"varint,2,req,name=healthy" json:"healthy,omitempty"` // Flag to initiate task kill. KillTask *bool `protobuf:"varint,3,opt,name=kill_task,def=0" json:"kill_task,omitempty"` // Number of consecutive counts in current status. // This will not be populated if task is healthy. ConsecutiveFailures *int32 `protobuf:"varint,4,opt,name=consecutive_failures" json:"consecutive_failures,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Message describing task current health status that is sent by the task health checker to the command executor. The command executor reports the task status back to the on each receive. If the health checker configured failure condition meets, then `kill_task` flag will be set to true which the executor on message receive will kill the task.
func NewPopulatedTaskHealthStatus ¶ added in v1.2.0
func NewPopulatedTaskHealthStatus(r randyMessages, easy bool) *TaskHealthStatus
func (*TaskHealthStatus) Equal ¶ added in v1.2.0
func (this *TaskHealthStatus) Equal(that interface{}) bool
func (*TaskHealthStatus) GetConsecutiveFailures ¶
func (m *TaskHealthStatus) GetConsecutiveFailures() int32
func (*TaskHealthStatus) GetHealthy ¶
func (m *TaskHealthStatus) GetHealthy() bool
func (*TaskHealthStatus) GetKillTask ¶
func (m *TaskHealthStatus) GetKillTask() bool
func (*TaskHealthStatus) GetTaskId ¶
func (m *TaskHealthStatus) GetTaskId() *TaskID
func (*TaskHealthStatus) GoString ¶ added in v1.2.0
func (this *TaskHealthStatus) GoString() string
func (*TaskHealthStatus) Marshal ¶ added in v1.2.0
func (m *TaskHealthStatus) Marshal() (data []byte, err error)
func (*TaskHealthStatus) MarshalTo ¶ added in v1.2.0
func (m *TaskHealthStatus) MarshalTo(data []byte) (int, error)
func (*TaskHealthStatus) ProtoMessage ¶
func (*TaskHealthStatus) ProtoMessage()
func (*TaskHealthStatus) Reset ¶
func (m *TaskHealthStatus) Reset()
func (*TaskHealthStatus) Size ¶ added in v1.2.0
func (m *TaskHealthStatus) Size() (n int)
func (*TaskHealthStatus) String ¶
func (this *TaskHealthStatus) String() string
func (*TaskHealthStatus) Unmarshal ¶ added in v1.2.0
func (m *TaskHealthStatus) Unmarshal(data []byte) error
func (*TaskHealthStatus) VerboseEqual ¶ added in v1.2.0
func (this *TaskHealthStatus) VerboseEqual(that interface{}) error
type TaskID ¶
type TaskID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
* A framework generated ID to distinguish a task. The ID must remain unique while the task is active. However, a framework can reuse an ID _only_ if a previous task with the same ID has reached a terminal state (e.g., TASK_FINISHED, TASK_LOST, TASK_KILLED, etc.).
func NewPopulatedTaskID ¶
func (*TaskID) ProtoMessage ¶
func (*TaskID) ProtoMessage()
func (*TaskID) VerboseEqual ¶
type TaskInfo ¶
type TaskInfo struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` TaskId *TaskID `protobuf:"bytes,2,req,name=task_id" json:"task_id,omitempty"` SlaveId *SlaveID `protobuf:"bytes,3,req,name=slave_id" json:"slave_id,omitempty"` Resources []*Resource `protobuf:"bytes,4,rep,name=resources" json:"resources,omitempty"` 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"` Data []byte `protobuf:"bytes,6,opt,name=data" json:"data,omitempty"` // A health check for the task (currently in *alpha* and initial // support will only be for TaskInfo's that have a CommandInfo). HealthCheck *HealthCheck `protobuf:"bytes,8,opt,name=health_check" json:"health_check,omitempty"` // Labels are free-form key value pairs which are exposed through // master and slave 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 slave processes. Therefore, // labels should be used to tag tasks with light-weight meta-data. 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"` XXX_unrecognized []byte `json:"-"` }
* 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 (*TaskInfo) GetCommand ¶
func (m *TaskInfo) GetCommand() *CommandInfo
func (*TaskInfo) GetContainer ¶
func (m *TaskInfo) GetContainer() *ContainerInfo
func (*TaskInfo) GetDiscovery ¶ added in v1.1.0
func (m *TaskInfo) GetDiscovery() *DiscoveryInfo
func (*TaskInfo) GetExecutor ¶
func (m *TaskInfo) GetExecutor() *ExecutorInfo
func (*TaskInfo) GetHealthCheck ¶
func (m *TaskInfo) GetHealthCheck() *HealthCheck
func (*TaskInfo) GetResources ¶
func (*TaskInfo) GetSlaveId ¶
func (*TaskInfo) ProtoMessage ¶
func (*TaskInfo) ProtoMessage()
func (*TaskInfo) VerboseEqual ¶
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 ( TaskState_TASK_STAGING TaskState = 6 TaskState_TASK_STARTING TaskState = 0 TaskState_TASK_RUNNING TaskState = 1 TaskState_TASK_FINISHED TaskState = 2 TaskState_TASK_FAILED TaskState = 3 TaskState_TASK_KILLED TaskState = 4 TaskState_TASK_LOST TaskState = 5 TaskState_TASK_ERROR TaskState = 7 )
func (*TaskState) UnmarshalJSON ¶
type TaskStatus ¶
type TaskStatus struct { TaskId *TaskID `protobuf:"bytes,1,req,name=task_id" json:"task_id,omitempty"` State *TaskState `protobuf:"varint,2,req,name=state,enum=mesosproto.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=mesosproto.TaskStatus_Source" json:"source,omitempty"` Reason *TaskStatus_Reason `protobuf:"varint,10,opt,name=reason,enum=mesosproto.TaskStatus_Reason" json:"reason,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"` SlaveId *SlaveID `protobuf:"bytes,5,opt,name=slave_id" json:"slave_id,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,7,opt,name=executor_id" 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 HealthCheck field in // the command info. Healthy *bool `protobuf:"varint,8,opt,name=healthy" json:"healthy,omitempty"` // Labels are free-form key value pairs which are exposed through // master and slave 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 slave processes. Therefore, // labels should be used to tag TaskStatus message with light-weight // meta-data. 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:"container_status,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Describes the current status of a task.
func NewPopulatedTaskStatus ¶
func NewPopulatedTaskStatus(r randyMesos, easy bool) *TaskStatus
func (*TaskStatus) Equal ¶
func (this *TaskStatus) Equal(that interface{}) bool
func (*TaskStatus) GetContainerStatus ¶ added in v1.2.0
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 ¶ added in v1.2.0
func (m *TaskStatus) GetLabels() *Labels
func (*TaskStatus) GetMessage ¶
func (m *TaskStatus) GetMessage() string
func (*TaskStatus) GetReason ¶
func (m *TaskStatus) GetReason() TaskStatus_Reason
func (*TaskStatus) GetSlaveId ¶
func (m *TaskStatus) GetSlaveId() *SlaveID
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 ¶ added in v1.1.0
func (m *TaskStatus) GetUuid() []byte
func (*TaskStatus) GoString ¶
func (this *TaskStatus) GoString() string
func (*TaskStatus) Marshal ¶
func (m *TaskStatus) Marshal() (data []byte, err error)
func (*TaskStatus) ProtoMessage ¶
func (*TaskStatus) ProtoMessage()
func (*TaskStatus) Reset ¶
func (m *TaskStatus) Reset()
func (*TaskStatus) Size ¶
func (m *TaskStatus) Size() (n int)
func (*TaskStatus) String ¶
func (this *TaskStatus) String() string
func (*TaskStatus) Unmarshal ¶
func (m *TaskStatus) Unmarshal(data []byte) 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.
TODO(bmahler): Differentiate between slave removal reasons (e.g. unhealthy vs. unregistered for maintenance).
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. TaskStatus_REASON_COMMAND_EXECUTOR_FAILED TaskStatus_Reason = 0 TaskStatus_REASON_CONTAINER_LAUNCH_FAILED TaskStatus_Reason = 21 TaskStatus_REASON_CONTAINER_LIMITATION TaskStatus_Reason = 19 TaskStatus_REASON_CONTAINER_LIMITATION_DISK TaskStatus_Reason = 20 TaskStatus_REASON_CONTAINER_LIMITATION_MEMORY TaskStatus_Reason = 8 TaskStatus_REASON_CONTAINER_PREEMPTED TaskStatus_Reason = 17 TaskStatus_REASON_CONTAINER_UPDATE_FAILED TaskStatus_Reason = 22 TaskStatus_REASON_EXECUTOR_REGISTRATION_TIMEOUT TaskStatus_Reason = 23 TaskStatus_REASON_EXECUTOR_REREGISTRATION_TIMEOUT TaskStatus_Reason = 24 TaskStatus_REASON_EXECUTOR_TERMINATED TaskStatus_Reason = 1 TaskStatus_REASON_EXECUTOR_UNREGISTERED TaskStatus_Reason = 2 TaskStatus_REASON_FRAMEWORK_REMOVED TaskStatus_Reason = 3 TaskStatus_REASON_GC_ERROR TaskStatus_Reason = 4 TaskStatus_REASON_INVALID_FRAMEWORKID TaskStatus_Reason = 5 TaskStatus_REASON_INVALID_OFFERS TaskStatus_Reason = 6 TaskStatus_REASON_MASTER_DISCONNECTED TaskStatus_Reason = 7 TaskStatus_REASON_RECONCILIATION TaskStatus_Reason = 9 TaskStatus_REASON_RESOURCES_UNKNOWN TaskStatus_Reason = 18 TaskStatus_REASON_SLAVE_DISCONNECTED TaskStatus_Reason = 10 TaskStatus_REASON_SLAVE_REMOVED TaskStatus_Reason = 11 TaskStatus_REASON_SLAVE_RESTARTED TaskStatus_Reason = 12 TaskStatus_REASON_SLAVE_UNKNOWN TaskStatus_Reason = 13 TaskStatus_REASON_TASK_INVALID TaskStatus_Reason = 14 TaskStatus_REASON_TASK_UNAUTHORIZED TaskStatus_Reason = 15 TaskStatus_REASON_TASK_UNKNOWN TaskStatus_Reason = 16 )
func (TaskStatus_Reason) Enum ¶
func (x TaskStatus_Reason) Enum() *TaskStatus_Reason
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 ( TaskStatus_SOURCE_MASTER TaskStatus_Source = 0 TaskStatus_SOURCE_SLAVE TaskStatus_Source = 1 TaskStatus_SOURCE_EXECUTOR TaskStatus_Source = 2 )
func (TaskStatus_Source) Enum ¶
func (x TaskStatus_Source) Enum() *TaskStatus_Source
func (TaskStatus_Source) String ¶
func (x TaskStatus_Source) String() string
func (*TaskStatus_Source) UnmarshalJSON ¶
func (x *TaskStatus_Source) UnmarshalJSON(data []byte) error
type TimeInfo ¶ added in v1.2.0
type TimeInfo struct { Nanoseconds *int64 `protobuf:"varint,1,req,name=nanoseconds" json:"nanoseconds,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Represents time since the epoch, in nanoseconds.
func NewPopulatedTimeInfo ¶ added in v1.2.0
func (*TimeInfo) GetNanoseconds ¶ added in v1.2.0
func (*TimeInfo) ProtoMessage ¶ added in v1.2.0
func (*TimeInfo) ProtoMessage()
func (*TimeInfo) VerboseEqual ¶ added in v1.2.0
type TrafficControlStatistics ¶ added in v1.1.0
type TrafficControlStatistics struct { Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` 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"` XXX_unrecognized []byte `json:"-"` }
* 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 ¶ added in v1.1.0
func NewPopulatedTrafficControlStatistics(r randyMesos, easy bool) *TrafficControlStatistics
func (*TrafficControlStatistics) Equal ¶ added in v1.1.0
func (this *TrafficControlStatistics) Equal(that interface{}) bool
func (*TrafficControlStatistics) GetBacklog ¶ added in v1.1.0
func (m *TrafficControlStatistics) GetBacklog() uint64
func (*TrafficControlStatistics) GetBytes ¶ added in v1.1.0
func (m *TrafficControlStatistics) GetBytes() uint64
func (*TrafficControlStatistics) GetDrops ¶ added in v1.1.0
func (m *TrafficControlStatistics) GetDrops() uint64
func (*TrafficControlStatistics) GetId ¶ added in v1.1.0
func (m *TrafficControlStatistics) GetId() string
func (*TrafficControlStatistics) GetOverlimits ¶ added in v1.1.0
func (m *TrafficControlStatistics) GetOverlimits() uint64
func (*TrafficControlStatistics) GetPackets ¶ added in v1.1.0
func (m *TrafficControlStatistics) GetPackets() uint64
func (*TrafficControlStatistics) GetQlen ¶ added in v1.1.0
func (m *TrafficControlStatistics) GetQlen() uint64
func (*TrafficControlStatistics) GetRatebps ¶ added in v1.1.0
func (m *TrafficControlStatistics) GetRatebps() uint64
func (*TrafficControlStatistics) GetRatepps ¶ added in v1.1.0
func (m *TrafficControlStatistics) GetRatepps() uint64
func (*TrafficControlStatistics) GetRequeues ¶ added in v1.1.0
func (m *TrafficControlStatistics) GetRequeues() uint64
func (*TrafficControlStatistics) GoString ¶ added in v1.1.0
func (this *TrafficControlStatistics) GoString() string
func (*TrafficControlStatistics) Marshal ¶ added in v1.1.0
func (m *TrafficControlStatistics) Marshal() (data []byte, err error)
func (*TrafficControlStatistics) MarshalTo ¶ added in v1.1.0
func (m *TrafficControlStatistics) MarshalTo(data []byte) (int, error)
func (*TrafficControlStatistics) ProtoMessage ¶ added in v1.1.0
func (*TrafficControlStatistics) ProtoMessage()
func (*TrafficControlStatistics) Reset ¶ added in v1.1.0
func (m *TrafficControlStatistics) Reset()
func (*TrafficControlStatistics) Size ¶ added in v1.1.0
func (m *TrafficControlStatistics) Size() (n int)
func (*TrafficControlStatistics) String ¶ added in v1.1.0
func (this *TrafficControlStatistics) String() string
func (*TrafficControlStatistics) Unmarshal ¶ added in v1.1.0
func (m *TrafficControlStatistics) Unmarshal(data []byte) error
func (*TrafficControlStatistics) VerboseEqual ¶ added in v1.1.0
func (this *TrafficControlStatistics) VerboseEqual(that interface{}) error
type URL ¶ added in v1.2.0
type URL struct { Scheme *string `protobuf:"bytes,1,req,name=scheme" json:"scheme,omitempty"` Address *Address `protobuf:"bytes,2,req,name=address" json:"address,omitempty"` Path *string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` Query []*Parameter `protobuf:"bytes,4,rep,name=query" json:"query,omitempty"` Fragment *string `protobuf:"bytes,5,opt,name=fragment" json:"fragment,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Represents a URL.
func NewPopulatedURL ¶ added in v1.2.0
func (*URL) GetAddress ¶ added in v1.2.0
func (*URL) GetFragment ¶ added in v1.2.0
func (*URL) ProtoMessage ¶ added in v1.2.0
func (*URL) ProtoMessage()
func (*URL) VerboseEqual ¶ added in v1.2.0
type Unavailability ¶ added in v1.2.0
type Unavailability struct { // When added to `start`, this represents the end of the interval. // If unspecified, the duration is assumed to be infinite. }
* 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 ¶ added in v1.2.0
func NewPopulatedUnavailability(r randyMesos, easy bool) *Unavailability
func (*Unavailability) Equal ¶ added in v1.2.0
func (this *Unavailability) Equal(that interface{}) bool
func (*Unavailability) GetDuration ¶ added in v1.2.0
func (m *Unavailability) GetDuration() *DurationInfo
func (*Unavailability) GetStart ¶ added in v1.2.0
func (m *Unavailability) GetStart() *TimeInfo
func (*Unavailability) GoString ¶ added in v1.2.0
func (this *Unavailability) GoString() string
func (*Unavailability) Marshal ¶ added in v1.2.0
func (m *Unavailability) Marshal() (data []byte, err error)
func (*Unavailability) MarshalTo ¶ added in v1.2.0
func (m *Unavailability) MarshalTo(data []byte) (int, error)
func (*Unavailability) ProtoMessage ¶ added in v1.2.0
func (*Unavailability) ProtoMessage()
func (*Unavailability) Reset ¶ added in v1.2.0
func (m *Unavailability) Reset()
func (*Unavailability) Size ¶ added in v1.2.0
func (m *Unavailability) Size() (n int)
func (*Unavailability) String ¶ added in v1.2.0
func (this *Unavailability) String() string
func (*Unavailability) Unmarshal ¶ added in v1.2.0
func (m *Unavailability) Unmarshal(data []byte) error
func (*Unavailability) VerboseEqual ¶ added in v1.2.0
func (this *Unavailability) VerboseEqual(that interface{}) error
type UnregisterFrameworkMessage ¶
type UnregisterFrameworkMessage struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Stops the framework and shuts down all its tasks and executors.
Used by the pre-Event/Call Mesos scheduler driver. See scheduler::Call::Teardown.
func NewPopulatedUnregisterFrameworkMessage ¶ added in v1.2.0
func NewPopulatedUnregisterFrameworkMessage(r randyMessages, easy bool) *UnregisterFrameworkMessage
func (*UnregisterFrameworkMessage) Equal ¶ added in v1.2.0
func (this *UnregisterFrameworkMessage) Equal(that interface{}) bool
func (*UnregisterFrameworkMessage) GetFrameworkId ¶
func (m *UnregisterFrameworkMessage) GetFrameworkId() *FrameworkID
func (*UnregisterFrameworkMessage) GoString ¶ added in v1.2.0
func (this *UnregisterFrameworkMessage) GoString() string
func (*UnregisterFrameworkMessage) Marshal ¶ added in v1.2.0
func (m *UnregisterFrameworkMessage) Marshal() (data []byte, err error)
func (*UnregisterFrameworkMessage) MarshalTo ¶ added in v1.2.0
func (m *UnregisterFrameworkMessage) MarshalTo(data []byte) (int, error)
func (*UnregisterFrameworkMessage) ProtoMessage ¶
func (*UnregisterFrameworkMessage) ProtoMessage()
func (*UnregisterFrameworkMessage) Reset ¶
func (m *UnregisterFrameworkMessage) Reset()
func (*UnregisterFrameworkMessage) Size ¶ added in v1.2.0
func (m *UnregisterFrameworkMessage) Size() (n int)
func (*UnregisterFrameworkMessage) String ¶
func (this *UnregisterFrameworkMessage) String() string
func (*UnregisterFrameworkMessage) Unmarshal ¶ added in v1.2.0
func (m *UnregisterFrameworkMessage) Unmarshal(data []byte) error
func (*UnregisterFrameworkMessage) VerboseEqual ¶ added in v1.2.0
func (this *UnregisterFrameworkMessage) VerboseEqual(that interface{}) error
type UnregisterSlaveMessage ¶
type UnregisterSlaveMessage struct { SlaveId *SlaveID `protobuf:"bytes,1,req,name=slave_id" json:"slave_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* This message is sent by the agent to the master during agent shutdown. The master updates its state to reflect the removed agent.
func NewPopulatedUnregisterSlaveMessage ¶ added in v1.2.0
func NewPopulatedUnregisterSlaveMessage(r randyMessages, easy bool) *UnregisterSlaveMessage
func (*UnregisterSlaveMessage) Equal ¶ added in v1.2.0
func (this *UnregisterSlaveMessage) Equal(that interface{}) bool
func (*UnregisterSlaveMessage) GetSlaveId ¶
func (m *UnregisterSlaveMessage) GetSlaveId() *SlaveID
func (*UnregisterSlaveMessage) GoString ¶ added in v1.2.0
func (this *UnregisterSlaveMessage) GoString() string
func (*UnregisterSlaveMessage) Marshal ¶ added in v1.2.0
func (m *UnregisterSlaveMessage) Marshal() (data []byte, err error)
func (*UnregisterSlaveMessage) MarshalTo ¶ added in v1.2.0
func (m *UnregisterSlaveMessage) MarshalTo(data []byte) (int, error)
func (*UnregisterSlaveMessage) ProtoMessage ¶
func (*UnregisterSlaveMessage) ProtoMessage()
func (*UnregisterSlaveMessage) Reset ¶
func (m *UnregisterSlaveMessage) Reset()
func (*UnregisterSlaveMessage) Size ¶ added in v1.2.0
func (m *UnregisterSlaveMessage) Size() (n int)
func (*UnregisterSlaveMessage) String ¶
func (this *UnregisterSlaveMessage) String() string
func (*UnregisterSlaveMessage) Unmarshal ¶ added in v1.2.0
func (m *UnregisterSlaveMessage) Unmarshal(data []byte) error
func (*UnregisterSlaveMessage) VerboseEqual ¶ added in v1.2.0
func (this *UnregisterSlaveMessage) VerboseEqual(that interface{}) error
type UpdateFrameworkMessage ¶
type UpdateFrameworkMessage struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id" json:"framework_id,omitempty"` // See the comment on RunTaskMessage.pid. Pid *string `protobuf:"bytes,2,opt,name=pid" json:"pid,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Broadcasts updated framework information from master to all agents.
func NewPopulatedUpdateFrameworkMessage ¶ added in v1.2.0
func NewPopulatedUpdateFrameworkMessage(r randyMessages, easy bool) *UpdateFrameworkMessage
func (*UpdateFrameworkMessage) Equal ¶ added in v1.2.0
func (this *UpdateFrameworkMessage) Equal(that interface{}) bool
func (*UpdateFrameworkMessage) GetFrameworkId ¶
func (m *UpdateFrameworkMessage) GetFrameworkId() *FrameworkID
func (*UpdateFrameworkMessage) GetPid ¶
func (m *UpdateFrameworkMessage) GetPid() string
func (*UpdateFrameworkMessage) GoString ¶ added in v1.2.0
func (this *UpdateFrameworkMessage) GoString() string
func (*UpdateFrameworkMessage) Marshal ¶ added in v1.2.0
func (m *UpdateFrameworkMessage) Marshal() (data []byte, err error)
func (*UpdateFrameworkMessage) MarshalTo ¶ added in v1.2.0
func (m *UpdateFrameworkMessage) MarshalTo(data []byte) (int, error)
func (*UpdateFrameworkMessage) ProtoMessage ¶
func (*UpdateFrameworkMessage) ProtoMessage()
func (*UpdateFrameworkMessage) Reset ¶
func (m *UpdateFrameworkMessage) Reset()
func (*UpdateFrameworkMessage) Size ¶ added in v1.2.0
func (m *UpdateFrameworkMessage) Size() (n int)
func (*UpdateFrameworkMessage) String ¶
func (this *UpdateFrameworkMessage) String() string
func (*UpdateFrameworkMessage) Unmarshal ¶ added in v1.2.0
func (m *UpdateFrameworkMessage) Unmarshal(data []byte) error
func (*UpdateFrameworkMessage) VerboseEqual ¶ added in v1.2.0
func (this *UpdateFrameworkMessage) VerboseEqual(that interface{}) error
type UpdateSlaveMessage ¶ added in v1.1.0
type UpdateSlaveMessage struct { SlaveId *SlaveID `protobuf:"bytes,1,req,name=slave_id" json:"slave_id,omitempty"` OversubscribedResources []*Resource `protobuf:"bytes,2,rep,name=oversubscribed_resources" json:"oversubscribed_resources,omitempty"` XXX_unrecognized []byte `json:"-"` }
* This message is sent by the agent to the master to inform the master about the total amount of oversubscribed (allocated and allocatable) resources.
func NewPopulatedUpdateSlaveMessage ¶ added in v1.2.0
func NewPopulatedUpdateSlaveMessage(r randyMessages, easy bool) *UpdateSlaveMessage
func (*UpdateSlaveMessage) Equal ¶ added in v1.2.0
func (this *UpdateSlaveMessage) Equal(that interface{}) bool
func (*UpdateSlaveMessage) GetOversubscribedResources ¶ added in v1.1.0
func (m *UpdateSlaveMessage) GetOversubscribedResources() []*Resource
func (*UpdateSlaveMessage) GetSlaveId ¶ added in v1.1.0
func (m *UpdateSlaveMessage) GetSlaveId() *SlaveID
func (*UpdateSlaveMessage) GoString ¶ added in v1.2.0
func (this *UpdateSlaveMessage) GoString() string
func (*UpdateSlaveMessage) Marshal ¶ added in v1.2.0
func (m *UpdateSlaveMessage) Marshal() (data []byte, err error)
func (*UpdateSlaveMessage) MarshalTo ¶ added in v1.2.0
func (m *UpdateSlaveMessage) MarshalTo(data []byte) (int, error)
func (*UpdateSlaveMessage) ProtoMessage ¶ added in v1.1.0
func (*UpdateSlaveMessage) ProtoMessage()
func (*UpdateSlaveMessage) Reset ¶ added in v1.1.0
func (m *UpdateSlaveMessage) Reset()
func (*UpdateSlaveMessage) Size ¶ added in v1.2.0
func (m *UpdateSlaveMessage) Size() (n int)
func (*UpdateSlaveMessage) String ¶ added in v1.1.0
func (this *UpdateSlaveMessage) String() string
func (*UpdateSlaveMessage) Unmarshal ¶ added in v1.2.0
func (m *UpdateSlaveMessage) Unmarshal(data []byte) error
func (*UpdateSlaveMessage) VerboseEqual ¶ added in v1.2.0
func (this *UpdateSlaveMessage) VerboseEqual(that interface{}) error
type Value ¶
type Value struct { Type *Value_Type `protobuf:"varint,1,req,name=type,enum=mesosproto.Value_Type" json:"type,omitempty"` 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"` XXX_unrecognized []byte `json:"-"` }
* Describes an Attribute or Resource "value". A value is described using the standard protocol buffer "union" trick.
func NewPopulatedValue ¶
func (*Value) GetRanges ¶
func (m *Value) GetRanges() *Value_Ranges
func (*Value) GetScalar ¶
func (m *Value) GetScalar() *Value_Scalar
func (*Value) GetText ¶
func (m *Value) GetText() *Value_Text
func (*Value) GetType ¶
func (m *Value) GetType() Value_Type
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) VerboseEqual ¶
type Value_Range ¶
type Value_Range struct { Begin *uint64 `protobuf:"varint,1,req,name=begin" json:"begin,omitempty"` End *uint64 `protobuf:"varint,2,req,name=end" json:"end,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedValue_Range ¶
func NewPopulatedValue_Range(r randyMesos, easy bool) *Value_Range
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) ProtoMessage ¶
func (*Value_Range) ProtoMessage()
func (*Value_Range) Reset ¶
func (m *Value_Range) Reset()
func (*Value_Range) Size ¶
func (m *Value_Range) Size() (n int)
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) 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,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedValue_Ranges ¶
func NewPopulatedValue_Ranges(r randyMesos, easy bool) *Value_Ranges
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) ProtoMessage ¶
func (*Value_Ranges) ProtoMessage()
func (*Value_Ranges) Reset ¶
func (m *Value_Ranges) Reset()
func (*Value_Ranges) Size ¶
func (m *Value_Ranges) Size() (n int)
func (*Value_Ranges) String ¶
func (this *Value_Ranges) String() string
func (*Value_Ranges) Unmarshal ¶
func (m *Value_Ranges) Unmarshal(data []byte) error
func (*Value_Ranges) VerboseEqual ¶
func (this *Value_Ranges) VerboseEqual(that interface{}) error
type Value_Scalar ¶
type Value_Scalar struct { Value *float64 `protobuf:"fixed64,1,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedValue_Scalar ¶
func NewPopulatedValue_Scalar(r randyMesos, easy bool) *Value_Scalar
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) ProtoMessage ¶
func (*Value_Scalar) ProtoMessage()
func (*Value_Scalar) Reset ¶
func (m *Value_Scalar) Reset()
func (*Value_Scalar) Size ¶
func (m *Value_Scalar) Size() (n int)
func (*Value_Scalar) String ¶
func (this *Value_Scalar) String() string
func (*Value_Scalar) Unmarshal ¶
func (m *Value_Scalar) Unmarshal(data []byte) 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"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedValue_Set ¶
func (*Value_Set) ProtoMessage ¶
func (*Value_Set) ProtoMessage()
func (*Value_Set) VerboseEqual ¶
type Value_Text ¶
type Value_Text struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedValue_Text ¶
func NewPopulatedValue_Text(r randyMesos, easy bool) *Value_Text
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) ProtoMessage ¶
func (*Value_Text) ProtoMessage()
func (*Value_Text) Reset ¶
func (m *Value_Text) Reset()
func (*Value_Text) Size ¶
func (m *Value_Text) Size() (n int)
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) VerboseEqual ¶
func (this *Value_Text) VerboseEqual(that interface{}) error
type Value_Type ¶
type Value_Type int32
const ( Value_SCALAR Value_Type = 0 Value_RANGES Value_Type = 1 Value_SET Value_Type = 2 Value_TEXT Value_Type = 3 )
func (Value_Type) Enum ¶
func (x Value_Type) Enum() *Value_Type
func (Value_Type) String ¶
func (x Value_Type) String() string
func (*Value_Type) UnmarshalJSON ¶
func (x *Value_Type) UnmarshalJSON(data []byte) error
type Volume ¶
type Volume struct { Mode *Volume_Mode `protobuf:"varint,3,req,name=mode,enum=mesosproto.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:"container_path,omitempty"` // 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:"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"` XXX_unrecognized []byte `json:"-"` }
* 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 (*Volume) GetContainerPath ¶
func (*Volume) GetHostPath ¶
func (*Volume) GetMode ¶
func (m *Volume) GetMode() Volume_Mode
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) VerboseEqual ¶
type Volume_Mode ¶
type Volume_Mode int32
const ( Volume_RW Volume_Mode = 1 Volume_RO Volume_Mode = 2 )
func (Volume_Mode) Enum ¶
func (x Volume_Mode) Enum() *Volume_Mode
func (Volume_Mode) String ¶
func (x Volume_Mode) String() string
func (*Volume_Mode) UnmarshalJSON ¶
func (x *Volume_Mode) UnmarshalJSON(data []byte) error