-
Notifications
You must be signed in to change notification settings - Fork 44
API Definition
CMGS edited this page Jul 30, 2019
·
10 revisions
Field | Type | Label | Description |
---|---|---|---|
nodename | string | ||
endpoint | string | ||
podname | string | ||
ca | string | ||
cert | string | ||
key | string | ||
cpu | int32 | ||
share | int32 | ||
memory | int64 | ||
labels | AddNodeOptions.LabelsEntry | repeated | |
numa | AddNodeOptions.NumaEntry | repeated | |
numa_memory | AddNodeOptions.NumaMemoryEntry | repeated | |
storage | int64 |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | int64 |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
desc | string |
Field | Type | Label | Description |
---|---|---|---|
base | string | ||
repo | string | ||
version | string | ||
dir | string | ||
submodule | bool | ||
commands | string | repeated | |
envs | Build.EnvsEntry | repeated | |
args | Build.ArgsEntry | repeated | |
labels | Build.LabelsEntry | repeated | |
artifacts | Build.ArtifactsEntry | repeated | |
cache | Build.CacheEntry | repeated | |
stop_signal | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
id | string | ||
status | string | ||
progress | string | ||
error | string | ||
stream | string | ||
error_detail | ErrorDetail |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
user | string | ||
uid | int32 | ||
tags | string | repeated | |
builds | Builds | ||
tar | bytes |
Field | Type | Label | Description |
---|---|---|---|
stages | string | repeated | |
builds | Builds.BuildsEntry | repeated |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | Build |
Field | Type | Label | Description |
---|---|---|---|
image | string | ||
success | bool | ||
nodename | string | ||
message | string |
Field | Type | Label | Description |
---|---|---|---|
podname | string | ||
nodename | string | ||
images | string | repeated | |
step | int32 |
Field | Type | Label | Description |
---|---|---|---|
id | string | ||
podname | string | ||
nodename | string | ||
name | string | ||
cpu | Container.CpuEntry | repeated | |
quota | double | ||
memory | int64 | ||
privileged | bool | ||
labels | Container.LabelsEntry | repeated | |
publish | Container.PublishEntry | repeated | |
image | string | ||
storage | int64 | ||
status_data | bytes |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | int32 |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
id | string | ||
appname | string | ||
entrypoint | string | ||
nodename | string | ||
data | bytes | ||
ttl | int64 |
Field | Type | Label | Description |
---|---|---|---|
id | string |
Field | Type | Label | Description |
---|---|---|---|
ids | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
containers | Container | repeated |
Field | Type | Label | Description |
---|---|---|---|
id | string | ||
error | string | ||
hook | bytes |
Field | Type | Label | Description |
---|---|---|---|
ids | string | repeated | |
type | string | ||
force | bool |
Field | Type | Label | Description |
---|---|---|---|
id | string | ||
status | string | ||
name | string | ||
path | string | ||
error | string | ||
data | bytes |
Field | Type | Label | Description |
---|---|---|---|
targets | CopyOptions.TargetsEntry | repeated |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | CopyPaths |
Field | Type | Label | Description |
---|---|---|---|
paths | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
podname | string | ||
nodename | string | ||
id | string | ||
name | string | ||
error | string | ||
success | bool | ||
cpu | CreateContainerMessage.CpuEntry | repeated | |
quota | double | ||
memory | int64 | ||
publish | CreateContainerMessage.PublishEntry | repeated | |
hook | bytes | ||
storage | int64 |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | int32 |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
entrypoint | EntrypointOptions | ||
podname | string | ||
nodename | string | ||
image | string | ||
extra_args | string | ||
cpu_quota | double | ||
memory | int64 | ||
count | int32 | ||
env | string | repeated | |
dns | string | repeated | |
extra_hosts | string | repeated | |
volumes | string | repeated | |
networks | DeployOptions.NetworksEntry | repeated | |
networkmode | string | ||
user | string | ||
debug | bool | ||
openStdin | bool | ||
labels | DeployOptions.LabelsEntry | repeated | |
nodelabels | DeployOptions.NodelabelsEntry | repeated | |
deploy_method | string | ||
data | DeployOptions.DataEntry | repeated | |
soft_limit | bool | ||
nodes_limit | int32 | ||
cpu_bind | bool | ||
ignore_hook | bool | ||
after_create | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | bytes |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
action | string | ||
appname | string | ||
entrypoint | string | ||
nodename | string | ||
id | string | ||
data | bytes |
Field | Type | Label | Description |
---|---|---|---|
appname | string | ||
entrypoint | string | ||
nodename | string |
Field | Type | Label | Description |
---|---|---|---|
id | string | ||
error | string |
Field | Type | Label | Description |
---|---|---|---|
ids | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
command | string | ||
privileged | bool | ||
dir | string | ||
log | LogOptions | ||
publish | string | repeated | |
healthcheck | HealthCheckOptions | ||
hook | HookOptions | ||
restart_policy | string | ||
sysctls | EntrypointOptions.SysctlsEntry | repeated |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
code | int64 | ||
message | string |
Field | Type | Label | Description |
---|---|---|---|
container_id | string | ||
data | bytes |
Field | Type | Label | Description |
---|---|---|---|
container_id | string | ||
commands | string | repeated | |
envs | string | repeated | |
workdir | string | ||
open_stdin | bool | ||
repl_cmd | bytes |
Field | Type | Label | Description |
---|---|---|---|
podname | string | ||
nodename | string |
Field | Type | Label | Description |
---|---|---|---|
name | string |
Field | Type | Label | Description |
---|---|---|---|
tcp_ports | string | repeated | |
http_port | string | ||
url | string | ||
code | int32 |
Field | Type | Label | Description |
---|---|---|---|
after_start | string | repeated | |
before_stop | string | repeated | |
force | bool |
Field | Type | Label | Description |
---|---|---|---|
appname | string | ||
entrypoint | string | ||
nodename | string | ||
labels | ListContainersOptions.LabelsEntry | repeated | |
limit | int64 |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
podname | string | ||
driver | string |
Field | Type | Label | Description |
---|---|---|---|
podname | string | ||
all | bool |
Field | Type | Label | Description |
---|---|---|---|
type | string | ||
config | LogOptions.ConfigEntry | repeated |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
id | string | ||
error | string | ||
data | bytes |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
subnets | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
networks | Network | repeated |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
endpoint | string | ||
podname | string | ||
cpu | Node.CpuEntry | repeated | |
cpu_used | double | ||
memory | int64 | ||
memory_used | int64 | ||
available | bool | ||
labels | Node.LabelsEntry | repeated | |
init_memory | int64 | ||
init_cpu | Node.InitCpuEntry | repeated | |
info | string | ||
numa | Node.NumaEntry | repeated | |
numa_memory | Node.NumaMemoryEntry | repeated | |
storage | int64 | ||
storage_used | int64 | ||
init_storage | int64 |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | int32 |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | int32 |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | int64 |
Field | Type | Label | Description |
---|---|---|---|
nodename | string | ||
podname | string |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
cpu_percent | double | ||
memory_percent | double | ||
verification | bool | ||
details | string | repeated | |
storage_percent | double |
Field | Type | Label | Description |
---|---|---|---|
nodes | Node | repeated |
对的, protobuf 就是这样...
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
desc | string |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
cpu_percents | PodResource.CpuPercentsEntry | repeated | |
memory_percents | PodResource.MemoryPercentsEntry | repeated | |
verifications | PodResource.VerificationsEntry | repeated | |
details | PodResource.DetailsEntry | repeated | |
storage_percents | PodResource.StoragePercentsEntry | repeated |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | double |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | double |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | double |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | bool |
Field | Type | Label | Description |
---|---|---|---|
pods | Pod | repeated |
Field | Type | Label | Description |
---|---|---|---|
ids | string | repeated | |
cpu | double | ||
memory | int64 |
Field | Type | Label | Description |
---|---|---|---|
id | string | ||
success | bool |
Field | Type | Label | Description |
---|---|---|---|
id | string | ||
success | bool | ||
hook | string |
Field | Type | Label | Description |
---|---|---|---|
ids | string | repeated | |
force | bool | ||
step | int32 |
Field | Type | Label | Description |
---|---|---|---|
image | string | ||
success | bool | ||
messages | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
podname | string | ||
nodename | string | ||
images | string | repeated | |
step | int32 | ||
prune | bool |
Field | Type | Label | Description |
---|---|---|---|
nodename | string | ||
podname | string |
Field | Type | Label | Description |
---|---|---|---|
name | string |
Field | Type | Label | Description |
---|---|---|---|
create | CreateContainerMessage | ||
remove | RemoveContainerMessage | ||
error | string |
Field | Type | Label | Description |
---|---|---|---|
deployOpt | DeployOptions | ||
networkinherit | bool | ||
filter_labels | ReplaceOptions.FilterLabelsEntry | repeated | |
copy | ReplaceOptions.CopyEntry | repeated | |
ids | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
container_id | string | ||
data | bytes |
Field | Type | Label | Description |
---|---|---|---|
DeployOptions | DeployOptions | ||
Cmd | bytes |
Field | Type | Label | Description |
---|---|---|---|
id | string | ||
path | string | ||
error | string |
Field | Type | Label | Description |
---|---|---|---|
ids | string | repeated | |
data | SendOptions.DataEntry | repeated |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | bytes |
Field | Type | Label | Description |
---|---|---|---|
nodename | string | ||
podname | string | ||
status | int32 | ||
delta_cpu | SetNodeOptions.DeltaCpuEntry | repeated | |
delta_memory | int64 | ||
delta_storage | int64 | ||
delta_numa_memory | SetNodeOptions.DeltaNumaMemoryEntry | repeated | |
numa | SetNodeOptions.NumaEntry | repeated | |
labels | SetNodeOptions.LabelsEntry | repeated |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | int32 |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | int64 |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |