package runtime.v1alpha1

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

service RuntimeHookService

api.proto:148

Runtime service defines the public APIs for talk between RuntimeHookServer and RuntimeManager

message ContainerMetadata

api.proto:111

Used in: ContainerResourceHookRequest

message ContainerResourceHookRequest

api.proto:122

ContainerResourceHookRequest is sent to RuntimeHookServer before/after container related operations including pre-container-start, post-container-create, pre-container-resource-update, post-container-stop.

Used as request type in: RuntimeHookService.PostStartContainerHook, RuntimeHookService.PostStopContainerHook, RuntimeHookService.PreCreateContainerHook, RuntimeHookService.PreStartContainerHook, RuntimeHookService.PreUpdateContainerResourcesHook

message ContainerResourceHookResponse

api.proto:140

ContainerResourceHookResponse is RuntimeHookServer's response to ContainerResourceHookRequest. RuntimeManager will merge ContainerResourceHookResponse and Pre hookType Request to generate a RunPodSandboxRequest to containerd(dockerd).

Used as response type in: RuntimeHookService.PostStartContainerHook, RuntimeHookService.PostStopContainerHook, RuntimeHookService.PreCreateContainerHook, RuntimeHookService.PreStartContainerHook, RuntimeHookService.PreUpdateContainerResourcesHook

message HugepageLimit

api.proto:102

HugepageLimit corresponds to the file`hugetlb.<hugepagesize>.limit_in_byte` in container level cgroup. For example, `PageSize=1GB`, `Limit=1073741824` means setting `1073741824` bytes to hugetlb.1GB.limit_in_bytes.

Used in: LinuxContainerResources

message LinuxContainerResources

api.proto:75

LinuxContainerResources specifies Linux specific configuration for resources.

Used in: ContainerResourceHookRequest, ContainerResourceHookResponse, PodSandboxHookRequest, PodSandboxHookResponse

message PodSandboxHookRequest

api.proto:40

RunPodSandboxHookRequest is sent to RuntimeHookServer before pod creating request transferred to backend containerd or dockerd. This Request is generated basing on CRI's RunPodSandboxRequest, including pod Meta, Resources, Annotations .e.g and RuntimeHookServer should ensure correct operations basing on this request.

Used as request type in: RuntimeHookService.PostStopPodSandboxHook, RuntimeHookService.PreRunPodSandboxHook

message PodSandboxHookResponse

api.proto:61

RunPodSandboxHookResponse is RuntimeHookServer's response to RunPodSandboxHookRequest. RuntimeManager will merge RunPodSandboxHookResponse and RunPodSandboxRequest to generate a RunPodSandboxRequest to containerd(dockerd).

Used as response type in: RuntimeHookService.PostStopPodSandboxHook, RuntimeHookService.PreRunPodSandboxHook

message PodSandboxMetadata

api.proto:25

PodSandboxMetadata holds all necessary information for sandbox.

Used in: ContainerResourceHookRequest, PodSandboxHookRequest