package peloton.api.v0.task

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

service TaskManager

task.proto:684

* Task manager interface

message AndConstraint

task.proto:154

* AndConstraint represents a logical 'and' of constraints.

Used in: Constraint

message BrowseSandboxFailure

task.proto:731

* Failures for browsing sandbox files requests to mesos call.

Used in: BrowseSandboxResponse.Error

message BrowseSandboxResponse.Error

task.proto:756

Used in: BrowseSandboxResponse

message Constraint

task.proto:135

* Constraint represents a host label constraint or a related tasks label constraint. This is used to require that a host have certain label constraints or to require that the tasks already running on the host have certain label constraints.

Used in: AndConstraint, OrConstraint, TaskConfig, private.hostmgr.hostsvc.HostFilter, private.resmgr.Task

enum Constraint.Type

task.proto:136

Used in: Constraint

message GetPodEventsResponse.Error

task.proto:830

Used in: GetPodEventsResponse

message HealthCheckConfig

task.proto:43

* Health check configuration for a task

Used in: TaskConfig

message HealthCheckConfig.CommandCheck

task.proto:78

Used in: HealthCheckConfig

message HealthCheckConfig.HTTPCheck

task.proto:88

HTTP health check to be executed. Sends a GET request to scheme://<host>:port/path. Host is not configurable and is resolved automatically.

Used in: HealthCheckConfig

enum HealthCheckConfig.Type

task.proto:64

Used in: HealthCheckConfig

enum HealthState

task.proto:381

* HealthState is the health check state of a task

Used in: RuntimeInfo, TaskEvent

message InstanceIdOutOfRange

task.proto:774

DEPRECATED by google.rpc.OUT_OF_RANGE error.

Used in: BrowseSandboxResponse.Error, GetResponse, RestartResponse, StartResponse.Error, StopResponse.Error

message InstanceRange

task.proto:554

* Task InstanceID range [from, to)

Used in: job.RestartRequest, job.StartRequest, job.StopRequest, job.svc.RestartJobRequest, job.svc.StartJobRequest, job.svc.StopJobRequest, ListRequest, RefreshRequest, RestartRequest, StartRequest, StopRequest, svc.ListTasksRequest, svc.RefreshTasksRequest, svc.RestartTasksRequest, svc.StartTasksRequest, svc.StopTasksRequest

message LabelConstraint

task.proto:169

* LabelConstraint represents a constraint on the number of occurrences of a given label from the set of host labels or task labels present on the host.

Used in: Constraint

enum LabelConstraint.Condition

task.proto:173

* Condition represents a constraint on the number of occurrences of the label.

Used in: LabelConstraint

enum LabelConstraint.Kind

task.proto:185

* Kind represents whatever the constraint applies to the labels on the host or to the labels of the tasks that are located on the host.

Used in: LabelConstraint

message ListResponse.Result

task.proto:873

Used in: ListResponse

message OrConstraint

task.proto:161

* OrConstraint represents a logical 'or' of constraints.

Used in: Constraint

message PersistentVolumeConfig

task.proto:245

* Persistent volume configuration for a task.

Used in: TaskConfig

message PodEvent

task.proto:638

* Pod event of a Peloton pod instance.

Used in: GetPodEventsResponse

message PortConfig

task.proto:116

* Network port configuration for a task

Used in: TaskConfig

message PreemptionPolicy

task.proto:218

* Preemption policy for a task

Used in: TaskConfig

enum PreemptionPolicy.Type

task.proto:227

* Type represents whether the instance is preemptible. If so, it might be scheduled using elastic resources from other resource pools and subject to preemption when the demands of other resource pools increase. If it is non-preemptible it will be scheduled using the reserved resources only. This can override the preemptible sla configuration at the job level.

Used in: PreemptionPolicy

message QueryResponse.Error

task.proto:953

Used in: QueryResponse

message QuerySpec

task.proto:565

* QuerySpec specifies the list of query criteria for tasks. All indexed fields should be part of this message. And all fields in this message have to be indexed too.

Used in: QueryRequest, svc.QueryTasksRequest

message ResourceConfig

task.proto:21

* Resource configuration for a task.

Used in: TaskConfig, private.hostmgr.hostsvc.GetHostsByQueryRequest, private.hostmgr.hostsvc.ResourceConstraint, private.resmgr.Task

message RestartPolicy

task.proto:208

* Restart policy for a task.

Used in: TaskConfig

message RuntimeInfo

task.proto:451

* Runtime info of an task instance in a Job

Used in: GetCacheResponse, TaskInfo, svc.GetTaskCacheResponse

message StartResponse.Error

task.proto:888

Used in: StartResponse

message StopResponse.Error

task.proto:921

Used in: StopResponse

message TaskConfig

task.proto:258

* Task configuration for a given job instance Note that only add string/slice/ptr type into TaskConfig directly due to the limitation of go reflection inside our task specific config logic.

Used in: job.JobConfig, TaskInfo, private.hostmgr.hostsvc.LaunchableTask

message TaskEvent

task.proto:588

* Task event of a Peloton task instance.

Used in: private.eventstream.Event

enum TaskEvent.Source

task.proto:590

Describes the source of the task event

Used in: TaskEvent

message TaskEventsError

task.proto:861

DEPRECATED by google.rpc.INTERNAL error.

message TaskInfo

task.proto:534

* Info of a task instance in a Job

Used in: GetResponse, ListResponse.Result, QueryResponse, svc.GetTaskResponse, svc.ListTasksResponse, svc.QueryTasksResponse, private.resmgr.taskqueue.DequeueResponse, private.resmgr.taskqueue.EnqueueRequest

message TaskNotRunning

task.proto:739

* Task not running error.

Used in: BrowseSandboxResponse.Error

message TaskStartFailure

task.proto:903

* Error when TaskStart failed.

Used in: StartResponse.Error

enum TaskState

task.proto:319

* Runtime states of a task instance

Used in: QuerySpec, RuntimeInfo, TaskEvent, private.resmgr.UpdateTasksStateRequest.UpdateTaskStateEntry

message TaskUpdateError

task.proto:915

DEPRECATED by google.rpc.INTERNAL error.

Used in: StopResponse.Error

message TerminationStatus

task.proto:406

TerminationStatus contains details about termination of a task. It mainly contains Peloton-specific reasons for termination.

Used in: RuntimeInfo

enum TerminationStatus.Reason

task.proto:408

Reason lists various causes for a task termination

Used in: TerminationStatus