Documentation ¶
Index ¶
- Constants
- Variables
- type APIResult
- func (*APIResult) Descriptor() ([]byte, []int)deprecated
- func (x *APIResult) GetError() string
- func (x *APIResult) GetResponse() *Response
- func (x *APIResult) GetStatusCode() uint32
- func (*APIResult) ProtoMessage()
- func (x *APIResult) ProtoReflect() protoreflect.Message
- func (x *APIResult) Reset()
- func (x *APIResult) String() string
- type Address
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetHostname() string
- func (x *Address) GetIp() string
- func (x *Address) GetPort() int32
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- type AgentID
- type AgentInfo
- func (*AgentInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AgentInfo) GetAttributes() []*Attribute
- func (x *AgentInfo) GetDomain() *DomainInfo
- func (x *AgentInfo) GetHostname() string
- func (x *AgentInfo) GetId() *AgentID
- func (x *AgentInfo) GetPort() int32
- func (x *AgentInfo) GetResources() []*Resource
- func (*AgentInfo) ProtoMessage()
- func (x *AgentInfo) ProtoReflect() protoreflect.Message
- func (x *AgentInfo) Reset()
- func (x *AgentInfo) String() string
- type AgentInfo_Capability
- func (*AgentInfo_Capability) Descriptor() ([]byte, []int)deprecated
- func (x *AgentInfo_Capability) GetType() AgentInfo_Capability_Type
- func (*AgentInfo_Capability) ProtoMessage()
- func (x *AgentInfo_Capability) ProtoReflect() protoreflect.Message
- func (x *AgentInfo_Capability) Reset()
- func (x *AgentInfo_Capability) String() string
- type AgentInfo_Capability_Type
- func (AgentInfo_Capability_Type) Descriptor() protoreflect.EnumDescriptor
- func (x AgentInfo_Capability_Type) Enum() *AgentInfo_Capability_Type
- func (AgentInfo_Capability_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentInfo_Capability_Type) Number() protoreflect.EnumNumber
- func (x AgentInfo_Capability_Type) String() string
- func (AgentInfo_Capability_Type) Type() protoreflect.EnumType
- func (x *AgentInfo_Capability_Type) UnmarshalJSON(b []byte) errordeprecated
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Attribute) GetName() string
- func (x *Attribute) GetRanges() *Value_Ranges
- func (x *Attribute) GetScalar() *Value_Scalar
- func (x *Attribute) GetSet() *Value_Set
- func (x *Attribute) GetText() *Value_Text
- func (x *Attribute) GetType() Value_Type
- func (*Attribute) ProtoMessage()
- func (x *Attribute) ProtoReflect() protoreflect.Message
- func (x *Attribute) Reset()
- func (x *Attribute) String() string
- type AttributeConstraint
- func (*AttributeConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeConstraint) GetPredicate() *AttributeConstraint_Predicate
- func (x *AttributeConstraint) GetSelector() *AttributeConstraint_Selector
- func (*AttributeConstraint) ProtoMessage()
- func (x *AttributeConstraint) ProtoReflect() protoreflect.Message
- func (x *AttributeConstraint) Reset()
- func (x *AttributeConstraint) String() string
- type AttributeConstraint_Predicate
- func (*AttributeConstraint_Predicate) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeConstraint_Predicate) GetExists() *AttributeConstraint_Predicate_Exists
- func (x *AttributeConstraint_Predicate) GetNotExists() *AttributeConstraint_Predicate_NotExists
- func (m *AttributeConstraint_Predicate) GetPredicate() isAttributeConstraint_Predicate_Predicate
- func (x *AttributeConstraint_Predicate) GetTextEquals() *AttributeConstraint_Predicate_TextEquals
- func (x *AttributeConstraint_Predicate) GetTextMatches() *AttributeConstraint_Predicate_TextMatches
- func (x *AttributeConstraint_Predicate) GetTextNotEquals() *AttributeConstraint_Predicate_TextNotEquals
- func (x *AttributeConstraint_Predicate) GetTextNotMatches() *AttributeConstraint_Predicate_TextNotMatches
- func (*AttributeConstraint_Predicate) ProtoMessage()
- func (x *AttributeConstraint_Predicate) ProtoReflect() protoreflect.Message
- func (x *AttributeConstraint_Predicate) Reset()
- func (x *AttributeConstraint_Predicate) String() string
- type AttributeConstraint_Predicate_Exists
- func (*AttributeConstraint_Predicate_Exists) Descriptor() ([]byte, []int)deprecated
- func (*AttributeConstraint_Predicate_Exists) ProtoMessage()
- func (x *AttributeConstraint_Predicate_Exists) ProtoReflect() protoreflect.Message
- func (x *AttributeConstraint_Predicate_Exists) Reset()
- func (x *AttributeConstraint_Predicate_Exists) String() string
- type AttributeConstraint_Predicate_Exists_
- type AttributeConstraint_Predicate_NotExists
- func (*AttributeConstraint_Predicate_NotExists) Descriptor() ([]byte, []int)deprecated
- func (*AttributeConstraint_Predicate_NotExists) ProtoMessage()
- func (x *AttributeConstraint_Predicate_NotExists) ProtoReflect() protoreflect.Message
- func (x *AttributeConstraint_Predicate_NotExists) Reset()
- func (x *AttributeConstraint_Predicate_NotExists) String() string
- type AttributeConstraint_Predicate_NotExists_
- type AttributeConstraint_Predicate_TextEquals
- func (*AttributeConstraint_Predicate_TextEquals) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeConstraint_Predicate_TextEquals) GetValue() string
- func (*AttributeConstraint_Predicate_TextEquals) ProtoMessage()
- func (x *AttributeConstraint_Predicate_TextEquals) ProtoReflect() protoreflect.Message
- func (x *AttributeConstraint_Predicate_TextEquals) Reset()
- func (x *AttributeConstraint_Predicate_TextEquals) String() string
- type AttributeConstraint_Predicate_TextEquals_
- type AttributeConstraint_Predicate_TextMatches
- func (*AttributeConstraint_Predicate_TextMatches) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeConstraint_Predicate_TextMatches) GetRegex() string
- func (*AttributeConstraint_Predicate_TextMatches) ProtoMessage()
- func (x *AttributeConstraint_Predicate_TextMatches) ProtoReflect() protoreflect.Message
- func (x *AttributeConstraint_Predicate_TextMatches) Reset()
- func (x *AttributeConstraint_Predicate_TextMatches) String() string
- type AttributeConstraint_Predicate_TextMatches_
- type AttributeConstraint_Predicate_TextNotEquals
- func (*AttributeConstraint_Predicate_TextNotEquals) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeConstraint_Predicate_TextNotEquals) GetValue() string
- func (*AttributeConstraint_Predicate_TextNotEquals) ProtoMessage()
- func (x *AttributeConstraint_Predicate_TextNotEquals) ProtoReflect() protoreflect.Message
- func (x *AttributeConstraint_Predicate_TextNotEquals) Reset()
- func (x *AttributeConstraint_Predicate_TextNotEquals) String() string
- type AttributeConstraint_Predicate_TextNotEquals_
- type AttributeConstraint_Predicate_TextNotMatches
- func (*AttributeConstraint_Predicate_TextNotMatches) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeConstraint_Predicate_TextNotMatches) GetRegex() string
- func (*AttributeConstraint_Predicate_TextNotMatches) ProtoMessage()
- func (x *AttributeConstraint_Predicate_TextNotMatches) ProtoReflect() protoreflect.Message
- func (x *AttributeConstraint_Predicate_TextNotMatches) Reset()
- func (x *AttributeConstraint_Predicate_TextNotMatches) String() string
- type AttributeConstraint_Predicate_TextNotMatches_
- type AttributeConstraint_Selector
- func (*AttributeConstraint_Selector) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeConstraint_Selector) GetAttributeName() string
- func (x *AttributeConstraint_Selector) GetPseudoattributeType() AttributeConstraint_Selector_PseudoattributeType
- func (m *AttributeConstraint_Selector) GetSelector() isAttributeConstraint_Selector_Selector
- func (*AttributeConstraint_Selector) ProtoMessage()
- func (x *AttributeConstraint_Selector) ProtoReflect() protoreflect.Message
- func (x *AttributeConstraint_Selector) Reset()
- func (x *AttributeConstraint_Selector) String() string
- type AttributeConstraint_Selector_AttributeName
- type AttributeConstraint_Selector_PseudoattributeType
- func (AttributeConstraint_Selector_PseudoattributeType) Descriptor() protoreflect.EnumDescriptor
- func (x AttributeConstraint_Selector_PseudoattributeType) Enum() *AttributeConstraint_Selector_PseudoattributeType
- func (AttributeConstraint_Selector_PseudoattributeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AttributeConstraint_Selector_PseudoattributeType) Number() protoreflect.EnumNumber
- func (x AttributeConstraint_Selector_PseudoattributeType) String() string
- func (AttributeConstraint_Selector_PseudoattributeType) Type() protoreflect.EnumType
- func (x *AttributeConstraint_Selector_PseudoattributeType) UnmarshalJSON(b []byte) errordeprecated
- type AttributeConstraint_Selector_PseudoattributeType_
- type CSIPluginContainerInfo
- func (*CSIPluginContainerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CSIPluginContainerInfo) GetCommand() *CommandInfo
- func (x *CSIPluginContainerInfo) GetContainer() *ContainerInfo
- func (x *CSIPluginContainerInfo) GetResources() []*Resource
- func (x *CSIPluginContainerInfo) GetServices() []CSIPluginContainerInfo_Service
- func (*CSIPluginContainerInfo) ProtoMessage()
- func (x *CSIPluginContainerInfo) ProtoReflect() protoreflect.Message
- func (x *CSIPluginContainerInfo) Reset()
- func (x *CSIPluginContainerInfo) String() string
- type CSIPluginContainerInfo_Service
- func (CSIPluginContainerInfo_Service) Descriptor() protoreflect.EnumDescriptor
- func (x CSIPluginContainerInfo_Service) Enum() *CSIPluginContainerInfo_Service
- func (CSIPluginContainerInfo_Service) EnumDescriptor() ([]byte, []int)deprecated
- func (x CSIPluginContainerInfo_Service) Number() protoreflect.EnumNumber
- func (x CSIPluginContainerInfo_Service) String() string
- func (CSIPluginContainerInfo_Service) Type() protoreflect.EnumType
- func (x *CSIPluginContainerInfo_Service) UnmarshalJSON(b []byte) errordeprecated
- type CSIPluginEndpoint
- func (*CSIPluginEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *CSIPluginEndpoint) GetCsiService() CSIPluginContainerInfo_Service
- func (x *CSIPluginEndpoint) GetEndpoint() string
- func (*CSIPluginEndpoint) ProtoMessage()
- func (x *CSIPluginEndpoint) ProtoReflect() protoreflect.Message
- func (x *CSIPluginEndpoint) Reset()
- func (x *CSIPluginEndpoint) String() string
- type CSIPluginInfo
- func (*CSIPluginInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CSIPluginInfo) GetContainers() []*CSIPluginContainerInfo
- func (x *CSIPluginInfo) GetEndpoints() []*CSIPluginEndpoint
- func (x *CSIPluginInfo) GetName() string
- func (x *CSIPluginInfo) GetTargetPathExists() bool
- func (x *CSIPluginInfo) GetTargetPathRoot() string
- func (x *CSIPluginInfo) GetType() string
- func (*CSIPluginInfo) ProtoMessage()
- func (x *CSIPluginInfo) ProtoReflect() protoreflect.Message
- func (x *CSIPluginInfo) Reset()
- func (x *CSIPluginInfo) String() string
- type Call
- func (*Call) Descriptor() ([]byte, []int)deprecated
- func (x *Call) GetAccept() *Call_Accept
- func (x *Call) GetAcceptInverseOffers() *Call_AcceptInverseOffers
- func (x *Call) GetAcknowledge() *Call_Acknowledge
- func (x *Call) GetAcknowledgeOperationStatus() *Call_AcknowledgeOperationStatus
- func (x *Call) GetDecline() *Call_Decline
- func (x *Call) GetDeclineInverseOffers() *Call_DeclineInverseOffers
- func (x *Call) GetFrameworkId() *FrameworkID
- func (x *Call) GetKill() *Call_Kill
- func (x *Call) GetMessage() *Call_Message
- func (x *Call) GetReconcile() *Call_Reconcile
- func (x *Call) GetReconcileOperations() *Call_ReconcileOperations
- func (x *Call) GetRequest() *Call_Request
- func (x *Call) GetRevive() *Call_Revive
- func (x *Call) GetShutdown() *Call_Shutdown
- func (x *Call) GetSubscribe() *Call_Subscribe
- func (x *Call) GetSuppress() *Call_Suppress
- func (x *Call) GetType() Call_Type
- func (x *Call) GetUpdateFramework() *Call_UpdateFramework
- func (*Call) ProtoMessage()
- func (x *Call) ProtoReflect() protoreflect.Message
- func (x *Call) Reset()
- func (x *Call) String() string
- type Call_Accept
- func (*Call_Accept) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Accept) GetFilters() *Filters
- func (x *Call_Accept) GetOfferIds() []*OfferID
- func (x *Call_Accept) GetOperations() []*Offer_Operation
- func (*Call_Accept) ProtoMessage()
- func (x *Call_Accept) ProtoReflect() protoreflect.Message
- func (x *Call_Accept) Reset()
- func (x *Call_Accept) String() string
- type Call_AcceptInverseOffers
- func (*Call_AcceptInverseOffers) Descriptor() ([]byte, []int)deprecated
- func (x *Call_AcceptInverseOffers) GetFilters() *Filters
- func (x *Call_AcceptInverseOffers) GetInverseOfferIds() []*OfferID
- func (*Call_AcceptInverseOffers) ProtoMessage()
- func (x *Call_AcceptInverseOffers) ProtoReflect() protoreflect.Message
- func (x *Call_AcceptInverseOffers) Reset()
- func (x *Call_AcceptInverseOffers) String() string
- type Call_Acknowledge
- func (*Call_Acknowledge) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Acknowledge) GetAgentId() *AgentID
- func (x *Call_Acknowledge) GetTaskId() *TaskID
- func (x *Call_Acknowledge) GetUuid() []byte
- func (*Call_Acknowledge) ProtoMessage()
- func (x *Call_Acknowledge) ProtoReflect() protoreflect.Message
- func (x *Call_Acknowledge) Reset()
- func (x *Call_Acknowledge) String() string
- type Call_AcknowledgeOperationStatus
- func (*Call_AcknowledgeOperationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *Call_AcknowledgeOperationStatus) GetAgentId() *AgentID
- func (x *Call_AcknowledgeOperationStatus) GetOperationId() *OperationID
- func (x *Call_AcknowledgeOperationStatus) GetResourceProviderId() *ResourceProviderID
- func (x *Call_AcknowledgeOperationStatus) GetUuid() []byte
- func (*Call_AcknowledgeOperationStatus) ProtoMessage()
- func (x *Call_AcknowledgeOperationStatus) ProtoReflect() protoreflect.Message
- func (x *Call_AcknowledgeOperationStatus) Reset()
- func (x *Call_AcknowledgeOperationStatus) String() string
- type Call_Decline
- func (*Call_Decline) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Decline) GetFilters() *Filters
- func (x *Call_Decline) GetOfferIds() []*OfferID
- func (*Call_Decline) ProtoMessage()
- func (x *Call_Decline) ProtoReflect() protoreflect.Message
- func (x *Call_Decline) Reset()
- func (x *Call_Decline) String() string
- type Call_DeclineInverseOffers
- func (*Call_DeclineInverseOffers) Descriptor() ([]byte, []int)deprecated
- func (x *Call_DeclineInverseOffers) GetFilters() *Filters
- func (x *Call_DeclineInverseOffers) GetInverseOfferIds() []*OfferID
- func (*Call_DeclineInverseOffers) ProtoMessage()
- func (x *Call_DeclineInverseOffers) ProtoReflect() protoreflect.Message
- func (x *Call_DeclineInverseOffers) Reset()
- func (x *Call_DeclineInverseOffers) String() string
- type Call_Kill
- func (*Call_Kill) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Kill) GetAgentId() *AgentID
- func (x *Call_Kill) GetKillPolicy() *KillPolicy
- func (x *Call_Kill) GetTaskId() *TaskID
- func (*Call_Kill) ProtoMessage()
- func (x *Call_Kill) ProtoReflect() protoreflect.Message
- func (x *Call_Kill) Reset()
- func (x *Call_Kill) String() string
- type Call_Message
- func (*Call_Message) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Message) GetAgentId() *AgentID
- func (x *Call_Message) GetData() []byte
- func (x *Call_Message) GetExecutorId() *ExecutorID
- func (*Call_Message) ProtoMessage()
- func (x *Call_Message) ProtoReflect() protoreflect.Message
- func (x *Call_Message) Reset()
- func (x *Call_Message) String() string
- type Call_Reconcile
- type Call_ReconcileOperations
- func (*Call_ReconcileOperations) Descriptor() ([]byte, []int)deprecated
- func (x *Call_ReconcileOperations) GetOperations() []*Call_ReconcileOperations_Operation
- func (*Call_ReconcileOperations) ProtoMessage()
- func (x *Call_ReconcileOperations) ProtoReflect() protoreflect.Message
- func (x *Call_ReconcileOperations) Reset()
- func (x *Call_ReconcileOperations) String() string
- type Call_ReconcileOperations_Operation
- func (*Call_ReconcileOperations_Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Call_ReconcileOperations_Operation) GetAgentId() *AgentID
- func (x *Call_ReconcileOperations_Operation) GetOperationId() *OperationID
- func (x *Call_ReconcileOperations_Operation) GetResourceProviderId() *ResourceProviderID
- func (*Call_ReconcileOperations_Operation) ProtoMessage()
- func (x *Call_ReconcileOperations_Operation) ProtoReflect() protoreflect.Message
- func (x *Call_ReconcileOperations_Operation) Reset()
- func (x *Call_ReconcileOperations_Operation) String() string
- type Call_Reconcile_Task
- func (*Call_Reconcile_Task) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Reconcile_Task) GetAgentId() *AgentID
- func (x *Call_Reconcile_Task) GetTaskId() *TaskID
- func (*Call_Reconcile_Task) ProtoMessage()
- func (x *Call_Reconcile_Task) ProtoReflect() protoreflect.Message
- func (x *Call_Reconcile_Task) Reset()
- func (x *Call_Reconcile_Task) String() string
- type Call_Request
- type Call_Revive
- type Call_Shutdown
- func (*Call_Shutdown) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Shutdown) GetAgentId() *AgentID
- func (x *Call_Shutdown) GetExecutorId() *ExecutorID
- func (*Call_Shutdown) ProtoMessage()
- func (x *Call_Shutdown) ProtoReflect() protoreflect.Message
- func (x *Call_Shutdown) Reset()
- func (x *Call_Shutdown) String() string
- type Call_Subscribe
- func (*Call_Subscribe) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Subscribe) GetFrameworkInfo() *FrameworkInfo
- func (x *Call_Subscribe) GetOfferConstraints() *OfferConstraints
- func (x *Call_Subscribe) GetSuppressedRoles() []string
- func (*Call_Subscribe) ProtoMessage()
- func (x *Call_Subscribe) ProtoReflect() protoreflect.Message
- func (x *Call_Subscribe) Reset()
- func (x *Call_Subscribe) String() string
- type Call_Suppress
- type Call_Type
- func (Call_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Call_Type) Enum() *Call_Type
- func (Call_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Call_Type) Number() protoreflect.EnumNumber
- func (x Call_Type) String() string
- func (Call_Type) Type() protoreflect.EnumType
- func (x *Call_Type) UnmarshalJSON(b []byte) errordeprecated
- type Call_UpdateFramework
- func (*Call_UpdateFramework) Descriptor() ([]byte, []int)deprecated
- func (x *Call_UpdateFramework) GetFrameworkInfo() *FrameworkInfo
- func (x *Call_UpdateFramework) GetOfferConstraints() *OfferConstraints
- func (x *Call_UpdateFramework) GetSuppressedRoles() []string
- func (*Call_UpdateFramework) ProtoMessage()
- func (x *Call_UpdateFramework) ProtoReflect() protoreflect.Message
- func (x *Call_UpdateFramework) Reset()
- func (x *Call_UpdateFramework) String() string
- type CapabilityInfo
- func (*CapabilityInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilityInfo) GetCapabilities() []CapabilityInfo_Capability
- func (*CapabilityInfo) ProtoMessage()
- func (x *CapabilityInfo) ProtoReflect() protoreflect.Message
- func (x *CapabilityInfo) Reset()
- func (x *CapabilityInfo) String() string
- type CapabilityInfo_Capability
- func (CapabilityInfo_Capability) Descriptor() protoreflect.EnumDescriptor
- func (x CapabilityInfo_Capability) Enum() *CapabilityInfo_Capability
- func (CapabilityInfo_Capability) EnumDescriptor() ([]byte, []int)deprecated
- func (x CapabilityInfo_Capability) Number() protoreflect.EnumNumber
- func (x CapabilityInfo_Capability) String() string
- func (CapabilityInfo_Capability) Type() protoreflect.EnumType
- func (x *CapabilityInfo_Capability) UnmarshalJSON(b []byte) errordeprecated
- type CgroupInfo
- type CgroupInfo_Blkio
- type CgroupInfo_Blkio_CFQ
- type CgroupInfo_Blkio_CFQ_Statistics
- func (*CgroupInfo_Blkio_CFQ_Statistics) Descriptor() ([]byte, []int)deprecated
- func (x *CgroupInfo_Blkio_CFQ_Statistics) GetDevice() *Device_Number
- func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoMerged() []*CgroupInfo_Blkio_Value
- func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoQueued() []*CgroupInfo_Blkio_Value
- func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoServiceBytes() []*CgroupInfo_Blkio_Value
- func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoServiceTime() []*CgroupInfo_Blkio_Value
- func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoServiced() []*CgroupInfo_Blkio_Value
- func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoWaitTime() []*CgroupInfo_Blkio_Value
- func (x *CgroupInfo_Blkio_CFQ_Statistics) GetSectors() uint64
- func (x *CgroupInfo_Blkio_CFQ_Statistics) GetTime() uint64
- func (*CgroupInfo_Blkio_CFQ_Statistics) ProtoMessage()
- func (x *CgroupInfo_Blkio_CFQ_Statistics) ProtoReflect() protoreflect.Message
- func (x *CgroupInfo_Blkio_CFQ_Statistics) Reset()
- func (x *CgroupInfo_Blkio_CFQ_Statistics) String() string
- type CgroupInfo_Blkio_Operation
- func (CgroupInfo_Blkio_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x CgroupInfo_Blkio_Operation) Enum() *CgroupInfo_Blkio_Operation
- func (CgroupInfo_Blkio_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x CgroupInfo_Blkio_Operation) Number() protoreflect.EnumNumber
- func (x CgroupInfo_Blkio_Operation) String() string
- func (CgroupInfo_Blkio_Operation) Type() protoreflect.EnumType
- func (x *CgroupInfo_Blkio_Operation) UnmarshalJSON(b []byte) errordeprecated
- type CgroupInfo_Blkio_Statistics
- func (*CgroupInfo_Blkio_Statistics) Descriptor() ([]byte, []int)deprecated
- func (x *CgroupInfo_Blkio_Statistics) GetCfq() []*CgroupInfo_Blkio_CFQ_Statistics
- func (x *CgroupInfo_Blkio_Statistics) GetCfqRecursive() []*CgroupInfo_Blkio_CFQ_Statistics
- func (x *CgroupInfo_Blkio_Statistics) GetThrottling() []*CgroupInfo_Blkio_Throttling_Statistics
- func (*CgroupInfo_Blkio_Statistics) ProtoMessage()
- func (x *CgroupInfo_Blkio_Statistics) ProtoReflect() protoreflect.Message
- func (x *CgroupInfo_Blkio_Statistics) Reset()
- func (x *CgroupInfo_Blkio_Statistics) String() string
- type CgroupInfo_Blkio_Throttling
- type CgroupInfo_Blkio_Throttling_Statistics
- func (*CgroupInfo_Blkio_Throttling_Statistics) Descriptor() ([]byte, []int)deprecated
- func (x *CgroupInfo_Blkio_Throttling_Statistics) GetDevice() *Device_Number
- func (x *CgroupInfo_Blkio_Throttling_Statistics) GetIoServiceBytes() []*CgroupInfo_Blkio_Value
- func (x *CgroupInfo_Blkio_Throttling_Statistics) GetIoServiced() []*CgroupInfo_Blkio_Value
- func (*CgroupInfo_Blkio_Throttling_Statistics) ProtoMessage()
- func (x *CgroupInfo_Blkio_Throttling_Statistics) ProtoReflect() protoreflect.Message
- func (x *CgroupInfo_Blkio_Throttling_Statistics) Reset()
- func (x *CgroupInfo_Blkio_Throttling_Statistics) String() string
- type CgroupInfo_Blkio_Value
- func (*CgroupInfo_Blkio_Value) Descriptor() ([]byte, []int)deprecated
- func (x *CgroupInfo_Blkio_Value) GetOp() CgroupInfo_Blkio_Operation
- func (x *CgroupInfo_Blkio_Value) GetValue() uint64
- func (*CgroupInfo_Blkio_Value) ProtoMessage()
- func (x *CgroupInfo_Blkio_Value) ProtoReflect() protoreflect.Message
- func (x *CgroupInfo_Blkio_Value) Reset()
- func (x *CgroupInfo_Blkio_Value) String() string
- type CgroupInfo_NetCls
- type CheckInfo
- func (*CheckInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CheckInfo) GetCommand() *CheckInfo_Command
- func (x *CheckInfo) GetDelaySeconds() float64
- func (x *CheckInfo) GetHttp() *CheckInfo_Http
- func (x *CheckInfo) GetIntervalSeconds() float64
- func (x *CheckInfo) GetTcp() *CheckInfo_Tcp
- func (x *CheckInfo) GetTimeoutSeconds() float64
- func (x *CheckInfo) GetType() CheckInfo_Type
- func (*CheckInfo) ProtoMessage()
- func (x *CheckInfo) ProtoReflect() protoreflect.Message
- func (x *CheckInfo) Reset()
- func (x *CheckInfo) String() string
- type CheckInfo_Command
- func (*CheckInfo_Command) Descriptor() ([]byte, []int)deprecated
- func (x *CheckInfo_Command) GetCommand() *CommandInfo
- func (*CheckInfo_Command) ProtoMessage()
- func (x *CheckInfo_Command) ProtoReflect() protoreflect.Message
- func (x *CheckInfo_Command) Reset()
- func (x *CheckInfo_Command) String() string
- type CheckInfo_Http
- func (*CheckInfo_Http) Descriptor() ([]byte, []int)deprecated
- func (x *CheckInfo_Http) GetPath() string
- func (x *CheckInfo_Http) GetPort() uint32
- func (*CheckInfo_Http) ProtoMessage()
- func (x *CheckInfo_Http) ProtoReflect() protoreflect.Message
- func (x *CheckInfo_Http) Reset()
- func (x *CheckInfo_Http) String() string
- type CheckInfo_Tcp
- type CheckInfo_Type
- func (CheckInfo_Type) Descriptor() protoreflect.EnumDescriptor
- func (x CheckInfo_Type) Enum() *CheckInfo_Type
- func (CheckInfo_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckInfo_Type) Number() protoreflect.EnumNumber
- func (x CheckInfo_Type) String() string
- func (CheckInfo_Type) Type() protoreflect.EnumType
- func (x *CheckInfo_Type) UnmarshalJSON(b []byte) errordeprecated
- type CheckStatusInfo
- func (*CheckStatusInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CheckStatusInfo) GetCommand() *CheckStatusInfo_Command
- func (x *CheckStatusInfo) GetHttp() *CheckStatusInfo_Http
- func (x *CheckStatusInfo) GetTcp() *CheckStatusInfo_Tcp
- func (x *CheckStatusInfo) GetType() CheckInfo_Type
- func (*CheckStatusInfo) ProtoMessage()
- func (x *CheckStatusInfo) ProtoReflect() protoreflect.Message
- func (x *CheckStatusInfo) Reset()
- func (x *CheckStatusInfo) String() string
- type CheckStatusInfo_Command
- func (*CheckStatusInfo_Command) Descriptor() ([]byte, []int)deprecated
- func (x *CheckStatusInfo_Command) GetExitCode() int32
- func (*CheckStatusInfo_Command) ProtoMessage()
- func (x *CheckStatusInfo_Command) ProtoReflect() protoreflect.Message
- func (x *CheckStatusInfo_Command) Reset()
- func (x *CheckStatusInfo_Command) String() string
- type CheckStatusInfo_Http
- func (*CheckStatusInfo_Http) Descriptor() ([]byte, []int)deprecated
- func (x *CheckStatusInfo_Http) GetStatusCode() uint32
- func (*CheckStatusInfo_Http) ProtoMessage()
- func (x *CheckStatusInfo_Http) ProtoReflect() protoreflect.Message
- func (x *CheckStatusInfo_Http) Reset()
- func (x *CheckStatusInfo_Http) String() string
- type CheckStatusInfo_Tcp
- func (*CheckStatusInfo_Tcp) Descriptor() ([]byte, []int)deprecated
- func (x *CheckStatusInfo_Tcp) GetSucceeded() bool
- func (*CheckStatusInfo_Tcp) ProtoMessage()
- func (x *CheckStatusInfo_Tcp) ProtoReflect() protoreflect.Message
- func (x *CheckStatusInfo_Tcp) Reset()
- func (x *CheckStatusInfo_Tcp) String() string
- type CommandInfo
- func (*CommandInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CommandInfo) GetArguments() []string
- func (x *CommandInfo) GetEnvironment() *Environment
- func (x *CommandInfo) GetShell() bool
- func (x *CommandInfo) GetUris() []*CommandInfo_URI
- func (x *CommandInfo) GetUser() string
- func (x *CommandInfo) GetValue() string
- func (*CommandInfo) ProtoMessage()
- func (x *CommandInfo) ProtoReflect() protoreflect.Message
- func (x *CommandInfo) Reset()
- func (x *CommandInfo) String() string
- type CommandInfo_URI
- func (*CommandInfo_URI) Descriptor() ([]byte, []int)deprecated
- func (x *CommandInfo_URI) GetCache() bool
- func (x *CommandInfo_URI) GetExecutable() bool
- func (x *CommandInfo_URI) GetExtract() bool
- func (x *CommandInfo_URI) GetOutputFile() string
- func (x *CommandInfo_URI) GetValue() string
- func (*CommandInfo_URI) ProtoMessage()
- func (x *CommandInfo_URI) ProtoReflect() protoreflect.Message
- func (x *CommandInfo_URI) Reset()
- func (x *CommandInfo_URI) String() string
- type ContainerID
- func (*ContainerID) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerID) GetParent() *ContainerID
- func (x *ContainerID) GetValue() string
- func (*ContainerID) ProtoMessage()
- func (x *ContainerID) ProtoReflect() protoreflect.Message
- func (x *ContainerID) Reset()
- func (x *ContainerID) String() string
- type ContainerInfo
- func (*ContainerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerInfo) GetDocker() *ContainerInfo_DockerInfo
- func (x *ContainerInfo) GetHostname() string
- func (x *ContainerInfo) GetLinuxInfo() *LinuxInfo
- func (x *ContainerInfo) GetMesos() *ContainerInfo_MesosInfo
- func (x *ContainerInfo) GetNetworkInfos() []*NetworkInfo
- func (x *ContainerInfo) GetRlimitInfo() *RLimitInfo
- func (x *ContainerInfo) GetTtyInfo() *TTYInfo
- func (x *ContainerInfo) GetType() ContainerInfo_Type
- func (x *ContainerInfo) GetVolumes() []*Volume
- func (*ContainerInfo) ProtoMessage()
- func (x *ContainerInfo) ProtoReflect() protoreflect.Message
- func (x *ContainerInfo) Reset()
- func (x *ContainerInfo) String() string
- type ContainerInfo_DockerInfo
- func (*ContainerInfo_DockerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerInfo_DockerInfo) GetForcePullImage() bool
- func (x *ContainerInfo_DockerInfo) GetImage() string
- func (x *ContainerInfo_DockerInfo) GetNetwork() ContainerInfo_DockerInfo_Network
- func (x *ContainerInfo_DockerInfo) GetParameters() []*Parameter
- func (x *ContainerInfo_DockerInfo) GetPortMappings() []*ContainerInfo_DockerInfo_PortMapping
- func (x *ContainerInfo_DockerInfo) GetPrivileged() bool
- func (x *ContainerInfo_DockerInfo) GetVolumeDriver() stringdeprecated
- func (*ContainerInfo_DockerInfo) ProtoMessage()
- func (x *ContainerInfo_DockerInfo) ProtoReflect() protoreflect.Message
- func (x *ContainerInfo_DockerInfo) Reset()
- func (x *ContainerInfo_DockerInfo) String() string
- type ContainerInfo_DockerInfo_Network
- func (ContainerInfo_DockerInfo_Network) Descriptor() protoreflect.EnumDescriptor
- func (x ContainerInfo_DockerInfo_Network) Enum() *ContainerInfo_DockerInfo_Network
- func (ContainerInfo_DockerInfo_Network) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContainerInfo_DockerInfo_Network) Number() protoreflect.EnumNumber
- func (x ContainerInfo_DockerInfo_Network) String() string
- func (ContainerInfo_DockerInfo_Network) Type() protoreflect.EnumType
- func (x *ContainerInfo_DockerInfo_Network) UnmarshalJSON(b []byte) errordeprecated
- type ContainerInfo_DockerInfo_PortMapping
- func (*ContainerInfo_DockerInfo_PortMapping) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerInfo_DockerInfo_PortMapping) GetContainerPort() uint32
- func (x *ContainerInfo_DockerInfo_PortMapping) GetHostPort() uint32
- func (x *ContainerInfo_DockerInfo_PortMapping) GetProtocol() string
- func (*ContainerInfo_DockerInfo_PortMapping) ProtoMessage()
- func (x *ContainerInfo_DockerInfo_PortMapping) ProtoReflect() protoreflect.Message
- func (x *ContainerInfo_DockerInfo_PortMapping) Reset()
- func (x *ContainerInfo_DockerInfo_PortMapping) String() string
- type ContainerInfo_MesosInfo
- func (*ContainerInfo_MesosInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerInfo_MesosInfo) GetImage() *Image
- func (*ContainerInfo_MesosInfo) ProtoMessage()
- func (x *ContainerInfo_MesosInfo) ProtoReflect() protoreflect.Message
- func (x *ContainerInfo_MesosInfo) Reset()
- func (x *ContainerInfo_MesosInfo) String() string
- type ContainerInfo_Type
- func (ContainerInfo_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ContainerInfo_Type) Enum() *ContainerInfo_Type
- func (ContainerInfo_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContainerInfo_Type) Number() protoreflect.EnumNumber
- func (x ContainerInfo_Type) String() string
- func (ContainerInfo_Type) Type() protoreflect.EnumType
- func (x *ContainerInfo_Type) UnmarshalJSON(b []byte) errordeprecated
- type ContainerStatus
- func (*ContainerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStatus) GetCgroupInfo() *CgroupInfo
- func (x *ContainerStatus) GetContainerId() *ContainerID
- func (x *ContainerStatus) GetExecutorPid() uint32
- func (x *ContainerStatus) GetNetworkInfos() []*NetworkInfo
- func (*ContainerStatus) ProtoMessage()
- func (x *ContainerStatus) ProtoReflect() protoreflect.Message
- func (x *ContainerStatus) Reset()
- func (x *ContainerStatus) String() string
- type Credential
- type Credentials
- type Device
- type DeviceAccess
- func (*DeviceAccess) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceAccess) GetAccess() *DeviceAccess_Access
- func (x *DeviceAccess) GetDevice() *Device
- func (*DeviceAccess) ProtoMessage()
- func (x *DeviceAccess) ProtoReflect() protoreflect.Message
- func (x *DeviceAccess) Reset()
- func (x *DeviceAccess) String() string
- type DeviceAccess_Access
- func (*DeviceAccess_Access) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceAccess_Access) GetMknod() bool
- func (x *DeviceAccess_Access) GetRead() bool
- func (x *DeviceAccess_Access) GetWrite() bool
- func (*DeviceAccess_Access) ProtoMessage()
- func (x *DeviceAccess_Access) ProtoReflect() protoreflect.Message
- func (x *DeviceAccess_Access) Reset()
- func (x *DeviceAccess_Access) String() string
- type DeviceWhitelist
- func (*DeviceWhitelist) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceWhitelist) GetAllowedDevices() []*DeviceAccess
- func (*DeviceWhitelist) ProtoMessage()
- func (x *DeviceWhitelist) ProtoReflect() protoreflect.Message
- func (x *DeviceWhitelist) Reset()
- func (x *DeviceWhitelist) String() string
- type Device_Number
- func (*Device_Number) Descriptor() ([]byte, []int)deprecated
- func (x *Device_Number) GetMajorNumber() uint64
- func (x *Device_Number) GetMinorNumber() uint64
- func (*Device_Number) ProtoMessage()
- func (x *Device_Number) ProtoReflect() protoreflect.Message
- func (x *Device_Number) Reset()
- func (x *Device_Number) String() string
- type DiscoveryInfo
- func (*DiscoveryInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryInfo) GetEnvironment() string
- func (x *DiscoveryInfo) GetLabels() *Labels
- func (x *DiscoveryInfo) GetLocation() string
- func (x *DiscoveryInfo) GetName() string
- func (x *DiscoveryInfo) GetPorts() *Ports
- func (x *DiscoveryInfo) GetVersion() string
- func (x *DiscoveryInfo) GetVisibility() DiscoveryInfo_Visibility
- func (*DiscoveryInfo) ProtoMessage()
- func (x *DiscoveryInfo) ProtoReflect() protoreflect.Message
- func (x *DiscoveryInfo) Reset()
- func (x *DiscoveryInfo) String() string
- type DiscoveryInfo_Visibility
- func (DiscoveryInfo_Visibility) Descriptor() protoreflect.EnumDescriptor
- func (x DiscoveryInfo_Visibility) Enum() *DiscoveryInfo_Visibility
- func (DiscoveryInfo_Visibility) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiscoveryInfo_Visibility) Number() protoreflect.EnumNumber
- func (x DiscoveryInfo_Visibility) String() string
- func (DiscoveryInfo_Visibility) Type() protoreflect.EnumType
- func (x *DiscoveryInfo_Visibility) UnmarshalJSON(b []byte) errordeprecated
- type DiskStatistics
- func (*DiskStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *DiskStatistics) GetLimitBytes() uint64
- func (x *DiskStatistics) GetPersistence() *Resource_DiskInfo_Persistence
- func (x *DiskStatistics) GetSource() *Resource_DiskInfo_Source
- func (x *DiskStatistics) GetUsedBytes() uint64
- func (*DiskStatistics) ProtoMessage()
- func (x *DiskStatistics) ProtoReflect() protoreflect.Message
- func (x *DiskStatistics) Reset()
- func (x *DiskStatistics) String() string
- type DomainInfo
- type DomainInfo_FaultDomain
- func (*DomainInfo_FaultDomain) Descriptor() ([]byte, []int)deprecated
- func (x *DomainInfo_FaultDomain) GetRegion() *DomainInfo_FaultDomain_RegionInfo
- func (x *DomainInfo_FaultDomain) GetZone() *DomainInfo_FaultDomain_ZoneInfo
- func (*DomainInfo_FaultDomain) ProtoMessage()
- func (x *DomainInfo_FaultDomain) ProtoReflect() protoreflect.Message
- func (x *DomainInfo_FaultDomain) Reset()
- func (x *DomainInfo_FaultDomain) String() string
- type DomainInfo_FaultDomain_RegionInfo
- func (*DomainInfo_FaultDomain_RegionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DomainInfo_FaultDomain_RegionInfo) GetName() string
- func (*DomainInfo_FaultDomain_RegionInfo) ProtoMessage()
- func (x *DomainInfo_FaultDomain_RegionInfo) ProtoReflect() protoreflect.Message
- func (x *DomainInfo_FaultDomain_RegionInfo) Reset()
- func (x *DomainInfo_FaultDomain_RegionInfo) String() string
- type DomainInfo_FaultDomain_ZoneInfo
- func (*DomainInfo_FaultDomain_ZoneInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DomainInfo_FaultDomain_ZoneInfo) GetName() string
- func (*DomainInfo_FaultDomain_ZoneInfo) ProtoMessage()
- func (x *DomainInfo_FaultDomain_ZoneInfo) ProtoReflect() protoreflect.Message
- func (x *DomainInfo_FaultDomain_ZoneInfo) Reset()
- func (x *DomainInfo_FaultDomain_ZoneInfo) String() string
- type DrainConfig
- func (*DrainConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DrainConfig) GetMarkGone() bool
- func (x *DrainConfig) GetMaxGracePeriod() *DurationInfo
- func (*DrainConfig) ProtoMessage()
- func (x *DrainConfig) ProtoReflect() protoreflect.Message
- func (x *DrainConfig) Reset()
- func (x *DrainConfig) String() string
- type DrainInfo
- type DrainState
- func (DrainState) Descriptor() protoreflect.EnumDescriptor
- func (x DrainState) Enum() *DrainState
- func (DrainState) EnumDescriptor() ([]byte, []int)deprecated
- func (x DrainState) Number() protoreflect.EnumNumber
- func (x DrainState) String() string
- func (DrainState) Type() protoreflect.EnumType
- func (x *DrainState) UnmarshalJSON(b []byte) errordeprecated
- type DurationInfo
- type Environment
- type Environment_Variable
- func (*Environment_Variable) Descriptor() ([]byte, []int)deprecated
- func (x *Environment_Variable) GetName() string
- func (x *Environment_Variable) GetSecret() *Secret
- func (x *Environment_Variable) GetType() Environment_Variable_Type
- func (x *Environment_Variable) GetValue() string
- func (*Environment_Variable) ProtoMessage()
- func (x *Environment_Variable) ProtoReflect() protoreflect.Message
- func (x *Environment_Variable) Reset()
- func (x *Environment_Variable) String() string
- type Environment_Variable_Type
- func (Environment_Variable_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Environment_Variable_Type) Enum() *Environment_Variable_Type
- func (Environment_Variable_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Environment_Variable_Type) Number() protoreflect.EnumNumber
- func (x Environment_Variable_Type) String() string
- func (Environment_Variable_Type) Type() protoreflect.EnumType
- func (x *Environment_Variable_Type) UnmarshalJSON(b []byte) errordeprecated
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetError() *Event_Error
- func (x *Event) GetFailure() *Event_Failure
- func (x *Event) GetInverseOffers() *Event_InverseOffers
- func (x *Event) GetMessage() *Event_Message
- func (x *Event) GetOffers() *Event_Offers
- func (x *Event) GetRescind() *Event_Rescind
- func (x *Event) GetRescindInverseOffer() *Event_RescindInverseOffer
- func (x *Event) GetSubscribed() *Event_Subscribed
- func (x *Event) GetType() Event_Type
- func (x *Event) GetUpdate() *Event_Update
- func (x *Event) GetUpdateOperationStatus() *Event_UpdateOperationStatus
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_Error
- type Event_Failure
- func (*Event_Failure) Descriptor() ([]byte, []int)deprecated
- func (x *Event_Failure) GetAgentId() *AgentID
- func (x *Event_Failure) GetExecutorId() *ExecutorID
- func (x *Event_Failure) GetStatus() int32
- func (*Event_Failure) ProtoMessage()
- func (x *Event_Failure) ProtoReflect() protoreflect.Message
- func (x *Event_Failure) Reset()
- func (x *Event_Failure) String() string
- type Event_InverseOffers
- func (*Event_InverseOffers) Descriptor() ([]byte, []int)deprecated
- func (x *Event_InverseOffers) GetInverseOffers() []*InverseOffer
- func (*Event_InverseOffers) ProtoMessage()
- func (x *Event_InverseOffers) ProtoReflect() protoreflect.Message
- func (x *Event_InverseOffers) Reset()
- func (x *Event_InverseOffers) String() string
- type Event_Message
- func (*Event_Message) Descriptor() ([]byte, []int)deprecated
- func (x *Event_Message) GetAgentId() *AgentID
- func (x *Event_Message) GetData() []byte
- func (x *Event_Message) GetExecutorId() *ExecutorID
- func (*Event_Message) ProtoMessage()
- func (x *Event_Message) ProtoReflect() protoreflect.Message
- func (x *Event_Message) Reset()
- func (x *Event_Message) String() string
- type Event_Offers
- type Event_Rescind
- type Event_RescindInverseOffer
- func (*Event_RescindInverseOffer) Descriptor() ([]byte, []int)deprecated
- func (x *Event_RescindInverseOffer) GetInverseOfferId() *OfferID
- func (*Event_RescindInverseOffer) ProtoMessage()
- func (x *Event_RescindInverseOffer) ProtoReflect() protoreflect.Message
- func (x *Event_RescindInverseOffer) Reset()
- func (x *Event_RescindInverseOffer) String() string
- type Event_Subscribed
- func (*Event_Subscribed) Descriptor() ([]byte, []int)deprecated
- func (x *Event_Subscribed) GetFrameworkId() *FrameworkID
- func (x *Event_Subscribed) GetHeartbeatIntervalSeconds() float64
- func (x *Event_Subscribed) GetMasterInfo() *MasterInfo
- func (*Event_Subscribed) ProtoMessage()
- func (x *Event_Subscribed) ProtoReflect() protoreflect.Message
- func (x *Event_Subscribed) Reset()
- func (x *Event_Subscribed) String() string
- type Event_Type
- func (Event_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Event_Type) Enum() *Event_Type
- func (Event_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Event_Type) Number() protoreflect.EnumNumber
- func (x Event_Type) String() string
- func (Event_Type) Type() protoreflect.EnumType
- func (x *Event_Type) UnmarshalJSON(b []byte) errordeprecated
- type Event_Update
- type Event_UpdateOperationStatus
- func (*Event_UpdateOperationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *Event_UpdateOperationStatus) GetStatus() *OperationStatus
- func (*Event_UpdateOperationStatus) ProtoMessage()
- func (x *Event_UpdateOperationStatus) ProtoReflect() protoreflect.Message
- func (x *Event_UpdateOperationStatus) Reset()
- func (x *Event_UpdateOperationStatus) String() string
- type ExecutorID
- type ExecutorInfo
- func (*ExecutorInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutorInfo) GetCommand() *CommandInfo
- func (x *ExecutorInfo) GetContainer() *ContainerInfo
- func (x *ExecutorInfo) GetData() []byte
- func (x *ExecutorInfo) GetDiscovery() *DiscoveryInfo
- func (x *ExecutorInfo) GetExecutorId() *ExecutorID
- func (x *ExecutorInfo) GetFrameworkId() *FrameworkID
- func (x *ExecutorInfo) GetLabels() *Labels
- func (x *ExecutorInfo) GetName() string
- func (x *ExecutorInfo) GetResources() []*Resource
- func (x *ExecutorInfo) GetShutdownGracePeriod() *DurationInfo
- func (x *ExecutorInfo) GetSource() stringdeprecated
- func (x *ExecutorInfo) GetType() ExecutorInfo_Type
- func (*ExecutorInfo) ProtoMessage()
- func (x *ExecutorInfo) ProtoReflect() protoreflect.Message
- func (x *ExecutorInfo) Reset()
- func (x *ExecutorInfo) String() string
- type ExecutorInfo_Type
- func (ExecutorInfo_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ExecutorInfo_Type) Enum() *ExecutorInfo_Type
- func (ExecutorInfo_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecutorInfo_Type) Number() protoreflect.EnumNumber
- func (x ExecutorInfo_Type) String() string
- func (ExecutorInfo_Type) Type() protoreflect.EnumType
- func (x *ExecutorInfo_Type) UnmarshalJSON(b []byte) errordeprecated
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetGid() string
- func (x *FileInfo) GetMode() uint32
- func (x *FileInfo) GetMtime() *TimeInfo
- func (x *FileInfo) GetNlink() int32
- func (x *FileInfo) GetPath() string
- func (x *FileInfo) GetSize() uint64
- func (x *FileInfo) GetUid() string
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type Filters
- type Flag
- type FrameworkID
- type FrameworkInfo
- func (*FrameworkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FrameworkInfo) GetCapabilities() []*FrameworkInfo_Capability
- func (x *FrameworkInfo) GetCheckpoint() bool
- func (x *FrameworkInfo) GetFailoverTimeout() float64
- func (x *FrameworkInfo) GetHostname() string
- func (x *FrameworkInfo) GetId() *FrameworkID
- func (x *FrameworkInfo) GetLabels() *Labels
- func (x *FrameworkInfo) GetName() string
- func (x *FrameworkInfo) GetOfferFilters() map[string]*OfferFilters
- func (x *FrameworkInfo) GetPrincipal() string
- func (x *FrameworkInfo) GetRole() stringdeprecated
- func (x *FrameworkInfo) GetRoles() []string
- func (x *FrameworkInfo) GetUser() string
- func (x *FrameworkInfo) GetWebuiUrl() string
- func (*FrameworkInfo) ProtoMessage()
- func (x *FrameworkInfo) ProtoReflect() protoreflect.Message
- func (x *FrameworkInfo) Reset()
- func (x *FrameworkInfo) String() string
- type FrameworkInfo_Capability
- func (*FrameworkInfo_Capability) Descriptor() ([]byte, []int)deprecated
- func (x *FrameworkInfo_Capability) GetType() FrameworkInfo_Capability_Type
- func (*FrameworkInfo_Capability) ProtoMessage()
- func (x *FrameworkInfo_Capability) ProtoReflect() protoreflect.Message
- func (x *FrameworkInfo_Capability) Reset()
- func (x *FrameworkInfo_Capability) String() string
- type FrameworkInfo_Capability_Type
- func (FrameworkInfo_Capability_Type) Descriptor() protoreflect.EnumDescriptor
- func (x FrameworkInfo_Capability_Type) Enum() *FrameworkInfo_Capability_Type
- func (FrameworkInfo_Capability_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x FrameworkInfo_Capability_Type) Number() protoreflect.EnumNumber
- func (x FrameworkInfo_Capability_Type) String() string
- func (FrameworkInfo_Capability_Type) Type() protoreflect.EnumType
- func (x *FrameworkInfo_Capability_Type) UnmarshalJSON(b []byte) errordeprecated
- type HealthCheck
- func (*HealthCheck) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheck) GetCommand() *CommandInfo
- func (x *HealthCheck) GetConsecutiveFailures() uint32
- func (x *HealthCheck) GetDelaySeconds() float64
- func (x *HealthCheck) GetGracePeriodSeconds() float64
- func (x *HealthCheck) GetHttp() *HealthCheck_HTTPCheckInfo
- func (x *HealthCheck) GetIntervalSeconds() float64
- func (x *HealthCheck) GetTcp() *HealthCheck_TCPCheckInfo
- func (x *HealthCheck) GetTimeoutSeconds() float64
- func (x *HealthCheck) GetType() HealthCheck_Type
- func (*HealthCheck) ProtoMessage()
- func (x *HealthCheck) ProtoReflect() protoreflect.Message
- func (x *HealthCheck) Reset()
- func (x *HealthCheck) String() string
- type HealthCheck_HTTPCheckInfo
- func (*HealthCheck_HTTPCheckInfo) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheck_HTTPCheckInfo) GetPath() string
- func (x *HealthCheck_HTTPCheckInfo) GetPort() uint32
- func (x *HealthCheck_HTTPCheckInfo) GetProtocol() NetworkInfo_Protocol
- func (x *HealthCheck_HTTPCheckInfo) GetScheme() string
- func (x *HealthCheck_HTTPCheckInfo) GetStatuses() []uint32
- func (*HealthCheck_HTTPCheckInfo) ProtoMessage()
- func (x *HealthCheck_HTTPCheckInfo) ProtoReflect() protoreflect.Message
- func (x *HealthCheck_HTTPCheckInfo) Reset()
- func (x *HealthCheck_HTTPCheckInfo) String() string
- type HealthCheck_TCPCheckInfo
- func (*HealthCheck_TCPCheckInfo) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheck_TCPCheckInfo) GetPort() uint32
- func (x *HealthCheck_TCPCheckInfo) GetProtocol() NetworkInfo_Protocol
- func (*HealthCheck_TCPCheckInfo) ProtoMessage()
- func (x *HealthCheck_TCPCheckInfo) ProtoReflect() protoreflect.Message
- func (x *HealthCheck_TCPCheckInfo) Reset()
- func (x *HealthCheck_TCPCheckInfo) String() string
- type HealthCheck_Type
- func (HealthCheck_Type) Descriptor() protoreflect.EnumDescriptor
- func (x HealthCheck_Type) Enum() *HealthCheck_Type
- func (HealthCheck_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthCheck_Type) Number() protoreflect.EnumNumber
- func (x HealthCheck_Type) String() string
- func (HealthCheck_Type) Type() protoreflect.EnumType
- func (x *HealthCheck_Type) UnmarshalJSON(b []byte) errordeprecated
- type IcmpStatistics
- func (*IcmpStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *IcmpStatistics) GetInAddrMaskReps() int64
- func (x *IcmpStatistics) GetInAddrMasks() int64
- func (x *IcmpStatistics) GetInCsumErrors() int64
- func (x *IcmpStatistics) GetInDestUnreachs() int64
- func (x *IcmpStatistics) GetInEchoReps() int64
- func (x *IcmpStatistics) GetInEchos() int64
- func (x *IcmpStatistics) GetInErrors() int64
- func (x *IcmpStatistics) GetInMsgs() int64
- func (x *IcmpStatistics) GetInParmProbs() int64
- func (x *IcmpStatistics) GetInRedirects() int64
- func (x *IcmpStatistics) GetInSrcQuenchs() int64
- func (x *IcmpStatistics) GetInTimeExcds() int64
- func (x *IcmpStatistics) GetInTimestampReps() int64
- func (x *IcmpStatistics) GetInTimestamps() int64
- func (x *IcmpStatistics) GetOutAddrMaskReps() int64
- func (x *IcmpStatistics) GetOutAddrMasks() int64
- func (x *IcmpStatistics) GetOutDestUnreachs() int64
- func (x *IcmpStatistics) GetOutEchoReps() int64
- func (x *IcmpStatistics) GetOutEchos() int64
- func (x *IcmpStatistics) GetOutErrors() int64
- func (x *IcmpStatistics) GetOutMsgs() int64
- func (x *IcmpStatistics) GetOutParmProbs() int64
- func (x *IcmpStatistics) GetOutRedirects() int64
- func (x *IcmpStatistics) GetOutSrcQuenchs() int64
- func (x *IcmpStatistics) GetOutTimeExcds() int64
- func (x *IcmpStatistics) GetOutTimestampReps() int64
- func (x *IcmpStatistics) GetOutTimestamps() int64
- func (*IcmpStatistics) ProtoMessage()
- func (x *IcmpStatistics) ProtoReflect() protoreflect.Message
- func (x *IcmpStatistics) Reset()
- func (x *IcmpStatistics) String() string
- type Image
- func (*Image) Descriptor() ([]byte, []int)deprecated
- func (x *Image) GetAppc() *Image_Appc
- func (x *Image) GetCached() bool
- func (x *Image) GetDocker() *Image_Docker
- func (x *Image) GetType() Image_Type
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (x *Image) String() string
- type Image_Appc
- func (*Image_Appc) Descriptor() ([]byte, []int)deprecated
- func (x *Image_Appc) GetId() string
- func (x *Image_Appc) GetLabels() *Labels
- func (x *Image_Appc) GetName() string
- func (*Image_Appc) ProtoMessage()
- func (x *Image_Appc) ProtoReflect() protoreflect.Message
- func (x *Image_Appc) Reset()
- func (x *Image_Appc) String() string
- type Image_Docker
- func (*Image_Docker) Descriptor() ([]byte, []int)deprecated
- func (x *Image_Docker) GetConfig() *Secret
- func (x *Image_Docker) GetCredential() *Credentialdeprecated
- func (x *Image_Docker) GetName() string
- func (*Image_Docker) ProtoMessage()
- func (x *Image_Docker) ProtoReflect() protoreflect.Message
- func (x *Image_Docker) Reset()
- func (x *Image_Docker) String() string
- type Image_Type
- func (Image_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Image_Type) Enum() *Image_Type
- func (Image_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Image_Type) Number() protoreflect.EnumNumber
- func (x Image_Type) String() string
- func (Image_Type) Type() protoreflect.EnumType
- func (x *Image_Type) UnmarshalJSON(b []byte) errordeprecated
- type InverseOffer
- func (*InverseOffer) Descriptor() ([]byte, []int)deprecated
- func (x *InverseOffer) GetAgentId() *AgentID
- func (x *InverseOffer) GetFrameworkId() *FrameworkID
- func (x *InverseOffer) GetId() *OfferID
- func (x *InverseOffer) GetResources() []*Resource
- func (x *InverseOffer) GetUnavailability() *Unavailability
- func (x *InverseOffer) GetUrl() *URL
- func (*InverseOffer) ProtoMessage()
- func (x *InverseOffer) ProtoReflect() protoreflect.Message
- func (x *InverseOffer) Reset()
- func (x *InverseOffer) String() string
- type IpStatistics
- func (*IpStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *IpStatistics) GetDefaultTTL() int64
- func (x *IpStatistics) GetForwDatagrams() int64
- func (x *IpStatistics) GetForwarding() int64
- func (x *IpStatistics) GetFragCreates() int64
- func (x *IpStatistics) GetFragFails() int64
- func (x *IpStatistics) GetFragOKs() int64
- func (x *IpStatistics) GetInAddrErrors() int64
- func (x *IpStatistics) GetInDelivers() int64
- func (x *IpStatistics) GetInDiscards() int64
- func (x *IpStatistics) GetInHdrErrors() int64
- func (x *IpStatistics) GetInReceives() int64
- func (x *IpStatistics) GetInUnknownProtos() int64
- func (x *IpStatistics) GetOutDiscards() int64
- func (x *IpStatistics) GetOutNoRoutes() int64
- func (x *IpStatistics) GetOutRequests() int64
- func (x *IpStatistics) GetReasmFails() int64
- func (x *IpStatistics) GetReasmOKs() int64
- func (x *IpStatistics) GetReasmReqds() int64
- func (x *IpStatistics) GetReasmTimeout() int64
- func (*IpStatistics) ProtoMessage()
- func (x *IpStatistics) ProtoReflect() protoreflect.Message
- func (x *IpStatistics) Reset()
- func (x *IpStatistics) String() string
- type KillPolicy
- type Label
- type Labels
- type LinuxInfo
- func (*LinuxInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxInfo) GetBoundingCapabilities() *CapabilityInfo
- func (x *LinuxInfo) GetCapabilityInfo() *CapabilityInfodeprecated
- func (x *LinuxInfo) GetEffectiveCapabilities() *CapabilityInfo
- func (x *LinuxInfo) GetIpcMode() LinuxInfo_IpcMode
- func (x *LinuxInfo) GetSeccomp() *SeccompInfo
- func (x *LinuxInfo) GetShareCgroups() bool
- func (x *LinuxInfo) GetSharePidNamespace() bool
- func (x *LinuxInfo) GetShmSize() uint32
- func (*LinuxInfo) ProtoMessage()
- func (x *LinuxInfo) ProtoReflect() protoreflect.Message
- func (x *LinuxInfo) Reset()
- func (x *LinuxInfo) String() string
- type LinuxInfo_IpcMode
- func (LinuxInfo_IpcMode) Descriptor() protoreflect.EnumDescriptor
- func (x LinuxInfo_IpcMode) Enum() *LinuxInfo_IpcMode
- func (LinuxInfo_IpcMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x LinuxInfo_IpcMode) Number() protoreflect.EnumNumber
- func (x LinuxInfo_IpcMode) String() string
- func (LinuxInfo_IpcMode) Type() protoreflect.EnumType
- func (x *LinuxInfo_IpcMode) UnmarshalJSON(b []byte) errordeprecated
- type MachineID
- type MachineInfo
- func (*MachineInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MachineInfo) GetId() *MachineID
- func (x *MachineInfo) GetMode() MachineInfo_Mode
- func (x *MachineInfo) GetUnavailability() *Unavailability
- func (*MachineInfo) ProtoMessage()
- func (x *MachineInfo) ProtoReflect() protoreflect.Message
- func (x *MachineInfo) Reset()
- func (x *MachineInfo) String() string
- type MachineInfo_Mode
- func (MachineInfo_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x MachineInfo_Mode) Enum() *MachineInfo_Mode
- func (MachineInfo_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x MachineInfo_Mode) Number() protoreflect.EnumNumber
- func (x MachineInfo_Mode) String() string
- func (MachineInfo_Mode) Type() protoreflect.EnumType
- func (x *MachineInfo_Mode) UnmarshalJSON(b []byte) errordeprecated
- type MasterInfo
- func (*MasterInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MasterInfo) GetAddress() *Address
- func (x *MasterInfo) GetCapabilities() []*MasterInfo_Capability
- func (x *MasterInfo) GetDomain() *DomainInfo
- func (x *MasterInfo) GetHostname() string
- func (x *MasterInfo) GetId() string
- func (x *MasterInfo) GetIp() uint32
- func (x *MasterInfo) GetPid() string
- func (x *MasterInfo) GetPort() uint32
- func (x *MasterInfo) GetVersion() string
- func (*MasterInfo) ProtoMessage()
- func (x *MasterInfo) ProtoReflect() protoreflect.Message
- func (x *MasterInfo) Reset()
- func (x *MasterInfo) String() string
- type MasterInfo_Capability
- func (*MasterInfo_Capability) Descriptor() ([]byte, []int)deprecated
- func (x *MasterInfo_Capability) GetType() MasterInfo_Capability_Type
- func (*MasterInfo_Capability) ProtoMessage()
- func (x *MasterInfo_Capability) ProtoReflect() protoreflect.Message
- func (x *MasterInfo_Capability) Reset()
- func (x *MasterInfo_Capability) String() string
- type MasterInfo_Capability_Type
- func (MasterInfo_Capability_Type) Descriptor() protoreflect.EnumDescriptor
- func (x MasterInfo_Capability_Type) Enum() *MasterInfo_Capability_Type
- func (MasterInfo_Capability_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x MasterInfo_Capability_Type) Number() protoreflect.EnumNumber
- func (x MasterInfo_Capability_Type) String() string
- func (MasterInfo_Capability_Type) Type() protoreflect.EnumType
- func (x *MasterInfo_Capability_Type) UnmarshalJSON(b []byte) errordeprecated
- type Metric
- type MountPropagation
- func (*MountPropagation) Descriptor() ([]byte, []int)deprecated
- func (x *MountPropagation) GetMode() MountPropagation_Mode
- func (*MountPropagation) ProtoMessage()
- func (x *MountPropagation) ProtoReflect() protoreflect.Message
- func (x *MountPropagation) Reset()
- func (x *MountPropagation) String() string
- type MountPropagation_Mode
- func (MountPropagation_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x MountPropagation_Mode) Enum() *MountPropagation_Mode
- func (MountPropagation_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x MountPropagation_Mode) Number() protoreflect.EnumNumber
- func (x MountPropagation_Mode) String() string
- func (MountPropagation_Mode) Type() protoreflect.EnumType
- func (x *MountPropagation_Mode) UnmarshalJSON(b []byte) errordeprecated
- type NetworkInfo
- func (*NetworkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInfo) GetGroups() []string
- func (x *NetworkInfo) GetIpAddresses() []*NetworkInfo_IPAddress
- func (x *NetworkInfo) GetLabels() *Labels
- func (x *NetworkInfo) GetName() string
- func (x *NetworkInfo) GetPortMappings() []*NetworkInfo_PortMapping
- func (*NetworkInfo) ProtoMessage()
- func (x *NetworkInfo) ProtoReflect() protoreflect.Message
- func (x *NetworkInfo) Reset()
- func (x *NetworkInfo) String() string
- type NetworkInfo_IPAddress
- func (*NetworkInfo_IPAddress) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInfo_IPAddress) GetIpAddress() string
- func (x *NetworkInfo_IPAddress) GetProtocol() NetworkInfo_Protocol
- func (*NetworkInfo_IPAddress) ProtoMessage()
- func (x *NetworkInfo_IPAddress) ProtoReflect() protoreflect.Message
- func (x *NetworkInfo_IPAddress) Reset()
- func (x *NetworkInfo_IPAddress) String() string
- type NetworkInfo_PortMapping
- func (*NetworkInfo_PortMapping) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInfo_PortMapping) GetContainerPort() uint32
- func (x *NetworkInfo_PortMapping) GetHostPort() uint32
- func (x *NetworkInfo_PortMapping) GetProtocol() string
- func (*NetworkInfo_PortMapping) ProtoMessage()
- func (x *NetworkInfo_PortMapping) ProtoReflect() protoreflect.Message
- func (x *NetworkInfo_PortMapping) Reset()
- func (x *NetworkInfo_PortMapping) String() string
- type NetworkInfo_Protocol
- func (NetworkInfo_Protocol) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkInfo_Protocol) Enum() *NetworkInfo_Protocol
- func (NetworkInfo_Protocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkInfo_Protocol) Number() protoreflect.EnumNumber
- func (x NetworkInfo_Protocol) String() string
- func (NetworkInfo_Protocol) Type() protoreflect.EnumType
- func (x *NetworkInfo_Protocol) UnmarshalJSON(b []byte) errordeprecated
- type Offer
- func (*Offer) Descriptor() ([]byte, []int)deprecated
- func (x *Offer) GetAgentId() *AgentID
- func (x *Offer) GetAllocationInfo() *Resource_AllocationInfo
- func (x *Offer) GetAttributes() []*Attribute
- func (x *Offer) GetDomain() *DomainInfo
- func (x *Offer) GetExecutorIds() []*ExecutorID
- func (x *Offer) GetFrameworkId() *FrameworkID
- func (x *Offer) GetHostname() string
- func (x *Offer) GetId() *OfferID
- func (x *Offer) GetResources() []*Resource
- func (x *Offer) GetUnavailability() *Unavailability
- func (x *Offer) GetUrl() *URL
- func (*Offer) ProtoMessage()
- func (x *Offer) ProtoReflect() protoreflect.Message
- func (x *Offer) Reset()
- func (x *Offer) String() string
- type OfferConstraints
- func (*OfferConstraints) Descriptor() ([]byte, []int)deprecated
- func (x *OfferConstraints) GetRoleConstraints() map[string]*OfferConstraints_RoleConstraints
- func (*OfferConstraints) ProtoMessage()
- func (x *OfferConstraints) ProtoReflect() protoreflect.Message
- func (x *OfferConstraints) Reset()
- func (x *OfferConstraints) String() string
- type OfferConstraints_RoleConstraints
- func (*OfferConstraints_RoleConstraints) Descriptor() ([]byte, []int)deprecated
- func (x *OfferConstraints_RoleConstraints) GetGroups() []*OfferConstraints_RoleConstraints_Group
- func (*OfferConstraints_RoleConstraints) ProtoMessage()
- func (x *OfferConstraints_RoleConstraints) ProtoReflect() protoreflect.Message
- func (x *OfferConstraints_RoleConstraints) Reset()
- func (x *OfferConstraints_RoleConstraints) String() string
- type OfferConstraints_RoleConstraints_Group
- func (*OfferConstraints_RoleConstraints_Group) Descriptor() ([]byte, []int)deprecated
- func (x *OfferConstraints_RoleConstraints_Group) GetAttributeConstraints() []*AttributeConstraint
- func (*OfferConstraints_RoleConstraints_Group) ProtoMessage()
- func (x *OfferConstraints_RoleConstraints_Group) ProtoReflect() protoreflect.Message
- func (x *OfferConstraints_RoleConstraints_Group) Reset()
- func (x *OfferConstraints_RoleConstraints_Group) String() string
- type OfferFilters
- func (*OfferFilters) Descriptor() ([]byte, []int)deprecated
- func (x *OfferFilters) GetMinAllocatableResources() *OfferFilters_MinAllocatableResources
- func (*OfferFilters) ProtoMessage()
- func (x *OfferFilters) ProtoReflect() protoreflect.Message
- func (x *OfferFilters) Reset()
- func (x *OfferFilters) String() string
- type OfferFilters_MinAllocatableResources
- func (*OfferFilters_MinAllocatableResources) Descriptor() ([]byte, []int)deprecated
- func (x *OfferFilters_MinAllocatableResources) GetQuantities() []*OfferFilters_ResourceQuantities
- func (*OfferFilters_MinAllocatableResources) ProtoMessage()
- func (x *OfferFilters_MinAllocatableResources) ProtoReflect() protoreflect.Message
- func (x *OfferFilters_MinAllocatableResources) Reset()
- func (x *OfferFilters_MinAllocatableResources) String() string
- type OfferFilters_ResourceQuantities
- func (*OfferFilters_ResourceQuantities) Descriptor() ([]byte, []int)deprecated
- func (x *OfferFilters_ResourceQuantities) GetQuantities() map[string]*Value_Scalar
- func (*OfferFilters_ResourceQuantities) ProtoMessage()
- func (x *OfferFilters_ResourceQuantities) ProtoReflect() protoreflect.Message
- func (x *OfferFilters_ResourceQuantities) Reset()
- func (x *OfferFilters_ResourceQuantities) String() string
- type OfferID
- type Offer_Operation
- func (*Offer_Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Offer_Operation) GetCreate() *Offer_Operation_Create
- func (x *Offer_Operation) GetCreateDisk() *Offer_Operation_CreateDisk
- func (x *Offer_Operation) GetDestroy() *Offer_Operation_Destroy
- func (x *Offer_Operation) GetDestroyDisk() *Offer_Operation_DestroyDisk
- func (x *Offer_Operation) GetGrowVolume() *Offer_Operation_GrowVolume
- func (x *Offer_Operation) GetId() *OperationID
- func (x *Offer_Operation) GetLaunch() *Offer_Operation_Launch
- func (x *Offer_Operation) GetLaunchGroup() *Offer_Operation_LaunchGroup
- func (x *Offer_Operation) GetReserve() *Offer_Operation_Reserve
- func (x *Offer_Operation) GetShrinkVolume() *Offer_Operation_ShrinkVolume
- func (x *Offer_Operation) GetType() Offer_Operation_Type
- func (x *Offer_Operation) GetUnreserve() *Offer_Operation_Unreserve
- func (*Offer_Operation) ProtoMessage()
- func (x *Offer_Operation) ProtoReflect() protoreflect.Message
- func (x *Offer_Operation) Reset()
- func (x *Offer_Operation) String() string
- type Offer_Operation_Create
- func (*Offer_Operation_Create) Descriptor() ([]byte, []int)deprecated
- func (x *Offer_Operation_Create) GetVolumes() []*Resource
- func (*Offer_Operation_Create) ProtoMessage()
- func (x *Offer_Operation_Create) ProtoReflect() protoreflect.Message
- func (x *Offer_Operation_Create) Reset()
- func (x *Offer_Operation_Create) String() string
- type Offer_Operation_CreateDisk
- func (*Offer_Operation_CreateDisk) Descriptor() ([]byte, []int)deprecated
- func (x *Offer_Operation_CreateDisk) GetSource() *Resource
- func (x *Offer_Operation_CreateDisk) GetTargetProfile() string
- func (x *Offer_Operation_CreateDisk) GetTargetType() Resource_DiskInfo_Source_Type
- func (*Offer_Operation_CreateDisk) ProtoMessage()
- func (x *Offer_Operation_CreateDisk) ProtoReflect() protoreflect.Message
- func (x *Offer_Operation_CreateDisk) Reset()
- func (x *Offer_Operation_CreateDisk) String() string
- type Offer_Operation_Destroy
- func (*Offer_Operation_Destroy) Descriptor() ([]byte, []int)deprecated
- func (x *Offer_Operation_Destroy) GetVolumes() []*Resource
- func (*Offer_Operation_Destroy) ProtoMessage()
- func (x *Offer_Operation_Destroy) ProtoReflect() protoreflect.Message
- func (x *Offer_Operation_Destroy) Reset()
- func (x *Offer_Operation_Destroy) String() string
- type Offer_Operation_DestroyDisk
- func (*Offer_Operation_DestroyDisk) Descriptor() ([]byte, []int)deprecated
- func (x *Offer_Operation_DestroyDisk) GetSource() *Resource
- func (*Offer_Operation_DestroyDisk) ProtoMessage()
- func (x *Offer_Operation_DestroyDisk) ProtoReflect() protoreflect.Message
- func (x *Offer_Operation_DestroyDisk) Reset()
- func (x *Offer_Operation_DestroyDisk) String() string
- type Offer_Operation_GrowVolume
- func (*Offer_Operation_GrowVolume) Descriptor() ([]byte, []int)deprecated
- func (x *Offer_Operation_GrowVolume) GetAddition() *Resource
- func (x *Offer_Operation_GrowVolume) GetVolume() *Resource
- func (*Offer_Operation_GrowVolume) ProtoMessage()
- func (x *Offer_Operation_GrowVolume) ProtoReflect() protoreflect.Message
- func (x *Offer_Operation_GrowVolume) Reset()
- func (x *Offer_Operation_GrowVolume) String() string
- type Offer_Operation_Launch
- func (*Offer_Operation_Launch) Descriptor() ([]byte, []int)deprecated
- func (x *Offer_Operation_Launch) GetTaskInfos() []*TaskInfo
- func (*Offer_Operation_Launch) ProtoMessage()
- func (x *Offer_Operation_Launch) ProtoReflect() protoreflect.Message
- func (x *Offer_Operation_Launch) Reset()
- func (x *Offer_Operation_Launch) String() string
- type Offer_Operation_LaunchGroup
- func (*Offer_Operation_LaunchGroup) Descriptor() ([]byte, []int)deprecated
- func (x *Offer_Operation_LaunchGroup) GetExecutor() *ExecutorInfo
- func (x *Offer_Operation_LaunchGroup) GetTaskGroup() *TaskGroupInfo
- func (*Offer_Operation_LaunchGroup) ProtoMessage()
- func (x *Offer_Operation_LaunchGroup) ProtoReflect() protoreflect.Message
- func (x *Offer_Operation_LaunchGroup) Reset()
- func (x *Offer_Operation_LaunchGroup) String() string
- type Offer_Operation_Reserve
- func (*Offer_Operation_Reserve) Descriptor() ([]byte, []int)deprecated
- func (x *Offer_Operation_Reserve) GetResources() []*Resource
- func (x *Offer_Operation_Reserve) GetSource() []*Resource
- func (*Offer_Operation_Reserve) ProtoMessage()
- func (x *Offer_Operation_Reserve) ProtoReflect() protoreflect.Message
- func (x *Offer_Operation_Reserve) Reset()
- func (x *Offer_Operation_Reserve) String() string
- type Offer_Operation_ShrinkVolume
- func (*Offer_Operation_ShrinkVolume) Descriptor() ([]byte, []int)deprecated
- func (x *Offer_Operation_ShrinkVolume) GetSubtract() *Value_Scalar
- func (x *Offer_Operation_ShrinkVolume) GetVolume() *Resource
- func (*Offer_Operation_ShrinkVolume) ProtoMessage()
- func (x *Offer_Operation_ShrinkVolume) ProtoReflect() protoreflect.Message
- func (x *Offer_Operation_ShrinkVolume) Reset()
- func (x *Offer_Operation_ShrinkVolume) String() string
- type Offer_Operation_Type
- func (Offer_Operation_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Offer_Operation_Type) Enum() *Offer_Operation_Type
- func (Offer_Operation_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Offer_Operation_Type) Number() protoreflect.EnumNumber
- func (x Offer_Operation_Type) String() string
- func (Offer_Operation_Type) Type() protoreflect.EnumType
- func (x *Offer_Operation_Type) UnmarshalJSON(b []byte) errordeprecated
- type Offer_Operation_Unreserve
- func (*Offer_Operation_Unreserve) Descriptor() ([]byte, []int)deprecated
- func (x *Offer_Operation_Unreserve) GetResources() []*Resource
- func (*Offer_Operation_Unreserve) ProtoMessage()
- func (x *Offer_Operation_Unreserve) ProtoReflect() protoreflect.Message
- func (x *Offer_Operation_Unreserve) Reset()
- func (x *Offer_Operation_Unreserve) String() string
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetAgentId() *AgentID
- func (x *Operation) GetFrameworkId() *FrameworkID
- func (x *Operation) GetInfo() *Offer_Operation
- func (x *Operation) GetLatestStatus() *OperationStatus
- func (x *Operation) GetStatuses() []*OperationStatus
- func (x *Operation) GetUuid() *UUID
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type OperationID
- type OperationState
- func (OperationState) Descriptor() protoreflect.EnumDescriptor
- func (x OperationState) Enum() *OperationState
- func (OperationState) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationState) Number() protoreflect.EnumNumber
- func (x OperationState) String() string
- func (OperationState) Type() protoreflect.EnumType
- func (x *OperationState) UnmarshalJSON(b []byte) errordeprecated
- type OperationStatus
- func (*OperationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *OperationStatus) GetAgentId() *AgentID
- func (x *OperationStatus) GetConvertedResources() []*Resource
- func (x *OperationStatus) GetMessage() string
- func (x *OperationStatus) GetOperationId() *OperationID
- func (x *OperationStatus) GetResourceProviderId() *ResourceProviderID
- func (x *OperationStatus) GetState() OperationState
- func (x *OperationStatus) GetUuid() *UUID
- func (*OperationStatus) ProtoMessage()
- func (x *OperationStatus) ProtoReflect() protoreflect.Message
- func (x *OperationStatus) Reset()
- func (x *OperationStatus) String() string
- type Parameter
- type Parameters
- type PerfStatistics
- func (*PerfStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *PerfStatistics) GetAlignmentFaults() uint64
- func (x *PerfStatistics) GetBranchLoadMisses() uint64
- func (x *PerfStatistics) GetBranchLoads() uint64
- func (x *PerfStatistics) GetBranchMisses() uint64
- func (x *PerfStatistics) GetBranches() uint64
- func (x *PerfStatistics) GetBusCycles() uint64
- func (x *PerfStatistics) GetCacheMisses() uint64
- func (x *PerfStatistics) GetCacheReferences() uint64
- func (x *PerfStatistics) GetContextSwitches() uint64
- func (x *PerfStatistics) GetCpuClock() float64
- func (x *PerfStatistics) GetCpuMigrations() uint64
- func (x *PerfStatistics) GetCycles() uint64
- func (x *PerfStatistics) GetDtlbLoadMisses() uint64
- func (x *PerfStatistics) GetDtlbLoads() uint64
- func (x *PerfStatistics) GetDtlbPrefetchMisses() uint64
- func (x *PerfStatistics) GetDtlbPrefetches() uint64
- func (x *PerfStatistics) GetDtlbStoreMisses() uint64
- func (x *PerfStatistics) GetDtlbStores() uint64
- func (x *PerfStatistics) GetDuration() float64
- func (x *PerfStatistics) GetEmulationFaults() uint64
- func (x *PerfStatistics) GetInstructions() uint64
- func (x *PerfStatistics) GetItlbLoadMisses() uint64
- func (x *PerfStatistics) GetItlbLoads() uint64
- func (x *PerfStatistics) GetL1DcacheLoadMisses() uint64
- func (x *PerfStatistics) GetL1DcacheLoads() uint64
- func (x *PerfStatistics) GetL1DcachePrefetchMisses() uint64
- func (x *PerfStatistics) GetL1DcachePrefetches() uint64
- func (x *PerfStatistics) GetL1DcacheStoreMisses() uint64
- func (x *PerfStatistics) GetL1DcacheStores() uint64
- func (x *PerfStatistics) GetL1IcacheLoadMisses() uint64
- func (x *PerfStatistics) GetL1IcacheLoads() uint64
- func (x *PerfStatistics) GetL1IcachePrefetchMisses() uint64
- func (x *PerfStatistics) GetL1IcachePrefetches() uint64
- func (x *PerfStatistics) GetLlcLoadMisses() uint64
- func (x *PerfStatistics) GetLlcLoads() uint64
- func (x *PerfStatistics) GetLlcPrefetchMisses() uint64
- func (x *PerfStatistics) GetLlcPrefetches() uint64
- func (x *PerfStatistics) GetLlcStoreMisses() uint64
- func (x *PerfStatistics) GetLlcStores() uint64
- func (x *PerfStatistics) GetMajorFaults() uint64
- func (x *PerfStatistics) GetMinorFaults() uint64
- func (x *PerfStatistics) GetNodeLoadMisses() uint64
- func (x *PerfStatistics) GetNodeLoads() uint64
- func (x *PerfStatistics) GetNodePrefetchMisses() uint64
- func (x *PerfStatistics) GetNodePrefetches() uint64
- func (x *PerfStatistics) GetNodeStoreMisses() uint64
- func (x *PerfStatistics) GetNodeStores() uint64
- func (x *PerfStatistics) GetPageFaults() uint64
- func (x *PerfStatistics) GetRefCycles() uint64
- func (x *PerfStatistics) GetStalledCyclesBackend() uint64
- func (x *PerfStatistics) GetStalledCyclesFrontend() uint64
- func (x *PerfStatistics) GetTaskClock() float64
- func (x *PerfStatistics) GetTimestamp() float64
- func (*PerfStatistics) ProtoMessage()
- func (x *PerfStatistics) ProtoReflect() protoreflect.Message
- func (x *PerfStatistics) Reset()
- func (x *PerfStatistics) String() string
- type Port
- func (*Port) Descriptor() ([]byte, []int)deprecated
- func (x *Port) GetLabels() *Labels
- func (x *Port) GetName() string
- func (x *Port) GetNumber() uint32
- func (x *Port) GetProtocol() string
- func (x *Port) GetVisibility() DiscoveryInfo_Visibility
- func (*Port) ProtoMessage()
- func (x *Port) ProtoReflect() protoreflect.Message
- func (x *Port) Reset()
- func (x *Port) String() string
- type Ports
- type RLimitInfo
- type RLimitInfo_RLimit
- func (*RLimitInfo_RLimit) Descriptor() ([]byte, []int)deprecated
- func (x *RLimitInfo_RLimit) GetHard() uint64
- func (x *RLimitInfo_RLimit) GetSoft() uint64
- func (x *RLimitInfo_RLimit) GetType() RLimitInfo_RLimit_Type
- func (*RLimitInfo_RLimit) ProtoMessage()
- func (x *RLimitInfo_RLimit) ProtoReflect() protoreflect.Message
- func (x *RLimitInfo_RLimit) Reset()
- func (x *RLimitInfo_RLimit) String() string
- type RLimitInfo_RLimit_Type
- func (RLimitInfo_RLimit_Type) Descriptor() protoreflect.EnumDescriptor
- func (x RLimitInfo_RLimit_Type) Enum() *RLimitInfo_RLimit_Type
- func (RLimitInfo_RLimit_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x RLimitInfo_RLimit_Type) Number() protoreflect.EnumNumber
- func (x RLimitInfo_RLimit_Type) String() string
- func (RLimitInfo_RLimit_Type) Type() protoreflect.EnumType
- func (x *RLimitInfo_RLimit_Type) UnmarshalJSON(b []byte) errordeprecated
- type RateLimit
- func (*RateLimit) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimit) GetCapacity() uint64
- func (x *RateLimit) GetPrincipal() string
- func (x *RateLimit) GetQps() float64
- func (*RateLimit) ProtoMessage()
- func (x *RateLimit) ProtoReflect() protoreflect.Message
- func (x *RateLimit) Reset()
- func (x *RateLimit) String() string
- type RateLimits
- func (*RateLimits) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimits) GetAggregateDefaultCapacity() uint64
- func (x *RateLimits) GetAggregateDefaultQps() float64
- func (x *RateLimits) GetLimits() []*RateLimit
- func (*RateLimits) ProtoMessage()
- func (x *RateLimits) ProtoReflect() protoreflect.Message
- func (x *RateLimits) Reset()
- func (x *RateLimits) String() string
- type Request
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetAllocationInfo() *Resource_AllocationInfo
- func (x *Resource) GetDisk() *Resource_DiskInfo
- func (x *Resource) GetName() string
- func (x *Resource) GetProviderId() *ResourceProviderID
- func (x *Resource) GetRanges() *Value_Ranges
- func (x *Resource) GetReservation() *Resource_ReservationInfo
- func (x *Resource) GetReservations() []*Resource_ReservationInfo
- func (x *Resource) GetRevocable() *Resource_RevocableInfo
- func (x *Resource) GetRole() stringdeprecated
- func (x *Resource) GetScalar() *Value_Scalar
- func (x *Resource) GetSet() *Value_Set
- func (x *Resource) GetShared() *Resource_SharedInfo
- func (x *Resource) GetType() Value_Type
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceProviderID
- func (*ResourceProviderID) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceProviderID) GetValue() string
- func (*ResourceProviderID) ProtoMessage()
- func (x *ResourceProviderID) ProtoReflect() protoreflect.Message
- func (x *ResourceProviderID) Reset()
- func (x *ResourceProviderID) String() string
- type ResourceProviderInfo
- func (*ResourceProviderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceProviderInfo) GetAttributes() []*Attribute
- func (x *ResourceProviderInfo) GetDefaultReservations() []*Resource_ReservationInfo
- func (x *ResourceProviderInfo) GetId() *ResourceProviderID
- func (x *ResourceProviderInfo) GetName() string
- func (x *ResourceProviderInfo) GetStorage() *ResourceProviderInfo_Storage
- func (x *ResourceProviderInfo) GetType() string
- func (*ResourceProviderInfo) ProtoMessage()
- func (x *ResourceProviderInfo) ProtoReflect() protoreflect.Message
- func (x *ResourceProviderInfo) Reset()
- func (x *ResourceProviderInfo) String() string
- type ResourceProviderInfo_Storage
- func (*ResourceProviderInfo_Storage) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceProviderInfo_Storage) GetPlugin() *CSIPluginInfo
- func (x *ResourceProviderInfo_Storage) GetReconciliationIntervalSeconds() float64
- func (*ResourceProviderInfo_Storage) ProtoMessage()
- func (x *ResourceProviderInfo_Storage) ProtoReflect() protoreflect.Message
- func (x *ResourceProviderInfo_Storage) Reset()
- func (x *ResourceProviderInfo_Storage) String() string
- type ResourceStatistics
- func (*ResourceStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceStatistics) GetBlkioStatistics() *CgroupInfo_Blkio_Statistics
- func (x *ResourceStatistics) GetCpusLimit() float64
- func (x *ResourceStatistics) GetCpusNrPeriods() uint32
- func (x *ResourceStatistics) GetCpusNrThrottled() uint32
- func (x *ResourceStatistics) GetCpusSoftLimit() float64
- func (x *ResourceStatistics) GetCpusSystemTimeSecs() float64
- func (x *ResourceStatistics) GetCpusThrottledTimeSecs() float64
- func (x *ResourceStatistics) GetCpusUserTimeSecs() float64
- func (x *ResourceStatistics) GetDiskLimitBytes() uint64
- func (x *ResourceStatistics) GetDiskStatistics() []*DiskStatistics
- func (x *ResourceStatistics) GetDiskUsedBytes() uint64
- func (x *ResourceStatistics) GetMemAnonBytes() uint64
- func (x *ResourceStatistics) GetMemCacheBytes() uint64
- func (x *ResourceStatistics) GetMemCriticalPressureCounter() uint64
- func (x *ResourceStatistics) GetMemFileBytes() uint64
- func (x *ResourceStatistics) GetMemKmemTcpUsageBytes() uint64
- func (x *ResourceStatistics) GetMemKmemUsageBytes() uint64
- func (x *ResourceStatistics) GetMemLimitBytes() uint64
- func (x *ResourceStatistics) GetMemLowPressureCounter() uint64
- func (x *ResourceStatistics) GetMemMappedFileBytes() uint64
- func (x *ResourceStatistics) GetMemMediumPressureCounter() uint64
- func (x *ResourceStatistics) GetMemRssBytes() uint64
- func (x *ResourceStatistics) GetMemSoftLimitBytes() uint64
- func (x *ResourceStatistics) GetMemSwapBytes() uint64
- func (x *ResourceStatistics) GetMemTotalBytes() uint64
- func (x *ResourceStatistics) GetMemTotalMemswBytes() uint64
- func (x *ResourceStatistics) GetMemUnevictableBytes() uint64
- func (x *ResourceStatistics) GetNetEphemeralPorts() *Value_Range
- func (x *ResourceStatistics) GetNetRateStatistics() *ResourceStatistics_RateStatistics
- func (x *ResourceStatistics) GetNetRxBurstRateLimit() uint64
- func (x *ResourceStatistics) GetNetRxBurstSize() uint64
- func (x *ResourceStatistics) GetNetRxBytes() uint64
- func (x *ResourceStatistics) GetNetRxDropped() uint64
- func (x *ResourceStatistics) GetNetRxErrors() uint64
- func (x *ResourceStatistics) GetNetRxPackets() uint64
- func (x *ResourceStatistics) GetNetRxRateLimit() uint64
- func (x *ResourceStatistics) GetNetSnmpStatistics() *SNMPStatistics
- func (x *ResourceStatistics) GetNetTcpActiveConnections() float64
- func (x *ResourceStatistics) GetNetTcpRttMicrosecsP50() float64
- func (x *ResourceStatistics) GetNetTcpRttMicrosecsP90() float64
- func (x *ResourceStatistics) GetNetTcpRttMicrosecsP95() float64
- func (x *ResourceStatistics) GetNetTcpRttMicrosecsP99() float64
- func (x *ResourceStatistics) GetNetTcpTimeWaitConnections() float64
- func (x *ResourceStatistics) GetNetTrafficControlStatistics() []*TrafficControlStatistics
- func (x *ResourceStatistics) GetNetTxBurstRateLimit() uint64
- func (x *ResourceStatistics) GetNetTxBurstSize() uint64
- func (x *ResourceStatistics) GetNetTxBytes() uint64
- func (x *ResourceStatistics) GetNetTxDropped() uint64
- func (x *ResourceStatistics) GetNetTxErrors() uint64
- func (x *ResourceStatistics) GetNetTxPackets() uint64
- func (x *ResourceStatistics) GetNetTxRateLimit() uint64
- func (x *ResourceStatistics) GetPerf() *PerfStatistics
- func (x *ResourceStatistics) GetProcesses() uint32
- func (x *ResourceStatistics) GetThreads() uint32
- func (x *ResourceStatistics) GetTimestamp() float64
- func (*ResourceStatistics) ProtoMessage()
- func (x *ResourceStatistics) ProtoReflect() protoreflect.Message
- func (x *ResourceStatistics) Reset()
- func (x *ResourceStatistics) String() string
- type ResourceStatistics_RatePercentiles
- func (*ResourceStatistics_RatePercentiles) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceStatistics_RatePercentiles) GetMax() uint64
- func (x *ResourceStatistics_RatePercentiles) GetMin() uint64
- func (x *ResourceStatistics_RatePercentiles) GetP50() uint64
- func (x *ResourceStatistics_RatePercentiles) GetP90() uint64
- func (x *ResourceStatistics_RatePercentiles) GetP95() uint64
- func (x *ResourceStatistics_RatePercentiles) GetP99() uint64
- func (x *ResourceStatistics_RatePercentiles) GetP999() uint64
- func (x *ResourceStatistics_RatePercentiles) GetP9999() uint64
- func (x *ResourceStatistics_RatePercentiles) GetSamples() uint64
- func (*ResourceStatistics_RatePercentiles) ProtoMessage()
- func (x *ResourceStatistics_RatePercentiles) ProtoReflect() protoreflect.Message
- func (x *ResourceStatistics_RatePercentiles) Reset()
- func (x *ResourceStatistics_RatePercentiles) String() string
- type ResourceStatistics_RateStatistics
- func (*ResourceStatistics_RateStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceStatistics_RateStatistics) GetRxDropRate() *ResourceStatistics_RatePercentiles
- func (x *ResourceStatistics_RateStatistics) GetRxErrorRate() *ResourceStatistics_RatePercentiles
- func (x *ResourceStatistics_RateStatistics) GetRxPacketRate() *ResourceStatistics_RatePercentiles
- func (x *ResourceStatistics_RateStatistics) GetRxRate() *ResourceStatistics_RatePercentiles
- func (x *ResourceStatistics_RateStatistics) GetSamplingIntervalSecs() float64
- func (x *ResourceStatistics_RateStatistics) GetSamplingWindowSecs() float64
- func (x *ResourceStatistics_RateStatistics) GetTxDropRate() *ResourceStatistics_RatePercentiles
- func (x *ResourceStatistics_RateStatistics) GetTxErrorRate() *ResourceStatistics_RatePercentiles
- func (x *ResourceStatistics_RateStatistics) GetTxPacketRate() *ResourceStatistics_RatePercentiles
- func (x *ResourceStatistics_RateStatistics) GetTxRate() *ResourceStatistics_RatePercentiles
- func (*ResourceStatistics_RateStatistics) ProtoMessage()
- func (x *ResourceStatistics_RateStatistics) ProtoReflect() protoreflect.Message
- func (x *ResourceStatistics_RateStatistics) Reset()
- func (x *ResourceStatistics_RateStatistics) String() string
- type ResourceUsage
- func (*ResourceUsage) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceUsage) GetExecutors() []*ResourceUsage_Executor
- func (x *ResourceUsage) GetTotal() []*Resource
- func (*ResourceUsage) ProtoMessage()
- func (x *ResourceUsage) ProtoReflect() protoreflect.Message
- func (x *ResourceUsage) Reset()
- func (x *ResourceUsage) String() string
- type ResourceUsage_Executor
- func (*ResourceUsage_Executor) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceUsage_Executor) GetAllocated() []*Resource
- func (x *ResourceUsage_Executor) GetContainerId() *ContainerID
- func (x *ResourceUsage_Executor) GetExecutorInfo() *ExecutorInfo
- func (x *ResourceUsage_Executor) GetStatistics() *ResourceStatistics
- func (x *ResourceUsage_Executor) GetTasks() []*ResourceUsage_Executor_Task
- func (*ResourceUsage_Executor) ProtoMessage()
- func (x *ResourceUsage_Executor) ProtoReflect() protoreflect.Message
- func (x *ResourceUsage_Executor) Reset()
- func (x *ResourceUsage_Executor) String() string
- type ResourceUsage_Executor_Task
- func (*ResourceUsage_Executor_Task) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceUsage_Executor_Task) GetId() *TaskID
- func (x *ResourceUsage_Executor_Task) GetLabels() *Labels
- func (x *ResourceUsage_Executor_Task) GetName() string
- func (x *ResourceUsage_Executor_Task) GetResources() []*Resource
- func (*ResourceUsage_Executor_Task) ProtoMessage()
- func (x *ResourceUsage_Executor_Task) ProtoReflect() protoreflect.Message
- func (x *ResourceUsage_Executor_Task) Reset()
- func (x *ResourceUsage_Executor_Task) String() string
- type Resource_AllocationInfo
- func (*Resource_AllocationInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Resource_AllocationInfo) GetRole() string
- func (*Resource_AllocationInfo) ProtoMessage()
- func (x *Resource_AllocationInfo) ProtoReflect() protoreflect.Message
- func (x *Resource_AllocationInfo) Reset()
- func (x *Resource_AllocationInfo) String() string
- type Resource_DiskInfo
- func (*Resource_DiskInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Resource_DiskInfo) GetPersistence() *Resource_DiskInfo_Persistence
- func (x *Resource_DiskInfo) GetSource() *Resource_DiskInfo_Source
- func (x *Resource_DiskInfo) GetVolume() *Volume
- func (*Resource_DiskInfo) ProtoMessage()
- func (x *Resource_DiskInfo) ProtoReflect() protoreflect.Message
- func (x *Resource_DiskInfo) Reset()
- func (x *Resource_DiskInfo) String() string
- type Resource_DiskInfo_Persistence
- func (*Resource_DiskInfo_Persistence) Descriptor() ([]byte, []int)deprecated
- func (x *Resource_DiskInfo_Persistence) GetId() string
- func (x *Resource_DiskInfo_Persistence) GetPrincipal() string
- func (*Resource_DiskInfo_Persistence) ProtoMessage()
- func (x *Resource_DiskInfo_Persistence) ProtoReflect() protoreflect.Message
- func (x *Resource_DiskInfo_Persistence) Reset()
- func (x *Resource_DiskInfo_Persistence) String() string
- type Resource_DiskInfo_Source
- func (*Resource_DiskInfo_Source) Descriptor() ([]byte, []int)deprecated
- func (x *Resource_DiskInfo_Source) GetId() string
- func (x *Resource_DiskInfo_Source) GetMetadata() *Labels
- func (x *Resource_DiskInfo_Source) GetMount() *Resource_DiskInfo_Source_Mount
- func (x *Resource_DiskInfo_Source) GetPath() *Resource_DiskInfo_Source_Path
- func (x *Resource_DiskInfo_Source) GetProfile() string
- func (x *Resource_DiskInfo_Source) GetType() Resource_DiskInfo_Source_Type
- func (x *Resource_DiskInfo_Source) GetVendor() string
- func (*Resource_DiskInfo_Source) ProtoMessage()
- func (x *Resource_DiskInfo_Source) ProtoReflect() protoreflect.Message
- func (x *Resource_DiskInfo_Source) Reset()
- func (x *Resource_DiskInfo_Source) String() string
- type Resource_DiskInfo_Source_Mount
- func (*Resource_DiskInfo_Source_Mount) Descriptor() ([]byte, []int)deprecated
- func (x *Resource_DiskInfo_Source_Mount) GetRoot() string
- func (*Resource_DiskInfo_Source_Mount) ProtoMessage()
- func (x *Resource_DiskInfo_Source_Mount) ProtoReflect() protoreflect.Message
- func (x *Resource_DiskInfo_Source_Mount) Reset()
- func (x *Resource_DiskInfo_Source_Mount) String() string
- type Resource_DiskInfo_Source_Path
- func (*Resource_DiskInfo_Source_Path) Descriptor() ([]byte, []int)deprecated
- func (x *Resource_DiskInfo_Source_Path) GetRoot() string
- func (*Resource_DiskInfo_Source_Path) ProtoMessage()
- func (x *Resource_DiskInfo_Source_Path) ProtoReflect() protoreflect.Message
- func (x *Resource_DiskInfo_Source_Path) Reset()
- func (x *Resource_DiskInfo_Source_Path) String() string
- type Resource_DiskInfo_Source_Type
- func (Resource_DiskInfo_Source_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Resource_DiskInfo_Source_Type) Enum() *Resource_DiskInfo_Source_Type
- func (Resource_DiskInfo_Source_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Resource_DiskInfo_Source_Type) Number() protoreflect.EnumNumber
- func (x Resource_DiskInfo_Source_Type) String() string
- func (Resource_DiskInfo_Source_Type) Type() protoreflect.EnumType
- func (x *Resource_DiskInfo_Source_Type) UnmarshalJSON(b []byte) errordeprecated
- type Resource_ReservationInfo
- func (*Resource_ReservationInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Resource_ReservationInfo) GetLabels() *Labels
- func (x *Resource_ReservationInfo) GetPrincipal() string
- func (x *Resource_ReservationInfo) GetRole() string
- func (x *Resource_ReservationInfo) GetType() Resource_ReservationInfo_Type
- func (*Resource_ReservationInfo) ProtoMessage()
- func (x *Resource_ReservationInfo) ProtoReflect() protoreflect.Message
- func (x *Resource_ReservationInfo) Reset()
- func (x *Resource_ReservationInfo) String() string
- type Resource_ReservationInfo_Type
- func (Resource_ReservationInfo_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Resource_ReservationInfo_Type) Enum() *Resource_ReservationInfo_Type
- func (Resource_ReservationInfo_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Resource_ReservationInfo_Type) Number() protoreflect.EnumNumber
- func (x Resource_ReservationInfo_Type) String() string
- func (Resource_ReservationInfo_Type) Type() protoreflect.EnumType
- func (x *Resource_ReservationInfo_Type) UnmarshalJSON(b []byte) errordeprecated
- type Resource_RevocableInfo
- type Resource_SharedInfo
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetReconcileOperations() *Response_ReconcileOperationsdeprecated
- func (x *Response) GetType() Response_Type
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Response_ReconcileOperations
- func (*Response_ReconcileOperations) Descriptor() ([]byte, []int)deprecated
- func (x *Response_ReconcileOperations) GetOperationStatuses() []*OperationStatusdeprecated
- func (*Response_ReconcileOperations) ProtoMessage()
- func (x *Response_ReconcileOperations) ProtoReflect() protoreflect.Message
- func (x *Response_ReconcileOperations) Reset()
- func (x *Response_ReconcileOperations) String() string
- type Response_Type
- func (Response_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Response_Type) Enum() *Response_Type
- func (Response_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Response_Type) Number() protoreflect.EnumNumber
- func (x Response_Type) String() string
- func (Response_Type) Type() protoreflect.EnumType
- func (x *Response_Type) UnmarshalJSON(b []byte) errordeprecated
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetFrameworks() []*FrameworkID
- func (x *Role) GetName() string
- func (x *Role) GetResources() []*Resource
- func (x *Role) GetWeight() float64
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- type SNMPStatistics
- func (*SNMPStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *SNMPStatistics) GetIcmpStats() *IcmpStatistics
- func (x *SNMPStatistics) GetIpStats() *IpStatistics
- func (x *SNMPStatistics) GetTcpStats() *TcpStatistics
- func (x *SNMPStatistics) GetUdpStats() *UdpStatistics
- func (*SNMPStatistics) ProtoMessage()
- func (x *SNMPStatistics) ProtoReflect() protoreflect.Message
- func (x *SNMPStatistics) Reset()
- func (x *SNMPStatistics) String() string
- type SeccompInfo
- func (*SeccompInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SeccompInfo) GetProfileName() string
- func (x *SeccompInfo) GetUnconfined() bool
- func (*SeccompInfo) ProtoMessage()
- func (x *SeccompInfo) ProtoReflect() protoreflect.Message
- func (x *SeccompInfo) Reset()
- func (x *SeccompInfo) String() string
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetReference() *Secret_Reference
- func (x *Secret) GetType() Secret_Type
- func (x *Secret) GetValue() *Secret_Value
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (x *Secret) String() string
- type Secret_Reference
- func (*Secret_Reference) Descriptor() ([]byte, []int)deprecated
- func (x *Secret_Reference) GetKey() string
- func (x *Secret_Reference) GetName() string
- func (*Secret_Reference) ProtoMessage()
- func (x *Secret_Reference) ProtoReflect() protoreflect.Message
- func (x *Secret_Reference) Reset()
- func (x *Secret_Reference) String() string
- type Secret_Type
- func (Secret_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Secret_Type) Enum() *Secret_Type
- func (Secret_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Secret_Type) Number() protoreflect.EnumNumber
- func (x Secret_Type) String() string
- func (Secret_Type) Type() protoreflect.EnumType
- func (x *Secret_Type) UnmarshalJSON(b []byte) errordeprecated
- type Secret_Value
- type Status
- func (Status) Descriptor() protoreflect.EnumDescriptor
- func (x Status) Enum() *Status
- func (Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Status) Number() protoreflect.EnumNumber
- func (x Status) String() string
- func (Status) Type() protoreflect.EnumType
- func (x *Status) UnmarshalJSON(b []byte) errordeprecated
- type TTYInfo
- type TTYInfo_WindowSize
- func (*TTYInfo_WindowSize) Descriptor() ([]byte, []int)deprecated
- func (x *TTYInfo_WindowSize) GetColumns() uint32
- func (x *TTYInfo_WindowSize) GetRows() uint32
- func (*TTYInfo_WindowSize) ProtoMessage()
- func (x *TTYInfo_WindowSize) ProtoReflect() protoreflect.Message
- func (x *TTYInfo_WindowSize) Reset()
- func (x *TTYInfo_WindowSize) String() string
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetAgentId() *AgentID
- func (x *Task) GetContainer() *ContainerInfo
- func (x *Task) GetDiscovery() *DiscoveryInfo
- func (x *Task) GetExecutorId() *ExecutorID
- func (x *Task) GetFrameworkId() *FrameworkID
- func (x *Task) GetHealthCheck() *HealthCheck
- func (x *Task) GetKillPolicy() *KillPolicy
- func (x *Task) GetLabels() *Labels
- func (x *Task) GetLimits() map[string]*Value_Scalar
- func (x *Task) GetName() string
- func (x *Task) GetResources() []*Resource
- func (x *Task) GetState() TaskState
- func (x *Task) GetStatusUpdateState() TaskState
- func (x *Task) GetStatusUpdateUuid() []byte
- func (x *Task) GetStatuses() []*TaskStatus
- func (x *Task) GetTaskId() *TaskID
- func (x *Task) GetUser() string
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type TaskGroupInfo
- type TaskID
- type TaskInfo
- func (*TaskInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TaskInfo) GetAgentId() *AgentID
- func (x *TaskInfo) GetCheck() *CheckInfo
- func (x *TaskInfo) GetCommand() *CommandInfo
- func (x *TaskInfo) GetContainer() *ContainerInfo
- func (x *TaskInfo) GetData() []byte
- func (x *TaskInfo) GetDiscovery() *DiscoveryInfo
- func (x *TaskInfo) GetExecutor() *ExecutorInfo
- func (x *TaskInfo) GetHealthCheck() *HealthCheck
- func (x *TaskInfo) GetKillPolicy() *KillPolicy
- func (x *TaskInfo) GetLabels() *Labels
- func (x *TaskInfo) GetLimits() map[string]*Value_Scalar
- func (x *TaskInfo) GetMaxCompletionTime() *DurationInfo
- func (x *TaskInfo) GetName() string
- func (x *TaskInfo) GetResources() []*Resource
- func (x *TaskInfo) GetTaskId() *TaskID
- func (*TaskInfo) ProtoMessage()
- func (x *TaskInfo) ProtoReflect() protoreflect.Message
- func (x *TaskInfo) Reset()
- func (x *TaskInfo) String() string
- type TaskResourceLimitation
- func (*TaskResourceLimitation) Descriptor() ([]byte, []int)deprecated
- func (x *TaskResourceLimitation) GetResources() []*Resource
- func (*TaskResourceLimitation) ProtoMessage()
- func (x *TaskResourceLimitation) ProtoReflect() protoreflect.Message
- func (x *TaskResourceLimitation) Reset()
- func (x *TaskResourceLimitation) String() string
- type TaskState
- func (TaskState) Descriptor() protoreflect.EnumDescriptor
- func (x TaskState) Enum() *TaskState
- func (TaskState) EnumDescriptor() ([]byte, []int)deprecated
- func (x TaskState) Number() protoreflect.EnumNumber
- func (x TaskState) String() string
- func (TaskState) Type() protoreflect.EnumType
- func (x *TaskState) UnmarshalJSON(b []byte) errordeprecated
- type TaskStatus
- func (*TaskStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TaskStatus) GetAgentId() *AgentID
- func (x *TaskStatus) GetCheckStatus() *CheckStatusInfo
- func (x *TaskStatus) GetContainerStatus() *ContainerStatus
- func (x *TaskStatus) GetData() []byte
- func (x *TaskStatus) GetExecutorId() *ExecutorID
- func (x *TaskStatus) GetHealthy() bool
- func (x *TaskStatus) GetLabels() *Labels
- func (x *TaskStatus) GetLimitation() *TaskResourceLimitation
- func (x *TaskStatus) GetMessage() string
- func (x *TaskStatus) GetReason() TaskStatus_Reason
- func (x *TaskStatus) GetSource() TaskStatus_Source
- func (x *TaskStatus) GetState() TaskState
- func (x *TaskStatus) GetTaskId() *TaskID
- func (x *TaskStatus) GetTimestamp() float64
- func (x *TaskStatus) GetUnreachableTime() *TimeInfo
- func (x *TaskStatus) GetUuid() []byte
- func (*TaskStatus) ProtoMessage()
- func (x *TaskStatus) ProtoReflect() protoreflect.Message
- func (x *TaskStatus) Reset()
- func (x *TaskStatus) String() string
- type TaskStatus_Reason
- func (TaskStatus_Reason) Descriptor() protoreflect.EnumDescriptor
- func (x TaskStatus_Reason) Enum() *TaskStatus_Reason
- func (TaskStatus_Reason) EnumDescriptor() ([]byte, []int)deprecated
- func (x TaskStatus_Reason) Number() protoreflect.EnumNumber
- func (x TaskStatus_Reason) String() string
- func (TaskStatus_Reason) Type() protoreflect.EnumType
- func (x *TaskStatus_Reason) UnmarshalJSON(b []byte) errordeprecated
- type TaskStatus_Source
- func (TaskStatus_Source) Descriptor() protoreflect.EnumDescriptor
- func (x TaskStatus_Source) Enum() *TaskStatus_Source
- func (TaskStatus_Source) EnumDescriptor() ([]byte, []int)deprecated
- func (x TaskStatus_Source) Number() protoreflect.EnumNumber
- func (x TaskStatus_Source) String() string
- func (TaskStatus_Source) Type() protoreflect.EnumType
- func (x *TaskStatus_Source) UnmarshalJSON(b []byte) errordeprecated
- type TcpStatistics
- func (*TcpStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *TcpStatistics) GetActiveOpens() int64
- func (x *TcpStatistics) GetAttemptFails() int64
- func (x *TcpStatistics) GetCurrEstab() int64
- func (x *TcpStatistics) GetEstabResets() int64
- func (x *TcpStatistics) GetInCsumErrors() int64
- func (x *TcpStatistics) GetInErrs() int64
- func (x *TcpStatistics) GetInSegs() int64
- func (x *TcpStatistics) GetMaxConn() int64
- func (x *TcpStatistics) GetOutRsts() int64
- func (x *TcpStatistics) GetOutSegs() int64
- func (x *TcpStatistics) GetPassiveOpens() int64
- func (x *TcpStatistics) GetRetransSegs() int64
- func (x *TcpStatistics) GetRtoAlgorithm() int64
- func (x *TcpStatistics) GetRtoMax() int64
- func (x *TcpStatistics) GetRtoMin() int64
- func (*TcpStatistics) ProtoMessage()
- func (x *TcpStatistics) ProtoReflect() protoreflect.Message
- func (x *TcpStatistics) Reset()
- func (x *TcpStatistics) String() string
- type TimeInfo
- type TrafficControlStatistics
- func (*TrafficControlStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficControlStatistics) GetBacklog() uint64
- func (x *TrafficControlStatistics) GetBytes() uint64
- func (x *TrafficControlStatistics) GetDrops() uint64
- func (x *TrafficControlStatistics) GetId() string
- func (x *TrafficControlStatistics) GetOverlimits() uint64
- func (x *TrafficControlStatistics) GetPackets() uint64
- func (x *TrafficControlStatistics) GetQlen() uint64
- func (x *TrafficControlStatistics) GetRatebps() uint64
- func (x *TrafficControlStatistics) GetRatepps() uint64
- func (x *TrafficControlStatistics) GetRequeues() uint64
- func (*TrafficControlStatistics) ProtoMessage()
- func (x *TrafficControlStatistics) ProtoReflect() protoreflect.Message
- func (x *TrafficControlStatistics) Reset()
- func (x *TrafficControlStatistics) String() string
- type URL
- func (*URL) Descriptor() ([]byte, []int)deprecated
- func (x *URL) GetAddress() *Address
- func (x *URL) GetFragment() string
- func (x *URL) GetPath() string
- func (x *URL) GetQuery() []*Parameter
- func (x *URL) GetScheme() string
- func (*URL) ProtoMessage()
- func (x *URL) ProtoReflect() protoreflect.Message
- func (x *URL) Reset()
- func (x *URL) String() string
- type UUID
- type UdpStatistics
- func (*UdpStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *UdpStatistics) GetIgnoredMulti() int64
- func (x *UdpStatistics) GetInCsumErrors() int64
- func (x *UdpStatistics) GetInDatagrams() int64
- func (x *UdpStatistics) GetInErrors() int64
- func (x *UdpStatistics) GetNoPorts() int64
- func (x *UdpStatistics) GetOutDatagrams() int64
- func (x *UdpStatistics) GetRcvbufErrors() int64
- func (x *UdpStatistics) GetSndbufErrors() int64
- func (*UdpStatistics) ProtoMessage()
- func (x *UdpStatistics) ProtoReflect() protoreflect.Message
- func (x *UdpStatistics) Reset()
- func (x *UdpStatistics) String() string
- type Unavailability
- func (*Unavailability) Descriptor() ([]byte, []int)deprecated
- func (x *Unavailability) GetDuration() *DurationInfo
- func (x *Unavailability) GetStart() *TimeInfo
- func (*Unavailability) ProtoMessage()
- func (x *Unavailability) ProtoReflect() protoreflect.Message
- func (x *Unavailability) Reset()
- func (x *Unavailability) String() string
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetRanges() *Value_Ranges
- func (x *Value) GetScalar() *Value_Scalar
- func (x *Value) GetSet() *Value_Set
- func (x *Value) GetText() *Value_Text
- func (x *Value) GetType() Value_Type
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_Range
- type Value_Ranges
- type Value_Scalar
- type Value_Set
- type Value_Text
- type Value_Type
- func (Value_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Value_Type) Enum() *Value_Type
- func (Value_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Value_Type) Number() protoreflect.EnumNumber
- func (x Value_Type) String() string
- func (Value_Type) Type() protoreflect.EnumType
- func (x *Value_Type) UnmarshalJSON(b []byte) errordeprecated
- type VersionInfo
- func (*VersionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VersionInfo) GetBuildDate() string
- func (x *VersionInfo) GetBuildTime() float64
- func (x *VersionInfo) GetBuildUser() string
- func (x *VersionInfo) GetGitBranch() string
- func (x *VersionInfo) GetGitSha() string
- func (x *VersionInfo) GetGitTag() string
- func (x *VersionInfo) GetVersion() string
- func (*VersionInfo) ProtoMessage()
- func (x *VersionInfo) ProtoReflect() protoreflect.Message
- func (x *VersionInfo) Reset()
- func (x *VersionInfo) String() string
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume) GetContainerPath() string
- func (x *Volume) GetHostPath() string
- func (x *Volume) GetImage() *Image
- func (x *Volume) GetMode() Volume_Mode
- func (x *Volume) GetSource() *Volume_Source
- func (*Volume) ProtoMessage()
- func (x *Volume) ProtoReflect() protoreflect.Message
- func (x *Volume) Reset()
- func (x *Volume) String() string
- type Volume_Mode
- func (Volume_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x Volume_Mode) Enum() *Volume_Mode
- func (Volume_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Volume_Mode) Number() protoreflect.EnumNumber
- func (x Volume_Mode) String() string
- func (Volume_Mode) Type() protoreflect.EnumType
- func (x *Volume_Mode) UnmarshalJSON(b []byte) errordeprecated
- type Volume_Source
- func (*Volume_Source) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_Source) GetCsiVolume() *Volume_Source_CSIVolume
- func (x *Volume_Source) GetDockerVolume() *Volume_Source_DockerVolume
- func (x *Volume_Source) GetHostPath() *Volume_Source_HostPath
- func (x *Volume_Source) GetSandboxPath() *Volume_Source_SandboxPath
- func (x *Volume_Source) GetSecret() *Secret
- func (x *Volume_Source) GetType() Volume_Source_Type
- func (*Volume_Source) ProtoMessage()
- func (x *Volume_Source) ProtoReflect() protoreflect.Message
- func (x *Volume_Source) Reset()
- func (x *Volume_Source) String() string
- type Volume_Source_CSIVolume
- func (*Volume_Source_CSIVolume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_Source_CSIVolume) GetPluginName() string
- func (x *Volume_Source_CSIVolume) GetStaticProvisioning() *Volume_Source_CSIVolume_StaticProvisioning
- func (*Volume_Source_CSIVolume) ProtoMessage()
- func (x *Volume_Source_CSIVolume) ProtoReflect() protoreflect.Message
- func (x *Volume_Source_CSIVolume) Reset()
- func (x *Volume_Source_CSIVolume) String() string
- type Volume_Source_CSIVolume_StaticProvisioning
- func (*Volume_Source_CSIVolume_StaticProvisioning) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_Source_CSIVolume_StaticProvisioning) GetNodePublishSecrets() map[string]*Secret
- func (x *Volume_Source_CSIVolume_StaticProvisioning) GetNodeStageSecrets() map[string]*Secret
- func (x *Volume_Source_CSIVolume_StaticProvisioning) GetVolumeCapability() *Volume_Source_CSIVolume_VolumeCapability
- func (x *Volume_Source_CSIVolume_StaticProvisioning) GetVolumeContext() map[string]string
- func (x *Volume_Source_CSIVolume_StaticProvisioning) GetVolumeId() string
- func (*Volume_Source_CSIVolume_StaticProvisioning) ProtoMessage()
- func (x *Volume_Source_CSIVolume_StaticProvisioning) ProtoReflect() protoreflect.Message
- func (x *Volume_Source_CSIVolume_StaticProvisioning) Reset()
- func (x *Volume_Source_CSIVolume_StaticProvisioning) String() string
- type Volume_Source_CSIVolume_VolumeCapability
- func (*Volume_Source_CSIVolume_VolumeCapability) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_Source_CSIVolume_VolumeCapability) GetAccessMode() *Volume_Source_CSIVolume_VolumeCapability_AccessMode
- func (m *Volume_Source_CSIVolume_VolumeCapability) GetAccessType() isVolume_Source_CSIVolume_VolumeCapability_AccessType
- func (x *Volume_Source_CSIVolume_VolumeCapability) GetBlock() *Volume_Source_CSIVolume_VolumeCapability_BlockVolume
- func (x *Volume_Source_CSIVolume_VolumeCapability) GetMount() *Volume_Source_CSIVolume_VolumeCapability_MountVolume
- func (*Volume_Source_CSIVolume_VolumeCapability) ProtoMessage()
- func (x *Volume_Source_CSIVolume_VolumeCapability) ProtoReflect() protoreflect.Message
- func (x *Volume_Source_CSIVolume_VolumeCapability) Reset()
- func (x *Volume_Source_CSIVolume_VolumeCapability) String() string
- type Volume_Source_CSIVolume_VolumeCapability_AccessMode
- func (*Volume_Source_CSIVolume_VolumeCapability_AccessMode) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_Source_CSIVolume_VolumeCapability_AccessMode) GetMode() Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode
- func (*Volume_Source_CSIVolume_VolumeCapability_AccessMode) ProtoMessage()
- func (x *Volume_Source_CSIVolume_VolumeCapability_AccessMode) ProtoReflect() protoreflect.Message
- func (x *Volume_Source_CSIVolume_VolumeCapability_AccessMode) Reset()
- func (x *Volume_Source_CSIVolume_VolumeCapability_AccessMode) String() string
- type Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode
- func (Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) Enum() *Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode
- func (Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) Number() protoreflect.EnumNumber
- func (x Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) String() string
- func (Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) Type() protoreflect.EnumType
- func (x *Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) UnmarshalJSON(b []byte) errordeprecated
- type Volume_Source_CSIVolume_VolumeCapability_Block
- type Volume_Source_CSIVolume_VolumeCapability_BlockVolume
- func (*Volume_Source_CSIVolume_VolumeCapability_BlockVolume) Descriptor() ([]byte, []int)deprecated
- func (*Volume_Source_CSIVolume_VolumeCapability_BlockVolume) ProtoMessage()
- func (x *Volume_Source_CSIVolume_VolumeCapability_BlockVolume) ProtoReflect() protoreflect.Message
- func (x *Volume_Source_CSIVolume_VolumeCapability_BlockVolume) Reset()
- func (x *Volume_Source_CSIVolume_VolumeCapability_BlockVolume) String() string
- type Volume_Source_CSIVolume_VolumeCapability_Mount
- type Volume_Source_CSIVolume_VolumeCapability_MountVolume
- func (*Volume_Source_CSIVolume_VolumeCapability_MountVolume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_Source_CSIVolume_VolumeCapability_MountVolume) GetFsType() string
- func (x *Volume_Source_CSIVolume_VolumeCapability_MountVolume) GetMountFlags() []string
- func (*Volume_Source_CSIVolume_VolumeCapability_MountVolume) ProtoMessage()
- func (x *Volume_Source_CSIVolume_VolumeCapability_MountVolume) ProtoReflect() protoreflect.Message
- func (x *Volume_Source_CSIVolume_VolumeCapability_MountVolume) Reset()
- func (x *Volume_Source_CSIVolume_VolumeCapability_MountVolume) String() string
- type Volume_Source_DockerVolume
- func (*Volume_Source_DockerVolume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_Source_DockerVolume) GetDriver() string
- func (x *Volume_Source_DockerVolume) GetDriverOptions() *Parameters
- func (x *Volume_Source_DockerVolume) GetName() string
- func (*Volume_Source_DockerVolume) ProtoMessage()
- func (x *Volume_Source_DockerVolume) ProtoReflect() protoreflect.Message
- func (x *Volume_Source_DockerVolume) Reset()
- func (x *Volume_Source_DockerVolume) String() string
- type Volume_Source_HostPath
- func (*Volume_Source_HostPath) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_Source_HostPath) GetMountPropagation() *MountPropagation
- func (x *Volume_Source_HostPath) GetPath() string
- func (*Volume_Source_HostPath) ProtoMessage()
- func (x *Volume_Source_HostPath) ProtoReflect() protoreflect.Message
- func (x *Volume_Source_HostPath) Reset()
- func (x *Volume_Source_HostPath) String() string
- type Volume_Source_SandboxPath
- func (*Volume_Source_SandboxPath) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_Source_SandboxPath) GetPath() string
- func (x *Volume_Source_SandboxPath) GetType() Volume_Source_SandboxPath_Type
- func (*Volume_Source_SandboxPath) ProtoMessage()
- func (x *Volume_Source_SandboxPath) ProtoReflect() protoreflect.Message
- func (x *Volume_Source_SandboxPath) Reset()
- func (x *Volume_Source_SandboxPath) String() string
- type Volume_Source_SandboxPath_Type
- func (Volume_Source_SandboxPath_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Volume_Source_SandboxPath_Type) Enum() *Volume_Source_SandboxPath_Type
- func (Volume_Source_SandboxPath_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Volume_Source_SandboxPath_Type) Number() protoreflect.EnumNumber
- func (x Volume_Source_SandboxPath_Type) String() string
- func (Volume_Source_SandboxPath_Type) Type() protoreflect.EnumType
- func (x *Volume_Source_SandboxPath_Type) UnmarshalJSON(b []byte) errordeprecated
- type Volume_Source_Type
- func (Volume_Source_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Volume_Source_Type) Enum() *Volume_Source_Type
- func (Volume_Source_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Volume_Source_Type) Number() protoreflect.EnumNumber
- func (x Volume_Source_Type) String() string
- func (Volume_Source_Type) Type() protoreflect.EnumType
- func (x *Volume_Source_Type) UnmarshalJSON(b []byte) errordeprecated
- type WeightInfo
Constants ¶
const ( Default_FrameworkInfo_FailoverTimeout = float64(0) Default_FrameworkInfo_Checkpoint = bool(false) Default_FrameworkInfo_Role = string("*") )
Default values for FrameworkInfo fields.
const ( Default_CheckInfo_DelaySeconds = float64(15) Default_CheckInfo_IntervalSeconds = float64(10) Default_CheckInfo_TimeoutSeconds = float64(20) )
Default values for CheckInfo fields.
const ( Default_HealthCheck_DelaySeconds = float64(15) Default_HealthCheck_IntervalSeconds = float64(10) Default_HealthCheck_TimeoutSeconds = float64(20) Default_HealthCheck_ConsecutiveFailures = uint32(3) Default_HealthCheck_GracePeriodSeconds = float64(10) )
Default values for HealthCheck fields.
const ( Default_ContainerInfo_DockerInfo_Network = ContainerInfo_DockerInfo_HOST Default_ContainerInfo_DockerInfo_Privileged = bool(false) )
Default values for ContainerInfo_DockerInfo fields.
const (
Default_AgentInfo_Port = int32(5051)
)
Default values for AgentInfo fields.
const (
Default_CSIPluginInfo_Name = string("default")
)
Default values for CSIPluginInfo fields.
const (
Default_CommandInfo_Shell = bool(true)
)
Default values for CommandInfo fields.
const (
Default_CommandInfo_URI_Extract = bool(true)
)
Default values for CommandInfo_URI fields.
const (
Default_DrainConfig_MarkGone = bool(false)
)
Default values for DrainConfig fields.
const (
Default_Environment_Variable_Type = Environment_Variable_VALUE
)
Default values for Environment_Variable fields.
const (
Default_Filters_RefuseSeconds = float64(5)
)
Default values for Filters fields.
const (
Default_HealthCheck_HTTPCheckInfo_Protocol = NetworkInfo_IPv4
)
Default values for HealthCheck_HTTPCheckInfo fields.
const (
Default_HealthCheck_TCPCheckInfo_Protocol = NetworkInfo_IPv4
)
Default values for HealthCheck_TCPCheckInfo fields.
const (
Default_Image_Cached = bool(true)
)
Default values for Image fields.
const (
)Default values for LinuxInfo fields.
const (
Default_MasterInfo_Port = uint32(5050)
)
Default values for MasterInfo fields.
const (
Default_NetworkInfo_IPAddress_Protocol = NetworkInfo_IPv4
)
Default values for NetworkInfo_IPAddress fields.
const (
Default_Resource_Role = string("*")
)
Default values for Resource fields.
Variables ¶
var ( Status_name = map[int32]string{ 1: "DRIVER_NOT_STARTED", 2: "DRIVER_RUNNING", 3: "DRIVER_ABORTED", 4: "DRIVER_STOPPED", } Status_value = map[string]int32{ "DRIVER_NOT_STARTED": 1, "DRIVER_RUNNING": 2, "DRIVER_ABORTED": 3, "DRIVER_STOPPED": 4, } )
Enum value maps for Status.
var ( TaskState_name = map[int32]string{ 6: "TASK_STAGING", 0: "TASK_STARTING", 1: "TASK_RUNNING", 8: "TASK_KILLING", 2: "TASK_FINISHED", 3: "TASK_FAILED", 4: "TASK_KILLED", 7: "TASK_ERROR", 5: "TASK_LOST", 9: "TASK_DROPPED", 10: "TASK_UNREACHABLE", 11: "TASK_GONE", 12: "TASK_GONE_BY_OPERATOR", 13: "TASK_UNKNOWN", } TaskState_value = map[string]int32{ "TASK_STAGING": 6, "TASK_STARTING": 0, "TASK_RUNNING": 1, "TASK_KILLING": 8, "TASK_FINISHED": 2, "TASK_FAILED": 3, "TASK_KILLED": 4, "TASK_ERROR": 7, "TASK_LOST": 5, "TASK_DROPPED": 9, "TASK_UNREACHABLE": 10, "TASK_GONE": 11, "TASK_GONE_BY_OPERATOR": 12, "TASK_UNKNOWN": 13, } )
Enum value maps for TaskState.
var ( OperationState_name = map[int32]string{ 0: "OPERATION_UNSUPPORTED", 1: "OPERATION_PENDING", 2: "OPERATION_FINISHED", 3: "OPERATION_FAILED", 4: "OPERATION_ERROR", 5: "OPERATION_DROPPED", 6: "OPERATION_UNREACHABLE", 7: "OPERATION_GONE_BY_OPERATOR", 8: "OPERATION_RECOVERING", 9: "OPERATION_UNKNOWN", } OperationState_value = map[string]int32{ "OPERATION_UNSUPPORTED": 0, "OPERATION_PENDING": 1, "OPERATION_FINISHED": 2, "OPERATION_FAILED": 3, "OPERATION_ERROR": 4, "OPERATION_DROPPED": 5, "OPERATION_UNREACHABLE": 6, "OPERATION_GONE_BY_OPERATOR": 7, "OPERATION_RECOVERING": 8, "OPERATION_UNKNOWN": 9, } )
Enum value maps for OperationState.
var ( DrainState_name = map[int32]string{ 0: "UNKNOWN", 1: "DRAINING", 2: "DRAINED", } DrainState_value = map[string]int32{ "UNKNOWN": 0, "DRAINING": 1, "DRAINED": 2, } )
Enum value maps for DrainState.
var ( MachineInfo_Mode_name = map[int32]string{ 1: "UP", 2: "DRAINING", 3: "DOWN", } MachineInfo_Mode_value = map[string]int32{ "UP": 1, "DRAINING": 2, "DOWN": 3, } )
Enum value maps for MachineInfo_Mode.
var ( FrameworkInfo_Capability_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "REVOCABLE_RESOURCES", 2: "TASK_KILLING_STATE", 3: "GPU_RESOURCES", 4: "SHARED_RESOURCES", 5: "PARTITION_AWARE", 6: "MULTI_ROLE", 7: "RESERVATION_REFINEMENT", 8: "REGION_AWARE", } FrameworkInfo_Capability_Type_value = map[string]int32{ "UNKNOWN": 0, "REVOCABLE_RESOURCES": 1, "TASK_KILLING_STATE": 2, "GPU_RESOURCES": 3, "SHARED_RESOURCES": 4, "PARTITION_AWARE": 5, "MULTI_ROLE": 6, "RESERVATION_REFINEMENT": 7, "REGION_AWARE": 8, } )
Enum value maps for FrameworkInfo_Capability_Type.
var ( CheckInfo_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "COMMAND", 2: "HTTP", 3: "TCP", } CheckInfo_Type_value = map[string]int32{ "UNKNOWN": 0, "COMMAND": 1, "HTTP": 2, "TCP": 3, } )
Enum value maps for CheckInfo_Type.
var ( HealthCheck_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "COMMAND", 2: "HTTP", 3: "TCP", } HealthCheck_Type_value = map[string]int32{ "UNKNOWN": 0, "COMMAND": 1, "HTTP": 2, "TCP": 3, } )
Enum value maps for HealthCheck_Type.
var ( ExecutorInfo_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "DEFAULT", 2: "CUSTOM", } ExecutorInfo_Type_value = map[string]int32{ "UNKNOWN": 0, "DEFAULT": 1, "CUSTOM": 2, } )
Enum value maps for ExecutorInfo_Type.
var ( MasterInfo_Capability_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "AGENT_UPDATE", 2: "AGENT_DRAINING", 3: "QUOTA_V2", } MasterInfo_Capability_Type_value = map[string]int32{ "UNKNOWN": 0, "AGENT_UPDATE": 1, "AGENT_DRAINING": 2, "QUOTA_V2": 3, } )
Enum value maps for MasterInfo_Capability_Type.
var ( AgentInfo_Capability_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "MULTI_ROLE", 2: "HIERARCHICAL_ROLE", 3: "RESERVATION_REFINEMENT", 4: "RESOURCE_PROVIDER", 5: "RESIZE_VOLUME", 6: "AGENT_OPERATION_FEEDBACK", 7: "AGENT_DRAINING", 8: "TASK_RESOURCE_LIMITS", } AgentInfo_Capability_Type_value = map[string]int32{ "UNKNOWN": 0, "MULTI_ROLE": 1, "HIERARCHICAL_ROLE": 2, "RESERVATION_REFINEMENT": 3, "RESOURCE_PROVIDER": 4, "RESIZE_VOLUME": 5, "AGENT_OPERATION_FEEDBACK": 6, "AGENT_DRAINING": 7, "TASK_RESOURCE_LIMITS": 8, } )
Enum value maps for AgentInfo_Capability_Type.
var ( CSIPluginContainerInfo_Service_name = map[int32]string{ 0: "UNKNOWN", 1: "CONTROLLER_SERVICE", 2: "NODE_SERVICE", } CSIPluginContainerInfo_Service_value = map[string]int32{ "UNKNOWN": 0, "CONTROLLER_SERVICE": 1, "NODE_SERVICE": 2, } )
Enum value maps for CSIPluginContainerInfo_Service.
var ( Value_Type_name = map[int32]string{ 0: "SCALAR", 1: "RANGES", 2: "SET", 3: "TEXT", } Value_Type_value = map[string]int32{ "SCALAR": 0, "RANGES": 1, "SET": 2, "TEXT": 3, } )
Enum value maps for Value_Type.
var ( Resource_ReservationInfo_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "STATIC", 2: "DYNAMIC", } Resource_ReservationInfo_Type_value = map[string]int32{ "UNKNOWN": 0, "STATIC": 1, "DYNAMIC": 2, } )
Enum value maps for Resource_ReservationInfo_Type.
var ( Resource_DiskInfo_Source_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "PATH", 2: "MOUNT", 3: "BLOCK", 4: "RAW", } Resource_DiskInfo_Source_Type_value = map[string]int32{ "UNKNOWN": 0, "PATH": 1, "MOUNT": 2, "BLOCK": 3, "RAW": 4, } )
Enum value maps for Resource_DiskInfo_Source_Type.
var ( Offer_Operation_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "LAUNCH", 6: "LAUNCH_GROUP", 2: "RESERVE", 3: "UNRESERVE", 4: "CREATE", 5: "DESTROY", 11: "GROW_VOLUME", 12: "SHRINK_VOLUME", 13: "CREATE_DISK", 14: "DESTROY_DISK", } Offer_Operation_Type_value = map[string]int32{ "UNKNOWN": 0, "LAUNCH": 1, "LAUNCH_GROUP": 6, "RESERVE": 2, "UNRESERVE": 3, "CREATE": 4, "DESTROY": 5, "GROW_VOLUME": 11, "SHRINK_VOLUME": 12, "CREATE_DISK": 13, "DESTROY_DISK": 14, } )
Enum value maps for Offer_Operation_Type.
var ( TaskStatus_Source_name = map[int32]string{ 0: "SOURCE_MASTER", 1: "SOURCE_AGENT", 2: "SOURCE_EXECUTOR", } TaskStatus_Source_value = map[string]int32{ "SOURCE_MASTER": 0, "SOURCE_AGENT": 1, "SOURCE_EXECUTOR": 2, } )
Enum value maps for TaskStatus_Source.
var ( TaskStatus_Reason_name = map[int32]string{ 0: "REASON_COMMAND_EXECUTOR_FAILED", 21: "REASON_CONTAINER_LAUNCH_FAILED", 19: "REASON_CONTAINER_LIMITATION", 20: "REASON_CONTAINER_LIMITATION_DISK", 8: "REASON_CONTAINER_LIMITATION_MEMORY", 17: "REASON_CONTAINER_PREEMPTED", 22: "REASON_CONTAINER_UPDATE_FAILED", 33: "REASON_MAX_COMPLETION_TIME_REACHED", 23: "REASON_EXECUTOR_REGISTRATION_TIMEOUT", 24: "REASON_EXECUTOR_REREGISTRATION_TIMEOUT", 1: "REASON_EXECUTOR_TERMINATED", 2: "REASON_EXECUTOR_UNREGISTERED", 3: "REASON_FRAMEWORK_REMOVED", 4: "REASON_GC_ERROR", 5: "REASON_INVALID_FRAMEWORKID", 6: "REASON_INVALID_OFFERS", 27: "REASON_IO_SWITCHBOARD_EXITED", 7: "REASON_MASTER_DISCONNECTED", 9: "REASON_RECONCILIATION", 18: "REASON_RESOURCES_UNKNOWN", 10: "REASON_AGENT_DISCONNECTED", 34: "REASON_AGENT_DRAINING", 11: "REASON_AGENT_REMOVED", 31: "REASON_AGENT_REMOVED_BY_OPERATOR", 32: "REASON_AGENT_REREGISTERED", 12: "REASON_AGENT_RESTARTED", 13: "REASON_AGENT_UNKNOWN", 30: "REASON_TASK_KILLED_DURING_LAUNCH", 28: "REASON_TASK_CHECK_STATUS_UPDATED", 29: "REASON_TASK_HEALTH_CHECK_STATUS_UPDATED", 25: "REASON_TASK_GROUP_INVALID", 26: "REASON_TASK_GROUP_UNAUTHORIZED", 14: "REASON_TASK_INVALID", 15: "REASON_TASK_UNAUTHORIZED", 16: "REASON_TASK_UNKNOWN", } TaskStatus_Reason_value = map[string]int32{ "REASON_COMMAND_EXECUTOR_FAILED": 0, "REASON_CONTAINER_LAUNCH_FAILED": 21, "REASON_CONTAINER_LIMITATION": 19, "REASON_CONTAINER_LIMITATION_DISK": 20, "REASON_CONTAINER_LIMITATION_MEMORY": 8, "REASON_CONTAINER_PREEMPTED": 17, "REASON_CONTAINER_UPDATE_FAILED": 22, "REASON_MAX_COMPLETION_TIME_REACHED": 33, "REASON_EXECUTOR_REGISTRATION_TIMEOUT": 23, "REASON_EXECUTOR_REREGISTRATION_TIMEOUT": 24, "REASON_EXECUTOR_TERMINATED": 1, "REASON_EXECUTOR_UNREGISTERED": 2, "REASON_FRAMEWORK_REMOVED": 3, "REASON_GC_ERROR": 4, "REASON_INVALID_FRAMEWORKID": 5, "REASON_INVALID_OFFERS": 6, "REASON_IO_SWITCHBOARD_EXITED": 27, "REASON_MASTER_DISCONNECTED": 7, "REASON_RECONCILIATION": 9, "REASON_RESOURCES_UNKNOWN": 18, "REASON_AGENT_DISCONNECTED": 10, "REASON_AGENT_DRAINING": 34, "REASON_AGENT_REMOVED": 11, "REASON_AGENT_REMOVED_BY_OPERATOR": 31, "REASON_AGENT_REREGISTERED": 32, "REASON_AGENT_RESTARTED": 12, "REASON_AGENT_UNKNOWN": 13, "REASON_TASK_KILLED_DURING_LAUNCH": 30, "REASON_TASK_CHECK_STATUS_UPDATED": 28, "REASON_TASK_HEALTH_CHECK_STATUS_UPDATED": 29, "REASON_TASK_GROUP_INVALID": 25, "REASON_TASK_GROUP_UNAUTHORIZED": 26, "REASON_TASK_INVALID": 14, "REASON_TASK_UNAUTHORIZED": 15, "REASON_TASK_UNKNOWN": 16, } )
Enum value maps for TaskStatus_Reason.
var ( Environment_Variable_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "VALUE", 2: "SECRET", } Environment_Variable_Type_value = map[string]int32{ "UNKNOWN": 0, "VALUE": 1, "SECRET": 2, } )
Enum value maps for Environment_Variable_Type.
var ( Secret_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "REFERENCE", 2: "VALUE", } Secret_Type_value = map[string]int32{ "UNKNOWN": 0, "REFERENCE": 1, "VALUE": 2, } )
Enum value maps for Secret_Type.
var ( Image_Type_name = map[int32]string{ 1: "APPC", 2: "DOCKER", } Image_Type_value = map[string]int32{ "APPC": 1, "DOCKER": 2, } )
Enum value maps for Image_Type.
var ( MountPropagation_Mode_name = map[int32]string{ 0: "UNKNOWN", 1: "HOST_TO_CONTAINER", 2: "BIDIRECTIONAL", } MountPropagation_Mode_value = map[string]int32{ "UNKNOWN": 0, "HOST_TO_CONTAINER": 1, "BIDIRECTIONAL": 2, } )
Enum value maps for MountPropagation_Mode.
var ( Volume_Mode_name = map[int32]string{ 1: "RW", 2: "RO", } Volume_Mode_value = map[string]int32{ "RW": 1, "RO": 2, } )
Enum value maps for Volume_Mode.
var ( Volume_Source_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "DOCKER_VOLUME", 4: "HOST_PATH", 2: "SANDBOX_PATH", 3: "SECRET", 5: "CSI_VOLUME", } Volume_Source_Type_value = map[string]int32{ "UNKNOWN": 0, "DOCKER_VOLUME": 1, "HOST_PATH": 4, "SANDBOX_PATH": 2, "SECRET": 3, "CSI_VOLUME": 5, } )
Enum value maps for Volume_Source_Type.
var ( Volume_Source_SandboxPath_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "SELF", 2: "PARENT", } Volume_Source_SandboxPath_Type_value = map[string]int32{ "UNKNOWN": 0, "SELF": 1, "PARENT": 2, } )
Enum value maps for Volume_Source_SandboxPath_Type.
var ( Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode_name = map[int32]string{ 0: "UNKNOWN", 1: "SINGLE_NODE_WRITER", 2: "SINGLE_NODE_READER_ONLY", 3: "MULTI_NODE_READER_ONLY", 4: "MULTI_NODE_SINGLE_WRITER", 5: "MULTI_NODE_MULTI_WRITER", } Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode_value = map[string]int32{ "UNKNOWN": 0, "SINGLE_NODE_WRITER": 1, "SINGLE_NODE_READER_ONLY": 2, "MULTI_NODE_READER_ONLY": 3, "MULTI_NODE_SINGLE_WRITER": 4, "MULTI_NODE_MULTI_WRITER": 5, } )
Enum value maps for Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode.
var ( NetworkInfo_Protocol_name = map[int32]string{ 1: "IPv4", 2: "IPv6", } NetworkInfo_Protocol_value = map[string]int32{ "IPv4": 1, "IPv6": 2, } )
Enum value maps for NetworkInfo_Protocol.
var ( CapabilityInfo_Capability_name = map[int32]string{ 0: "UNKNOWN", 1000: "CHOWN", 1001: "DAC_OVERRIDE", 1002: "DAC_READ_SEARCH", 1003: "FOWNER", 1004: "FSETID", 1005: "KILL", 1006: "SETGID", 1007: "SETUID", 1008: "SETPCAP", 1009: "LINUX_IMMUTABLE", 1010: "NET_BIND_SERVICE", 1011: "NET_BROADCAST", 1012: "NET_ADMIN", 1013: "NET_RAW", 1014: "IPC_LOCK", 1015: "IPC_OWNER", 1016: "SYS_MODULE", 1017: "SYS_RAWIO", 1018: "SYS_CHROOT", 1019: "SYS_PTRACE", 1020: "SYS_PACCT", 1021: "SYS_ADMIN", 1022: "SYS_BOOT", 1023: "SYS_NICE", 1024: "SYS_RESOURCE", 1025: "SYS_TIME", 1026: "SYS_TTY_CONFIG", 1027: "MKNOD", 1028: "LEASE", 1029: "AUDIT_WRITE", 1030: "AUDIT_CONTROL", 1031: "SETFCAP", 1032: "MAC_OVERRIDE", 1033: "MAC_ADMIN", 1034: "SYSLOG", 1035: "WAKE_ALARM", 1036: "BLOCK_SUSPEND", 1037: "AUDIT_READ", 1038: "PERFMON", 1039: "BPF", 1040: "CHECKPOINT_RESTORE", } CapabilityInfo_Capability_value = map[string]int32{ "UNKNOWN": 0, "CHOWN": 1000, "DAC_OVERRIDE": 1001, "DAC_READ_SEARCH": 1002, "FOWNER": 1003, "FSETID": 1004, "KILL": 1005, "SETGID": 1006, "SETUID": 1007, "SETPCAP": 1008, "LINUX_IMMUTABLE": 1009, "NET_BIND_SERVICE": 1010, "NET_BROADCAST": 1011, "NET_ADMIN": 1012, "NET_RAW": 1013, "IPC_LOCK": 1014, "IPC_OWNER": 1015, "SYS_MODULE": 1016, "SYS_RAWIO": 1017, "SYS_CHROOT": 1018, "SYS_PTRACE": 1019, "SYS_PACCT": 1020, "SYS_ADMIN": 1021, "SYS_BOOT": 1022, "SYS_NICE": 1023, "SYS_RESOURCE": 1024, "SYS_TIME": 1025, "SYS_TTY_CONFIG": 1026, "MKNOD": 1027, "LEASE": 1028, "AUDIT_WRITE": 1029, "AUDIT_CONTROL": 1030, "SETFCAP": 1031, "MAC_OVERRIDE": 1032, "MAC_ADMIN": 1033, "SYSLOG": 1034, "WAKE_ALARM": 1035, "BLOCK_SUSPEND": 1036, "AUDIT_READ": 1037, "PERFMON": 1038, "BPF": 1039, "CHECKPOINT_RESTORE": 1040, } )
Enum value maps for CapabilityInfo_Capability.
var ( LinuxInfo_IpcMode_name = map[int32]string{ 0: "UNKNOWN", 1: "PRIVATE", 2: "SHARE_PARENT", } LinuxInfo_IpcMode_value = map[string]int32{ "UNKNOWN": 0, "PRIVATE": 1, "SHARE_PARENT": 2, } )
Enum value maps for LinuxInfo_IpcMode.
var ( RLimitInfo_RLimit_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "RLMT_AS", 2: "RLMT_CORE", 3: "RLMT_CPU", 4: "RLMT_DATA", 5: "RLMT_FSIZE", 6: "RLMT_LOCKS", 7: "RLMT_MEMLOCK", 8: "RLMT_MSGQUEUE", 9: "RLMT_NICE", 10: "RLMT_NOFILE", 11: "RLMT_NPROC", 12: "RLMT_RSS", 13: "RLMT_RTPRIO", 14: "RLMT_RTTIME", 15: "RLMT_SIGPENDING", 16: "RLMT_STACK", } RLimitInfo_RLimit_Type_value = map[string]int32{ "UNKNOWN": 0, "RLMT_AS": 1, "RLMT_CORE": 2, "RLMT_CPU": 3, "RLMT_DATA": 4, "RLMT_FSIZE": 5, "RLMT_LOCKS": 6, "RLMT_MEMLOCK": 7, "RLMT_MSGQUEUE": 8, "RLMT_NICE": 9, "RLMT_NOFILE": 10, "RLMT_NPROC": 11, "RLMT_RSS": 12, "RLMT_RTPRIO": 13, "RLMT_RTTIME": 14, "RLMT_SIGPENDING": 15, "RLMT_STACK": 16, } )
Enum value maps for RLimitInfo_RLimit_Type.
var ( ContainerInfo_Type_name = map[int32]string{ 1: "DOCKER", 2: "MESOS", } ContainerInfo_Type_value = map[string]int32{ "DOCKER": 1, "MESOS": 2, } )
Enum value maps for ContainerInfo_Type.
var ( ContainerInfo_DockerInfo_Network_name = map[int32]string{ 1: "HOST", 2: "BRIDGE", 3: "NONE", 4: "USER", } ContainerInfo_DockerInfo_Network_value = map[string]int32{ "HOST": 1, "BRIDGE": 2, "NONE": 3, "USER": 4, } )
Enum value maps for ContainerInfo_DockerInfo_Network.
var ( CgroupInfo_Blkio_Operation_name = map[int32]string{ 0: "UNKNOWN", 1: "TOTAL", 2: "READ", 3: "WRITE", 4: "SYNC", 5: "ASYNC", 6: "DISCARD", } CgroupInfo_Blkio_Operation_value = map[string]int32{ "UNKNOWN": 0, "TOTAL": 1, "READ": 2, "WRITE": 3, "SYNC": 4, "ASYNC": 5, "DISCARD": 6, } )
Enum value maps for CgroupInfo_Blkio_Operation.
var ( DiscoveryInfo_Visibility_name = map[int32]string{ 0: "FRAMEWORK", 1: "CLUSTER", 2: "EXTERNAL", } DiscoveryInfo_Visibility_value = map[string]int32{ "FRAMEWORK": 0, "CLUSTER": 1, "EXTERNAL": 2, } )
Enum value maps for DiscoveryInfo_Visibility.
var ( Event_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "SUBSCRIBED", 2: "OFFERS", 9: "INVERSE_OFFERS", 3: "RESCIND", 10: "RESCIND_INVERSE_OFFER", 4: "UPDATE", 11: "UPDATE_OPERATION_STATUS", 5: "MESSAGE", 6: "FAILURE", 7: "ERROR", 8: "HEARTBEAT", } Event_Type_value = map[string]int32{ "UNKNOWN": 0, "SUBSCRIBED": 1, "OFFERS": 2, "INVERSE_OFFERS": 9, "RESCIND": 3, "RESCIND_INVERSE_OFFER": 10, "UPDATE": 4, "UPDATE_OPERATION_STATUS": 11, "MESSAGE": 5, "FAILURE": 6, "ERROR": 7, "HEARTBEAT": 8, } )
Enum value maps for Event_Type.
var ( Response_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "RECONCILE_OPERATIONS", } Response_Type_value = map[string]int32{ "UNKNOWN": 0, "RECONCILE_OPERATIONS": 1, } )
Enum value maps for Response_Type.
var ( AttributeConstraint_Selector_PseudoattributeType_name = map[int32]string{ 0: "UNKNOWN", 1: "HOSTNAME", 2: "REGION", 3: "ZONE", } AttributeConstraint_Selector_PseudoattributeType_value = map[string]int32{ "UNKNOWN": 0, "HOSTNAME": 1, "REGION": 2, "ZONE": 3, } )
Enum value maps for AttributeConstraint_Selector_PseudoattributeType.
var ( Call_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "SUBSCRIBE", 2: "TEARDOWN", 3: "ACCEPT", 4: "DECLINE", 13: "ACCEPT_INVERSE_OFFERS", 14: "DECLINE_INVERSE_OFFERS", 5: "REVIVE", 6: "KILL", 7: "SHUTDOWN", 8: "ACKNOWLEDGE", 15: "ACKNOWLEDGE_OPERATION_STATUS", 9: "RECONCILE", 16: "RECONCILE_OPERATIONS", 10: "MESSAGE", 11: "REQUEST", 12: "SUPPRESS", 17: "UPDATE_FRAMEWORK", } Call_Type_value = map[string]int32{ "UNKNOWN": 0, "SUBSCRIBE": 1, "TEARDOWN": 2, "ACCEPT": 3, "DECLINE": 4, "ACCEPT_INVERSE_OFFERS": 13, "DECLINE_INVERSE_OFFERS": 14, "REVIVE": 5, "KILL": 6, "SHUTDOWN": 7, "ACKNOWLEDGE": 8, "ACKNOWLEDGE_OPERATION_STATUS": 15, "RECONCILE": 9, "RECONCILE_OPERATIONS": 16, "MESSAGE": 10, "REQUEST": 11, "SUPPRESS": 12, "UPDATE_FRAMEWORK": 17, } )
Enum value maps for Call_Type.
var File_mesos_proto protoreflect.FileDescriptor
var File_scheduler_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type APIResult ¶ added in v1.1.0
type APIResult struct { // HTTP status code with which the master responded. StatusCode *uint32 `protobuf:"varint,1,req,name=status_code,json=statusCode" json:"status_code,omitempty"` // NOTE: After resolution of MESOS-9648, this field is not currently used by // Mesos. It is left in place in anticipation of future use. // // This field will only be set if the call completed successfully and the // master responded with `200 OK` and a non-empty body. Response *Response `protobuf:"bytes,2,opt,name=response" json:"response,omitempty"` // This field will only be set if the call did not complete successfully and // the master responded with a status other than `202 Accepted` or `200 OK`, // and with a non-empty body. Error *string `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"` // contains filtered or unexported fields }
* EXPERIMENTAL.
This message is used by the C++ Scheduler HTTP API library as the return type of the `call()` method. The message includes the HTTP status code with which the master responded, and optionally a `scheduler::Response` message.
There are three cases to consider depending on the HTTP response status code:
(1) '202 ACCEPTED': Indicates the call was accepted for processing and neither `response` nor `error` will be set. (2) '200 OK': Indicates the call completed successfully, and the `response` field will be set if the `scheduler::Call::Type` has a corresponding `scheduler::Response::Type`; `error` will not be set. (3) For all other HTTP status codes, the `response` field will not be set and the `error` field may be set to provide more information.
NOTE: This message is used by the C++ Scheduler HTTP API library and is not part of the API specification.
func (*APIResult) Descriptor
deprecated
added in
v1.1.0
func (*APIResult) GetResponse ¶ added in v1.1.0
func (*APIResult) GetStatusCode ¶ added in v1.1.0
func (*APIResult) ProtoMessage ¶ added in v1.1.0
func (*APIResult) ProtoMessage()
func (*APIResult) ProtoReflect ¶ added in v1.1.0
func (x *APIResult) ProtoReflect() protoreflect.Message
type Address ¶
type Address struct { // May contain a hostname, IP address, or both. Hostname *string `protobuf:"bytes,1,opt,name=hostname" json:"hostname,omitempty"` Ip *string `protobuf:"bytes,2,opt,name=ip" json:"ip,omitempty"` Port *int32 `protobuf:"varint,3,req,name=port" json:"port,omitempty"` // contains filtered or unexported fields }
* A network address.
TODO(bmahler): Use this more widely.
func (*Address) Descriptor
deprecated
func (*Address) GetHostname ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶ added in v1.1.0
func (x *Address) ProtoReflect() protoreflect.Message
type AgentID ¶
type AgentID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* A unique ID assigned to an agent. Currently, an agent gets a new ID whenever it (re)registers with Mesos. Framework writers shouldn't assume any binding between an agent ID and and a hostname.
func (*AgentID) Descriptor
deprecated
func (*AgentID) ProtoMessage ¶
func (*AgentID) ProtoMessage()
func (*AgentID) ProtoReflect ¶ added in v1.1.0
func (x *AgentID) ProtoReflect() protoreflect.Message
type AgentInfo ¶
type AgentInfo 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"` // The configured resources at the agent. This does not include any // dynamic reservations or persistent volumes that may currently // exist at the agent. Resources []*Resource `protobuf:"bytes,3,rep,name=resources" json:"resources,omitempty"` Attributes []*Attribute `protobuf:"bytes,5,rep,name=attributes" json:"attributes,omitempty"` Id *AgentID `protobuf:"bytes,6,opt,name=id" json:"id,omitempty"` // The domain that this agent belongs to. If the agent's region // differs from the master's region, it will not appear in resource // offers to frameworks that have not enabled the REGION_AWARE // capability. Domain *DomainInfo `protobuf:"bytes,10,opt,name=domain" json:"domain,omitempty"` // contains filtered or unexported fields }
* Describes an agent. Note that the 'id' field is only available after an agent is registered with the master, and is made available here to facilitate re-registration.
func (*AgentInfo) Descriptor
deprecated
func (*AgentInfo) GetAttributes ¶
func (*AgentInfo) GetDomain ¶
func (x *AgentInfo) GetDomain() *DomainInfo
func (*AgentInfo) GetHostname ¶
func (*AgentInfo) GetResources ¶
func (*AgentInfo) ProtoMessage ¶
func (*AgentInfo) ProtoMessage()
func (*AgentInfo) ProtoReflect ¶ added in v1.1.0
func (x *AgentInfo) ProtoReflect() protoreflect.Message
type AgentInfo_Capability ¶
type AgentInfo_Capability struct { // Enum fields should be optional, see: MESOS-4997. Type *AgentInfo_Capability_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.AgentInfo_Capability_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*AgentInfo_Capability) Descriptor
deprecated
func (*AgentInfo_Capability) Descriptor() ([]byte, []int)
Deprecated: Use AgentInfo_Capability.ProtoReflect.Descriptor instead.
func (*AgentInfo_Capability) GetType ¶
func (x *AgentInfo_Capability) GetType() AgentInfo_Capability_Type
func (*AgentInfo_Capability) ProtoMessage ¶
func (*AgentInfo_Capability) ProtoMessage()
func (*AgentInfo_Capability) ProtoReflect ¶ added in v1.1.0
func (x *AgentInfo_Capability) ProtoReflect() protoreflect.Message
func (*AgentInfo_Capability) Reset ¶
func (x *AgentInfo_Capability) Reset()
func (*AgentInfo_Capability) String ¶
func (x *AgentInfo_Capability) String() string
type AgentInfo_Capability_Type ¶
type AgentInfo_Capability_Type int32
const ( // This must be the first enum value in this list, to // ensure that if 'type' is not set, the default value // is UNKNOWN. This enables enum values to be added // in a backwards-compatible way. See: MESOS-4997. AgentInfo_Capability_UNKNOWN AgentInfo_Capability_Type = 0 // This expresses the ability for the agent to be able // to launch tasks of a 'multi-role' framework. AgentInfo_Capability_MULTI_ROLE AgentInfo_Capability_Type = 1 // This expresses the ability for the agent to be able to launch // tasks, reserve resources, and create volumes using resources // allocated to a 'hierarchical-role'. // NOTE: This capability is required specifically for creating // volumes because a hierchical role includes '/' (slashes) in them. // Agents with this capability know to transform the '/' (slashes) // into ' ' (spaces). AgentInfo_Capability_HIERARCHICAL_ROLE AgentInfo_Capability_Type = 2 // This capability has three effects for an agent. // // (1) The format of the checkpointed resources, and // // the resources reported to master. // // These resources are reported in the "pre-reservation-refinement" // format if none of the resources have refined reservations. If any // of the resources have refined reservations, they are reported in // the "post-reservation-refinement" format. The purpose is to allow // downgrading of an agent as well as communication with a pre-1.4.0 // master until the reservation refinement feature is actually used. // // See the 'Resource Format' section for more details. // // (2) The format of the resources reported by the HTTP endpoints. // // For resources reported by agent endpoints, the // "pre-reservation-refinement" format is "injected" if possible. // That is, resources without refined reservations will have the // `Resource.role` and `Resource.reservation` set, whereas // resources with refined reservations will not. // // See the 'Resource Format' section for more details. // // (3) The ability for the agent to launch tasks, reserve resources, and // // create volumes using resources that have refined reservations. // // See `ReservationInfo.reservations` section for more details. // // NOTE: Resources are said to have refined reservations if it uses the // `Resource.reservations` field, and `Resource.reservations_size() > 1`. AgentInfo_Capability_RESERVATION_REFINEMENT AgentInfo_Capability_Type = 3 // This expresses the ability for the agent to handle resource // provider related operations. This includes the following: // // (1) The ability to report resources that are provided by some // // local resource providers through the resource provider API. // // (2) The ability to provide operation feedback. This also means // // that this capability is a prerequisite for full support of // feedback for operations on agent default resources. If an // agent has the mandatory AGENT_OPERATION_FEEDBACK capability // set but not the RESOURCE_PROVIDER capability, then // operations on agent default resources which request feedback // will not be allowed. AgentInfo_Capability_RESOURCE_PROVIDER AgentInfo_Capability_Type = 4 // This expresses the capability for the agent to handle persistent volume // resize operations safely. This capability is turned on by default. AgentInfo_Capability_RESIZE_VOLUME AgentInfo_Capability_Type = 5 // This expresses the ability of the agent to handle operation feedback // for operations on agent default resources. // // Note that full support for this feature also requires the // RESOURCE_PROVIDER capability; if you would like the agent to // handle feedback for operations on agent default resources, the // RESOURCE_PROVIDER capability should be set as well. AgentInfo_Capability_AGENT_OPERATION_FEEDBACK AgentInfo_Capability_Type = 6 // This expresses the ability for the agent to automatically drain tasks // in preparation for operator maintenance. This capability is required. AgentInfo_Capability_AGENT_DRAINING AgentInfo_Capability_Type = 7 // This expresses the ability for the agent to launch tasks which specify // resource limits for CPU and/or memory. AgentInfo_Capability_TASK_RESOURCE_LIMITS AgentInfo_Capability_Type = 8 )
func (AgentInfo_Capability_Type) Descriptor ¶ added in v1.1.0
func (AgentInfo_Capability_Type) Descriptor() protoreflect.EnumDescriptor
func (AgentInfo_Capability_Type) Enum ¶
func (x AgentInfo_Capability_Type) Enum() *AgentInfo_Capability_Type
func (AgentInfo_Capability_Type) EnumDescriptor
deprecated
func (AgentInfo_Capability_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentInfo_Capability_Type.Descriptor instead.
func (AgentInfo_Capability_Type) Number ¶ added in v1.1.0
func (x AgentInfo_Capability_Type) Number() protoreflect.EnumNumber
func (AgentInfo_Capability_Type) String ¶
func (x AgentInfo_Capability_Type) String() string
func (AgentInfo_Capability_Type) Type ¶ added in v1.1.0
func (AgentInfo_Capability_Type) Type() protoreflect.EnumType
func (*AgentInfo_Capability_Type) UnmarshalJSON
deprecated
func (x *AgentInfo_Capability_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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=mesos.v1.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"` // contains filtered or unexported fields }
* 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 (*Attribute) Descriptor
deprecated
func (*Attribute) GetRanges ¶
func (x *Attribute) GetRanges() *Value_Ranges
func (*Attribute) GetScalar ¶
func (x *Attribute) GetScalar() *Value_Scalar
func (*Attribute) GetText ¶
func (x *Attribute) GetText() *Value_Text
func (*Attribute) GetType ¶
func (x *Attribute) GetType() Value_Type
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶ added in v1.1.0
func (x *Attribute) ProtoReflect() protoreflect.Message
type AttributeConstraint ¶ added in v1.1.0
type AttributeConstraint struct { Selector *AttributeConstraint_Selector `protobuf:"bytes,1,req,name=selector" json:"selector,omitempty"` Predicate *AttributeConstraint_Predicate `protobuf:"bytes,2,req,name=predicate" json:"predicate,omitempty"` // contains filtered or unexported fields }
An attribute constraint consists of a Predicate: a boolean function of an attribute or an attribute-like property of an agent (a pseudoattribute), and a Selector: a rule for obtaining this (pseudo)attribute value from AgentInfo.
The attribute constraint evaluates to `true` for a given agent if and only if the predicate yields `true` for the specified (pseudo)attribute.
func (*AttributeConstraint) Descriptor
deprecated
added in
v1.1.0
func (*AttributeConstraint) Descriptor() ([]byte, []int)
Deprecated: Use AttributeConstraint.ProtoReflect.Descriptor instead.
func (*AttributeConstraint) GetPredicate ¶ added in v1.1.0
func (x *AttributeConstraint) GetPredicate() *AttributeConstraint_Predicate
func (*AttributeConstraint) GetSelector ¶ added in v1.1.0
func (x *AttributeConstraint) GetSelector() *AttributeConstraint_Selector
func (*AttributeConstraint) ProtoMessage ¶ added in v1.1.0
func (*AttributeConstraint) ProtoMessage()
func (*AttributeConstraint) ProtoReflect ¶ added in v1.1.0
func (x *AttributeConstraint) ProtoReflect() protoreflect.Message
func (*AttributeConstraint) Reset ¶ added in v1.1.0
func (x *AttributeConstraint) Reset()
func (*AttributeConstraint) String ¶ added in v1.1.0
func (x *AttributeConstraint) String() string
type AttributeConstraint_Predicate ¶ added in v1.1.0
type AttributeConstraint_Predicate struct { // Types that are assignable to Predicate: // // *AttributeConstraint_Predicate_Exists_ // *AttributeConstraint_Predicate_NotExists_ // *AttributeConstraint_Predicate_TextEquals_ // *AttributeConstraint_Predicate_TextNotEquals_ // *AttributeConstraint_Predicate_TextMatches_ // *AttributeConstraint_Predicate_TextNotMatches_ Predicate isAttributeConstraint_Predicate_Predicate `protobuf_oneof:"predicate"` // contains filtered or unexported fields }
func (*AttributeConstraint_Predicate) Descriptor
deprecated
added in
v1.1.0
func (*AttributeConstraint_Predicate) Descriptor() ([]byte, []int)
Deprecated: Use AttributeConstraint_Predicate.ProtoReflect.Descriptor instead.
func (*AttributeConstraint_Predicate) GetExists ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate) GetExists() *AttributeConstraint_Predicate_Exists
func (*AttributeConstraint_Predicate) GetNotExists ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate) GetNotExists() *AttributeConstraint_Predicate_NotExists
func (*AttributeConstraint_Predicate) GetPredicate ¶ added in v1.1.0
func (m *AttributeConstraint_Predicate) GetPredicate() isAttributeConstraint_Predicate_Predicate
func (*AttributeConstraint_Predicate) GetTextEquals ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate) GetTextEquals() *AttributeConstraint_Predicate_TextEquals
func (*AttributeConstraint_Predicate) GetTextMatches ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate) GetTextMatches() *AttributeConstraint_Predicate_TextMatches
func (*AttributeConstraint_Predicate) GetTextNotEquals ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate) GetTextNotEquals() *AttributeConstraint_Predicate_TextNotEquals
func (*AttributeConstraint_Predicate) GetTextNotMatches ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate) GetTextNotMatches() *AttributeConstraint_Predicate_TextNotMatches
func (*AttributeConstraint_Predicate) ProtoMessage ¶ added in v1.1.0
func (*AttributeConstraint_Predicate) ProtoMessage()
func (*AttributeConstraint_Predicate) ProtoReflect ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate) ProtoReflect() protoreflect.Message
func (*AttributeConstraint_Predicate) Reset ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate) Reset()
func (*AttributeConstraint_Predicate) String ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate) String() string
type AttributeConstraint_Predicate_Exists ¶ added in v1.1.0
type AttributeConstraint_Predicate_Exists struct {
// contains filtered or unexported fields
}
Yields `true` if the (pseudo)attribute exists.
func (*AttributeConstraint_Predicate_Exists) Descriptor
deprecated
added in
v1.1.0
func (*AttributeConstraint_Predicate_Exists) Descriptor() ([]byte, []int)
Deprecated: Use AttributeConstraint_Predicate_Exists.ProtoReflect.Descriptor instead.
func (*AttributeConstraint_Predicate_Exists) ProtoMessage ¶ added in v1.1.0
func (*AttributeConstraint_Predicate_Exists) ProtoMessage()
func (*AttributeConstraint_Predicate_Exists) ProtoReflect ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_Exists) ProtoReflect() protoreflect.Message
func (*AttributeConstraint_Predicate_Exists) Reset ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_Exists) Reset()
func (*AttributeConstraint_Predicate_Exists) String ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_Exists) String() string
type AttributeConstraint_Predicate_Exists_ ¶ added in v1.1.0
type AttributeConstraint_Predicate_Exists_ struct {
Exists *AttributeConstraint_Predicate_Exists `protobuf:"bytes,1,opt,name=exists,oneof"`
}
type AttributeConstraint_Predicate_NotExists ¶ added in v1.1.0
type AttributeConstraint_Predicate_NotExists struct {
// contains filtered or unexported fields
}
Yields `true` if the (pseudo)attribute does not exist.
func (*AttributeConstraint_Predicate_NotExists) Descriptor
deprecated
added in
v1.1.0
func (*AttributeConstraint_Predicate_NotExists) Descriptor() ([]byte, []int)
Deprecated: Use AttributeConstraint_Predicate_NotExists.ProtoReflect.Descriptor instead.
func (*AttributeConstraint_Predicate_NotExists) ProtoMessage ¶ added in v1.1.0
func (*AttributeConstraint_Predicate_NotExists) ProtoMessage()
func (*AttributeConstraint_Predicate_NotExists) ProtoReflect ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_NotExists) ProtoReflect() protoreflect.Message
func (*AttributeConstraint_Predicate_NotExists) Reset ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_NotExists) Reset()
func (*AttributeConstraint_Predicate_NotExists) String ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_NotExists) String() string
type AttributeConstraint_Predicate_NotExists_ ¶ added in v1.1.0
type AttributeConstraint_Predicate_NotExists_ struct {
NotExists *AttributeConstraint_Predicate_NotExists `protobuf:"bytes,2,opt,name=not_exists,json=notExists,oneof"`
}
type AttributeConstraint_Predicate_TextEquals ¶ added in v1.1.0
type AttributeConstraint_Predicate_TextEquals struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
Yields `true` if the (pseudo)attribute exists and is a string/TEXT equal to the specified `value`.
Always yields `true` for existing non-TEXT attributes (and non-string pseudoattributes) for the reason explained above.
func (*AttributeConstraint_Predicate_TextEquals) Descriptor
deprecated
added in
v1.1.0
func (*AttributeConstraint_Predicate_TextEquals) Descriptor() ([]byte, []int)
Deprecated: Use AttributeConstraint_Predicate_TextEquals.ProtoReflect.Descriptor instead.
func (*AttributeConstraint_Predicate_TextEquals) GetValue ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextEquals) GetValue() string
func (*AttributeConstraint_Predicate_TextEquals) ProtoMessage ¶ added in v1.1.0
func (*AttributeConstraint_Predicate_TextEquals) ProtoMessage()
func (*AttributeConstraint_Predicate_TextEquals) ProtoReflect ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextEquals) ProtoReflect() protoreflect.Message
func (*AttributeConstraint_Predicate_TextEquals) Reset ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextEquals) Reset()
func (*AttributeConstraint_Predicate_TextEquals) String ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextEquals) String() string
type AttributeConstraint_Predicate_TextEquals_ ¶ added in v1.1.0
type AttributeConstraint_Predicate_TextEquals_ struct {
TextEquals *AttributeConstraint_Predicate_TextEquals `protobuf:"bytes,3,opt,name=text_equals,json=textEquals,oneof"`
}
type AttributeConstraint_Predicate_TextMatches ¶ added in v1.1.0
type AttributeConstraint_Predicate_TextMatches struct { Regex *string `protobuf:"bytes,1,req,name=regex" json:"regex,omitempty"` // contains filtered or unexported fields }
Yields `true` if the (pseudo)attribute exists and is a TEXT/string matching the specified regex.
Always yields `true` for existing non-TEXT attributes (and non-string pseudoattributes) for the reasons explained above.
func (*AttributeConstraint_Predicate_TextMatches) Descriptor
deprecated
added in
v1.1.0
func (*AttributeConstraint_Predicate_TextMatches) Descriptor() ([]byte, []int)
Deprecated: Use AttributeConstraint_Predicate_TextMatches.ProtoReflect.Descriptor instead.
func (*AttributeConstraint_Predicate_TextMatches) GetRegex ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextMatches) GetRegex() string
func (*AttributeConstraint_Predicate_TextMatches) ProtoMessage ¶ added in v1.1.0
func (*AttributeConstraint_Predicate_TextMatches) ProtoMessage()
func (*AttributeConstraint_Predicate_TextMatches) ProtoReflect ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextMatches) ProtoReflect() protoreflect.Message
func (*AttributeConstraint_Predicate_TextMatches) Reset ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextMatches) Reset()
func (*AttributeConstraint_Predicate_TextMatches) String ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextMatches) String() string
type AttributeConstraint_Predicate_TextMatches_ ¶ added in v1.1.0
type AttributeConstraint_Predicate_TextMatches_ struct {
TextMatches *AttributeConstraint_Predicate_TextMatches `protobuf:"bytes,5,opt,name=text_matches,json=textMatches,oneof"`
}
type AttributeConstraint_Predicate_TextNotEquals ¶ added in v1.1.0
type AttributeConstraint_Predicate_TextNotEquals struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
Yields `true` if the (pseudo)attribute does not exist or is a string/TEXT NOT equal to the specified `value`.
Always yields `true` for existing non-TEXT attributes (and non-string pseudoattributes) for the reason explained above.
func (*AttributeConstraint_Predicate_TextNotEquals) Descriptor
deprecated
added in
v1.1.0
func (*AttributeConstraint_Predicate_TextNotEquals) Descriptor() ([]byte, []int)
Deprecated: Use AttributeConstraint_Predicate_TextNotEquals.ProtoReflect.Descriptor instead.
func (*AttributeConstraint_Predicate_TextNotEquals) GetValue ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextNotEquals) GetValue() string
func (*AttributeConstraint_Predicate_TextNotEquals) ProtoMessage ¶ added in v1.1.0
func (*AttributeConstraint_Predicate_TextNotEquals) ProtoMessage()
func (*AttributeConstraint_Predicate_TextNotEquals) ProtoReflect ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextNotEquals) ProtoReflect() protoreflect.Message
func (*AttributeConstraint_Predicate_TextNotEquals) Reset ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextNotEquals) Reset()
func (*AttributeConstraint_Predicate_TextNotEquals) String ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextNotEquals) String() string
type AttributeConstraint_Predicate_TextNotEquals_ ¶ added in v1.1.0
type AttributeConstraint_Predicate_TextNotEquals_ struct {
TextNotEquals *AttributeConstraint_Predicate_TextNotEquals `protobuf:"bytes,4,opt,name=text_not_equals,json=textNotEquals,oneof"`
}
type AttributeConstraint_Predicate_TextNotMatches ¶ added in v1.1.0
type AttributeConstraint_Predicate_TextNotMatches struct { Regex *string `protobuf:"bytes,1,req,name=regex" json:"regex,omitempty"` // contains filtered or unexported fields }
Yields `true` if the (pseudo)attribute either does not exists or is not a TEXT/string matching the specified regex.
Always yields `true` for existing non-TEXT attributes (and non-string pseudoattributes) for the reasons explained above.
func (*AttributeConstraint_Predicate_TextNotMatches) Descriptor
deprecated
added in
v1.1.0
func (*AttributeConstraint_Predicate_TextNotMatches) Descriptor() ([]byte, []int)
Deprecated: Use AttributeConstraint_Predicate_TextNotMatches.ProtoReflect.Descriptor instead.
func (*AttributeConstraint_Predicate_TextNotMatches) GetRegex ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextNotMatches) GetRegex() string
func (*AttributeConstraint_Predicate_TextNotMatches) ProtoMessage ¶ added in v1.1.0
func (*AttributeConstraint_Predicate_TextNotMatches) ProtoMessage()
func (*AttributeConstraint_Predicate_TextNotMatches) ProtoReflect ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextNotMatches) ProtoReflect() protoreflect.Message
func (*AttributeConstraint_Predicate_TextNotMatches) Reset ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextNotMatches) Reset()
func (*AttributeConstraint_Predicate_TextNotMatches) String ¶ added in v1.1.0
func (x *AttributeConstraint_Predicate_TextNotMatches) String() string
type AttributeConstraint_Predicate_TextNotMatches_ ¶ added in v1.1.0
type AttributeConstraint_Predicate_TextNotMatches_ struct {
TextNotMatches *AttributeConstraint_Predicate_TextNotMatches `protobuf:"bytes,6,opt,name=text_not_matches,json=textNotMatches,oneof"`
}
type AttributeConstraint_Selector ¶ added in v1.1.0
type AttributeConstraint_Selector struct { // Types that are assignable to Selector: // // *AttributeConstraint_Selector_PseudoattributeType_ // *AttributeConstraint_Selector_AttributeName Selector isAttributeConstraint_Selector_Selector `protobuf_oneof:"selector"` // contains filtered or unexported fields }
func (*AttributeConstraint_Selector) Descriptor
deprecated
added in
v1.1.0
func (*AttributeConstraint_Selector) Descriptor() ([]byte, []int)
Deprecated: Use AttributeConstraint_Selector.ProtoReflect.Descriptor instead.
func (*AttributeConstraint_Selector) GetAttributeName ¶ added in v1.1.0
func (x *AttributeConstraint_Selector) GetAttributeName() string
func (*AttributeConstraint_Selector) GetPseudoattributeType ¶ added in v1.1.0
func (x *AttributeConstraint_Selector) GetPseudoattributeType() AttributeConstraint_Selector_PseudoattributeType
func (*AttributeConstraint_Selector) GetSelector ¶ added in v1.1.0
func (m *AttributeConstraint_Selector) GetSelector() isAttributeConstraint_Selector_Selector
func (*AttributeConstraint_Selector) ProtoMessage ¶ added in v1.1.0
func (*AttributeConstraint_Selector) ProtoMessage()
func (*AttributeConstraint_Selector) ProtoReflect ¶ added in v1.1.0
func (x *AttributeConstraint_Selector) ProtoReflect() protoreflect.Message
func (*AttributeConstraint_Selector) Reset ¶ added in v1.1.0
func (x *AttributeConstraint_Selector) Reset()
func (*AttributeConstraint_Selector) String ¶ added in v1.1.0
func (x *AttributeConstraint_Selector) String() string
type AttributeConstraint_Selector_AttributeName ¶ added in v1.1.0
type AttributeConstraint_Selector_AttributeName struct { // The predicate will be applied to the first attribute with the specified // name. Note that an agent can have multiple attributes with the same // name, and that the order of attributes is preserved by Mesos. // // TODO(asekretenko): If a need to handle the multiple-attribute // case differently arises, in simple cases it can be addressed by adding // a Selector-wide flag or one more oneof member here. AttributeName string `protobuf:"bytes,2,opt,name=attribute_name,json=attributeName,oneof"` }
type AttributeConstraint_Selector_PseudoattributeType ¶ added in v1.1.0
type AttributeConstraint_Selector_PseudoattributeType int32
const ( AttributeConstraint_Selector_UNKNOWN AttributeConstraint_Selector_PseudoattributeType = 0 AttributeConstraint_Selector_HOSTNAME AttributeConstraint_Selector_PseudoattributeType = 1 AttributeConstraint_Selector_REGION AttributeConstraint_Selector_PseudoattributeType = 2 AttributeConstraint_Selector_ZONE AttributeConstraint_Selector_PseudoattributeType = 3 )
func (AttributeConstraint_Selector_PseudoattributeType) Descriptor ¶ added in v1.1.0
func (AttributeConstraint_Selector_PseudoattributeType) Descriptor() protoreflect.EnumDescriptor
func (AttributeConstraint_Selector_PseudoattributeType) EnumDescriptor
deprecated
added in
v1.1.0
func (AttributeConstraint_Selector_PseudoattributeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttributeConstraint_Selector_PseudoattributeType.Descriptor instead.
func (AttributeConstraint_Selector_PseudoattributeType) Number ¶ added in v1.1.0
func (x AttributeConstraint_Selector_PseudoattributeType) Number() protoreflect.EnumNumber
func (AttributeConstraint_Selector_PseudoattributeType) String ¶ added in v1.1.0
func (x AttributeConstraint_Selector_PseudoattributeType) String() string
func (*AttributeConstraint_Selector_PseudoattributeType) UnmarshalJSON
deprecated
added in
v1.1.0
func (x *AttributeConstraint_Selector_PseudoattributeType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type AttributeConstraint_Selector_PseudoattributeType_ ¶ added in v1.1.0
type AttributeConstraint_Selector_PseudoattributeType_ struct { // The predicate will be applied to the specified pseudoattribute. PseudoattributeType AttributeConstraint_Selector_PseudoattributeType `` /* 153-byte string literal not displayed */ }
type CSIPluginContainerInfo ¶
type CSIPluginContainerInfo struct { Services []CSIPluginContainerInfo_Service `protobuf:"varint,1,rep,name=services,enum=mesos.v1.CSIPluginContainerInfo_Service" json:"services,omitempty"` Command *CommandInfo `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"` Resources []*Resource `protobuf:"bytes,3,rep,name=resources" json:"resources,omitempty"` Container *ContainerInfo `protobuf:"bytes,4,opt,name=container" json:"container,omitempty"` // contains filtered or unexported fields }
* Describes the container configuration to run a managed CSI plugin.
func (*CSIPluginContainerInfo) Descriptor
deprecated
func (*CSIPluginContainerInfo) Descriptor() ([]byte, []int)
Deprecated: Use CSIPluginContainerInfo.ProtoReflect.Descriptor instead.
func (*CSIPluginContainerInfo) GetCommand ¶
func (x *CSIPluginContainerInfo) GetCommand() *CommandInfo
func (*CSIPluginContainerInfo) GetContainer ¶
func (x *CSIPluginContainerInfo) GetContainer() *ContainerInfo
func (*CSIPluginContainerInfo) GetResources ¶
func (x *CSIPluginContainerInfo) GetResources() []*Resource
func (*CSIPluginContainerInfo) GetServices ¶
func (x *CSIPluginContainerInfo) GetServices() []CSIPluginContainerInfo_Service
func (*CSIPluginContainerInfo) ProtoMessage ¶
func (*CSIPluginContainerInfo) ProtoMessage()
func (*CSIPluginContainerInfo) ProtoReflect ¶ added in v1.1.0
func (x *CSIPluginContainerInfo) ProtoReflect() protoreflect.Message
func (*CSIPluginContainerInfo) Reset ¶
func (x *CSIPluginContainerInfo) Reset()
func (*CSIPluginContainerInfo) String ¶
func (x *CSIPluginContainerInfo) String() string
type CSIPluginContainerInfo_Service ¶
type CSIPluginContainerInfo_Service int32
const ( CSIPluginContainerInfo_UNKNOWN CSIPluginContainerInfo_Service = 0 CSIPluginContainerInfo_CONTROLLER_SERVICE CSIPluginContainerInfo_Service = 1 CSIPluginContainerInfo_NODE_SERVICE CSIPluginContainerInfo_Service = 2 )
func (CSIPluginContainerInfo_Service) Descriptor ¶ added in v1.1.0
func (CSIPluginContainerInfo_Service) Descriptor() protoreflect.EnumDescriptor
func (CSIPluginContainerInfo_Service) Enum ¶
func (x CSIPluginContainerInfo_Service) Enum() *CSIPluginContainerInfo_Service
func (CSIPluginContainerInfo_Service) EnumDescriptor
deprecated
func (CSIPluginContainerInfo_Service) EnumDescriptor() ([]byte, []int)
Deprecated: Use CSIPluginContainerInfo_Service.Descriptor instead.
func (CSIPluginContainerInfo_Service) Number ¶ added in v1.1.0
func (x CSIPluginContainerInfo_Service) Number() protoreflect.EnumNumber
func (CSIPluginContainerInfo_Service) String ¶
func (x CSIPluginContainerInfo_Service) String() string
func (CSIPluginContainerInfo_Service) Type ¶ added in v1.1.0
func (CSIPluginContainerInfo_Service) Type() protoreflect.EnumType
func (*CSIPluginContainerInfo_Service) UnmarshalJSON
deprecated
func (x *CSIPluginContainerInfo_Service) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type CSIPluginEndpoint ¶ added in v1.1.0
type CSIPluginEndpoint struct { CsiService *CSIPluginContainerInfo_Service `` /* 130-byte string literal not displayed */ Endpoint *string `protobuf:"bytes,2,req,name=endpoint" json:"endpoint,omitempty"` // contains filtered or unexported fields }
* Describes the endpoint of an unmanaged CSI plugin service.
func (*CSIPluginEndpoint) Descriptor
deprecated
added in
v1.1.0
func (*CSIPluginEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use CSIPluginEndpoint.ProtoReflect.Descriptor instead.
func (*CSIPluginEndpoint) GetCsiService ¶ added in v1.1.0
func (x *CSIPluginEndpoint) GetCsiService() CSIPluginContainerInfo_Service
func (*CSIPluginEndpoint) GetEndpoint ¶ added in v1.1.0
func (x *CSIPluginEndpoint) GetEndpoint() string
func (*CSIPluginEndpoint) ProtoMessage ¶ added in v1.1.0
func (*CSIPluginEndpoint) ProtoMessage()
func (*CSIPluginEndpoint) ProtoReflect ¶ added in v1.1.0
func (x *CSIPluginEndpoint) ProtoReflect() protoreflect.Message
func (*CSIPluginEndpoint) Reset ¶ added in v1.1.0
func (x *CSIPluginEndpoint) Reset()
func (*CSIPluginEndpoint) String ¶ added in v1.1.0
func (x *CSIPluginEndpoint) String() string
type CSIPluginInfo ¶
type CSIPluginInfo struct { // The type of the CSI plugin. This uniquely identifies a CSI // implementation. For instance: // // org.apache.mesos.csi.test // // Please follow to Java package naming convention // (https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions) // to avoid conflicts on type names. Type *string `protobuf:"bytes,1,req,name=type" json:"type,omitempty"` // The name of the CSI plugin. There could be multiple instances of a // type of CSI plugin within a Mesos cluster. The name field is used to // distinguish these instances. It should be a legal Java identifier // (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html) // to avoid conflicts on concatenation of type and name. // // The type and name together provide the means to uniquely identify a storage // backend and its resources in the cluster, so the operator should ensure // that the concatenation of type and name is unique in the cluster, and it // remains the same if the instance is migrated to another agent (e.g., there // is a change in the agent ID). Name *string `protobuf:"bytes,2,opt,name=name,def=default" json:"name,omitempty"` // A list of container configurations to run managed CSI plugin. // The controller service will be served by the first configuration // that contains `CONTROLLER_SERVICE`, and the node service will be // served by the first configuration that contains `NODE_SERVICE`. Containers []*CSIPluginContainerInfo `protobuf:"bytes,3,rep,name=containers" json:"containers,omitempty"` // The service endpoints of the unmanaged CSI plugin. An endpoint is usually // a path to a Unix domain socket. Endpoints []*CSIPluginEndpoint `protobuf:"bytes,4,rep,name=endpoints" json:"endpoints,omitempty"` // The root directory of all the target paths managed by the CSI plugin. // Each volume will be published by the CSI plugin at a sub-directory // under this path. TargetPathRoot *string `protobuf:"bytes,5,opt,name=target_path_root,json=targetPathRoot" json:"target_path_root,omitempty"` // For some CSI plugins which implement CSI v1 spec, they expect the target // path is an existing path which is actually not CSI v1 spec compliant. In // such case this field should be set to `true` as a work around for those // plugins. For the CSI plugins which implement CSI v0 spec, this field will // be just ignored. TargetPathExists *bool `protobuf:"varint,6,opt,name=target_path_exists,json=targetPathExists" json:"target_path_exists,omitempty"` // contains filtered or unexported fields }
* Describes a CSI plugin.
func (*CSIPluginInfo) Descriptor
deprecated
func (*CSIPluginInfo) Descriptor() ([]byte, []int)
Deprecated: Use CSIPluginInfo.ProtoReflect.Descriptor instead.
func (*CSIPluginInfo) GetContainers ¶
func (x *CSIPluginInfo) GetContainers() []*CSIPluginContainerInfo
func (*CSIPluginInfo) GetEndpoints ¶ added in v1.1.0
func (x *CSIPluginInfo) GetEndpoints() []*CSIPluginEndpoint
func (*CSIPluginInfo) GetName ¶
func (x *CSIPluginInfo) GetName() string
func (*CSIPluginInfo) GetTargetPathExists ¶ added in v1.1.0
func (x *CSIPluginInfo) GetTargetPathExists() bool
func (*CSIPluginInfo) GetTargetPathRoot ¶ added in v1.1.0
func (x *CSIPluginInfo) GetTargetPathRoot() string
func (*CSIPluginInfo) GetType ¶
func (x *CSIPluginInfo) GetType() string
func (*CSIPluginInfo) ProtoMessage ¶
func (*CSIPluginInfo) ProtoMessage()
func (*CSIPluginInfo) ProtoReflect ¶ added in v1.1.0
func (x *CSIPluginInfo) ProtoReflect() protoreflect.Message
func (*CSIPluginInfo) Reset ¶
func (x *CSIPluginInfo) Reset()
func (*CSIPluginInfo) String ¶
func (x *CSIPluginInfo) String() string
type Call ¶
type Call struct { // Identifies who generated this call. Master assigns a framework id // when a new scheduler subscribes for the first time. Once assigned, // the scheduler must set the 'framework_id' here and within its // FrameworkInfo (in any further 'Subscribe' calls). This allows the // master to identify a scheduler correctly across disconnections, // failovers, etc. FrameworkId *FrameworkID `protobuf:"bytes,1,opt,name=framework_id,json=frameworkId" json:"framework_id,omitempty"` // Type of the call, indicates which optional field below should be // present if that type has a nested message definition. // See comments on `Event::Type` above on the reasoning behind this // field being optional. Type *Call_Type `protobuf:"varint,2,opt,name=type,enum=mesos.v1.scheduler.Call_Type" json:"type,omitempty"` Subscribe *Call_Subscribe `protobuf:"bytes,3,opt,name=subscribe" json:"subscribe,omitempty"` Accept *Call_Accept `protobuf:"bytes,4,opt,name=accept" json:"accept,omitempty"` Decline *Call_Decline `protobuf:"bytes,5,opt,name=decline" json:"decline,omitempty"` AcceptInverseOffers *Call_AcceptInverseOffers `protobuf:"bytes,13,opt,name=accept_inverse_offers,json=acceptInverseOffers" json:"accept_inverse_offers,omitempty"` DeclineInverseOffers *Call_DeclineInverseOffers `protobuf:"bytes,14,opt,name=decline_inverse_offers,json=declineInverseOffers" json:"decline_inverse_offers,omitempty"` Revive *Call_Revive `protobuf:"bytes,15,opt,name=revive" json:"revive,omitempty"` Kill *Call_Kill `protobuf:"bytes,6,opt,name=kill" json:"kill,omitempty"` Shutdown *Call_Shutdown `protobuf:"bytes,7,opt,name=shutdown" json:"shutdown,omitempty"` Acknowledge *Call_Acknowledge `protobuf:"bytes,8,opt,name=acknowledge" json:"acknowledge,omitempty"` AcknowledgeOperationStatus *Call_AcknowledgeOperationStatus `` /* 135-byte string literal not displayed */ Reconcile *Call_Reconcile `protobuf:"bytes,9,opt,name=reconcile" json:"reconcile,omitempty"` ReconcileOperations *Call_ReconcileOperations `protobuf:"bytes,18,opt,name=reconcile_operations,json=reconcileOperations" json:"reconcile_operations,omitempty"` Message *Call_Message `protobuf:"bytes,10,opt,name=message" json:"message,omitempty"` Request *Call_Request `protobuf:"bytes,11,opt,name=request" json:"request,omitempty"` Suppress *Call_Suppress `protobuf:"bytes,16,opt,name=suppress" json:"suppress,omitempty"` UpdateFramework *Call_UpdateFramework `protobuf:"bytes,19,opt,name=update_framework,json=updateFramework" json:"update_framework,omitempty"` // contains filtered or unexported fields }
* Scheduler call API.
Like Event, a Call is described using the standard protocol buffer "union" trick (see above).
func (*Call) Descriptor
deprecated
func (*Call) GetAccept ¶
func (x *Call) GetAccept() *Call_Accept
func (*Call) GetAcceptInverseOffers ¶
func (x *Call) GetAcceptInverseOffers() *Call_AcceptInverseOffers
func (*Call) GetAcknowledge ¶
func (x *Call) GetAcknowledge() *Call_Acknowledge
func (*Call) GetAcknowledgeOperationStatus ¶
func (x *Call) GetAcknowledgeOperationStatus() *Call_AcknowledgeOperationStatus
func (*Call) GetDecline ¶
func (x *Call) GetDecline() *Call_Decline
func (*Call) GetDeclineInverseOffers ¶
func (x *Call) GetDeclineInverseOffers() *Call_DeclineInverseOffers
func (*Call) GetFrameworkId ¶ added in v1.1.0
func (x *Call) GetFrameworkId() *FrameworkID
func (*Call) GetMessage ¶
func (x *Call) GetMessage() *Call_Message
func (*Call) GetReconcile ¶
func (x *Call) GetReconcile() *Call_Reconcile
func (*Call) GetReconcileOperations ¶
func (x *Call) GetReconcileOperations() *Call_ReconcileOperations
func (*Call) GetRequest ¶
func (x *Call) GetRequest() *Call_Request
func (*Call) GetRevive ¶
func (x *Call) GetRevive() *Call_Revive
func (*Call) GetShutdown ¶
func (x *Call) GetShutdown() *Call_Shutdown
func (*Call) GetSubscribe ¶
func (x *Call) GetSubscribe() *Call_Subscribe
func (*Call) GetSuppress ¶
func (x *Call) GetSuppress() *Call_Suppress
func (*Call) GetUpdateFramework ¶
func (x *Call) GetUpdateFramework() *Call_UpdateFramework
func (*Call) ProtoMessage ¶
func (*Call) ProtoMessage()
func (*Call) ProtoReflect ¶ added in v1.1.0
func (x *Call) ProtoReflect() protoreflect.Message
type Call_Accept ¶
type Call_Accept struct { OfferIds []*OfferID `protobuf:"bytes,1,rep,name=offer_ids,json=offerIds" json:"offer_ids,omitempty"` Operations []*Offer_Operation `protobuf:"bytes,2,rep,name=operations" json:"operations,omitempty"` Filters *Filters `protobuf:"bytes,3,opt,name=filters" json:"filters,omitempty"` // contains filtered or unexported fields }
Accepts an offer, performing the specified operations in a sequential manner.
E.g. Launch a task with a newly reserved persistent volume:
Accept { offer_ids: [ ... ] operations: [ { type: RESERVE, reserve: { resources: [ disk(role):2 ] } } { type: CREATE, create: { volumes: [ disk(role):1+persistence ] } } { type: LAUNCH, launch: { task_infos ... disk(role):1;disk(role):1+persistence } } ] }
Note that any of the offer's resources not used in the 'Accept' call (e.g., to launch a task) are considered unused and might be reoffered to other frameworks. In other words, the same OfferID cannot be used in more than one 'Accept' call.
func (*Call_Accept) Descriptor
deprecated
func (*Call_Accept) Descriptor() ([]byte, []int)
Deprecated: Use Call_Accept.ProtoReflect.Descriptor instead.
func (*Call_Accept) GetFilters ¶
func (x *Call_Accept) GetFilters() *Filters
func (*Call_Accept) GetOfferIds ¶ added in v1.1.0
func (x *Call_Accept) GetOfferIds() []*OfferID
func (*Call_Accept) GetOperations ¶
func (x *Call_Accept) GetOperations() []*Offer_Operation
func (*Call_Accept) ProtoMessage ¶
func (*Call_Accept) ProtoMessage()
func (*Call_Accept) ProtoReflect ¶ added in v1.1.0
func (x *Call_Accept) ProtoReflect() protoreflect.Message
func (*Call_Accept) Reset ¶
func (x *Call_Accept) Reset()
func (*Call_Accept) String ¶
func (x *Call_Accept) String() string
type Call_AcceptInverseOffers ¶
type Call_AcceptInverseOffers struct { InverseOfferIds []*OfferID `protobuf:"bytes,1,rep,name=inverse_offer_ids,json=inverseOfferIds" json:"inverse_offer_ids,omitempty"` Filters *Filters `protobuf:"bytes,2,opt,name=filters" json:"filters,omitempty"` // contains filtered or unexported fields }
Accepts an inverse offer. Inverse offers should only be accepted if the resources in the offer can be safely evacuated before the provided unavailability.
func (*Call_AcceptInverseOffers) Descriptor
deprecated
func (*Call_AcceptInverseOffers) Descriptor() ([]byte, []int)
Deprecated: Use Call_AcceptInverseOffers.ProtoReflect.Descriptor instead.
func (*Call_AcceptInverseOffers) GetFilters ¶
func (x *Call_AcceptInverseOffers) GetFilters() *Filters
func (*Call_AcceptInverseOffers) GetInverseOfferIds ¶ added in v1.1.0
func (x *Call_AcceptInverseOffers) GetInverseOfferIds() []*OfferID
func (*Call_AcceptInverseOffers) ProtoMessage ¶
func (*Call_AcceptInverseOffers) ProtoMessage()
func (*Call_AcceptInverseOffers) ProtoReflect ¶ added in v1.1.0
func (x *Call_AcceptInverseOffers) ProtoReflect() protoreflect.Message
func (*Call_AcceptInverseOffers) Reset ¶
func (x *Call_AcceptInverseOffers) Reset()
func (*Call_AcceptInverseOffers) String ¶
func (x *Call_AcceptInverseOffers) String() string
type Call_Acknowledge ¶
type Call_Acknowledge struct { AgentId *AgentID `protobuf:"bytes,1,req,name=agent_id,json=agentId" json:"agent_id,omitempty"` TaskId *TaskID `protobuf:"bytes,2,req,name=task_id,json=taskId" json:"task_id,omitempty"` Uuid []byte `protobuf:"bytes,3,req,name=uuid" json:"uuid,omitempty"` // contains filtered or unexported fields }
Acknowledges the receipt of status update. Schedulers are responsible for explicitly acknowledging the receipt of status updates that have 'Update.status().uuid()' field set. Such status updates are retried by the agent until they are acknowledged by the scheduler.
func (*Call_Acknowledge) Descriptor
deprecated
func (*Call_Acknowledge) Descriptor() ([]byte, []int)
Deprecated: Use Call_Acknowledge.ProtoReflect.Descriptor instead.
func (*Call_Acknowledge) GetAgentId ¶ added in v1.1.0
func (x *Call_Acknowledge) GetAgentId() *AgentID
func (*Call_Acknowledge) GetTaskId ¶ added in v1.1.0
func (x *Call_Acknowledge) GetTaskId() *TaskID
func (*Call_Acknowledge) GetUuid ¶ added in v1.1.0
func (x *Call_Acknowledge) GetUuid() []byte
func (*Call_Acknowledge) ProtoMessage ¶
func (*Call_Acknowledge) ProtoMessage()
func (*Call_Acknowledge) ProtoReflect ¶ added in v1.1.0
func (x *Call_Acknowledge) ProtoReflect() protoreflect.Message
func (*Call_Acknowledge) Reset ¶
func (x *Call_Acknowledge) Reset()
func (*Call_Acknowledge) String ¶
func (x *Call_Acknowledge) String() string
type Call_AcknowledgeOperationStatus ¶
type Call_AcknowledgeOperationStatus struct { // If the operation affects resources that belong to a SLRP, both // `agent_id` and `resource_provider_id` have to be set. // // If the operation affects resources that belong to a SERP, only // `resource_provider_id` has to be set. AgentId *AgentID `protobuf:"bytes,1,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"` ResourceProviderId *ResourceProviderID `protobuf:"bytes,2,opt,name=resource_provider_id,json=resourceProviderId" json:"resource_provider_id,omitempty"` Uuid []byte `protobuf:"bytes,3,req,name=uuid" json:"uuid,omitempty"` OperationId *OperationID `protobuf:"bytes,4,req,name=operation_id,json=operationId" json:"operation_id,omitempty"` // contains filtered or unexported fields }
EXPERIMENTAL.
Acknowledges the receipt of an operation status update. Schedulers are responsible for explicitly acknowledging the receipt of updates which have the 'UpdateOperationStatus.status().uuid()' field set. Such status updates are retried by the agent or resource provider until they are acknowledged by the scheduler.
func (*Call_AcknowledgeOperationStatus) Descriptor
deprecated
func (*Call_AcknowledgeOperationStatus) Descriptor() ([]byte, []int)
Deprecated: Use Call_AcknowledgeOperationStatus.ProtoReflect.Descriptor instead.
func (*Call_AcknowledgeOperationStatus) GetAgentId ¶ added in v1.1.0
func (x *Call_AcknowledgeOperationStatus) GetAgentId() *AgentID
func (*Call_AcknowledgeOperationStatus) GetOperationId ¶ added in v1.1.0
func (x *Call_AcknowledgeOperationStatus) GetOperationId() *OperationID
func (*Call_AcknowledgeOperationStatus) GetResourceProviderId ¶ added in v1.1.0
func (x *Call_AcknowledgeOperationStatus) GetResourceProviderId() *ResourceProviderID
func (*Call_AcknowledgeOperationStatus) GetUuid ¶ added in v1.1.0
func (x *Call_AcknowledgeOperationStatus) GetUuid() []byte
func (*Call_AcknowledgeOperationStatus) ProtoMessage ¶
func (*Call_AcknowledgeOperationStatus) ProtoMessage()
func (*Call_AcknowledgeOperationStatus) ProtoReflect ¶ added in v1.1.0
func (x *Call_AcknowledgeOperationStatus) ProtoReflect() protoreflect.Message
func (*Call_AcknowledgeOperationStatus) Reset ¶
func (x *Call_AcknowledgeOperationStatus) Reset()
func (*Call_AcknowledgeOperationStatus) String ¶
func (x *Call_AcknowledgeOperationStatus) String() string
type Call_Decline ¶
type Call_Decline struct { OfferIds []*OfferID `protobuf:"bytes,1,rep,name=offer_ids,json=offerIds" json:"offer_ids,omitempty"` Filters *Filters `protobuf:"bytes,2,opt,name=filters" json:"filters,omitempty"` // contains filtered or unexported fields }
Declines an offer, signaling the master to potentially reoffer the resources to a different framework. Note that this is same as sending an Accept call with no operations. See comments on top of 'Accept' for semantics.
func (*Call_Decline) Descriptor
deprecated
func (*Call_Decline) Descriptor() ([]byte, []int)
Deprecated: Use Call_Decline.ProtoReflect.Descriptor instead.
func (*Call_Decline) GetFilters ¶
func (x *Call_Decline) GetFilters() *Filters
func (*Call_Decline) GetOfferIds ¶ added in v1.1.0
func (x *Call_Decline) GetOfferIds() []*OfferID
func (*Call_Decline) ProtoMessage ¶
func (*Call_Decline) ProtoMessage()
func (*Call_Decline) ProtoReflect ¶ added in v1.1.0
func (x *Call_Decline) ProtoReflect() protoreflect.Message
func (*Call_Decline) Reset ¶
func (x *Call_Decline) Reset()
func (*Call_Decline) String ¶
func (x *Call_Decline) String() string
type Call_DeclineInverseOffers ¶
type Call_DeclineInverseOffers struct { InverseOfferIds []*OfferID `protobuf:"bytes,1,rep,name=inverse_offer_ids,json=inverseOfferIds" json:"inverse_offer_ids,omitempty"` Filters *Filters `protobuf:"bytes,2,opt,name=filters" json:"filters,omitempty"` // contains filtered or unexported fields }
Declines an inverse offer. Inverse offers should be declined if the resources in the offer might not be safely evacuated before the provided unavailability.
func (*Call_DeclineInverseOffers) Descriptor
deprecated
func (*Call_DeclineInverseOffers) Descriptor() ([]byte, []int)
Deprecated: Use Call_DeclineInverseOffers.ProtoReflect.Descriptor instead.
func (*Call_DeclineInverseOffers) GetFilters ¶
func (x *Call_DeclineInverseOffers) GetFilters() *Filters
func (*Call_DeclineInverseOffers) GetInverseOfferIds ¶ added in v1.1.0
func (x *Call_DeclineInverseOffers) GetInverseOfferIds() []*OfferID
func (*Call_DeclineInverseOffers) ProtoMessage ¶
func (*Call_DeclineInverseOffers) ProtoMessage()
func (*Call_DeclineInverseOffers) ProtoReflect ¶ added in v1.1.0
func (x *Call_DeclineInverseOffers) ProtoReflect() protoreflect.Message
func (*Call_DeclineInverseOffers) Reset ¶
func (x *Call_DeclineInverseOffers) Reset()
func (*Call_DeclineInverseOffers) String ¶
func (x *Call_DeclineInverseOffers) String() string
type Call_Kill ¶
type Call_Kill struct { TaskId *TaskID `protobuf:"bytes,1,req,name=task_id,json=taskId" json:"task_id,omitempty"` AgentId *AgentID `protobuf:"bytes,2,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"` // If set, overrides any previously specified kill policy for this task. // This includes 'TaskInfo.kill_policy' and 'Executor.kill.kill_policy'. // Can be used to forcefully kill a task which is already being killed. KillPolicy *KillPolicy `protobuf:"bytes,3,opt,name=kill_policy,json=killPolicy" json:"kill_policy,omitempty"` // contains filtered or unexported fields }
Kills a specific task. If the scheduler has a custom executor, the kill is forwarded to the executor and it is up to the executor to kill the task and send a TASK_KILLED (or TASK_FAILED) update. Note that Mesos releases the resources for a task once it receives a terminal update (See TaskState in v1/mesos.proto) for it. If the task is unknown to the master, a TASK_LOST update is generated.
If a task within a task group is killed before the group is delivered to the executor, all tasks in the task group are killed. When a task group has been delivered to the executor, it is up to the executor to decide how to deal with the kill. Note The default Mesos executor will currently kill all the tasks in the task group if it gets a kill for any task.
func (*Call_Kill) Descriptor
deprecated
func (*Call_Kill) GetAgentId ¶ added in v1.1.0
func (*Call_Kill) GetKillPolicy ¶
func (x *Call_Kill) GetKillPolicy() *KillPolicy
func (*Call_Kill) ProtoMessage ¶
func (*Call_Kill) ProtoMessage()
func (*Call_Kill) ProtoReflect ¶ added in v1.1.0
func (x *Call_Kill) ProtoReflect() protoreflect.Message
type Call_Message ¶
type Call_Message struct { AgentId *AgentID `protobuf:"bytes,1,req,name=agent_id,json=agentId" json:"agent_id,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,2,req,name=executor_id,json=executorId" json:"executor_id,omitempty"` Data []byte `protobuf:"bytes,3,req,name=data" json:"data,omitempty"` // contains filtered or unexported fields }
Sends arbitrary binary data to the executor. Note that Mesos neither interprets this data nor makes any guarantees about the delivery of this message to the executor.
func (*Call_Message) Descriptor
deprecated
func (*Call_Message) Descriptor() ([]byte, []int)
Deprecated: Use Call_Message.ProtoReflect.Descriptor instead.
func (*Call_Message) GetAgentId ¶ added in v1.1.0
func (x *Call_Message) GetAgentId() *AgentID
func (*Call_Message) GetData ¶
func (x *Call_Message) GetData() []byte
func (*Call_Message) GetExecutorId ¶ added in v1.1.0
func (x *Call_Message) GetExecutorId() *ExecutorID
func (*Call_Message) ProtoMessage ¶
func (*Call_Message) ProtoMessage()
func (*Call_Message) ProtoReflect ¶ added in v1.1.0
func (x *Call_Message) ProtoReflect() protoreflect.Message
func (*Call_Message) Reset ¶
func (x *Call_Message) Reset()
func (*Call_Message) String ¶
func (x *Call_Message) String() string
type Call_Reconcile ¶
type Call_Reconcile struct { Tasks []*Call_Reconcile_Task `protobuf:"bytes,1,rep,name=tasks" json:"tasks,omitempty"` // contains filtered or unexported fields }
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 'tasks', if possible. Tasks that are no longer known will result in a TASK_LOST, TASK_UNKNOWN, or TASK_UNREACHABLE update. If 'tasks' is empty, then the master will send the latest status for each task currently known.
func (*Call_Reconcile) Descriptor
deprecated
func (*Call_Reconcile) Descriptor() ([]byte, []int)
Deprecated: Use Call_Reconcile.ProtoReflect.Descriptor instead.
func (*Call_Reconcile) GetTasks ¶
func (x *Call_Reconcile) GetTasks() []*Call_Reconcile_Task
func (*Call_Reconcile) ProtoMessage ¶
func (*Call_Reconcile) ProtoMessage()
func (*Call_Reconcile) ProtoReflect ¶ added in v1.1.0
func (x *Call_Reconcile) ProtoReflect() protoreflect.Message
func (*Call_Reconcile) Reset ¶
func (x *Call_Reconcile) Reset()
func (*Call_Reconcile) String ¶
func (x *Call_Reconcile) String() string
type Call_ReconcileOperations ¶
type Call_ReconcileOperations struct { Operations []*Call_ReconcileOperations_Operation `protobuf:"bytes,1,rep,name=operations" json:"operations,omitempty"` // contains filtered or unexported fields }
EXPERIMENTAL.
Allows the scheduler to query the status of operations. This causes the master to send back the latest status for each operation in 'operations', if possible. If 'operations' is empty, then the master will send the latest status for each operation currently known.
func (*Call_ReconcileOperations) Descriptor
deprecated
func (*Call_ReconcileOperations) Descriptor() ([]byte, []int)
Deprecated: Use Call_ReconcileOperations.ProtoReflect.Descriptor instead.
func (*Call_ReconcileOperations) GetOperations ¶
func (x *Call_ReconcileOperations) GetOperations() []*Call_ReconcileOperations_Operation
func (*Call_ReconcileOperations) ProtoMessage ¶
func (*Call_ReconcileOperations) ProtoMessage()
func (*Call_ReconcileOperations) ProtoReflect ¶ added in v1.1.0
func (x *Call_ReconcileOperations) ProtoReflect() protoreflect.Message
func (*Call_ReconcileOperations) Reset ¶
func (x *Call_ReconcileOperations) Reset()
func (*Call_ReconcileOperations) String ¶
func (x *Call_ReconcileOperations) String() string
type Call_ReconcileOperations_Operation ¶
type Call_ReconcileOperations_Operation struct { OperationId *OperationID `protobuf:"bytes,1,req,name=operation_id,json=operationId" json:"operation_id,omitempty"` // If `agent_id` is not set and the master doesn't know the operation, // then it will return `OPERATION_UNKNOWN`; if `agent_id` is set, it can // return more fine-grained states depending on the state of the // corresponding agent. AgentId *AgentID `protobuf:"bytes,2,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"` ResourceProviderId *ResourceProviderID `protobuf:"bytes,3,opt,name=resource_provider_id,json=resourceProviderId" json:"resource_provider_id,omitempty"` // contains filtered or unexported fields }
func (*Call_ReconcileOperations_Operation) Descriptor
deprecated
func (*Call_ReconcileOperations_Operation) Descriptor() ([]byte, []int)
Deprecated: Use Call_ReconcileOperations_Operation.ProtoReflect.Descriptor instead.
func (*Call_ReconcileOperations_Operation) GetAgentId ¶ added in v1.1.0
func (x *Call_ReconcileOperations_Operation) GetAgentId() *AgentID
func (*Call_ReconcileOperations_Operation) GetOperationId ¶ added in v1.1.0
func (x *Call_ReconcileOperations_Operation) GetOperationId() *OperationID
func (*Call_ReconcileOperations_Operation) GetResourceProviderId ¶ added in v1.1.0
func (x *Call_ReconcileOperations_Operation) GetResourceProviderId() *ResourceProviderID
func (*Call_ReconcileOperations_Operation) ProtoMessage ¶
func (*Call_ReconcileOperations_Operation) ProtoMessage()
func (*Call_ReconcileOperations_Operation) ProtoReflect ¶ added in v1.1.0
func (x *Call_ReconcileOperations_Operation) ProtoReflect() protoreflect.Message
func (*Call_ReconcileOperations_Operation) Reset ¶
func (x *Call_ReconcileOperations_Operation) Reset()
func (*Call_ReconcileOperations_Operation) String ¶
func (x *Call_ReconcileOperations_Operation) String() string
type Call_Reconcile_Task ¶
type Call_Reconcile_Task struct { TaskId *TaskID `protobuf:"bytes,1,req,name=task_id,json=taskId" json:"task_id,omitempty"` AgentId *AgentID `protobuf:"bytes,2,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"` // contains filtered or unexported fields }
TODO(vinod): Support arbitrary queries than just state of tasks.
func (*Call_Reconcile_Task) Descriptor
deprecated
func (*Call_Reconcile_Task) Descriptor() ([]byte, []int)
Deprecated: Use Call_Reconcile_Task.ProtoReflect.Descriptor instead.
func (*Call_Reconcile_Task) GetAgentId ¶ added in v1.1.0
func (x *Call_Reconcile_Task) GetAgentId() *AgentID
func (*Call_Reconcile_Task) GetTaskId ¶ added in v1.1.0
func (x *Call_Reconcile_Task) GetTaskId() *TaskID
func (*Call_Reconcile_Task) ProtoMessage ¶
func (*Call_Reconcile_Task) ProtoMessage()
func (*Call_Reconcile_Task) ProtoReflect ¶ added in v1.1.0
func (x *Call_Reconcile_Task) ProtoReflect() protoreflect.Message
func (*Call_Reconcile_Task) Reset ¶
func (x *Call_Reconcile_Task) Reset()
func (*Call_Reconcile_Task) String ¶
func (x *Call_Reconcile_Task) String() string
type Call_Request ¶
type Call_Request struct { Requests []*Request `protobuf:"bytes,1,rep,name=requests" json:"requests,omitempty"` // contains filtered or unexported fields }
Requests a specific set of resources from Mesos's allocator. If the allocator has support for this, corresponding offers will be sent asynchronously via the OFFERS event(s).
NOTE: The built-in hierarchical allocator doesn't have support for this call and hence simply ignores it.
func (*Call_Request) Descriptor
deprecated
func (*Call_Request) Descriptor() ([]byte, []int)
Deprecated: Use Call_Request.ProtoReflect.Descriptor instead.
func (*Call_Request) GetRequests ¶
func (x *Call_Request) GetRequests() []*Request
func (*Call_Request) ProtoMessage ¶
func (*Call_Request) ProtoMessage()
func (*Call_Request) ProtoReflect ¶ added in v1.1.0
func (x *Call_Request) ProtoReflect() protoreflect.Message
func (*Call_Request) Reset ¶
func (x *Call_Request) Reset()
func (*Call_Request) String ¶
func (x *Call_Request) String() string
type Call_Revive ¶
type Call_Revive struct { Roles []string `protobuf:"bytes,1,rep,name=roles" json:"roles,omitempty"` // contains filtered or unexported fields }
Revive offers for the specified roles. If `roles` is empty, the `REVIVE` call will revive offers for all of the roles the framework is currently subscribed to.
func (*Call_Revive) Descriptor
deprecated
func (*Call_Revive) Descriptor() ([]byte, []int)
Deprecated: Use Call_Revive.ProtoReflect.Descriptor instead.
func (*Call_Revive) GetRoles ¶
func (x *Call_Revive) GetRoles() []string
func (*Call_Revive) ProtoMessage ¶
func (*Call_Revive) ProtoMessage()
func (*Call_Revive) ProtoReflect ¶ added in v1.1.0
func (x *Call_Revive) ProtoReflect() protoreflect.Message
func (*Call_Revive) Reset ¶
func (x *Call_Revive) Reset()
func (*Call_Revive) String ¶
func (x *Call_Revive) String() string
type Call_Shutdown ¶
type Call_Shutdown struct { ExecutorId *ExecutorID `protobuf:"bytes,1,req,name=executor_id,json=executorId" json:"executor_id,omitempty"` AgentId *AgentID `protobuf:"bytes,2,req,name=agent_id,json=agentId" json:"agent_id,omitempty"` // contains filtered or unexported fields }
Shuts down a custom executor. When the executor gets a shutdown event, it is expected to kill all its tasks (and send TASK_KILLED updates) and terminate. If the executor doesn't terminate within a certain timeout (configurable via '--executor_shutdown_grace_period' agent flag), the agent will forcefully destroy the container (executor and its tasks) and transition its active tasks to TASK_LOST.
func (*Call_Shutdown) Descriptor
deprecated
func (*Call_Shutdown) Descriptor() ([]byte, []int)
Deprecated: Use Call_Shutdown.ProtoReflect.Descriptor instead.
func (*Call_Shutdown) GetAgentId ¶ added in v1.1.0
func (x *Call_Shutdown) GetAgentId() *AgentID
func (*Call_Shutdown) GetExecutorId ¶ added in v1.1.0
func (x *Call_Shutdown) GetExecutorId() *ExecutorID
func (*Call_Shutdown) ProtoMessage ¶
func (*Call_Shutdown) ProtoMessage()
func (*Call_Shutdown) ProtoReflect ¶ added in v1.1.0
func (x *Call_Shutdown) ProtoReflect() protoreflect.Message
func (*Call_Shutdown) Reset ¶
func (x *Call_Shutdown) Reset()
func (*Call_Shutdown) String ¶
func (x *Call_Shutdown) String() string
type Call_Subscribe ¶
type Call_Subscribe struct { // See the comments below on 'framework_id' on the semantics for // 'framework_info.id'. FrameworkInfo *FrameworkInfo `protobuf:"bytes,1,req,name=framework_info,json=frameworkInfo" json:"framework_info,omitempty"` // List of suppressed roles for which the framework does not wish to be // offered resources. The framework can decide to suppress all or a subset // of roles the framework (re)registers as. SuppressedRoles []string `protobuf:"bytes,2,rep,name=suppressed_roles,json=suppressedRoles" json:"suppressed_roles,omitempty"` OfferConstraints *OfferConstraints `protobuf:"bytes,3,opt,name=offer_constraints,json=offerConstraints" json:"offer_constraints,omitempty"` // contains filtered or unexported fields }
Subscribes the scheduler with the master to receive events. A scheduler must send other calls only after it has received the SUBCRIBED event.
func (*Call_Subscribe) Descriptor
deprecated
func (*Call_Subscribe) Descriptor() ([]byte, []int)
Deprecated: Use Call_Subscribe.ProtoReflect.Descriptor instead.
func (*Call_Subscribe) GetFrameworkInfo ¶
func (x *Call_Subscribe) GetFrameworkInfo() *FrameworkInfo
func (*Call_Subscribe) GetOfferConstraints ¶ added in v1.1.0
func (x *Call_Subscribe) GetOfferConstraints() *OfferConstraints
func (*Call_Subscribe) GetSuppressedRoles ¶
func (x *Call_Subscribe) GetSuppressedRoles() []string
func (*Call_Subscribe) ProtoMessage ¶
func (*Call_Subscribe) ProtoMessage()
func (*Call_Subscribe) ProtoReflect ¶ added in v1.1.0
func (x *Call_Subscribe) ProtoReflect() protoreflect.Message
func (*Call_Subscribe) Reset ¶
func (x *Call_Subscribe) Reset()
func (*Call_Subscribe) String ¶
func (x *Call_Subscribe) String() string
type Call_Suppress ¶
type Call_Suppress struct { Roles []string `protobuf:"bytes,1,rep,name=roles" json:"roles,omitempty"` // contains filtered or unexported fields }
Suppress offers for the specified roles. If `roles` is empty, the `SUPPRESS` call will suppress offers for all of the roles the framework is currently subscribed to.
func (*Call_Suppress) Descriptor
deprecated
func (*Call_Suppress) Descriptor() ([]byte, []int)
Deprecated: Use Call_Suppress.ProtoReflect.Descriptor instead.
func (*Call_Suppress) GetRoles ¶
func (x *Call_Suppress) GetRoles() []string
func (*Call_Suppress) ProtoMessage ¶
func (*Call_Suppress) ProtoMessage()
func (*Call_Suppress) ProtoReflect ¶ added in v1.1.0
func (x *Call_Suppress) ProtoReflect() protoreflect.Message
func (*Call_Suppress) Reset ¶
func (x *Call_Suppress) Reset()
func (*Call_Suppress) String ¶
func (x *Call_Suppress) String() string
type Call_Type ¶
type Call_Type int32
Possible call types, followed by message definitions if applicable.
const ( // See comments above on `Event::Type` for more details on this enum value. Call_UNKNOWN Call_Type = 0 Call_SUBSCRIBE Call_Type = 1 // See 'Subscribe' below. Call_TEARDOWN Call_Type = 2 // Shuts down all tasks/executors and removes framework. Call_ACCEPT Call_Type = 3 // See 'Accept' below. Call_DECLINE Call_Type = 4 // See 'Decline' below. Call_ACCEPT_INVERSE_OFFERS Call_Type = 13 // See 'AcceptInverseOffers' below. Call_DECLINE_INVERSE_OFFERS Call_Type = 14 // See 'DeclineInverseOffers' below. Call_REVIVE Call_Type = 5 // Removes any previous filters set via ACCEPT or DECLINE. Call_KILL Call_Type = 6 // See 'Kill' below. Call_SHUTDOWN Call_Type = 7 // See 'Shutdown' below. Call_ACKNOWLEDGE Call_Type = 8 // See 'Acknowledge' below. Call_ACKNOWLEDGE_OPERATION_STATUS Call_Type = 15 // See message below. Call_RECONCILE Call_Type = 9 // See 'Reconcile' below. Call_RECONCILE_OPERATIONS Call_Type = 16 // See 'ReconcileOperations' below. Call_MESSAGE Call_Type = 10 // See 'Message' below. Call_REQUEST Call_Type = 11 // See 'Request' below. Call_SUPPRESS Call_Type = 12 // Inform master to stop sending offers to the framework. Call_UPDATE_FRAMEWORK Call_Type = 17 // See 'UpdateFramework' below. )
func (Call_Type) Descriptor ¶ added in v1.1.0
func (Call_Type) Descriptor() protoreflect.EnumDescriptor
func (Call_Type) EnumDescriptor
deprecated
func (Call_Type) Number ¶ added in v1.1.0
func (x Call_Type) Number() protoreflect.EnumNumber
func (Call_Type) Type ¶ added in v1.1.0
func (Call_Type) Type() protoreflect.EnumType
func (*Call_Type) UnmarshalJSON
deprecated
type Call_UpdateFramework ¶
type Call_UpdateFramework struct { FrameworkInfo *FrameworkInfo `protobuf:"bytes,1,req,name=framework_info,json=frameworkInfo" json:"framework_info,omitempty"` // List of suppressed roles for which the framework does not wish to be // offered resources. The framework can decide to suppress all or a subset // of roles provided in the new `framework_info`. SuppressedRoles []string `protobuf:"bytes,2,rep,name=suppressed_roles,json=suppressedRoles" json:"suppressed_roles,omitempty"` OfferConstraints *OfferConstraints `protobuf:"bytes,3,opt,name=offer_constraints,json=offerConstraints" json:"offer_constraints,omitempty"` // contains filtered or unexported fields }
Updates the FrameworkInfo. All fields can be updated except for:
* FrameworkInfo.checkpoint * FrameworkInfo.principal * FrameworkInfo.user
The call returns after the update is either applied completely or not applied at all. No incomplete updates occur.
The HTTP response codes specific to this call are:
- 200 OK: update operation was successfully completed.
- 400 Bad Request: the requested update is not valid.
- 403 Forbidden: framework is not authorized to use some entities requested by the update (e.g. not authorized to use some of the supplied roles).
- 409 Conflict: framework disappeared while this call was being processed (example: the framework was removed by a concurrent TEARDOWN call).
func (*Call_UpdateFramework) Descriptor
deprecated
func (*Call_UpdateFramework) Descriptor() ([]byte, []int)
Deprecated: Use Call_UpdateFramework.ProtoReflect.Descriptor instead.
func (*Call_UpdateFramework) GetFrameworkInfo ¶
func (x *Call_UpdateFramework) GetFrameworkInfo() *FrameworkInfo
func (*Call_UpdateFramework) GetOfferConstraints ¶ added in v1.1.0
func (x *Call_UpdateFramework) GetOfferConstraints() *OfferConstraints
func (*Call_UpdateFramework) GetSuppressedRoles ¶
func (x *Call_UpdateFramework) GetSuppressedRoles() []string
func (*Call_UpdateFramework) ProtoMessage ¶
func (*Call_UpdateFramework) ProtoMessage()
func (*Call_UpdateFramework) ProtoReflect ¶ added in v1.1.0
func (x *Call_UpdateFramework) ProtoReflect() protoreflect.Message
func (*Call_UpdateFramework) Reset ¶
func (x *Call_UpdateFramework) Reset()
func (*Call_UpdateFramework) String ¶
func (x *Call_UpdateFramework) String() string
type CapabilityInfo ¶
type CapabilityInfo struct { Capabilities []CapabilityInfo_Capability `protobuf:"varint,1,rep,name=capabilities,enum=mesos.v1.CapabilityInfo_Capability" json:"capabilities,omitempty"` // contains filtered or unexported fields }
* Encapsulation of `Capabilities` supported by Linux. Reference: http://linux.die.net/man/7/capabilities.
func (*CapabilityInfo) Descriptor
deprecated
func (*CapabilityInfo) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityInfo.ProtoReflect.Descriptor instead.
func (*CapabilityInfo) GetCapabilities ¶
func (x *CapabilityInfo) GetCapabilities() []CapabilityInfo_Capability
func (*CapabilityInfo) ProtoMessage ¶
func (*CapabilityInfo) ProtoMessage()
func (*CapabilityInfo) ProtoReflect ¶ added in v1.1.0
func (x *CapabilityInfo) ProtoReflect() protoreflect.Message
func (*CapabilityInfo) Reset ¶
func (x *CapabilityInfo) Reset()
func (*CapabilityInfo) String ¶
func (x *CapabilityInfo) String() string
type CapabilityInfo_Capability ¶
type CapabilityInfo_Capability int32
We start the actual values at an offset(1000) because Protobuf 2 uses the first value as the default one. Separating the default value from the real first value helps to disambiguate them. This is especially valuable for backward compatibility. See: MESOS-4997.
const ( CapabilityInfo_UNKNOWN CapabilityInfo_Capability = 0 CapabilityInfo_CHOWN CapabilityInfo_Capability = 1000 CapabilityInfo_DAC_OVERRIDE CapabilityInfo_Capability = 1001 CapabilityInfo_DAC_READ_SEARCH CapabilityInfo_Capability = 1002 CapabilityInfo_FOWNER CapabilityInfo_Capability = 1003 CapabilityInfo_FSETID CapabilityInfo_Capability = 1004 CapabilityInfo_KILL CapabilityInfo_Capability = 1005 CapabilityInfo_SETGID CapabilityInfo_Capability = 1006 CapabilityInfo_SETUID CapabilityInfo_Capability = 1007 CapabilityInfo_SETPCAP CapabilityInfo_Capability = 1008 CapabilityInfo_LINUX_IMMUTABLE CapabilityInfo_Capability = 1009 CapabilityInfo_NET_BIND_SERVICE CapabilityInfo_Capability = 1010 CapabilityInfo_NET_BROADCAST CapabilityInfo_Capability = 1011 CapabilityInfo_NET_ADMIN CapabilityInfo_Capability = 1012 CapabilityInfo_NET_RAW CapabilityInfo_Capability = 1013 CapabilityInfo_IPC_LOCK CapabilityInfo_Capability = 1014 CapabilityInfo_IPC_OWNER CapabilityInfo_Capability = 1015 CapabilityInfo_SYS_MODULE CapabilityInfo_Capability = 1016 CapabilityInfo_SYS_RAWIO CapabilityInfo_Capability = 1017 CapabilityInfo_SYS_CHROOT CapabilityInfo_Capability = 1018 CapabilityInfo_SYS_PTRACE CapabilityInfo_Capability = 1019 CapabilityInfo_SYS_PACCT CapabilityInfo_Capability = 1020 CapabilityInfo_SYS_ADMIN CapabilityInfo_Capability = 1021 CapabilityInfo_SYS_BOOT CapabilityInfo_Capability = 1022 CapabilityInfo_SYS_NICE CapabilityInfo_Capability = 1023 CapabilityInfo_SYS_RESOURCE CapabilityInfo_Capability = 1024 CapabilityInfo_SYS_TIME CapabilityInfo_Capability = 1025 CapabilityInfo_SYS_TTY_CONFIG CapabilityInfo_Capability = 1026 CapabilityInfo_MKNOD CapabilityInfo_Capability = 1027 CapabilityInfo_LEASE CapabilityInfo_Capability = 1028 CapabilityInfo_AUDIT_WRITE CapabilityInfo_Capability = 1029 CapabilityInfo_AUDIT_CONTROL CapabilityInfo_Capability = 1030 CapabilityInfo_SETFCAP CapabilityInfo_Capability = 1031 CapabilityInfo_MAC_OVERRIDE CapabilityInfo_Capability = 1032 CapabilityInfo_MAC_ADMIN CapabilityInfo_Capability = 1033 CapabilityInfo_SYSLOG CapabilityInfo_Capability = 1034 CapabilityInfo_WAKE_ALARM CapabilityInfo_Capability = 1035 CapabilityInfo_BLOCK_SUSPEND CapabilityInfo_Capability = 1036 CapabilityInfo_AUDIT_READ CapabilityInfo_Capability = 1037 CapabilityInfo_PERFMON CapabilityInfo_Capability = 1038 CapabilityInfo_BPF CapabilityInfo_Capability = 1039 CapabilityInfo_CHECKPOINT_RESTORE CapabilityInfo_Capability = 1040 )
func (CapabilityInfo_Capability) Descriptor ¶ added in v1.1.0
func (CapabilityInfo_Capability) Descriptor() protoreflect.EnumDescriptor
func (CapabilityInfo_Capability) Enum ¶
func (x CapabilityInfo_Capability) Enum() *CapabilityInfo_Capability
func (CapabilityInfo_Capability) EnumDescriptor
deprecated
func (CapabilityInfo_Capability) EnumDescriptor() ([]byte, []int)
Deprecated: Use CapabilityInfo_Capability.Descriptor instead.
func (CapabilityInfo_Capability) Number ¶ added in v1.1.0
func (x CapabilityInfo_Capability) Number() protoreflect.EnumNumber
func (CapabilityInfo_Capability) String ¶
func (x CapabilityInfo_Capability) String() string
func (CapabilityInfo_Capability) Type ¶ added in v1.1.0
func (CapabilityInfo_Capability) Type() protoreflect.EnumType
func (*CapabilityInfo_Capability) UnmarshalJSON
deprecated
func (x *CapabilityInfo_Capability) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type CgroupInfo ¶
type CgroupInfo struct { NetCls *CgroupInfo_NetCls `protobuf:"bytes,1,opt,name=net_cls,json=netCls" json:"net_cls,omitempty"` // contains filtered or unexported fields }
* Linux control group (cgroup) information.
func (*CgroupInfo) Descriptor
deprecated
func (*CgroupInfo) Descriptor() ([]byte, []int)
Deprecated: Use CgroupInfo.ProtoReflect.Descriptor instead.
func (*CgroupInfo) GetNetCls ¶ added in v1.1.0
func (x *CgroupInfo) GetNetCls() *CgroupInfo_NetCls
func (*CgroupInfo) ProtoMessage ¶
func (*CgroupInfo) ProtoMessage()
func (*CgroupInfo) ProtoReflect ¶ added in v1.1.0
func (x *CgroupInfo) ProtoReflect() protoreflect.Message
func (*CgroupInfo) Reset ¶
func (x *CgroupInfo) Reset()
func (*CgroupInfo) String ¶
func (x *CgroupInfo) String() string
type CgroupInfo_Blkio ¶
type CgroupInfo_Blkio struct {
// contains filtered or unexported fields
}
Configuration of a blkio cgroup subsystem.
func (*CgroupInfo_Blkio) Descriptor
deprecated
func (*CgroupInfo_Blkio) Descriptor() ([]byte, []int)
Deprecated: Use CgroupInfo_Blkio.ProtoReflect.Descriptor instead.
func (*CgroupInfo_Blkio) ProtoMessage ¶
func (*CgroupInfo_Blkio) ProtoMessage()
func (*CgroupInfo_Blkio) ProtoReflect ¶ added in v1.1.0
func (x *CgroupInfo_Blkio) ProtoReflect() protoreflect.Message
func (*CgroupInfo_Blkio) Reset ¶
func (x *CgroupInfo_Blkio) Reset()
func (*CgroupInfo_Blkio) String ¶
func (x *CgroupInfo_Blkio) String() string
type CgroupInfo_Blkio_CFQ ¶
type CgroupInfo_Blkio_CFQ struct {
// contains filtered or unexported fields
}
func (*CgroupInfo_Blkio_CFQ) Descriptor
deprecated
func (*CgroupInfo_Blkio_CFQ) Descriptor() ([]byte, []int)
Deprecated: Use CgroupInfo_Blkio_CFQ.ProtoReflect.Descriptor instead.
func (*CgroupInfo_Blkio_CFQ) ProtoMessage ¶
func (*CgroupInfo_Blkio_CFQ) ProtoMessage()
func (*CgroupInfo_Blkio_CFQ) ProtoReflect ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_CFQ) ProtoReflect() protoreflect.Message
func (*CgroupInfo_Blkio_CFQ) Reset ¶
func (x *CgroupInfo_Blkio_CFQ) Reset()
func (*CgroupInfo_Blkio_CFQ) String ¶
func (x *CgroupInfo_Blkio_CFQ) String() string
type CgroupInfo_Blkio_CFQ_Statistics ¶
type CgroupInfo_Blkio_CFQ_Statistics struct { // Stats are grouped by block devices. If `device` is not // set, it represents `Total`. Device *Device_Number `protobuf:"bytes,1,opt,name=device" json:"device,omitempty"` // blkio.sectors Sectors *uint64 `protobuf:"varint,2,opt,name=sectors" json:"sectors,omitempty"` // blkio.time Time *uint64 `protobuf:"varint,3,opt,name=time" json:"time,omitempty"` // blkio.io_serviced IoServiced []*CgroupInfo_Blkio_Value `protobuf:"bytes,4,rep,name=io_serviced,json=ioServiced" json:"io_serviced,omitempty"` // blkio.io_service_bytes IoServiceBytes []*CgroupInfo_Blkio_Value `protobuf:"bytes,5,rep,name=io_service_bytes,json=ioServiceBytes" json:"io_service_bytes,omitempty"` // blkio.io_service_time IoServiceTime []*CgroupInfo_Blkio_Value `protobuf:"bytes,6,rep,name=io_service_time,json=ioServiceTime" json:"io_service_time,omitempty"` // blkio.io_wait_time IoWaitTime []*CgroupInfo_Blkio_Value `protobuf:"bytes,7,rep,name=io_wait_time,json=ioWaitTime" json:"io_wait_time,omitempty"` // blkio.io_merged IoMerged []*CgroupInfo_Blkio_Value `protobuf:"bytes,8,rep,name=io_merged,json=ioMerged" json:"io_merged,omitempty"` // blkio.io_queued IoQueued []*CgroupInfo_Blkio_Value `protobuf:"bytes,9,rep,name=io_queued,json=ioQueued" json:"io_queued,omitempty"` // contains filtered or unexported fields }
func (*CgroupInfo_Blkio_CFQ_Statistics) Descriptor
deprecated
func (*CgroupInfo_Blkio_CFQ_Statistics) Descriptor() ([]byte, []int)
Deprecated: Use CgroupInfo_Blkio_CFQ_Statistics.ProtoReflect.Descriptor instead.
func (*CgroupInfo_Blkio_CFQ_Statistics) GetDevice ¶
func (x *CgroupInfo_Blkio_CFQ_Statistics) GetDevice() *Device_Number
func (*CgroupInfo_Blkio_CFQ_Statistics) GetIoMerged ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoMerged() []*CgroupInfo_Blkio_Value
func (*CgroupInfo_Blkio_CFQ_Statistics) GetIoQueued ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoQueued() []*CgroupInfo_Blkio_Value
func (*CgroupInfo_Blkio_CFQ_Statistics) GetIoServiceBytes ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoServiceBytes() []*CgroupInfo_Blkio_Value
func (*CgroupInfo_Blkio_CFQ_Statistics) GetIoServiceTime ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoServiceTime() []*CgroupInfo_Blkio_Value
func (*CgroupInfo_Blkio_CFQ_Statistics) GetIoServiced ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoServiced() []*CgroupInfo_Blkio_Value
func (*CgroupInfo_Blkio_CFQ_Statistics) GetIoWaitTime ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_CFQ_Statistics) GetIoWaitTime() []*CgroupInfo_Blkio_Value
func (*CgroupInfo_Blkio_CFQ_Statistics) GetSectors ¶
func (x *CgroupInfo_Blkio_CFQ_Statistics) GetSectors() uint64
func (*CgroupInfo_Blkio_CFQ_Statistics) GetTime ¶
func (x *CgroupInfo_Blkio_CFQ_Statistics) GetTime() uint64
func (*CgroupInfo_Blkio_CFQ_Statistics) ProtoMessage ¶
func (*CgroupInfo_Blkio_CFQ_Statistics) ProtoMessage()
func (*CgroupInfo_Blkio_CFQ_Statistics) ProtoReflect ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_CFQ_Statistics) ProtoReflect() protoreflect.Message
func (*CgroupInfo_Blkio_CFQ_Statistics) Reset ¶
func (x *CgroupInfo_Blkio_CFQ_Statistics) Reset()
func (*CgroupInfo_Blkio_CFQ_Statistics) String ¶
func (x *CgroupInfo_Blkio_CFQ_Statistics) String() string
type CgroupInfo_Blkio_Operation ¶
type CgroupInfo_Blkio_Operation int32
const ( CgroupInfo_Blkio_UNKNOWN CgroupInfo_Blkio_Operation = 0 CgroupInfo_Blkio_TOTAL CgroupInfo_Blkio_Operation = 1 CgroupInfo_Blkio_READ CgroupInfo_Blkio_Operation = 2 CgroupInfo_Blkio_WRITE CgroupInfo_Blkio_Operation = 3 CgroupInfo_Blkio_SYNC CgroupInfo_Blkio_Operation = 4 CgroupInfo_Blkio_ASYNC CgroupInfo_Blkio_Operation = 5 CgroupInfo_Blkio_DISCARD CgroupInfo_Blkio_Operation = 6 )
func (CgroupInfo_Blkio_Operation) Descriptor ¶ added in v1.1.0
func (CgroupInfo_Blkio_Operation) Descriptor() protoreflect.EnumDescriptor
func (CgroupInfo_Blkio_Operation) Enum ¶
func (x CgroupInfo_Blkio_Operation) Enum() *CgroupInfo_Blkio_Operation
func (CgroupInfo_Blkio_Operation) EnumDescriptor
deprecated
func (CgroupInfo_Blkio_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use CgroupInfo_Blkio_Operation.Descriptor instead.
func (CgroupInfo_Blkio_Operation) Number ¶ added in v1.1.0
func (x CgroupInfo_Blkio_Operation) Number() protoreflect.EnumNumber
func (CgroupInfo_Blkio_Operation) String ¶
func (x CgroupInfo_Blkio_Operation) String() string
func (CgroupInfo_Blkio_Operation) Type ¶ added in v1.1.0
func (CgroupInfo_Blkio_Operation) Type() protoreflect.EnumType
func (*CgroupInfo_Blkio_Operation) UnmarshalJSON
deprecated
func (x *CgroupInfo_Blkio_Operation) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type CgroupInfo_Blkio_Statistics ¶
type CgroupInfo_Blkio_Statistics struct { Cfq []*CgroupInfo_Blkio_CFQ_Statistics `protobuf:"bytes,1,rep,name=cfq" json:"cfq,omitempty"` CfqRecursive []*CgroupInfo_Blkio_CFQ_Statistics `protobuf:"bytes,2,rep,name=cfq_recursive,json=cfqRecursive" json:"cfq_recursive,omitempty"` Throttling []*CgroupInfo_Blkio_Throttling_Statistics `protobuf:"bytes,3,rep,name=throttling" json:"throttling,omitempty"` // contains filtered or unexported fields }
func (*CgroupInfo_Blkio_Statistics) Descriptor
deprecated
func (*CgroupInfo_Blkio_Statistics) Descriptor() ([]byte, []int)
Deprecated: Use CgroupInfo_Blkio_Statistics.ProtoReflect.Descriptor instead.
func (*CgroupInfo_Blkio_Statistics) GetCfq ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_Statistics) GetCfq() []*CgroupInfo_Blkio_CFQ_Statistics
func (*CgroupInfo_Blkio_Statistics) GetCfqRecursive ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_Statistics) GetCfqRecursive() []*CgroupInfo_Blkio_CFQ_Statistics
func (*CgroupInfo_Blkio_Statistics) GetThrottling ¶
func (x *CgroupInfo_Blkio_Statistics) GetThrottling() []*CgroupInfo_Blkio_Throttling_Statistics
func (*CgroupInfo_Blkio_Statistics) ProtoMessage ¶
func (*CgroupInfo_Blkio_Statistics) ProtoMessage()
func (*CgroupInfo_Blkio_Statistics) ProtoReflect ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_Statistics) ProtoReflect() protoreflect.Message
func (*CgroupInfo_Blkio_Statistics) Reset ¶
func (x *CgroupInfo_Blkio_Statistics) Reset()
func (*CgroupInfo_Blkio_Statistics) String ¶
func (x *CgroupInfo_Blkio_Statistics) String() string
type CgroupInfo_Blkio_Throttling ¶
type CgroupInfo_Blkio_Throttling struct {
// contains filtered or unexported fields
}
func (*CgroupInfo_Blkio_Throttling) Descriptor
deprecated
func (*CgroupInfo_Blkio_Throttling) Descriptor() ([]byte, []int)
Deprecated: Use CgroupInfo_Blkio_Throttling.ProtoReflect.Descriptor instead.
func (*CgroupInfo_Blkio_Throttling) ProtoMessage ¶
func (*CgroupInfo_Blkio_Throttling) ProtoMessage()
func (*CgroupInfo_Blkio_Throttling) ProtoReflect ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_Throttling) ProtoReflect() protoreflect.Message
func (*CgroupInfo_Blkio_Throttling) Reset ¶
func (x *CgroupInfo_Blkio_Throttling) Reset()
func (*CgroupInfo_Blkio_Throttling) String ¶
func (x *CgroupInfo_Blkio_Throttling) String() string
type CgroupInfo_Blkio_Throttling_Statistics ¶
type CgroupInfo_Blkio_Throttling_Statistics struct { // Stats are grouped by block devices. If `device` is not // set, it represents `Total`. Device *Device_Number `protobuf:"bytes,1,opt,name=device" json:"device,omitempty"` // blkio.throttle.io_serviced IoServiced []*CgroupInfo_Blkio_Value `protobuf:"bytes,2,rep,name=io_serviced,json=ioServiced" json:"io_serviced,omitempty"` // blkio.throttle.io_service_bytes IoServiceBytes []*CgroupInfo_Blkio_Value `protobuf:"bytes,3,rep,name=io_service_bytes,json=ioServiceBytes" json:"io_service_bytes,omitempty"` // contains filtered or unexported fields }
func (*CgroupInfo_Blkio_Throttling_Statistics) Descriptor
deprecated
func (*CgroupInfo_Blkio_Throttling_Statistics) Descriptor() ([]byte, []int)
Deprecated: Use CgroupInfo_Blkio_Throttling_Statistics.ProtoReflect.Descriptor instead.
func (*CgroupInfo_Blkio_Throttling_Statistics) GetDevice ¶
func (x *CgroupInfo_Blkio_Throttling_Statistics) GetDevice() *Device_Number
func (*CgroupInfo_Blkio_Throttling_Statistics) GetIoServiceBytes ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_Throttling_Statistics) GetIoServiceBytes() []*CgroupInfo_Blkio_Value
func (*CgroupInfo_Blkio_Throttling_Statistics) GetIoServiced ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_Throttling_Statistics) GetIoServiced() []*CgroupInfo_Blkio_Value
func (*CgroupInfo_Blkio_Throttling_Statistics) ProtoMessage ¶
func (*CgroupInfo_Blkio_Throttling_Statistics) ProtoMessage()
func (*CgroupInfo_Blkio_Throttling_Statistics) ProtoReflect ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_Throttling_Statistics) ProtoReflect() protoreflect.Message
func (*CgroupInfo_Blkio_Throttling_Statistics) Reset ¶
func (x *CgroupInfo_Blkio_Throttling_Statistics) Reset()
func (*CgroupInfo_Blkio_Throttling_Statistics) String ¶
func (x *CgroupInfo_Blkio_Throttling_Statistics) String() string
type CgroupInfo_Blkio_Value ¶
type CgroupInfo_Blkio_Value struct { Op *CgroupInfo_Blkio_Operation `protobuf:"varint,1,opt,name=op,enum=mesos.v1.CgroupInfo_Blkio_Operation" json:"op,omitempty"` // Required. Value *uint64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` // Required. // contains filtered or unexported fields }
Describes a stat value without the device descriptor part.
func (*CgroupInfo_Blkio_Value) Descriptor
deprecated
func (*CgroupInfo_Blkio_Value) Descriptor() ([]byte, []int)
Deprecated: Use CgroupInfo_Blkio_Value.ProtoReflect.Descriptor instead.
func (*CgroupInfo_Blkio_Value) GetOp ¶
func (x *CgroupInfo_Blkio_Value) GetOp() CgroupInfo_Blkio_Operation
func (*CgroupInfo_Blkio_Value) GetValue ¶
func (x *CgroupInfo_Blkio_Value) GetValue() uint64
func (*CgroupInfo_Blkio_Value) ProtoMessage ¶
func (*CgroupInfo_Blkio_Value) ProtoMessage()
func (*CgroupInfo_Blkio_Value) ProtoReflect ¶ added in v1.1.0
func (x *CgroupInfo_Blkio_Value) ProtoReflect() protoreflect.Message
func (*CgroupInfo_Blkio_Value) Reset ¶
func (x *CgroupInfo_Blkio_Value) Reset()
func (*CgroupInfo_Blkio_Value) String ¶
func (x *CgroupInfo_Blkio_Value) String() string
type CgroupInfo_NetCls ¶
type CgroupInfo_NetCls struct { // The 32-bit classid consists of two parts, a 16 bit major handle // and a 16-bit minor handle. The major and minor handle are // represented using the format 0xAAAABBBB, where 0xAAAA is the // 16-bit major handle and 0xBBBB is the 16-bit minor handle. Classid *uint32 `protobuf:"varint,1,opt,name=classid" json:"classid,omitempty"` // contains filtered or unexported fields }
Configuration of a net_cls cgroup subsystem.
func (*CgroupInfo_NetCls) Descriptor
deprecated
func (*CgroupInfo_NetCls) Descriptor() ([]byte, []int)
Deprecated: Use CgroupInfo_NetCls.ProtoReflect.Descriptor instead.
func (*CgroupInfo_NetCls) GetClassid ¶ added in v1.1.0
func (x *CgroupInfo_NetCls) GetClassid() uint32
func (*CgroupInfo_NetCls) ProtoMessage ¶
func (*CgroupInfo_NetCls) ProtoMessage()
func (*CgroupInfo_NetCls) ProtoReflect ¶ added in v1.1.0
func (x *CgroupInfo_NetCls) ProtoReflect() protoreflect.Message
func (*CgroupInfo_NetCls) Reset ¶
func (x *CgroupInfo_NetCls) Reset()
func (*CgroupInfo_NetCls) String ¶
func (x *CgroupInfo_NetCls) String() string
type CheckInfo ¶
type CheckInfo struct { // The type of the check. Type *CheckInfo_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.CheckInfo_Type" json:"type,omitempty"` // Command check. Command *CheckInfo_Command `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"` // HTTP check. Http *CheckInfo_Http `protobuf:"bytes,3,opt,name=http" json:"http,omitempty"` // TCP check. Tcp *CheckInfo_Tcp `protobuf:"bytes,7,opt,name=tcp" json:"tcp,omitempty"` // Amount of time to wait to start checking the task after it // transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter // is used by the executor. DelaySeconds *float64 `protobuf:"fixed64,4,opt,name=delay_seconds,json=delaySeconds,def=15" json:"delay_seconds,omitempty"` // Interval between check attempts, i.e., amount of time to wait after // the previous check finished or timed out to start the next check. IntervalSeconds *float64 `protobuf:"fixed64,5,opt,name=interval_seconds,json=intervalSeconds,def=10" json:"interval_seconds,omitempty"` // Amount of time to wait for the check to complete. Zero means infinite // timeout. // // After this timeout, the check attempt is aborted and no result is // reported. Note that this may be considered a state change and hence // may trigger a check status change delivery to the corresponding // scheduler. See `CheckStatusInfo` for more details. TimeoutSeconds *float64 `protobuf:"fixed64,6,opt,name=timeout_seconds,json=timeoutSeconds,def=20" json:"timeout_seconds,omitempty"` // contains filtered or unexported fields }
* Describes a general non-interpreting non-killing check for a task or executor (or any arbitrary process/command). A type is picked by specifying one of the optional fields. Specifying more than one type is an error.
NOTE: This API is subject to change and the related feature is experimental.
func (*CheckInfo) Descriptor
deprecated
func (*CheckInfo) GetCommand ¶
func (x *CheckInfo) GetCommand() *CheckInfo_Command
func (*CheckInfo) GetDelaySeconds ¶
func (*CheckInfo) GetHttp ¶ added in v1.1.0
func (x *CheckInfo) GetHttp() *CheckInfo_Http
func (*CheckInfo) GetIntervalSeconds ¶
func (*CheckInfo) GetTcp ¶ added in v1.1.0
func (x *CheckInfo) GetTcp() *CheckInfo_Tcp
func (*CheckInfo) GetTimeoutSeconds ¶
func (*CheckInfo) GetType ¶
func (x *CheckInfo) GetType() CheckInfo_Type
func (*CheckInfo) ProtoMessage ¶
func (*CheckInfo) ProtoMessage()
func (*CheckInfo) ProtoReflect ¶ added in v1.1.0
func (x *CheckInfo) ProtoReflect() protoreflect.Message
type CheckInfo_Command ¶
type CheckInfo_Command struct { Command *CommandInfo `protobuf:"bytes,1,req,name=command" json:"command,omitempty"` // contains filtered or unexported fields }
Describes a command check. If applicable, enters mount and/or network namespaces of the task.
func (*CheckInfo_Command) Descriptor
deprecated
func (*CheckInfo_Command) Descriptor() ([]byte, []int)
Deprecated: Use CheckInfo_Command.ProtoReflect.Descriptor instead.
func (*CheckInfo_Command) GetCommand ¶
func (x *CheckInfo_Command) GetCommand() *CommandInfo
func (*CheckInfo_Command) ProtoMessage ¶
func (*CheckInfo_Command) ProtoMessage()
func (*CheckInfo_Command) ProtoReflect ¶ added in v1.1.0
func (x *CheckInfo_Command) ProtoReflect() protoreflect.Message
func (*CheckInfo_Command) Reset ¶
func (x *CheckInfo_Command) Reset()
func (*CheckInfo_Command) String ¶
func (x *CheckInfo_Command) String() string
type CheckInfo_Http ¶
type CheckInfo_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" json:"path,omitempty"` // contains filtered or unexported fields }
Describes an HTTP check. Sends a GET request to http://<host>:port/path. Note that <host> is not configurable and is resolved automatically to 127.0.0.1.
func (*CheckInfo_Http) Descriptor
deprecated
func (*CheckInfo_Http) Descriptor() ([]byte, []int)
Deprecated: Use CheckInfo_Http.ProtoReflect.Descriptor instead.
func (*CheckInfo_Http) GetPath ¶
func (x *CheckInfo_Http) GetPath() string
func (*CheckInfo_Http) GetPort ¶
func (x *CheckInfo_Http) GetPort() uint32
func (*CheckInfo_Http) ProtoMessage ¶
func (*CheckInfo_Http) ProtoMessage()
func (*CheckInfo_Http) ProtoReflect ¶ added in v1.1.0
func (x *CheckInfo_Http) ProtoReflect() protoreflect.Message
func (*CheckInfo_Http) Reset ¶
func (x *CheckInfo_Http) Reset()
func (*CheckInfo_Http) String ¶
func (x *CheckInfo_Http) String() string
type CheckInfo_Tcp ¶
type CheckInfo_Tcp struct { Port *uint32 `protobuf:"varint,1,req,name=port" json:"port,omitempty"` // contains filtered or unexported fields }
Describes a TCP check, i.e. based on establishing a TCP connection to the specified port. Note that <host> is not configurable and is resolved automatically to 127.0.0.1.
func (*CheckInfo_Tcp) Descriptor
deprecated
func (*CheckInfo_Tcp) Descriptor() ([]byte, []int)
Deprecated: Use CheckInfo_Tcp.ProtoReflect.Descriptor instead.
func (*CheckInfo_Tcp) GetPort ¶
func (x *CheckInfo_Tcp) GetPort() uint32
func (*CheckInfo_Tcp) ProtoMessage ¶
func (*CheckInfo_Tcp) ProtoMessage()
func (*CheckInfo_Tcp) ProtoReflect ¶ added in v1.1.0
func (x *CheckInfo_Tcp) ProtoReflect() protoreflect.Message
func (*CheckInfo_Tcp) Reset ¶
func (x *CheckInfo_Tcp) Reset()
func (*CheckInfo_Tcp) String ¶
func (x *CheckInfo_Tcp) String() string
type CheckInfo_Type ¶
type CheckInfo_Type int32
const ( CheckInfo_UNKNOWN CheckInfo_Type = 0 CheckInfo_COMMAND CheckInfo_Type = 1 CheckInfo_HTTP CheckInfo_Type = 2 CheckInfo_TCP CheckInfo_Type = 3 )
func (CheckInfo_Type) Descriptor ¶ added in v1.1.0
func (CheckInfo_Type) Descriptor() protoreflect.EnumDescriptor
func (CheckInfo_Type) Enum ¶
func (x CheckInfo_Type) Enum() *CheckInfo_Type
func (CheckInfo_Type) EnumDescriptor
deprecated
func (CheckInfo_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckInfo_Type.Descriptor instead.
func (CheckInfo_Type) Number ¶ added in v1.1.0
func (x CheckInfo_Type) Number() protoreflect.EnumNumber
func (CheckInfo_Type) String ¶
func (x CheckInfo_Type) String() string
func (CheckInfo_Type) Type ¶ added in v1.1.0
func (CheckInfo_Type) Type() protoreflect.EnumType
func (*CheckInfo_Type) UnmarshalJSON
deprecated
func (x *CheckInfo_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type CheckStatusInfo ¶
type CheckStatusInfo struct { // The type of the check this status corresponds to. Type *CheckInfo_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.CheckInfo_Type" json:"type,omitempty"` // Status of a command check. Command *CheckStatusInfo_Command `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"` // Status of an HTTP check. Http *CheckStatusInfo_Http `protobuf:"bytes,3,opt,name=http" json:"http,omitempty"` // Status of a TCP check. Tcp *CheckStatusInfo_Tcp `protobuf:"bytes,4,opt,name=tcp" json:"tcp,omitempty"` // contains filtered or unexported fields }
* Describes the status of a check. Type and the corresponding field, i.e., `command` or `http` must be set. If the result of the check is not available (e.g., the check timed out), these fields must contain empty messages, i.e., `exit_code` or `status_code` will be unset.
NOTE: This API is subject to change and the related feature is experimental.
func (*CheckStatusInfo) Descriptor
deprecated
func (*CheckStatusInfo) Descriptor() ([]byte, []int)
Deprecated: Use CheckStatusInfo.ProtoReflect.Descriptor instead.
func (*CheckStatusInfo) GetCommand ¶
func (x *CheckStatusInfo) GetCommand() *CheckStatusInfo_Command
func (*CheckStatusInfo) GetHttp ¶ added in v1.1.0
func (x *CheckStatusInfo) GetHttp() *CheckStatusInfo_Http
func (*CheckStatusInfo) GetTcp ¶ added in v1.1.0
func (x *CheckStatusInfo) GetTcp() *CheckStatusInfo_Tcp
func (*CheckStatusInfo) GetType ¶
func (x *CheckStatusInfo) GetType() CheckInfo_Type
func (*CheckStatusInfo) ProtoMessage ¶
func (*CheckStatusInfo) ProtoMessage()
func (*CheckStatusInfo) ProtoReflect ¶ added in v1.1.0
func (x *CheckStatusInfo) ProtoReflect() protoreflect.Message
func (*CheckStatusInfo) Reset ¶
func (x *CheckStatusInfo) Reset()
func (*CheckStatusInfo) String ¶
func (x *CheckStatusInfo) String() string
type CheckStatusInfo_Command ¶
type CheckStatusInfo_Command struct { // Exit code of a command check. It is the result of calling // `WEXITSTATUS()` on `waitpid()` termination information on // Posix and calling `GetExitCodeProcess()` on Windows. ExitCode *int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode" json:"exit_code,omitempty"` // contains filtered or unexported fields }
func (*CheckStatusInfo_Command) Descriptor
deprecated
func (*CheckStatusInfo_Command) Descriptor() ([]byte, []int)
Deprecated: Use CheckStatusInfo_Command.ProtoReflect.Descriptor instead.
func (*CheckStatusInfo_Command) GetExitCode ¶
func (x *CheckStatusInfo_Command) GetExitCode() int32
func (*CheckStatusInfo_Command) ProtoMessage ¶
func (*CheckStatusInfo_Command) ProtoMessage()
func (*CheckStatusInfo_Command) ProtoReflect ¶ added in v1.1.0
func (x *CheckStatusInfo_Command) ProtoReflect() protoreflect.Message
func (*CheckStatusInfo_Command) Reset ¶
func (x *CheckStatusInfo_Command) Reset()
func (*CheckStatusInfo_Command) String ¶
func (x *CheckStatusInfo_Command) String() string
type CheckStatusInfo_Http ¶
type CheckStatusInfo_Http struct { // HTTP status code of an HTTP check. StatusCode *uint32 `protobuf:"varint,1,opt,name=status_code,json=statusCode" json:"status_code,omitempty"` // contains filtered or unexported fields }
func (*CheckStatusInfo_Http) Descriptor
deprecated
func (*CheckStatusInfo_Http) Descriptor() ([]byte, []int)
Deprecated: Use CheckStatusInfo_Http.ProtoReflect.Descriptor instead.
func (*CheckStatusInfo_Http) GetStatusCode ¶
func (x *CheckStatusInfo_Http) GetStatusCode() uint32
func (*CheckStatusInfo_Http) ProtoMessage ¶
func (*CheckStatusInfo_Http) ProtoMessage()
func (*CheckStatusInfo_Http) ProtoReflect ¶ added in v1.1.0
func (x *CheckStatusInfo_Http) ProtoReflect() protoreflect.Message
func (*CheckStatusInfo_Http) Reset ¶
func (x *CheckStatusInfo_Http) Reset()
func (*CheckStatusInfo_Http) String ¶
func (x *CheckStatusInfo_Http) String() string
type CheckStatusInfo_Tcp ¶
type CheckStatusInfo_Tcp struct { // Whether a TCP connection succeeded. Succeeded *bool `protobuf:"varint,1,opt,name=succeeded" json:"succeeded,omitempty"` // contains filtered or unexported fields }
func (*CheckStatusInfo_Tcp) Descriptor
deprecated
func (*CheckStatusInfo_Tcp) Descriptor() ([]byte, []int)
Deprecated: Use CheckStatusInfo_Tcp.ProtoReflect.Descriptor instead.
func (*CheckStatusInfo_Tcp) GetSucceeded ¶
func (x *CheckStatusInfo_Tcp) GetSucceeded() bool
func (*CheckStatusInfo_Tcp) ProtoMessage ¶
func (*CheckStatusInfo_Tcp) ProtoMessage()
func (*CheckStatusInfo_Tcp) ProtoReflect ¶ added in v1.1.0
func (x *CheckStatusInfo_Tcp) ProtoReflect() protoreflect.Message
func (*CheckStatusInfo_Tcp) Reset ¶
func (x *CheckStatusInfo_Tcp) Reset()
func (*CheckStatusInfo_Tcp) String ¶
func (x *CheckStatusInfo_Tcp) String() string
type CommandInfo ¶
type CommandInfo struct { 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"` // contains filtered or unexported fields }
* 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 (*CommandInfo) Descriptor
deprecated
func (*CommandInfo) Descriptor() ([]byte, []int)
Deprecated: Use CommandInfo.ProtoReflect.Descriptor instead.
func (*CommandInfo) GetArguments ¶
func (x *CommandInfo) GetArguments() []string
func (*CommandInfo) GetEnvironment ¶
func (x *CommandInfo) GetEnvironment() *Environment
func (*CommandInfo) GetShell ¶
func (x *CommandInfo) GetShell() bool
func (*CommandInfo) GetUris ¶ added in v1.1.0
func (x *CommandInfo) GetUris() []*CommandInfo_URI
func (*CommandInfo) GetUser ¶
func (x *CommandInfo) GetUser() string
func (*CommandInfo) GetValue ¶
func (x *CommandInfo) GetValue() string
func (*CommandInfo) ProtoMessage ¶
func (*CommandInfo) ProtoMessage()
func (*CommandInfo) ProtoReflect ¶ added in v1.1.0
func (x *CommandInfo) ProtoReflect() protoreflect.Message
func (*CommandInfo) Reset ¶
func (x *CommandInfo) Reset()
func (*CommandInfo) String ¶
func (x *CommandInfo) String() string
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"` // The fetcher's default behavior is to use the URI string's basename to // name the local copy. If this field is provided, the local copy will be // named with its value instead. If there is a directory component (which // must be a relative path), the local copy will be stored in that // subdirectory inside the sandbox. OutputFile *string `protobuf:"bytes,5,opt,name=output_file,json=outputFile" json:"output_file,omitempty"` // contains filtered or unexported fields }
func (*CommandInfo_URI) Descriptor
deprecated
func (*CommandInfo_URI) Descriptor() ([]byte, []int)
Deprecated: Use CommandInfo_URI.ProtoReflect.Descriptor instead.
func (*CommandInfo_URI) GetCache ¶
func (x *CommandInfo_URI) GetCache() bool
func (*CommandInfo_URI) GetExecutable ¶
func (x *CommandInfo_URI) GetExecutable() bool
func (*CommandInfo_URI) GetExtract ¶
func (x *CommandInfo_URI) GetExtract() bool
func (*CommandInfo_URI) GetOutputFile ¶
func (x *CommandInfo_URI) GetOutputFile() string
func (*CommandInfo_URI) GetValue ¶
func (x *CommandInfo_URI) GetValue() string
func (*CommandInfo_URI) ProtoMessage ¶
func (*CommandInfo_URI) ProtoMessage()
func (*CommandInfo_URI) ProtoReflect ¶ added in v1.1.0
func (x *CommandInfo_URI) ProtoReflect() protoreflect.Message
func (*CommandInfo_URI) Reset ¶
func (x *CommandInfo_URI) Reset()
func (*CommandInfo_URI) String ¶
func (x *CommandInfo_URI) String() string
type ContainerID ¶
type ContainerID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` Parent *ContainerID `protobuf:"bytes,2,opt,name=parent" json:"parent,omitempty"` // contains filtered or unexported fields }
* ID used to uniquely identify a container. If the `parent` is not specified, the ID is a UUID generated by the agent to uniquely identify the container of an executor run. If the `parent` field is specified, it represents a nested container.
func (*ContainerID) Descriptor
deprecated
func (*ContainerID) Descriptor() ([]byte, []int)
Deprecated: Use ContainerID.ProtoReflect.Descriptor instead.
func (*ContainerID) GetParent ¶
func (x *ContainerID) GetParent() *ContainerID
func (*ContainerID) GetValue ¶
func (x *ContainerID) GetValue() string
func (*ContainerID) ProtoMessage ¶
func (*ContainerID) ProtoMessage()
func (*ContainerID) ProtoReflect ¶ added in v1.1.0
func (x *ContainerID) ProtoReflect() protoreflect.Message
func (*ContainerID) Reset ¶
func (x *ContainerID) Reset()
func (*ContainerID) String ¶
func (x *ContainerID) String() string
type ContainerInfo ¶
type ContainerInfo struct { Type *ContainerInfo_Type `protobuf:"varint,1,req,name=type,enum=mesos.v1.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"` // At most one of the following *Info messages should be set to match // the type, i.e. the "protobuf union" in ContainerInfo should be valid. Docker *ContainerInfo_DockerInfo `protobuf:"bytes,3,opt,name=docker" json:"docker,omitempty"` Mesos *ContainerInfo_MesosInfo `protobuf:"bytes,5,opt,name=mesos" json:"mesos,omitempty"` // A list of network requests. A framework can request multiple IP addresses // for the container. NetworkInfos []*NetworkInfo `protobuf:"bytes,7,rep,name=network_infos,json=networkInfos" json:"network_infos,omitempty"` // Linux specific information for the container. LinuxInfo *LinuxInfo `protobuf:"bytes,8,opt,name=linux_info,json=linuxInfo" json:"linux_info,omitempty"` // (POSIX only) rlimits of the container. RlimitInfo *RLimitInfo `protobuf:"bytes,9,opt,name=rlimit_info,json=rlimitInfo" json:"rlimit_info,omitempty"` // If specified a tty will be attached to the container entrypoint. TtyInfo *TTYInfo `protobuf:"bytes,10,opt,name=tty_info,json=ttyInfo" json:"tty_info,omitempty"` // contains filtered or unexported fields }
* Describes a container configuration and allows extensible configurations for different container implementations.
NOTE: `ContainerInfo` may be specified, e.g., by a task, even if no container image is provided. In this case neither `MesosInfo` nor `DockerInfo` is set, the required `type` must be `MESOS`. This is to address a case when a task without an image, e.g., a shell script with URIs, wants to use features originally designed for containers, for example custom network isolation via `NetworkInfo`.
func (*ContainerInfo) Descriptor
deprecated
func (*ContainerInfo) Descriptor() ([]byte, []int)
Deprecated: Use ContainerInfo.ProtoReflect.Descriptor instead.
func (*ContainerInfo) GetDocker ¶
func (x *ContainerInfo) GetDocker() *ContainerInfo_DockerInfo
func (*ContainerInfo) GetHostname ¶
func (x *ContainerInfo) GetHostname() string
func (*ContainerInfo) GetLinuxInfo ¶
func (x *ContainerInfo) GetLinuxInfo() *LinuxInfo
func (*ContainerInfo) GetMesos ¶
func (x *ContainerInfo) GetMesos() *ContainerInfo_MesosInfo
func (*ContainerInfo) GetNetworkInfos ¶
func (x *ContainerInfo) GetNetworkInfos() []*NetworkInfo
func (*ContainerInfo) GetRlimitInfo ¶
func (x *ContainerInfo) GetRlimitInfo() *RLimitInfo
func (*ContainerInfo) GetTtyInfo ¶ added in v1.1.0
func (x *ContainerInfo) GetTtyInfo() *TTYInfo
func (*ContainerInfo) GetType ¶
func (x *ContainerInfo) GetType() ContainerInfo_Type
func (*ContainerInfo) GetVolumes ¶
func (x *ContainerInfo) GetVolumes() []*Volume
func (*ContainerInfo) ProtoMessage ¶
func (*ContainerInfo) ProtoMessage()
func (*ContainerInfo) ProtoReflect ¶ added in v1.1.0
func (x *ContainerInfo) ProtoReflect() protoreflect.Message
func (*ContainerInfo) Reset ¶
func (x *ContainerInfo) Reset()
func (*ContainerInfo) String ¶
func (x *ContainerInfo) String() string
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=mesos.v1.ContainerInfo_DockerInfo_Network,def=1" json:"network,omitempty"` PortMappings []*ContainerInfo_DockerInfo_PortMapping `protobuf:"bytes,3,rep,name=port_mappings,json=portMappings" 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 agent. ForcePullImage *bool `protobuf:"varint,6,opt,name=force_pull_image,json=forcePullImage" json:"force_pull_image,omitempty"` // The name of volume driver plugin. // // Deprecated: Marked as deprecated in mesos.proto. VolumeDriver *string `protobuf:"bytes,7,opt,name=volume_driver,json=volumeDriver" json:"volume_driver,omitempty"` // Since 1.0 // contains filtered or unexported fields }
func (*ContainerInfo_DockerInfo) Descriptor
deprecated
func (*ContainerInfo_DockerInfo) Descriptor() ([]byte, []int)
Deprecated: Use ContainerInfo_DockerInfo.ProtoReflect.Descriptor instead.
func (*ContainerInfo_DockerInfo) GetForcePullImage ¶
func (x *ContainerInfo_DockerInfo) GetForcePullImage() bool
func (*ContainerInfo_DockerInfo) GetImage ¶
func (x *ContainerInfo_DockerInfo) GetImage() string
func (*ContainerInfo_DockerInfo) GetNetwork ¶
func (x *ContainerInfo_DockerInfo) GetNetwork() ContainerInfo_DockerInfo_Network
func (*ContainerInfo_DockerInfo) GetParameters ¶
func (x *ContainerInfo_DockerInfo) GetParameters() []*Parameter
func (*ContainerInfo_DockerInfo) GetPortMappings ¶
func (x *ContainerInfo_DockerInfo) GetPortMappings() []*ContainerInfo_DockerInfo_PortMapping
func (*ContainerInfo_DockerInfo) GetPrivileged ¶
func (x *ContainerInfo_DockerInfo) GetPrivileged() bool
func (*ContainerInfo_DockerInfo) GetVolumeDriver
deprecated
func (x *ContainerInfo_DockerInfo) GetVolumeDriver() string
Deprecated: Marked as deprecated in mesos.proto.
func (*ContainerInfo_DockerInfo) ProtoMessage ¶
func (*ContainerInfo_DockerInfo) ProtoMessage()
func (*ContainerInfo_DockerInfo) ProtoReflect ¶ added in v1.1.0
func (x *ContainerInfo_DockerInfo) ProtoReflect() protoreflect.Message
func (*ContainerInfo_DockerInfo) Reset ¶
func (x *ContainerInfo_DockerInfo) Reset()
func (*ContainerInfo_DockerInfo) String ¶
func (x *ContainerInfo_DockerInfo) String() string
type ContainerInfo_DockerInfo_Network ¶
type ContainerInfo_DockerInfo_Network int32
Network options.
const ( ContainerInfo_DockerInfo_HOST ContainerInfo_DockerInfo_Network = 1 ContainerInfo_DockerInfo_BRIDGE ContainerInfo_DockerInfo_Network = 2 ContainerInfo_DockerInfo_NONE ContainerInfo_DockerInfo_Network = 3 ContainerInfo_DockerInfo_USER ContainerInfo_DockerInfo_Network = 4 )
func (ContainerInfo_DockerInfo_Network) Descriptor ¶ added in v1.1.0
func (ContainerInfo_DockerInfo_Network) Descriptor() protoreflect.EnumDescriptor
func (ContainerInfo_DockerInfo_Network) Enum ¶
func (x ContainerInfo_DockerInfo_Network) Enum() *ContainerInfo_DockerInfo_Network
func (ContainerInfo_DockerInfo_Network) EnumDescriptor
deprecated
func (ContainerInfo_DockerInfo_Network) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContainerInfo_DockerInfo_Network.Descriptor instead.
func (ContainerInfo_DockerInfo_Network) Number ¶ added in v1.1.0
func (x ContainerInfo_DockerInfo_Network) Number() protoreflect.EnumNumber
func (ContainerInfo_DockerInfo_Network) String ¶
func (x ContainerInfo_DockerInfo_Network) String() string
func (ContainerInfo_DockerInfo_Network) Type ¶ added in v1.1.0
func (ContainerInfo_DockerInfo_Network) Type() protoreflect.EnumType
func (*ContainerInfo_DockerInfo_Network) UnmarshalJSON
deprecated
func (x *ContainerInfo_DockerInfo_Network) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ContainerInfo_DockerInfo_PortMapping ¶
type ContainerInfo_DockerInfo_PortMapping struct { HostPort *uint32 `protobuf:"varint,1,req,name=host_port,json=hostPort" json:"host_port,omitempty"` ContainerPort *uint32 `protobuf:"varint,2,req,name=container_port,json=containerPort" json:"container_port,omitempty"` // Protocol to expose as (ie: tcp, udp). Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"` // contains filtered or unexported fields }
func (*ContainerInfo_DockerInfo_PortMapping) Descriptor
deprecated
func (*ContainerInfo_DockerInfo_PortMapping) Descriptor() ([]byte, []int)
Deprecated: Use ContainerInfo_DockerInfo_PortMapping.ProtoReflect.Descriptor instead.
func (*ContainerInfo_DockerInfo_PortMapping) GetContainerPort ¶
func (x *ContainerInfo_DockerInfo_PortMapping) GetContainerPort() uint32
func (*ContainerInfo_DockerInfo_PortMapping) GetHostPort ¶
func (x *ContainerInfo_DockerInfo_PortMapping) GetHostPort() uint32
func (*ContainerInfo_DockerInfo_PortMapping) GetProtocol ¶
func (x *ContainerInfo_DockerInfo_PortMapping) GetProtocol() string
func (*ContainerInfo_DockerInfo_PortMapping) ProtoMessage ¶
func (*ContainerInfo_DockerInfo_PortMapping) ProtoMessage()
func (*ContainerInfo_DockerInfo_PortMapping) ProtoReflect ¶ added in v1.1.0
func (x *ContainerInfo_DockerInfo_PortMapping) ProtoReflect() protoreflect.Message
func (*ContainerInfo_DockerInfo_PortMapping) Reset ¶
func (x *ContainerInfo_DockerInfo_PortMapping) Reset()
func (*ContainerInfo_DockerInfo_PortMapping) String ¶
func (x *ContainerInfo_DockerInfo_PortMapping) String() string
type ContainerInfo_MesosInfo ¶
type ContainerInfo_MesosInfo struct { Image *Image `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"` // contains filtered or unexported fields }
func (*ContainerInfo_MesosInfo) Descriptor
deprecated
func (*ContainerInfo_MesosInfo) Descriptor() ([]byte, []int)
Deprecated: Use ContainerInfo_MesosInfo.ProtoReflect.Descriptor instead.
func (*ContainerInfo_MesosInfo) GetImage ¶
func (x *ContainerInfo_MesosInfo) GetImage() *Image
func (*ContainerInfo_MesosInfo) ProtoMessage ¶
func (*ContainerInfo_MesosInfo) ProtoMessage()
func (*ContainerInfo_MesosInfo) ProtoReflect ¶ added in v1.1.0
func (x *ContainerInfo_MesosInfo) ProtoReflect() protoreflect.Message
func (*ContainerInfo_MesosInfo) Reset ¶
func (x *ContainerInfo_MesosInfo) Reset()
func (*ContainerInfo_MesosInfo) String ¶
func (x *ContainerInfo_MesosInfo) String() string
type ContainerInfo_Type ¶
type ContainerInfo_Type int32
All container implementation types. For each type there should be a field in the ContainerInfo itself with exactly matching name in lowercase.
const ( ContainerInfo_DOCKER ContainerInfo_Type = 1 ContainerInfo_MESOS ContainerInfo_Type = 2 )
func (ContainerInfo_Type) Descriptor ¶ added in v1.1.0
func (ContainerInfo_Type) Descriptor() protoreflect.EnumDescriptor
func (ContainerInfo_Type) Enum ¶
func (x ContainerInfo_Type) Enum() *ContainerInfo_Type
func (ContainerInfo_Type) EnumDescriptor
deprecated
func (ContainerInfo_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContainerInfo_Type.Descriptor instead.
func (ContainerInfo_Type) Number ¶ added in v1.1.0
func (x ContainerInfo_Type) Number() protoreflect.EnumNumber
func (ContainerInfo_Type) String ¶
func (x ContainerInfo_Type) String() string
func (ContainerInfo_Type) Type ¶ added in v1.1.0
func (ContainerInfo_Type) Type() protoreflect.EnumType
func (*ContainerInfo_Type) UnmarshalJSON
deprecated
func (x *ContainerInfo_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ContainerStatus ¶
type ContainerStatus struct { ContainerId *ContainerID `protobuf:"bytes,4,opt,name=container_id,json=containerId" json:"container_id,omitempty"` // This field can be reliably used to identify the container IP address. NetworkInfos []*NetworkInfo `protobuf:"bytes,1,rep,name=network_infos,json=networkInfos" json:"network_infos,omitempty"` // Information about Linux control group (cgroup). CgroupInfo *CgroupInfo `protobuf:"bytes,2,opt,name=cgroup_info,json=cgroupInfo" json:"cgroup_info,omitempty"` // Information about Executor PID. ExecutorPid *uint32 `protobuf:"varint,3,opt,name=executor_pid,json=executorPid" json:"executor_pid,omitempty"` // contains filtered or unexported fields }
* Container related information that is resolved during container setup. The information is sent back to the framework as part of the TaskStatus message.
func (*ContainerStatus) Descriptor
deprecated
func (*ContainerStatus) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStatus.ProtoReflect.Descriptor instead.
func (*ContainerStatus) GetCgroupInfo ¶
func (x *ContainerStatus) GetCgroupInfo() *CgroupInfo
func (*ContainerStatus) GetContainerId ¶ added in v1.1.0
func (x *ContainerStatus) GetContainerId() *ContainerID
func (*ContainerStatus) GetExecutorPid ¶ added in v1.1.0
func (x *ContainerStatus) GetExecutorPid() uint32
func (*ContainerStatus) GetNetworkInfos ¶
func (x *ContainerStatus) GetNetworkInfos() []*NetworkInfo
func (*ContainerStatus) ProtoMessage ¶
func (*ContainerStatus) ProtoMessage()
func (*ContainerStatus) ProtoReflect ¶ added in v1.1.0
func (x *ContainerStatus) ProtoReflect() protoreflect.Message
func (*ContainerStatus) Reset ¶
func (x *ContainerStatus) Reset()
func (*ContainerStatus) String ¶
func (x *ContainerStatus) String() string
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"` // contains filtered or unexported fields }
* 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 (*Credential) Descriptor
deprecated
func (*Credential) Descriptor() ([]byte, []int)
Deprecated: Use Credential.ProtoReflect.Descriptor instead.
func (*Credential) GetPrincipal ¶
func (x *Credential) GetPrincipal() string
func (*Credential) GetSecret ¶
func (x *Credential) GetSecret() string
func (*Credential) ProtoMessage ¶
func (*Credential) ProtoMessage()
func (*Credential) ProtoReflect ¶ added in v1.1.0
func (x *Credential) ProtoReflect() protoreflect.Message
func (*Credential) Reset ¶
func (x *Credential) Reset()
func (*Credential) String ¶
func (x *Credential) String() string
type Credentials ¶
type Credentials struct { Credentials []*Credential `protobuf:"bytes,1,rep,name=credentials" json:"credentials,omitempty"` // contains filtered or unexported fields }
* Credentials used for framework authentication, HTTP authentication (where the common 'username' and 'password' are captured as 'principal' and 'secret' respectively), etc.
func (*Credentials) Descriptor
deprecated
func (*Credentials) Descriptor() ([]byte, []int)
Deprecated: Use Credentials.ProtoReflect.Descriptor instead.
func (*Credentials) GetCredentials ¶
func (x *Credentials) GetCredentials() []*Credential
func (*Credentials) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) ProtoReflect ¶ added in v1.1.0
func (x *Credentials) ProtoReflect() protoreflect.Message
func (*Credentials) Reset ¶
func (x *Credentials) Reset()
func (*Credentials) String ¶
func (x *Credentials) String() string
type Device ¶
type Device struct { Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` Number *Device_Number `protobuf:"bytes,2,opt,name=number" json:"number,omitempty"` // contains filtered or unexported fields }
* Describes information about a device.
func (*Device) Descriptor
deprecated
func (*Device) GetNumber ¶
func (x *Device) GetNumber() *Device_Number
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶ added in v1.1.0
func (x *Device) ProtoReflect() protoreflect.Message
type DeviceAccess ¶
type DeviceAccess struct { Device *Device `protobuf:"bytes,1,req,name=device" json:"device,omitempty"` Access *DeviceAccess_Access `protobuf:"bytes,2,req,name=access" json:"access,omitempty"` // contains filtered or unexported fields }
* Describes a device whitelist entry that expose from host to container.
func (*DeviceAccess) Descriptor
deprecated
func (*DeviceAccess) Descriptor() ([]byte, []int)
Deprecated: Use DeviceAccess.ProtoReflect.Descriptor instead.
func (*DeviceAccess) GetAccess ¶
func (x *DeviceAccess) GetAccess() *DeviceAccess_Access
func (*DeviceAccess) GetDevice ¶
func (x *DeviceAccess) GetDevice() *Device
func (*DeviceAccess) ProtoMessage ¶
func (*DeviceAccess) ProtoMessage()
func (*DeviceAccess) ProtoReflect ¶ added in v1.1.0
func (x *DeviceAccess) ProtoReflect() protoreflect.Message
func (*DeviceAccess) Reset ¶
func (x *DeviceAccess) Reset()
func (*DeviceAccess) String ¶
func (x *DeviceAccess) String() string
type DeviceAccess_Access ¶
type DeviceAccess_Access struct { Read *bool `protobuf:"varint,1,opt,name=read" json:"read,omitempty"` Write *bool `protobuf:"varint,2,opt,name=write" json:"write,omitempty"` Mknod *bool `protobuf:"varint,3,opt,name=mknod" json:"mknod,omitempty"` // contains filtered or unexported fields }
func (*DeviceAccess_Access) Descriptor
deprecated
func (*DeviceAccess_Access) Descriptor() ([]byte, []int)
Deprecated: Use DeviceAccess_Access.ProtoReflect.Descriptor instead.
func (*DeviceAccess_Access) GetMknod ¶
func (x *DeviceAccess_Access) GetMknod() bool
func (*DeviceAccess_Access) GetRead ¶
func (x *DeviceAccess_Access) GetRead() bool
func (*DeviceAccess_Access) GetWrite ¶
func (x *DeviceAccess_Access) GetWrite() bool
func (*DeviceAccess_Access) ProtoMessage ¶
func (*DeviceAccess_Access) ProtoMessage()
func (*DeviceAccess_Access) ProtoReflect ¶ added in v1.1.0
func (x *DeviceAccess_Access) ProtoReflect() protoreflect.Message
func (*DeviceAccess_Access) Reset ¶
func (x *DeviceAccess_Access) Reset()
func (*DeviceAccess_Access) String ¶
func (x *DeviceAccess_Access) String() string
type DeviceWhitelist ¶
type DeviceWhitelist struct { AllowedDevices []*DeviceAccess `protobuf:"bytes,1,rep,name=allowed_devices,json=allowedDevices" json:"allowed_devices,omitempty"` // contains filtered or unexported fields }
func (*DeviceWhitelist) Descriptor
deprecated
func (*DeviceWhitelist) Descriptor() ([]byte, []int)
Deprecated: Use DeviceWhitelist.ProtoReflect.Descriptor instead.
func (*DeviceWhitelist) GetAllowedDevices ¶
func (x *DeviceWhitelist) GetAllowedDevices() []*DeviceAccess
func (*DeviceWhitelist) ProtoMessage ¶
func (*DeviceWhitelist) ProtoMessage()
func (*DeviceWhitelist) ProtoReflect ¶ added in v1.1.0
func (x *DeviceWhitelist) ProtoReflect() protoreflect.Message
func (*DeviceWhitelist) Reset ¶
func (x *DeviceWhitelist) Reset()
func (*DeviceWhitelist) String ¶
func (x *DeviceWhitelist) String() string
type Device_Number ¶
type Device_Number struct { MajorNumber *uint64 `protobuf:"varint,1,req,name=major_number,json=majorNumber" json:"major_number,omitempty"` MinorNumber *uint64 `protobuf:"varint,2,req,name=minor_number,json=minorNumber" json:"minor_number,omitempty"` // contains filtered or unexported fields }
func (*Device_Number) Descriptor
deprecated
func (*Device_Number) Descriptor() ([]byte, []int)
Deprecated: Use Device_Number.ProtoReflect.Descriptor instead.
func (*Device_Number) GetMajorNumber ¶
func (x *Device_Number) GetMajorNumber() uint64
func (*Device_Number) GetMinorNumber ¶
func (x *Device_Number) GetMinorNumber() uint64
func (*Device_Number) ProtoMessage ¶
func (*Device_Number) ProtoMessage()
func (*Device_Number) ProtoReflect ¶ added in v1.1.0
func (x *Device_Number) ProtoReflect() protoreflect.Message
func (*Device_Number) Reset ¶
func (x *Device_Number) Reset()
func (*Device_Number) String ¶
func (x *Device_Number) String() string
type DiscoveryInfo ¶
type DiscoveryInfo struct { Visibility *DiscoveryInfo_Visibility `protobuf:"varint,1,req,name=visibility,enum=mesos.v1.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"` // contains filtered or unexported fields }
* 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 (*DiscoveryInfo) Descriptor
deprecated
func (*DiscoveryInfo) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryInfo.ProtoReflect.Descriptor instead.
func (*DiscoveryInfo) GetEnvironment ¶
func (x *DiscoveryInfo) GetEnvironment() string
func (*DiscoveryInfo) GetLabels ¶
func (x *DiscoveryInfo) GetLabels() *Labels
func (*DiscoveryInfo) GetLocation ¶
func (x *DiscoveryInfo) GetLocation() string
func (*DiscoveryInfo) GetName ¶
func (x *DiscoveryInfo) GetName() string
func (*DiscoveryInfo) GetPorts ¶
func (x *DiscoveryInfo) GetPorts() *Ports
func (*DiscoveryInfo) GetVersion ¶
func (x *DiscoveryInfo) GetVersion() string
func (*DiscoveryInfo) GetVisibility ¶
func (x *DiscoveryInfo) GetVisibility() DiscoveryInfo_Visibility
func (*DiscoveryInfo) ProtoMessage ¶
func (*DiscoveryInfo) ProtoMessage()
func (*DiscoveryInfo) ProtoReflect ¶ added in v1.1.0
func (x *DiscoveryInfo) ProtoReflect() protoreflect.Message
func (*DiscoveryInfo) Reset ¶
func (x *DiscoveryInfo) Reset()
func (*DiscoveryInfo) String ¶
func (x *DiscoveryInfo) String() string
type DiscoveryInfo_Visibility ¶
type DiscoveryInfo_Visibility int32
const ( DiscoveryInfo_FRAMEWORK DiscoveryInfo_Visibility = 0 DiscoveryInfo_CLUSTER DiscoveryInfo_Visibility = 1 DiscoveryInfo_EXTERNAL DiscoveryInfo_Visibility = 2 )
func (DiscoveryInfo_Visibility) Descriptor ¶ added in v1.1.0
func (DiscoveryInfo_Visibility) Descriptor() protoreflect.EnumDescriptor
func (DiscoveryInfo_Visibility) Enum ¶
func (x DiscoveryInfo_Visibility) Enum() *DiscoveryInfo_Visibility
func (DiscoveryInfo_Visibility) EnumDescriptor
deprecated
func (DiscoveryInfo_Visibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiscoveryInfo_Visibility.Descriptor instead.
func (DiscoveryInfo_Visibility) Number ¶ added in v1.1.0
func (x DiscoveryInfo_Visibility) Number() protoreflect.EnumNumber
func (DiscoveryInfo_Visibility) String ¶
func (x DiscoveryInfo_Visibility) String() string
func (DiscoveryInfo_Visibility) Type ¶ added in v1.1.0
func (DiscoveryInfo_Visibility) Type() protoreflect.EnumType
func (*DiscoveryInfo_Visibility) UnmarshalJSON
deprecated
func (x *DiscoveryInfo_Visibility) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type DiskStatistics ¶
type DiskStatistics struct { Source *Resource_DiskInfo_Source `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"` Persistence *Resource_DiskInfo_Persistence `protobuf:"bytes,2,opt,name=persistence" json:"persistence,omitempty"` LimitBytes *uint64 `protobuf:"varint,3,opt,name=limit_bytes,json=limitBytes" json:"limit_bytes,omitempty"` UsedBytes *uint64 `protobuf:"varint,4,opt,name=used_bytes,json=usedBytes" json:"used_bytes,omitempty"` // contains filtered or unexported fields }
func (*DiskStatistics) Descriptor
deprecated
func (*DiskStatistics) Descriptor() ([]byte, []int)
Deprecated: Use DiskStatistics.ProtoReflect.Descriptor instead.
func (*DiskStatistics) GetLimitBytes ¶
func (x *DiskStatistics) GetLimitBytes() uint64
func (*DiskStatistics) GetPersistence ¶
func (x *DiskStatistics) GetPersistence() *Resource_DiskInfo_Persistence
func (*DiskStatistics) GetSource ¶
func (x *DiskStatistics) GetSource() *Resource_DiskInfo_Source
func (*DiskStatistics) GetUsedBytes ¶
func (x *DiskStatistics) GetUsedBytes() uint64
func (*DiskStatistics) ProtoMessage ¶
func (*DiskStatistics) ProtoMessage()
func (*DiskStatistics) ProtoReflect ¶ added in v1.1.0
func (x *DiskStatistics) ProtoReflect() protoreflect.Message
func (*DiskStatistics) Reset ¶
func (x *DiskStatistics) Reset()
func (*DiskStatistics) String ¶
func (x *DiskStatistics) String() string
type DomainInfo ¶
type DomainInfo struct { FaultDomain *DomainInfo_FaultDomain `protobuf:"bytes,1,opt,name=fault_domain,json=faultDomain" json:"fault_domain,omitempty"` // contains filtered or unexported fields }
* Describes a domain. A domain is a collection of hosts that have similar characteristics. Mesos currently only supports "fault domains", which identify groups of hosts with similar failure characteristics.
Frameworks can generally assume that network links between hosts in the same fault domain have lower latency, higher bandwidth, and better availability than network links between hosts in different domains. Schedulers may prefer to place network-intensive workloads in the same domain, as this may improve performance. Conversely, a single failure that affects a host in a domain may be more likely to affect other hosts in the same domain; hence, schedulers may prefer to place workloads that require high availability in multiple domains. (For example, all the hosts in a single rack might lose power or network connectivity simultaneously.)
There are two kinds of fault domains: regions and zones. Regions offer the highest degree of fault isolation, but network latency between regions is typically high (typically >50 ms). Zones offer a modest degree of fault isolation along with reasonably low network latency (typically <10 ms).
The mapping from fault domains to physical infrastructure is up to the operator to configure. In cloud environments, regions and zones can be mapped to the "region" and "availability zone" concepts exposed by most cloud providers, respectively. In on-premise deployments, regions and zones can be mapped to data centers and racks, respectively.
Both masters and agents can be configured with domains. Frameworks can compare the domains of two hosts to determine if the hosts are in the same zone, in different zones in the same region, or in different regions. Note that all masters in a given Mesos cluster must be in the same region.
Complex deployments may have additional levels of hierarchy: for example, multiple racks might be grouped together into "halls" and multiple DCs in the same geographical vicinity might be grouped together. As a convention, the recommended way to represent additional levels of hierarchy is via dot- separated labels in the existing zone and region fields. For example, the fact that racks "abc" and "def" are in the same hall might be represented using the zone names "rack-abc.hall-1" and "rack-def.hall-1", for example. Software that is not aware of this additional structure will compare the zone names for equality- hence, the two zones will be treated as different (unrelated) zones. Software that is "hall-aware" can inspect the zone names and make use of the additional hierarchy.
func (*DomainInfo) Descriptor
deprecated
func (*DomainInfo) Descriptor() ([]byte, []int)
Deprecated: Use DomainInfo.ProtoReflect.Descriptor instead.
func (*DomainInfo) GetFaultDomain ¶
func (x *DomainInfo) GetFaultDomain() *DomainInfo_FaultDomain
func (*DomainInfo) ProtoMessage ¶
func (*DomainInfo) ProtoMessage()
func (*DomainInfo) ProtoReflect ¶ added in v1.1.0
func (x *DomainInfo) ProtoReflect() protoreflect.Message
func (*DomainInfo) Reset ¶
func (x *DomainInfo) Reset()
func (*DomainInfo) String ¶
func (x *DomainInfo) String() string
type DomainInfo_FaultDomain ¶
type DomainInfo_FaultDomain struct { Region *DomainInfo_FaultDomain_RegionInfo `protobuf:"bytes,1,req,name=region" json:"region,omitempty"` Zone *DomainInfo_FaultDomain_ZoneInfo `protobuf:"bytes,2,req,name=zone" json:"zone,omitempty"` // contains filtered or unexported fields }
func (*DomainInfo_FaultDomain) Descriptor
deprecated
func (*DomainInfo_FaultDomain) Descriptor() ([]byte, []int)
Deprecated: Use DomainInfo_FaultDomain.ProtoReflect.Descriptor instead.
func (*DomainInfo_FaultDomain) GetRegion ¶
func (x *DomainInfo_FaultDomain) GetRegion() *DomainInfo_FaultDomain_RegionInfo
func (*DomainInfo_FaultDomain) GetZone ¶
func (x *DomainInfo_FaultDomain) GetZone() *DomainInfo_FaultDomain_ZoneInfo
func (*DomainInfo_FaultDomain) ProtoMessage ¶
func (*DomainInfo_FaultDomain) ProtoMessage()
func (*DomainInfo_FaultDomain) ProtoReflect ¶ added in v1.1.0
func (x *DomainInfo_FaultDomain) ProtoReflect() protoreflect.Message
func (*DomainInfo_FaultDomain) Reset ¶
func (x *DomainInfo_FaultDomain) Reset()
func (*DomainInfo_FaultDomain) String ¶
func (x *DomainInfo_FaultDomain) String() string
type DomainInfo_FaultDomain_RegionInfo ¶
type DomainInfo_FaultDomain_RegionInfo struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DomainInfo_FaultDomain_RegionInfo) Descriptor
deprecated
func (*DomainInfo_FaultDomain_RegionInfo) Descriptor() ([]byte, []int)
Deprecated: Use DomainInfo_FaultDomain_RegionInfo.ProtoReflect.Descriptor instead.
func (*DomainInfo_FaultDomain_RegionInfo) GetName ¶
func (x *DomainInfo_FaultDomain_RegionInfo) GetName() string
func (*DomainInfo_FaultDomain_RegionInfo) ProtoMessage ¶
func (*DomainInfo_FaultDomain_RegionInfo) ProtoMessage()
func (*DomainInfo_FaultDomain_RegionInfo) ProtoReflect ¶ added in v1.1.0
func (x *DomainInfo_FaultDomain_RegionInfo) ProtoReflect() protoreflect.Message
func (*DomainInfo_FaultDomain_RegionInfo) Reset ¶
func (x *DomainInfo_FaultDomain_RegionInfo) Reset()
func (*DomainInfo_FaultDomain_RegionInfo) String ¶
func (x *DomainInfo_FaultDomain_RegionInfo) String() string
type DomainInfo_FaultDomain_ZoneInfo ¶
type DomainInfo_FaultDomain_ZoneInfo struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DomainInfo_FaultDomain_ZoneInfo) Descriptor
deprecated
func (*DomainInfo_FaultDomain_ZoneInfo) Descriptor() ([]byte, []int)
Deprecated: Use DomainInfo_FaultDomain_ZoneInfo.ProtoReflect.Descriptor instead.
func (*DomainInfo_FaultDomain_ZoneInfo) GetName ¶
func (x *DomainInfo_FaultDomain_ZoneInfo) GetName() string
func (*DomainInfo_FaultDomain_ZoneInfo) ProtoMessage ¶
func (*DomainInfo_FaultDomain_ZoneInfo) ProtoMessage()
func (*DomainInfo_FaultDomain_ZoneInfo) ProtoReflect ¶ added in v1.1.0
func (x *DomainInfo_FaultDomain_ZoneInfo) ProtoReflect() protoreflect.Message
func (*DomainInfo_FaultDomain_ZoneInfo) Reset ¶
func (x *DomainInfo_FaultDomain_ZoneInfo) Reset()
func (*DomainInfo_FaultDomain_ZoneInfo) String ¶
func (x *DomainInfo_FaultDomain_ZoneInfo) String() string
type DrainConfig ¶
type DrainConfig struct { // An upper bound for tasks with a KillPolicy. // If a task has a KillPolicy grace period greater than this value, this value // will be used instead. This allows the operator to limit the maximum time it // will take the agent to drain. If this field is unset, the task's KillPolicy // or the executor's default grace period is used. // // NOTE: Grace periods start when the executor receives the associated kill. // If, for example, the agent is unreachable when this call is made, // tasks will still receive their full grace period to kill gracefully. MaxGracePeriod *DurationInfo `protobuf:"bytes,1,opt,name=max_grace_period,json=maxGracePeriod" json:"max_grace_period,omitempty"` // Whether or not this agent will be removed permanently from the cluster when // draining is complete. This transition is automatic and does **NOT** require // a separate call to `MarkAgentGone`. If this field is unset, then the // default value of `false` is used. // // Compared to `MarkAgentGone`, which is used for unreachable agents, // marking agents gone after draining will respect kill policies. // To notify frameworks, tasks terminated during draining will return // a `TASK_GONE_BY_OPERATOR` status update instead of any other terminal // status. Executors will not need to account for this case, because // the terminal status update will be intercepted and modified by the agent. MarkGone *bool `protobuf:"varint,2,opt,name=mark_gone,json=markGone,def=0" json:"mark_gone,omitempty"` // contains filtered or unexported fields }
func (*DrainConfig) Descriptor
deprecated
func (*DrainConfig) Descriptor() ([]byte, []int)
Deprecated: Use DrainConfig.ProtoReflect.Descriptor instead.
func (*DrainConfig) GetMarkGone ¶
func (x *DrainConfig) GetMarkGone() bool
func (*DrainConfig) GetMaxGracePeriod ¶
func (x *DrainConfig) GetMaxGracePeriod() *DurationInfo
func (*DrainConfig) ProtoMessage ¶
func (*DrainConfig) ProtoMessage()
func (*DrainConfig) ProtoReflect ¶ added in v1.1.0
func (x *DrainConfig) ProtoReflect() protoreflect.Message
func (*DrainConfig) Reset ¶
func (x *DrainConfig) Reset()
func (*DrainConfig) String ¶
func (x *DrainConfig) String() string
type DrainInfo ¶
type DrainInfo struct { // The drain state of the agent. State *DrainState `protobuf:"varint,1,req,name=state,enum=mesos.v1.DrainState" json:"state,omitempty"` // The configuration used to drain the agent. Config *DrainConfig `protobuf:"bytes,2,req,name=config" json:"config,omitempty"` // contains filtered or unexported fields }
func (*DrainInfo) Descriptor
deprecated
func (*DrainInfo) GetConfig ¶
func (x *DrainInfo) GetConfig() *DrainConfig
func (*DrainInfo) GetState ¶
func (x *DrainInfo) GetState() DrainState
func (*DrainInfo) ProtoMessage ¶
func (*DrainInfo) ProtoMessage()
func (*DrainInfo) ProtoReflect ¶ added in v1.1.0
func (x *DrainInfo) ProtoReflect() protoreflect.Message
type DrainState ¶
type DrainState int32
const ( DrainState_UNKNOWN DrainState = 0 // The agent is currently draining. DrainState_DRAINING DrainState = 1 // The agent has been drained: all tasks have terminated, all terminal // task status updates have been acknowledged by the frameworks, and all // operations have finished and had their terminal updates acknowledged. DrainState_DRAINED DrainState = 2 )
func (DrainState) Descriptor ¶ added in v1.1.0
func (DrainState) Descriptor() protoreflect.EnumDescriptor
func (DrainState) Enum ¶
func (x DrainState) Enum() *DrainState
func (DrainState) EnumDescriptor
deprecated
func (DrainState) EnumDescriptor() ([]byte, []int)
Deprecated: Use DrainState.Descriptor instead.
func (DrainState) Number ¶ added in v1.1.0
func (x DrainState) Number() protoreflect.EnumNumber
func (DrainState) String ¶
func (x DrainState) String() string
func (DrainState) Type ¶ added in v1.1.0
func (DrainState) Type() protoreflect.EnumType
func (*DrainState) UnmarshalJSON
deprecated
func (x *DrainState) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type DurationInfo ¶
type DurationInfo struct { Nanoseconds *int64 `protobuf:"varint,1,req,name=nanoseconds" json:"nanoseconds,omitempty"` // contains filtered or unexported fields }
* Represents duration in nanoseconds.
func (*DurationInfo) Descriptor
deprecated
func (*DurationInfo) Descriptor() ([]byte, []int)
Deprecated: Use DurationInfo.ProtoReflect.Descriptor instead.
func (*DurationInfo) GetNanoseconds ¶
func (x *DurationInfo) GetNanoseconds() int64
func (*DurationInfo) ProtoMessage ¶
func (*DurationInfo) ProtoMessage()
func (*DurationInfo) ProtoReflect ¶ added in v1.1.0
func (x *DurationInfo) ProtoReflect() protoreflect.Message
func (*DurationInfo) Reset ¶
func (x *DurationInfo) Reset()
func (*DurationInfo) String ¶
func (x *DurationInfo) String() string
type Environment ¶
type Environment struct { Variables []*Environment_Variable `protobuf:"bytes,1,rep,name=variables" json:"variables,omitempty"` // contains filtered or unexported fields }
* Describes a collection of environment variables. This is used with CommandInfo in order to set environment variables before running a command. The contents of each variable may be specified as a string or a Secret; only one of `value` and `secret` must be set.
func (*Environment) Descriptor
deprecated
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetVariables ¶
func (x *Environment) GetVariables() []*Environment_Variable
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶ added in v1.1.0
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶
func (x *Environment) Reset()
func (*Environment) String ¶
func (x *Environment) String() string
type Environment_Variable ¶
type Environment_Variable struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` // In Mesos 1.2, the `Environment.variables.value` message was made // optional. The default type for `Environment.variables.type` is now VALUE, // which requires `value` to be set, maintaining backward compatibility. // // TODO(greggomann): The default can be removed in Mesos 2.1 (MESOS-7134). Type *Environment_Variable_Type `protobuf:"varint,3,opt,name=type,enum=mesos.v1.Environment_Variable_Type,def=1" json:"type,omitempty"` // Only one of `value` and `secret` must be set. Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` Secret *Secret `protobuf:"bytes,4,opt,name=secret" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*Environment_Variable) Descriptor
deprecated
func (*Environment_Variable) Descriptor() ([]byte, []int)
Deprecated: Use Environment_Variable.ProtoReflect.Descriptor instead.
func (*Environment_Variable) GetName ¶
func (x *Environment_Variable) GetName() string
func (*Environment_Variable) GetSecret ¶
func (x *Environment_Variable) GetSecret() *Secret
func (*Environment_Variable) GetType ¶
func (x *Environment_Variable) GetType() Environment_Variable_Type
func (*Environment_Variable) GetValue ¶
func (x *Environment_Variable) GetValue() string
func (*Environment_Variable) ProtoMessage ¶
func (*Environment_Variable) ProtoMessage()
func (*Environment_Variable) ProtoReflect ¶ added in v1.1.0
func (x *Environment_Variable) ProtoReflect() protoreflect.Message
func (*Environment_Variable) Reset ¶
func (x *Environment_Variable) Reset()
func (*Environment_Variable) String ¶
func (x *Environment_Variable) String() string
type Environment_Variable_Type ¶
type Environment_Variable_Type int32
const ( Environment_Variable_UNKNOWN Environment_Variable_Type = 0 Environment_Variable_VALUE Environment_Variable_Type = 1 Environment_Variable_SECRET Environment_Variable_Type = 2 )
func (Environment_Variable_Type) Descriptor ¶ added in v1.1.0
func (Environment_Variable_Type) Descriptor() protoreflect.EnumDescriptor
func (Environment_Variable_Type) Enum ¶
func (x Environment_Variable_Type) Enum() *Environment_Variable_Type
func (Environment_Variable_Type) EnumDescriptor
deprecated
func (Environment_Variable_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Environment_Variable_Type.Descriptor instead.
func (Environment_Variable_Type) Number ¶ added in v1.1.0
func (x Environment_Variable_Type) Number() protoreflect.EnumNumber
func (Environment_Variable_Type) String ¶
func (x Environment_Variable_Type) String() string
func (Environment_Variable_Type) Type ¶ added in v1.1.0
func (Environment_Variable_Type) Type() protoreflect.EnumType
func (*Environment_Variable_Type) UnmarshalJSON
deprecated
func (x *Environment_Variable_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Event ¶
type Event struct { // Type of the event, indicates which optional field below should be // present if that type has a nested message definition. // Enum fields should be optional, see: MESOS-4997. Type *Event_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.scheduler.Event_Type" json:"type,omitempty"` Subscribed *Event_Subscribed `protobuf:"bytes,2,opt,name=subscribed" json:"subscribed,omitempty"` Offers *Event_Offers `protobuf:"bytes,3,opt,name=offers" json:"offers,omitempty"` InverseOffers *Event_InverseOffers `protobuf:"bytes,9,opt,name=inverse_offers,json=inverseOffers" json:"inverse_offers,omitempty"` Rescind *Event_Rescind `protobuf:"bytes,4,opt,name=rescind" json:"rescind,omitempty"` RescindInverseOffer *Event_RescindInverseOffer `protobuf:"bytes,10,opt,name=rescind_inverse_offer,json=rescindInverseOffer" json:"rescind_inverse_offer,omitempty"` Update *Event_Update `protobuf:"bytes,5,opt,name=update" json:"update,omitempty"` UpdateOperationStatus *Event_UpdateOperationStatus `protobuf:"bytes,11,opt,name=update_operation_status,json=updateOperationStatus" json:"update_operation_status,omitempty"` Message *Event_Message `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` Failure *Event_Failure `protobuf:"bytes,7,opt,name=failure" json:"failure,omitempty"` Error *Event_Error `protobuf:"bytes,8,opt,name=error" json:"error,omitempty"` // contains filtered or unexported fields }
* Scheduler event API.
An event is described using the standard protocol buffer "union" trick, see: https://developers.google.com/protocol-buffers/docs/techniques#union.
func (*Event) Descriptor
deprecated
func (*Event) GetError ¶
func (x *Event) GetError() *Event_Error
func (*Event) GetFailure ¶
func (x *Event) GetFailure() *Event_Failure
func (*Event) GetInverseOffers ¶
func (x *Event) GetInverseOffers() *Event_InverseOffers
func (*Event) GetMessage ¶
func (x *Event) GetMessage() *Event_Message
func (*Event) GetOffers ¶
func (x *Event) GetOffers() *Event_Offers
func (*Event) GetRescind ¶
func (x *Event) GetRescind() *Event_Rescind
func (*Event) GetRescindInverseOffer ¶
func (x *Event) GetRescindInverseOffer() *Event_RescindInverseOffer
func (*Event) GetSubscribed ¶
func (x *Event) GetSubscribed() *Event_Subscribed
func (*Event) GetType ¶
func (x *Event) GetType() Event_Type
func (*Event) GetUpdate ¶
func (x *Event) GetUpdate() *Event_Update
func (*Event) GetUpdateOperationStatus ¶
func (x *Event) GetUpdateOperationStatus() *Event_UpdateOperationStatus
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶ added in v1.1.0
func (x *Event) ProtoReflect() protoreflect.Message
type Event_Error ¶
type Event_Error struct { Message *string `protobuf:"bytes,1,req,name=message" json:"message,omitempty"` // contains filtered or unexported fields }
Received when there is an unrecoverable error in the scheduler (e.g., scheduler failed over, rate limiting, authorization errors etc.). The scheduler should abort on receiving this event.
func (*Event_Error) Descriptor
deprecated
func (*Event_Error) Descriptor() ([]byte, []int)
Deprecated: Use Event_Error.ProtoReflect.Descriptor instead.
func (*Event_Error) GetMessage ¶
func (x *Event_Error) GetMessage() string
func (*Event_Error) ProtoMessage ¶
func (*Event_Error) ProtoMessage()
func (*Event_Error) ProtoReflect ¶ added in v1.1.0
func (x *Event_Error) ProtoReflect() protoreflect.Message
func (*Event_Error) Reset ¶
func (x *Event_Error) Reset()
func (*Event_Error) String ¶
func (x *Event_Error) String() string
type Event_Failure ¶
type Event_Failure struct { AgentId *AgentID `protobuf:"bytes,1,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"` // If this was just a failure of an executor on an agent then // 'executor_id' will be set and possibly 'status' (if we were // able to determine the exit status). ExecutorId *ExecutorID `protobuf:"bytes,2,opt,name=executor_id,json=executorId" json:"executor_id,omitempty"` // On Posix, `status` corresponds to termination information in the // `stat_loc` area returned from a `waitpid` call. On Windows, `status` // is obtained via calling the `GetExitCodeProcess()` function. For // messages coming from Posix agents, schedulers need to apply // `WEXITSTATUS` family macros or equivalent transformations to obtain // exit codes. // // TODO(alexr): Consider unifying Windows and Posix behavior by returning // exit code here, see MESOS-7241. Status *int32 `protobuf:"varint,3,opt,name=status" json:"status,omitempty"` // contains filtered or unexported fields }
Received when an agent is removed from the cluster (e.g., failed health checks) or when an executor is terminated. Note that, this event coincides with receipt of terminal UPDATE events for any active tasks belonging to the agent or executor and receipt of 'Rescind' events for any outstanding offers belonging to the agent. Note that there is no guaranteed order between the 'Failure', 'Update' and 'Rescind' events when an agent or executor is removed. TODO(vinod): Consider splitting the lost agent and terminated executor into separate events and ensure it's reliably generated.
func (*Event_Failure) Descriptor
deprecated
func (*Event_Failure) Descriptor() ([]byte, []int)
Deprecated: Use Event_Failure.ProtoReflect.Descriptor instead.
func (*Event_Failure) GetAgentId ¶ added in v1.1.0
func (x *Event_Failure) GetAgentId() *AgentID
func (*Event_Failure) GetExecutorId ¶ added in v1.1.0
func (x *Event_Failure) GetExecutorId() *ExecutorID
func (*Event_Failure) GetStatus ¶
func (x *Event_Failure) GetStatus() int32
func (*Event_Failure) ProtoMessage ¶
func (*Event_Failure) ProtoMessage()
func (*Event_Failure) ProtoReflect ¶ added in v1.1.0
func (x *Event_Failure) ProtoReflect() protoreflect.Message
func (*Event_Failure) Reset ¶
func (x *Event_Failure) Reset()
func (*Event_Failure) String ¶
func (x *Event_Failure) String() string
type Event_InverseOffers ¶
type Event_InverseOffers struct { InverseOffers []*InverseOffer `protobuf:"bytes,1,rep,name=inverse_offers,json=inverseOffers" json:"inverse_offers,omitempty"` // contains filtered or unexported fields }
Received whenever there are resources requested back from the scheduler. Each inverse offer specifies the agent, and optionally specific resources. Accepting or Declining an inverse offer informs the allocator of the scheduler's ability to release the specified resources without violating an SLA. If no resources are specified then all resources on the agent are requested to be released.
func (*Event_InverseOffers) Descriptor
deprecated
func (*Event_InverseOffers) Descriptor() ([]byte, []int)
Deprecated: Use Event_InverseOffers.ProtoReflect.Descriptor instead.
func (*Event_InverseOffers) GetInverseOffers ¶
func (x *Event_InverseOffers) GetInverseOffers() []*InverseOffer
func (*Event_InverseOffers) ProtoMessage ¶
func (*Event_InverseOffers) ProtoMessage()
func (*Event_InverseOffers) ProtoReflect ¶ added in v1.1.0
func (x *Event_InverseOffers) ProtoReflect() protoreflect.Message
func (*Event_InverseOffers) Reset ¶
func (x *Event_InverseOffers) Reset()
func (*Event_InverseOffers) String ¶
func (x *Event_InverseOffers) String() string
type Event_Message ¶
type Event_Message struct { AgentId *AgentID `protobuf:"bytes,1,req,name=agent_id,json=agentId" json:"agent_id,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,2,req,name=executor_id,json=executorId" json:"executor_id,omitempty"` Data []byte `protobuf:"bytes,3,req,name=data" json:"data,omitempty"` // contains filtered or unexported fields }
Received when a custom message generated by the executor is forwarded by the master. Note that this message is not interpreted by Mesos and is only forwarded (without reliability guarantees) to the scheduler. It is up to the executor to retry if the message is dropped for any reason.
func (*Event_Message) Descriptor
deprecated
func (*Event_Message) Descriptor() ([]byte, []int)
Deprecated: Use Event_Message.ProtoReflect.Descriptor instead.
func (*Event_Message) GetAgentId ¶ added in v1.1.0
func (x *Event_Message) GetAgentId() *AgentID
func (*Event_Message) GetData ¶
func (x *Event_Message) GetData() []byte
func (*Event_Message) GetExecutorId ¶ added in v1.1.0
func (x *Event_Message) GetExecutorId() *ExecutorID
func (*Event_Message) ProtoMessage ¶
func (*Event_Message) ProtoMessage()
func (*Event_Message) ProtoReflect ¶ added in v1.1.0
func (x *Event_Message) ProtoReflect() protoreflect.Message
func (*Event_Message) Reset ¶
func (x *Event_Message) Reset()
func (*Event_Message) String ¶
func (x *Event_Message) String() string
type Event_Offers ¶
type Event_Offers struct { Offers []*Offer `protobuf:"bytes,1,rep,name=offers" json:"offers,omitempty"` // contains filtered or unexported fields }
Received whenever there are new resources that are offered to the scheduler. Each offer corresponds to a set of resources on an agent. Until the scheduler accepts or declines an offer the resources are considered allocated to the scheduler.
func (*Event_Offers) Descriptor
deprecated
func (*Event_Offers) Descriptor() ([]byte, []int)
Deprecated: Use Event_Offers.ProtoReflect.Descriptor instead.
func (*Event_Offers) GetOffers ¶
func (x *Event_Offers) GetOffers() []*Offer
func (*Event_Offers) ProtoMessage ¶
func (*Event_Offers) ProtoMessage()
func (*Event_Offers) ProtoReflect ¶ added in v1.1.0
func (x *Event_Offers) ProtoReflect() protoreflect.Message
func (*Event_Offers) Reset ¶
func (x *Event_Offers) Reset()
func (*Event_Offers) String ¶
func (x *Event_Offers) String() string
type Event_Rescind ¶
type Event_Rescind struct { OfferId *OfferID `protobuf:"bytes,1,req,name=offer_id,json=offerId" json:"offer_id,omitempty"` // contains filtered or unexported fields }
Received when a particular offer is no longer valid (e.g., the agent corresponding to the offer has been removed) and hence needs to be rescinded. Any future calls ('Accept' / 'Decline') made by the scheduler regarding this offer will be invalid.
func (*Event_Rescind) Descriptor
deprecated
func (*Event_Rescind) Descriptor() ([]byte, []int)
Deprecated: Use Event_Rescind.ProtoReflect.Descriptor instead.
func (*Event_Rescind) GetOfferId ¶ added in v1.1.0
func (x *Event_Rescind) GetOfferId() *OfferID
func (*Event_Rescind) ProtoMessage ¶
func (*Event_Rescind) ProtoMessage()
func (*Event_Rescind) ProtoReflect ¶ added in v1.1.0
func (x *Event_Rescind) ProtoReflect() protoreflect.Message
func (*Event_Rescind) Reset ¶
func (x *Event_Rescind) Reset()
func (*Event_Rescind) String ¶
func (x *Event_Rescind) String() string
type Event_RescindInverseOffer ¶
type Event_RescindInverseOffer struct { InverseOfferId *OfferID `protobuf:"bytes,1,req,name=inverse_offer_id,json=inverseOfferId" json:"inverse_offer_id,omitempty"` // contains filtered or unexported fields }
Received when a particular inverse offer is no longer valid (e.g., the agent corresponding to the offer has been removed) and hence needs to be rescinded. Any future calls ('Accept' / 'Decline') made by the scheduler regarding this inverse offer will be invalid.
func (*Event_RescindInverseOffer) Descriptor
deprecated
func (*Event_RescindInverseOffer) Descriptor() ([]byte, []int)
Deprecated: Use Event_RescindInverseOffer.ProtoReflect.Descriptor instead.
func (*Event_RescindInverseOffer) GetInverseOfferId ¶ added in v1.1.0
func (x *Event_RescindInverseOffer) GetInverseOfferId() *OfferID
func (*Event_RescindInverseOffer) ProtoMessage ¶
func (*Event_RescindInverseOffer) ProtoMessage()
func (*Event_RescindInverseOffer) ProtoReflect ¶ added in v1.1.0
func (x *Event_RescindInverseOffer) ProtoReflect() protoreflect.Message
func (*Event_RescindInverseOffer) Reset ¶
func (x *Event_RescindInverseOffer) Reset()
func (*Event_RescindInverseOffer) String ¶
func (x *Event_RescindInverseOffer) String() string
type Event_Subscribed ¶
type Event_Subscribed struct { FrameworkId *FrameworkID `protobuf:"bytes,1,req,name=framework_id,json=frameworkId" json:"framework_id,omitempty"` // This value will be set if the master is sending heartbeats. See // the comment above on 'HEARTBEAT' for more details. HeartbeatIntervalSeconds *float64 `` /* 130-byte string literal not displayed */ // Since Mesos 1.1. MasterInfo *MasterInfo `protobuf:"bytes,3,opt,name=master_info,json=masterInfo" json:"master_info,omitempty"` // contains filtered or unexported fields }
First event received when the scheduler subscribes.
func (*Event_Subscribed) Descriptor
deprecated
func (*Event_Subscribed) Descriptor() ([]byte, []int)
Deprecated: Use Event_Subscribed.ProtoReflect.Descriptor instead.
func (*Event_Subscribed) GetFrameworkId ¶ added in v1.1.0
func (x *Event_Subscribed) GetFrameworkId() *FrameworkID
func (*Event_Subscribed) GetHeartbeatIntervalSeconds ¶
func (x *Event_Subscribed) GetHeartbeatIntervalSeconds() float64
func (*Event_Subscribed) GetMasterInfo ¶
func (x *Event_Subscribed) GetMasterInfo() *MasterInfo
func (*Event_Subscribed) ProtoMessage ¶
func (*Event_Subscribed) ProtoMessage()
func (*Event_Subscribed) ProtoReflect ¶ added in v1.1.0
func (x *Event_Subscribed) ProtoReflect() protoreflect.Message
func (*Event_Subscribed) Reset ¶
func (x *Event_Subscribed) Reset()
func (*Event_Subscribed) String ¶
func (x *Event_Subscribed) String() string
type Event_Type ¶
type Event_Type int32
Possible event types, followed by message definitions if applicable.
const ( // This must be the first enum value in this list, to // ensure that if 'type' is not set, the default value // is UNKNOWN. This enables enum values to be added // in a backwards-compatible way. See: MESOS-4997. Event_UNKNOWN Event_Type = 0 Event_SUBSCRIBED Event_Type = 1 // See 'Subscribed' below. Event_OFFERS Event_Type = 2 // See 'Offers' below. Event_INVERSE_OFFERS Event_Type = 9 // See 'InverseOffers' below. Event_RESCIND Event_Type = 3 // See 'Rescind' below. Event_RESCIND_INVERSE_OFFER Event_Type = 10 // See 'RescindInverseOffer' below. Event_UPDATE Event_Type = 4 // See 'Update' below. Event_UPDATE_OPERATION_STATUS Event_Type = 11 // See 'UpdateOperationStatus' below. Event_MESSAGE Event_Type = 5 // See 'Message' below. Event_FAILURE Event_Type = 6 // See 'Failure' below. Event_ERROR Event_Type = 7 // See 'Error' below. // Periodic message sent by the Mesos master according to // 'Subscribed.heartbeat_interval_seconds'. If the scheduler does // not receive any events (including heartbeats) for an extended // period of time (e.g., 5 x heartbeat_interval_seconds), there is // likely a network partition. In such a case the scheduler should // close the existing subscription connection and resubscribe // using a backoff strategy. Event_HEARTBEAT Event_Type = 8 )
func (Event_Type) Descriptor ¶ added in v1.1.0
func (Event_Type) Descriptor() protoreflect.EnumDescriptor
func (Event_Type) Enum ¶
func (x Event_Type) Enum() *Event_Type
func (Event_Type) EnumDescriptor
deprecated
func (Event_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_Type.Descriptor instead.
func (Event_Type) Number ¶ added in v1.1.0
func (x Event_Type) Number() protoreflect.EnumNumber
func (Event_Type) String ¶
func (x Event_Type) String() string
func (Event_Type) Type ¶ added in v1.1.0
func (Event_Type) Type() protoreflect.EnumType
func (*Event_Type) UnmarshalJSON
deprecated
func (x *Event_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Event_Update ¶
type Event_Update struct { Status *TaskStatus `protobuf:"bytes,1,req,name=status" json:"status,omitempty"` // contains filtered or unexported fields }
Received whenever there is a status update that is generated by the executor or agent or master. Status updates should be used by executors to reliably communicate the status of the tasks that they manage. It is crucial that a terminal update (see TaskState in v1/mesos.proto) is sent by the executor as soon as the task terminates, in order for Mesos to release the resources allocated to the task. It is also the responsibility of the scheduler to explicitly acknowledge the receipt of a status update. See 'Acknowledge' in the 'Call' section below for the semantics.
A task status update may be used for guaranteed delivery of some task-related information, e.g., task's health update. Such information may be shadowed by subsequent task status updates, that do not preserve fields of the previously sent message.
func (*Event_Update) Descriptor
deprecated
func (*Event_Update) Descriptor() ([]byte, []int)
Deprecated: Use Event_Update.ProtoReflect.Descriptor instead.
func (*Event_Update) GetStatus ¶
func (x *Event_Update) GetStatus() *TaskStatus
func (*Event_Update) ProtoMessage ¶
func (*Event_Update) ProtoMessage()
func (*Event_Update) ProtoReflect ¶ added in v1.1.0
func (x *Event_Update) ProtoReflect() protoreflect.Message
func (*Event_Update) Reset ¶
func (x *Event_Update) Reset()
func (*Event_Update) String ¶
func (x *Event_Update) String() string
type Event_UpdateOperationStatus ¶
type Event_UpdateOperationStatus struct { Status *OperationStatus `protobuf:"bytes,1,req,name=status" json:"status,omitempty"` // contains filtered or unexported fields }
EXPERIMENTAL.
Received when there is an operation status update generated by the master, agent, or resource provider. These updates are only sent to the framework for operations which had the operation ID set by the framework. It is the responsibility of the scheduler to explicitly acknowledge the receipt of a status update. See 'AcknowledgeOperationStatus' in the 'Call' section below for the semantics.
func (*Event_UpdateOperationStatus) Descriptor
deprecated
func (*Event_UpdateOperationStatus) Descriptor() ([]byte, []int)
Deprecated: Use Event_UpdateOperationStatus.ProtoReflect.Descriptor instead.
func (*Event_UpdateOperationStatus) GetStatus ¶
func (x *Event_UpdateOperationStatus) GetStatus() *OperationStatus
func (*Event_UpdateOperationStatus) ProtoMessage ¶
func (*Event_UpdateOperationStatus) ProtoMessage()
func (*Event_UpdateOperationStatus) ProtoReflect ¶ added in v1.1.0
func (x *Event_UpdateOperationStatus) ProtoReflect() protoreflect.Message
func (*Event_UpdateOperationStatus) Reset ¶
func (x *Event_UpdateOperationStatus) Reset()
func (*Event_UpdateOperationStatus) String ¶
func (x *Event_UpdateOperationStatus) String() string
type ExecutorID ¶
type ExecutorID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* A framework-generated ID to distinguish an executor. Only one executor with the same ID can be active on the same agent at a time. However, reusing executor IDs is discouraged.
func (*ExecutorID) Descriptor
deprecated
func (*ExecutorID) Descriptor() ([]byte, []int)
Deprecated: Use ExecutorID.ProtoReflect.Descriptor instead.
func (*ExecutorID) GetValue ¶
func (x *ExecutorID) GetValue() string
func (*ExecutorID) ProtoMessage ¶
func (*ExecutorID) ProtoMessage()
func (*ExecutorID) ProtoReflect ¶ added in v1.1.0
func (x *ExecutorID) ProtoReflect() protoreflect.Message
func (*ExecutorID) Reset ¶
func (x *ExecutorID) Reset()
func (*ExecutorID) String ¶
func (x *ExecutorID) String() string
type ExecutorInfo ¶
type ExecutorInfo struct { // For backwards compatibility, if this field is not set when using `LAUNCH` // operation, Mesos will infer the type by checking if `command` is set // (`CUSTOM`) or unset (`DEFAULT`). `type` must be set when using // `LAUNCH_GROUP` operation. // // TODO(vinod): Add support for explicitly setting `type` to `DEFAULT` in // `LAUNCH` operation. Type *ExecutorInfo_Type `protobuf:"varint,15,opt,name=type,enum=mesos.v1.ExecutorInfo_Type" json:"type,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,1,req,name=executor_id,json=executorId" json:"executor_id,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,8,opt,name=framework_id,json=frameworkId" json:"framework_id,omitempty"` // TODO(benh): Make this required. Command *CommandInfo `protobuf:"bytes,7,opt,name=command" json:"command,omitempty"` // Executor provided with a container will launch the container // with the executor's CommandInfo and we expect the container to // act as a Mesos executor. Container *ContainerInfo `protobuf:"bytes,11,opt,name=container" json:"container,omitempty"` Resources []*Resource `protobuf:"bytes,5,rep,name=resources" json:"resources,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 agent. This allows users to import usage // information into a time series database for monitoring. // // This field is deprecated since 1.0. Please use labels for // free-form metadata instead. // // Deprecated: Marked as deprecated in mesos.proto. Source *string `protobuf:"bytes,10,opt,name=source" json:"source,omitempty"` // Since 1.0. // This field can be used to pass arbitrary bytes to an executor. Data []byte `protobuf:"bytes,4,opt,name=data" json:"data,omitempty"` // Service discovery information for the executor. It is not // interpreted or acted upon by Mesos. It is up to a service // discovery system to use this information as needed and to handle // executors without service discovery information. Discovery *DiscoveryInfo `protobuf:"bytes,12,opt,name=discovery" json:"discovery,omitempty"` // When shutting down an executor the agent will wait in a // best-effort manner for the grace period specified here // before forcibly destroying the container. The executor // must not assume that it will always be allotted the full // grace period, as the agent may decide to allot a shorter // period and failures / forcible terminations may occur. ShutdownGracePeriod *DurationInfo `protobuf:"bytes,13,opt,name=shutdown_grace_period,json=shutdownGracePeriod" json:"shutdown_grace_period,omitempty"` // Labels are free-form key value pairs which are exposed through // master and agent endpoints. Labels will not be interpreted or // acted upon by Mesos itself. As opposed to the data field, labels // will be kept in memory on master and agent processes. Therefore, // labels should be used to tag executors with lightweight metadata. // Labels should not contain duplicate key-value pairs. Labels *Labels `protobuf:"bytes,14,opt,name=labels" json:"labels,omitempty"` // contains filtered or unexported fields }
* Describes information about an executor.
func (*ExecutorInfo) Descriptor
deprecated
func (*ExecutorInfo) Descriptor() ([]byte, []int)
Deprecated: Use ExecutorInfo.ProtoReflect.Descriptor instead.
func (*ExecutorInfo) GetCommand ¶
func (x *ExecutorInfo) GetCommand() *CommandInfo
func (*ExecutorInfo) GetContainer ¶
func (x *ExecutorInfo) GetContainer() *ContainerInfo
func (*ExecutorInfo) GetData ¶
func (x *ExecutorInfo) GetData() []byte
func (*ExecutorInfo) GetDiscovery ¶
func (x *ExecutorInfo) GetDiscovery() *DiscoveryInfo
func (*ExecutorInfo) GetExecutorId ¶ added in v1.1.0
func (x *ExecutorInfo) GetExecutorId() *ExecutorID
func (*ExecutorInfo) GetFrameworkId ¶ added in v1.1.0
func (x *ExecutorInfo) GetFrameworkId() *FrameworkID
func (*ExecutorInfo) GetLabels ¶
func (x *ExecutorInfo) GetLabels() *Labels
func (*ExecutorInfo) GetName ¶
func (x *ExecutorInfo) GetName() string
func (*ExecutorInfo) GetResources ¶
func (x *ExecutorInfo) GetResources() []*Resource
func (*ExecutorInfo) GetShutdownGracePeriod ¶
func (x *ExecutorInfo) GetShutdownGracePeriod() *DurationInfo
func (*ExecutorInfo) GetSource
deprecated
func (x *ExecutorInfo) GetSource() string
Deprecated: Marked as deprecated in mesos.proto.
func (*ExecutorInfo) GetType ¶
func (x *ExecutorInfo) GetType() ExecutorInfo_Type
func (*ExecutorInfo) ProtoMessage ¶
func (*ExecutorInfo) ProtoMessage()
func (*ExecutorInfo) ProtoReflect ¶ added in v1.1.0
func (x *ExecutorInfo) ProtoReflect() protoreflect.Message
func (*ExecutorInfo) Reset ¶
func (x *ExecutorInfo) Reset()
func (*ExecutorInfo) String ¶
func (x *ExecutorInfo) String() string
type ExecutorInfo_Type ¶
type ExecutorInfo_Type int32
const ( ExecutorInfo_UNKNOWN ExecutorInfo_Type = 0 // Mesos provides a simple built-in default executor that frameworks can // leverage to run shell commands and containers. // // NOTES: // // 1) `command` must not be set when using a default executor. // // 2. Default executor only accepts a *single* `LAUNCH` or `LAUNCH_GROUP` // operation. // // 3. If `container` is set, `container.type` must be `MESOS` // and `container.mesos.image` must not be set. ExecutorInfo_DEFAULT ExecutorInfo_Type = 1 // For frameworks that need custom functionality to run tasks, a `CUSTOM` // executor can be used. Note that `command` must be set when using a // `CUSTOM` executor. ExecutorInfo_CUSTOM ExecutorInfo_Type = 2 )
func (ExecutorInfo_Type) Descriptor ¶ added in v1.1.0
func (ExecutorInfo_Type) Descriptor() protoreflect.EnumDescriptor
func (ExecutorInfo_Type) Enum ¶
func (x ExecutorInfo_Type) Enum() *ExecutorInfo_Type
func (ExecutorInfo_Type) EnumDescriptor
deprecated
func (ExecutorInfo_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecutorInfo_Type.Descriptor instead.
func (ExecutorInfo_Type) Number ¶ added in v1.1.0
func (x ExecutorInfo_Type) Number() protoreflect.EnumNumber
func (ExecutorInfo_Type) String ¶
func (x ExecutorInfo_Type) String() string
func (ExecutorInfo_Type) Type ¶ added in v1.1.0
func (ExecutorInfo_Type) Type() protoreflect.EnumType
func (*ExecutorInfo_Type) UnmarshalJSON
deprecated
func (x *ExecutorInfo_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type FileInfo ¶
type FileInfo struct { // Absolute path to the file. Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"` // Number of hard links. Nlink *int32 `protobuf:"varint,2,opt,name=nlink" json:"nlink,omitempty"` // Total size in bytes. Size *uint64 `protobuf:"varint,3,opt,name=size" json:"size,omitempty"` // Last modification time. Mtime *TimeInfo `protobuf:"bytes,4,opt,name=mtime" json:"mtime,omitempty"` // Represents a file's mode and permission bits. The bits have the same // definition on all systems and is portable. Mode *uint32 `protobuf:"varint,5,opt,name=mode" json:"mode,omitempty"` // User ID of owner. Uid *string `protobuf:"bytes,6,opt,name=uid" json:"uid,omitempty"` // Group ID of owner. Gid *string `protobuf:"bytes,7,opt,name=gid" json:"gid,omitempty"` // contains filtered or unexported fields }
* Describes a File.
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶ added in v1.1.0
func (x *FileInfo) ProtoReflect() protoreflect.Message
type Filters ¶
type Filters struct { // Time to consider unused resources refused. Note that all unused // resources will be considered refused and use the default value // (below) regardless of whether Filters was passed to // SchedulerDriver::launchTasks. You MUST pass Filters with this // field set to change this behavior (i.e., get another offer which // includes unused resources sooner or later than the default). // // If this field is set to a number of seconds greater than 31536000 // (365 days), then the resources will be considered refused for 365 // days. If it is set to a negative number, then the default value // will be used. RefuseSeconds *float64 `protobuf:"fixed64,1,opt,name=refuse_seconds,json=refuseSeconds,def=5" json:"refuse_seconds,omitempty"` // contains filtered or unexported fields }
* Describes possible filters that can be applied to unused resources (see SchedulerDriver::launchTasks) to influence the allocator.
func (*Filters) Descriptor
deprecated
func (*Filters) GetRefuseSeconds ¶
func (*Filters) ProtoMessage ¶
func (*Filters) ProtoMessage()
func (*Filters) ProtoReflect ¶ added in v1.1.0
func (x *Filters) ProtoReflect() protoreflect.Message
type Flag ¶
type Flag struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* Flag consists of a name and optionally its value.
func (*Flag) Descriptor
deprecated
func (*Flag) ProtoMessage ¶
func (*Flag) ProtoMessage()
func (*Flag) ProtoReflect ¶ added in v1.1.0
func (x *Flag) ProtoReflect() protoreflect.Message
type FrameworkID ¶
type FrameworkID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* A unique ID assigned to a framework. A framework can reuse this ID in order to do failover (see MesosSchedulerDriver).
func (*FrameworkID) Descriptor
deprecated
func (*FrameworkID) Descriptor() ([]byte, []int)
Deprecated: Use FrameworkID.ProtoReflect.Descriptor instead.
func (*FrameworkID) GetValue ¶
func (x *FrameworkID) GetValue() string
func (*FrameworkID) ProtoMessage ¶
func (*FrameworkID) ProtoMessage()
func (*FrameworkID) ProtoReflect ¶ added in v1.1.0
func (x *FrameworkID) ProtoReflect() protoreflect.Message
func (*FrameworkID) Reset ¶
func (x *FrameworkID) Reset()
func (*FrameworkID) String ¶
func (x *FrameworkID) String() string
type FrameworkInfo ¶
type FrameworkInfo struct { // Used to determine the Unix user that an executor or task should be // launched as. // // When using the MesosSchedulerDriver, if the field is set to an // empty string, it will automagically set it to the current user. // // When using the HTTP Scheduler API, the user has to be set // explicitly. User *string `protobuf:"bytes,1,req,name=user" json:"user,omitempty"` // Name of the framework that shows up in the Mesos Web UI. Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` // Used to uniquely identify the framework. // // This field must be unset when the framework subscribes for the // first time upon which the master will assign a new ID. To // resubscribe after scheduler failover the framework should set // 'id' to the ID assigned by the master. Setting 'id' to values // not assigned by Mesos masters is unsupported. Id *FrameworkID `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"` // The amount of time (in seconds) that the master will wait for the // scheduler to failover before it tears down the framework by // killing all its tasks/executors. This should be non-zero if a // framework expects to reconnect after a failure and not lose its // tasks/executors. // // NOTE: To avoid accidental destruction of tasks, production // frameworks typically set this to a large value (e.g., 1 week). FailoverTimeout *float64 `protobuf:"fixed64,4,opt,name=failover_timeout,json=failoverTimeout,def=0" json:"failover_timeout,omitempty"` // If set, agents running tasks started by this framework will write // the framework pid, executor pids and status updates to disk. If // the agent exits (e.g., due to a crash or as part of upgrading // Mesos), this checkpointed data allows the restarted agent to // reconnect to executors that were started by the old instance of // the agent. Enabling checkpointing improves fault tolerance, at // the cost of a (usually small) increase in disk I/O. Checkpoint *bool `protobuf:"varint,5,opt,name=checkpoint,def=0" json:"checkpoint,omitempty"` // Roles are the entities to which allocations are made. // The framework must have at least one role in order to // be offered resources. Note that `role` is deprecated // in favor of `roles` and only one of these fields must // be used. Since we cannot distinguish between empty // `roles` and the default unset `role`, we require that // frameworks set the `MULTI_ROLE` capability if // setting the `roles` field. // // Deprecated: Marked as deprecated in mesos.proto. Role *string `protobuf:"bytes,6,opt,name=role,def=*" json:"role,omitempty"` Roles []string `protobuf:"bytes,12,rep,name=roles" json:"roles,omitempty"` // Used to indicate the current host from which the scheduler is // registered in the Mesos Web UI. If set to an empty string Mesos // will automagically set it to the current hostname if one is // available. Hostname *string `protobuf:"bytes,7,opt,name=hostname" json:"hostname,omitempty"` // This field should match the credential's principal the framework // uses for authentication. This field is used for framework API // rate limiting and dynamic reservations. It should be set even // if authentication is not enabled if these features are desired. Principal *string `protobuf:"bytes,8,opt,name=principal" json:"principal,omitempty"` // This field allows a framework to advertise its web UI, so that // the Mesos web UI can link to it. It is expected to be a full URL, // for example http://my-scheduler.example.com:8080/. WebuiUrl *string `protobuf:"bytes,9,opt,name=webui_url,json=webuiUrl" json:"webui_url,omitempty"` // This field allows a framework to advertise its set of // capabilities (e.g., ability to receive offers for revocable // resources). Capabilities []*FrameworkInfo_Capability `protobuf:"bytes,10,rep,name=capabilities" json:"capabilities,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 should not contain duplicate key-value pairs. Labels *Labels `protobuf:"bytes,11,opt,name=labels" json:"labels,omitempty"` // Specifc resource requirements for each of the framework's roles. This field // is used by e.g., the default allocator to decide whether a framework is // interested in seeing a resource of a certain shape. OfferFilters map[string]*OfferFilters `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
* Describes a framework.
func (*FrameworkInfo) Descriptor
deprecated
func (*FrameworkInfo) Descriptor() ([]byte, []int)
Deprecated: Use FrameworkInfo.ProtoReflect.Descriptor instead.
func (*FrameworkInfo) GetCapabilities ¶
func (x *FrameworkInfo) GetCapabilities() []*FrameworkInfo_Capability
func (*FrameworkInfo) GetCheckpoint ¶
func (x *FrameworkInfo) GetCheckpoint() bool
func (*FrameworkInfo) GetFailoverTimeout ¶
func (x *FrameworkInfo) GetFailoverTimeout() float64
func (*FrameworkInfo) GetHostname ¶
func (x *FrameworkInfo) GetHostname() string
func (*FrameworkInfo) GetId ¶ added in v1.1.0
func (x *FrameworkInfo) GetId() *FrameworkID
func (*FrameworkInfo) GetLabels ¶
func (x *FrameworkInfo) GetLabels() *Labels
func (*FrameworkInfo) GetName ¶
func (x *FrameworkInfo) GetName() string
func (*FrameworkInfo) GetOfferFilters ¶
func (x *FrameworkInfo) GetOfferFilters() map[string]*OfferFilters
func (*FrameworkInfo) GetPrincipal ¶
func (x *FrameworkInfo) GetPrincipal() string
func (*FrameworkInfo) GetRole
deprecated
func (x *FrameworkInfo) GetRole() string
Deprecated: Marked as deprecated in mesos.proto.
func (*FrameworkInfo) GetRoles ¶
func (x *FrameworkInfo) GetRoles() []string
func (*FrameworkInfo) GetUser ¶
func (x *FrameworkInfo) GetUser() string
func (*FrameworkInfo) GetWebuiUrl ¶ added in v1.1.0
func (x *FrameworkInfo) GetWebuiUrl() string
func (*FrameworkInfo) ProtoMessage ¶
func (*FrameworkInfo) ProtoMessage()
func (*FrameworkInfo) ProtoReflect ¶ added in v1.1.0
func (x *FrameworkInfo) ProtoReflect() protoreflect.Message
func (*FrameworkInfo) Reset ¶
func (x *FrameworkInfo) Reset()
func (*FrameworkInfo) String ¶
func (x *FrameworkInfo) String() string
type FrameworkInfo_Capability ¶
type FrameworkInfo_Capability struct { // Enum fields should be optional, see: MESOS-4997. Type *FrameworkInfo_Capability_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.FrameworkInfo_Capability_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*FrameworkInfo_Capability) Descriptor
deprecated
func (*FrameworkInfo_Capability) Descriptor() ([]byte, []int)
Deprecated: Use FrameworkInfo_Capability.ProtoReflect.Descriptor instead.
func (*FrameworkInfo_Capability) GetType ¶
func (x *FrameworkInfo_Capability) GetType() FrameworkInfo_Capability_Type
func (*FrameworkInfo_Capability) ProtoMessage ¶
func (*FrameworkInfo_Capability) ProtoMessage()
func (*FrameworkInfo_Capability) ProtoReflect ¶ added in v1.1.0
func (x *FrameworkInfo_Capability) ProtoReflect() protoreflect.Message
func (*FrameworkInfo_Capability) Reset ¶
func (x *FrameworkInfo_Capability) Reset()
func (*FrameworkInfo_Capability) String ¶
func (x *FrameworkInfo_Capability) String() string
type FrameworkInfo_Capability_Type ¶
type FrameworkInfo_Capability_Type int32
const ( // This must be the first enum value in this list, to // ensure that if 'type' is not set, the default value // is UNKNOWN. This enables enum values to be added // in a backwards-compatible way. See: MESOS-4997. FrameworkInfo_Capability_UNKNOWN FrameworkInfo_Capability_Type = 0 // Receive offers with revocable resources. See 'Resource' // message for details. FrameworkInfo_Capability_REVOCABLE_RESOURCES FrameworkInfo_Capability_Type = 1 // Receive the TASK_KILLING TaskState when a task is being // killed by an executor. The executor will examine this // capability to determine whether it can send TASK_KILLING. FrameworkInfo_Capability_TASK_KILLING_STATE FrameworkInfo_Capability_Type = 2 // Indicates whether the framework is aware of GPU resources. // Frameworks that are aware of GPU resources are expected to // avoid placing non-GPU workloads on GPU agents, in order // to avoid occupying a GPU agent and preventing GPU workloads // from running! Currently, if a framework is unaware of GPU // resources, it will not be offered *any* of the resources on // an agent with GPUs. This restriction is in place because we // do not have a revocation mechanism that ensures GPU workloads // can evict GPU agent occupants if necessary. // // TODO(bmahler): As we add revocation we can relax the // restriction here. See MESOS-5634 for more information. FrameworkInfo_Capability_GPU_RESOURCES FrameworkInfo_Capability_Type = 3 // Receive offers with resources that are shared. FrameworkInfo_Capability_SHARED_RESOURCES FrameworkInfo_Capability_Type = 4 // Indicates that (1) the framework is prepared to handle the // following TaskStates: TASK_UNREACHABLE, TASK_DROPPED, // TASK_GONE, TASK_GONE_BY_OPERATOR, and TASK_UNKNOWN, and (2) // the framework will assume responsibility for managing // partitioned tasks that reregister with the master. // // Frameworks that enable this capability can define how they // would like to handle partitioned tasks. Frameworks will // receive TASK_UNREACHABLE for tasks on agents that are // partitioned from the master. // // Without this capability, frameworks will receive TASK_LOST // for tasks on partitioned agents. // NOTE: Prior to Mesos 1.5, such tasks will be killed by Mesos // when the agent reregisters (unless the master has failed over). // However due to the lack of benefit in maintaining different // behaviors depending on whether the master has failed over // (see MESOS-7215), as of 1.5, Mesos will not kill these // tasks in either case. FrameworkInfo_Capability_PARTITION_AWARE FrameworkInfo_Capability_Type = 5 // This expresses the ability for the framework to be // "multi-tenant" via using the newly introduced `roles` // field, and examining `Offer.allocation_info` to determine // which role the offers are being made to. We also // expect that "single-tenant" schedulers eventually // provide this and move away from the deprecated // `role` field. FrameworkInfo_Capability_MULTI_ROLE FrameworkInfo_Capability_Type = 6 // This capability has two effects for a framework. // // (1) The framework is offered resources in a new format. // // The offered resources have the `Resource.reservations` field set // rather than `Resource.role` and `Resource.reservation`. In short, // an empty `reservations` field denotes unreserved resources, and // each `ReservationInfo` in the `reservations` field denotes a // reservation that refines the previous one. // // See the 'Resource Format' section for more details. // // (2) The framework can create refined reservations. // // A framework can refine an existing reservation via the // `Resource.reservations` field. For example, a reservation for role // `eng` can be refined to `eng/front_end`. // // See `ReservationInfo.reservations` for more details. // // NOTE: Without this capability, a framework is not offered resources // that have refined reservations. A resource is said to have refined // reservations if it uses the `Resource.reservations` field, and // `Resource.reservations_size() > 1`. FrameworkInfo_Capability_RESERVATION_REFINEMENT FrameworkInfo_Capability_Type = 7 // EXPERIMENTAL. // Indicates that the framework is prepared to receive offers // for agents whose region is different from the master's // region. Network links between hosts in different regions // typically have higher latency and lower bandwidth than // network links within a region, so frameworks should be // careful to only place suitable workloads in remote regions. // Frameworks that are not region-aware will never receive // offers for remote agents; region-aware frameworks are assumed // to implement their own logic to decide which workloads (if // any) are suitable for placement on remote agents. FrameworkInfo_Capability_REGION_AWARE FrameworkInfo_Capability_Type = 8 )
func (FrameworkInfo_Capability_Type) Descriptor ¶ added in v1.1.0
func (FrameworkInfo_Capability_Type) Descriptor() protoreflect.EnumDescriptor
func (FrameworkInfo_Capability_Type) Enum ¶
func (x FrameworkInfo_Capability_Type) Enum() *FrameworkInfo_Capability_Type
func (FrameworkInfo_Capability_Type) EnumDescriptor
deprecated
func (FrameworkInfo_Capability_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use FrameworkInfo_Capability_Type.Descriptor instead.
func (FrameworkInfo_Capability_Type) Number ¶ added in v1.1.0
func (x FrameworkInfo_Capability_Type) Number() protoreflect.EnumNumber
func (FrameworkInfo_Capability_Type) String ¶
func (x FrameworkInfo_Capability_Type) String() string
func (FrameworkInfo_Capability_Type) Type ¶ added in v1.1.0
func (FrameworkInfo_Capability_Type) Type() protoreflect.EnumType
func (*FrameworkInfo_Capability_Type) UnmarshalJSON
deprecated
func (x *FrameworkInfo_Capability_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type HealthCheck ¶
type HealthCheck struct { // Amount of time to wait to start health checking the task after it // transitions to `TASK_RUNNING` or `TASK_STATING` if the latter is // used by the executor. DelaySeconds *float64 `protobuf:"fixed64,2,opt,name=delay_seconds,json=delaySeconds,def=15" json:"delay_seconds,omitempty"` // Interval between health checks, i.e., amount of time to wait after // the previous health check finished or timed out to start the next // health check. IntervalSeconds *float64 `protobuf:"fixed64,3,opt,name=interval_seconds,json=intervalSeconds,def=10" json:"interval_seconds,omitempty"` // Amount of time to wait for the health check to complete. After this // timeout, the health check is aborted and treated as a failure. Zero // means infinite timeout. TimeoutSeconds *float64 `protobuf:"fixed64,4,opt,name=timeout_seconds,json=timeoutSeconds,def=20" json:"timeout_seconds,omitempty"` // Number of consecutive failures until the task is killed by the executor. ConsecutiveFailures *uint32 `protobuf:"varint,5,opt,name=consecutive_failures,json=consecutiveFailures,def=3" json:"consecutive_failures,omitempty"` // Amount of time after the task is launched during which health check // failures are ignored. Once a check succeeds for the first time, // the grace period does not apply anymore. Note that it includes // `delay_seconds`, i.e., setting `grace_period_seconds` < `delay_seconds` // has no effect. GracePeriodSeconds *float64 `protobuf:"fixed64,6,opt,name=grace_period_seconds,json=gracePeriodSeconds,def=10" json:"grace_period_seconds,omitempty"` // The type of health check. Type *HealthCheck_Type `protobuf:"varint,8,opt,name=type,enum=mesos.v1.HealthCheck_Type" json:"type,omitempty"` // Command health check. Command *CommandInfo `protobuf:"bytes,7,opt,name=command" json:"command,omitempty"` // HTTP health check. Http *HealthCheck_HTTPCheckInfo `protobuf:"bytes,1,opt,name=http" json:"http,omitempty"` // TCP health check. Tcp *HealthCheck_TCPCheckInfo `protobuf:"bytes,9,opt,name=tcp" json:"tcp,omitempty"` // contains filtered or unexported fields }
* Describes a health check for a task or executor (or any arbitrary process/command). A type is picked by specifying one of the optional fields. Specifying more than one type is an error.
func (*HealthCheck) Descriptor
deprecated
func (*HealthCheck) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.
func (*HealthCheck) GetCommand ¶
func (x *HealthCheck) GetCommand() *CommandInfo
func (*HealthCheck) GetConsecutiveFailures ¶
func (x *HealthCheck) GetConsecutiveFailures() uint32
func (*HealthCheck) GetDelaySeconds ¶
func (x *HealthCheck) GetDelaySeconds() float64
func (*HealthCheck) GetGracePeriodSeconds ¶
func (x *HealthCheck) GetGracePeriodSeconds() float64
func (*HealthCheck) GetHttp ¶ added in v1.1.0
func (x *HealthCheck) GetHttp() *HealthCheck_HTTPCheckInfo
func (*HealthCheck) GetIntervalSeconds ¶
func (x *HealthCheck) GetIntervalSeconds() float64
func (*HealthCheck) GetTcp ¶ added in v1.1.0
func (x *HealthCheck) GetTcp() *HealthCheck_TCPCheckInfo
func (*HealthCheck) GetTimeoutSeconds ¶
func (x *HealthCheck) GetTimeoutSeconds() float64
func (*HealthCheck) GetType ¶
func (x *HealthCheck) GetType() HealthCheck_Type
func (*HealthCheck) ProtoMessage ¶
func (*HealthCheck) ProtoMessage()
func (*HealthCheck) ProtoReflect ¶ added in v1.1.0
func (x *HealthCheck) ProtoReflect() protoreflect.Message
func (*HealthCheck) Reset ¶
func (x *HealthCheck) Reset()
func (*HealthCheck) String ¶
func (x *HealthCheck) String() string
type HealthCheck_HTTPCheckInfo ¶
type HealthCheck_HTTPCheckInfo struct { Protocol *NetworkInfo_Protocol `protobuf:"varint,5,opt,name=protocol,enum=mesos.v1.NetworkInfo_Protocol,def=1" json:"protocol,omitempty"` // Currently "http" and "https" are supported. Scheme *string `protobuf:"bytes,3,opt,name=scheme" json:"scheme,omitempty"` // Port to send the HTTP request. Port *uint32 `protobuf:"varint,1,req,name=port" json:"port,omitempty"` // HTTP request path. Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` // NOTE: It is up to the custom executor to interpret and act on this // field. Setting this field has no effect on the default executors. // // TODO(haosdent): Deprecate this field when we add better support for // success and possibly failure statuses, e.g. ranges of success and // failure statuses. Statuses []uint32 `protobuf:"varint,4,rep,name=statuses" json:"statuses,omitempty"` // contains filtered or unexported fields }
Describes an HTTP health check. Sends a GET request to scheme://<host>:port/path. Note that <host> is not configurable and is resolved automatically, in most cases to 127.0.0.1. Default executors treat return codes between 200 and 399 as success; custom executors may employ a different strategy, e.g. leveraging the `statuses` field.
func (*HealthCheck_HTTPCheckInfo) Descriptor
deprecated
func (*HealthCheck_HTTPCheckInfo) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheck_HTTPCheckInfo.ProtoReflect.Descriptor instead.
func (*HealthCheck_HTTPCheckInfo) GetPath ¶
func (x *HealthCheck_HTTPCheckInfo) GetPath() string
func (*HealthCheck_HTTPCheckInfo) GetPort ¶
func (x *HealthCheck_HTTPCheckInfo) GetPort() uint32
func (*HealthCheck_HTTPCheckInfo) GetProtocol ¶
func (x *HealthCheck_HTTPCheckInfo) GetProtocol() NetworkInfo_Protocol
func (*HealthCheck_HTTPCheckInfo) GetScheme ¶
func (x *HealthCheck_HTTPCheckInfo) GetScheme() string
func (*HealthCheck_HTTPCheckInfo) GetStatuses ¶
func (x *HealthCheck_HTTPCheckInfo) GetStatuses() []uint32
func (*HealthCheck_HTTPCheckInfo) ProtoMessage ¶
func (*HealthCheck_HTTPCheckInfo) ProtoMessage()
func (*HealthCheck_HTTPCheckInfo) ProtoReflect ¶ added in v1.1.0
func (x *HealthCheck_HTTPCheckInfo) ProtoReflect() protoreflect.Message
func (*HealthCheck_HTTPCheckInfo) Reset ¶
func (x *HealthCheck_HTTPCheckInfo) Reset()
func (*HealthCheck_HTTPCheckInfo) String ¶
func (x *HealthCheck_HTTPCheckInfo) String() string
type HealthCheck_TCPCheckInfo ¶
type HealthCheck_TCPCheckInfo struct { Protocol *NetworkInfo_Protocol `protobuf:"varint,2,opt,name=protocol,enum=mesos.v1.NetworkInfo_Protocol,def=1" json:"protocol,omitempty"` // Port expected to be open. Port *uint32 `protobuf:"varint,1,req,name=port" json:"port,omitempty"` // contains filtered or unexported fields }
Describes a TCP health check, i.e. based on establishing a TCP connection to the specified port.
func (*HealthCheck_TCPCheckInfo) Descriptor
deprecated
func (*HealthCheck_TCPCheckInfo) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheck_TCPCheckInfo.ProtoReflect.Descriptor instead.
func (*HealthCheck_TCPCheckInfo) GetPort ¶
func (x *HealthCheck_TCPCheckInfo) GetPort() uint32
func (*HealthCheck_TCPCheckInfo) GetProtocol ¶
func (x *HealthCheck_TCPCheckInfo) GetProtocol() NetworkInfo_Protocol
func (*HealthCheck_TCPCheckInfo) ProtoMessage ¶
func (*HealthCheck_TCPCheckInfo) ProtoMessage()
func (*HealthCheck_TCPCheckInfo) ProtoReflect ¶ added in v1.1.0
func (x *HealthCheck_TCPCheckInfo) ProtoReflect() protoreflect.Message
func (*HealthCheck_TCPCheckInfo) Reset ¶
func (x *HealthCheck_TCPCheckInfo) Reset()
func (*HealthCheck_TCPCheckInfo) String ¶
func (x *HealthCheck_TCPCheckInfo) String() string
type HealthCheck_Type ¶
type HealthCheck_Type int32
const ( HealthCheck_UNKNOWN HealthCheck_Type = 0 HealthCheck_COMMAND HealthCheck_Type = 1 HealthCheck_HTTP HealthCheck_Type = 2 HealthCheck_TCP HealthCheck_Type = 3 )
func (HealthCheck_Type) Descriptor ¶ added in v1.1.0
func (HealthCheck_Type) Descriptor() protoreflect.EnumDescriptor
func (HealthCheck_Type) Enum ¶
func (x HealthCheck_Type) Enum() *HealthCheck_Type
func (HealthCheck_Type) EnumDescriptor
deprecated
func (HealthCheck_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthCheck_Type.Descriptor instead.
func (HealthCheck_Type) Number ¶ added in v1.1.0
func (x HealthCheck_Type) Number() protoreflect.EnumNumber
func (HealthCheck_Type) String ¶
func (x HealthCheck_Type) String() string
func (HealthCheck_Type) Type ¶ added in v1.1.0
func (HealthCheck_Type) Type() protoreflect.EnumType
func (*HealthCheck_Type) UnmarshalJSON
deprecated
func (x *HealthCheck_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type IcmpStatistics ¶
type IcmpStatistics struct { InMsgs *int64 `protobuf:"varint,1,opt,name=InMsgs" json:"InMsgs,omitempty"` InErrors *int64 `protobuf:"varint,2,opt,name=InErrors" json:"InErrors,omitempty"` InCsumErrors *int64 `protobuf:"varint,3,opt,name=InCsumErrors" json:"InCsumErrors,omitempty"` InDestUnreachs *int64 `protobuf:"varint,4,opt,name=InDestUnreachs" json:"InDestUnreachs,omitempty"` InTimeExcds *int64 `protobuf:"varint,5,opt,name=InTimeExcds" json:"InTimeExcds,omitempty"` InParmProbs *int64 `protobuf:"varint,6,opt,name=InParmProbs" json:"InParmProbs,omitempty"` InSrcQuenchs *int64 `protobuf:"varint,7,opt,name=InSrcQuenchs" json:"InSrcQuenchs,omitempty"` InRedirects *int64 `protobuf:"varint,8,opt,name=InRedirects" json:"InRedirects,omitempty"` InEchos *int64 `protobuf:"varint,9,opt,name=InEchos" json:"InEchos,omitempty"` InEchoReps *int64 `protobuf:"varint,10,opt,name=InEchoReps" json:"InEchoReps,omitempty"` InTimestamps *int64 `protobuf:"varint,11,opt,name=InTimestamps" json:"InTimestamps,omitempty"` InTimestampReps *int64 `protobuf:"varint,12,opt,name=InTimestampReps" json:"InTimestampReps,omitempty"` InAddrMasks *int64 `protobuf:"varint,13,opt,name=InAddrMasks" json:"InAddrMasks,omitempty"` InAddrMaskReps *int64 `protobuf:"varint,14,opt,name=InAddrMaskReps" json:"InAddrMaskReps,omitempty"` OutMsgs *int64 `protobuf:"varint,15,opt,name=OutMsgs" json:"OutMsgs,omitempty"` OutErrors *int64 `protobuf:"varint,16,opt,name=OutErrors" json:"OutErrors,omitempty"` OutDestUnreachs *int64 `protobuf:"varint,17,opt,name=OutDestUnreachs" json:"OutDestUnreachs,omitempty"` OutTimeExcds *int64 `protobuf:"varint,18,opt,name=OutTimeExcds" json:"OutTimeExcds,omitempty"` OutParmProbs *int64 `protobuf:"varint,19,opt,name=OutParmProbs" json:"OutParmProbs,omitempty"` OutSrcQuenchs *int64 `protobuf:"varint,20,opt,name=OutSrcQuenchs" json:"OutSrcQuenchs,omitempty"` OutRedirects *int64 `protobuf:"varint,21,opt,name=OutRedirects" json:"OutRedirects,omitempty"` OutEchos *int64 `protobuf:"varint,22,opt,name=OutEchos" json:"OutEchos,omitempty"` OutEchoReps *int64 `protobuf:"varint,23,opt,name=OutEchoReps" json:"OutEchoReps,omitempty"` OutTimestamps *int64 `protobuf:"varint,24,opt,name=OutTimestamps" json:"OutTimestamps,omitempty"` OutTimestampReps *int64 `protobuf:"varint,25,opt,name=OutTimestampReps" json:"OutTimestampReps,omitempty"` OutAddrMasks *int64 `protobuf:"varint,26,opt,name=OutAddrMasks" json:"OutAddrMasks,omitempty"` OutAddrMaskReps *int64 `protobuf:"varint,27,opt,name=OutAddrMaskReps" json:"OutAddrMaskReps,omitempty"` // contains filtered or unexported fields }
func (*IcmpStatistics) Descriptor
deprecated
func (*IcmpStatistics) Descriptor() ([]byte, []int)
Deprecated: Use IcmpStatistics.ProtoReflect.Descriptor instead.
func (*IcmpStatistics) GetInAddrMaskReps ¶
func (x *IcmpStatistics) GetInAddrMaskReps() int64
func (*IcmpStatistics) GetInAddrMasks ¶
func (x *IcmpStatistics) GetInAddrMasks() int64
func (*IcmpStatistics) GetInCsumErrors ¶
func (x *IcmpStatistics) GetInCsumErrors() int64
func (*IcmpStatistics) GetInDestUnreachs ¶
func (x *IcmpStatistics) GetInDestUnreachs() int64
func (*IcmpStatistics) GetInEchoReps ¶
func (x *IcmpStatistics) GetInEchoReps() int64
func (*IcmpStatistics) GetInEchos ¶
func (x *IcmpStatistics) GetInEchos() int64
func (*IcmpStatistics) GetInErrors ¶
func (x *IcmpStatistics) GetInErrors() int64
func (*IcmpStatistics) GetInMsgs ¶
func (x *IcmpStatistics) GetInMsgs() int64
func (*IcmpStatistics) GetInParmProbs ¶
func (x *IcmpStatistics) GetInParmProbs() int64
func (*IcmpStatistics) GetInRedirects ¶
func (x *IcmpStatistics) GetInRedirects() int64
func (*IcmpStatistics) GetInSrcQuenchs ¶
func (x *IcmpStatistics) GetInSrcQuenchs() int64
func (*IcmpStatistics) GetInTimeExcds ¶
func (x *IcmpStatistics) GetInTimeExcds() int64
func (*IcmpStatistics) GetInTimestampReps ¶
func (x *IcmpStatistics) GetInTimestampReps() int64
func (*IcmpStatistics) GetInTimestamps ¶
func (x *IcmpStatistics) GetInTimestamps() int64
func (*IcmpStatistics) GetOutAddrMaskReps ¶
func (x *IcmpStatistics) GetOutAddrMaskReps() int64
func (*IcmpStatistics) GetOutAddrMasks ¶
func (x *IcmpStatistics) GetOutAddrMasks() int64
func (*IcmpStatistics) GetOutDestUnreachs ¶
func (x *IcmpStatistics) GetOutDestUnreachs() int64
func (*IcmpStatistics) GetOutEchoReps ¶
func (x *IcmpStatistics) GetOutEchoReps() int64
func (*IcmpStatistics) GetOutEchos ¶
func (x *IcmpStatistics) GetOutEchos() int64
func (*IcmpStatistics) GetOutErrors ¶
func (x *IcmpStatistics) GetOutErrors() int64
func (*IcmpStatistics) GetOutMsgs ¶
func (x *IcmpStatistics) GetOutMsgs() int64
func (*IcmpStatistics) GetOutParmProbs ¶
func (x *IcmpStatistics) GetOutParmProbs() int64
func (*IcmpStatistics) GetOutRedirects ¶
func (x *IcmpStatistics) GetOutRedirects() int64
func (*IcmpStatistics) GetOutSrcQuenchs ¶
func (x *IcmpStatistics) GetOutSrcQuenchs() int64
func (*IcmpStatistics) GetOutTimeExcds ¶
func (x *IcmpStatistics) GetOutTimeExcds() int64
func (*IcmpStatistics) GetOutTimestampReps ¶
func (x *IcmpStatistics) GetOutTimestampReps() int64
func (*IcmpStatistics) GetOutTimestamps ¶
func (x *IcmpStatistics) GetOutTimestamps() int64
func (*IcmpStatistics) ProtoMessage ¶
func (*IcmpStatistics) ProtoMessage()
func (*IcmpStatistics) ProtoReflect ¶ added in v1.1.0
func (x *IcmpStatistics) ProtoReflect() protoreflect.Message
func (*IcmpStatistics) Reset ¶
func (x *IcmpStatistics) Reset()
func (*IcmpStatistics) String ¶
func (x *IcmpStatistics) String() string
type Image ¶
type Image struct { Type *Image_Type `protobuf:"varint,1,req,name=type,enum=mesos.v1.Image_Type" json:"type,omitempty"` // Only one of the following image messages should be set to match // the type. Appc *Image_Appc `protobuf:"bytes,2,opt,name=appc" json:"appc,omitempty"` Docker *Image_Docker `protobuf:"bytes,3,opt,name=docker" json:"docker,omitempty"` // With this flag set to false, the mesos containerizer will pull // the docker/appc image from the registry even if the image is // already downloaded on the agent. Cached *bool `protobuf:"varint,4,opt,name=cached,def=1" json:"cached,omitempty"` // contains filtered or unexported fields }
* Describe an image used by tasks or executors. Note that it's only for tasks or executors launched by MesosContainerizer currently.
func (*Image) Descriptor
deprecated
func (*Image) GetAppc ¶
func (x *Image) GetAppc() *Image_Appc
func (*Image) GetDocker ¶
func (x *Image) GetDocker() *Image_Docker
func (*Image) GetType ¶
func (x *Image) GetType() Image_Type
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶ added in v1.1.0
func (x *Image) ProtoReflect() protoreflect.Message
type Image_Appc ¶
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"` // contains filtered or unexported fields }
Protobuf for specifying an Appc container image. See: https://github.com/appc/spec/blob/master/spec/aci.md
func (*Image_Appc) Descriptor
deprecated
func (*Image_Appc) Descriptor() ([]byte, []int)
Deprecated: Use Image_Appc.ProtoReflect.Descriptor instead.
func (*Image_Appc) GetId ¶ added in v1.1.0
func (x *Image_Appc) GetId() string
func (*Image_Appc) GetLabels ¶
func (x *Image_Appc) GetLabels() *Labels
func (*Image_Appc) GetName ¶
func (x *Image_Appc) GetName() string
func (*Image_Appc) ProtoMessage ¶
func (*Image_Appc) ProtoMessage()
func (*Image_Appc) ProtoReflect ¶ added in v1.1.0
func (x *Image_Appc) ProtoReflect() protoreflect.Message
func (*Image_Appc) Reset ¶
func (x *Image_Appc) Reset()
func (*Image_Appc) String ¶
func (x *Image_Appc) String() string
type Image_Docker ¶
type Image_Docker struct { // The name of the image. Expected format: // // [REGISTRY_HOST[:REGISTRY_PORT]/]REPOSITORY[:TAG|@TYPE:DIGEST] // // See: https://docs.docker.com/reference/commandline/pull/ Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` // Credential to authenticate with docker registry. // NOTE: This is not encrypted, therefore framework and operators // should enable SSL when passing this information. // // This field has never been used in Mesos before and is // deprecated since Mesos 1.3. Please use `config` below // (see MESOS-7088 for details). // // Deprecated: Marked as deprecated in mesos.proto. Credential *Credential `protobuf:"bytes,2,opt,name=credential" json:"credential,omitempty"` // Since 1.3. // Docker config containing credentials to authenticate with // docker registry. The secret is expected to be a docker // config file in JSON format with UTF-8 character encoding. Config *Secret `protobuf:"bytes,3,opt,name=config" json:"config,omitempty"` // contains filtered or unexported fields }
func (*Image_Docker) Descriptor
deprecated
func (*Image_Docker) Descriptor() ([]byte, []int)
Deprecated: Use Image_Docker.ProtoReflect.Descriptor instead.
func (*Image_Docker) GetConfig ¶
func (x *Image_Docker) GetConfig() *Secret
func (*Image_Docker) GetCredential
deprecated
func (x *Image_Docker) GetCredential() *Credential
Deprecated: Marked as deprecated in mesos.proto.
func (*Image_Docker) GetName ¶
func (x *Image_Docker) GetName() string
func (*Image_Docker) ProtoMessage ¶
func (*Image_Docker) ProtoMessage()
func (*Image_Docker) ProtoReflect ¶ added in v1.1.0
func (x *Image_Docker) ProtoReflect() protoreflect.Message
func (*Image_Docker) Reset ¶
func (x *Image_Docker) Reset()
func (*Image_Docker) String ¶
func (x *Image_Docker) String() string
type Image_Type ¶
type Image_Type int32
const ( Image_APPC Image_Type = 1 Image_DOCKER Image_Type = 2 )
func (Image_Type) Descriptor ¶ added in v1.1.0
func (Image_Type) Descriptor() protoreflect.EnumDescriptor
func (Image_Type) Enum ¶
func (x Image_Type) Enum() *Image_Type
func (Image_Type) EnumDescriptor
deprecated
func (Image_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Image_Type.Descriptor instead.
func (Image_Type) Number ¶ added in v1.1.0
func (x Image_Type) Number() protoreflect.EnumNumber
func (Image_Type) String ¶
func (x Image_Type) String() string
func (Image_Type) Type ¶ added in v1.1.0
func (Image_Type) Type() protoreflect.EnumType
func (*Image_Type) UnmarshalJSON
deprecated
func (x *Image_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type InverseOffer ¶
type InverseOffer struct { // This is the same OfferID as found in normal offers, which allows // re-use of some of the OfferID-only messages. Id *OfferID `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` // URL for reaching the agent running on the host. This enables some // optimizations as described in MESOS-3012, such as allowing the // scheduler driver to bypass the master and talk directly with an agent. Url *URL `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` // The framework that should release its resources. // If no specifics are provided (i.e. which agent), all the framework's // resources are requested back. FrameworkId *FrameworkID `protobuf:"bytes,3,req,name=framework_id,json=frameworkId" json:"framework_id,omitempty"` // Specified if the resources need to be released from a particular agent. // All the framework's resources on this agent are requested back, // unless further qualified by the `resources` field. AgentId *AgentID `protobuf:"bytes,4,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"` // specified interval. Any tasks running on the given framework or agent // may be killed when the interval arrives. Therefore, frameworks should // aim to gracefully terminate tasks prior to the arrival of the interval. // // For reserved resources, the resources are expected to be returned to the // framework after the unavailability interval. This is an expectation, // not a guarantee. For example, if the unavailability duration is not set, // the resources may be removed permanently. // // For other resources, there is no guarantee that requested resources will // be returned after the unavailability interval. The allocator has no // obligation to re-offer these resources to the prior framework after // the unavailability. Unavailability *Unavailability `protobuf:"bytes,5,req,name=unavailability" json:"unavailability,omitempty"` // A list of resources being requested back from the framework, // on the agent identified by `agent_id`. If no resources are specified // then all resources are being requested back. For the purpose of // maintenance, this field is always empty (maintenance always requests // all resources back). Resources []*Resource `protobuf:"bytes,6,rep,name=resources" json:"resources,omitempty"` // contains filtered or unexported fields }
* A request to return some resources occupied by a framework.
func (*InverseOffer) Descriptor
deprecated
func (*InverseOffer) Descriptor() ([]byte, []int)
Deprecated: Use InverseOffer.ProtoReflect.Descriptor instead.
func (*InverseOffer) GetAgentId ¶ added in v1.1.0
func (x *InverseOffer) GetAgentId() *AgentID
func (*InverseOffer) GetFrameworkId ¶ added in v1.1.0
func (x *InverseOffer) GetFrameworkId() *FrameworkID
func (*InverseOffer) GetId ¶ added in v1.1.0
func (x *InverseOffer) GetId() *OfferID
func (*InverseOffer) GetResources ¶
func (x *InverseOffer) GetResources() []*Resource
func (*InverseOffer) GetUnavailability ¶
func (x *InverseOffer) GetUnavailability() *Unavailability
func (*InverseOffer) GetUrl ¶ added in v1.1.0
func (x *InverseOffer) GetUrl() *URL
func (*InverseOffer) ProtoMessage ¶
func (*InverseOffer) ProtoMessage()
func (*InverseOffer) ProtoReflect ¶ added in v1.1.0
func (x *InverseOffer) ProtoReflect() protoreflect.Message
func (*InverseOffer) Reset ¶
func (x *InverseOffer) Reset()
func (*InverseOffer) String ¶
func (x *InverseOffer) String() string
type IpStatistics ¶
type IpStatistics struct { Forwarding *int64 `protobuf:"varint,1,opt,name=Forwarding" json:"Forwarding,omitempty"` DefaultTTL *int64 `protobuf:"varint,2,opt,name=DefaultTTL" json:"DefaultTTL,omitempty"` InReceives *int64 `protobuf:"varint,3,opt,name=InReceives" json:"InReceives,omitempty"` InHdrErrors *int64 `protobuf:"varint,4,opt,name=InHdrErrors" json:"InHdrErrors,omitempty"` InAddrErrors *int64 `protobuf:"varint,5,opt,name=InAddrErrors" json:"InAddrErrors,omitempty"` ForwDatagrams *int64 `protobuf:"varint,6,opt,name=ForwDatagrams" json:"ForwDatagrams,omitempty"` InUnknownProtos *int64 `protobuf:"varint,7,opt,name=InUnknownProtos" json:"InUnknownProtos,omitempty"` InDiscards *int64 `protobuf:"varint,8,opt,name=InDiscards" json:"InDiscards,omitempty"` InDelivers *int64 `protobuf:"varint,9,opt,name=InDelivers" json:"InDelivers,omitempty"` OutRequests *int64 `protobuf:"varint,10,opt,name=OutRequests" json:"OutRequests,omitempty"` OutDiscards *int64 `protobuf:"varint,11,opt,name=OutDiscards" json:"OutDiscards,omitempty"` OutNoRoutes *int64 `protobuf:"varint,12,opt,name=OutNoRoutes" json:"OutNoRoutes,omitempty"` ReasmTimeout *int64 `protobuf:"varint,13,opt,name=ReasmTimeout" json:"ReasmTimeout,omitempty"` ReasmReqds *int64 `protobuf:"varint,14,opt,name=ReasmReqds" json:"ReasmReqds,omitempty"` ReasmOKs *int64 `protobuf:"varint,15,opt,name=ReasmOKs" json:"ReasmOKs,omitempty"` ReasmFails *int64 `protobuf:"varint,16,opt,name=ReasmFails" json:"ReasmFails,omitempty"` FragOKs *int64 `protobuf:"varint,17,opt,name=FragOKs" json:"FragOKs,omitempty"` FragFails *int64 `protobuf:"varint,18,opt,name=FragFails" json:"FragFails,omitempty"` FragCreates *int64 `protobuf:"varint,19,opt,name=FragCreates" json:"FragCreates,omitempty"` // contains filtered or unexported fields }
func (*IpStatistics) Descriptor
deprecated
func (*IpStatistics) Descriptor() ([]byte, []int)
Deprecated: Use IpStatistics.ProtoReflect.Descriptor instead.
func (*IpStatistics) GetDefaultTTL ¶
func (x *IpStatistics) GetDefaultTTL() int64
func (*IpStatistics) GetForwDatagrams ¶
func (x *IpStatistics) GetForwDatagrams() int64
func (*IpStatistics) GetForwarding ¶
func (x *IpStatistics) GetForwarding() int64
func (*IpStatistics) GetFragCreates ¶
func (x *IpStatistics) GetFragCreates() int64
func (*IpStatistics) GetFragFails ¶
func (x *IpStatistics) GetFragFails() int64
func (*IpStatistics) GetFragOKs ¶
func (x *IpStatistics) GetFragOKs() int64
func (*IpStatistics) GetInAddrErrors ¶
func (x *IpStatistics) GetInAddrErrors() int64
func (*IpStatistics) GetInDelivers ¶
func (x *IpStatistics) GetInDelivers() int64
func (*IpStatistics) GetInDiscards ¶
func (x *IpStatistics) GetInDiscards() int64
func (*IpStatistics) GetInHdrErrors ¶
func (x *IpStatistics) GetInHdrErrors() int64
func (*IpStatistics) GetInReceives ¶
func (x *IpStatistics) GetInReceives() int64
func (*IpStatistics) GetInUnknownProtos ¶
func (x *IpStatistics) GetInUnknownProtos() int64
func (*IpStatistics) GetOutDiscards ¶
func (x *IpStatistics) GetOutDiscards() int64
func (*IpStatistics) GetOutNoRoutes ¶
func (x *IpStatistics) GetOutNoRoutes() int64
func (*IpStatistics) GetOutRequests ¶
func (x *IpStatistics) GetOutRequests() int64
func (*IpStatistics) GetReasmFails ¶
func (x *IpStatistics) GetReasmFails() int64
func (*IpStatistics) GetReasmOKs ¶
func (x *IpStatistics) GetReasmOKs() int64
func (*IpStatistics) GetReasmReqds ¶
func (x *IpStatistics) GetReasmReqds() int64
func (*IpStatistics) GetReasmTimeout ¶
func (x *IpStatistics) GetReasmTimeout() int64
func (*IpStatistics) ProtoMessage ¶
func (*IpStatistics) ProtoMessage()
func (*IpStatistics) ProtoReflect ¶ added in v1.1.0
func (x *IpStatistics) ProtoReflect() protoreflect.Message
func (*IpStatistics) Reset ¶
func (x *IpStatistics) Reset()
func (*IpStatistics) String ¶
func (x *IpStatistics) String() string
type KillPolicy ¶
type KillPolicy struct { // The grace period specifies how long to wait before forcibly // killing the task. It is recommended to attempt to gracefully // kill the task (and send TASK_KILLING) to indicate that the // graceful kill is in progress. Once the grace period elapses, // if the task has not terminated, a forcible kill should occur. // The task should not assume that it will always be allotted // the full grace period. For example, the executor may be // shutdown more quickly by the agent, or failures / forcible // terminations may occur. GracePeriod *DurationInfo `protobuf:"bytes,1,opt,name=grace_period,json=gracePeriod" json:"grace_period,omitempty"` // contains filtered or unexported fields }
* Describes a kill policy for a task. Currently does not express different policies (e.g. hitting HTTP endpoints), only controls how long to wait between graceful and forcible task kill:
graceful kill --------------> forcible kill grace_period
Kill policies are best-effort, because machine failures / forcible terminations may occur.
NOTE: For executor-less command-based tasks, the kill is performed via sending a signal to the task process: SIGTERM for the graceful kill and SIGKILL for the forcible kill. For the docker executor-less tasks the grace period is passed to 'docker stop --time'.
func (*KillPolicy) Descriptor
deprecated
func (*KillPolicy) Descriptor() ([]byte, []int)
Deprecated: Use KillPolicy.ProtoReflect.Descriptor instead.
func (*KillPolicy) GetGracePeriod ¶
func (x *KillPolicy) GetGracePeriod() *DurationInfo
func (*KillPolicy) ProtoMessage ¶
func (*KillPolicy) ProtoMessage()
func (*KillPolicy) ProtoReflect ¶ added in v1.1.0
func (x *KillPolicy) ProtoReflect() protoreflect.Message
func (*KillPolicy) Reset ¶
func (x *KillPolicy) Reset()
func (*KillPolicy) String ¶
func (x *KillPolicy) String() string
type Label ¶
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"` // contains filtered or unexported fields }
* Key, value pair used to store free form user-data.
func (*Label) Descriptor
deprecated
func (*Label) ProtoMessage ¶
func (*Label) ProtoMessage()
func (*Label) ProtoReflect ¶ added in v1.1.0
func (x *Label) ProtoReflect() protoreflect.Message
type Labels ¶
type Labels struct { Labels []*Label `protobuf:"bytes,1,rep,name=labels" json:"labels,omitempty"` // contains filtered or unexported fields }
* Collection of labels. Labels should not contain duplicate key-value pairs.
func (*Labels) Descriptor
deprecated
func (*Labels) ProtoMessage ¶
func (*Labels) ProtoMessage()
func (*Labels) ProtoReflect ¶ added in v1.1.0
func (x *Labels) ProtoReflect() protoreflect.Message
type LinuxInfo ¶
type LinuxInfo struct { // Since 1.4.0, deprecated in favor of `effective_capabilities`. // // Deprecated: Marked as deprecated in mesos.proto. CapabilityInfo *CapabilityInfo `protobuf:"bytes,1,opt,name=capability_info,json=capabilityInfo" json:"capability_info,omitempty"` // The set of capabilities that are allowed but not initially // granted to tasks. BoundingCapabilities *CapabilityInfo `protobuf:"bytes,2,opt,name=bounding_capabilities,json=boundingCapabilities" json:"bounding_capabilities,omitempty"` // Represents the set of capabilities that the task will // be executed with. EffectiveCapabilities *CapabilityInfo `protobuf:"bytes,3,opt,name=effective_capabilities,json=effectiveCapabilities" json:"effective_capabilities,omitempty"` // its parent. If the container is a top level container, it will // share the pid namespace with the agent. If the container is a // nested container, it will share the pid namespace with its // parent container. This field will be ignored if 'namespaces/pid' // isolator is not enabled. SharePidNamespace *bool `protobuf:"varint,4,opt,name=share_pid_namespace,json=sharePidNamespace" json:"share_pid_namespace,omitempty"` // Represents Seccomp configuration, which is used for syscall filtering. // This field is used to override the agent's default Seccomp configuration. Seccomp *SeccompInfo `protobuf:"bytes,5,opt,name=seccomp" json:"seccomp,omitempty"` // There are two special cases that we need to handle for this field: // 1. This field is not set: For backward compatibility we will keep the // previous behavior: Top level container will have its own IPC namespace // and nested container will share the IPC namespace from its parent // container. If the container does not have its own rootfs, it will share // agent's /dev/shm, otherwise it will have its own /dev/shm. // 2. The `namespaces/ipc` isolator is not enabled: This field will be ignored // in this case. For backward compatibility, in the `filesystem/linux` // isolator we will keep the previous behavior: Any containers will share // IPC namespace from agent, and if the container does not have its own // rootfs, it will also share agent's /dev/shm, otherwise it will have its // own /dev/shm. // // TODO(qianzhang): Remove the support for the above two cases after the // deprecation cycle (started in 1.9). Eventually we want a single isolator // (`namespaces/ipc`) to handle both IPC namespace and /dev/shm, and decouple // /dev/shm from container's rootfs (i.e., whether a container will have its // own /dev/shm depends on its `ipc_mode` instead of whether the container // has its own rootfs). IpcMode *LinuxInfo_IpcMode `protobuf:"varint,6,opt,name=ipc_mode,json=ipcMode,enum=mesos.v1.LinuxInfo_IpcMode" json:"ipc_mode,omitempty"` // Size of /dev/shm in MB. If not set, the size of the /dev/shm for container // will be value of the `--default_container_shm_size` agent flag, if that // flag is not set too, the size of the /dev/shm will be half of the host RAM // which is the default behavior of Linux. This field will be ignored for the // container which shares /dev/shm from its parent and it will be also ignored // for any containers if the `namespaces/ipc` isolator is not enabled. Please // note that we only support setting this field when the `ipc_mode` field is // set to `PRIVATE` otherwise the container launch will be rejected. ShmSize *uint32 `protobuf:"varint,7,opt,name=shm_size,json=shmSize" json:"shm_size,omitempty"` // container, otherwise it will have its own cgroups created. Please note: // 1. For tasks in a task group launched via the LAUNCH_GROUP operation, // this field may be set to 'true' or 'false'. Resource limits may only be // set for tasks in a task group when this field is set to 'false'. // 2. For tasks launched via the LAUNCH operation, this field may only be set // to 'true', and in this case resource limits may be set on these tasks. // 3. For containers launched via the agent's LAUNCH_NESTED_CONTAINER_SESSION // call, this field must be set to 'true'. // 4. For executor containers, this field may only be set to 'false'. // 5. All tasks under a single executor must share the same value of this // field, if it is set. Note that this means that all tasks within a single // task group must set this field to the same value. ShareCgroups *bool `protobuf:"varint,8,opt,name=share_cgroups,json=shareCgroups,def=1" json:"share_cgroups,omitempty"` // contains filtered or unexported fields }
* Encapsulation for Linux specific configuration. E.g, capabilities, limits etc.
func (*LinuxInfo) Descriptor
deprecated
func (*LinuxInfo) GetBoundingCapabilities ¶
func (x *LinuxInfo) GetBoundingCapabilities() *CapabilityInfo
func (*LinuxInfo) GetCapabilityInfo
deprecated
func (x *LinuxInfo) GetCapabilityInfo() *CapabilityInfo
Deprecated: Marked as deprecated in mesos.proto.
func (*LinuxInfo) GetEffectiveCapabilities ¶
func (x *LinuxInfo) GetEffectiveCapabilities() *CapabilityInfo
func (*LinuxInfo) GetIpcMode ¶ added in v1.1.0
func (x *LinuxInfo) GetIpcMode() LinuxInfo_IpcMode
func (*LinuxInfo) GetSeccomp ¶
func (x *LinuxInfo) GetSeccomp() *SeccompInfo
func (*LinuxInfo) GetShareCgroups ¶
func (*LinuxInfo) GetSharePidNamespace ¶ added in v1.1.0
func (*LinuxInfo) GetShmSize ¶ added in v1.1.0
func (*LinuxInfo) ProtoMessage ¶
func (*LinuxInfo) ProtoMessage()
func (*LinuxInfo) ProtoReflect ¶ added in v1.1.0
func (x *LinuxInfo) ProtoReflect() protoreflect.Message
type LinuxInfo_IpcMode ¶
type LinuxInfo_IpcMode int32
const ( LinuxInfo_UNKNOWN LinuxInfo_IpcMode = 0 // The container will have its own IPC namespace and /dev/shm, with a // possibility to share them with its child containers. LinuxInfo_PRIVATE LinuxInfo_IpcMode = 1 // The container will share the IPC namespace and /dev/shm from its // parent. If the container is a top level container, it will share // the IPC namespace and /dev/shm from the agent host, if the container // is a nested container, it will share the IPC namespace and /dev/shm // from its parent container. The implication is if a nested container // wants to share the IPC namespace and /dev/shm from the agent host, // its parent container has to do it first. LinuxInfo_SHARE_PARENT LinuxInfo_IpcMode = 2 )
func (LinuxInfo_IpcMode) Descriptor ¶ added in v1.1.0
func (LinuxInfo_IpcMode) Descriptor() protoreflect.EnumDescriptor
func (LinuxInfo_IpcMode) Enum ¶
func (x LinuxInfo_IpcMode) Enum() *LinuxInfo_IpcMode
func (LinuxInfo_IpcMode) EnumDescriptor
deprecated
func (LinuxInfo_IpcMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use LinuxInfo_IpcMode.Descriptor instead.
func (LinuxInfo_IpcMode) Number ¶ added in v1.1.0
func (x LinuxInfo_IpcMode) Number() protoreflect.EnumNumber
func (LinuxInfo_IpcMode) String ¶
func (x LinuxInfo_IpcMode) String() string
func (LinuxInfo_IpcMode) Type ¶ added in v1.1.0
func (LinuxInfo_IpcMode) Type() protoreflect.EnumType
func (*LinuxInfo_IpcMode) UnmarshalJSON
deprecated
func (x *LinuxInfo_IpcMode) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type MachineID ¶
type MachineID struct { Hostname *string `protobuf:"bytes,1,opt,name=hostname" json:"hostname,omitempty"` Ip *string `protobuf:"bytes,2,opt,name=ip" json:"ip,omitempty"` // contains filtered or unexported fields }
* Represents a single machine, which may hold one or more agents.
NOTE: In order to match an agent to a machine, both the `hostname` and `ip` must match the values advertised by the agent to the master. Hostname is not case-sensitive.
func (*MachineID) Descriptor
deprecated
func (*MachineID) GetHostname ¶
func (*MachineID) ProtoMessage ¶
func (*MachineID) ProtoMessage()
func (*MachineID) ProtoReflect ¶ added in v1.1.0
func (x *MachineID) ProtoReflect() protoreflect.Message
type MachineInfo ¶
type MachineInfo struct { Id *MachineID `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` Mode *MachineInfo_Mode `protobuf:"varint,2,opt,name=mode,enum=mesos.v1.MachineInfo_Mode" json:"mode,omitempty"` // See comments in `Unavailability` and for the `unavailability` fields // in `Offer` and `InverseOffer` for more information. Unavailability *Unavailability `protobuf:"bytes,3,opt,name=unavailability" json:"unavailability,omitempty"` // contains filtered or unexported fields }
* Holds information about a single machine, its `mode`, and any other relevant information which may affect the behavior of the machine.
func (*MachineInfo) Descriptor
deprecated
func (*MachineInfo) Descriptor() ([]byte, []int)
Deprecated: Use MachineInfo.ProtoReflect.Descriptor instead.
func (*MachineInfo) GetId ¶ added in v1.1.0
func (x *MachineInfo) GetId() *MachineID
func (*MachineInfo) GetMode ¶
func (x *MachineInfo) GetMode() MachineInfo_Mode
func (*MachineInfo) GetUnavailability ¶
func (x *MachineInfo) GetUnavailability() *Unavailability
func (*MachineInfo) ProtoMessage ¶
func (*MachineInfo) ProtoMessage()
func (*MachineInfo) ProtoReflect ¶ added in v1.1.0
func (x *MachineInfo) ProtoReflect() protoreflect.Message
func (*MachineInfo) Reset ¶
func (x *MachineInfo) Reset()
func (*MachineInfo) String ¶
func (x *MachineInfo) String() string
type MachineInfo_Mode ¶
type MachineInfo_Mode int32
Describes the several states that a machine can be in. A `Mode` applies to a machine and to all associated agents on the machine.
const ( // In this mode, a machine is behaving normally; // offering resources, executing tasks, etc. MachineInfo_UP MachineInfo_Mode = 1 // In this mode, all agents on the machine are expected to cooperate with // frameworks to drain resources. In general, draining is done ahead of // a pending `unavailability`. The resources should be drained so as to // maximize utilization prior to the maintenance but without knowingly // violating the frameworks' requirements. MachineInfo_DRAINING MachineInfo_Mode = 2 // In this mode, a machine is not running any tasks and will not offer // any of its resources. Agents on the machine will not be allowed to // register with the master. MachineInfo_DOWN MachineInfo_Mode = 3 )
func (MachineInfo_Mode) Descriptor ¶ added in v1.1.0
func (MachineInfo_Mode) Descriptor() protoreflect.EnumDescriptor
func (MachineInfo_Mode) Enum ¶
func (x MachineInfo_Mode) Enum() *MachineInfo_Mode
func (MachineInfo_Mode) EnumDescriptor
deprecated
func (MachineInfo_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use MachineInfo_Mode.Descriptor instead.
func (MachineInfo_Mode) Number ¶ added in v1.1.0
func (x MachineInfo_Mode) Number() protoreflect.EnumNumber
func (MachineInfo_Mode) String ¶
func (x MachineInfo_Mode) String() string
func (MachineInfo_Mode) Type ¶ added in v1.1.0
func (MachineInfo_Mode) Type() protoreflect.EnumType
func (*MachineInfo_Mode) UnmarshalJSON
deprecated
func (x *MachineInfo_Mode) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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"` // The domain that this master belongs to. All masters in a Mesos // cluster should belong to the same region. Domain *DomainInfo `protobuf:"bytes,8,opt,name=domain" json:"domain,omitempty"` Capabilities []*MasterInfo_Capability `protobuf:"bytes,9,rep,name=capabilities" json:"capabilities,omitempty"` // contains filtered or unexported fields }
* 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 (*MasterInfo) Descriptor
deprecated
func (*MasterInfo) Descriptor() ([]byte, []int)
Deprecated: Use MasterInfo.ProtoReflect.Descriptor instead.
func (*MasterInfo) GetAddress ¶
func (x *MasterInfo) GetAddress() *Address
func (*MasterInfo) GetCapabilities ¶
func (x *MasterInfo) GetCapabilities() []*MasterInfo_Capability
func (*MasterInfo) GetDomain ¶
func (x *MasterInfo) GetDomain() *DomainInfo
func (*MasterInfo) GetHostname ¶
func (x *MasterInfo) GetHostname() string
func (*MasterInfo) GetId ¶ added in v1.1.0
func (x *MasterInfo) GetId() string
func (*MasterInfo) GetIp ¶ added in v1.1.0
func (x *MasterInfo) GetIp() uint32
func (*MasterInfo) GetPid ¶ added in v1.1.0
func (x *MasterInfo) GetPid() string
func (*MasterInfo) GetPort ¶
func (x *MasterInfo) GetPort() uint32
func (*MasterInfo) GetVersion ¶
func (x *MasterInfo) GetVersion() string
func (*MasterInfo) ProtoMessage ¶
func (*MasterInfo) ProtoMessage()
func (*MasterInfo) ProtoReflect ¶ added in v1.1.0
func (x *MasterInfo) ProtoReflect() protoreflect.Message
func (*MasterInfo) Reset ¶
func (x *MasterInfo) Reset()
func (*MasterInfo) String ¶
func (x *MasterInfo) String() string
type MasterInfo_Capability ¶
type MasterInfo_Capability struct { Type *MasterInfo_Capability_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.MasterInfo_Capability_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*MasterInfo_Capability) Descriptor
deprecated
func (*MasterInfo_Capability) Descriptor() ([]byte, []int)
Deprecated: Use MasterInfo_Capability.ProtoReflect.Descriptor instead.
func (*MasterInfo_Capability) GetType ¶
func (x *MasterInfo_Capability) GetType() MasterInfo_Capability_Type
func (*MasterInfo_Capability) ProtoMessage ¶
func (*MasterInfo_Capability) ProtoMessage()
func (*MasterInfo_Capability) ProtoReflect ¶ added in v1.1.0
func (x *MasterInfo_Capability) ProtoReflect() protoreflect.Message
func (*MasterInfo_Capability) Reset ¶
func (x *MasterInfo_Capability) Reset()
func (*MasterInfo_Capability) String ¶
func (x *MasterInfo_Capability) String() string
type MasterInfo_Capability_Type ¶
type MasterInfo_Capability_Type int32
const ( MasterInfo_Capability_UNKNOWN MasterInfo_Capability_Type = 0 // The master can handle slaves whose state // changes after reregistering. MasterInfo_Capability_AGENT_UPDATE MasterInfo_Capability_Type = 1 // The master can drain or deactivate agents when requested // via operator APIs. MasterInfo_Capability_AGENT_DRAINING MasterInfo_Capability_Type = 2 // The master can handle the new quota API, which supports setting // limits separately from guarantees (introduced in Mesos 1.9). MasterInfo_Capability_QUOTA_V2 MasterInfo_Capability_Type = 3 )
func (MasterInfo_Capability_Type) Descriptor ¶ added in v1.1.0
func (MasterInfo_Capability_Type) Descriptor() protoreflect.EnumDescriptor
func (MasterInfo_Capability_Type) Enum ¶
func (x MasterInfo_Capability_Type) Enum() *MasterInfo_Capability_Type
func (MasterInfo_Capability_Type) EnumDescriptor
deprecated
func (MasterInfo_Capability_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use MasterInfo_Capability_Type.Descriptor instead.
func (MasterInfo_Capability_Type) Number ¶ added in v1.1.0
func (x MasterInfo_Capability_Type) Number() protoreflect.EnumNumber
func (MasterInfo_Capability_Type) String ¶
func (x MasterInfo_Capability_Type) String() string
func (MasterInfo_Capability_Type) Type ¶ added in v1.1.0
func (MasterInfo_Capability_Type) Type() protoreflect.EnumType
func (*MasterInfo_Capability_Type) UnmarshalJSON
deprecated
func (x *MasterInfo_Capability_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Metric ¶
type Metric struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* Metric consists of a name and optionally its value.
func (*Metric) Descriptor
deprecated
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶ added in v1.1.0
func (x *Metric) ProtoReflect() protoreflect.Message
type MountPropagation ¶
type MountPropagation struct { Mode *MountPropagation_Mode `protobuf:"varint,1,opt,name=mode,enum=mesos.v1.MountPropagation_Mode" json:"mode,omitempty"` // contains filtered or unexported fields }
* Describes how the mount will be propagated for a volume. See the following doc for more details about mount propagation: https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt
func (*MountPropagation) Descriptor
deprecated
func (*MountPropagation) Descriptor() ([]byte, []int)
Deprecated: Use MountPropagation.ProtoReflect.Descriptor instead.
func (*MountPropagation) GetMode ¶
func (x *MountPropagation) GetMode() MountPropagation_Mode
func (*MountPropagation) ProtoMessage ¶
func (*MountPropagation) ProtoMessage()
func (*MountPropagation) ProtoReflect ¶ added in v1.1.0
func (x *MountPropagation) ProtoReflect() protoreflect.Message
func (*MountPropagation) Reset ¶
func (x *MountPropagation) Reset()
func (*MountPropagation) String ¶
func (x *MountPropagation) String() string
type MountPropagation_Mode ¶
type MountPropagation_Mode int32
const ( MountPropagation_UNKNOWN MountPropagation_Mode = 0 // The volume in a container will receive new mounts from the host // or other containers, but filesystems mounted inside the // container won't be propagated to the host or other containers. // This is currently the default behavior for all volumes. MountPropagation_HOST_TO_CONTAINER MountPropagation_Mode = 1 // The volume in a container will receive new mounts from the host // or other containers, and its own mounts will be propagated from // the container to the host or other containers. MountPropagation_BIDIRECTIONAL MountPropagation_Mode = 2 )
func (MountPropagation_Mode) Descriptor ¶ added in v1.1.0
func (MountPropagation_Mode) Descriptor() protoreflect.EnumDescriptor
func (MountPropagation_Mode) Enum ¶
func (x MountPropagation_Mode) Enum() *MountPropagation_Mode
func (MountPropagation_Mode) EnumDescriptor
deprecated
func (MountPropagation_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use MountPropagation_Mode.Descriptor instead.
func (MountPropagation_Mode) Number ¶ added in v1.1.0
func (x MountPropagation_Mode) Number() protoreflect.EnumNumber
func (MountPropagation_Mode) String ¶
func (x MountPropagation_Mode) String() string
func (MountPropagation_Mode) Type ¶ added in v1.1.0
func (MountPropagation_Mode) Type() protoreflect.EnumType
func (*MountPropagation_Mode) UnmarshalJSON
deprecated
func (x *MountPropagation_Mode) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type NetworkInfo ¶
type NetworkInfo struct { // When included in a ContainerInfo, each of these represent a // request for an IP address. Each request can specify an explicit address // or the IP protocol to use. // // When included in a TaskStatus message, these inform the framework // scheduler about the IP addresses that are bound to the container // interface. When there are no custom network isolator modules installed, // this field is filled in automatically with the Agent IP address. IpAddresses []*NetworkInfo_IPAddress `protobuf:"bytes,5,rep,name=ip_addresses,json=ipAddresses" json:"ip_addresses,omitempty"` // Name of the network which will be used by network isolator to determine // the network that the container joins. It's up to the network isolator // to decide how to interpret this field. Name *string `protobuf:"bytes,6,opt,name=name" json:"name,omitempty"` // A group is the name given to a set of logically-related interfaces that // are allowed to communicate among themselves. Network traffic is allowed // between two container interfaces that share at least one network group. // For example, one might want to create separate groups for isolating dev, // testing, qa and prod deployment environments. Groups []string `protobuf:"bytes,3,rep,name=groups" json:"groups,omitempty"` // To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc. Labels *Labels `protobuf:"bytes,4,opt,name=labels" json:"labels,omitempty"` PortMappings []*NetworkInfo_PortMapping `protobuf:"bytes,7,rep,name=port_mappings,json=portMappings" json:"port_mappings,omitempty"` // contains filtered or unexported fields }
* 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 (*NetworkInfo) Descriptor
deprecated
func (*NetworkInfo) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.
func (*NetworkInfo) GetGroups ¶
func (x *NetworkInfo) GetGroups() []string
func (*NetworkInfo) GetIpAddresses ¶ added in v1.1.0
func (x *NetworkInfo) GetIpAddresses() []*NetworkInfo_IPAddress
func (*NetworkInfo) GetLabels ¶
func (x *NetworkInfo) GetLabels() *Labels
func (*NetworkInfo) GetName ¶
func (x *NetworkInfo) GetName() string
func (*NetworkInfo) GetPortMappings ¶
func (x *NetworkInfo) GetPortMappings() []*NetworkInfo_PortMapping
func (*NetworkInfo) ProtoMessage ¶
func (*NetworkInfo) ProtoMessage()
func (*NetworkInfo) ProtoReflect ¶ added in v1.1.0
func (x *NetworkInfo) ProtoReflect() protoreflect.Message
func (*NetworkInfo) Reset ¶
func (x *NetworkInfo) Reset()
func (*NetworkInfo) String ¶
func (x *NetworkInfo) String() string
type NetworkInfo_IPAddress ¶
type NetworkInfo_IPAddress struct { // Specify IP address requirement. Set protocol to the desired value to // request the network isolator on the Agent to assign an IP address to the // container being launched. If a specific IP address is specified in // ip_address, this field should not be set. Protocol *NetworkInfo_Protocol `protobuf:"varint,1,opt,name=protocol,enum=mesos.v1.NetworkInfo_Protocol,def=1" json:"protocol,omitempty"` // Statically assigned IP provided by the Framework. This IP will be // assigned to the container by the network isolator module on the Agent. // This field should not be used with the protocol field above. // // If an explicit address is requested but is unavailable, the network // isolator should fail the task. IpAddress *string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"` // contains filtered or unexported fields }
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 (*NetworkInfo_IPAddress) Descriptor
deprecated
func (*NetworkInfo_IPAddress) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInfo_IPAddress.ProtoReflect.Descriptor instead.
func (*NetworkInfo_IPAddress) GetIpAddress ¶ added in v1.1.0
func (x *NetworkInfo_IPAddress) GetIpAddress() string
func (*NetworkInfo_IPAddress) GetProtocol ¶
func (x *NetworkInfo_IPAddress) GetProtocol() NetworkInfo_Protocol
func (*NetworkInfo_IPAddress) ProtoMessage ¶
func (*NetworkInfo_IPAddress) ProtoMessage()
func (*NetworkInfo_IPAddress) ProtoReflect ¶ added in v1.1.0
func (x *NetworkInfo_IPAddress) ProtoReflect() protoreflect.Message
func (*NetworkInfo_IPAddress) Reset ¶
func (x *NetworkInfo_IPAddress) Reset()
func (*NetworkInfo_IPAddress) String ¶
func (x *NetworkInfo_IPAddress) String() string
type NetworkInfo_PortMapping ¶
type NetworkInfo_PortMapping struct { HostPort *uint32 `protobuf:"varint,1,req,name=host_port,json=hostPort" json:"host_port,omitempty"` ContainerPort *uint32 `protobuf:"varint,2,req,name=container_port,json=containerPort" json:"container_port,omitempty"` // Protocol to expose as (ie: tcp, udp). Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"` // contains filtered or unexported fields }
Specifies a port mapping request for the task on this network.
func (*NetworkInfo_PortMapping) Descriptor
deprecated
func (*NetworkInfo_PortMapping) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInfo_PortMapping.ProtoReflect.Descriptor instead.
func (*NetworkInfo_PortMapping) GetContainerPort ¶
func (x *NetworkInfo_PortMapping) GetContainerPort() uint32
func (*NetworkInfo_PortMapping) GetHostPort ¶
func (x *NetworkInfo_PortMapping) GetHostPort() uint32
func (*NetworkInfo_PortMapping) GetProtocol ¶
func (x *NetworkInfo_PortMapping) GetProtocol() string
func (*NetworkInfo_PortMapping) ProtoMessage ¶
func (*NetworkInfo_PortMapping) ProtoMessage()
func (*NetworkInfo_PortMapping) ProtoReflect ¶ added in v1.1.0
func (x *NetworkInfo_PortMapping) ProtoReflect() protoreflect.Message
func (*NetworkInfo_PortMapping) Reset ¶
func (x *NetworkInfo_PortMapping) Reset()
func (*NetworkInfo_PortMapping) String ¶
func (x *NetworkInfo_PortMapping) String() string
type NetworkInfo_Protocol ¶
type NetworkInfo_Protocol int32
const ( NetworkInfo_IPv4 NetworkInfo_Protocol = 1 NetworkInfo_IPv6 NetworkInfo_Protocol = 2 )
func (NetworkInfo_Protocol) Descriptor ¶ added in v1.1.0
func (NetworkInfo_Protocol) Descriptor() protoreflect.EnumDescriptor
func (NetworkInfo_Protocol) Enum ¶
func (x NetworkInfo_Protocol) Enum() *NetworkInfo_Protocol
func (NetworkInfo_Protocol) EnumDescriptor
deprecated
func (NetworkInfo_Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkInfo_Protocol.Descriptor instead.
func (NetworkInfo_Protocol) Number ¶ added in v1.1.0
func (x NetworkInfo_Protocol) Number() protoreflect.EnumNumber
func (NetworkInfo_Protocol) String ¶
func (x NetworkInfo_Protocol) String() string
func (NetworkInfo_Protocol) Type ¶ added in v1.1.0
func (NetworkInfo_Protocol) Type() protoreflect.EnumType
func (*NetworkInfo_Protocol) UnmarshalJSON
deprecated
func (x *NetworkInfo_Protocol) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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=frameworkId" json:"framework_id,omitempty"` AgentId *AgentID `protobuf:"bytes,3,req,name=agent_id,json=agentId" json:"agent_id,omitempty"` Hostname *string `protobuf:"bytes,4,req,name=hostname" json:"hostname,omitempty"` // URL for reaching the agent running on the host. Url *URL `protobuf:"bytes,8,opt,name=url" json:"url,omitempty"` // The domain of the agent. Domain *DomainInfo `protobuf:"bytes,11,opt,name=domain" json:"domain,omitempty"` Resources []*Resource `protobuf:"bytes,5,rep,name=resources" json:"resources,omitempty"` Attributes []*Attribute `protobuf:"bytes,7,rep,name=attributes" json:"attributes,omitempty"` // Executors of the same framework running on this agent. ExecutorIds []*ExecutorID `protobuf:"bytes,6,rep,name=executor_ids,json=executorIds" json:"executor_ids,omitempty"` // the given interval. Any tasks launched using these resources may be // killed when the interval arrives. For example, these resources may be // part of a planned maintenance schedule. // // This field only provides information about a planned unavailability. // The unavailability interval may not necessarily start at exactly this // interval, nor last for exactly the duration of this interval. // The unavailability may also be forever! See comments in // `Unavailability` for more details. Unavailability *Unavailability `protobuf:"bytes,9,opt,name=unavailability" json:"unavailability,omitempty"` // An offer represents resources allocated to *one* of the // roles managed by the scheduler. (Therefore, each // `Offer.resources[i].allocation_info` will match the // top level `Offer.allocation_info`). AllocationInfo *Resource_AllocationInfo `protobuf:"bytes,10,opt,name=allocation_info,json=allocationInfo" json:"allocation_info,omitempty"` // contains filtered or unexported fields }
* Describes some resources available on an agent. An offer only contains resources from a single agent.
func (*Offer) Descriptor
deprecated
func (*Offer) GetAgentId ¶ added in v1.1.0
func (*Offer) GetAllocationInfo ¶
func (x *Offer) GetAllocationInfo() *Resource_AllocationInfo
func (*Offer) GetAttributes ¶
func (*Offer) GetDomain ¶
func (x *Offer) GetDomain() *DomainInfo
func (*Offer) GetExecutorIds ¶ added in v1.1.0
func (x *Offer) GetExecutorIds() []*ExecutorID
func (*Offer) GetFrameworkId ¶ added in v1.1.0
func (x *Offer) GetFrameworkId() *FrameworkID
func (*Offer) GetHostname ¶
func (*Offer) GetResources ¶
func (*Offer) GetUnavailability ¶
func (x *Offer) GetUnavailability() *Unavailability
func (*Offer) ProtoMessage ¶
func (*Offer) ProtoMessage()
func (*Offer) ProtoReflect ¶ added in v1.1.0
func (x *Offer) ProtoReflect() protoreflect.Message
type OfferConstraints ¶ added in v1.1.0
type OfferConstraints struct { RoleConstraints map[string]*OfferConstraints_RoleConstraints `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
Frameworks can express offer constraints for their roles.
Constraints restrict which offers will be sent to the framework: if an offer does not match the provided constraints, it will not be sent to the framework.
Constraints are expressed on a per role basis. If you consider a scheduler that has multiple apps to launch within a single role, the structure of the constraints for that role looks as follows:
app 1 app 2 app N
constraints OR constraints OR ... OR constraints
/\ / \ constraint 1 AND constraint 2 AND ... AND constraint M
That is, at least one of the constraint groups must match for an offer to be generated, and within a group all the constraints must match.
As a concrete example, consider a scheduler with two applications with multiple tasks it wants to launch within a role:
application 1: all tasks on an agent with a hostname == "foo" application 2: each task on an agent with an unique "rack" attribute
Assuming there are already some instances of application 2 launched, the constraints might look like the following:
app 1 app 2 constraints OR constraints /\ /\ / \ / \
hostname == "foo" rack != "X" AND
rack != "Y" AND rack != "Z" == (hostname == "foo") OR
(rack != "X" AND rack != "Y" AND rack != "Z")
The benefits of expressing constraints are:
(1) reduced fraction of unusable offers received, and hence: (2) reduced traffic and processing overhead due to unusable offer / DECLINE back and forth churn (3) most importantly, reduced latency to receive the desired offer for a particular task
NOTE: Even if a particular resource matches offer constraints of a framework's role, there is still no guarantee that it will ever be offered to this role of the framework.
NOTE: Each `Group` must contain at least one constraint, and `RoleConstraints` must contain at least one `Group`, otherwise the message is not valid.
NOTE: Frameworks are allowed to use default-constructed `OfferConstraints` (instead of not setting the `offer_constraints` field) in the SUBSCRIBE/UPDATE_FRAMEWORK calls to indicate subscription without any offer constraints.
func (*OfferConstraints) Descriptor
deprecated
added in
v1.1.0
func (*OfferConstraints) Descriptor() ([]byte, []int)
Deprecated: Use OfferConstraints.ProtoReflect.Descriptor instead.
func (*OfferConstraints) GetRoleConstraints ¶ added in v1.1.0
func (x *OfferConstraints) GetRoleConstraints() map[string]*OfferConstraints_RoleConstraints
func (*OfferConstraints) ProtoMessage ¶ added in v1.1.0
func (*OfferConstraints) ProtoMessage()
func (*OfferConstraints) ProtoReflect ¶ added in v1.1.0
func (x *OfferConstraints) ProtoReflect() protoreflect.Message
func (*OfferConstraints) Reset ¶ added in v1.1.0
func (x *OfferConstraints) Reset()
func (*OfferConstraints) String ¶ added in v1.1.0
func (x *OfferConstraints) String() string
type OfferConstraints_RoleConstraints ¶ added in v1.1.0
type OfferConstraints_RoleConstraints struct { Groups []*OfferConstraints_RoleConstraints_Group `protobuf:"bytes,1,rep,name=groups" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*OfferConstraints_RoleConstraints) Descriptor
deprecated
added in
v1.1.0
func (*OfferConstraints_RoleConstraints) Descriptor() ([]byte, []int)
Deprecated: Use OfferConstraints_RoleConstraints.ProtoReflect.Descriptor instead.
func (*OfferConstraints_RoleConstraints) GetGroups ¶ added in v1.1.0
func (x *OfferConstraints_RoleConstraints) GetGroups() []*OfferConstraints_RoleConstraints_Group
func (*OfferConstraints_RoleConstraints) ProtoMessage ¶ added in v1.1.0
func (*OfferConstraints_RoleConstraints) ProtoMessage()
func (*OfferConstraints_RoleConstraints) ProtoReflect ¶ added in v1.1.0
func (x *OfferConstraints_RoleConstraints) ProtoReflect() protoreflect.Message
func (*OfferConstraints_RoleConstraints) Reset ¶ added in v1.1.0
func (x *OfferConstraints_RoleConstraints) Reset()
func (*OfferConstraints_RoleConstraints) String ¶ added in v1.1.0
func (x *OfferConstraints_RoleConstraints) String() string
type OfferConstraints_RoleConstraints_Group ¶ added in v1.1.0
type OfferConstraints_RoleConstraints_Group struct { AttributeConstraints []*AttributeConstraint `protobuf:"bytes,1,rep,name=attribute_constraints,json=attributeConstraints" json:"attribute_constraints,omitempty"` // contains filtered or unexported fields }
func (*OfferConstraints_RoleConstraints_Group) Descriptor
deprecated
added in
v1.1.0
func (*OfferConstraints_RoleConstraints_Group) Descriptor() ([]byte, []int)
Deprecated: Use OfferConstraints_RoleConstraints_Group.ProtoReflect.Descriptor instead.
func (*OfferConstraints_RoleConstraints_Group) GetAttributeConstraints ¶ added in v1.1.0
func (x *OfferConstraints_RoleConstraints_Group) GetAttributeConstraints() []*AttributeConstraint
func (*OfferConstraints_RoleConstraints_Group) ProtoMessage ¶ added in v1.1.0
func (*OfferConstraints_RoleConstraints_Group) ProtoMessage()
func (*OfferConstraints_RoleConstraints_Group) ProtoReflect ¶ added in v1.1.0
func (x *OfferConstraints_RoleConstraints_Group) ProtoReflect() protoreflect.Message
func (*OfferConstraints_RoleConstraints_Group) Reset ¶ added in v1.1.0
func (x *OfferConstraints_RoleConstraints_Group) Reset()
func (*OfferConstraints_RoleConstraints_Group) String ¶ added in v1.1.0
func (x *OfferConstraints_RoleConstraints_Group) String() string
type OfferFilters ¶
type OfferFilters struct { MinAllocatableResources *OfferFilters_MinAllocatableResources `protobuf:"bytes,1,opt,name=min_allocatable_resources,json=minAllocatableResources" json:"min_allocatable_resources,omitempty"` // contains filtered or unexported fields }
* Represents filters that allow a framework to control the shape of offers that will be sent to its role(s). These filters apply globally to any agent (unlike the existing `DECLINE` filter which us a time-based resource subset filter that only applies to the agent that was declined).
NOTE: Custom allocators might interpret these fields in a different way, or not at all.
func (*OfferFilters) Descriptor
deprecated
func (*OfferFilters) Descriptor() ([]byte, []int)
Deprecated: Use OfferFilters.ProtoReflect.Descriptor instead.
func (*OfferFilters) GetMinAllocatableResources ¶
func (x *OfferFilters) GetMinAllocatableResources() *OfferFilters_MinAllocatableResources
func (*OfferFilters) ProtoMessage ¶
func (*OfferFilters) ProtoMessage()
func (*OfferFilters) ProtoReflect ¶ added in v1.1.0
func (x *OfferFilters) ProtoReflect() protoreflect.Message
func (*OfferFilters) Reset ¶
func (x *OfferFilters) Reset()
func (*OfferFilters) String ¶
func (x *OfferFilters) String() string
type OfferFilters_MinAllocatableResources ¶
type OfferFilters_MinAllocatableResources struct { // A set of resources is considered allocatable if contained in any of // the following quantities. If no quantities are specified any resource // is considered allocatable. Quantities []*OfferFilters_ResourceQuantities `protobuf:"bytes,1,rep,name=quantities" json:"quantities,omitempty"` // contains filtered or unexported fields }
func (*OfferFilters_MinAllocatableResources) Descriptor
deprecated
func (*OfferFilters_MinAllocatableResources) Descriptor() ([]byte, []int)
Deprecated: Use OfferFilters_MinAllocatableResources.ProtoReflect.Descriptor instead.
func (*OfferFilters_MinAllocatableResources) GetQuantities ¶
func (x *OfferFilters_MinAllocatableResources) GetQuantities() []*OfferFilters_ResourceQuantities
func (*OfferFilters_MinAllocatableResources) ProtoMessage ¶
func (*OfferFilters_MinAllocatableResources) ProtoMessage()
func (*OfferFilters_MinAllocatableResources) ProtoReflect ¶ added in v1.1.0
func (x *OfferFilters_MinAllocatableResources) ProtoReflect() protoreflect.Message
func (*OfferFilters_MinAllocatableResources) Reset ¶
func (x *OfferFilters_MinAllocatableResources) Reset()
func (*OfferFilters_MinAllocatableResources) String ¶
func (x *OfferFilters_MinAllocatableResources) String() string
type OfferFilters_ResourceQuantities ¶
type OfferFilters_ResourceQuantities struct { // Quantities are pairs of identifiers of scalar resources and // an associated value, e.g., `{"disk": Scalar {"value": 30}}`. Quantities map[string]*Value_Scalar `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OfferFilters_ResourceQuantities) Descriptor
deprecated
func (*OfferFilters_ResourceQuantities) Descriptor() ([]byte, []int)
Deprecated: Use OfferFilters_ResourceQuantities.ProtoReflect.Descriptor instead.
func (*OfferFilters_ResourceQuantities) GetQuantities ¶
func (x *OfferFilters_ResourceQuantities) GetQuantities() map[string]*Value_Scalar
func (*OfferFilters_ResourceQuantities) ProtoMessage ¶
func (*OfferFilters_ResourceQuantities) ProtoMessage()
func (*OfferFilters_ResourceQuantities) ProtoReflect ¶ added in v1.1.0
func (x *OfferFilters_ResourceQuantities) ProtoReflect() protoreflect.Message
func (*OfferFilters_ResourceQuantities) Reset ¶
func (x *OfferFilters_ResourceQuantities) Reset()
func (*OfferFilters_ResourceQuantities) String ¶
func (x *OfferFilters_ResourceQuantities) String() string
type OfferID ¶
type OfferID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* A unique ID assigned to an offer.
func (*OfferID) Descriptor
deprecated
func (*OfferID) ProtoMessage ¶
func (*OfferID) ProtoMessage()
func (*OfferID) ProtoReflect ¶ added in v1.1.0
func (x *OfferID) ProtoReflect() protoreflect.Message
type Offer_Operation ¶
type Offer_Operation struct { Type *Offer_Operation_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.Offer_Operation_Type" json:"type,omitempty"` // The `id` field allows frameworks to indicate that they wish to receive // feedback about an operation via the UPDATE_OPERATION_STATUS event in the // v1 scheduler API. Id *OperationID `protobuf:"bytes,12,opt,name=id" json:"id,omitempty"` // EXPERIMENTAL. Launch *Offer_Operation_Launch `protobuf:"bytes,2,opt,name=launch" json:"launch,omitempty"` LaunchGroup *Offer_Operation_LaunchGroup `protobuf:"bytes,7,opt,name=launch_group,json=launchGroup" json:"launch_group,omitempty"` Reserve *Offer_Operation_Reserve `protobuf:"bytes,3,opt,name=reserve" json:"reserve,omitempty"` Unreserve *Offer_Operation_Unreserve `protobuf:"bytes,4,opt,name=unreserve" json:"unreserve,omitempty"` Create *Offer_Operation_Create `protobuf:"bytes,5,opt,name=create" json:"create,omitempty"` Destroy *Offer_Operation_Destroy `protobuf:"bytes,6,opt,name=destroy" json:"destroy,omitempty"` GrowVolume *Offer_Operation_GrowVolume `protobuf:"bytes,13,opt,name=grow_volume,json=growVolume" json:"grow_volume,omitempty"` // EXPERIMENTAL. ShrinkVolume *Offer_Operation_ShrinkVolume `protobuf:"bytes,14,opt,name=shrink_volume,json=shrinkVolume" json:"shrink_volume,omitempty"` // EXPERIMENTAL. CreateDisk *Offer_Operation_CreateDisk `protobuf:"bytes,15,opt,name=create_disk,json=createDisk" json:"create_disk,omitempty"` // EXPERIMENTAL. DestroyDisk *Offer_Operation_DestroyDisk `protobuf:"bytes,16,opt,name=destroy_disk,json=destroyDisk" json:"destroy_disk,omitempty"` // EXPERIMENTAL. // contains filtered or unexported fields }
Defines an operation that can be performed against offers.
func (*Offer_Operation) Descriptor
deprecated
func (*Offer_Operation) Descriptor() ([]byte, []int)
Deprecated: Use Offer_Operation.ProtoReflect.Descriptor instead.
func (*Offer_Operation) GetCreate ¶
func (x *Offer_Operation) GetCreate() *Offer_Operation_Create
func (*Offer_Operation) GetCreateDisk ¶
func (x *Offer_Operation) GetCreateDisk() *Offer_Operation_CreateDisk
func (*Offer_Operation) GetDestroy ¶
func (x *Offer_Operation) GetDestroy() *Offer_Operation_Destroy
func (*Offer_Operation) GetDestroyDisk ¶
func (x *Offer_Operation) GetDestroyDisk() *Offer_Operation_DestroyDisk
func (*Offer_Operation) GetGrowVolume ¶
func (x *Offer_Operation) GetGrowVolume() *Offer_Operation_GrowVolume
func (*Offer_Operation) GetId ¶ added in v1.1.0
func (x *Offer_Operation) GetId() *OperationID
func (*Offer_Operation) GetLaunch ¶
func (x *Offer_Operation) GetLaunch() *Offer_Operation_Launch
func (*Offer_Operation) GetLaunchGroup ¶
func (x *Offer_Operation) GetLaunchGroup() *Offer_Operation_LaunchGroup
func (*Offer_Operation) GetReserve ¶
func (x *Offer_Operation) GetReserve() *Offer_Operation_Reserve
func (*Offer_Operation) GetShrinkVolume ¶
func (x *Offer_Operation) GetShrinkVolume() *Offer_Operation_ShrinkVolume
func (*Offer_Operation) GetType ¶
func (x *Offer_Operation) GetType() Offer_Operation_Type
func (*Offer_Operation) GetUnreserve ¶
func (x *Offer_Operation) GetUnreserve() *Offer_Operation_Unreserve
func (*Offer_Operation) ProtoMessage ¶
func (*Offer_Operation) ProtoMessage()
func (*Offer_Operation) ProtoReflect ¶ added in v1.1.0
func (x *Offer_Operation) ProtoReflect() protoreflect.Message
func (*Offer_Operation) Reset ¶
func (x *Offer_Operation) Reset()
func (*Offer_Operation) String ¶
func (x *Offer_Operation) String() string
type Offer_Operation_Create ¶
type Offer_Operation_Create struct { Volumes []*Resource `protobuf:"bytes,1,rep,name=volumes" json:"volumes,omitempty"` // contains filtered or unexported fields }
func (*Offer_Operation_Create) Descriptor
deprecated
func (*Offer_Operation_Create) Descriptor() ([]byte, []int)
Deprecated: Use Offer_Operation_Create.ProtoReflect.Descriptor instead.
func (*Offer_Operation_Create) GetVolumes ¶
func (x *Offer_Operation_Create) GetVolumes() []*Resource
func (*Offer_Operation_Create) ProtoMessage ¶
func (*Offer_Operation_Create) ProtoMessage()
func (*Offer_Operation_Create) ProtoReflect ¶ added in v1.1.0
func (x *Offer_Operation_Create) ProtoReflect() protoreflect.Message
func (*Offer_Operation_Create) Reset ¶
func (x *Offer_Operation_Create) Reset()
func (*Offer_Operation_Create) String ¶
func (x *Offer_Operation_Create) String() string
type Offer_Operation_CreateDisk ¶
type Offer_Operation_CreateDisk struct { Source *Resource `protobuf:"bytes,1,req,name=source" json:"source,omitempty"` // NOTE: Only `MOUNT` or `BLOCK` is allowed in this field. TargetType *Resource_DiskInfo_Source_Type `` /* 129-byte string literal not displayed */ // Apply the specified profile to the created disk. This field must be set // if `source` does not have a profile, and must not be set if it has one. // // NOTE: The operation will fail If the specified profile is unknown to // Mesos, i.e., not reported by the disk profile adaptor. TargetProfile *string `protobuf:"bytes,3,opt,name=target_profile,json=targetProfile" json:"target_profile,omitempty"` // contains filtered or unexported fields }
Create a `MOUNT` or `BLOCK` disk resource backed by a CSI volume from a `RAW` disk resource.
In the typical case where the `RAW` disk resource has a profile and no source ID, a new CSI volume will be provisioned by Mesos to back the returned `MOUNT` or `BLOCK` disk resource. However, the `RAW` disk resource can instead have no profile but a source ID, indicating that it is already backed by a CSI volume in one of the following scenarios:
(1) The CSI volume is preprovisioned out-of-band.
(2) The CSI volume is provisioned by Mesos, but Mesos has lost the
corresponding `MOUNT` or `BLOCK` resource metadata. This could happen if there has been a change in the agent ID or resource provider ID where the volume belongs.
In the above cases, Mesos won't provision a new CSI volume, but instead will simply return a `MOUNT` or `BLOCK` disk resource backed by the same CSI volume, with the profile specified in this call.
NOTE: For the time being, this API is subject to change and the related feature is experimental.
func (*Offer_Operation_CreateDisk) Descriptor
deprecated
func (*Offer_Operation_CreateDisk) Descriptor() ([]byte, []int)
Deprecated: Use Offer_Operation_CreateDisk.ProtoReflect.Descriptor instead.
func (*Offer_Operation_CreateDisk) GetSource ¶
func (x *Offer_Operation_CreateDisk) GetSource() *Resource
func (*Offer_Operation_CreateDisk) GetTargetProfile ¶
func (x *Offer_Operation_CreateDisk) GetTargetProfile() string
func (*Offer_Operation_CreateDisk) GetTargetType ¶
func (x *Offer_Operation_CreateDisk) GetTargetType() Resource_DiskInfo_Source_Type
func (*Offer_Operation_CreateDisk) ProtoMessage ¶
func (*Offer_Operation_CreateDisk) ProtoMessage()
func (*Offer_Operation_CreateDisk) ProtoReflect ¶ added in v1.1.0
func (x *Offer_Operation_CreateDisk) ProtoReflect() protoreflect.Message
func (*Offer_Operation_CreateDisk) Reset ¶
func (x *Offer_Operation_CreateDisk) Reset()
func (*Offer_Operation_CreateDisk) String ¶
func (x *Offer_Operation_CreateDisk) String() string
type Offer_Operation_Destroy ¶
type Offer_Operation_Destroy struct { Volumes []*Resource `protobuf:"bytes,1,rep,name=volumes" json:"volumes,omitempty"` // contains filtered or unexported fields }
func (*Offer_Operation_Destroy) Descriptor
deprecated
func (*Offer_Operation_Destroy) Descriptor() ([]byte, []int)
Deprecated: Use Offer_Operation_Destroy.ProtoReflect.Descriptor instead.
func (*Offer_Operation_Destroy) GetVolumes ¶
func (x *Offer_Operation_Destroy) GetVolumes() []*Resource
func (*Offer_Operation_Destroy) ProtoMessage ¶
func (*Offer_Operation_Destroy) ProtoMessage()
func (*Offer_Operation_Destroy) ProtoReflect ¶ added in v1.1.0
func (x *Offer_Operation_Destroy) ProtoReflect() protoreflect.Message
func (*Offer_Operation_Destroy) Reset ¶
func (x *Offer_Operation_Destroy) Reset()
func (*Offer_Operation_Destroy) String ¶
func (x *Offer_Operation_Destroy) String() string
type Offer_Operation_DestroyDisk ¶
type Offer_Operation_DestroyDisk struct { // NOTE: Only a `MOUNT`, `BLOCK` or `RAW` disk is allowed in this field. Source *Resource `protobuf:"bytes,1,req,name=source" json:"source,omitempty"` // contains filtered or unexported fields }
Destroy a disk resource backed by a CSI volume.
In the typical case where the CSI plugin of the volume supports volume deprovisioning and the disk resource is a `MOUNT` or `BLOCK` disk with a profile known to Mesos, the volume will be deprovisioned and a `RAW` disk resource with the same profile but no source ID will be returned. However, the following scenarios could lead to different outcomes:
(1) If the CSI plugin supports volume deprovisioning but the profile of
the disk resource is unknown to the disk profile adaptor, or the disk resource is a `RAW` disk with no profile but a source ID (see above for possible scenarios), the volume will be deprovisioned but no resource will be returned.
(2) If the CSI plugin does not support volume deprovisioning, the volume
won't be deprovisioned and a `RAW` disk resource with no profile but the same source ID will be returned.
NOTE: For the time being, this API is subject to change and the related feature is experimental.
func (*Offer_Operation_DestroyDisk) Descriptor
deprecated
func (*Offer_Operation_DestroyDisk) Descriptor() ([]byte, []int)
Deprecated: Use Offer_Operation_DestroyDisk.ProtoReflect.Descriptor instead.
func (*Offer_Operation_DestroyDisk) GetSource ¶
func (x *Offer_Operation_DestroyDisk) GetSource() *Resource
func (*Offer_Operation_DestroyDisk) ProtoMessage ¶
func (*Offer_Operation_DestroyDisk) ProtoMessage()
func (*Offer_Operation_DestroyDisk) ProtoReflect ¶ added in v1.1.0
func (x *Offer_Operation_DestroyDisk) ProtoReflect() protoreflect.Message
func (*Offer_Operation_DestroyDisk) Reset ¶
func (x *Offer_Operation_DestroyDisk) Reset()
func (*Offer_Operation_DestroyDisk) String ¶
func (x *Offer_Operation_DestroyDisk) String() string
type Offer_Operation_GrowVolume ¶
type Offer_Operation_GrowVolume struct { Volume *Resource `protobuf:"bytes,1,req,name=volume" json:"volume,omitempty"` Addition *Resource `protobuf:"bytes,2,req,name=addition" json:"addition,omitempty"` // contains filtered or unexported fields }
Grow a volume by an additional disk resource. NOTE: This is currently experimental and only for persistent volumes created on ROOT/PATH disk.
func (*Offer_Operation_GrowVolume) Descriptor
deprecated
func (*Offer_Operation_GrowVolume) Descriptor() ([]byte, []int)
Deprecated: Use Offer_Operation_GrowVolume.ProtoReflect.Descriptor instead.
func (*Offer_Operation_GrowVolume) GetAddition ¶
func (x *Offer_Operation_GrowVolume) GetAddition() *Resource
func (*Offer_Operation_GrowVolume) GetVolume ¶
func (x *Offer_Operation_GrowVolume) GetVolume() *Resource
func (*Offer_Operation_GrowVolume) ProtoMessage ¶
func (*Offer_Operation_GrowVolume) ProtoMessage()
func (*Offer_Operation_GrowVolume) ProtoReflect ¶ added in v1.1.0
func (x *Offer_Operation_GrowVolume) ProtoReflect() protoreflect.Message
func (*Offer_Operation_GrowVolume) Reset ¶
func (x *Offer_Operation_GrowVolume) Reset()
func (*Offer_Operation_GrowVolume) String ¶
func (x *Offer_Operation_GrowVolume) String() string
type Offer_Operation_Launch ¶
type Offer_Operation_Launch struct { TaskInfos []*TaskInfo `protobuf:"bytes,1,rep,name=task_infos,json=taskInfos" json:"task_infos,omitempty"` // contains filtered or unexported fields }
TODO(vinod): Deprecate this in favor of `LaunchGroup` below.
func (*Offer_Operation_Launch) Descriptor
deprecated
func (*Offer_Operation_Launch) Descriptor() ([]byte, []int)
Deprecated: Use Offer_Operation_Launch.ProtoReflect.Descriptor instead.
func (*Offer_Operation_Launch) GetTaskInfos ¶
func (x *Offer_Operation_Launch) GetTaskInfos() []*TaskInfo
func (*Offer_Operation_Launch) ProtoMessage ¶
func (*Offer_Operation_Launch) ProtoMessage()
func (*Offer_Operation_Launch) ProtoReflect ¶ added in v1.1.0
func (x *Offer_Operation_Launch) ProtoReflect() protoreflect.Message
func (*Offer_Operation_Launch) Reset ¶
func (x *Offer_Operation_Launch) Reset()
func (*Offer_Operation_Launch) String ¶
func (x *Offer_Operation_Launch) String() string
type Offer_Operation_LaunchGroup ¶
type Offer_Operation_LaunchGroup struct { Executor *ExecutorInfo `protobuf:"bytes,1,req,name=executor" json:"executor,omitempty"` TaskGroup *TaskGroupInfo `protobuf:"bytes,2,req,name=task_group,json=taskGroup" json:"task_group,omitempty"` // contains filtered or unexported fields }
Unlike `Launch` above, all the tasks in a `task_group` are atomically delivered to an executor.
`NetworkInfo` set on executor will be shared by all tasks in the task group.
TODO(vinod): Any volumes set on executor could be used by a task by explicitly setting `Volume.source` in its resources.
func (*Offer_Operation_LaunchGroup) Descriptor
deprecated
func (*Offer_Operation_LaunchGroup) Descriptor() ([]byte, []int)
Deprecated: Use Offer_Operation_LaunchGroup.ProtoReflect.Descriptor instead.
func (*Offer_Operation_LaunchGroup) GetExecutor ¶
func (x *Offer_Operation_LaunchGroup) GetExecutor() *ExecutorInfo
func (*Offer_Operation_LaunchGroup) GetTaskGroup ¶
func (x *Offer_Operation_LaunchGroup) GetTaskGroup() *TaskGroupInfo
func (*Offer_Operation_LaunchGroup) ProtoMessage ¶
func (*Offer_Operation_LaunchGroup) ProtoMessage()
func (*Offer_Operation_LaunchGroup) ProtoReflect ¶ added in v1.1.0
func (x *Offer_Operation_LaunchGroup) ProtoReflect() protoreflect.Message
func (*Offer_Operation_LaunchGroup) Reset ¶
func (x *Offer_Operation_LaunchGroup) Reset()
func (*Offer_Operation_LaunchGroup) String ¶
func (x *Offer_Operation_LaunchGroup) String() string
type Offer_Operation_Reserve ¶
type Offer_Operation_Reserve struct { Source []*Resource `protobuf:"bytes,2,rep,name=source" json:"source,omitempty"` Resources []*Resource `protobuf:"bytes,1,rep,name=resources" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*Offer_Operation_Reserve) Descriptor
deprecated
func (*Offer_Operation_Reserve) Descriptor() ([]byte, []int)
Deprecated: Use Offer_Operation_Reserve.ProtoReflect.Descriptor instead.
func (*Offer_Operation_Reserve) GetResources ¶
func (x *Offer_Operation_Reserve) GetResources() []*Resource
func (*Offer_Operation_Reserve) GetSource ¶
func (x *Offer_Operation_Reserve) GetSource() []*Resource
func (*Offer_Operation_Reserve) ProtoMessage ¶
func (*Offer_Operation_Reserve) ProtoMessage()
func (*Offer_Operation_Reserve) ProtoReflect ¶ added in v1.1.0
func (x *Offer_Operation_Reserve) ProtoReflect() protoreflect.Message
func (*Offer_Operation_Reserve) Reset ¶
func (x *Offer_Operation_Reserve) Reset()
func (*Offer_Operation_Reserve) String ¶
func (x *Offer_Operation_Reserve) String() string
type Offer_Operation_ShrinkVolume ¶
type Offer_Operation_ShrinkVolume struct { Volume *Resource `protobuf:"bytes,1,req,name=volume" json:"volume,omitempty"` // See comments in `Value.Scalar` for maximum precision supported. Subtract *Value_Scalar `protobuf:"bytes,2,req,name=subtract" json:"subtract,omitempty"` // contains filtered or unexported fields }
Shrink a volume by the size specified in the `subtract` field. NOTE: This is currently experimental and only for persistent volumes created on ROOT/PATH disk.
func (*Offer_Operation_ShrinkVolume) Descriptor
deprecated
func (*Offer_Operation_ShrinkVolume) Descriptor() ([]byte, []int)
Deprecated: Use Offer_Operation_ShrinkVolume.ProtoReflect.Descriptor instead.
func (*Offer_Operation_ShrinkVolume) GetSubtract ¶
func (x *Offer_Operation_ShrinkVolume) GetSubtract() *Value_Scalar
func (*Offer_Operation_ShrinkVolume) GetVolume ¶
func (x *Offer_Operation_ShrinkVolume) GetVolume() *Resource
func (*Offer_Operation_ShrinkVolume) ProtoMessage ¶
func (*Offer_Operation_ShrinkVolume) ProtoMessage()
func (*Offer_Operation_ShrinkVolume) ProtoReflect ¶ added in v1.1.0
func (x *Offer_Operation_ShrinkVolume) ProtoReflect() protoreflect.Message
func (*Offer_Operation_ShrinkVolume) Reset ¶
func (x *Offer_Operation_ShrinkVolume) Reset()
func (*Offer_Operation_ShrinkVolume) String ¶
func (x *Offer_Operation_ShrinkVolume) String() string
type Offer_Operation_Type ¶
type Offer_Operation_Type int32
const ( Offer_Operation_UNKNOWN Offer_Operation_Type = 0 Offer_Operation_LAUNCH Offer_Operation_Type = 1 Offer_Operation_LAUNCH_GROUP Offer_Operation_Type = 6 Offer_Operation_RESERVE Offer_Operation_Type = 2 Offer_Operation_UNRESERVE Offer_Operation_Type = 3 Offer_Operation_CREATE Offer_Operation_Type = 4 Offer_Operation_DESTROY Offer_Operation_Type = 5 Offer_Operation_GROW_VOLUME Offer_Operation_Type = 11 // EXPERIMENTAL. Offer_Operation_SHRINK_VOLUME Offer_Operation_Type = 12 // EXPERIMENTAL. Offer_Operation_CREATE_DISK Offer_Operation_Type = 13 // EXPERIMENTAL. Offer_Operation_DESTROY_DISK Offer_Operation_Type = 14 // EXPERIMENTAL. )
func (Offer_Operation_Type) Descriptor ¶ added in v1.1.0
func (Offer_Operation_Type) Descriptor() protoreflect.EnumDescriptor
func (Offer_Operation_Type) Enum ¶
func (x Offer_Operation_Type) Enum() *Offer_Operation_Type
func (Offer_Operation_Type) EnumDescriptor
deprecated
func (Offer_Operation_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Offer_Operation_Type.Descriptor instead.
func (Offer_Operation_Type) Number ¶ added in v1.1.0
func (x Offer_Operation_Type) Number() protoreflect.EnumNumber
func (Offer_Operation_Type) String ¶
func (x Offer_Operation_Type) String() string
func (Offer_Operation_Type) Type ¶ added in v1.1.0
func (Offer_Operation_Type) Type() protoreflect.EnumType
func (*Offer_Operation_Type) UnmarshalJSON
deprecated
func (x *Offer_Operation_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Offer_Operation_Unreserve ¶
type Offer_Operation_Unreserve struct { Resources []*Resource `protobuf:"bytes,1,rep,name=resources" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*Offer_Operation_Unreserve) Descriptor
deprecated
func (*Offer_Operation_Unreserve) Descriptor() ([]byte, []int)
Deprecated: Use Offer_Operation_Unreserve.ProtoReflect.Descriptor instead.
func (*Offer_Operation_Unreserve) GetResources ¶
func (x *Offer_Operation_Unreserve) GetResources() []*Resource
func (*Offer_Operation_Unreserve) ProtoMessage ¶
func (*Offer_Operation_Unreserve) ProtoMessage()
func (*Offer_Operation_Unreserve) ProtoReflect ¶ added in v1.1.0
func (x *Offer_Operation_Unreserve) ProtoReflect() protoreflect.Message
func (*Offer_Operation_Unreserve) Reset ¶
func (x *Offer_Operation_Unreserve) Reset()
func (*Offer_Operation_Unreserve) String ¶
func (x *Offer_Operation_Unreserve) String() string
type Operation ¶
type Operation struct { FrameworkId *FrameworkID `protobuf:"bytes,1,opt,name=framework_id,json=frameworkId" json:"framework_id,omitempty"` AgentId *AgentID `protobuf:"bytes,2,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"` Info *Offer_Operation `protobuf:"bytes,3,req,name=info" json:"info,omitempty"` LatestStatus *OperationStatus `protobuf:"bytes,4,req,name=latest_status,json=latestStatus" json:"latest_status,omitempty"` // All the statuses known to this operation. Some of the statuses in this // list might not have been acknowledged yet. The statuses are ordered. Statuses []*OperationStatus `protobuf:"bytes,5,rep,name=statuses" json:"statuses,omitempty"` // This is the internal UUID for the operation, which is kept independently // from the framework-specified operation ID, which is optional. Uuid *UUID `protobuf:"bytes,6,req,name=uuid" json:"uuid,omitempty"` // contains filtered or unexported fields }
* Describes an operation, similar to `Offer.Operation`, with some additional information.
func (*Operation) Descriptor
deprecated
func (*Operation) GetAgentId ¶ added in v1.1.0
func (*Operation) GetFrameworkId ¶ added in v1.1.0
func (x *Operation) GetFrameworkId() *FrameworkID
func (*Operation) GetInfo ¶
func (x *Operation) GetInfo() *Offer_Operation
func (*Operation) GetLatestStatus ¶
func (x *Operation) GetLatestStatus() *OperationStatus
func (*Operation) GetStatuses ¶
func (x *Operation) GetStatuses() []*OperationStatus
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶ added in v1.1.0
func (x *Operation) ProtoReflect() protoreflect.Message
type OperationID ¶
type OperationID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* A framework-generated ID to distinguish an operation. The ID must be unique within the framework.
func (*OperationID) Descriptor
deprecated
func (*OperationID) Descriptor() ([]byte, []int)
Deprecated: Use OperationID.ProtoReflect.Descriptor instead.
func (*OperationID) GetValue ¶
func (x *OperationID) GetValue() string
func (*OperationID) ProtoMessage ¶
func (*OperationID) ProtoMessage()
func (*OperationID) ProtoReflect ¶ added in v1.1.0
func (x *OperationID) ProtoReflect() protoreflect.Message
func (*OperationID) Reset ¶
func (x *OperationID) Reset()
func (*OperationID) String ¶
func (x *OperationID) String() string
type OperationState ¶
type OperationState int32
* Describes possible operation states.
const ( // Default value if the enum is not set. See MESOS-4997. OperationState_OPERATION_UNSUPPORTED OperationState = 0 // Initial state. OperationState_OPERATION_PENDING OperationState = 1 // TERMINAL: The operation was successfully applied. OperationState_OPERATION_FINISHED OperationState = 2 // TERMINAL: The operation failed to apply. OperationState_OPERATION_FAILED OperationState = 3 // TERMINAL: The operation description contains an error. OperationState_OPERATION_ERROR OperationState = 4 // TERMINAL: The operation was dropped due to a transient error. OperationState_OPERATION_DROPPED OperationState = 5 // The operation affects an agent that has lost contact with the master, // typically due to a network failure or partition. The operation may or may // not still be pending. OperationState_OPERATION_UNREACHABLE OperationState = 6 // The operation affected an agent that the master cannot contact; // the operator has asserted that the agent has been shutdown, but this has // not been directly confirmed by the master. // // If the operator is correct, the operation is not pending and this is a // terminal state; if the operator is mistaken, the operation may still be // pending and might return to a different state in the future. OperationState_OPERATION_GONE_BY_OPERATOR OperationState = 7 // The operation affects an agent that the master recovered from its // state, but that agent has not yet re-registered. // // The operation can transition to `OPERATION_UNREACHABLE` if the // corresponding agent is marked as unreachable, and will transition to // another status if the agent re-registers. OperationState_OPERATION_RECOVERING OperationState = 8 // The master has no knowledge of the operation. This is typically // because either (a) the master never had knowledge of the operation, or // (b) the master forgot about the operation because it garbage collected // its metadata about the operation. The operation may or may not still be // pending. OperationState_OPERATION_UNKNOWN OperationState = 9 )
func (OperationState) Descriptor ¶ added in v1.1.0
func (OperationState) Descriptor() protoreflect.EnumDescriptor
func (OperationState) Enum ¶
func (x OperationState) Enum() *OperationState
func (OperationState) EnumDescriptor
deprecated
func (OperationState) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperationState.Descriptor instead.
func (OperationState) Number ¶ added in v1.1.0
func (x OperationState) Number() protoreflect.EnumNumber
func (OperationState) String ¶
func (x OperationState) String() string
func (OperationState) Type ¶ added in v1.1.0
func (OperationState) Type() protoreflect.EnumType
func (*OperationState) UnmarshalJSON
deprecated
func (x *OperationState) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type OperationStatus ¶
type OperationStatus struct { // While frameworks will only receive status updates for operations on which // they have set an ID, this field is optional because this message is also // used internally by Mesos components when the operation's ID has not been // set. OperationId *OperationID `protobuf:"bytes,1,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"` State *OperationState `protobuf:"varint,2,req,name=state,enum=mesos.v1.OperationState" json:"state,omitempty"` Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` // Converted resources after applying the operation. This only // applies if the `state` is `OPERATION_FINISHED`. ConvertedResources []*Resource `protobuf:"bytes,4,rep,name=converted_resources,json=convertedResources" json:"converted_resources,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. Uuid *UUID `protobuf:"bytes,5,opt,name=uuid" json:"uuid,omitempty"` // If the operation affects resources from a local resource provider, // both `agent_id` and `resource_provider_id` will be set. // // If the operation affects resources that belong to an external // resource provider, only `resource_provider_id` will be set. // // In certain cases, e.g., invalid operations, neither `uuid`, // `slave_id` nor `resource_provider_id` will be set, and the // scheduler does not need to acknowledge this status update. AgentId *AgentID `protobuf:"bytes,6,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"` ResourceProviderId *ResourceProviderID `protobuf:"bytes,7,opt,name=resource_provider_id,json=resourceProviderId" json:"resource_provider_id,omitempty"` // contains filtered or unexported fields }
* Describes the current status of an operation.
func (*OperationStatus) Descriptor
deprecated
func (*OperationStatus) Descriptor() ([]byte, []int)
Deprecated: Use OperationStatus.ProtoReflect.Descriptor instead.
func (*OperationStatus) GetAgentId ¶ added in v1.1.0
func (x *OperationStatus) GetAgentId() *AgentID
func (*OperationStatus) GetConvertedResources ¶
func (x *OperationStatus) GetConvertedResources() []*Resource
func (*OperationStatus) GetMessage ¶
func (x *OperationStatus) GetMessage() string
func (*OperationStatus) GetOperationId ¶ added in v1.1.0
func (x *OperationStatus) GetOperationId() *OperationID
func (*OperationStatus) GetResourceProviderId ¶ added in v1.1.0
func (x *OperationStatus) GetResourceProviderId() *ResourceProviderID
func (*OperationStatus) GetState ¶
func (x *OperationStatus) GetState() OperationState
func (*OperationStatus) GetUuid ¶ added in v1.1.0
func (x *OperationStatus) GetUuid() *UUID
func (*OperationStatus) ProtoMessage ¶
func (*OperationStatus) ProtoMessage()
func (*OperationStatus) ProtoReflect ¶ added in v1.1.0
func (x *OperationStatus) ProtoReflect() protoreflect.Message
func (*OperationStatus) Reset ¶
func (x *OperationStatus) Reset()
func (*OperationStatus) String ¶
func (x *OperationStatus) String() string
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"` // contains filtered or unexported fields }
* A generic (key, value) pair used in various places for parameters.
func (*Parameter) Descriptor
deprecated
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) ProtoReflect ¶ added in v1.1.0
func (x *Parameter) ProtoReflect() protoreflect.Message
type Parameters ¶
type Parameters struct { Parameter []*Parameter `protobuf:"bytes,1,rep,name=parameter" json:"parameter,omitempty"` // contains filtered or unexported fields }
* Collection of Parameter.
func (*Parameters) Descriptor
deprecated
func (*Parameters) Descriptor() ([]byte, []int)
Deprecated: Use Parameters.ProtoReflect.Descriptor instead.
func (*Parameters) GetParameter ¶
func (x *Parameters) GetParameter() []*Parameter
func (*Parameters) ProtoMessage ¶
func (*Parameters) ProtoMessage()
func (*Parameters) ProtoReflect ¶ added in v1.1.0
func (x *Parameters) ProtoReflect() protoreflect.Message
func (*Parameters) Reset ¶
func (x *Parameters) Reset()
func (*Parameters) String ¶
func (x *Parameters) String() string
type PerfStatistics ¶
type PerfStatistics struct { Timestamp *float64 `protobuf:"fixed64,1,req,name=timestamp" json:"timestamp,omitempty"` // Start of sample interval, in seconds since the Epoch. Duration *float64 `protobuf:"fixed64,2,req,name=duration" json:"duration,omitempty"` // Duration of sample interval, in seconds. // Hardware event. Cycles *uint64 `protobuf:"varint,3,opt,name=cycles" json:"cycles,omitempty"` StalledCyclesFrontend *uint64 `protobuf:"varint,4,opt,name=stalled_cycles_frontend,json=stalledCyclesFrontend" json:"stalled_cycles_frontend,omitempty"` StalledCyclesBackend *uint64 `protobuf:"varint,5,opt,name=stalled_cycles_backend,json=stalledCyclesBackend" json:"stalled_cycles_backend,omitempty"` Instructions *uint64 `protobuf:"varint,6,opt,name=instructions" json:"instructions,omitempty"` CacheReferences *uint64 `protobuf:"varint,7,opt,name=cache_references,json=cacheReferences" json:"cache_references,omitempty"` CacheMisses *uint64 `protobuf:"varint,8,opt,name=cache_misses,json=cacheMisses" json:"cache_misses,omitempty"` Branches *uint64 `protobuf:"varint,9,opt,name=branches" json:"branches,omitempty"` BranchMisses *uint64 `protobuf:"varint,10,opt,name=branch_misses,json=branchMisses" json:"branch_misses,omitempty"` BusCycles *uint64 `protobuf:"varint,11,opt,name=bus_cycles,json=busCycles" json:"bus_cycles,omitempty"` RefCycles *uint64 `protobuf:"varint,12,opt,name=ref_cycles,json=refCycles" json:"ref_cycles,omitempty"` // Software event. CpuClock *float64 `protobuf:"fixed64,13,opt,name=cpu_clock,json=cpuClock" json:"cpu_clock,omitempty"` TaskClock *float64 `protobuf:"fixed64,14,opt,name=task_clock,json=taskClock" json:"task_clock,omitempty"` PageFaults *uint64 `protobuf:"varint,15,opt,name=page_faults,json=pageFaults" json:"page_faults,omitempty"` MinorFaults *uint64 `protobuf:"varint,16,opt,name=minor_faults,json=minorFaults" json:"minor_faults,omitempty"` MajorFaults *uint64 `protobuf:"varint,17,opt,name=major_faults,json=majorFaults" json:"major_faults,omitempty"` ContextSwitches *uint64 `protobuf:"varint,18,opt,name=context_switches,json=contextSwitches" json:"context_switches,omitempty"` CpuMigrations *uint64 `protobuf:"varint,19,opt,name=cpu_migrations,json=cpuMigrations" json:"cpu_migrations,omitempty"` AlignmentFaults *uint64 `protobuf:"varint,20,opt,name=alignment_faults,json=alignmentFaults" json:"alignment_faults,omitempty"` EmulationFaults *uint64 `protobuf:"varint,21,opt,name=emulation_faults,json=emulationFaults" json:"emulation_faults,omitempty"` // Hardware cache event. L1DcacheLoads *uint64 `protobuf:"varint,22,opt,name=l1_dcache_loads,json=l1DcacheLoads" json:"l1_dcache_loads,omitempty"` L1DcacheLoadMisses *uint64 `protobuf:"varint,23,opt,name=l1_dcache_load_misses,json=l1DcacheLoadMisses" json:"l1_dcache_load_misses,omitempty"` L1DcacheStores *uint64 `protobuf:"varint,24,opt,name=l1_dcache_stores,json=l1DcacheStores" json:"l1_dcache_stores,omitempty"` L1DcacheStoreMisses *uint64 `protobuf:"varint,25,opt,name=l1_dcache_store_misses,json=l1DcacheStoreMisses" json:"l1_dcache_store_misses,omitempty"` L1DcachePrefetches *uint64 `protobuf:"varint,26,opt,name=l1_dcache_prefetches,json=l1DcachePrefetches" json:"l1_dcache_prefetches,omitempty"` L1DcachePrefetchMisses *uint64 `` /* 126-byte string literal not displayed */ L1IcacheLoads *uint64 `protobuf:"varint,28,opt,name=l1_icache_loads,json=l1IcacheLoads" json:"l1_icache_loads,omitempty"` L1IcacheLoadMisses *uint64 `protobuf:"varint,29,opt,name=l1_icache_load_misses,json=l1IcacheLoadMisses" json:"l1_icache_load_misses,omitempty"` L1IcachePrefetches *uint64 `protobuf:"varint,30,opt,name=l1_icache_prefetches,json=l1IcachePrefetches" json:"l1_icache_prefetches,omitempty"` L1IcachePrefetchMisses *uint64 `` /* 126-byte string literal not displayed */ LlcLoads *uint64 `protobuf:"varint,32,opt,name=llc_loads,json=llcLoads" json:"llc_loads,omitempty"` LlcLoadMisses *uint64 `protobuf:"varint,33,opt,name=llc_load_misses,json=llcLoadMisses" json:"llc_load_misses,omitempty"` LlcStores *uint64 `protobuf:"varint,34,opt,name=llc_stores,json=llcStores" json:"llc_stores,omitempty"` LlcStoreMisses *uint64 `protobuf:"varint,35,opt,name=llc_store_misses,json=llcStoreMisses" json:"llc_store_misses,omitempty"` LlcPrefetches *uint64 `protobuf:"varint,36,opt,name=llc_prefetches,json=llcPrefetches" json:"llc_prefetches,omitempty"` LlcPrefetchMisses *uint64 `protobuf:"varint,37,opt,name=llc_prefetch_misses,json=llcPrefetchMisses" json:"llc_prefetch_misses,omitempty"` DtlbLoads *uint64 `protobuf:"varint,38,opt,name=dtlb_loads,json=dtlbLoads" json:"dtlb_loads,omitempty"` DtlbLoadMisses *uint64 `protobuf:"varint,39,opt,name=dtlb_load_misses,json=dtlbLoadMisses" json:"dtlb_load_misses,omitempty"` DtlbStores *uint64 `protobuf:"varint,40,opt,name=dtlb_stores,json=dtlbStores" json:"dtlb_stores,omitempty"` DtlbStoreMisses *uint64 `protobuf:"varint,41,opt,name=dtlb_store_misses,json=dtlbStoreMisses" json:"dtlb_store_misses,omitempty"` DtlbPrefetches *uint64 `protobuf:"varint,42,opt,name=dtlb_prefetches,json=dtlbPrefetches" json:"dtlb_prefetches,omitempty"` DtlbPrefetchMisses *uint64 `protobuf:"varint,43,opt,name=dtlb_prefetch_misses,json=dtlbPrefetchMisses" json:"dtlb_prefetch_misses,omitempty"` ItlbLoads *uint64 `protobuf:"varint,44,opt,name=itlb_loads,json=itlbLoads" json:"itlb_loads,omitempty"` ItlbLoadMisses *uint64 `protobuf:"varint,45,opt,name=itlb_load_misses,json=itlbLoadMisses" json:"itlb_load_misses,omitempty"` BranchLoads *uint64 `protobuf:"varint,46,opt,name=branch_loads,json=branchLoads" json:"branch_loads,omitempty"` BranchLoadMisses *uint64 `protobuf:"varint,47,opt,name=branch_load_misses,json=branchLoadMisses" json:"branch_load_misses,omitempty"` NodeLoads *uint64 `protobuf:"varint,48,opt,name=node_loads,json=nodeLoads" json:"node_loads,omitempty"` NodeLoadMisses *uint64 `protobuf:"varint,49,opt,name=node_load_misses,json=nodeLoadMisses" json:"node_load_misses,omitempty"` NodeStores *uint64 `protobuf:"varint,50,opt,name=node_stores,json=nodeStores" json:"node_stores,omitempty"` NodeStoreMisses *uint64 `protobuf:"varint,51,opt,name=node_store_misses,json=nodeStoreMisses" json:"node_store_misses,omitempty"` NodePrefetches *uint64 `protobuf:"varint,52,opt,name=node_prefetches,json=nodePrefetches" json:"node_prefetches,omitempty"` NodePrefetchMisses *uint64 `protobuf:"varint,53,opt,name=node_prefetch_misses,json=nodePrefetchMisses" json:"node_prefetch_misses,omitempty"` // contains filtered or unexported fields }
* 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 (*PerfStatistics) Descriptor
deprecated
func (*PerfStatistics) Descriptor() ([]byte, []int)
Deprecated: Use PerfStatistics.ProtoReflect.Descriptor instead.
func (*PerfStatistics) GetAlignmentFaults ¶
func (x *PerfStatistics) GetAlignmentFaults() uint64
func (*PerfStatistics) GetBranchLoadMisses ¶
func (x *PerfStatistics) GetBranchLoadMisses() uint64
func (*PerfStatistics) GetBranchLoads ¶
func (x *PerfStatistics) GetBranchLoads() uint64
func (*PerfStatistics) GetBranchMisses ¶
func (x *PerfStatistics) GetBranchMisses() uint64
func (*PerfStatistics) GetBranches ¶
func (x *PerfStatistics) GetBranches() uint64
func (*PerfStatistics) GetBusCycles ¶
func (x *PerfStatistics) GetBusCycles() uint64
func (*PerfStatistics) GetCacheMisses ¶
func (x *PerfStatistics) GetCacheMisses() uint64
func (*PerfStatistics) GetCacheReferences ¶
func (x *PerfStatistics) GetCacheReferences() uint64
func (*PerfStatistics) GetContextSwitches ¶
func (x *PerfStatistics) GetContextSwitches() uint64
func (*PerfStatistics) GetCpuClock ¶ added in v1.1.0
func (x *PerfStatistics) GetCpuClock() float64
func (*PerfStatistics) GetCpuMigrations ¶ added in v1.1.0
func (x *PerfStatistics) GetCpuMigrations() uint64
func (*PerfStatistics) GetCycles ¶
func (x *PerfStatistics) GetCycles() uint64
func (*PerfStatistics) GetDtlbLoadMisses ¶ added in v1.1.0
func (x *PerfStatistics) GetDtlbLoadMisses() uint64
func (*PerfStatistics) GetDtlbLoads ¶ added in v1.1.0
func (x *PerfStatistics) GetDtlbLoads() uint64
func (*PerfStatistics) GetDtlbPrefetchMisses ¶ added in v1.1.0
func (x *PerfStatistics) GetDtlbPrefetchMisses() uint64
func (*PerfStatistics) GetDtlbPrefetches ¶ added in v1.1.0
func (x *PerfStatistics) GetDtlbPrefetches() uint64
func (*PerfStatistics) GetDtlbStoreMisses ¶ added in v1.1.0
func (x *PerfStatistics) GetDtlbStoreMisses() uint64
func (*PerfStatistics) GetDtlbStores ¶ added in v1.1.0
func (x *PerfStatistics) GetDtlbStores() uint64
func (*PerfStatistics) GetDuration ¶
func (x *PerfStatistics) GetDuration() float64
func (*PerfStatistics) GetEmulationFaults ¶
func (x *PerfStatistics) GetEmulationFaults() uint64
func (*PerfStatistics) GetInstructions ¶
func (x *PerfStatistics) GetInstructions() uint64
func (*PerfStatistics) GetItlbLoadMisses ¶ added in v1.1.0
func (x *PerfStatistics) GetItlbLoadMisses() uint64
func (*PerfStatistics) GetItlbLoads ¶ added in v1.1.0
func (x *PerfStatistics) GetItlbLoads() uint64
func (*PerfStatistics) GetL1DcacheLoadMisses ¶
func (x *PerfStatistics) GetL1DcacheLoadMisses() uint64
func (*PerfStatistics) GetL1DcacheLoads ¶
func (x *PerfStatistics) GetL1DcacheLoads() uint64
func (*PerfStatistics) GetL1DcachePrefetchMisses ¶
func (x *PerfStatistics) GetL1DcachePrefetchMisses() uint64
func (*PerfStatistics) GetL1DcachePrefetches ¶
func (x *PerfStatistics) GetL1DcachePrefetches() uint64
func (*PerfStatistics) GetL1DcacheStoreMisses ¶
func (x *PerfStatistics) GetL1DcacheStoreMisses() uint64
func (*PerfStatistics) GetL1DcacheStores ¶
func (x *PerfStatistics) GetL1DcacheStores() uint64
func (*PerfStatistics) GetL1IcacheLoadMisses ¶
func (x *PerfStatistics) GetL1IcacheLoadMisses() uint64
func (*PerfStatistics) GetL1IcacheLoads ¶
func (x *PerfStatistics) GetL1IcacheLoads() uint64
func (*PerfStatistics) GetL1IcachePrefetchMisses ¶
func (x *PerfStatistics) GetL1IcachePrefetchMisses() uint64
func (*PerfStatistics) GetL1IcachePrefetches ¶
func (x *PerfStatistics) GetL1IcachePrefetches() uint64
func (*PerfStatistics) GetLlcLoadMisses ¶ added in v1.1.0
func (x *PerfStatistics) GetLlcLoadMisses() uint64
func (*PerfStatistics) GetLlcLoads ¶ added in v1.1.0
func (x *PerfStatistics) GetLlcLoads() uint64
func (*PerfStatistics) GetLlcPrefetchMisses ¶ added in v1.1.0
func (x *PerfStatistics) GetLlcPrefetchMisses() uint64
func (*PerfStatistics) GetLlcPrefetches ¶ added in v1.1.0
func (x *PerfStatistics) GetLlcPrefetches() uint64
func (*PerfStatistics) GetLlcStoreMisses ¶ added in v1.1.0
func (x *PerfStatistics) GetLlcStoreMisses() uint64
func (*PerfStatistics) GetLlcStores ¶ added in v1.1.0
func (x *PerfStatistics) GetLlcStores() uint64
func (*PerfStatistics) GetMajorFaults ¶
func (x *PerfStatistics) GetMajorFaults() uint64
func (*PerfStatistics) GetMinorFaults ¶
func (x *PerfStatistics) GetMinorFaults() uint64
func (*PerfStatistics) GetNodeLoadMisses ¶
func (x *PerfStatistics) GetNodeLoadMisses() uint64
func (*PerfStatistics) GetNodeLoads ¶
func (x *PerfStatistics) GetNodeLoads() uint64
func (*PerfStatistics) GetNodePrefetchMisses ¶
func (x *PerfStatistics) GetNodePrefetchMisses() uint64
func (*PerfStatistics) GetNodePrefetches ¶
func (x *PerfStatistics) GetNodePrefetches() uint64
func (*PerfStatistics) GetNodeStoreMisses ¶
func (x *PerfStatistics) GetNodeStoreMisses() uint64
func (*PerfStatistics) GetNodeStores ¶
func (x *PerfStatistics) GetNodeStores() uint64
func (*PerfStatistics) GetPageFaults ¶
func (x *PerfStatistics) GetPageFaults() uint64
func (*PerfStatistics) GetRefCycles ¶
func (x *PerfStatistics) GetRefCycles() uint64
func (*PerfStatistics) GetStalledCyclesBackend ¶
func (x *PerfStatistics) GetStalledCyclesBackend() uint64
func (*PerfStatistics) GetStalledCyclesFrontend ¶
func (x *PerfStatistics) GetStalledCyclesFrontend() uint64
func (*PerfStatistics) GetTaskClock ¶
func (x *PerfStatistics) GetTaskClock() float64
func (*PerfStatistics) GetTimestamp ¶
func (x *PerfStatistics) GetTimestamp() float64
func (*PerfStatistics) ProtoMessage ¶
func (*PerfStatistics) ProtoMessage()
func (*PerfStatistics) ProtoReflect ¶ added in v1.1.0
func (x *PerfStatistics) ProtoReflect() protoreflect.Message
func (*PerfStatistics) Reset ¶
func (x *PerfStatistics) Reset()
func (*PerfStatistics) String ¶
func (x *PerfStatistics) String() string
type Port ¶
type Port struct { // Port number on which the framework exposes a service. Number *uint32 `protobuf:"varint,1,req,name=number" json:"number,omitempty"` // Name of the service hosted on this port. Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // Layer 4-7 protocol on which the framework exposes its services. Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"` // This field restricts discovery within a framework (FRAMEWORK), // within a Mesos cluster (CLUSTER), or places no restrictions (EXTERNAL). // The visibility setting for a Port overrides the general visibility setting // in the DiscoveryInfo. Visibility *DiscoveryInfo_Visibility `protobuf:"varint,4,opt,name=visibility,enum=mesos.v1.DiscoveryInfo_Visibility" json:"visibility,omitempty"` // This can be used to decorate the message with metadata to be // interpreted by external applications such as firewalls. Labels *Labels `protobuf:"bytes,5,opt,name=labels" json:"labels,omitempty"` // contains filtered or unexported fields }
* Named port used for service discovery.
func (*Port) Descriptor
deprecated
func (*Port) GetProtocol ¶
func (*Port) GetVisibility ¶
func (x *Port) GetVisibility() DiscoveryInfo_Visibility
func (*Port) ProtoMessage ¶
func (*Port) ProtoMessage()
func (*Port) ProtoReflect ¶ added in v1.1.0
func (x *Port) ProtoReflect() protoreflect.Message
type Ports ¶
type Ports struct { Ports []*Port `protobuf:"bytes,1,rep,name=ports" json:"ports,omitempty"` // contains filtered or unexported fields }
* Collection of ports.
func (*Ports) Descriptor
deprecated
func (*Ports) ProtoMessage ¶
func (*Ports) ProtoMessage()
func (*Ports) ProtoReflect ¶ added in v1.1.0
func (x *Ports) ProtoReflect() protoreflect.Message
type RLimitInfo ¶
type RLimitInfo struct { Rlimits []*RLimitInfo_RLimit `protobuf:"bytes,1,rep,name=rlimits" json:"rlimits,omitempty"` // contains filtered or unexported fields }
* Encapsulation for POSIX rlimits, see http://pubs.opengroup.org/onlinepubs/009695399/functions/getrlimit.html. Note that some types might only be defined for Linux. We use a custom prefix to avoid conflict with existing system macros (e.g., `RLIMIT_CPU` or `NOFILE`).
func (*RLimitInfo) Descriptor
deprecated
func (*RLimitInfo) Descriptor() ([]byte, []int)
Deprecated: Use RLimitInfo.ProtoReflect.Descriptor instead.
func (*RLimitInfo) GetRlimits ¶
func (x *RLimitInfo) GetRlimits() []*RLimitInfo_RLimit
func (*RLimitInfo) ProtoMessage ¶
func (*RLimitInfo) ProtoMessage()
func (*RLimitInfo) ProtoReflect ¶ added in v1.1.0
func (x *RLimitInfo) ProtoReflect() protoreflect.Message
func (*RLimitInfo) Reset ¶
func (x *RLimitInfo) Reset()
func (*RLimitInfo) String ¶
func (x *RLimitInfo) String() string
type RLimitInfo_RLimit ¶
type RLimitInfo_RLimit struct { Type *RLimitInfo_RLimit_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.RLimitInfo_RLimit_Type" json:"type,omitempty"` // Either both are set or both are not set. // If both are not set, it represents unlimited. // If both are set, we require `soft` <= `hard`. Hard *uint64 `protobuf:"varint,2,opt,name=hard" json:"hard,omitempty"` Soft *uint64 `protobuf:"varint,3,opt,name=soft" json:"soft,omitempty"` // contains filtered or unexported fields }
func (*RLimitInfo_RLimit) Descriptor
deprecated
func (*RLimitInfo_RLimit) Descriptor() ([]byte, []int)
Deprecated: Use RLimitInfo_RLimit.ProtoReflect.Descriptor instead.
func (*RLimitInfo_RLimit) GetHard ¶
func (x *RLimitInfo_RLimit) GetHard() uint64
func (*RLimitInfo_RLimit) GetSoft ¶
func (x *RLimitInfo_RLimit) GetSoft() uint64
func (*RLimitInfo_RLimit) GetType ¶
func (x *RLimitInfo_RLimit) GetType() RLimitInfo_RLimit_Type
func (*RLimitInfo_RLimit) ProtoMessage ¶
func (*RLimitInfo_RLimit) ProtoMessage()
func (*RLimitInfo_RLimit) ProtoReflect ¶ added in v1.1.0
func (x *RLimitInfo_RLimit) ProtoReflect() protoreflect.Message
func (*RLimitInfo_RLimit) Reset ¶
func (x *RLimitInfo_RLimit) Reset()
func (*RLimitInfo_RLimit) String ¶
func (x *RLimitInfo_RLimit) String() string
type RLimitInfo_RLimit_Type ¶
type RLimitInfo_RLimit_Type int32
const ( RLimitInfo_RLimit_UNKNOWN RLimitInfo_RLimit_Type = 0 RLimitInfo_RLimit_RLMT_AS RLimitInfo_RLimit_Type = 1 RLimitInfo_RLimit_RLMT_CORE RLimitInfo_RLimit_Type = 2 RLimitInfo_RLimit_RLMT_CPU RLimitInfo_RLimit_Type = 3 RLimitInfo_RLimit_RLMT_DATA RLimitInfo_RLimit_Type = 4 RLimitInfo_RLimit_RLMT_FSIZE RLimitInfo_RLimit_Type = 5 RLimitInfo_RLimit_RLMT_LOCKS RLimitInfo_RLimit_Type = 6 RLimitInfo_RLimit_RLMT_MEMLOCK RLimitInfo_RLimit_Type = 7 RLimitInfo_RLimit_RLMT_MSGQUEUE RLimitInfo_RLimit_Type = 8 RLimitInfo_RLimit_RLMT_NICE RLimitInfo_RLimit_Type = 9 RLimitInfo_RLimit_RLMT_NOFILE RLimitInfo_RLimit_Type = 10 RLimitInfo_RLimit_RLMT_NPROC RLimitInfo_RLimit_Type = 11 RLimitInfo_RLimit_RLMT_RSS RLimitInfo_RLimit_Type = 12 RLimitInfo_RLimit_RLMT_RTPRIO RLimitInfo_RLimit_Type = 13 RLimitInfo_RLimit_RLMT_RTTIME RLimitInfo_RLimit_Type = 14 RLimitInfo_RLimit_RLMT_SIGPENDING RLimitInfo_RLimit_Type = 15 RLimitInfo_RLimit_RLMT_STACK RLimitInfo_RLimit_Type = 16 )
func (RLimitInfo_RLimit_Type) Descriptor ¶ added in v1.1.0
func (RLimitInfo_RLimit_Type) Descriptor() protoreflect.EnumDescriptor
func (RLimitInfo_RLimit_Type) Enum ¶
func (x RLimitInfo_RLimit_Type) Enum() *RLimitInfo_RLimit_Type
func (RLimitInfo_RLimit_Type) EnumDescriptor
deprecated
func (RLimitInfo_RLimit_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use RLimitInfo_RLimit_Type.Descriptor instead.
func (RLimitInfo_RLimit_Type) Number ¶ added in v1.1.0
func (x RLimitInfo_RLimit_Type) Number() protoreflect.EnumNumber
func (RLimitInfo_RLimit_Type) String ¶
func (x RLimitInfo_RLimit_Type) String() string
func (RLimitInfo_RLimit_Type) Type ¶ added in v1.1.0
func (RLimitInfo_RLimit_Type) Type() protoreflect.EnumType
func (*RLimitInfo_RLimit_Type) UnmarshalJSON
deprecated
func (x *RLimitInfo_RLimit_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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"` // contains filtered or unexported fields }
* 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 (*RateLimit) Descriptor
deprecated
func (*RateLimit) GetCapacity ¶
func (*RateLimit) GetPrincipal ¶
func (*RateLimit) ProtoMessage ¶
func (*RateLimit) ProtoMessage()
func (*RateLimit) ProtoReflect ¶ added in v1.1.0
func (x *RateLimit) ProtoReflect() protoreflect.Message
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=aggregateDefaultQps" json:"aggregate_default_qps,omitempty"` // All the frameworks not specified in 'limits' get this default capacity. // This is an aggregate value similar to 'aggregate_default_qps'. AggregateDefaultCapacity *uint64 `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
* Collection of RateLimit. Frameworks without rate limits defined here are not throttled unless 'aggregate_default_qps' is specified.
func (*RateLimits) Descriptor
deprecated
func (*RateLimits) Descriptor() ([]byte, []int)
Deprecated: Use RateLimits.ProtoReflect.Descriptor instead.
func (*RateLimits) GetAggregateDefaultCapacity ¶
func (x *RateLimits) GetAggregateDefaultCapacity() uint64
func (*RateLimits) GetAggregateDefaultQps ¶ added in v1.1.0
func (x *RateLimits) GetAggregateDefaultQps() float64
func (*RateLimits) GetLimits ¶
func (x *RateLimits) GetLimits() []*RateLimit
func (*RateLimits) ProtoMessage ¶
func (*RateLimits) ProtoMessage()
func (*RateLimits) ProtoReflect ¶ added in v1.1.0
func (x *RateLimits) ProtoReflect() protoreflect.Message
func (*RateLimits) Reset ¶
func (x *RateLimits) Reset()
func (*RateLimits) String ¶
func (x *RateLimits) String() string
type Request ¶
type Request struct { AgentId *AgentID `protobuf:"bytes,1,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"` Resources []*Resource `protobuf:"bytes,2,rep,name=resources" json:"resources,omitempty"` // contains filtered or unexported fields }
* Describes a request for resources that can be used by a framework to proactively influence the allocator. If 'agent_id' is provided then this request is assumed to only apply to resources on that agent.
func (*Request) Descriptor
deprecated
func (*Request) GetAgentId ¶ added in v1.1.0
func (*Request) GetResources ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶ added in v1.1.0
func (x *Request) ProtoReflect() protoreflect.Message
type Resource ¶
type Resource struct { // Specified if the resource comes from a particular resource provider. ProviderId *ResourceProviderID `protobuf:"bytes,12,opt,name=provider_id,json=providerId" json:"provider_id,omitempty"` Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Type *Value_Type `protobuf:"varint,2,req,name=type,enum=mesos.v1.Value_Type" json:"type,omitempty"` Scalar *Value_Scalar `protobuf:"bytes,3,opt,name=scalar" json:"scalar,omitempty"` Ranges *Value_Ranges `protobuf:"bytes,4,opt,name=ranges" json:"ranges,omitempty"` Set *Value_Set `protobuf:"bytes,5,opt,name=set" json:"set,omitempty"` // The role that this resource is reserved for. If "*", this indicates // that the resource is unreserved. Otherwise, the resource will only // be offered to frameworks that belong to this role. // // NOTE: Frameworks must not set this field if `reservations` is set. // // See the 'Resource Format' section for more details. // // TODO(mpark): Deprecate once `reservations` is no longer experimental. // // Deprecated: Marked as deprecated in mesos.proto. Role *string `protobuf:"bytes,6,opt,name=role,def=*" json:"role,omitempty"` AllocationInfo *Resource_AllocationInfo `protobuf:"bytes,11,opt,name=allocation_info,json=allocationInfo" json:"allocation_info,omitempty"` // If this is set, this resource was dynamically reserved by an // operator or a framework. Otherwise, this resource is either unreserved // or statically reserved by an operator via the --resources flag. // // NOTE: Frameworks must not set this field if `reservations` is set. // // See the 'Resource Format' section for more details. // // TODO(mpark): Deprecate once `reservations` is no longer experimental. Reservation *Resource_ReservationInfo `protobuf:"bytes,8,opt,name=reservation" json:"reservation,omitempty"` // The stack of reservations. If this field is empty, it indicates that this // resource is unreserved. Otherwise, the resource is reserved. The first // `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must // have `DYNAMIC`. One can create a new reservation on top of an existing // one by pushing a new `ReservationInfo` to the back. The last // `ReservationInfo` in this stack is the "current" reservation. The new // reservation's role must be a child of the current reservation's role. // // NOTE: Frameworks must not set this field if `reservation` is set. // // See the 'Resource Format' section for more details. // // TODO(mpark): Deprecate `role` and `reservation` once this is stable. Reservations []*Resource_ReservationInfo `protobuf:"bytes,13,rep,name=reservations" json:"reservations,omitempty"` // EXPERIMENTAL. 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"` // can be launched using this resource and all of them shall refer // to the same physical resource on the cluster. Note that only // persistent volumes can be shared currently. // // NOTE: Different shared resources must be uniquely identifiable. // This currently holds as persistent volume should have unique `id` // (this is not validated for enforced though). Shared *Resource_SharedInfo `protobuf:"bytes,10,opt,name=shared" json:"shared,omitempty"` // contains filtered or unexported fields }
* Describes a resource from a resource provider. The `name` field is a string like "cpus" or "mem" that indicates which kind of resource this is; the rest of the fields describe the properties of the resource. A resource can take on one of three types: scalar (double), a list of finite and discrete ranges (e.g., [1-10, 20-30]), or a set of items. A resource is described using the standard protocol buffer "union" trick.
Note that "disk" and "mem" resources are scalar values expressed in megabytes. Fractional "cpus" values are allowed (e.g., "0.5"), which correspond to partial shares of a CPU.
func (*Resource) Descriptor
deprecated
func (*Resource) GetAllocationInfo ¶
func (x *Resource) GetAllocationInfo() *Resource_AllocationInfo
func (*Resource) GetDisk ¶
func (x *Resource) GetDisk() *Resource_DiskInfo
func (*Resource) GetProviderId ¶ added in v1.1.0
func (x *Resource) GetProviderId() *ResourceProviderID
func (*Resource) GetRanges ¶
func (x *Resource) GetRanges() *Value_Ranges
func (*Resource) GetReservation ¶
func (x *Resource) GetReservation() *Resource_ReservationInfo
func (*Resource) GetReservations ¶
func (x *Resource) GetReservations() []*Resource_ReservationInfo
func (*Resource) GetRevocable ¶
func (x *Resource) GetRevocable() *Resource_RevocableInfo
func (*Resource) GetScalar ¶
func (x *Resource) GetScalar() *Value_Scalar
func (*Resource) GetShared ¶
func (x *Resource) GetShared() *Resource_SharedInfo
func (*Resource) GetType ¶
func (x *Resource) GetType() Value_Type
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶ added in v1.1.0
func (x *Resource) ProtoReflect() protoreflect.Message
type ResourceProviderID ¶
type ResourceProviderID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* A unique ID assigned to a resource provider. Currently, a resource provider gets a new ID whenever it (re)registers with Mesos.
func (*ResourceProviderID) Descriptor
deprecated
func (*ResourceProviderID) Descriptor() ([]byte, []int)
Deprecated: Use ResourceProviderID.ProtoReflect.Descriptor instead.
func (*ResourceProviderID) GetValue ¶
func (x *ResourceProviderID) GetValue() string
func (*ResourceProviderID) ProtoMessage ¶
func (*ResourceProviderID) ProtoMessage()
func (*ResourceProviderID) ProtoReflect ¶ added in v1.1.0
func (x *ResourceProviderID) ProtoReflect() protoreflect.Message
func (*ResourceProviderID) Reset ¶
func (x *ResourceProviderID) Reset()
func (*ResourceProviderID) String ¶
func (x *ResourceProviderID) String() string
type ResourceProviderInfo ¶
type ResourceProviderInfo struct { Id *ResourceProviderID `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Attributes []*Attribute `protobuf:"bytes,2,rep,name=attributes" json:"attributes,omitempty"` // The type of the resource provider. This uniquely identifies a // resource provider implementation. For instance: // // org.apache.mesos.rp.local.storage // // Please follow to Java package naming convention // (https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions) // to avoid conflicts on type names. Type *string `protobuf:"bytes,3,req,name=type" json:"type,omitempty"` // The name of the resource provider. There could be multiple // instances of a type of resource provider. The name field is used // to distinguish these instances. It should be a legal Java identifier // (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html) // to avoid conflicts on concatenation of type and name. Name *string `protobuf:"bytes,4,req,name=name" json:"name,omitempty"` // The stack of default reservations. If this field is not empty, it // indicates that resources from this resource provider are reserved // by default, except for the resources that have been reserved or // unreserved through operations. The first `ReservationInfo` // may have type `STATIC` or `DYNAMIC`, but the rest must have // `DYNAMIC`. One can create a new reservation on top of an existing // one by pushing a new `ReservationInfo` to the back. The last // `ReservationInfo` in this stack is the "current" reservation. The // new reservation's role must be a child of the current one. DefaultReservations []*Resource_ReservationInfo `protobuf:"bytes,5,rep,name=default_reservations,json=defaultReservations" json:"default_reservations,omitempty"` // EXPERIMENTAL. Storage *ResourceProviderInfo_Storage `protobuf:"bytes,6,opt,name=storage" json:"storage,omitempty"` // EXPERIMENTAL. // contains filtered or unexported fields }
* Describes a resource provider. Note that the 'id' field is only available after a resource provider is registered with the master, and is made available here to facilitate re-registration.
func (*ResourceProviderInfo) Descriptor
deprecated
func (*ResourceProviderInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResourceProviderInfo.ProtoReflect.Descriptor instead.
func (*ResourceProviderInfo) GetAttributes ¶
func (x *ResourceProviderInfo) GetAttributes() []*Attribute
func (*ResourceProviderInfo) GetDefaultReservations ¶
func (x *ResourceProviderInfo) GetDefaultReservations() []*Resource_ReservationInfo
func (*ResourceProviderInfo) GetId ¶ added in v1.1.0
func (x *ResourceProviderInfo) GetId() *ResourceProviderID
func (*ResourceProviderInfo) GetName ¶
func (x *ResourceProviderInfo) GetName() string
func (*ResourceProviderInfo) GetStorage ¶
func (x *ResourceProviderInfo) GetStorage() *ResourceProviderInfo_Storage
func (*ResourceProviderInfo) GetType ¶
func (x *ResourceProviderInfo) GetType() string
func (*ResourceProviderInfo) ProtoMessage ¶
func (*ResourceProviderInfo) ProtoMessage()
func (*ResourceProviderInfo) ProtoReflect ¶ added in v1.1.0
func (x *ResourceProviderInfo) ProtoReflect() protoreflect.Message
func (*ResourceProviderInfo) Reset ¶
func (x *ResourceProviderInfo) Reset()
func (*ResourceProviderInfo) String ¶
func (x *ResourceProviderInfo) String() string
type ResourceProviderInfo_Storage ¶
type ResourceProviderInfo_Storage struct { Plugin *CSIPluginInfo `protobuf:"bytes,1,req,name=plugin" json:"plugin,omitempty"` // Amount of time to wait after the resource provider finishes reconciling // existing volumes and storage pools against the CSI plugin to start the // next reconciliation. A non-positive value means that no reconciliation // will happen after startup. ReconciliationIntervalSeconds *float64 `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
Storage resource provider related information.
func (*ResourceProviderInfo_Storage) Descriptor
deprecated
func (*ResourceProviderInfo_Storage) Descriptor() ([]byte, []int)
Deprecated: Use ResourceProviderInfo_Storage.ProtoReflect.Descriptor instead.
func (*ResourceProviderInfo_Storage) GetPlugin ¶
func (x *ResourceProviderInfo_Storage) GetPlugin() *CSIPluginInfo
func (*ResourceProviderInfo_Storage) GetReconciliationIntervalSeconds ¶
func (x *ResourceProviderInfo_Storage) GetReconciliationIntervalSeconds() float64
func (*ResourceProviderInfo_Storage) ProtoMessage ¶
func (*ResourceProviderInfo_Storage) ProtoMessage()
func (*ResourceProviderInfo_Storage) ProtoReflect ¶ added in v1.1.0
func (x *ResourceProviderInfo_Storage) ProtoReflect() protoreflect.Message
func (*ResourceProviderInfo_Storage) Reset ¶
func (x *ResourceProviderInfo_Storage) Reset()
func (*ResourceProviderInfo_Storage) String ¶
func (x *ResourceProviderInfo_Storage) String() string
type ResourceStatistics ¶
type ResourceStatistics struct { Timestamp *float64 `protobuf:"fixed64,1,req,name=timestamp" json:"timestamp,omitempty"` // Snapshot time, in seconds since the Epoch. Processes *uint32 `protobuf:"varint,30,opt,name=processes" json:"processes,omitempty"` Threads *uint32 `protobuf:"varint,31,opt,name=threads" json:"threads,omitempty"` // CPU Usage Information: // Total CPU time spent in user mode, and kernel mode. CpusUserTimeSecs *float64 `protobuf:"fixed64,2,opt,name=cpus_user_time_secs,json=cpusUserTimeSecs" json:"cpus_user_time_secs,omitempty"` CpusSystemTimeSecs *float64 `protobuf:"fixed64,3,opt,name=cpus_system_time_secs,json=cpusSystemTimeSecs" json:"cpus_system_time_secs,omitempty"` // Hard CPU limit. CpusLimit *float64 `protobuf:"fixed64,4,opt,name=cpus_limit,json=cpusLimit" json:"cpus_limit,omitempty"` // Soft CPU limit. CpusSoftLimit *float64 `protobuf:"fixed64,45,opt,name=cpus_soft_limit,json=cpusSoftLimit" json:"cpus_soft_limit,omitempty"` // cpu.stat on process throttling (for contention issues). CpusNrPeriods *uint32 `protobuf:"varint,7,opt,name=cpus_nr_periods,json=cpusNrPeriods" json:"cpus_nr_periods,omitempty"` CpusNrThrottled *uint32 `protobuf:"varint,8,opt,name=cpus_nr_throttled,json=cpusNrThrottled" json:"cpus_nr_throttled,omitempty"` CpusThrottledTimeSecs *float64 `protobuf:"fixed64,9,opt,name=cpus_throttled_time_secs,json=cpusThrottledTimeSecs" json:"cpus_throttled_time_secs,omitempty"` // mem_total_bytes was added in 0.23.0 to represent the total memory // of a process in RAM (as opposed to in Swap). This was previously // reported as mem_rss_bytes, which was also changed in 0.23.0 to // represent only the anonymous memory usage, to keep in sync with // Linux kernel's (arguably erroneous) use of terminology. MemTotalBytes *uint64 `protobuf:"varint,36,opt,name=mem_total_bytes,json=memTotalBytes" json:"mem_total_bytes,omitempty"` // Total memory + swap usage. This is set if swap is enabled. MemTotalMemswBytes *uint64 `protobuf:"varint,37,opt,name=mem_total_memsw_bytes,json=memTotalMemswBytes" json:"mem_total_memsw_bytes,omitempty"` // Current kernel memory allocation. MemKmemUsageBytes *uint64 `protobuf:"varint,52,opt,name=mem_kmem_usage_bytes,json=memKmemUsageBytes" json:"mem_kmem_usage_bytes,omitempty"` // Current TCP buf memory allocation. MemKmemTcpUsageBytes *uint64 `protobuf:"varint,53,opt,name=mem_kmem_tcp_usage_bytes,json=memKmemTcpUsageBytes" json:"mem_kmem_tcp_usage_bytes,omitempty"` // Hard memory limit. MemLimitBytes *uint64 `protobuf:"varint,6,opt,name=mem_limit_bytes,json=memLimitBytes" json:"mem_limit_bytes,omitempty"` // Soft memory limit. MemSoftLimitBytes *uint64 `protobuf:"varint,38,opt,name=mem_soft_limit_bytes,json=memSoftLimitBytes" json:"mem_soft_limit_bytes,omitempty"` // TODO(chzhcn) mem_file_bytes and mem_anon_bytes are deprecated in // 0.23.0 and will be removed in 0.24.0. MemFileBytes *uint64 `protobuf:"varint,10,opt,name=mem_file_bytes,json=memFileBytes" json:"mem_file_bytes,omitempty"` MemAnonBytes *uint64 `protobuf:"varint,11,opt,name=mem_anon_bytes,json=memAnonBytes" json:"mem_anon_bytes,omitempty"` // mem_cache_bytes is added in 0.23.0 to represent page cache usage. MemCacheBytes *uint64 `protobuf:"varint,39,opt,name=mem_cache_bytes,json=memCacheBytes" json:"mem_cache_bytes,omitempty"` // Since 0.23.0, mem_rss_bytes is changed to represent only // anonymous memory usage. Note that neither its requiredness, type, // name nor numeric tag has been changed. MemRssBytes *uint64 `protobuf:"varint,5,opt,name=mem_rss_bytes,json=memRssBytes" json:"mem_rss_bytes,omitempty"` MemMappedFileBytes *uint64 `protobuf:"varint,12,opt,name=mem_mapped_file_bytes,json=memMappedFileBytes" json:"mem_mapped_file_bytes,omitempty"` // This is only set if swap is enabled. MemSwapBytes *uint64 `protobuf:"varint,40,opt,name=mem_swap_bytes,json=memSwapBytes" json:"mem_swap_bytes,omitempty"` MemUnevictableBytes *uint64 `protobuf:"varint,41,opt,name=mem_unevictable_bytes,json=memUnevictableBytes" json:"mem_unevictable_bytes,omitempty"` // Number of occurrences of different levels of memory pressure // events reported by memory cgroup. Pressure listening (re)starts // with these values set to 0 when agent (re)starts. See // https://www.kernel.org/doc/Documentation/cgroups/memory.txt for // more details. MemLowPressureCounter *uint64 `protobuf:"varint,32,opt,name=mem_low_pressure_counter,json=memLowPressureCounter" json:"mem_low_pressure_counter,omitempty"` MemMediumPressureCounter *uint64 `` /* 132-byte string literal not displayed */ MemCriticalPressureCounter *uint64 `` /* 138-byte string literal not displayed */ // Disk Usage Information for executor working directory. DiskLimitBytes *uint64 `protobuf:"varint,26,opt,name=disk_limit_bytes,json=diskLimitBytes" json:"disk_limit_bytes,omitempty"` DiskUsedBytes *uint64 `protobuf:"varint,27,opt,name=disk_used_bytes,json=diskUsedBytes" json:"disk_used_bytes,omitempty"` // Per disk (resource) statistics. DiskStatistics []*DiskStatistics `protobuf:"bytes,43,rep,name=disk_statistics,json=diskStatistics" json:"disk_statistics,omitempty"` // Cgroups blkio statistics. BlkioStatistics *CgroupInfo_Blkio_Statistics `protobuf:"bytes,44,opt,name=blkio_statistics,json=blkioStatistics" json:"blkio_statistics,omitempty"` // Perf statistics. Perf *PerfStatistics `protobuf:"bytes,13,opt,name=perf" json:"perf,omitempty"` // Network Usage Information: NetRxPackets *uint64 `protobuf:"varint,14,opt,name=net_rx_packets,json=netRxPackets" json:"net_rx_packets,omitempty"` NetRxBytes *uint64 `protobuf:"varint,15,opt,name=net_rx_bytes,json=netRxBytes" json:"net_rx_bytes,omitempty"` NetRxErrors *uint64 `protobuf:"varint,16,opt,name=net_rx_errors,json=netRxErrors" json:"net_rx_errors,omitempty"` NetRxDropped *uint64 `protobuf:"varint,17,opt,name=net_rx_dropped,json=netRxDropped" json:"net_rx_dropped,omitempty"` NetTxPackets *uint64 `protobuf:"varint,18,opt,name=net_tx_packets,json=netTxPackets" json:"net_tx_packets,omitempty"` NetTxBytes *uint64 `protobuf:"varint,19,opt,name=net_tx_bytes,json=netTxBytes" json:"net_tx_bytes,omitempty"` NetTxErrors *uint64 `protobuf:"varint,20,opt,name=net_tx_errors,json=netTxErrors" json:"net_tx_errors,omitempty"` NetTxDropped *uint64 `protobuf:"varint,21,opt,name=net_tx_dropped,json=netTxDropped" json:"net_tx_dropped,omitempty"` NetTxRateLimit *uint64 `protobuf:"varint,46,opt,name=net_tx_rate_limit,json=netTxRateLimit" json:"net_tx_rate_limit,omitempty"` NetTxBurstRateLimit *uint64 `protobuf:"varint,47,opt,name=net_tx_burst_rate_limit,json=netTxBurstRateLimit" json:"net_tx_burst_rate_limit,omitempty"` NetTxBurstSize *uint64 `protobuf:"varint,48,opt,name=net_tx_burst_size,json=netTxBurstSize" json:"net_tx_burst_size,omitempty"` NetRxRateLimit *uint64 `protobuf:"varint,49,opt,name=net_rx_rate_limit,json=netRxRateLimit" json:"net_rx_rate_limit,omitempty"` NetRxBurstRateLimit *uint64 `protobuf:"varint,50,opt,name=net_rx_burst_rate_limit,json=netRxBurstRateLimit" json:"net_rx_burst_rate_limit,omitempty"` NetRxBurstSize *uint64 `protobuf:"varint,51,opt,name=net_rx_burst_size,json=netRxBurstSize" json:"net_rx_burst_size,omitempty"` NetRateStatistics *ResourceStatistics_RateStatistics `protobuf:"bytes,54,opt,name=net_rate_statistics,json=netRateStatistics" json:"net_rate_statistics,omitempty"` // Inclusive ephemeral ports range of the container. NetEphemeralPorts *Value_Range `protobuf:"bytes,55,opt,name=net_ephemeral_ports,json=netEphemeralPorts" json:"net_ephemeral_ports,omitempty"` // The kernel keeps track of RTT (round-trip time) for its TCP // sockets. RTT is a way to tell the latency of a container. NetTcpRttMicrosecsP50 *float64 `` /* 126-byte string literal not displayed */ NetTcpRttMicrosecsP90 *float64 `` /* 126-byte string literal not displayed */ NetTcpRttMicrosecsP95 *float64 `` /* 126-byte string literal not displayed */ NetTcpRttMicrosecsP99 *float64 `` /* 126-byte string literal not displayed */ NetTcpActiveConnections *float64 `` /* 130-byte string literal not displayed */ NetTcpTimeWaitConnections *float64 `` /* 138-byte string literal not displayed */ // Network traffic flowing into or out of a container can be delayed // or dropped due to congestion or policy inside and outside the // container. NetTrafficControlStatistics []*TrafficControlStatistics `` /* 140-byte string literal not displayed */ // Network SNMP statistics for each container. NetSnmpStatistics *SNMPStatistics `protobuf:"bytes,42,opt,name=net_snmp_statistics,json=netSnmpStatistics" json:"net_snmp_statistics,omitempty"` // contains filtered or unexported fields }
* A snapshot of resource usage statistics.
func (*ResourceStatistics) Descriptor
deprecated
func (*ResourceStatistics) Descriptor() ([]byte, []int)
Deprecated: Use ResourceStatistics.ProtoReflect.Descriptor instead.
func (*ResourceStatistics) GetBlkioStatistics ¶
func (x *ResourceStatistics) GetBlkioStatistics() *CgroupInfo_Blkio_Statistics
func (*ResourceStatistics) GetCpusLimit ¶ added in v1.1.0
func (x *ResourceStatistics) GetCpusLimit() float64
func (*ResourceStatistics) GetCpusNrPeriods ¶ added in v1.1.0
func (x *ResourceStatistics) GetCpusNrPeriods() uint32
func (*ResourceStatistics) GetCpusNrThrottled ¶ added in v1.1.0
func (x *ResourceStatistics) GetCpusNrThrottled() uint32
func (*ResourceStatistics) GetCpusSoftLimit ¶ added in v1.1.0
func (x *ResourceStatistics) GetCpusSoftLimit() float64
func (*ResourceStatistics) GetCpusSystemTimeSecs ¶ added in v1.1.0
func (x *ResourceStatistics) GetCpusSystemTimeSecs() float64
func (*ResourceStatistics) GetCpusThrottledTimeSecs ¶ added in v1.1.0
func (x *ResourceStatistics) GetCpusThrottledTimeSecs() float64
func (*ResourceStatistics) GetCpusUserTimeSecs ¶ added in v1.1.0
func (x *ResourceStatistics) GetCpusUserTimeSecs() float64
func (*ResourceStatistics) GetDiskLimitBytes ¶
func (x *ResourceStatistics) GetDiskLimitBytes() uint64
func (*ResourceStatistics) GetDiskStatistics ¶
func (x *ResourceStatistics) GetDiskStatistics() []*DiskStatistics
func (*ResourceStatistics) GetDiskUsedBytes ¶
func (x *ResourceStatistics) GetDiskUsedBytes() uint64
func (*ResourceStatistics) GetMemAnonBytes ¶
func (x *ResourceStatistics) GetMemAnonBytes() uint64
func (*ResourceStatistics) GetMemCacheBytes ¶
func (x *ResourceStatistics) GetMemCacheBytes() uint64
func (*ResourceStatistics) GetMemCriticalPressureCounter ¶
func (x *ResourceStatistics) GetMemCriticalPressureCounter() uint64
func (*ResourceStatistics) GetMemFileBytes ¶
func (x *ResourceStatistics) GetMemFileBytes() uint64
func (*ResourceStatistics) GetMemKmemTcpUsageBytes ¶ added in v1.1.0
func (x *ResourceStatistics) GetMemKmemTcpUsageBytes() uint64
func (*ResourceStatistics) GetMemKmemUsageBytes ¶ added in v1.1.0
func (x *ResourceStatistics) GetMemKmemUsageBytes() uint64
func (*ResourceStatistics) GetMemLimitBytes ¶
func (x *ResourceStatistics) GetMemLimitBytes() uint64
func (*ResourceStatistics) GetMemLowPressureCounter ¶
func (x *ResourceStatistics) GetMemLowPressureCounter() uint64
func (*ResourceStatistics) GetMemMappedFileBytes ¶
func (x *ResourceStatistics) GetMemMappedFileBytes() uint64
func (*ResourceStatistics) GetMemMediumPressureCounter ¶
func (x *ResourceStatistics) GetMemMediumPressureCounter() uint64
func (*ResourceStatistics) GetMemRssBytes ¶ added in v1.1.0
func (x *ResourceStatistics) GetMemRssBytes() uint64
func (*ResourceStatistics) GetMemSoftLimitBytes ¶
func (x *ResourceStatistics) GetMemSoftLimitBytes() uint64
func (*ResourceStatistics) GetMemSwapBytes ¶
func (x *ResourceStatistics) GetMemSwapBytes() uint64
func (*ResourceStatistics) GetMemTotalBytes ¶
func (x *ResourceStatistics) GetMemTotalBytes() uint64
func (*ResourceStatistics) GetMemTotalMemswBytes ¶
func (x *ResourceStatistics) GetMemTotalMemswBytes() uint64
func (*ResourceStatistics) GetMemUnevictableBytes ¶
func (x *ResourceStatistics) GetMemUnevictableBytes() uint64
func (*ResourceStatistics) GetNetEphemeralPorts ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetEphemeralPorts() *Value_Range
func (*ResourceStatistics) GetNetRateStatistics ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetRateStatistics() *ResourceStatistics_RateStatistics
func (*ResourceStatistics) GetNetRxBurstRateLimit ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetRxBurstRateLimit() uint64
func (*ResourceStatistics) GetNetRxBurstSize ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetRxBurstSize() uint64
func (*ResourceStatistics) GetNetRxBytes ¶
func (x *ResourceStatistics) GetNetRxBytes() uint64
func (*ResourceStatistics) GetNetRxDropped ¶
func (x *ResourceStatistics) GetNetRxDropped() uint64
func (*ResourceStatistics) GetNetRxErrors ¶
func (x *ResourceStatistics) GetNetRxErrors() uint64
func (*ResourceStatistics) GetNetRxPackets ¶
func (x *ResourceStatistics) GetNetRxPackets() uint64
func (*ResourceStatistics) GetNetRxRateLimit ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetRxRateLimit() uint64
func (*ResourceStatistics) GetNetSnmpStatistics ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetSnmpStatistics() *SNMPStatistics
func (*ResourceStatistics) GetNetTcpActiveConnections ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetTcpActiveConnections() float64
func (*ResourceStatistics) GetNetTcpRttMicrosecsP50 ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetTcpRttMicrosecsP50() float64
func (*ResourceStatistics) GetNetTcpRttMicrosecsP90 ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetTcpRttMicrosecsP90() float64
func (*ResourceStatistics) GetNetTcpRttMicrosecsP95 ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetTcpRttMicrosecsP95() float64
func (*ResourceStatistics) GetNetTcpRttMicrosecsP99 ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetTcpRttMicrosecsP99() float64
func (*ResourceStatistics) GetNetTcpTimeWaitConnections ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetTcpTimeWaitConnections() float64
func (*ResourceStatistics) GetNetTrafficControlStatistics ¶
func (x *ResourceStatistics) GetNetTrafficControlStatistics() []*TrafficControlStatistics
func (*ResourceStatistics) GetNetTxBurstRateLimit ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetTxBurstRateLimit() uint64
func (*ResourceStatistics) GetNetTxBurstSize ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetTxBurstSize() uint64
func (*ResourceStatistics) GetNetTxBytes ¶
func (x *ResourceStatistics) GetNetTxBytes() uint64
func (*ResourceStatistics) GetNetTxDropped ¶
func (x *ResourceStatistics) GetNetTxDropped() uint64
func (*ResourceStatistics) GetNetTxErrors ¶
func (x *ResourceStatistics) GetNetTxErrors() uint64
func (*ResourceStatistics) GetNetTxPackets ¶
func (x *ResourceStatistics) GetNetTxPackets() uint64
func (*ResourceStatistics) GetNetTxRateLimit ¶ added in v1.1.0
func (x *ResourceStatistics) GetNetTxRateLimit() uint64
func (*ResourceStatistics) GetPerf ¶
func (x *ResourceStatistics) GetPerf() *PerfStatistics
func (*ResourceStatistics) GetProcesses ¶
func (x *ResourceStatistics) GetProcesses() uint32
func (*ResourceStatistics) GetThreads ¶
func (x *ResourceStatistics) GetThreads() uint32
func (*ResourceStatistics) GetTimestamp ¶
func (x *ResourceStatistics) GetTimestamp() float64
func (*ResourceStatistics) ProtoMessage ¶
func (*ResourceStatistics) ProtoMessage()
func (*ResourceStatistics) ProtoReflect ¶ added in v1.1.0
func (x *ResourceStatistics) ProtoReflect() protoreflect.Message
func (*ResourceStatistics) Reset ¶
func (x *ResourceStatistics) Reset()
func (*ResourceStatistics) String ¶
func (x *ResourceStatistics) String() string
type ResourceStatistics_RatePercentiles ¶ added in v1.1.0
type ResourceStatistics_RatePercentiles struct { Min *uint64 `protobuf:"varint,1,opt,name=min" json:"min,omitempty"` Max *uint64 `protobuf:"varint,2,opt,name=max" json:"max,omitempty"` P50 *uint64 `protobuf:"varint,3,opt,name=p50" json:"p50,omitempty"` P90 *uint64 `protobuf:"varint,4,opt,name=p90" json:"p90,omitempty"` P95 *uint64 `protobuf:"varint,5,opt,name=p95" json:"p95,omitempty"` P99 *uint64 `protobuf:"varint,6,opt,name=p99" json:"p99,omitempty"` P999 *uint64 `protobuf:"varint,7,opt,name=p999" json:"p999,omitempty"` P9999 *uint64 `protobuf:"varint,8,opt,name=p9999" json:"p9999,omitempty"` Samples *uint64 `protobuf:"varint,9,opt,name=samples" json:"samples,omitempty"` // contains filtered or unexported fields }
func (*ResourceStatistics_RatePercentiles) Descriptor
deprecated
added in
v1.1.0
func (*ResourceStatistics_RatePercentiles) Descriptor() ([]byte, []int)
Deprecated: Use ResourceStatistics_RatePercentiles.ProtoReflect.Descriptor instead.
func (*ResourceStatistics_RatePercentiles) GetMax ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) GetMax() uint64
func (*ResourceStatistics_RatePercentiles) GetMin ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) GetMin() uint64
func (*ResourceStatistics_RatePercentiles) GetP50 ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) GetP50() uint64
func (*ResourceStatistics_RatePercentiles) GetP90 ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) GetP90() uint64
func (*ResourceStatistics_RatePercentiles) GetP95 ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) GetP95() uint64
func (*ResourceStatistics_RatePercentiles) GetP99 ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) GetP99() uint64
func (*ResourceStatistics_RatePercentiles) GetP999 ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) GetP999() uint64
func (*ResourceStatistics_RatePercentiles) GetP9999 ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) GetP9999() uint64
func (*ResourceStatistics_RatePercentiles) GetSamples ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) GetSamples() uint64
func (*ResourceStatistics_RatePercentiles) ProtoMessage ¶ added in v1.1.0
func (*ResourceStatistics_RatePercentiles) ProtoMessage()
func (*ResourceStatistics_RatePercentiles) ProtoReflect ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) ProtoReflect() protoreflect.Message
func (*ResourceStatistics_RatePercentiles) Reset ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) Reset()
func (*ResourceStatistics_RatePercentiles) String ¶ added in v1.1.0
func (x *ResourceStatistics_RatePercentiles) String() string
type ResourceStatistics_RateStatistics ¶ added in v1.1.0
type ResourceStatistics_RateStatistics struct { // Bytes received per second. RxRate *ResourceStatistics_RatePercentiles `protobuf:"bytes,1,opt,name=rx_rate,json=rxRate" json:"rx_rate,omitempty"` // Packets received per second. RxPacketRate *ResourceStatistics_RatePercentiles `protobuf:"bytes,2,opt,name=rx_packet_rate,json=rxPacketRate" json:"rx_packet_rate,omitempty"` // Received packets dropped per second. RxDropRate *ResourceStatistics_RatePercentiles `protobuf:"bytes,3,opt,name=rx_drop_rate,json=rxDropRate" json:"rx_drop_rate,omitempty"` // Receiving packet errors per second. RxErrorRate *ResourceStatistics_RatePercentiles `protobuf:"bytes,4,opt,name=rx_error_rate,json=rxErrorRate" json:"rx_error_rate,omitempty"` // Bytes sent per second. TxRate *ResourceStatistics_RatePercentiles `protobuf:"bytes,5,opt,name=tx_rate,json=txRate" json:"tx_rate,omitempty"` // Packets sent per second. TxPacketRate *ResourceStatistics_RatePercentiles `protobuf:"bytes,6,opt,name=tx_packet_rate,json=txPacketRate" json:"tx_packet_rate,omitempty"` // Send packets dropped per second. TxDropRate *ResourceStatistics_RatePercentiles `protobuf:"bytes,7,opt,name=tx_drop_rate,json=txDropRate" json:"tx_drop_rate,omitempty"` // Sending packet errors per second. TxErrorRate *ResourceStatistics_RatePercentiles `protobuf:"bytes,8,opt,name=tx_error_rate,json=txErrorRate" json:"tx_error_rate,omitempty"` // Duration of the sliding time series window. SamplingWindowSecs *float64 `protobuf:"fixed64,9,opt,name=sampling_window_secs,json=samplingWindowSecs" json:"sampling_window_secs,omitempty"` // The delay between rate samples. SamplingIntervalSecs *float64 `protobuf:"fixed64,10,opt,name=sampling_interval_secs,json=samplingIntervalSecs" json:"sampling_interval_secs,omitempty"` // contains filtered or unexported fields }
Network rate statistics measured in bytes per second or packets per second.
Rates are sampled every {sampling_interval_secs}. A time series is created out of the samples taken over a moving sampling window of {sampling_window_secs}. Percentiles for each time series are exposed through RatePercentiles.
Linux documentation for more information: https://docs.kernel.org/networking/statistics.html#c.rtnl_link_stats64
func (*ResourceStatistics_RateStatistics) Descriptor
deprecated
added in
v1.1.0
func (*ResourceStatistics_RateStatistics) Descriptor() ([]byte, []int)
Deprecated: Use ResourceStatistics_RateStatistics.ProtoReflect.Descriptor instead.
func (*ResourceStatistics_RateStatistics) GetRxDropRate ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) GetRxDropRate() *ResourceStatistics_RatePercentiles
func (*ResourceStatistics_RateStatistics) GetRxErrorRate ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) GetRxErrorRate() *ResourceStatistics_RatePercentiles
func (*ResourceStatistics_RateStatistics) GetRxPacketRate ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) GetRxPacketRate() *ResourceStatistics_RatePercentiles
func (*ResourceStatistics_RateStatistics) GetRxRate ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) GetRxRate() *ResourceStatistics_RatePercentiles
func (*ResourceStatistics_RateStatistics) GetSamplingIntervalSecs ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) GetSamplingIntervalSecs() float64
func (*ResourceStatistics_RateStatistics) GetSamplingWindowSecs ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) GetSamplingWindowSecs() float64
func (*ResourceStatistics_RateStatistics) GetTxDropRate ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) GetTxDropRate() *ResourceStatistics_RatePercentiles
func (*ResourceStatistics_RateStatistics) GetTxErrorRate ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) GetTxErrorRate() *ResourceStatistics_RatePercentiles
func (*ResourceStatistics_RateStatistics) GetTxPacketRate ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) GetTxPacketRate() *ResourceStatistics_RatePercentiles
func (*ResourceStatistics_RateStatistics) GetTxRate ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) GetTxRate() *ResourceStatistics_RatePercentiles
func (*ResourceStatistics_RateStatistics) ProtoMessage ¶ added in v1.1.0
func (*ResourceStatistics_RateStatistics) ProtoMessage()
func (*ResourceStatistics_RateStatistics) ProtoReflect ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) ProtoReflect() protoreflect.Message
func (*ResourceStatistics_RateStatistics) Reset ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) Reset()
func (*ResourceStatistics_RateStatistics) String ¶ added in v1.1.0
func (x *ResourceStatistics_RateStatistics) String() string
type ResourceUsage ¶
type ResourceUsage struct { Executors []*ResourceUsage_Executor `protobuf:"bytes,1,rep,name=executors" json:"executors,omitempty"` // Agent's total resources including checkpointed dynamic // reservations and persistent volumes. Total []*Resource `protobuf:"bytes,2,rep,name=total" json:"total,omitempty"` // contains filtered or unexported fields }
* Describes a snapshot of the resource usage for executors.
func (*ResourceUsage) Descriptor
deprecated
func (*ResourceUsage) Descriptor() ([]byte, []int)
Deprecated: Use ResourceUsage.ProtoReflect.Descriptor instead.
func (*ResourceUsage) GetExecutors ¶
func (x *ResourceUsage) GetExecutors() []*ResourceUsage_Executor
func (*ResourceUsage) GetTotal ¶
func (x *ResourceUsage) GetTotal() []*Resource
func (*ResourceUsage) ProtoMessage ¶
func (*ResourceUsage) ProtoMessage()
func (*ResourceUsage) ProtoReflect ¶ added in v1.1.0
func (x *ResourceUsage) ProtoReflect() protoreflect.Message
func (*ResourceUsage) Reset ¶
func (x *ResourceUsage) Reset()
func (*ResourceUsage) String ¶
func (x *ResourceUsage) String() string
type ResourceUsage_Executor ¶
type ResourceUsage_Executor struct { ExecutorInfo *ExecutorInfo `protobuf:"bytes,1,req,name=executor_info,json=executorInfo" 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=containerId" json:"container_id,omitempty"` // Non-terminal tasks. Tasks []*ResourceUsage_Executor_Task `protobuf:"bytes,5,rep,name=tasks" json:"tasks,omitempty"` // contains filtered or unexported fields }
func (*ResourceUsage_Executor) Descriptor
deprecated
func (*ResourceUsage_Executor) Descriptor() ([]byte, []int)
Deprecated: Use ResourceUsage_Executor.ProtoReflect.Descriptor instead.
func (*ResourceUsage_Executor) GetAllocated ¶
func (x *ResourceUsage_Executor) GetAllocated() []*Resource
func (*ResourceUsage_Executor) GetContainerId ¶ added in v1.1.0
func (x *ResourceUsage_Executor) GetContainerId() *ContainerID
func (*ResourceUsage_Executor) GetExecutorInfo ¶
func (x *ResourceUsage_Executor) GetExecutorInfo() *ExecutorInfo
func (*ResourceUsage_Executor) GetStatistics ¶
func (x *ResourceUsage_Executor) GetStatistics() *ResourceStatistics
func (*ResourceUsage_Executor) GetTasks ¶
func (x *ResourceUsage_Executor) GetTasks() []*ResourceUsage_Executor_Task
func (*ResourceUsage_Executor) ProtoMessage ¶
func (*ResourceUsage_Executor) ProtoMessage()
func (*ResourceUsage_Executor) ProtoReflect ¶ added in v1.1.0
func (x *ResourceUsage_Executor) ProtoReflect() protoreflect.Message
func (*ResourceUsage_Executor) Reset ¶
func (x *ResourceUsage_Executor) Reset()
func (*ResourceUsage_Executor) String ¶
func (x *ResourceUsage_Executor) String() string
type ResourceUsage_Executor_Task ¶
type ResourceUsage_Executor_Task struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Id *TaskID `protobuf:"bytes,2,req,name=id" json:"id,omitempty"` Resources []*Resource `protobuf:"bytes,3,rep,name=resources" json:"resources,omitempty"` Labels *Labels `protobuf:"bytes,4,opt,name=labels" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*ResourceUsage_Executor_Task) Descriptor
deprecated
func (*ResourceUsage_Executor_Task) Descriptor() ([]byte, []int)
Deprecated: Use ResourceUsage_Executor_Task.ProtoReflect.Descriptor instead.
func (*ResourceUsage_Executor_Task) GetId ¶ added in v1.1.0
func (x *ResourceUsage_Executor_Task) GetId() *TaskID
func (*ResourceUsage_Executor_Task) GetLabels ¶
func (x *ResourceUsage_Executor_Task) GetLabels() *Labels
func (*ResourceUsage_Executor_Task) GetName ¶
func (x *ResourceUsage_Executor_Task) GetName() string
func (*ResourceUsage_Executor_Task) GetResources ¶
func (x *ResourceUsage_Executor_Task) GetResources() []*Resource
func (*ResourceUsage_Executor_Task) ProtoMessage ¶
func (*ResourceUsage_Executor_Task) ProtoMessage()
func (*ResourceUsage_Executor_Task) ProtoReflect ¶ added in v1.1.0
func (x *ResourceUsage_Executor_Task) ProtoReflect() protoreflect.Message
func (*ResourceUsage_Executor_Task) Reset ¶
func (x *ResourceUsage_Executor_Task) Reset()
func (*ResourceUsage_Executor_Task) String ¶
func (x *ResourceUsage_Executor_Task) String() string
type Resource_AllocationInfo ¶
type Resource_AllocationInfo struct { // If set, this resource is allocated to a role. Note that in the // future, this may be unset and the scheduler may be responsible // for allocating to one of its roles. Role *string `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"` // contains filtered or unexported fields }
This was initially introduced to support MULTI_ROLE capable frameworks. Frameworks that are not MULTI_ROLE capable can continue to assume that the offered resources are allocated to their role.
func (*Resource_AllocationInfo) Descriptor
deprecated
func (*Resource_AllocationInfo) Descriptor() ([]byte, []int)
Deprecated: Use Resource_AllocationInfo.ProtoReflect.Descriptor instead.
func (*Resource_AllocationInfo) GetRole ¶
func (x *Resource_AllocationInfo) GetRole() string
func (*Resource_AllocationInfo) ProtoMessage ¶
func (*Resource_AllocationInfo) ProtoMessage()
func (*Resource_AllocationInfo) ProtoReflect ¶ added in v1.1.0
func (x *Resource_AllocationInfo) ProtoReflect() protoreflect.Message
func (*Resource_AllocationInfo) Reset ¶
func (x *Resource_AllocationInfo) Reset()
func (*Resource_AllocationInfo) String ¶
func (x *Resource_AllocationInfo) String() string
type Resource_DiskInfo ¶
type Resource_DiskInfo struct { Persistence *Resource_DiskInfo_Persistence `protobuf:"bytes,1,opt,name=persistence" json:"persistence,omitempty"` // Describes how this disk resource will be mounted in the // container. If not set, the disk resource will be used as the // sandbox. Otherwise, it will be mounted according to the // 'container_path' inside 'volume'. The 'host_path' inside // 'volume' is ignored. // NOTE: If 'volume' is set but 'persistence' is not set, the // volume will be automatically garbage collected after // task/executor terminates. Currently, if 'persistence' is set, // 'volume' must be set. Volume *Volume `protobuf:"bytes,2,opt,name=volume" json:"volume,omitempty"` Source *Resource_DiskInfo_Source `protobuf:"bytes,3,opt,name=source" json:"source,omitempty"` // contains filtered or unexported fields }
func (*Resource_DiskInfo) Descriptor
deprecated
func (*Resource_DiskInfo) Descriptor() ([]byte, []int)
Deprecated: Use Resource_DiskInfo.ProtoReflect.Descriptor instead.
func (*Resource_DiskInfo) GetPersistence ¶
func (x *Resource_DiskInfo) GetPersistence() *Resource_DiskInfo_Persistence
func (*Resource_DiskInfo) GetSource ¶
func (x *Resource_DiskInfo) GetSource() *Resource_DiskInfo_Source
func (*Resource_DiskInfo) GetVolume ¶
func (x *Resource_DiskInfo) GetVolume() *Volume
func (*Resource_DiskInfo) ProtoMessage ¶
func (*Resource_DiskInfo) ProtoMessage()
func (*Resource_DiskInfo) ProtoReflect ¶ added in v1.1.0
func (x *Resource_DiskInfo) ProtoReflect() protoreflect.Message
func (*Resource_DiskInfo) Reset ¶
func (x *Resource_DiskInfo) Reset()
func (*Resource_DiskInfo) String ¶
func (x *Resource_DiskInfo) String() string
type Resource_DiskInfo_Persistence ¶
type Resource_DiskInfo_Persistence struct { // A unique ID for the persistent disk volume. This ID must be // unique per role on each agent. Although it is possible to use // the same ID on different agents in the cluster and to reuse // IDs after a volume with that ID has been destroyed, both // practices are discouraged. Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` // This field indicates the principal of the operator or // framework that created this volume. It is used in conjunction // with the "destroy" ACL to determine whether an entity // attempting to destroy the volume is permitted to do so. // // NOTE: This field should match the FrameworkInfo.principal of // the framework that created the volume. Principal *string `protobuf:"bytes,2,opt,name=principal" json:"principal,omitempty"` // contains filtered or unexported fields }
Describes a persistent disk volume.
A persistent disk volume will not be automatically garbage collected if the task/executor/agent terminates, but will be re-offered to the framework(s) belonging to the 'role'.
NOTE: Currently, we do not allow persistent disk volumes without a reservation (i.e., 'role' cannot be '*').
func (*Resource_DiskInfo_Persistence) Descriptor
deprecated
func (*Resource_DiskInfo_Persistence) Descriptor() ([]byte, []int)
Deprecated: Use Resource_DiskInfo_Persistence.ProtoReflect.Descriptor instead.
func (*Resource_DiskInfo_Persistence) GetId ¶ added in v1.1.0
func (x *Resource_DiskInfo_Persistence) GetId() string
func (*Resource_DiskInfo_Persistence) GetPrincipal ¶
func (x *Resource_DiskInfo_Persistence) GetPrincipal() string
func (*Resource_DiskInfo_Persistence) ProtoMessage ¶
func (*Resource_DiskInfo_Persistence) ProtoMessage()
func (*Resource_DiskInfo_Persistence) ProtoReflect ¶ added in v1.1.0
func (x *Resource_DiskInfo_Persistence) ProtoReflect() protoreflect.Message
func (*Resource_DiskInfo_Persistence) Reset ¶
func (x *Resource_DiskInfo_Persistence) Reset()
func (*Resource_DiskInfo_Persistence) String ¶
func (x *Resource_DiskInfo_Persistence) String() string
type Resource_DiskInfo_Source ¶
type Resource_DiskInfo_Source struct { Type *Resource_DiskInfo_Source_Type `protobuf:"varint,1,req,name=type,enum=mesos.v1.Resource_DiskInfo_Source_Type" json:"type,omitempty"` Path *Resource_DiskInfo_Source_Path `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` Mount *Resource_DiskInfo_Source_Mount `protobuf:"bytes,3,opt,name=mount" json:"mount,omitempty"` // The vendor of this source. If present, this field provides the means to // uniquely identify the storage backend of this source in the cluster. Vendor *string `protobuf:"bytes,7,opt,name=vendor" json:"vendor,omitempty"` // EXPERIMENTAL. // The identifier of this source. This field maps onto CSI volume IDs and // is not expected to be set by frameworks. If both `vendor` and `id` are // present, these two fields together provide the means to uniquely // identify this source in the cluster. Id *string `protobuf:"bytes,4,opt,name=id" json:"id,omitempty"` // EXPERIMENTAL. // Additional metadata for this source. This field maps onto CSI volume // context. Frameworks should neither alter this field, nor expect this // field to remain unchanged. Metadata *Labels `protobuf:"bytes,5,opt,name=metadata" json:"metadata,omitempty"` // EXPERIMENTAL. // This field serves as an indirection to a set of storage // vendor specific disk parameters which describe the properties // of the disk. The operator will setup mappings between a // profile name to a set of vendor specific disk parameters. And // the framework will do disk selection based on profile names, // instead of vendor specific disk parameters. // // Also see the DiskProfileAdaptor module. Profile *string `protobuf:"bytes,6,opt,name=profile" json:"profile,omitempty"` // EXPERIMENTAL. // contains filtered or unexported fields }
Describes where a disk originates from.
func (*Resource_DiskInfo_Source) Descriptor
deprecated
func (*Resource_DiskInfo_Source) Descriptor() ([]byte, []int)
Deprecated: Use Resource_DiskInfo_Source.ProtoReflect.Descriptor instead.
func (*Resource_DiskInfo_Source) GetId ¶ added in v1.1.0
func (x *Resource_DiskInfo_Source) GetId() string
func (*Resource_DiskInfo_Source) GetMetadata ¶
func (x *Resource_DiskInfo_Source) GetMetadata() *Labels
func (*Resource_DiskInfo_Source) GetMount ¶
func (x *Resource_DiskInfo_Source) GetMount() *Resource_DiskInfo_Source_Mount
func (*Resource_DiskInfo_Source) GetPath ¶
func (x *Resource_DiskInfo_Source) GetPath() *Resource_DiskInfo_Source_Path
func (*Resource_DiskInfo_Source) GetProfile ¶
func (x *Resource_DiskInfo_Source) GetProfile() string
func (*Resource_DiskInfo_Source) GetType ¶
func (x *Resource_DiskInfo_Source) GetType() Resource_DiskInfo_Source_Type
func (*Resource_DiskInfo_Source) GetVendor ¶
func (x *Resource_DiskInfo_Source) GetVendor() string
func (*Resource_DiskInfo_Source) ProtoMessage ¶
func (*Resource_DiskInfo_Source) ProtoMessage()
func (*Resource_DiskInfo_Source) ProtoReflect ¶ added in v1.1.0
func (x *Resource_DiskInfo_Source) ProtoReflect() protoreflect.Message
func (*Resource_DiskInfo_Source) Reset ¶
func (x *Resource_DiskInfo_Source) Reset()
func (*Resource_DiskInfo_Source) String ¶
func (x *Resource_DiskInfo_Source) String() string
type Resource_DiskInfo_Source_Mount ¶
type Resource_DiskInfo_Source_Mount struct { // Path to mount point (e.g., /mnt/raid/disk0). If the path is a // relative path, it is relative to the agent work directory. Root *string `protobuf:"bytes,1,opt,name=root" json:"root,omitempty"` // contains filtered or unexported fields }
A mounted file-system set up by the Agent administrator. This can only be used exclusively: a framework cannot accept a partial amount of this disk.
func (*Resource_DiskInfo_Source_Mount) Descriptor
deprecated
func (*Resource_DiskInfo_Source_Mount) Descriptor() ([]byte, []int)
Deprecated: Use Resource_DiskInfo_Source_Mount.ProtoReflect.Descriptor instead.
func (*Resource_DiskInfo_Source_Mount) GetRoot ¶
func (x *Resource_DiskInfo_Source_Mount) GetRoot() string
func (*Resource_DiskInfo_Source_Mount) ProtoMessage ¶
func (*Resource_DiskInfo_Source_Mount) ProtoMessage()
func (*Resource_DiskInfo_Source_Mount) ProtoReflect ¶ added in v1.1.0
func (x *Resource_DiskInfo_Source_Mount) ProtoReflect() protoreflect.Message
func (*Resource_DiskInfo_Source_Mount) Reset ¶
func (x *Resource_DiskInfo_Source_Mount) Reset()
func (*Resource_DiskInfo_Source_Mount) String ¶
func (x *Resource_DiskInfo_Source_Mount) String() string
type Resource_DiskInfo_Source_Path ¶
type Resource_DiskInfo_Source_Path struct { // Path to the folder (e.g., /mnt/raid/disk0). If the path is a // relative path, it is relative to the agent work directory. Root *string `protobuf:"bytes,1,opt,name=root" json:"root,omitempty"` // contains filtered or unexported fields }
A folder that can be located on a separate disk device. This can be shared and carved up as necessary between frameworks.
func (*Resource_DiskInfo_Source_Path) Descriptor
deprecated
func (*Resource_DiskInfo_Source_Path) Descriptor() ([]byte, []int)
Deprecated: Use Resource_DiskInfo_Source_Path.ProtoReflect.Descriptor instead.
func (*Resource_DiskInfo_Source_Path) GetRoot ¶
func (x *Resource_DiskInfo_Source_Path) GetRoot() string
func (*Resource_DiskInfo_Source_Path) ProtoMessage ¶
func (*Resource_DiskInfo_Source_Path) ProtoMessage()
func (*Resource_DiskInfo_Source_Path) ProtoReflect ¶ added in v1.1.0
func (x *Resource_DiskInfo_Source_Path) ProtoReflect() protoreflect.Message
func (*Resource_DiskInfo_Source_Path) Reset ¶
func (x *Resource_DiskInfo_Source_Path) Reset()
func (*Resource_DiskInfo_Source_Path) String ¶
func (x *Resource_DiskInfo_Source_Path) String() string
type Resource_DiskInfo_Source_Type ¶
type Resource_DiskInfo_Source_Type int32
const ( Resource_DiskInfo_Source_UNKNOWN Resource_DiskInfo_Source_Type = 0 Resource_DiskInfo_Source_PATH Resource_DiskInfo_Source_Type = 1 Resource_DiskInfo_Source_MOUNT Resource_DiskInfo_Source_Type = 2 Resource_DiskInfo_Source_BLOCK Resource_DiskInfo_Source_Type = 3 Resource_DiskInfo_Source_RAW Resource_DiskInfo_Source_Type = 4 )
func (Resource_DiskInfo_Source_Type) Descriptor ¶ added in v1.1.0
func (Resource_DiskInfo_Source_Type) Descriptor() protoreflect.EnumDescriptor
func (Resource_DiskInfo_Source_Type) Enum ¶
func (x Resource_DiskInfo_Source_Type) Enum() *Resource_DiskInfo_Source_Type
func (Resource_DiskInfo_Source_Type) EnumDescriptor
deprecated
func (Resource_DiskInfo_Source_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Resource_DiskInfo_Source_Type.Descriptor instead.
func (Resource_DiskInfo_Source_Type) Number ¶ added in v1.1.0
func (x Resource_DiskInfo_Source_Type) Number() protoreflect.EnumNumber
func (Resource_DiskInfo_Source_Type) String ¶
func (x Resource_DiskInfo_Source_Type) String() string
func (Resource_DiskInfo_Source_Type) Type ¶ added in v1.1.0
func (Resource_DiskInfo_Source_Type) Type() protoreflect.EnumType
func (*Resource_DiskInfo_Source_Type) UnmarshalJSON
deprecated
func (x *Resource_DiskInfo_Source_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Resource_ReservationInfo ¶
type Resource_ReservationInfo struct { // The type of this reservation. // // NOTE: This field must not be set for `Resource.reservation`. // // See the 'Resource Format' section for more details. Type *Resource_ReservationInfo_Type `protobuf:"varint,4,opt,name=type,enum=mesos.v1.Resource_ReservationInfo_Type" json:"type,omitempty"` // The role to which this reservation is made for. // // NOTE: This field must not be set for `Resource.reservation`. // // See the 'Resource Format' section for more details. Role *string `protobuf:"bytes,3,opt,name=role" json:"role,omitempty"` // Indicates the principal, if any, of the framework or operator // that reserved this resource. If reserved by a framework, the // field should match the `FrameworkInfo.principal`. It is used in // conjunction with the `UnreserveResources` ACL to determine // whether the entity attempting to unreserve this resource is // permitted to do so. Principal *string `protobuf:"bytes,1,opt,name=principal" json:"principal,omitempty"` // Labels are free-form key value pairs that can be used to // associate arbitrary metadata with a reserved resource. For // example, frameworks can use labels to identify the intended // purpose for a portion of the resources the framework has // reserved at a given agent. Labels should not contain duplicate // key-value pairs. Labels *Labels `protobuf:"bytes,2,opt,name=labels" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*Resource_ReservationInfo) Descriptor
deprecated
func (*Resource_ReservationInfo) Descriptor() ([]byte, []int)
Deprecated: Use Resource_ReservationInfo.ProtoReflect.Descriptor instead.
func (*Resource_ReservationInfo) GetLabels ¶
func (x *Resource_ReservationInfo) GetLabels() *Labels
func (*Resource_ReservationInfo) GetPrincipal ¶
func (x *Resource_ReservationInfo) GetPrincipal() string
func (*Resource_ReservationInfo) GetRole ¶
func (x *Resource_ReservationInfo) GetRole() string
func (*Resource_ReservationInfo) GetType ¶
func (x *Resource_ReservationInfo) GetType() Resource_ReservationInfo_Type
func (*Resource_ReservationInfo) ProtoMessage ¶
func (*Resource_ReservationInfo) ProtoMessage()
func (*Resource_ReservationInfo) ProtoReflect ¶ added in v1.1.0
func (x *Resource_ReservationInfo) ProtoReflect() protoreflect.Message
func (*Resource_ReservationInfo) Reset ¶
func (x *Resource_ReservationInfo) Reset()
func (*Resource_ReservationInfo) String ¶
func (x *Resource_ReservationInfo) String() string
type Resource_ReservationInfo_Type ¶
type Resource_ReservationInfo_Type int32
const ( Resource_ReservationInfo_UNKNOWN Resource_ReservationInfo_Type = 0 Resource_ReservationInfo_STATIC Resource_ReservationInfo_Type = 1 Resource_ReservationInfo_DYNAMIC Resource_ReservationInfo_Type = 2 )
func (Resource_ReservationInfo_Type) Descriptor ¶ added in v1.1.0
func (Resource_ReservationInfo_Type) Descriptor() protoreflect.EnumDescriptor
func (Resource_ReservationInfo_Type) Enum ¶
func (x Resource_ReservationInfo_Type) Enum() *Resource_ReservationInfo_Type
func (Resource_ReservationInfo_Type) EnumDescriptor
deprecated
func (Resource_ReservationInfo_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Resource_ReservationInfo_Type.Descriptor instead.
func (Resource_ReservationInfo_Type) Number ¶ added in v1.1.0
func (x Resource_ReservationInfo_Type) Number() protoreflect.EnumNumber
func (Resource_ReservationInfo_Type) String ¶
func (x Resource_ReservationInfo_Type) String() string
func (Resource_ReservationInfo_Type) Type ¶ added in v1.1.0
func (Resource_ReservationInfo_Type) Type() protoreflect.EnumType
func (*Resource_ReservationInfo_Type) UnmarshalJSON
deprecated
func (x *Resource_ReservationInfo_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Resource_RevocableInfo ¶
type Resource_RevocableInfo struct {
// contains filtered or unexported fields
}
func (*Resource_RevocableInfo) Descriptor
deprecated
func (*Resource_RevocableInfo) Descriptor() ([]byte, []int)
Deprecated: Use Resource_RevocableInfo.ProtoReflect.Descriptor instead.
func (*Resource_RevocableInfo) ProtoMessage ¶
func (*Resource_RevocableInfo) ProtoMessage()
func (*Resource_RevocableInfo) ProtoReflect ¶ added in v1.1.0
func (x *Resource_RevocableInfo) ProtoReflect() protoreflect.Message
func (*Resource_RevocableInfo) Reset ¶
func (x *Resource_RevocableInfo) Reset()
func (*Resource_RevocableInfo) String ¶
func (x *Resource_RevocableInfo) String() string
type Resource_SharedInfo ¶
type Resource_SharedInfo struct {
// contains filtered or unexported fields
}
Allow the resource to be shared across tasks.
func (*Resource_SharedInfo) Descriptor
deprecated
func (*Resource_SharedInfo) Descriptor() ([]byte, []int)
Deprecated: Use Resource_SharedInfo.ProtoReflect.Descriptor instead.
func (*Resource_SharedInfo) ProtoMessage ¶
func (*Resource_SharedInfo) ProtoMessage()
func (*Resource_SharedInfo) ProtoReflect ¶ added in v1.1.0
func (x *Resource_SharedInfo) ProtoReflect() protoreflect.Message
func (*Resource_SharedInfo) Reset ¶
func (x *Resource_SharedInfo) Reset()
func (*Resource_SharedInfo) String ¶
func (x *Resource_SharedInfo) String() string
type Response ¶
type Response struct { Type *Response_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.scheduler.Response_Type" json:"type,omitempty"` // DEPRECATED. // // Deprecated: Marked as deprecated in scheduler.proto. ReconcileOperations *Response_ReconcileOperations `protobuf:"bytes,2,opt,name=reconcile_operations,json=reconcileOperations" json:"reconcile_operations,omitempty"` // contains filtered or unexported fields }
* NOTE: After resolution of MESOS-9648, this message is not currently used by Mesos. It is left in place in anticipation of future use.
Synchronous responses for calls made to the scheduler API.
func (*Response) Descriptor
deprecated
func (*Response) GetReconcileOperations
deprecated
func (x *Response) GetReconcileOperations() *Response_ReconcileOperations
Deprecated: Marked as deprecated in scheduler.proto.
func (*Response) GetType ¶
func (x *Response) GetType() Response_Type
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶ added in v1.1.0
func (x *Response) ProtoReflect() protoreflect.Message
type Response_ReconcileOperations ¶
type Response_ReconcileOperations struct { // Deprecated: Marked as deprecated in scheduler.proto. OperationStatuses []*OperationStatus `protobuf:"bytes,1,rep,name=operation_statuses,json=operationStatuses" json:"operation_statuses,omitempty"` // contains filtered or unexported fields }
DEPRECATED.
func (*Response_ReconcileOperations) Descriptor
deprecated
func (*Response_ReconcileOperations) Descriptor() ([]byte, []int)
Deprecated: Use Response_ReconcileOperations.ProtoReflect.Descriptor instead.
func (*Response_ReconcileOperations) GetOperationStatuses
deprecated
func (x *Response_ReconcileOperations) GetOperationStatuses() []*OperationStatus
Deprecated: Marked as deprecated in scheduler.proto.
func (*Response_ReconcileOperations) ProtoMessage ¶
func (*Response_ReconcileOperations) ProtoMessage()
func (*Response_ReconcileOperations) ProtoReflect ¶ added in v1.1.0
func (x *Response_ReconcileOperations) ProtoReflect() protoreflect.Message
func (*Response_ReconcileOperations) Reset ¶
func (x *Response_ReconcileOperations) Reset()
func (*Response_ReconcileOperations) String ¶
func (x *Response_ReconcileOperations) String() string
type Response_Type ¶
type Response_Type int32
Each of the responses of type `FOO` corresponds to `Foo` message below.
const ( Response_UNKNOWN Response_Type = 0 // DEPRECATED. // // See 'ReconcileOperations' below. // // Deprecated: Marked as deprecated in scheduler.proto. Response_RECONCILE_OPERATIONS Response_Type = 1 )
func (Response_Type) Descriptor ¶ added in v1.1.0
func (Response_Type) Descriptor() protoreflect.EnumDescriptor
func (Response_Type) Enum ¶
func (x Response_Type) Enum() *Response_Type
func (Response_Type) EnumDescriptor
deprecated
func (Response_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Response_Type.Descriptor instead.
func (Response_Type) Number ¶ added in v1.1.0
func (x Response_Type) Number() protoreflect.EnumNumber
func (Response_Type) String ¶
func (x Response_Type) String() string
func (Response_Type) Type ¶ added in v1.1.0
func (Response_Type) Type() protoreflect.EnumType
func (*Response_Type) UnmarshalJSON
deprecated
func (x *Response_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Role ¶
type Role struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Weight *float64 `protobuf:"fixed64,2,req,name=weight" json:"weight,omitempty"` Frameworks []*FrameworkID `protobuf:"bytes,3,rep,name=frameworks" json:"frameworks,omitempty"` // TODO(bmahler): Deprecate `resources` and introduce quota, // consumed quota, allocated, offered, and reserved resource // quantity fields. This is blocked by MESOS-9497 since the // computation of these quantities is currently expensive. Resources []*Resource `protobuf:"bytes,4,rep,name=resources" json:"resources,omitempty"` // contains filtered or unexported fields }
* Describes a Role. Roles can be used to specify that certain resources are reserved for the use of one or more frameworks.
func (*Role) Descriptor
deprecated
func (*Role) GetFrameworks ¶
func (x *Role) GetFrameworks() []*FrameworkID
func (*Role) GetResources ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶ added in v1.1.0
func (x *Role) ProtoReflect() protoreflect.Message
type SNMPStatistics ¶
type SNMPStatistics struct { IpStats *IpStatistics `protobuf:"bytes,1,opt,name=ip_stats,json=ipStats" json:"ip_stats,omitempty"` IcmpStats *IcmpStatistics `protobuf:"bytes,2,opt,name=icmp_stats,json=icmpStats" json:"icmp_stats,omitempty"` TcpStats *TcpStatistics `protobuf:"bytes,3,opt,name=tcp_stats,json=tcpStats" json:"tcp_stats,omitempty"` UdpStats *UdpStatistics `protobuf:"bytes,4,opt,name=udp_stats,json=udpStats" json:"udp_stats,omitempty"` // contains filtered or unexported fields }
func (*SNMPStatistics) Descriptor
deprecated
func (*SNMPStatistics) Descriptor() ([]byte, []int)
Deprecated: Use SNMPStatistics.ProtoReflect.Descriptor instead.
func (*SNMPStatistics) GetIcmpStats ¶ added in v1.1.0
func (x *SNMPStatistics) GetIcmpStats() *IcmpStatistics
func (*SNMPStatistics) GetIpStats ¶ added in v1.1.0
func (x *SNMPStatistics) GetIpStats() *IpStatistics
func (*SNMPStatistics) GetTcpStats ¶ added in v1.1.0
func (x *SNMPStatistics) GetTcpStats() *TcpStatistics
func (*SNMPStatistics) GetUdpStats ¶ added in v1.1.0
func (x *SNMPStatistics) GetUdpStats() *UdpStatistics
func (*SNMPStatistics) ProtoMessage ¶
func (*SNMPStatistics) ProtoMessage()
func (*SNMPStatistics) ProtoReflect ¶ added in v1.1.0
func (x *SNMPStatistics) ProtoReflect() protoreflect.Message
func (*SNMPStatistics) Reset ¶
func (x *SNMPStatistics) Reset()
func (*SNMPStatistics) String ¶
func (x *SNMPStatistics) String() string
type SeccompInfo ¶
type SeccompInfo struct { // A filename of the Seccomp profile. This should be a path // relative to the directory containing Seccomp profiles, // which is specified on the agent via the `--seccomp_config_dir` flag. ProfileName *string `protobuf:"bytes,1,opt,name=profile_name,json=profileName" json:"profile_name,omitempty"` // If set to `true`, Seccomp is not applied to the container. // If not set or set to `false`, the container is launched with // the profile specified in the `profile_name` field. // // NOTE: `profile_name` must not be specified if `unconfined` set to `true`. // `profile_name` must be specified if `unconfined` is not set or // is set to `false`. Unconfined *bool `protobuf:"varint,2,opt,name=unconfined" json:"unconfined,omitempty"` // contains filtered or unexported fields }
* Encapsulation for Seccomp configuration, which is Linux specific.
func (*SeccompInfo) Descriptor
deprecated
func (*SeccompInfo) Descriptor() ([]byte, []int)
Deprecated: Use SeccompInfo.ProtoReflect.Descriptor instead.
func (*SeccompInfo) GetProfileName ¶
func (x *SeccompInfo) GetProfileName() string
func (*SeccompInfo) GetUnconfined ¶
func (x *SeccompInfo) GetUnconfined() bool
func (*SeccompInfo) ProtoMessage ¶
func (*SeccompInfo) ProtoMessage()
func (*SeccompInfo) ProtoReflect ¶ added in v1.1.0
func (x *SeccompInfo) ProtoReflect() protoreflect.Message
func (*SeccompInfo) Reset ¶
func (x *SeccompInfo) Reset()
func (*SeccompInfo) String ¶
func (x *SeccompInfo) String() string
type Secret ¶
type Secret struct { Type *Secret_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.Secret_Type" json:"type,omitempty"` // Only one of `reference` and `value` must be set. Reference *Secret_Reference `protobuf:"bytes,2,opt,name=reference" json:"reference,omitempty"` Value *Secret_Value `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* Secret used to pass privileged information. It is designed to provide pass-by-value or pass-by-reference semantics, where the REFERENCE type can be used by custom modules which interact with a secure back-end.
func (*Secret) Descriptor
deprecated
func (*Secret) GetReference ¶
func (x *Secret) GetReference() *Secret_Reference
func (*Secret) GetType ¶
func (x *Secret) GetType() Secret_Type
func (*Secret) GetValue ¶
func (x *Secret) GetValue() *Secret_Value
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶ added in v1.1.0
func (x *Secret) ProtoReflect() protoreflect.Message
type Secret_Reference ¶
type Secret_Reference struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` // contains filtered or unexported fields }
Can be used by modules to refer to a secret stored in a secure back-end. The `key` field is provided to permit reference to a single value within a secret containing arbitrary key-value pairs.
For example, given a back-end secret store with a secret named "my-secret" containing the following key-value pairs:
{ "username": "my-user", "password": "my-password }
the username could be referred to in a `Secret` by specifying "my-secret" for the `name` and "username" for the `key`.
func (*Secret_Reference) Descriptor
deprecated
func (*Secret_Reference) Descriptor() ([]byte, []int)
Deprecated: Use Secret_Reference.ProtoReflect.Descriptor instead.
func (*Secret_Reference) GetKey ¶
func (x *Secret_Reference) GetKey() string
func (*Secret_Reference) GetName ¶
func (x *Secret_Reference) GetName() string
func (*Secret_Reference) ProtoMessage ¶
func (*Secret_Reference) ProtoMessage()
func (*Secret_Reference) ProtoReflect ¶ added in v1.1.0
func (x *Secret_Reference) ProtoReflect() protoreflect.Message
func (*Secret_Reference) Reset ¶
func (x *Secret_Reference) Reset()
func (*Secret_Reference) String ¶
func (x *Secret_Reference) String() string
type Secret_Type ¶
type Secret_Type int32
const ( Secret_UNKNOWN Secret_Type = 0 Secret_REFERENCE Secret_Type = 1 Secret_VALUE Secret_Type = 2 )
func (Secret_Type) Descriptor ¶ added in v1.1.0
func (Secret_Type) Descriptor() protoreflect.EnumDescriptor
func (Secret_Type) Enum ¶
func (x Secret_Type) Enum() *Secret_Type
func (Secret_Type) EnumDescriptor
deprecated
func (Secret_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Secret_Type.Descriptor instead.
func (Secret_Type) Number ¶ added in v1.1.0
func (x Secret_Type) Number() protoreflect.EnumNumber
func (Secret_Type) String ¶
func (x Secret_Type) String() string
func (Secret_Type) Type ¶ added in v1.1.0
func (Secret_Type) Type() protoreflect.EnumType
func (*Secret_Type) UnmarshalJSON
deprecated
func (x *Secret_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Secret_Value ¶
type Secret_Value struct { Data []byte `protobuf:"bytes,1,req,name=data" json:"data,omitempty"` // contains filtered or unexported fields }
Used to pass the value of a secret.
func (*Secret_Value) Descriptor
deprecated
func (*Secret_Value) Descriptor() ([]byte, []int)
Deprecated: Use Secret_Value.ProtoReflect.Descriptor instead.
func (*Secret_Value) GetData ¶
func (x *Secret_Value) GetData() []byte
func (*Secret_Value) ProtoMessage ¶
func (*Secret_Value) ProtoMessage()
func (*Secret_Value) ProtoReflect ¶ added in v1.1.0
func (x *Secret_Value) ProtoReflect() protoreflect.Message
func (*Secret_Value) Reset ¶
func (x *Secret_Value) Reset()
func (*Secret_Value) String ¶
func (x *Secret_Value) String() string
type Status ¶
type Status int32
* Status is used to indicate the state of the scheduler and executor driver after function calls.
func (Status) Descriptor ¶ added in v1.1.0
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶ added in v1.1.0
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶ added in v1.1.0
func (Status) Type() protoreflect.EnumType
func (*Status) UnmarshalJSON
deprecated
type TTYInfo ¶
type TTYInfo struct { WindowSize *TTYInfo_WindowSize `protobuf:"bytes,1,opt,name=window_size,json=windowSize" json:"window_size,omitempty"` // contains filtered or unexported fields }
* Describes the information about (pseudo) TTY that can be attached to a process running in a container.
func (*TTYInfo) Descriptor
deprecated
func (*TTYInfo) GetWindowSize ¶
func (x *TTYInfo) GetWindowSize() *TTYInfo_WindowSize
func (*TTYInfo) ProtoMessage ¶
func (*TTYInfo) ProtoMessage()
func (*TTYInfo) ProtoReflect ¶ added in v1.1.0
func (x *TTYInfo) ProtoReflect() protoreflect.Message
type TTYInfo_WindowSize ¶
type TTYInfo_WindowSize struct { Rows *uint32 `protobuf:"varint,1,req,name=rows" json:"rows,omitempty"` Columns *uint32 `protobuf:"varint,2,req,name=columns" json:"columns,omitempty"` // contains filtered or unexported fields }
func (*TTYInfo_WindowSize) Descriptor
deprecated
func (*TTYInfo_WindowSize) Descriptor() ([]byte, []int)
Deprecated: Use TTYInfo_WindowSize.ProtoReflect.Descriptor instead.
func (*TTYInfo_WindowSize) GetColumns ¶
func (x *TTYInfo_WindowSize) GetColumns() uint32
func (*TTYInfo_WindowSize) GetRows ¶
func (x *TTYInfo_WindowSize) GetRows() uint32
func (*TTYInfo_WindowSize) ProtoMessage ¶
func (*TTYInfo_WindowSize) ProtoMessage()
func (*TTYInfo_WindowSize) ProtoReflect ¶ added in v1.1.0
func (x *TTYInfo_WindowSize) ProtoReflect() protoreflect.Message
func (*TTYInfo_WindowSize) Reset ¶
func (x *TTYInfo_WindowSize) Reset()
func (*TTYInfo_WindowSize) String ¶
func (x *TTYInfo_WindowSize) String() string
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=taskId" json:"task_id,omitempty"` FrameworkId *FrameworkID `protobuf:"bytes,3,req,name=framework_id,json=frameworkId" json:"framework_id,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,4,opt,name=executor_id,json=executorId" json:"executor_id,omitempty"` AgentId *AgentID `protobuf:"bytes,5,req,name=agent_id,json=agentId" json:"agent_id,omitempty"` State *TaskState `protobuf:"varint,6,req,name=state,enum=mesos.v1.TaskState" json:"state,omitempty"` // Latest state of the task. 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 `` /* 132-byte string literal not displayed */ StatusUpdateUuid []byte `protobuf:"bytes,10,opt,name=status_update_uuid,json=statusUpdateUuid" json:"status_update_uuid,omitempty"` Labels *Labels `protobuf:"bytes,11,opt,name=labels" json:"labels,omitempty"` // Service discovery information for the task. It is not interpreted // or acted upon by Mesos. It is up to a service discovery system // to use this information as needed and to handle tasks without // service discovery information. Discovery *DiscoveryInfo `protobuf:"bytes,12,opt,name=discovery" json:"discovery,omitempty"` // Container information for the task. Container *ContainerInfo `protobuf:"bytes,13,opt,name=container" json:"container,omitempty"` HealthCheck *HealthCheck `protobuf:"bytes,15,opt,name=health_check,json=healthCheck" json:"health_check,omitempty"` // The kill policy used for this task when it is killed. It's possible for // this policy to be overridden by the scheduler when killing the task. KillPolicy *KillPolicy `protobuf:"bytes,16,opt,name=kill_policy,json=killPolicy" json:"kill_policy,omitempty"` // Specific user under which task is running. User *string `protobuf:"bytes,14,opt,name=user" json:"user,omitempty"` // Resource limits associated with the task. Limits map[string]*Value_Scalar `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
* 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. These additional fields may be large and unnecessary for some Mesos messages.
`Task` is generally constructed from a `TaskInfo`. See protobuf::createTask.
func (*Task) Descriptor
deprecated
func (*Task) GetAgentId ¶ added in v1.1.0
func (*Task) GetContainer ¶
func (x *Task) GetContainer() *ContainerInfo
func (*Task) GetDiscovery ¶
func (x *Task) GetDiscovery() *DiscoveryInfo
func (*Task) GetExecutorId ¶ added in v1.1.0
func (x *Task) GetExecutorId() *ExecutorID
func (*Task) GetFrameworkId ¶ added in v1.1.0
func (x *Task) GetFrameworkId() *FrameworkID
func (*Task) GetHealthCheck ¶
func (x *Task) GetHealthCheck() *HealthCheck
func (*Task) GetKillPolicy ¶
func (x *Task) GetKillPolicy() *KillPolicy
func (*Task) GetLimits ¶ added in v1.1.0
func (x *Task) GetLimits() map[string]*Value_Scalar
func (*Task) GetResources ¶
func (*Task) GetStatusUpdateState ¶
func (*Task) GetStatusUpdateUuid ¶ added in v1.1.0
func (*Task) GetStatuses ¶
func (x *Task) GetStatuses() []*TaskStatus
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶ added in v1.1.0
func (x *Task) ProtoReflect() protoreflect.Message
type TaskGroupInfo ¶
type TaskGroupInfo struct { Tasks []*TaskInfo `protobuf:"bytes,1,rep,name=tasks" json:"tasks,omitempty"` // contains filtered or unexported fields }
* Describes a group of tasks that belong to an executor. The executor will receive the task group in a single message to allow the group to be launched "atomically".
NOTES:
- `NetworkInfo` must not be set inside task's `ContainerInfo`.
- `TaskInfo.executor` doesn't need to set. If set, it should match `LaunchGroup.executor`.
func (*TaskGroupInfo) Descriptor
deprecated
func (*TaskGroupInfo) Descriptor() ([]byte, []int)
Deprecated: Use TaskGroupInfo.ProtoReflect.Descriptor instead.
func (*TaskGroupInfo) GetTasks ¶
func (x *TaskGroupInfo) GetTasks() []*TaskInfo
func (*TaskGroupInfo) ProtoMessage ¶
func (*TaskGroupInfo) ProtoMessage()
func (*TaskGroupInfo) ProtoReflect ¶ added in v1.1.0
func (x *TaskGroupInfo) ProtoReflect() protoreflect.Message
func (*TaskGroupInfo) Reset ¶
func (x *TaskGroupInfo) Reset()
func (*TaskGroupInfo) String ¶
func (x *TaskGroupInfo) String() string
type TaskID ¶
type TaskID struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* A framework-generated ID to distinguish a task. The ID must remain unique while the task is active. A framework can reuse an ID _only_ if the previous task with the same ID has reached a terminal state (e.g., TASK_FINISHED, TASK_KILLED, etc.). However, reusing task IDs is strongly discouraged (MESOS-2198).
func (*TaskID) Descriptor
deprecated
func (*TaskID) ProtoMessage ¶
func (*TaskID) ProtoMessage()
func (*TaskID) ProtoReflect ¶ added in v1.1.0
func (x *TaskID) ProtoReflect() protoreflect.Message
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=taskId" json:"task_id,omitempty"` AgentId *AgentID `protobuf:"bytes,3,req,name=agent_id,json=agentId" json:"agent_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"` // A health check for the task. Implemented for executor-less // command-based tasks. For tasks that specify an executor, it is // the executor's responsibility to implement the health checking. HealthCheck *HealthCheck `protobuf:"bytes,8,opt,name=health_check,json=healthCheck" json:"health_check,omitempty"` // A general check for the task. Implemented for all built-in executors. // For tasks that specify an executor, it is the executor's responsibility // to implement checking support. Executors should (all built-in executors // will) neither interpret nor act on the check's result. // // NOTE: Check support in built-in executors is experimental. // // TODO(alexr): Consider supporting multiple checks per task. Check *CheckInfo `protobuf:"bytes,13,opt,name=check" json:"check,omitempty"` // A kill policy for the task. Implemented for executor-less // command-based and docker tasks. For tasks that specify an // executor, it is the executor's responsibility to implement // the kill policy. KillPolicy *KillPolicy `protobuf:"bytes,12,opt,name=kill_policy,json=killPolicy" json:"kill_policy,omitempty"` Data []byte `protobuf:"bytes,6,opt,name=data" json:"data,omitempty"` // Labels are free-form key value pairs which are exposed through // master and agent endpoints. Labels will not be interpreted or // acted upon by Mesos itself. As opposed to the data field, labels // will be kept in memory on master and agent processes. Therefore, // labels should be used to tag tasks with light-weight meta-data. // Labels should not contain duplicate key-value pairs. Labels *Labels `protobuf:"bytes,10,opt,name=labels" json:"labels,omitempty"` // Service discovery information for the task. It is not interpreted // or acted upon by Mesos. It is up to a service discovery system // to use this information as needed and to handle tasks without // service discovery information. Discovery *DiscoveryInfo `protobuf:"bytes,11,opt,name=discovery" json:"discovery,omitempty"` // Maximum duration for task completion. If the task is non-terminal at the // end of this duration, it will fail with the reason // `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for // executor-less tasks, and tasks that use Docker or default executors. // It is the executor's responsibility to implement this, so it might not be // supported by all custom executors. MaxCompletionTime *DurationInfo `protobuf:"bytes,14,opt,name=max_completion_time,json=maxCompletionTime" json:"max_completion_time,omitempty"` // Resource limits associated with the task. Limits map[string]*Value_Scalar `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
* 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 (*TaskInfo) Descriptor
deprecated
func (*TaskInfo) GetAgentId ¶ added in v1.1.0
func (*TaskInfo) GetCommand ¶
func (x *TaskInfo) GetCommand() *CommandInfo
func (*TaskInfo) GetContainer ¶
func (x *TaskInfo) GetContainer() *ContainerInfo
func (*TaskInfo) GetDiscovery ¶
func (x *TaskInfo) GetDiscovery() *DiscoveryInfo
func (*TaskInfo) GetExecutor ¶
func (x *TaskInfo) GetExecutor() *ExecutorInfo
func (*TaskInfo) GetHealthCheck ¶
func (x *TaskInfo) GetHealthCheck() *HealthCheck
func (*TaskInfo) GetKillPolicy ¶
func (x *TaskInfo) GetKillPolicy() *KillPolicy
func (*TaskInfo) GetLimits ¶
func (x *TaskInfo) GetLimits() map[string]*Value_Scalar
func (*TaskInfo) GetMaxCompletionTime ¶
func (x *TaskInfo) GetMaxCompletionTime() *DurationInfo
func (*TaskInfo) GetResources ¶
func (*TaskInfo) ProtoMessage ¶
func (*TaskInfo) ProtoMessage()
func (*TaskInfo) ProtoReflect ¶ added in v1.1.0
func (x *TaskInfo) ProtoReflect() protoreflect.Message
type TaskResourceLimitation ¶
type TaskResourceLimitation struct { // This field contains the resource whose limits were violated. // // NOTE: 'Resources' is used here because the resource may span // multiple roles (e.g. `"mem(*):1;mem(role):2"`). Resources []*Resource `protobuf:"bytes,1,rep,name=resources" json:"resources,omitempty"` // contains filtered or unexported fields }
* Describes a resource limitation that caused a task failure.
func (*TaskResourceLimitation) Descriptor
deprecated
func (*TaskResourceLimitation) Descriptor() ([]byte, []int)
Deprecated: Use TaskResourceLimitation.ProtoReflect.Descriptor instead.
func (*TaskResourceLimitation) GetResources ¶
func (x *TaskResourceLimitation) GetResources() []*Resource
func (*TaskResourceLimitation) ProtoMessage ¶
func (*TaskResourceLimitation) ProtoMessage()
func (*TaskResourceLimitation) ProtoReflect ¶ added in v1.1.0
func (x *TaskResourceLimitation) ProtoReflect() protoreflect.Message
func (*TaskResourceLimitation) Reset ¶
func (x *TaskResourceLimitation) Reset()
func (*TaskResourceLimitation) String ¶
func (x *TaskResourceLimitation) String() string
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 // Initial state. Framework status updates should not use. TaskState_TASK_STARTING TaskState = 0 // The task is being launched by the executor. TaskState_TASK_RUNNING TaskState = 1 // NOTE: This should only be sent when the framework has // the TASK_KILLING_STATE capability. TaskState_TASK_KILLING TaskState = 8 // The task is being killed by the executor. // The task finished successfully on its own without external interference. TaskState_TASK_FINISHED TaskState = 2 // TERMINAL. TaskState_TASK_FAILED TaskState = 3 // TERMINAL: The task failed to finish successfully. TaskState_TASK_KILLED TaskState = 4 // TERMINAL: The task was killed by the executor. TaskState_TASK_ERROR TaskState = 7 // TERMINAL: The task description contains an error. // In Mesos 1.3, this will only be sent when the framework does NOT // opt-in to the PARTITION_AWARE capability. // // NOTE: This state is not always terminal. For example, tasks might // transition from TASK_LOST to TASK_RUNNING or other states when a // partitioned agent reregisters. TaskState_TASK_LOST TaskState = 5 // The task failed but can be rescheduled. // The task failed to launch because of a transient error. The // task's executor never started running. Unlike TASK_ERROR, the // task description is valid -- attempting to launch the task again // may be successful. TaskState_TASK_DROPPED TaskState = 9 // TERMINAL. // The task was running on an agent that has lost contact with the // master, typically due to a network failure or partition. The task // may or may not still be running. TaskState_TASK_UNREACHABLE TaskState = 10 // The task is no longer running. This can occur if the agent has // been terminated along with all of its tasks (e.g., the host that // was running the agent was rebooted). It might also occur if the // task was terminated due to an agent or containerizer error, or if // the task was preempted by the QoS controller in an // oversubscription scenario. TaskState_TASK_GONE TaskState = 11 // TERMINAL. // The task was running on an agent that the master cannot contact; // the operator has asserted that the agent has been shutdown, but // this has not been directly confirmed by the master. If the // operator is correct, the task is not running and this is a // terminal state; if the operator is mistaken, the task may still // be running and might return to RUNNING in the future. TaskState_TASK_GONE_BY_OPERATOR TaskState = 12 // The master has no knowledge of the task. This is typically // because either (a) the master never had knowledge of the task, or // (b) the master forgot about the task because it garbage collected // its metadata about the task. The task may or may not still be // running. TaskState_TASK_UNKNOWN TaskState = 13 )
func (TaskState) Descriptor ¶ added in v1.1.0
func (TaskState) Descriptor() protoreflect.EnumDescriptor
func (TaskState) EnumDescriptor
deprecated
func (TaskState) Number ¶ added in v1.1.0
func (x TaskState) Number() protoreflect.EnumNumber
func (TaskState) Type ¶ added in v1.1.0
func (TaskState) Type() protoreflect.EnumType
func (*TaskState) UnmarshalJSON
deprecated
type TaskStatus ¶
type TaskStatus struct { TaskId *TaskID `protobuf:"bytes,1,req,name=task_id,json=taskId" json:"task_id,omitempty"` State *TaskState `protobuf:"varint,2,req,name=state,enum=mesos.v1.TaskState" json:"state,omitempty"` Message *string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"` // Possible message explaining state. Source *TaskStatus_Source `protobuf:"varint,9,opt,name=source,enum=mesos.v1.TaskStatus_Source" json:"source,omitempty"` Reason *TaskStatus_Reason `protobuf:"varint,10,opt,name=reason,enum=mesos.v1.TaskStatus_Reason" json:"reason,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"` AgentId *AgentID `protobuf:"bytes,5,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"` ExecutorId *ExecutorID `protobuf:"bytes,7,opt,name=executor_id,json=executorId" json:"executor_id,omitempty"` // TODO(benh): Use in master/agent. Timestamp *float64 `protobuf:"fixed64,6,opt,name=timestamp" json:"timestamp,omitempty"` // Statuses that are delivered reliably to the scheduler will // include a 'uuid'. The status is considered delivered once // it is acknowledged by the scheduler. Schedulers can choose // to either explicitly acknowledge statuses or let the scheduler // driver implicitly acknowledge (default). // // TODO(bmahler): This is currently overwritten in the scheduler // driver and executor driver, but executors will need to set this // to a valid RFC-4122 UUID if using the HTTP API. Uuid []byte `protobuf:"bytes,11,opt,name=uuid" json:"uuid,omitempty"` // Describes whether the task has been determined to be healthy (true) or // unhealthy (false) according to the `health_check` field in `TaskInfo`. Healthy *bool `protobuf:"varint,8,opt,name=healthy" json:"healthy,omitempty"` // Contains check status for the check specified in the corresponding // `TaskInfo`. If no check has been specified, this field must be // absent, otherwise it must be present even if the check status is // not available yet. If the status update is triggered for a different // reason than `REASON_TASK_CHECK_STATUS_UPDATED`, this field will contain // the last known value. // // NOTE: A check-related task status update is triggered if and only if // the value or presence of any field in `CheckStatusInfo` changes. // // NOTE: Check support in built-in executors is experimental. CheckStatus *CheckStatusInfo `protobuf:"bytes,15,opt,name=check_status,json=checkStatus" json:"check_status,omitempty"` // Labels are free-form key value pairs which are exposed through // master and agent endpoints. Labels will not be interpreted or // acted upon by Mesos itself. As opposed to the data field, labels // will be kept in memory on master and agent processes. Therefore, // labels should be used to tag TaskStatus message with light-weight // meta-data. Labels should not contain duplicate key-value pairs. Labels *Labels `protobuf:"bytes,12,opt,name=labels" json:"labels,omitempty"` // Container related information that is resolved dynamically such as // network address. ContainerStatus *ContainerStatus `protobuf:"bytes,13,opt,name=container_status,json=containerStatus" json:"container_status,omitempty"` // The time (according to the master's clock) when the agent where // this task was running became unreachable. This is only set on // status updates for tasks running on agents that are unreachable // (e.g., partitioned away from the master). UnreachableTime *TimeInfo `protobuf:"bytes,14,opt,name=unreachable_time,json=unreachableTime" json:"unreachable_time,omitempty"` // If the reason field indicates a container resource limitation, // this field optionally contains additional information. Limitation *TaskResourceLimitation `protobuf:"bytes,16,opt,name=limitation" json:"limitation,omitempty"` // contains filtered or unexported fields }
* Describes the current status of a task.
func (*TaskStatus) Descriptor
deprecated
func (*TaskStatus) Descriptor() ([]byte, []int)
Deprecated: Use TaskStatus.ProtoReflect.Descriptor instead.
func (*TaskStatus) GetAgentId ¶ added in v1.1.0
func (x *TaskStatus) GetAgentId() *AgentID
func (*TaskStatus) GetCheckStatus ¶
func (x *TaskStatus) GetCheckStatus() *CheckStatusInfo
func (*TaskStatus) GetContainerStatus ¶
func (x *TaskStatus) GetContainerStatus() *ContainerStatus
func (*TaskStatus) GetData ¶
func (x *TaskStatus) GetData() []byte
func (*TaskStatus) GetExecutorId ¶ added in v1.1.0
func (x *TaskStatus) GetExecutorId() *ExecutorID
func (*TaskStatus) GetHealthy ¶
func (x *TaskStatus) GetHealthy() bool
func (*TaskStatus) GetLabels ¶
func (x *TaskStatus) GetLabels() *Labels
func (*TaskStatus) GetLimitation ¶
func (x *TaskStatus) GetLimitation() *TaskResourceLimitation
func (*TaskStatus) GetMessage ¶
func (x *TaskStatus) GetMessage() string
func (*TaskStatus) GetReason ¶
func (x *TaskStatus) GetReason() TaskStatus_Reason
func (*TaskStatus) GetSource ¶
func (x *TaskStatus) GetSource() TaskStatus_Source
func (*TaskStatus) GetState ¶
func (x *TaskStatus) GetState() TaskState
func (*TaskStatus) GetTaskId ¶ added in v1.1.0
func (x *TaskStatus) GetTaskId() *TaskID
func (*TaskStatus) GetTimestamp ¶
func (x *TaskStatus) GetTimestamp() float64
func (*TaskStatus) GetUnreachableTime ¶
func (x *TaskStatus) GetUnreachableTime() *TimeInfo
func (*TaskStatus) GetUuid ¶ added in v1.1.0
func (x *TaskStatus) GetUuid() []byte
func (*TaskStatus) ProtoMessage ¶
func (*TaskStatus) ProtoMessage()
func (*TaskStatus) ProtoReflect ¶ added in v1.1.0
func (x *TaskStatus) ProtoReflect() protoreflect.Message
func (*TaskStatus) Reset ¶
func (x *TaskStatus) Reset()
func (*TaskStatus) String ¶
func (x *TaskStatus) String() string
type TaskStatus_Reason ¶
type TaskStatus_Reason int32
Detailed reason for the task status update. Refer to docs/task-state-reasons.md for additional explanation.
const ( // TODO(jieyu): The default value when a caller doesn't check for // presence is 0 and so ideally the 0 reason is not a valid one. // Since this is not used anywhere, consider removing this reason. 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_MAX_COMPLETION_TIME_REACHED TaskStatus_Reason = 33 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 // No longer used. 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_IO_SWITCHBOARD_EXITED TaskStatus_Reason = 27 TaskStatus_REASON_MASTER_DISCONNECTED TaskStatus_Reason = 7 TaskStatus_REASON_RECONCILIATION TaskStatus_Reason = 9 TaskStatus_REASON_RESOURCES_UNKNOWN TaskStatus_Reason = 18 TaskStatus_REASON_AGENT_DISCONNECTED TaskStatus_Reason = 10 TaskStatus_REASON_AGENT_DRAINING TaskStatus_Reason = 34 TaskStatus_REASON_AGENT_REMOVED TaskStatus_Reason = 11 TaskStatus_REASON_AGENT_REMOVED_BY_OPERATOR TaskStatus_Reason = 31 TaskStatus_REASON_AGENT_REREGISTERED TaskStatus_Reason = 32 TaskStatus_REASON_AGENT_RESTARTED TaskStatus_Reason = 12 TaskStatus_REASON_AGENT_UNKNOWN TaskStatus_Reason = 13 TaskStatus_REASON_TASK_KILLED_DURING_LAUNCH TaskStatus_Reason = 30 TaskStatus_REASON_TASK_CHECK_STATUS_UPDATED TaskStatus_Reason = 28 TaskStatus_REASON_TASK_HEALTH_CHECK_STATUS_UPDATED TaskStatus_Reason = 29 TaskStatus_REASON_TASK_GROUP_INVALID TaskStatus_Reason = 25 TaskStatus_REASON_TASK_GROUP_UNAUTHORIZED TaskStatus_Reason = 26 TaskStatus_REASON_TASK_INVALID TaskStatus_Reason = 14 TaskStatus_REASON_TASK_UNAUTHORIZED TaskStatus_Reason = 15 TaskStatus_REASON_TASK_UNKNOWN TaskStatus_Reason = 16 )
func (TaskStatus_Reason) Descriptor ¶ added in v1.1.0
func (TaskStatus_Reason) Descriptor() protoreflect.EnumDescriptor
func (TaskStatus_Reason) Enum ¶
func (x TaskStatus_Reason) Enum() *TaskStatus_Reason
func (TaskStatus_Reason) EnumDescriptor
deprecated
func (TaskStatus_Reason) EnumDescriptor() ([]byte, []int)
Deprecated: Use TaskStatus_Reason.Descriptor instead.
func (TaskStatus_Reason) Number ¶ added in v1.1.0
func (x TaskStatus_Reason) Number() protoreflect.EnumNumber
func (TaskStatus_Reason) String ¶
func (x TaskStatus_Reason) String() string
func (TaskStatus_Reason) Type ¶ added in v1.1.0
func (TaskStatus_Reason) Type() protoreflect.EnumType
func (*TaskStatus_Reason) UnmarshalJSON
deprecated
func (x *TaskStatus_Reason) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TaskStatus_Source ¶
type TaskStatus_Source int32
Describes the source of the task status update.
const ( TaskStatus_SOURCE_MASTER TaskStatus_Source = 0 TaskStatus_SOURCE_AGENT TaskStatus_Source = 1 TaskStatus_SOURCE_EXECUTOR TaskStatus_Source = 2 )
func (TaskStatus_Source) Descriptor ¶ added in v1.1.0
func (TaskStatus_Source) Descriptor() protoreflect.EnumDescriptor
func (TaskStatus_Source) Enum ¶
func (x TaskStatus_Source) Enum() *TaskStatus_Source
func (TaskStatus_Source) EnumDescriptor
deprecated
func (TaskStatus_Source) EnumDescriptor() ([]byte, []int)
Deprecated: Use TaskStatus_Source.Descriptor instead.
func (TaskStatus_Source) Number ¶ added in v1.1.0
func (x TaskStatus_Source) Number() protoreflect.EnumNumber
func (TaskStatus_Source) String ¶
func (x TaskStatus_Source) String() string
func (TaskStatus_Source) Type ¶ added in v1.1.0
func (TaskStatus_Source) Type() protoreflect.EnumType
func (*TaskStatus_Source) UnmarshalJSON
deprecated
func (x *TaskStatus_Source) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TcpStatistics ¶
type TcpStatistics struct { RtoAlgorithm *int64 `protobuf:"varint,1,opt,name=RtoAlgorithm" json:"RtoAlgorithm,omitempty"` RtoMin *int64 `protobuf:"varint,2,opt,name=RtoMin" json:"RtoMin,omitempty"` RtoMax *int64 `protobuf:"varint,3,opt,name=RtoMax" json:"RtoMax,omitempty"` MaxConn *int64 `protobuf:"varint,4,opt,name=MaxConn" json:"MaxConn,omitempty"` ActiveOpens *int64 `protobuf:"varint,5,opt,name=ActiveOpens" json:"ActiveOpens,omitempty"` PassiveOpens *int64 `protobuf:"varint,6,opt,name=PassiveOpens" json:"PassiveOpens,omitempty"` AttemptFails *int64 `protobuf:"varint,7,opt,name=AttemptFails" json:"AttemptFails,omitempty"` EstabResets *int64 `protobuf:"varint,8,opt,name=EstabResets" json:"EstabResets,omitempty"` CurrEstab *int64 `protobuf:"varint,9,opt,name=CurrEstab" json:"CurrEstab,omitempty"` InSegs *int64 `protobuf:"varint,10,opt,name=InSegs" json:"InSegs,omitempty"` OutSegs *int64 `protobuf:"varint,11,opt,name=OutSegs" json:"OutSegs,omitempty"` RetransSegs *int64 `protobuf:"varint,12,opt,name=RetransSegs" json:"RetransSegs,omitempty"` InErrs *int64 `protobuf:"varint,13,opt,name=InErrs" json:"InErrs,omitempty"` OutRsts *int64 `protobuf:"varint,14,opt,name=OutRsts" json:"OutRsts,omitempty"` InCsumErrors *int64 `protobuf:"varint,15,opt,name=InCsumErrors" json:"InCsumErrors,omitempty"` // contains filtered or unexported fields }
func (*TcpStatistics) Descriptor
deprecated
func (*TcpStatistics) Descriptor() ([]byte, []int)
Deprecated: Use TcpStatistics.ProtoReflect.Descriptor instead.
func (*TcpStatistics) GetActiveOpens ¶
func (x *TcpStatistics) GetActiveOpens() int64
func (*TcpStatistics) GetAttemptFails ¶
func (x *TcpStatistics) GetAttemptFails() int64
func (*TcpStatistics) GetCurrEstab ¶
func (x *TcpStatistics) GetCurrEstab() int64
func (*TcpStatistics) GetEstabResets ¶
func (x *TcpStatistics) GetEstabResets() int64
func (*TcpStatistics) GetInCsumErrors ¶
func (x *TcpStatistics) GetInCsumErrors() int64
func (*TcpStatistics) GetInErrs ¶
func (x *TcpStatistics) GetInErrs() int64
func (*TcpStatistics) GetInSegs ¶
func (x *TcpStatistics) GetInSegs() int64
func (*TcpStatistics) GetMaxConn ¶
func (x *TcpStatistics) GetMaxConn() int64
func (*TcpStatistics) GetOutRsts ¶
func (x *TcpStatistics) GetOutRsts() int64
func (*TcpStatistics) GetOutSegs ¶
func (x *TcpStatistics) GetOutSegs() int64
func (*TcpStatistics) GetPassiveOpens ¶
func (x *TcpStatistics) GetPassiveOpens() int64
func (*TcpStatistics) GetRetransSegs ¶
func (x *TcpStatistics) GetRetransSegs() int64
func (*TcpStatistics) GetRtoAlgorithm ¶
func (x *TcpStatistics) GetRtoAlgorithm() int64
func (*TcpStatistics) GetRtoMax ¶
func (x *TcpStatistics) GetRtoMax() int64
func (*TcpStatistics) GetRtoMin ¶
func (x *TcpStatistics) GetRtoMin() int64
func (*TcpStatistics) ProtoMessage ¶
func (*TcpStatistics) ProtoMessage()
func (*TcpStatistics) ProtoReflect ¶ added in v1.1.0
func (x *TcpStatistics) ProtoReflect() protoreflect.Message
func (*TcpStatistics) Reset ¶
func (x *TcpStatistics) Reset()
func (*TcpStatistics) String ¶
func (x *TcpStatistics) String() string
type TimeInfo ¶
type TimeInfo struct { Nanoseconds *int64 `protobuf:"varint,1,req,name=nanoseconds" json:"nanoseconds,omitempty"` // contains filtered or unexported fields }
* Represents time since the epoch, in nanoseconds.
func (*TimeInfo) Descriptor
deprecated
func (*TimeInfo) GetNanoseconds ¶
func (*TimeInfo) ProtoMessage ¶
func (*TimeInfo) ProtoMessage()
func (*TimeInfo) ProtoReflect ¶ added in v1.1.0
func (x *TimeInfo) ProtoReflect() protoreflect.Message
type TrafficControlStatistics ¶
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"` // contains filtered or unexported fields }
* 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 (*TrafficControlStatistics) Descriptor
deprecated
func (*TrafficControlStatistics) Descriptor() ([]byte, []int)
Deprecated: Use TrafficControlStatistics.ProtoReflect.Descriptor instead.
func (*TrafficControlStatistics) GetBacklog ¶
func (x *TrafficControlStatistics) GetBacklog() uint64
func (*TrafficControlStatistics) GetBytes ¶
func (x *TrafficControlStatistics) GetBytes() uint64
func (*TrafficControlStatistics) GetDrops ¶
func (x *TrafficControlStatistics) GetDrops() uint64
func (*TrafficControlStatistics) GetId ¶ added in v1.1.0
func (x *TrafficControlStatistics) GetId() string
func (*TrafficControlStatistics) GetOverlimits ¶
func (x *TrafficControlStatistics) GetOverlimits() uint64
func (*TrafficControlStatistics) GetPackets ¶
func (x *TrafficControlStatistics) GetPackets() uint64
func (*TrafficControlStatistics) GetQlen ¶
func (x *TrafficControlStatistics) GetQlen() uint64
func (*TrafficControlStatistics) GetRatebps ¶ added in v1.1.0
func (x *TrafficControlStatistics) GetRatebps() uint64
func (*TrafficControlStatistics) GetRatepps ¶ added in v1.1.0
func (x *TrafficControlStatistics) GetRatepps() uint64
func (*TrafficControlStatistics) GetRequeues ¶
func (x *TrafficControlStatistics) GetRequeues() uint64
func (*TrafficControlStatistics) ProtoMessage ¶
func (*TrafficControlStatistics) ProtoMessage()
func (*TrafficControlStatistics) ProtoReflect ¶ added in v1.1.0
func (x *TrafficControlStatistics) ProtoReflect() protoreflect.Message
func (*TrafficControlStatistics) Reset ¶
func (x *TrafficControlStatistics) Reset()
func (*TrafficControlStatistics) String ¶
func (x *TrafficControlStatistics) String() string
type URL ¶
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"` // contains filtered or unexported fields }
* Represents a URL.
func (*URL) Descriptor
deprecated
func (*URL) GetAddress ¶
func (*URL) GetFragment ¶
func (*URL) ProtoMessage ¶
func (*URL) ProtoMessage()
func (*URL) ProtoReflect ¶ added in v1.1.0
func (x *URL) ProtoReflect() protoreflect.Message
type UUID ¶
type UUID struct { Value []byte `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* A 128 bit (16 byte) UUID, see RFC 4122.
func (*UUID) Descriptor
deprecated
func (*UUID) ProtoMessage ¶
func (*UUID) ProtoMessage()
func (*UUID) ProtoReflect ¶ added in v1.1.0
func (x *UUID) ProtoReflect() protoreflect.Message
type UdpStatistics ¶
type UdpStatistics struct { InDatagrams *int64 `protobuf:"varint,1,opt,name=InDatagrams" json:"InDatagrams,omitempty"` NoPorts *int64 `protobuf:"varint,2,opt,name=NoPorts" json:"NoPorts,omitempty"` InErrors *int64 `protobuf:"varint,3,opt,name=InErrors" json:"InErrors,omitempty"` OutDatagrams *int64 `protobuf:"varint,4,opt,name=OutDatagrams" json:"OutDatagrams,omitempty"` RcvbufErrors *int64 `protobuf:"varint,5,opt,name=RcvbufErrors" json:"RcvbufErrors,omitempty"` SndbufErrors *int64 `protobuf:"varint,6,opt,name=SndbufErrors" json:"SndbufErrors,omitempty"` InCsumErrors *int64 `protobuf:"varint,7,opt,name=InCsumErrors" json:"InCsumErrors,omitempty"` IgnoredMulti *int64 `protobuf:"varint,8,opt,name=IgnoredMulti" json:"IgnoredMulti,omitempty"` // contains filtered or unexported fields }
func (*UdpStatistics) Descriptor
deprecated
func (*UdpStatistics) Descriptor() ([]byte, []int)
Deprecated: Use UdpStatistics.ProtoReflect.Descriptor instead.
func (*UdpStatistics) GetIgnoredMulti ¶
func (x *UdpStatistics) GetIgnoredMulti() int64
func (*UdpStatistics) GetInCsumErrors ¶
func (x *UdpStatistics) GetInCsumErrors() int64
func (*UdpStatistics) GetInDatagrams ¶
func (x *UdpStatistics) GetInDatagrams() int64
func (*UdpStatistics) GetInErrors ¶
func (x *UdpStatistics) GetInErrors() int64
func (*UdpStatistics) GetNoPorts ¶
func (x *UdpStatistics) GetNoPorts() int64
func (*UdpStatistics) GetOutDatagrams ¶
func (x *UdpStatistics) GetOutDatagrams() int64
func (*UdpStatistics) GetRcvbufErrors ¶
func (x *UdpStatistics) GetRcvbufErrors() int64
func (*UdpStatistics) GetSndbufErrors ¶
func (x *UdpStatistics) GetSndbufErrors() int64
func (*UdpStatistics) ProtoMessage ¶
func (*UdpStatistics) ProtoMessage()
func (*UdpStatistics) ProtoReflect ¶ added in v1.1.0
func (x *UdpStatistics) ProtoReflect() protoreflect.Message
func (*UdpStatistics) Reset ¶
func (x *UdpStatistics) Reset()
func (*UdpStatistics) String ¶
func (x *UdpStatistics) String() string
type Unavailability ¶
type Unavailability struct { // If unspecified, the duration is assumed to be infinite. Duration *DurationInfo `protobuf:"bytes,2,opt,name=duration" json:"duration,omitempty"` // contains filtered or unexported fields }
* 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 (*Unavailability) Descriptor
deprecated
func (*Unavailability) Descriptor() ([]byte, []int)
Deprecated: Use Unavailability.ProtoReflect.Descriptor instead.
func (*Unavailability) GetDuration ¶
func (x *Unavailability) GetDuration() *DurationInfo
func (*Unavailability) GetStart ¶
func (x *Unavailability) GetStart() *TimeInfo
func (*Unavailability) ProtoMessage ¶
func (*Unavailability) ProtoMessage()
func (*Unavailability) ProtoReflect ¶ added in v1.1.0
func (x *Unavailability) ProtoReflect() protoreflect.Message
func (*Unavailability) Reset ¶
func (x *Unavailability) Reset()
func (*Unavailability) String ¶
func (x *Unavailability) String() string
type Value ¶
type Value struct { Type *Value_Type `protobuf:"varint,1,req,name=type,enum=mesos.v1.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"` // contains filtered or unexported fields }
* Describes an Attribute or Resource "value". A value is described using the standard protocol buffer "union" trick.
func (*Value) Descriptor
deprecated
func (*Value) GetRanges ¶
func (x *Value) GetRanges() *Value_Ranges
func (*Value) GetScalar ¶
func (x *Value) GetScalar() *Value_Scalar
func (*Value) GetText ¶
func (x *Value) GetText() *Value_Text
func (*Value) GetType ¶
func (x *Value) GetType() Value_Type
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶ added in v1.1.0
func (x *Value) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*Value_Range) Descriptor
deprecated
func (*Value_Range) Descriptor() ([]byte, []int)
Deprecated: Use Value_Range.ProtoReflect.Descriptor instead.
func (*Value_Range) GetBegin ¶
func (x *Value_Range) GetBegin() uint64
func (*Value_Range) GetEnd ¶
func (x *Value_Range) GetEnd() uint64
func (*Value_Range) ProtoMessage ¶
func (*Value_Range) ProtoMessage()
func (*Value_Range) ProtoReflect ¶ added in v1.1.0
func (x *Value_Range) ProtoReflect() protoreflect.Message
func (*Value_Range) Reset ¶
func (x *Value_Range) Reset()
func (*Value_Range) String ¶
func (x *Value_Range) String() string
type Value_Ranges ¶
type Value_Ranges struct { Range []*Value_Range `protobuf:"bytes,1,rep,name=range" json:"range,omitempty"` // contains filtered or unexported fields }
func (*Value_Ranges) Descriptor
deprecated
func (*Value_Ranges) Descriptor() ([]byte, []int)
Deprecated: Use Value_Ranges.ProtoReflect.Descriptor instead.
func (*Value_Ranges) GetRange ¶
func (x *Value_Ranges) GetRange() []*Value_Range
func (*Value_Ranges) ProtoMessage ¶
func (*Value_Ranges) ProtoMessage()
func (*Value_Ranges) ProtoReflect ¶ added in v1.1.0
func (x *Value_Ranges) ProtoReflect() protoreflect.Message
func (*Value_Ranges) Reset ¶
func (x *Value_Ranges) Reset()
func (*Value_Ranges) String ¶
func (x *Value_Ranges) String() string
type Value_Scalar ¶
type Value_Scalar struct { // Scalar values are represented using floating point. To reduce // the chance of unpredictable floating point behavior due to // roundoff error, Mesos only supports three decimal digits of // precision for scalar resource values. That is, floating point // values are converted to a fixed point format that supports // three decimal digits of precision, and then converted back to // floating point on output. Any additional precision in scalar // resource values is discarded (via rounding). Value *float64 `protobuf:"fixed64,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Value_Scalar) Descriptor
deprecated
func (*Value_Scalar) Descriptor() ([]byte, []int)
Deprecated: Use Value_Scalar.ProtoReflect.Descriptor instead.
func (*Value_Scalar) GetValue ¶
func (x *Value_Scalar) GetValue() float64
func (*Value_Scalar) ProtoMessage ¶
func (*Value_Scalar) ProtoMessage()
func (*Value_Scalar) ProtoReflect ¶ added in v1.1.0
func (x *Value_Scalar) ProtoReflect() protoreflect.Message
func (*Value_Scalar) Reset ¶
func (x *Value_Scalar) Reset()
func (*Value_Scalar) String ¶
func (x *Value_Scalar) String() string
type Value_Set ¶
type Value_Set struct { Item []string `protobuf:"bytes,1,rep,name=item" json:"item,omitempty"` // contains filtered or unexported fields }
func (*Value_Set) Descriptor
deprecated
func (*Value_Set) ProtoMessage ¶
func (*Value_Set) ProtoMessage()
func (*Value_Set) ProtoReflect ¶ added in v1.1.0
func (x *Value_Set) ProtoReflect() protoreflect.Message
type Value_Text ¶
type Value_Text struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Value_Text) Descriptor
deprecated
func (*Value_Text) Descriptor() ([]byte, []int)
Deprecated: Use Value_Text.ProtoReflect.Descriptor instead.
func (*Value_Text) GetValue ¶
func (x *Value_Text) GetValue() string
func (*Value_Text) ProtoMessage ¶
func (*Value_Text) ProtoMessage()
func (*Value_Text) ProtoReflect ¶ added in v1.1.0
func (x *Value_Text) ProtoReflect() protoreflect.Message
func (*Value_Text) Reset ¶
func (x *Value_Text) Reset()
func (*Value_Text) String ¶
func (x *Value_Text) String() string
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) Descriptor ¶ added in v1.1.0
func (Value_Type) Descriptor() protoreflect.EnumDescriptor
func (Value_Type) Enum ¶
func (x Value_Type) Enum() *Value_Type
func (Value_Type) EnumDescriptor
deprecated
func (Value_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Value_Type.Descriptor instead.
func (Value_Type) Number ¶ added in v1.1.0
func (x Value_Type) Number() protoreflect.EnumNumber
func (Value_Type) String ¶
func (x Value_Type) String() string
func (Value_Type) Type ¶ added in v1.1.0
func (Value_Type) Type() protoreflect.EnumType
func (*Value_Type) UnmarshalJSON
deprecated
func (x *Value_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type VersionInfo ¶
type VersionInfo struct { Version *string `protobuf:"bytes,1,req,name=version" json:"version,omitempty"` BuildDate *string `protobuf:"bytes,2,opt,name=build_date,json=buildDate" json:"build_date,omitempty"` BuildTime *float64 `protobuf:"fixed64,3,opt,name=build_time,json=buildTime" json:"build_time,omitempty"` BuildUser *string `protobuf:"bytes,4,opt,name=build_user,json=buildUser" json:"build_user,omitempty"` GitSha *string `protobuf:"bytes,5,opt,name=git_sha,json=gitSha" json:"git_sha,omitempty"` GitBranch *string `protobuf:"bytes,6,opt,name=git_branch,json=gitBranch" json:"git_branch,omitempty"` GitTag *string `protobuf:"bytes,7,opt,name=git_tag,json=gitTag" json:"git_tag,omitempty"` // contains filtered or unexported fields }
* Version information of a component.
func (*VersionInfo) Descriptor
deprecated
func (*VersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use VersionInfo.ProtoReflect.Descriptor instead.
func (*VersionInfo) GetBuildDate ¶
func (x *VersionInfo) GetBuildDate() string
func (*VersionInfo) GetBuildTime ¶
func (x *VersionInfo) GetBuildTime() float64
func (*VersionInfo) GetBuildUser ¶
func (x *VersionInfo) GetBuildUser() string
func (*VersionInfo) GetGitBranch ¶
func (x *VersionInfo) GetGitBranch() string
func (*VersionInfo) GetGitSha ¶ added in v1.1.0
func (x *VersionInfo) GetGitSha() string
func (*VersionInfo) GetGitTag ¶
func (x *VersionInfo) GetGitTag() string
func (*VersionInfo) GetVersion ¶
func (x *VersionInfo) GetVersion() string
func (*VersionInfo) ProtoMessage ¶
func (*VersionInfo) ProtoMessage()
func (*VersionInfo) ProtoReflect ¶ added in v1.1.0
func (x *VersionInfo) ProtoReflect() protoreflect.Message
func (*VersionInfo) Reset ¶
func (x *VersionInfo) Reset()
func (*VersionInfo) String ¶
func (x *VersionInfo) String() string
type Volume ¶
type Volume struct { // TODO(gyliu513): Make this as `optional` after deprecation cycle of 1.0. Mode *Volume_Mode `protobuf:"varint,3,req,name=mode,enum=mesos.v1.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 and the container does not have its // own rootfs, that path must already exist in the agent host rootfs. ContainerPath *string `protobuf:"bytes,1,req,name=container_path,json=containerPath" 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=hostPath" json:"host_path,omitempty"` // The source of the volume is an Image which describes a root // filesystem which will be provisioned by Mesos. Image *Image `protobuf:"bytes,4,opt,name=image" json:"image,omitempty"` Source *Volume_Source `protobuf:"bytes,5,opt,name=source" json:"source,omitempty"` // contains filtered or unexported fields }
* Describes a volume mapping either from host to container or vice versa. Both paths can either refer to a directory or a file.
func (*Volume) Descriptor
deprecated
func (*Volume) GetContainerPath ¶
func (*Volume) GetHostPath ¶
func (*Volume) GetMode ¶
func (x *Volume) GetMode() Volume_Mode
func (*Volume) GetSource ¶
func (x *Volume) GetSource() *Volume_Source
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶ added in v1.1.0
func (x *Volume) ProtoReflect() protoreflect.Message
type Volume_Mode ¶
type Volume_Mode int32
const ( Volume_RW Volume_Mode = 1 // read-write. Volume_RO Volume_Mode = 2 // read-only. )
func (Volume_Mode) Descriptor ¶ added in v1.1.0
func (Volume_Mode) Descriptor() protoreflect.EnumDescriptor
func (Volume_Mode) Enum ¶
func (x Volume_Mode) Enum() *Volume_Mode
func (Volume_Mode) EnumDescriptor
deprecated
func (Volume_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_Mode.Descriptor instead.
func (Volume_Mode) Number ¶ added in v1.1.0
func (x Volume_Mode) Number() protoreflect.EnumNumber
func (Volume_Mode) String ¶
func (x Volume_Mode) String() string
func (Volume_Mode) Type ¶ added in v1.1.0
func (Volume_Mode) Type() protoreflect.EnumType
func (*Volume_Mode) UnmarshalJSON
deprecated
func (x *Volume_Mode) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Volume_Source ¶
type Volume_Source struct { // Enum fields should be optional, see: MESOS-4997. Type *Volume_Source_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.Volume_Source_Type" json:"type,omitempty"` // The source of the volume created by docker volume driver. DockerVolume *Volume_Source_DockerVolume `protobuf:"bytes,2,opt,name=docker_volume,json=dockerVolume" json:"docker_volume,omitempty"` HostPath *Volume_Source_HostPath `protobuf:"bytes,5,opt,name=host_path,json=hostPath" json:"host_path,omitempty"` SandboxPath *Volume_Source_SandboxPath `protobuf:"bytes,3,opt,name=sandbox_path,json=sandboxPath" json:"sandbox_path,omitempty"` // The volume/secret isolator uses the secret-fetcher module (third-party or // internal) downloads the secret and makes it available at container_path. Secret *Secret `protobuf:"bytes,4,opt,name=secret" json:"secret,omitempty"` CsiVolume *Volume_Source_CSIVolume `protobuf:"bytes,6,opt,name=csi_volume,json=csiVolume" json:"csi_volume,omitempty"` // contains filtered or unexported fields }
Describes where a volume originates from.
func (*Volume_Source) Descriptor
deprecated
func (*Volume_Source) Descriptor() ([]byte, []int)
Deprecated: Use Volume_Source.ProtoReflect.Descriptor instead.
func (*Volume_Source) GetCsiVolume ¶ added in v1.1.0
func (x *Volume_Source) GetCsiVolume() *Volume_Source_CSIVolume
func (*Volume_Source) GetDockerVolume ¶
func (x *Volume_Source) GetDockerVolume() *Volume_Source_DockerVolume
func (*Volume_Source) GetHostPath ¶
func (x *Volume_Source) GetHostPath() *Volume_Source_HostPath
func (*Volume_Source) GetSandboxPath ¶
func (x *Volume_Source) GetSandboxPath() *Volume_Source_SandboxPath
func (*Volume_Source) GetSecret ¶
func (x *Volume_Source) GetSecret() *Secret
func (*Volume_Source) GetType ¶
func (x *Volume_Source) GetType() Volume_Source_Type
func (*Volume_Source) ProtoMessage ¶
func (*Volume_Source) ProtoMessage()
func (*Volume_Source) ProtoReflect ¶ added in v1.1.0
func (x *Volume_Source) ProtoReflect() protoreflect.Message
func (*Volume_Source) Reset ¶
func (x *Volume_Source) Reset()
func (*Volume_Source) String ¶
func (x *Volume_Source) String() string
type Volume_Source_CSIVolume ¶ added in v1.1.0
type Volume_Source_CSIVolume struct { // The name of the CSI plugin. PluginName *string `protobuf:"bytes,1,req,name=plugin_name,json=pluginName" json:"plugin_name,omitempty"` StaticProvisioning *Volume_Source_CSIVolume_StaticProvisioning `protobuf:"bytes,2,opt,name=static_provisioning,json=staticProvisioning" json:"static_provisioning,omitempty"` // contains filtered or unexported fields }
A volume which will be handled by the `volume/csi` isolator.
func (*Volume_Source_CSIVolume) Descriptor
deprecated
added in
v1.1.0
func (*Volume_Source_CSIVolume) Descriptor() ([]byte, []int)
Deprecated: Use Volume_Source_CSIVolume.ProtoReflect.Descriptor instead.
func (*Volume_Source_CSIVolume) GetPluginName ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume) GetPluginName() string
func (*Volume_Source_CSIVolume) GetStaticProvisioning ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume) GetStaticProvisioning() *Volume_Source_CSIVolume_StaticProvisioning
func (*Volume_Source_CSIVolume) ProtoMessage ¶ added in v1.1.0
func (*Volume_Source_CSIVolume) ProtoMessage()
func (*Volume_Source_CSIVolume) ProtoReflect ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume) ProtoReflect() protoreflect.Message
func (*Volume_Source_CSIVolume) Reset ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume) Reset()
func (*Volume_Source_CSIVolume) String ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume) String() string
type Volume_Source_CSIVolume_StaticProvisioning ¶ added in v1.1.0
type Volume_Source_CSIVolume_StaticProvisioning struct { VolumeId *string `protobuf:"bytes,1,req,name=volume_id,json=volumeId" json:"volume_id,omitempty"` VolumeCapability *Volume_Source_CSIVolume_VolumeCapability `protobuf:"bytes,2,req,name=volume_capability,json=volumeCapability" json:"volume_capability,omitempty"` // The secrets needed for staging/publishing the volume, e.g.: // // { // "username": {"type": REFERENCE, "reference": {"name": "U_SECRET"}}, // "password": {"type": REFERENCE, "reference": {"name": "P_SECRET"}} // } NodeStageSecrets map[string]*Secret `` /* 178-byte string literal not displayed */ NodePublishSecrets map[string]*Secret `` /* 184-byte string literal not displayed */ VolumeContext map[string]string `` /* 167-byte string literal not displayed */ // contains filtered or unexported fields }
Specifies the parameters used to stage/publish a pre-provisioned volume on an agent host. The fields are merged from `NodeStageVolumeRequest` and `NodePublishVolumeRequest` protobuf messages defined in CSI spec except two fields `staging_target_path` and `target_path` which will be internally determined by Mesos when staging/publishing the volume.
func (*Volume_Source_CSIVolume_StaticProvisioning) Descriptor
deprecated
added in
v1.1.0
func (*Volume_Source_CSIVolume_StaticProvisioning) Descriptor() ([]byte, []int)
Deprecated: Use Volume_Source_CSIVolume_StaticProvisioning.ProtoReflect.Descriptor instead.
func (*Volume_Source_CSIVolume_StaticProvisioning) GetNodePublishSecrets ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_StaticProvisioning) GetNodePublishSecrets() map[string]*Secret
func (*Volume_Source_CSIVolume_StaticProvisioning) GetNodeStageSecrets ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_StaticProvisioning) GetNodeStageSecrets() map[string]*Secret
func (*Volume_Source_CSIVolume_StaticProvisioning) GetVolumeCapability ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_StaticProvisioning) GetVolumeCapability() *Volume_Source_CSIVolume_VolumeCapability
func (*Volume_Source_CSIVolume_StaticProvisioning) GetVolumeContext ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_StaticProvisioning) GetVolumeContext() map[string]string
func (*Volume_Source_CSIVolume_StaticProvisioning) GetVolumeId ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_StaticProvisioning) GetVolumeId() string
func (*Volume_Source_CSIVolume_StaticProvisioning) ProtoMessage ¶ added in v1.1.0
func (*Volume_Source_CSIVolume_StaticProvisioning) ProtoMessage()
func (*Volume_Source_CSIVolume_StaticProvisioning) ProtoReflect ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_StaticProvisioning) ProtoReflect() protoreflect.Message
func (*Volume_Source_CSIVolume_StaticProvisioning) Reset ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_StaticProvisioning) Reset()
func (*Volume_Source_CSIVolume_StaticProvisioning) String ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_StaticProvisioning) String() string
type Volume_Source_CSIVolume_VolumeCapability ¶ added in v1.1.0
type Volume_Source_CSIVolume_VolumeCapability struct { // Specifies what API the volume will be accessed using. One of the // following fields MUST be specified. // // Types that are assignable to AccessType: // // *Volume_Source_CSIVolume_VolumeCapability_Block // *Volume_Source_CSIVolume_VolumeCapability_Mount AccessType isVolume_Source_CSIVolume_VolumeCapability_AccessType `protobuf_oneof:"access_type"` AccessMode *Volume_Source_CSIVolume_VolumeCapability_AccessMode `protobuf:"bytes,3,req,name=access_mode,json=accessMode" json:"access_mode,omitempty"` // contains filtered or unexported fields }
Specifies a capability of a volume. https://github.com/container-storage-interface/spec/blob/v1.3.0/csi.proto#L379:L438
func (*Volume_Source_CSIVolume_VolumeCapability) Descriptor
deprecated
added in
v1.1.0
func (*Volume_Source_CSIVolume_VolumeCapability) Descriptor() ([]byte, []int)
Deprecated: Use Volume_Source_CSIVolume_VolumeCapability.ProtoReflect.Descriptor instead.
func (*Volume_Source_CSIVolume_VolumeCapability) GetAccessMode ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability) GetAccessMode() *Volume_Source_CSIVolume_VolumeCapability_AccessMode
func (*Volume_Source_CSIVolume_VolumeCapability) GetAccessType ¶ added in v1.1.0
func (m *Volume_Source_CSIVolume_VolumeCapability) GetAccessType() isVolume_Source_CSIVolume_VolumeCapability_AccessType
func (*Volume_Source_CSIVolume_VolumeCapability) GetBlock ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability) GetBlock() *Volume_Source_CSIVolume_VolumeCapability_BlockVolume
func (*Volume_Source_CSIVolume_VolumeCapability) GetMount ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability) GetMount() *Volume_Source_CSIVolume_VolumeCapability_MountVolume
func (*Volume_Source_CSIVolume_VolumeCapability) ProtoMessage ¶ added in v1.1.0
func (*Volume_Source_CSIVolume_VolumeCapability) ProtoMessage()
func (*Volume_Source_CSIVolume_VolumeCapability) ProtoReflect ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability) ProtoReflect() protoreflect.Message
func (*Volume_Source_CSIVolume_VolumeCapability) Reset ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability) Reset()
func (*Volume_Source_CSIVolume_VolumeCapability) String ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability) String() string
type Volume_Source_CSIVolume_VolumeCapability_AccessMode ¶ added in v1.1.0
type Volume_Source_CSIVolume_VolumeCapability_AccessMode struct { Mode *Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Specifies how a volume can be accessed.
func (*Volume_Source_CSIVolume_VolumeCapability_AccessMode) Descriptor
deprecated
added in
v1.1.0
func (*Volume_Source_CSIVolume_VolumeCapability_AccessMode) Descriptor() ([]byte, []int)
Deprecated: Use Volume_Source_CSIVolume_VolumeCapability_AccessMode.ProtoReflect.Descriptor instead.
func (*Volume_Source_CSIVolume_VolumeCapability_AccessMode) ProtoMessage ¶ added in v1.1.0
func (*Volume_Source_CSIVolume_VolumeCapability_AccessMode) ProtoMessage()
func (*Volume_Source_CSIVolume_VolumeCapability_AccessMode) ProtoReflect ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_AccessMode) ProtoReflect() protoreflect.Message
func (*Volume_Source_CSIVolume_VolumeCapability_AccessMode) Reset ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_AccessMode) Reset()
func (*Volume_Source_CSIVolume_VolumeCapability_AccessMode) String ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_AccessMode) String() string
type Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode ¶ added in v1.1.0
type Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode int32
const ( Volume_Source_CSIVolume_VolumeCapability_AccessMode_UNKNOWN Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode = 0 // Can only be published once as read/write on a single node, at // any given time. Volume_Source_CSIVolume_VolumeCapability_AccessMode_SINGLE_NODE_WRITER Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode = 1 // Can only be published once as readonly on a single node, at // any given time. Volume_Source_CSIVolume_VolumeCapability_AccessMode_SINGLE_NODE_READER_ONLY Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode = 2 // Can be published as readonly at multiple nodes simultaneously. Volume_Source_CSIVolume_VolumeCapability_AccessMode_MULTI_NODE_READER_ONLY Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode = 3 // Can be published at multiple nodes simultaneously. Only one of // the node can be used as read/write. The rest will be readonly. Volume_Source_CSIVolume_VolumeCapability_AccessMode_MULTI_NODE_SINGLE_WRITER Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode = 4 // Can be published as read/write at multiple nodes // simultaneously. Volume_Source_CSIVolume_VolumeCapability_AccessMode_MULTI_NODE_MULTI_WRITER Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode = 5 )
func (Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) Descriptor ¶ added in v1.1.0
func (Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) Descriptor() protoreflect.EnumDescriptor
func (Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) EnumDescriptor
deprecated
added in
v1.1.0
func (Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode.Descriptor instead.
func (Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) Number ¶ added in v1.1.0
func (x Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) Number() protoreflect.EnumNumber
func (Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) String ¶ added in v1.1.0
func (x Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) String() string
func (*Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) UnmarshalJSON
deprecated
added in
v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_AccessMode_Mode) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Volume_Source_CSIVolume_VolumeCapability_Block ¶ added in v1.1.0
type Volume_Source_CSIVolume_VolumeCapability_Block struct {
Block *Volume_Source_CSIVolume_VolumeCapability_BlockVolume `protobuf:"bytes,1,opt,name=block,oneof"`
}
type Volume_Source_CSIVolume_VolumeCapability_BlockVolume ¶ added in v1.1.0
type Volume_Source_CSIVolume_VolumeCapability_BlockVolume struct {
// contains filtered or unexported fields
}
Indicates that the volume will be accessed via the block device API.
func (*Volume_Source_CSIVolume_VolumeCapability_BlockVolume) Descriptor
deprecated
added in
v1.1.0
func (*Volume_Source_CSIVolume_VolumeCapability_BlockVolume) Descriptor() ([]byte, []int)
Deprecated: Use Volume_Source_CSIVolume_VolumeCapability_BlockVolume.ProtoReflect.Descriptor instead.
func (*Volume_Source_CSIVolume_VolumeCapability_BlockVolume) ProtoMessage ¶ added in v1.1.0
func (*Volume_Source_CSIVolume_VolumeCapability_BlockVolume) ProtoMessage()
func (*Volume_Source_CSIVolume_VolumeCapability_BlockVolume) ProtoReflect ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_BlockVolume) ProtoReflect() protoreflect.Message
func (*Volume_Source_CSIVolume_VolumeCapability_BlockVolume) Reset ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_BlockVolume) Reset()
func (*Volume_Source_CSIVolume_VolumeCapability_BlockVolume) String ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_BlockVolume) String() string
type Volume_Source_CSIVolume_VolumeCapability_Mount ¶ added in v1.1.0
type Volume_Source_CSIVolume_VolumeCapability_Mount struct {
Mount *Volume_Source_CSIVolume_VolumeCapability_MountVolume `protobuf:"bytes,2,opt,name=mount,oneof"`
}
type Volume_Source_CSIVolume_VolumeCapability_MountVolume ¶ added in v1.1.0
type Volume_Source_CSIVolume_VolumeCapability_MountVolume struct { // The filesystem type. An empty string is equal to an unspecified // field value. FsType *string `protobuf:"bytes,1,opt,name=fs_type,json=fsType" json:"fs_type,omitempty"` // The mount options that can be used for the volume. This field is // OPTIONAL. `mount_flags` MAY contain sensitive information. // Therefore, Mesos and the Plugin MUST NOT leak this information // to untrusted entities. The total size of this repeated field // SHALL NOT exceed 4 KiB. MountFlags []string `protobuf:"bytes,2,rep,name=mount_flags,json=mountFlags" json:"mount_flags,omitempty"` // contains filtered or unexported fields }
Indicates that the volume will be accessed via the filesystem API.
func (*Volume_Source_CSIVolume_VolumeCapability_MountVolume) Descriptor
deprecated
added in
v1.1.0
func (*Volume_Source_CSIVolume_VolumeCapability_MountVolume) Descriptor() ([]byte, []int)
Deprecated: Use Volume_Source_CSIVolume_VolumeCapability_MountVolume.ProtoReflect.Descriptor instead.
func (*Volume_Source_CSIVolume_VolumeCapability_MountVolume) GetFsType ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_MountVolume) GetFsType() string
func (*Volume_Source_CSIVolume_VolumeCapability_MountVolume) GetMountFlags ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_MountVolume) GetMountFlags() []string
func (*Volume_Source_CSIVolume_VolumeCapability_MountVolume) ProtoMessage ¶ added in v1.1.0
func (*Volume_Source_CSIVolume_VolumeCapability_MountVolume) ProtoMessage()
func (*Volume_Source_CSIVolume_VolumeCapability_MountVolume) ProtoReflect ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_MountVolume) ProtoReflect() protoreflect.Message
func (*Volume_Source_CSIVolume_VolumeCapability_MountVolume) Reset ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_MountVolume) Reset()
func (*Volume_Source_CSIVolume_VolumeCapability_MountVolume) String ¶ added in v1.1.0
func (x *Volume_Source_CSIVolume_VolumeCapability_MountVolume) String() string
type Volume_Source_DockerVolume ¶
type Volume_Source_DockerVolume struct { // Driver of the volume, it can be flocker, convoy, raxrey etc. Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"` // Name of the volume. Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` // Volume driver specific options. DriverOptions *Parameters `protobuf:"bytes,3,opt,name=driver_options,json=driverOptions" json:"driver_options,omitempty"` // contains filtered or unexported fields }
func (*Volume_Source_DockerVolume) Descriptor
deprecated
func (*Volume_Source_DockerVolume) Descriptor() ([]byte, []int)
Deprecated: Use Volume_Source_DockerVolume.ProtoReflect.Descriptor instead.
func (*Volume_Source_DockerVolume) GetDriver ¶
func (x *Volume_Source_DockerVolume) GetDriver() string
func (*Volume_Source_DockerVolume) GetDriverOptions ¶
func (x *Volume_Source_DockerVolume) GetDriverOptions() *Parameters
func (*Volume_Source_DockerVolume) GetName ¶
func (x *Volume_Source_DockerVolume) GetName() string
func (*Volume_Source_DockerVolume) ProtoMessage ¶
func (*Volume_Source_DockerVolume) ProtoMessage()
func (*Volume_Source_DockerVolume) ProtoReflect ¶ added in v1.1.0
func (x *Volume_Source_DockerVolume) ProtoReflect() protoreflect.Message
func (*Volume_Source_DockerVolume) Reset ¶
func (x *Volume_Source_DockerVolume) Reset()
func (*Volume_Source_DockerVolume) String ¶
func (x *Volume_Source_DockerVolume) String() string
type Volume_Source_HostPath ¶
type Volume_Source_HostPath struct { Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"` MountPropagation *MountPropagation `protobuf:"bytes,2,opt,name=mount_propagation,json=mountPropagation" json:"mount_propagation,omitempty"` // contains filtered or unexported fields }
Absolute path pointing to a directory or file on the host.
func (*Volume_Source_HostPath) Descriptor
deprecated
func (*Volume_Source_HostPath) Descriptor() ([]byte, []int)
Deprecated: Use Volume_Source_HostPath.ProtoReflect.Descriptor instead.
func (*Volume_Source_HostPath) GetMountPropagation ¶
func (x *Volume_Source_HostPath) GetMountPropagation() *MountPropagation
func (*Volume_Source_HostPath) GetPath ¶
func (x *Volume_Source_HostPath) GetPath() string
func (*Volume_Source_HostPath) ProtoMessage ¶
func (*Volume_Source_HostPath) ProtoMessage()
func (*Volume_Source_HostPath) ProtoReflect ¶ added in v1.1.0
func (x *Volume_Source_HostPath) ProtoReflect() protoreflect.Message
func (*Volume_Source_HostPath) Reset ¶
func (x *Volume_Source_HostPath) Reset()
func (*Volume_Source_HostPath) String ¶
func (x *Volume_Source_HostPath) String() string
type Volume_Source_SandboxPath ¶
type Volume_Source_SandboxPath struct { Type *Volume_Source_SandboxPath_Type `protobuf:"varint,1,opt,name=type,enum=mesos.v1.Volume_Source_SandboxPath_Type" json:"type,omitempty"` // A path relative to the corresponding container's sandbox. // Note that upwards traversal (i.e. ../../abc) is not allowed. Path *string `protobuf:"bytes,2,req,name=path" json:"path,omitempty"` // contains filtered or unexported fields }
Describe a path from a container's sandbox. The container can be the current container (SELF), or its parent container (PARENT). PARENT allows all child containers to share a volume from their parent container's sandbox. It'll be an error if the current container is a top level container.
func (*Volume_Source_SandboxPath) Descriptor
deprecated
func (*Volume_Source_SandboxPath) Descriptor() ([]byte, []int)
Deprecated: Use Volume_Source_SandboxPath.ProtoReflect.Descriptor instead.
func (*Volume_Source_SandboxPath) GetPath ¶
func (x *Volume_Source_SandboxPath) GetPath() string
func (*Volume_Source_SandboxPath) GetType ¶
func (x *Volume_Source_SandboxPath) GetType() Volume_Source_SandboxPath_Type
func (*Volume_Source_SandboxPath) ProtoMessage ¶
func (*Volume_Source_SandboxPath) ProtoMessage()
func (*Volume_Source_SandboxPath) ProtoReflect ¶ added in v1.1.0
func (x *Volume_Source_SandboxPath) ProtoReflect() protoreflect.Message
func (*Volume_Source_SandboxPath) Reset ¶
func (x *Volume_Source_SandboxPath) Reset()
func (*Volume_Source_SandboxPath) String ¶
func (x *Volume_Source_SandboxPath) String() string
type Volume_Source_SandboxPath_Type ¶
type Volume_Source_SandboxPath_Type int32
const ( Volume_Source_SandboxPath_UNKNOWN Volume_Source_SandboxPath_Type = 0 Volume_Source_SandboxPath_SELF Volume_Source_SandboxPath_Type = 1 Volume_Source_SandboxPath_PARENT Volume_Source_SandboxPath_Type = 2 )
func (Volume_Source_SandboxPath_Type) Descriptor ¶ added in v1.1.0
func (Volume_Source_SandboxPath_Type) Descriptor() protoreflect.EnumDescriptor
func (Volume_Source_SandboxPath_Type) Enum ¶
func (x Volume_Source_SandboxPath_Type) Enum() *Volume_Source_SandboxPath_Type
func (Volume_Source_SandboxPath_Type) EnumDescriptor
deprecated
func (Volume_Source_SandboxPath_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_Source_SandboxPath_Type.Descriptor instead.
func (Volume_Source_SandboxPath_Type) Number ¶ added in v1.1.0
func (x Volume_Source_SandboxPath_Type) Number() protoreflect.EnumNumber
func (Volume_Source_SandboxPath_Type) String ¶
func (x Volume_Source_SandboxPath_Type) String() string
func (Volume_Source_SandboxPath_Type) Type ¶ added in v1.1.0
func (Volume_Source_SandboxPath_Type) Type() protoreflect.EnumType
func (*Volume_Source_SandboxPath_Type) UnmarshalJSON
deprecated
func (x *Volume_Source_SandboxPath_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Volume_Source_Type ¶
type Volume_Source_Type int32
const ( // This must be the first enum value in this list, to // ensure that if 'type' is not set, the default value // is UNKNOWN. This enables enum values to be added // in a backwards-compatible way. See: MESOS-4997. Volume_Source_UNKNOWN Volume_Source_Type = 0 // TODO(gyliu513): Add IMAGE as volume source type. Volume_Source_DOCKER_VOLUME Volume_Source_Type = 1 Volume_Source_HOST_PATH Volume_Source_Type = 4 Volume_Source_SANDBOX_PATH Volume_Source_Type = 2 Volume_Source_SECRET Volume_Source_Type = 3 Volume_Source_CSI_VOLUME Volume_Source_Type = 5 )
func (Volume_Source_Type) Descriptor ¶ added in v1.1.0
func (Volume_Source_Type) Descriptor() protoreflect.EnumDescriptor
func (Volume_Source_Type) Enum ¶
func (x Volume_Source_Type) Enum() *Volume_Source_Type
func (Volume_Source_Type) EnumDescriptor
deprecated
func (Volume_Source_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_Source_Type.Descriptor instead.
func (Volume_Source_Type) Number ¶ added in v1.1.0
func (x Volume_Source_Type) Number() protoreflect.EnumNumber
func (Volume_Source_Type) String ¶
func (x Volume_Source_Type) String() string
func (Volume_Source_Type) Type ¶ added in v1.1.0
func (Volume_Source_Type) Type() protoreflect.EnumType
func (*Volume_Source_Type) UnmarshalJSON
deprecated
func (x *Volume_Source_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type WeightInfo ¶
type WeightInfo struct { Weight *float64 `protobuf:"fixed64,1,req,name=weight" json:"weight,omitempty"` // Related role name. Role *string `protobuf:"bytes,2,opt,name=role" json:"role,omitempty"` // contains filtered or unexported fields }
* Named WeightInfo to indicate resource allocation priority between the different roles.
func (*WeightInfo) Descriptor
deprecated
func (*WeightInfo) Descriptor() ([]byte, []int)
Deprecated: Use WeightInfo.ProtoReflect.Descriptor instead.
func (*WeightInfo) GetRole ¶
func (x *WeightInfo) GetRole() string
func (*WeightInfo) GetWeight ¶
func (x *WeightInfo) GetWeight() float64
func (*WeightInfo) ProtoMessage ¶
func (*WeightInfo) ProtoMessage()
func (*WeightInfo) ProtoReflect ¶ added in v1.1.0
func (x *WeightInfo) ProtoReflect() protoreflect.Message
func (*WeightInfo) Reset ¶
func (x *WeightInfo) Reset()
func (*WeightInfo) String ¶
func (x *WeightInfo) String() string