Documentation ¶
Overview ¶
Package mesos_maintenance is a generated protocol buffer package.
It is generated from these files:
maintenance.proto
It has these top-level messages:
Window Schedule ClusterStatus
Index ¶
- type ClusterStatus
- type ClusterStatus_DrainingMachine
- func (*ClusterStatus_DrainingMachine) Descriptor() ([]byte, []int)
- func (m *ClusterStatus_DrainingMachine) GetId() *mesos.MachineID
- func (m *ClusterStatus_DrainingMachine) GetStatuses() []*mesos_allocator.InverseOfferStatus
- func (*ClusterStatus_DrainingMachine) ProtoMessage()
- func (m *ClusterStatus_DrainingMachine) Reset()
- func (m *ClusterStatus_DrainingMachine) String() string
- type Schedule
- type Window
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterStatus ¶
type ClusterStatus struct { DrainingMachines []*ClusterStatus_DrainingMachine `protobuf:"bytes,1,rep,name=draining_machines,json=drainingMachines" json:"draining_machines,omitempty"` DownMachines []*mesos.MachineID `protobuf:"bytes,2,rep,name=down_machines,json=downMachines" json:"down_machines,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Represents the maintenance status of each machine in the cluster. The lists correspond to the `MachineInfo.Mode` enumeration.
func (*ClusterStatus) Descriptor ¶
func (*ClusterStatus) Descriptor() ([]byte, []int)
func (*ClusterStatus) GetDownMachines ¶
func (m *ClusterStatus) GetDownMachines() []*mesos.MachineID
func (*ClusterStatus) GetDrainingMachines ¶
func (m *ClusterStatus) GetDrainingMachines() []*ClusterStatus_DrainingMachine
func (*ClusterStatus) ProtoMessage ¶
func (*ClusterStatus) ProtoMessage()
func (*ClusterStatus) Reset ¶
func (m *ClusterStatus) Reset()
func (*ClusterStatus) String ¶
func (m *ClusterStatus) String() string
type ClusterStatus_DrainingMachine ¶
type ClusterStatus_DrainingMachine struct { Id *mesos.MachineID `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` // A list of the most recent responses to inverse offers from frameworks // running on this draining machine. Statuses []*mesos_allocator.InverseOfferStatus `protobuf:"bytes,2,rep,name=statuses" json:"statuses,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ClusterStatus_DrainingMachine) Descriptor ¶
func (*ClusterStatus_DrainingMachine) Descriptor() ([]byte, []int)
func (*ClusterStatus_DrainingMachine) GetId ¶
func (m *ClusterStatus_DrainingMachine) GetId() *mesos.MachineID
func (*ClusterStatus_DrainingMachine) GetStatuses ¶
func (m *ClusterStatus_DrainingMachine) GetStatuses() []*mesos_allocator.InverseOfferStatus
func (*ClusterStatus_DrainingMachine) ProtoMessage ¶
func (*ClusterStatus_DrainingMachine) ProtoMessage()
func (*ClusterStatus_DrainingMachine) Reset ¶
func (m *ClusterStatus_DrainingMachine) Reset()
func (*ClusterStatus_DrainingMachine) String ¶
func (m *ClusterStatus_DrainingMachine) String() string
type Schedule ¶
type Schedule struct { Windows []*Window `protobuf:"bytes,1,rep,name=windows" json:"windows,omitempty"` XXX_unrecognized []byte `json:"-"` }
* A list of maintenance windows. For example, this may represent a rolling restart of agents.
func (*Schedule) Descriptor ¶
func (*Schedule) GetWindows ¶
func (*Schedule) ProtoMessage ¶
func (*Schedule) ProtoMessage()
type Window ¶
type Window struct { // Machines affected by this maintenance window. MachineIds []*mesos.MachineID `protobuf:"bytes,1,rep,name=machine_ids,json=machineIds" json:"machine_ids,omitempty"` // Interval during which this set of machines is expected to be down. XXX_unrecognized []byte `json:"-"` }
* A set of machines scheduled to go into maintenance in the same `unavailability`.
func (*Window) Descriptor ¶
func (*Window) GetMachineIds ¶
func (*Window) GetUnavailability ¶
func (m *Window) GetUnavailability() *mesos.Unavailability
func (*Window) ProtoMessage ¶
func (*Window) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.