Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
cc1a0262
Commit
cc1a0262
authored
Jul 29, 2016
by
k8s-merge-robot
Committed by
GitHub
Jul 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #29766 from feiskyer/runtime-remove-clarify
Automatic merge from submit-queue Kubelet: clarify the resource remove logic in runtime API CC @yujuhong
parents
5ab082dc
cce9405e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
api.pb.go
pkg/kubelet/api/v1alpha1/runtime/api.pb.go
+6
-0
api.proto
pkg/kubelet/api/v1alpha1/runtime/api.proto
+3
-0
No files found.
pkg/kubelet/api/v1alpha1/runtime/api.pb.go
View file @
cc1a0262
...
...
@@ -2325,6 +2325,7 @@ type RuntimeServiceClient interface {
StopPodSandbox
(
ctx
context
.
Context
,
in
*
StopPodSandboxRequest
,
opts
...
grpc
.
CallOption
)
(
*
StopPodSandboxResponse
,
error
)
// DeletePodSandbox deletes the sandbox. If there are any running containers in the
// sandbox, they should be force deleted.
// It should return success if the sandbox has already been deleted.
DeletePodSandbox
(
ctx
context
.
Context
,
in
*
DeletePodSandboxRequest
,
opts
...
grpc
.
CallOption
)
(
*
DeletePodSandboxResponse
,
error
)
// PodSandboxStatus returns the Status of the PodSandbox.
PodSandboxStatus
(
ctx
context
.
Context
,
in
*
PodSandboxStatusRequest
,
opts
...
grpc
.
CallOption
)
(
*
PodSandboxStatusResponse
,
error
)
...
...
@@ -2338,6 +2339,7 @@ type RuntimeServiceClient interface {
StopContainer
(
ctx
context
.
Context
,
in
*
StopContainerRequest
,
opts
...
grpc
.
CallOption
)
(
*
StopContainerResponse
,
error
)
// RemoveContainer removes the container. If the container is running, the container
// should be force removed.
// It should return success if the container has already been removed.
RemoveContainer
(
ctx
context
.
Context
,
in
*
RemoveContainerRequest
,
opts
...
grpc
.
CallOption
)
(
*
RemoveContainerResponse
,
error
)
// ListContainers lists all containers by filters.
ListContainers
(
ctx
context
.
Context
,
in
*
ListContainersRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListContainersResponse
,
error
)
...
...
@@ -2507,6 +2509,7 @@ type RuntimeServiceServer interface {
StopPodSandbox
(
context
.
Context
,
*
StopPodSandboxRequest
)
(
*
StopPodSandboxResponse
,
error
)
// DeletePodSandbox deletes the sandbox. If there are any running containers in the
// sandbox, they should be force deleted.
// It should return success if the sandbox has already been deleted.
DeletePodSandbox
(
context
.
Context
,
*
DeletePodSandboxRequest
)
(
*
DeletePodSandboxResponse
,
error
)
// PodSandboxStatus returns the Status of the PodSandbox.
PodSandboxStatus
(
context
.
Context
,
*
PodSandboxStatusRequest
)
(
*
PodSandboxStatusResponse
,
error
)
...
...
@@ -2520,6 +2523,7 @@ type RuntimeServiceServer interface {
StopContainer
(
context
.
Context
,
*
StopContainerRequest
)
(
*
StopContainerResponse
,
error
)
// RemoveContainer removes the container. If the container is running, the container
// should be force removed.
// It should return success if the container has already been removed.
RemoveContainer
(
context
.
Context
,
*
RemoveContainerRequest
)
(
*
RemoveContainerResponse
,
error
)
// ListContainers lists all containers by filters.
ListContainers
(
context
.
Context
,
*
ListContainersRequest
)
(
*
ListContainersResponse
,
error
)
...
...
@@ -2776,6 +2780,7 @@ type ImageServiceClient interface {
// PullImage pulls a image with authentication config.
PullImage
(
ctx
context
.
Context
,
in
*
PullImageRequest
,
opts
...
grpc
.
CallOption
)
(
*
PullImageResponse
,
error
)
// RemoveImage removes the image.
// It should return success if the image has already been removed.
RemoveImage
(
ctx
context
.
Context
,
in
*
RemoveImageRequest
,
opts
...
grpc
.
CallOption
)
(
*
RemoveImageResponse
,
error
)
}
...
...
@@ -2833,6 +2838,7 @@ type ImageServiceServer interface {
// PullImage pulls a image with authentication config.
PullImage
(
context
.
Context
,
*
PullImageRequest
)
(
*
PullImageResponse
,
error
)
// RemoveImage removes the image.
// It should return success if the image has already been removed.
RemoveImage
(
context
.
Context
,
*
RemoveImageRequest
)
(
*
RemoveImageResponse
,
error
)
}
...
...
pkg/kubelet/api/v1alpha1/runtime/api.proto
View file @
cc1a0262
...
...
@@ -16,6 +16,7 @@ service RuntimeService {
rpc
StopPodSandbox
(
StopPodSandboxRequest
)
returns
(
StopPodSandboxResponse
)
{}
// DeletePodSandbox deletes the sandbox. If there are any running containers in the
// sandbox, they should be force deleted.
// It should return success if the sandbox has already been deleted.
rpc
DeletePodSandbox
(
DeletePodSandboxRequest
)
returns
(
DeletePodSandboxResponse
)
{}
// PodSandboxStatus returns the Status of the PodSandbox.
rpc
PodSandboxStatus
(
PodSandboxStatusRequest
)
returns
(
PodSandboxStatusResponse
)
{}
...
...
@@ -30,6 +31,7 @@ service RuntimeService {
rpc
StopContainer
(
StopContainerRequest
)
returns
(
StopContainerResponse
)
{}
// RemoveContainer removes the container. If the container is running, the container
// should be force removed.
// It should return success if the container has already been removed.
rpc
RemoveContainer
(
RemoveContainerRequest
)
returns
(
RemoveContainerResponse
)
{}
// ListContainers lists all containers by filters.
rpc
ListContainers
(
ListContainersRequest
)
returns
(
ListContainersResponse
)
{}
...
...
@@ -49,6 +51,7 @@ service ImageService {
// PullImage pulls a image with authentication config.
rpc
PullImage
(
PullImageRequest
)
returns
(
PullImageResponse
)
{}
// RemoveImage removes the image.
// It should return success if the image has already been removed.
rpc
RemoveImage
(
RemoveImageRequest
)
returns
(
RemoveImageResponse
)
{}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment