# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Receive offers with revocable resources.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
* ACLs used for authorization.
Entity is used to describe a subject(s) or an object(s) of an ACL.
ACLs.
No description provided by the author
Which principals are authorized to shutdown frameworks of other principals.
* Collection of ACL.
Represents an "action" performed on the log.
No description provided by the author
No description provided by the author
No description provided by the author
* Describes Completed Frameworks, etc.
No description provided by the author
* Describes an attribute that can be set on a machine.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* Scheduler call API.
Accepts an offer, performing the specified operations in a sequential manner.
Acknowledges the receipt of status update.
Declines an offer, signaling the master to potentially reoffer the resources to a different framework.
Kills a specific task.
Sends arbitrary binary data to the executor.
Allows the scheduler to query the status for non-terminal tasks.
TODO(vinod): Support arbitrary queries than just state of tasks.
Shuts down a custom executor.
Subscribes the scheduler with the master to receive events.
This message is sent to the slave whenever there is an update of the resources that need to be checkpointed (e.g., persistent volume or dynamic reservation).
* Describes a command, executed via: '/bin/sh -c value'.
Describes a container.
No description provided by the author
* A slave generated ID to distinguish a container.
* Describes a container configuration and allows extensible configurations for different container implementations.
No description provided by the author
No description provided by the author
* Information on all active containers returned by the containerizer to the slave.
* Credential used in various places for authentication and authorization.
* Credentials used for framework authentication, HTTP authentication (where the common 'username' and 'password' are captured as 'principal' and 'secret' respectively), etc.
No description provided by the author
* Encodes the destroy command sent to the external containerizer program.
* Service discovery information.
Describes a state entry, a versioned (via a UUID) key/value pair.
* Describes a collection of environment variables.
No description provided by the author
* Scheduler event API.
Received when an invalid framework (e.g., unauthenticated, unauthorized) attempts to subscribe with the master.
Received when a slave is removed from the cluster (e.g., failed health checks) or when an executor is terminated.
Received when a custom message generated by the executor is forwarded by the master.
Received whenever there are new resources that are offered to the scheduler.
Received when a particular offer is no longer valid (e.g., the slave corresponding to the offer has been removed) and hence needs to be rescinded.
First event received when the scheduler subscribes.
Received whenever there is a status update that is generated by the executor or slave or master.
* A framework generated ID to distinguish an executor.
* Describes information about an executor.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* Describes possible filters that can be applied to unused resources (see SchedulerDriver::launchTasks) to influence the allocator.
No description provided by the author
* A unique ID assigned to a framework.
* Describes a framework.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* Describes a health check for a task or executor (or any arbitrary process/command).
Describes an HTTP health check.
* Message to signal completion of an event within a module.
No description provided by the author
For use with detector callbacks.
No description provided by the author
No description provided by the author
* Key, value pair used to store free form user-data.
* Collection of labels.
* Encodes the launch command sent to the external containerizer program.
No description provided by the author
Represents a "learned" event, that is, when a particular action has been agreed upon (reached consensus).
No description provided by the author
* Describes a master.
No description provided by the author
The metadata of a replica.
* Describes some resources available on a slave.
Defines an operation that can be performed against offers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* A unique ID assigned to an offer.
Describes an operation used in the log storage implementation.
Describes a "diff" operation where the 'value' of the entry is just the diff itself, but the 'uuid' represents the UUID of the entry after applying this diff.
Describes an "expunge" operation.
Describes a "snapshot" operation.
* A generic (key, value) pair used in various places for parameters.
* Collection of Parameter.
* Describes a sample of events from "perf stat".
This message is periodically sent by the master to the slave.
This message is sent by the slave to the master in response to the PingSlaveMessage.
* Named port used for service discovery.
* Collection of ports.
Represents a "promise" that a replica has made.
Represents a "promise" request from a proposer with the specified 'proposal' to a replica.
Represents a "promise" response from a replica back to a proposer.
* Rate (queries per second, QPS) limit for messages from a framework to master.
* Collection of RateLimit.
Allows the framework to query the status for non-terminal tasks.
No description provided by the author
Represents a log record written to the local filesystem by a replica.
Represents a recover request.
When a replica receives a RecoverRequest, it will reply with its current status, and the begin and the end of its current log.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* Describes a request for resources that can be used by a framework to proactively influence the allocator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* Describes a resource on a machine.
No description provided by the author
Describes a persistent disk volume.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* A snapshot of resource usage statistics.
* Describes a snapshot of the resource usage for executors.
No description provided by the author
No description provided by the author
No description provided by the author
Tells a slave (and consequently executor) to shutdown an executor.
Tells a slave to shut down all executors of the given framework.
No description provided by the author
* A unique ID assigned to a slave.
* Describes a slave.
No description provided by the author
No description provided by the author
TODO(vinod): Create a new UUID message type.
No description provided by the author
NOTE: If 'pid' is present, scheduler driver sends an acknowledgement to the pid.
This message encapsulates how we checkpoint a status update to disk.
No description provided by the author
No description provided by the author
TODO(benh): It would be great if this could just be a TaskInfo wherever it gets used! However, doing so would require adding the framework_id field, the executor_id field, and the state field into TaskInfo though (or send them another way).
Message describing task current health status that is sent by the task health checker to the command executor.
* A framework generated ID to distinguish a task.
* Describes a task.
* Describes the current status of a task.
* Information about a container termination, returned by the containerizer to the slave.
* 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).
No description provided by the author
No description provided by the author
* Encodes the update command sent to the external containerizer program.
No description provided by the author
This message is sent by the slave to the master to inform the master about the total amount of oversubscribed (allocated and allocatable) resources.
* Encodes the usage command sent to the external containerizer program.
* Describes an Attribute or Resource "value".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* Describes a volume mapping either from host to container or vice versa.
* Encodes the wait command sent to the external containerizer program.
Represents a write request for a specific type of action.
Represents a write response corresponding to a write request.
# Type aliases
No description provided by the author
No description provided by the author
Possible call types, followed by message definitions if applicable.
Network options.
All container implementation types.
No description provided by the author
Possible event types, followed by message definitions if applicable.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* Status is used to indicate the state of the scheduler and executor driver after function calls.
No description provided by the author
* Describes possible task states.
Detailed reason for the task status update.
Describes the source of the task status update.
No description provided by the author
No description provided by the author