package mesos.v1.master

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Call

master.proto:37

* Calls that can be sent to the v1 master API. A call is described using the standard protocol buffer "union" trick, see https://developers.google.com/protocol-buffers/docs/techniques#union.

message Call.CreateVolumes

master.proto:159

Create persistent volumes on reserved resources. The request is forwarded asynchronously to the Mesos agent where the reserved resources are located. That asynchronous message may not be delivered or creating the volumes at the agent might fail. Volume creation can be verified by sending a `GET_VOLUMES` call.

Used in: Call

message Call.DestroyVolumes

master.proto:168

Destroy persistent volumes. The request is forwarded asynchronously to the Mesos agent where the reserved resources are located. That asynchronous message may not be delivered or destroying the volumes at the agent might fail. Volume deletion can be verified by sending a `GET_VOLUMES` call.

Used in: Call

message Call.GetMetrics

master.proto:101

Provides a snapshot of the current metrics tracked by the master.

Used in: Call

message Call.GrowVolume

master.proto:176

Grow a volume by an additional disk resource. NOTE: This is currently experimental and only for persistent volumes created on ROOT/PATH disks.

Used in: Call

message Call.ListFiles

master.proto:121

Provides the file listing for a directory.

Used in: Call

message Call.MarkAgentGone

master.proto:242

Mark an agent as gone. This can be used by an operator to assert that the agent instance has failed and is never coming back (e.g., ephemeral instance from cloud provider). The master would shutdown the agent and send 'TASK_GONE_BY_OPERATOR' updates for all the running tasks. The persistent volumes/reservations on the agent won't be accessible anymore. NOTE: It is possible that the tasks might still be running if the operator's assertion was wrong and the agent was partitioned away from the master. The agent would be shutdown when it tries to reregister with the master when the partition heals.

Used in: Call

message Call.ReadFile

master.proto:126

Reads data from a file.

Used in: Call

message Call.RemoveQuota

master.proto:221

Used in: Call

message Call.ReserveResources

master.proto:143

Reserve resources dynamically on a specific agent.

Used in: Call

message Call.SetLoggingLevel

master.proto:112

Sets the logging verbosity level for a specified duration. Mesos uses [glog](https://github.com/google/glog) for logging. The library only uses verbose logging which means nothing will be output unless the verbosity level is set (by default it's 0, libprocess uses levels 1, 2, and 3).

Used in: Call

message Call.SetQuota

master.proto:217

Sets the quota for resources to be used by a particular role.

Used in: Call

message Call.ShrinkVolume

master.proto:188

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 disks.

Used in: Call

message Call.StartMaintenance

master.proto:206

Starts the maintenance of the cluster, this would bring a set of machines down.

Used in: Call

message Call.StopMaintenance

master.proto:212

Stops the maintenance of the cluster, this would bring a set of machines back up.

Used in: Call

message Call.Teardown

master.proto:227

Tears down a running framework by shutting down all tasks/executors and removing the framework.

Used in: Call

enum Call.Type

master.proto:38

Used in: Call

message Call.UnreserveResources

master.proto:149

Unreserve resources dynamically on a specific agent.

Used in: Call

message Call.UpdateMaintenanceSchedule

master.proto:200

Updates the cluster's maintenance schedule.

Used in: Call

message Call.UpdateWeights

master.proto:138

Used in: Call

message Event

master.proto:551

* Streaming response to `Call::SUBSCRIBE` made to the master.

message Event.AgentAdded

master.proto:631

Forwarded by the master when an agent becomes known to it. This can happen when an agent registered for the first time, or reregistered after a master failover.

Used in: Event

message Event.AgentRemoved

master.proto:642

Forwarded by the master when an agent is removed. This can happen when the agent is scheduled for maintenance. NOTE: It's possible that an agent might become active once it has been removed, i.e. if the master has gc'ed its list of known "dead" agents. See MESOS-5965 for context.

Used in: Event

message Event.FrameworkAdded

master.proto:611

Forwarded by the master when a framework becomes known to it. This can happen when a new framework registers with the master.

Used in: Event

message Event.FrameworkRemoved

master.proto:624

Forwarded by the master when a framework is removed. This can happen when a framework is explicitly teardown by the operator or if it fails to reregister with the master within the failover timeout.

Used in: Event

message Event.FrameworkUpdated

master.proto:617

Forwarded by the master when a framework reregisters with the master upon a disconnection (network error) or upon a master failover.

Used in: Event

message Event.Subscribed

master.proto:576

First event received when a client subscribes.

Used in: Event

message Event.TaskAdded

master.proto:589

Forwarded by the master when a task becomes known to it. This can happen when a new task is launched by the scheduler or when the task becomes known to the master upon an agent (re-)registration after a failover.

Used in: Event

message Event.TaskUpdated

master.proto:594

Forwarded by the master when an existing task transitions to a new state.

Used in: Event

enum Event.Type

master.proto:552

Used in: Event

message Response

master.proto:273

* Synchronous responses for all calls (except Call::SUBSCRIBE) made to the v1 master API.

message Response.GetAgents

master.proto:355

Used in: Response, GetState

message Response.GetAgents.Agent

master.proto:356

Used in: Event.AgentAdded, GetAgents, peloton.private.hostmgr.hostsvc.GetMesosAgentInfoResponse

message Response.GetAgents.Agent.ResourceProvider

master.proto:374

Used in: Agent

message Response.GetExecutors

master.proto:436

Lists information about all the executors known to the master at the current time. Note that there might be executors unknown to the master running on partitioned or unsubscribed agents.

Used in: Response, GetState

message Response.GetExecutors.Executor

master.proto:437

Used in: GetExecutors

message Response.GetFlags

master.proto:314

Contains the flag configuration of the master.

Used in: Response

message Response.GetFrameworks

master.proto:392

Information about all the frameworks known to the master at the current time. Note that there might be frameworks unknown to the master running on partitioned or unsubscribed agents.

Used in: Response, GetState

message Response.GetFrameworks.Framework

master.proto:393

Used in: Event.FrameworkAdded, Event.FrameworkUpdated, GetFrameworks

message Response.GetHealth

master.proto:309

`healthy` would be true if the master is healthy. Delayed responses are also indicative of the poor health of the master.

Used in: Response

message Response.GetLoggingLevel

master.proto:329

Contains the logging level of the master.

Used in: Response

message Response.GetMaintenanceSchedule

master.proto:515

Contains the cluster's maintenance schedule.

Used in: Response

message Response.GetMaintenanceStatus

master.proto:510

Contains the cluster's maintenance status.

Used in: Response

message Response.GetMaster

master.proto:501

Contains the master's information.

Used in: Response

message Response.GetMetrics

master.proto:324

Contains a snapshot of the current metrics.

Used in: Response

message Response.GetOperations

master.proto:452

Lists information about all operations known to the master at the current time.

Used in: Response

message Response.GetQuota

master.proto:520

Contains the cluster's configured quotas.

Used in: Response

message Response.GetRoles

master.proto:491

Provides information about every role that is on the role whitelist (if enabled), has one or more registered frameworks or has a non-default weight or quota.

Used in: Response

message Response.GetState

master.proto:348

Contains full state of the master i.e. information about the tasks, agents, frameworks and executors running in the cluster.

Used in: Event.Subscribed, Response

message Response.GetTasks

master.proto:459

Lists information about all the tasks known to the master at the current time. Note that there might be tasks unknown to the master running on partitioned or unsubscribed agents.

Used in: Response, GetState

message Response.GetVersion

master.proto:319

Contains the version information of the master.

Used in: Response

message Response.GetWeights

master.proto:496

Provides the weight information about every role.

Used in: Response

message Response.ListFiles

master.proto:334

Contains the file listing(similar to `ls -l`) for a directory.

Used in: Response

message Response.ReadFile

master.proto:339

Contains the file data.

Used in: Response

enum Response.Type

master.proto:275

Each of the responses of type `FOO` corresponds to `Foo` message below.

Used in: Response