Merge pull request #6827 from mxpv/renames
This commit is contained in:
commit
fe7f0aeef4
@ -33,7 +33,11 @@ plugins = ["grpc", "fieldpath"]
|
|||||||
|
|
||||||
[[overrides]]
|
[[overrides]]
|
||||||
# enable ttrpc and disable fieldpath and grpc for the shim
|
# enable ttrpc and disable fieldpath and grpc for the shim
|
||||||
prefixes = ["github.com/containerd/containerd/runtime/v1/shim/v1", "github.com/containerd/containerd/runtime/v2/task"]
|
prefixes = [
|
||||||
|
"github.com/containerd/containerd/runtime/v1/shim/v1",
|
||||||
|
"github.com/containerd/containerd/api/runtime/task/v2",
|
||||||
|
"github.com/containerd/containerd/api/runtime/sandbox/v1",
|
||||||
|
]
|
||||||
plugins = ["ttrpc"]
|
plugins = ["ttrpc"]
|
||||||
|
|
||||||
# Lock down runc config
|
# Lock down runc config
|
||||||
|
@ -41,7 +41,11 @@ plugins = ["ttrpc", "fieldpath"]
|
|||||||
|
|
||||||
[[overrides]]
|
[[overrides]]
|
||||||
# enable ttrpc and disable fieldpath and grpc for the shim
|
# enable ttrpc and disable fieldpath and grpc for the shim
|
||||||
prefixes = ["github.com/containerd/containerd/runtime/v1/shim/v1", "github.com/containerd/containerd/runtime/v2/task"]
|
prefixes = [
|
||||||
|
"github.com/containerd/containerd/runtime/v1/shim/v1",
|
||||||
|
"github.com/containerd/containerd/api/runtime/task/v2",
|
||||||
|
"github.com/containerd/containerd/api/runtime/sandbox/v1",
|
||||||
|
]
|
||||||
plugins = ["ttrpc"]
|
plugins = ["ttrpc"]
|
||||||
|
|
||||||
# Aggregrate the API descriptors to lock down API changes.
|
# Aggregrate the API descriptors to lock down API changes.
|
||||||
|
1264
api/next.pb.txt
1264
api/next.pb.txt
File diff suppressed because it is too large
Load Diff
17
api/runtime/sandbox/v1/doc.go
Normal file
17
api/runtime/sandbox/v1/doc.go
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
Copyright The containerd Authors.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package sandbox
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||||
// source: github.com/containerd/containerd/runtime/v2/task/sandbox.proto
|
// source: github.com/containerd/containerd/api/runtime/sandbox/v1/sandbox.proto
|
||||||
|
|
||||||
package task
|
package sandbox
|
||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
@ -42,7 +42,7 @@ type StartSandboxRequest struct {
|
|||||||
func (m *StartSandboxRequest) Reset() { *m = StartSandboxRequest{} }
|
func (m *StartSandboxRequest) Reset() { *m = StartSandboxRequest{} }
|
||||||
func (*StartSandboxRequest) ProtoMessage() {}
|
func (*StartSandboxRequest) ProtoMessage() {}
|
||||||
func (*StartSandboxRequest) Descriptor() ([]byte, []int) {
|
func (*StartSandboxRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{0}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{0}
|
||||||
}
|
}
|
||||||
func (m *StartSandboxRequest) XXX_Unmarshal(b []byte) error {
|
func (m *StartSandboxRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -81,7 +81,7 @@ type StartSandboxResponse struct {
|
|||||||
func (m *StartSandboxResponse) Reset() { *m = StartSandboxResponse{} }
|
func (m *StartSandboxResponse) Reset() { *m = StartSandboxResponse{} }
|
||||||
func (*StartSandboxResponse) ProtoMessage() {}
|
func (*StartSandboxResponse) ProtoMessage() {}
|
||||||
func (*StartSandboxResponse) Descriptor() ([]byte, []int) {
|
func (*StartSandboxResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{1}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{1}
|
||||||
}
|
}
|
||||||
func (m *StartSandboxResponse) XXX_Unmarshal(b []byte) error {
|
func (m *StartSandboxResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -121,7 +121,7 @@ type StopSandboxRequest struct {
|
|||||||
func (m *StopSandboxRequest) Reset() { *m = StopSandboxRequest{} }
|
func (m *StopSandboxRequest) Reset() { *m = StopSandboxRequest{} }
|
||||||
func (*StopSandboxRequest) ProtoMessage() {}
|
func (*StopSandboxRequest) ProtoMessage() {}
|
||||||
func (*StopSandboxRequest) Descriptor() ([]byte, []int) {
|
func (*StopSandboxRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{2}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{2}
|
||||||
}
|
}
|
||||||
func (m *StopSandboxRequest) XXX_Unmarshal(b []byte) error {
|
func (m *StopSandboxRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -159,7 +159,7 @@ type StopSandboxResponse struct {
|
|||||||
func (m *StopSandboxResponse) Reset() { *m = StopSandboxResponse{} }
|
func (m *StopSandboxResponse) Reset() { *m = StopSandboxResponse{} }
|
||||||
func (*StopSandboxResponse) ProtoMessage() {}
|
func (*StopSandboxResponse) ProtoMessage() {}
|
||||||
func (*StopSandboxResponse) Descriptor() ([]byte, []int) {
|
func (*StopSandboxResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{3}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{3}
|
||||||
}
|
}
|
||||||
func (m *StopSandboxResponse) XXX_Unmarshal(b []byte) error {
|
func (m *StopSandboxResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -200,7 +200,7 @@ type UpdateSandboxRequest struct {
|
|||||||
func (m *UpdateSandboxRequest) Reset() { *m = UpdateSandboxRequest{} }
|
func (m *UpdateSandboxRequest) Reset() { *m = UpdateSandboxRequest{} }
|
||||||
func (*UpdateSandboxRequest) ProtoMessage() {}
|
func (*UpdateSandboxRequest) ProtoMessage() {}
|
||||||
func (*UpdateSandboxRequest) Descriptor() ([]byte, []int) {
|
func (*UpdateSandboxRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{4}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{4}
|
||||||
}
|
}
|
||||||
func (m *UpdateSandboxRequest) XXX_Unmarshal(b []byte) error {
|
func (m *UpdateSandboxRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -239,7 +239,7 @@ type WaitSandboxRequest struct {
|
|||||||
func (m *WaitSandboxRequest) Reset() { *m = WaitSandboxRequest{} }
|
func (m *WaitSandboxRequest) Reset() { *m = WaitSandboxRequest{} }
|
||||||
func (*WaitSandboxRequest) ProtoMessage() {}
|
func (*WaitSandboxRequest) ProtoMessage() {}
|
||||||
func (*WaitSandboxRequest) Descriptor() ([]byte, []int) {
|
func (*WaitSandboxRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{5}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{5}
|
||||||
}
|
}
|
||||||
func (m *WaitSandboxRequest) XXX_Unmarshal(b []byte) error {
|
func (m *WaitSandboxRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -279,7 +279,7 @@ type WaitSandboxResponse struct {
|
|||||||
func (m *WaitSandboxResponse) Reset() { *m = WaitSandboxResponse{} }
|
func (m *WaitSandboxResponse) Reset() { *m = WaitSandboxResponse{} }
|
||||||
func (*WaitSandboxResponse) ProtoMessage() {}
|
func (*WaitSandboxResponse) ProtoMessage() {}
|
||||||
func (*WaitSandboxResponse) Descriptor() ([]byte, []int) {
|
func (*WaitSandboxResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{6}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{6}
|
||||||
}
|
}
|
||||||
func (m *WaitSandboxResponse) XXX_Unmarshal(b []byte) error {
|
func (m *WaitSandboxResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -317,7 +317,7 @@ type UpdateSandboxResponse struct {
|
|||||||
func (m *UpdateSandboxResponse) Reset() { *m = UpdateSandboxResponse{} }
|
func (m *UpdateSandboxResponse) Reset() { *m = UpdateSandboxResponse{} }
|
||||||
func (*UpdateSandboxResponse) ProtoMessage() {}
|
func (*UpdateSandboxResponse) ProtoMessage() {}
|
||||||
func (*UpdateSandboxResponse) Descriptor() ([]byte, []int) {
|
func (*UpdateSandboxResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{7}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{7}
|
||||||
}
|
}
|
||||||
func (m *UpdateSandboxResponse) XXX_Unmarshal(b []byte) error {
|
func (m *UpdateSandboxResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -356,7 +356,7 @@ type SandboxStatusRequest struct {
|
|||||||
func (m *SandboxStatusRequest) Reset() { *m = SandboxStatusRequest{} }
|
func (m *SandboxStatusRequest) Reset() { *m = SandboxStatusRequest{} }
|
||||||
func (*SandboxStatusRequest) ProtoMessage() {}
|
func (*SandboxStatusRequest) ProtoMessage() {}
|
||||||
func (*SandboxStatusRequest) Descriptor() ([]byte, []int) {
|
func (*SandboxStatusRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{8}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{8}
|
||||||
}
|
}
|
||||||
func (m *SandboxStatusRequest) XXX_Unmarshal(b []byte) error {
|
func (m *SandboxStatusRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -395,7 +395,7 @@ type PauseSandboxRequest struct {
|
|||||||
func (m *PauseSandboxRequest) Reset() { *m = PauseSandboxRequest{} }
|
func (m *PauseSandboxRequest) Reset() { *m = PauseSandboxRequest{} }
|
||||||
func (*PauseSandboxRequest) ProtoMessage() {}
|
func (*PauseSandboxRequest) ProtoMessage() {}
|
||||||
func (*PauseSandboxRequest) Descriptor() ([]byte, []int) {
|
func (*PauseSandboxRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{9}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{9}
|
||||||
}
|
}
|
||||||
func (m *PauseSandboxRequest) XXX_Unmarshal(b []byte) error {
|
func (m *PauseSandboxRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -433,7 +433,7 @@ type PauseSandboxResponse struct {
|
|||||||
func (m *PauseSandboxResponse) Reset() { *m = PauseSandboxResponse{} }
|
func (m *PauseSandboxResponse) Reset() { *m = PauseSandboxResponse{} }
|
||||||
func (*PauseSandboxResponse) ProtoMessage() {}
|
func (*PauseSandboxResponse) ProtoMessage() {}
|
||||||
func (*PauseSandboxResponse) Descriptor() ([]byte, []int) {
|
func (*PauseSandboxResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{10}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{10}
|
||||||
}
|
}
|
||||||
func (m *PauseSandboxResponse) XXX_Unmarshal(b []byte) error {
|
func (m *PauseSandboxResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -472,7 +472,7 @@ type ResumeSandboxRequest struct {
|
|||||||
func (m *ResumeSandboxRequest) Reset() { *m = ResumeSandboxRequest{} }
|
func (m *ResumeSandboxRequest) Reset() { *m = ResumeSandboxRequest{} }
|
||||||
func (*ResumeSandboxRequest) ProtoMessage() {}
|
func (*ResumeSandboxRequest) ProtoMessage() {}
|
||||||
func (*ResumeSandboxRequest) Descriptor() ([]byte, []int) {
|
func (*ResumeSandboxRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{11}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{11}
|
||||||
}
|
}
|
||||||
func (m *ResumeSandboxRequest) XXX_Unmarshal(b []byte) error {
|
func (m *ResumeSandboxRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -510,7 +510,7 @@ type ResumeSandboxResponse struct {
|
|||||||
func (m *ResumeSandboxResponse) Reset() { *m = ResumeSandboxResponse{} }
|
func (m *ResumeSandboxResponse) Reset() { *m = ResumeSandboxResponse{} }
|
||||||
func (*ResumeSandboxResponse) ProtoMessage() {}
|
func (*ResumeSandboxResponse) ProtoMessage() {}
|
||||||
func (*ResumeSandboxResponse) Descriptor() ([]byte, []int) {
|
func (*ResumeSandboxResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{12}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{12}
|
||||||
}
|
}
|
||||||
func (m *ResumeSandboxResponse) XXX_Unmarshal(b []byte) error {
|
func (m *ResumeSandboxResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -554,7 +554,7 @@ type SandboxStatusResponse struct {
|
|||||||
func (m *SandboxStatusResponse) Reset() { *m = SandboxStatusResponse{} }
|
func (m *SandboxStatusResponse) Reset() { *m = SandboxStatusResponse{} }
|
||||||
func (*SandboxStatusResponse) ProtoMessage() {}
|
func (*SandboxStatusResponse) ProtoMessage() {}
|
||||||
func (*SandboxStatusResponse) Descriptor() ([]byte, []int) {
|
func (*SandboxStatusResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{13}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{13}
|
||||||
}
|
}
|
||||||
func (m *SandboxStatusResponse) XXX_Unmarshal(b []byte) error {
|
func (m *SandboxStatusResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -593,7 +593,7 @@ type PingRequest struct {
|
|||||||
func (m *PingRequest) Reset() { *m = PingRequest{} }
|
func (m *PingRequest) Reset() { *m = PingRequest{} }
|
||||||
func (*PingRequest) ProtoMessage() {}
|
func (*PingRequest) ProtoMessage() {}
|
||||||
func (*PingRequest) Descriptor() ([]byte, []int) {
|
func (*PingRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{14}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{14}
|
||||||
}
|
}
|
||||||
func (m *PingRequest) XXX_Unmarshal(b []byte) error {
|
func (m *PingRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -631,7 +631,7 @@ type PingResponse struct {
|
|||||||
func (m *PingResponse) Reset() { *m = PingResponse{} }
|
func (m *PingResponse) Reset() { *m = PingResponse{} }
|
||||||
func (*PingResponse) ProtoMessage() {}
|
func (*PingResponse) ProtoMessage() {}
|
||||||
func (*PingResponse) Descriptor() ([]byte, []int) {
|
func (*PingResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_1a2e6d1f55947a07, []int{15}
|
return fileDescriptor_bd1ee4d461c4cb0a, []int{15}
|
||||||
}
|
}
|
||||||
func (m *PingResponse) XXX_Unmarshal(b []byte) error {
|
func (m *PingResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -661,80 +661,81 @@ func (m *PingResponse) XXX_DiscardUnknown() {
|
|||||||
var xxx_messageInfo_PingResponse proto.InternalMessageInfo
|
var xxx_messageInfo_PingResponse proto.InternalMessageInfo
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
proto.RegisterType((*StartSandboxRequest)(nil), "containerd.task.v2.StartSandboxRequest")
|
proto.RegisterType((*StartSandboxRequest)(nil), "containerd.runtime.sandbox.v1.StartSandboxRequest")
|
||||||
proto.RegisterType((*StartSandboxResponse)(nil), "containerd.task.v2.StartSandboxResponse")
|
proto.RegisterType((*StartSandboxResponse)(nil), "containerd.runtime.sandbox.v1.StartSandboxResponse")
|
||||||
proto.RegisterType((*StopSandboxRequest)(nil), "containerd.task.v2.StopSandboxRequest")
|
proto.RegisterType((*StopSandboxRequest)(nil), "containerd.runtime.sandbox.v1.StopSandboxRequest")
|
||||||
proto.RegisterType((*StopSandboxResponse)(nil), "containerd.task.v2.StopSandboxResponse")
|
proto.RegisterType((*StopSandboxResponse)(nil), "containerd.runtime.sandbox.v1.StopSandboxResponse")
|
||||||
proto.RegisterType((*UpdateSandboxRequest)(nil), "containerd.task.v2.UpdateSandboxRequest")
|
proto.RegisterType((*UpdateSandboxRequest)(nil), "containerd.runtime.sandbox.v1.UpdateSandboxRequest")
|
||||||
proto.RegisterMapType((map[string]string)(nil), "containerd.task.v2.UpdateSandboxRequest.AnnotationsEntry")
|
proto.RegisterMapType((map[string]string)(nil), "containerd.runtime.sandbox.v1.UpdateSandboxRequest.AnnotationsEntry")
|
||||||
proto.RegisterType((*WaitSandboxRequest)(nil), "containerd.task.v2.WaitSandboxRequest")
|
proto.RegisterType((*WaitSandboxRequest)(nil), "containerd.runtime.sandbox.v1.WaitSandboxRequest")
|
||||||
proto.RegisterType((*WaitSandboxResponse)(nil), "containerd.task.v2.WaitSandboxResponse")
|
proto.RegisterType((*WaitSandboxResponse)(nil), "containerd.runtime.sandbox.v1.WaitSandboxResponse")
|
||||||
proto.RegisterType((*UpdateSandboxResponse)(nil), "containerd.task.v2.UpdateSandboxResponse")
|
proto.RegisterType((*UpdateSandboxResponse)(nil), "containerd.runtime.sandbox.v1.UpdateSandboxResponse")
|
||||||
proto.RegisterType((*SandboxStatusRequest)(nil), "containerd.task.v2.SandboxStatusRequest")
|
proto.RegisterType((*SandboxStatusRequest)(nil), "containerd.runtime.sandbox.v1.SandboxStatusRequest")
|
||||||
proto.RegisterType((*PauseSandboxRequest)(nil), "containerd.task.v2.PauseSandboxRequest")
|
proto.RegisterType((*PauseSandboxRequest)(nil), "containerd.runtime.sandbox.v1.PauseSandboxRequest")
|
||||||
proto.RegisterType((*PauseSandboxResponse)(nil), "containerd.task.v2.PauseSandboxResponse")
|
proto.RegisterType((*PauseSandboxResponse)(nil), "containerd.runtime.sandbox.v1.PauseSandboxResponse")
|
||||||
proto.RegisterType((*ResumeSandboxRequest)(nil), "containerd.task.v2.ResumeSandboxRequest")
|
proto.RegisterType((*ResumeSandboxRequest)(nil), "containerd.runtime.sandbox.v1.ResumeSandboxRequest")
|
||||||
proto.RegisterType((*ResumeSandboxResponse)(nil), "containerd.task.v2.ResumeSandboxResponse")
|
proto.RegisterType((*ResumeSandboxResponse)(nil), "containerd.runtime.sandbox.v1.ResumeSandboxResponse")
|
||||||
proto.RegisterType((*SandboxStatusResponse)(nil), "containerd.task.v2.SandboxStatusResponse")
|
proto.RegisterType((*SandboxStatusResponse)(nil), "containerd.runtime.sandbox.v1.SandboxStatusResponse")
|
||||||
proto.RegisterType((*PingRequest)(nil), "containerd.task.v2.PingRequest")
|
proto.RegisterType((*PingRequest)(nil), "containerd.runtime.sandbox.v1.PingRequest")
|
||||||
proto.RegisterType((*PingResponse)(nil), "containerd.task.v2.PingResponse")
|
proto.RegisterType((*PingResponse)(nil), "containerd.runtime.sandbox.v1.PingResponse")
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
proto.RegisterFile("github.com/containerd/containerd/runtime/v2/task/sandbox.proto", fileDescriptor_1a2e6d1f55947a07)
|
proto.RegisterFile("github.com/containerd/containerd/api/runtime/sandbox/v1/sandbox.proto", fileDescriptor_bd1ee4d461c4cb0a)
|
||||||
}
|
}
|
||||||
|
|
||||||
var fileDescriptor_1a2e6d1f55947a07 = []byte{
|
var fileDescriptor_bd1ee4d461c4cb0a = []byte{
|
||||||
// 780 bytes of a gzipped FileDescriptorProto
|
// 795 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcf, 0x6b, 0xdb, 0x48,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x4f, 0x4f, 0xdb, 0x48,
|
||||||
0x14, 0x8e, 0xe4, 0xc4, 0x59, 0x3f, 0xd9, 0x4b, 0x98, 0xd8, 0x89, 0x57, 0x07, 0xdb, 0xab, 0xc3,
|
0x14, 0xc7, 0x0e, 0x84, 0xcd, 0x73, 0xb2, 0x42, 0x43, 0x02, 0x59, 0x4b, 0x9b, 0xb0, 0x3e, 0x45,
|
||||||
0xc6, 0xbb, 0x2c, 0x12, 0x78, 0x61, 0x77, 0xdb, 0x42, 0x20, 0x69, 0x7a, 0xc8, 0xa1, 0x60, 0xe4,
|
0xec, 0xca, 0x16, 0x61, 0xb5, 0x5b, 0x15, 0xa9, 0x15, 0x34, 0x1c, 0x38, 0x54, 0x42, 0x4e, 0xab,
|
||||||
0x96, 0x16, 0x0a, 0x35, 0x63, 0x6b, 0xe2, 0x88, 0xc4, 0x1a, 0x55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0xc3, 0x00, 0xd5, 0xc1, 0xea,
|
0xaf, 0xaa, 0x39, 0x89, 0x3b, 0x6a, 0xd8, 0x39, 0x09, 0x38, 0x72, 0x50, 0x15, 0xb4, 0x76, 0xe8,
|
||||||
0xa5, 0x51, 0x70, 0x4a, 0xba, 0x31, 0xe6, 0xc7, 0x55, 0x53, 0xc0, 0x7d, 0x90, 0x57, 0x6d, 0xcc,
|
0x39, 0xa7, 0xa4, 0xe5, 0x63, 0x7e, 0x52, 0x56, 0x23, 0xb8, 0x0d, 0xe2, 0xe9, 0x18, 0xf3, 0x13,
|
||||||
0x8f, 0x91, 0x07, 0xf9, 0x84, 0x52, 0x7e, 0xc4, 0xaa, 0xb9, 0x46, 0xae, 0x69, 0xb5, 0xb6, 0xdd,
|
0x64, 0x41, 0x36, 0xa0, 0x94, 0x77, 0x59, 0x39, 0xb3, 0x95, 0xa9, 0x69, 0xf5, 0x4d, 0x33, 0x46,
|
||||||
0xac, 0x2a, 0x22, 0x2b, 0xf7, 0xa5, 0xc8, 0xca, 0x57, 0x30, 0xe4, 0xc2, 0x3a, 0x8d, 0x79, 0x48,
|
0xd0, 0xa8, 0x2a, 0xf3, 0x79, 0x54, 0x95, 0x2d, 0x61, 0xc8, 0x84, 0x55, 0xea, 0x73, 0x97, 0x7a,
|
||||||
0x23, 0x56, 0x5d, 0x6d, 0x18, 0x4d, 0xab, 0x55, 0x76, 0xa5, 0x30, 0xee, 0x54, 0x18, 0x77, 0x2f,
|
0xac, 0xbc, 0xbc, 0xa5, 0xd4, 0xb4, 0x7a, 0xd1, 0x14, 0xc4, 0x98, 0x63, 0x62, 0xcc, 0x7d, 0x6f,
|
||||||
0x1a, 0xf9, 0x53, 0x90, 0xd3, 0x84, 0xf2, 0x7c, 0x19, 0x2c, 0xa6, 0x11, 0x23, 0x68, 0x03, 0x72,
|
0x60, 0x8f, 0x41, 0x46, 0x0d, 0x8a, 0xd3, 0x6d, 0x30, 0x9f, 0x7a, 0x8c, 0xa0, 0x35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e, 0x06,
|
0x71, 0x58, 0x51, 0x2e, 0x87, 0x15, 0xe5, 0xeb, 0xb0, 0xa2, 0xfc, 0x18, 0x56, 0x94, 0xb7, 0x4f,
|
||||||
0x00, 0x00, 0xff, 0xff, 0x27, 0x5f, 0x3e, 0xac, 0x9d, 0x09, 0x00, 0x00,
|
0xe7, 0xfc, 0x7f, 0xb9, 0x27, 0xcd, 0xd7, 0x6a, 0x3b, 0x3b, 0x12, 0xa1, 0xdd, 0x9f, 0x01, 0x00,
|
||||||
|
0x00, 0xff, 0xff, 0x59, 0xf5, 0x57, 0xa8, 0xab, 0x0a, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *StartSandboxRequest) Marshal() (dAtA []byte, err error) {
|
func (m *StartSandboxRequest) Marshal() (dAtA []byte, err error) {
|
||||||
@ -1885,7 +1886,7 @@ type SandboxService interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func RegisterSandboxService(srv *github_com_containerd_ttrpc.Server, svc SandboxService) {
|
func RegisterSandboxService(srv *github_com_containerd_ttrpc.Server, svc SandboxService) {
|
||||||
srv.Register("containerd.task.v2.Sandbox", map[string]github_com_containerd_ttrpc.Method{
|
srv.Register("containerd.runtime.sandbox.v1.Sandbox", map[string]github_com_containerd_ttrpc.Method{
|
||||||
"StartSandbox": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
|
"StartSandbox": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
|
||||||
var req StartSandboxRequest
|
var req StartSandboxRequest
|
||||||
if err := unmarshal(&req); err != nil {
|
if err := unmarshal(&req); err != nil {
|
||||||
@ -1957,7 +1958,7 @@ func NewSandboxClient(client *github_com_containerd_ttrpc.Client) SandboxService
|
|||||||
|
|
||||||
func (c *sandboxClient) StartSandbox(ctx context.Context, req *StartSandboxRequest) (*StartSandboxResponse, error) {
|
func (c *sandboxClient) StartSandbox(ctx context.Context, req *StartSandboxRequest) (*StartSandboxResponse, error) {
|
||||||
var resp StartSandboxResponse
|
var resp StartSandboxResponse
|
||||||
if err := c.client.Call(ctx, "containerd.task.v2.Sandbox", "StartSandbox", req, &resp); err != nil {
|
if err := c.client.Call(ctx, "containerd.runtime.sandbox.v1.Sandbox", "StartSandbox", req, &resp); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &resp, nil
|
return &resp, nil
|
||||||
@ -1965,7 +1966,7 @@ func (c *sandboxClient) StartSandbox(ctx context.Context, req *StartSandboxReque
|
|||||||
|
|
||||||
func (c *sandboxClient) StopSandbox(ctx context.Context, req *StopSandboxRequest) (*StopSandboxResponse, error) {
|
func (c *sandboxClient) StopSandbox(ctx context.Context, req *StopSandboxRequest) (*StopSandboxResponse, error) {
|
||||||
var resp StopSandboxResponse
|
var resp StopSandboxResponse
|
||||||
if err := c.client.Call(ctx, "containerd.task.v2.Sandbox", "StopSandbox", req, &resp); err != nil {
|
if err := c.client.Call(ctx, "containerd.runtime.sandbox.v1.Sandbox", "StopSandbox", req, &resp); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &resp, nil
|
return &resp, nil
|
||||||
@ -1973,7 +1974,7 @@ func (c *sandboxClient) StopSandbox(ctx context.Context, req *StopSandboxRequest
|
|||||||
|
|
||||||
func (c *sandboxClient) WaitSandbox(ctx context.Context, req *WaitSandboxRequest) (*WaitSandboxResponse, error) {
|
func (c *sandboxClient) WaitSandbox(ctx context.Context, req *WaitSandboxRequest) (*WaitSandboxResponse, error) {
|
||||||
var resp WaitSandboxResponse
|
var resp WaitSandboxResponse
|
||||||
if err := c.client.Call(ctx, "containerd.task.v2.Sandbox", "WaitSandbox", req, &resp); err != nil {
|
if err := c.client.Call(ctx, "containerd.runtime.sandbox.v1.Sandbox", "WaitSandbox", req, &resp); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &resp, nil
|
return &resp, nil
|
||||||
@ -1981,7 +1982,7 @@ func (c *sandboxClient) WaitSandbox(ctx context.Context, req *WaitSandboxRequest
|
|||||||
|
|
||||||
func (c *sandboxClient) UpdateSandbox(ctx context.Context, req *UpdateSandboxRequest) (*UpdateSandboxResponse, error) {
|
func (c *sandboxClient) UpdateSandbox(ctx context.Context, req *UpdateSandboxRequest) (*UpdateSandboxResponse, error) {
|
||||||
var resp UpdateSandboxResponse
|
var resp UpdateSandboxResponse
|
||||||
if err := c.client.Call(ctx, "containerd.task.v2.Sandbox", "UpdateSandbox", req, &resp); err != nil {
|
if err := c.client.Call(ctx, "containerd.runtime.sandbox.v1.Sandbox", "UpdateSandbox", req, &resp); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &resp, nil
|
return &resp, nil
|
||||||
@ -1989,7 +1990,7 @@ func (c *sandboxClient) UpdateSandbox(ctx context.Context, req *UpdateSandboxReq
|
|||||||
|
|
||||||
func (c *sandboxClient) PauseSandbox(ctx context.Context, req *PauseSandboxRequest) (*PauseSandboxResponse, error) {
|
func (c *sandboxClient) PauseSandbox(ctx context.Context, req *PauseSandboxRequest) (*PauseSandboxResponse, error) {
|
||||||
var resp PauseSandboxResponse
|
var resp PauseSandboxResponse
|
||||||
if err := c.client.Call(ctx, "containerd.task.v2.Sandbox", "PauseSandbox", req, &resp); err != nil {
|
if err := c.client.Call(ctx, "containerd.runtime.sandbox.v1.Sandbox", "PauseSandbox", req, &resp); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &resp, nil
|
return &resp, nil
|
||||||
@ -1997,7 +1998,7 @@ func (c *sandboxClient) PauseSandbox(ctx context.Context, req *PauseSandboxReque
|
|||||||
|
|
||||||
func (c *sandboxClient) ResumeSandbox(ctx context.Context, req *ResumeSandboxRequest) (*ResumeSandboxResponse, error) {
|
func (c *sandboxClient) ResumeSandbox(ctx context.Context, req *ResumeSandboxRequest) (*ResumeSandboxResponse, error) {
|
||||||
var resp ResumeSandboxResponse
|
var resp ResumeSandboxResponse
|
||||||
if err := c.client.Call(ctx, "containerd.task.v2.Sandbox", "ResumeSandbox", req, &resp); err != nil {
|
if err := c.client.Call(ctx, "containerd.runtime.sandbox.v1.Sandbox", "ResumeSandbox", req, &resp); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &resp, nil
|
return &resp, nil
|
||||||
@ -2005,7 +2006,7 @@ func (c *sandboxClient) ResumeSandbox(ctx context.Context, req *ResumeSandboxReq
|
|||||||
|
|
||||||
func (c *sandboxClient) SandboxStatus(ctx context.Context, req *SandboxStatusRequest) (*SandboxStatusResponse, error) {
|
func (c *sandboxClient) SandboxStatus(ctx context.Context, req *SandboxStatusRequest) (*SandboxStatusResponse, error) {
|
||||||
var resp SandboxStatusResponse
|
var resp SandboxStatusResponse
|
||||||
if err := c.client.Call(ctx, "containerd.task.v2.Sandbox", "SandboxStatus", req, &resp); err != nil {
|
if err := c.client.Call(ctx, "containerd.runtime.sandbox.v1.Sandbox", "SandboxStatus", req, &resp); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &resp, nil
|
return &resp, nil
|
||||||
@ -2013,7 +2014,7 @@ func (c *sandboxClient) SandboxStatus(ctx context.Context, req *SandboxStatusReq
|
|||||||
|
|
||||||
func (c *sandboxClient) PingSandbox(ctx context.Context, req *PingRequest) (*PingResponse, error) {
|
func (c *sandboxClient) PingSandbox(ctx context.Context, req *PingRequest) (*PingResponse, error) {
|
||||||
var resp PingResponse
|
var resp PingResponse
|
||||||
if err := c.client.Call(ctx, "containerd.task.v2.Sandbox", "PingSandbox", req, &resp); err != nil {
|
if err := c.client.Call(ctx, "containerd.runtime.sandbox.v1.Sandbox", "PingSandbox", req, &resp); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &resp, nil
|
return &resp, nil
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package containerd.task.v2;
|
package containerd.runtime.sandbox.v1;
|
||||||
|
|
||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
@ -24,6 +24,8 @@ import weak "gogoproto/gogo.proto";
|
|||||||
|
|
||||||
import "github.com/containerd/containerd/api/types/mount.proto";
|
import "github.com/containerd/containerd/api/types/mount.proto";
|
||||||
|
|
||||||
|
option go_package = "github.com/containerd/containerd/api/runtime/sandbox/v1;sandbox";
|
||||||
|
|
||||||
// Sandbox is an optional interface that shim may implement to support sandboxes environments.
|
// Sandbox is an optional interface that shim may implement to support sandboxes environments.
|
||||||
// A typical example of sandbox is microVM or pause container - an entity that groups containers and/or
|
// A typical example of sandbox is microVM or pause container - an entity that groups containers and/or
|
||||||
// holds resources relevant for this group.
|
// holds resources relevant for this group.
|
@ -1,5 +1,5 @@
|
|||||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||||
// source: github.com/containerd/containerd/runtime/v2/task/shim.proto
|
// source: github.com/containerd/containerd/api/runtime/task/v2/shim.proto
|
||||||
|
|
||||||
package task
|
package task
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ type CreateTaskRequest struct {
|
|||||||
func (m *CreateTaskRequest) Reset() { *m = CreateTaskRequest{} }
|
func (m *CreateTaskRequest) Reset() { *m = CreateTaskRequest{} }
|
||||||
func (*CreateTaskRequest) ProtoMessage() {}
|
func (*CreateTaskRequest) ProtoMessage() {}
|
||||||
func (*CreateTaskRequest) Descriptor() ([]byte, []int) {
|
func (*CreateTaskRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{0}
|
return fileDescriptor_776a86a4acdacc3f, []int{0}
|
||||||
}
|
}
|
||||||
func (m *CreateTaskRequest) XXX_Unmarshal(b []byte) error {
|
func (m *CreateTaskRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -89,7 +89,7 @@ type CreateTaskResponse struct {
|
|||||||
func (m *CreateTaskResponse) Reset() { *m = CreateTaskResponse{} }
|
func (m *CreateTaskResponse) Reset() { *m = CreateTaskResponse{} }
|
||||||
func (*CreateTaskResponse) ProtoMessage() {}
|
func (*CreateTaskResponse) ProtoMessage() {}
|
||||||
func (*CreateTaskResponse) Descriptor() ([]byte, []int) {
|
func (*CreateTaskResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{1}
|
return fileDescriptor_776a86a4acdacc3f, []int{1}
|
||||||
}
|
}
|
||||||
func (m *CreateTaskResponse) XXX_Unmarshal(b []byte) error {
|
func (m *CreateTaskResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -129,7 +129,7 @@ type DeleteRequest struct {
|
|||||||
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
|
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
|
||||||
func (*DeleteRequest) ProtoMessage() {}
|
func (*DeleteRequest) ProtoMessage() {}
|
||||||
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{2}
|
return fileDescriptor_776a86a4acdacc3f, []int{2}
|
||||||
}
|
}
|
||||||
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
|
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -170,7 +170,7 @@ type DeleteResponse struct {
|
|||||||
func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
|
func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
|
||||||
func (*DeleteResponse) ProtoMessage() {}
|
func (*DeleteResponse) ProtoMessage() {}
|
||||||
func (*DeleteResponse) Descriptor() ([]byte, []int) {
|
func (*DeleteResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{3}
|
return fileDescriptor_776a86a4acdacc3f, []int{3}
|
||||||
}
|
}
|
||||||
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error {
|
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -215,7 +215,7 @@ type ExecProcessRequest struct {
|
|||||||
func (m *ExecProcessRequest) Reset() { *m = ExecProcessRequest{} }
|
func (m *ExecProcessRequest) Reset() { *m = ExecProcessRequest{} }
|
||||||
func (*ExecProcessRequest) ProtoMessage() {}
|
func (*ExecProcessRequest) ProtoMessage() {}
|
||||||
func (*ExecProcessRequest) Descriptor() ([]byte, []int) {
|
func (*ExecProcessRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{4}
|
return fileDescriptor_776a86a4acdacc3f, []int{4}
|
||||||
}
|
}
|
||||||
func (m *ExecProcessRequest) XXX_Unmarshal(b []byte) error {
|
func (m *ExecProcessRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -253,7 +253,7 @@ type ExecProcessResponse struct {
|
|||||||
func (m *ExecProcessResponse) Reset() { *m = ExecProcessResponse{} }
|
func (m *ExecProcessResponse) Reset() { *m = ExecProcessResponse{} }
|
||||||
func (*ExecProcessResponse) ProtoMessage() {}
|
func (*ExecProcessResponse) ProtoMessage() {}
|
||||||
func (*ExecProcessResponse) Descriptor() ([]byte, []int) {
|
func (*ExecProcessResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{5}
|
return fileDescriptor_776a86a4acdacc3f, []int{5}
|
||||||
}
|
}
|
||||||
func (m *ExecProcessResponse) XXX_Unmarshal(b []byte) error {
|
func (m *ExecProcessResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -295,7 +295,7 @@ type ResizePtyRequest struct {
|
|||||||
func (m *ResizePtyRequest) Reset() { *m = ResizePtyRequest{} }
|
func (m *ResizePtyRequest) Reset() { *m = ResizePtyRequest{} }
|
||||||
func (*ResizePtyRequest) ProtoMessage() {}
|
func (*ResizePtyRequest) ProtoMessage() {}
|
||||||
func (*ResizePtyRequest) Descriptor() ([]byte, []int) {
|
func (*ResizePtyRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{6}
|
return fileDescriptor_776a86a4acdacc3f, []int{6}
|
||||||
}
|
}
|
||||||
func (m *ResizePtyRequest) XXX_Unmarshal(b []byte) error {
|
func (m *ResizePtyRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -335,7 +335,7 @@ type StateRequest struct {
|
|||||||
func (m *StateRequest) Reset() { *m = StateRequest{} }
|
func (m *StateRequest) Reset() { *m = StateRequest{} }
|
||||||
func (*StateRequest) ProtoMessage() {}
|
func (*StateRequest) ProtoMessage() {}
|
||||||
func (*StateRequest) Descriptor() ([]byte, []int) {
|
func (*StateRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{7}
|
return fileDescriptor_776a86a4acdacc3f, []int{7}
|
||||||
}
|
}
|
||||||
func (m *StateRequest) XXX_Unmarshal(b []byte) error {
|
func (m *StateRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -384,7 +384,7 @@ type StateResponse struct {
|
|||||||
func (m *StateResponse) Reset() { *m = StateResponse{} }
|
func (m *StateResponse) Reset() { *m = StateResponse{} }
|
||||||
func (*StateResponse) ProtoMessage() {}
|
func (*StateResponse) ProtoMessage() {}
|
||||||
func (*StateResponse) Descriptor() ([]byte, []int) {
|
func (*StateResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{8}
|
return fileDescriptor_776a86a4acdacc3f, []int{8}
|
||||||
}
|
}
|
||||||
func (m *StateResponse) XXX_Unmarshal(b []byte) error {
|
func (m *StateResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -426,7 +426,7 @@ type KillRequest struct {
|
|||||||
func (m *KillRequest) Reset() { *m = KillRequest{} }
|
func (m *KillRequest) Reset() { *m = KillRequest{} }
|
||||||
func (*KillRequest) ProtoMessage() {}
|
func (*KillRequest) ProtoMessage() {}
|
||||||
func (*KillRequest) Descriptor() ([]byte, []int) {
|
func (*KillRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{9}
|
return fileDescriptor_776a86a4acdacc3f, []int{9}
|
||||||
}
|
}
|
||||||
func (m *KillRequest) XXX_Unmarshal(b []byte) error {
|
func (m *KillRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -467,7 +467,7 @@ type CloseIORequest struct {
|
|||||||
func (m *CloseIORequest) Reset() { *m = CloseIORequest{} }
|
func (m *CloseIORequest) Reset() { *m = CloseIORequest{} }
|
||||||
func (*CloseIORequest) ProtoMessage() {}
|
func (*CloseIORequest) ProtoMessage() {}
|
||||||
func (*CloseIORequest) Descriptor() ([]byte, []int) {
|
func (*CloseIORequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{10}
|
return fileDescriptor_776a86a4acdacc3f, []int{10}
|
||||||
}
|
}
|
||||||
func (m *CloseIORequest) XXX_Unmarshal(b []byte) error {
|
func (m *CloseIORequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -506,7 +506,7 @@ type PidsRequest struct {
|
|||||||
func (m *PidsRequest) Reset() { *m = PidsRequest{} }
|
func (m *PidsRequest) Reset() { *m = PidsRequest{} }
|
||||||
func (*PidsRequest) ProtoMessage() {}
|
func (*PidsRequest) ProtoMessage() {}
|
||||||
func (*PidsRequest) Descriptor() ([]byte, []int) {
|
func (*PidsRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{11}
|
return fileDescriptor_776a86a4acdacc3f, []int{11}
|
||||||
}
|
}
|
||||||
func (m *PidsRequest) XXX_Unmarshal(b []byte) error {
|
func (m *PidsRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -545,7 +545,7 @@ type PidsResponse struct {
|
|||||||
func (m *PidsResponse) Reset() { *m = PidsResponse{} }
|
func (m *PidsResponse) Reset() { *m = PidsResponse{} }
|
||||||
func (*PidsResponse) ProtoMessage() {}
|
func (*PidsResponse) ProtoMessage() {}
|
||||||
func (*PidsResponse) Descriptor() ([]byte, []int) {
|
func (*PidsResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{12}
|
return fileDescriptor_776a86a4acdacc3f, []int{12}
|
||||||
}
|
}
|
||||||
func (m *PidsResponse) XXX_Unmarshal(b []byte) error {
|
func (m *PidsResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -586,7 +586,7 @@ type CheckpointTaskRequest struct {
|
|||||||
func (m *CheckpointTaskRequest) Reset() { *m = CheckpointTaskRequest{} }
|
func (m *CheckpointTaskRequest) Reset() { *m = CheckpointTaskRequest{} }
|
||||||
func (*CheckpointTaskRequest) ProtoMessage() {}
|
func (*CheckpointTaskRequest) ProtoMessage() {}
|
||||||
func (*CheckpointTaskRequest) Descriptor() ([]byte, []int) {
|
func (*CheckpointTaskRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{13}
|
return fileDescriptor_776a86a4acdacc3f, []int{13}
|
||||||
}
|
}
|
||||||
func (m *CheckpointTaskRequest) XXX_Unmarshal(b []byte) error {
|
func (m *CheckpointTaskRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -627,7 +627,7 @@ type UpdateTaskRequest struct {
|
|||||||
func (m *UpdateTaskRequest) Reset() { *m = UpdateTaskRequest{} }
|
func (m *UpdateTaskRequest) Reset() { *m = UpdateTaskRequest{} }
|
||||||
func (*UpdateTaskRequest) ProtoMessage() {}
|
func (*UpdateTaskRequest) ProtoMessage() {}
|
||||||
func (*UpdateTaskRequest) Descriptor() ([]byte, []int) {
|
func (*UpdateTaskRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{14}
|
return fileDescriptor_776a86a4acdacc3f, []int{14}
|
||||||
}
|
}
|
||||||
func (m *UpdateTaskRequest) XXX_Unmarshal(b []byte) error {
|
func (m *UpdateTaskRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -667,7 +667,7 @@ type StartRequest struct {
|
|||||||
func (m *StartRequest) Reset() { *m = StartRequest{} }
|
func (m *StartRequest) Reset() { *m = StartRequest{} }
|
||||||
func (*StartRequest) ProtoMessage() {}
|
func (*StartRequest) ProtoMessage() {}
|
||||||
func (*StartRequest) Descriptor() ([]byte, []int) {
|
func (*StartRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{15}
|
return fileDescriptor_776a86a4acdacc3f, []int{15}
|
||||||
}
|
}
|
||||||
func (m *StartRequest) XXX_Unmarshal(b []byte) error {
|
func (m *StartRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -706,7 +706,7 @@ type StartResponse struct {
|
|||||||
func (m *StartResponse) Reset() { *m = StartResponse{} }
|
func (m *StartResponse) Reset() { *m = StartResponse{} }
|
||||||
func (*StartResponse) ProtoMessage() {}
|
func (*StartResponse) ProtoMessage() {}
|
||||||
func (*StartResponse) Descriptor() ([]byte, []int) {
|
func (*StartResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{16}
|
return fileDescriptor_776a86a4acdacc3f, []int{16}
|
||||||
}
|
}
|
||||||
func (m *StartResponse) XXX_Unmarshal(b []byte) error {
|
func (m *StartResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -746,7 +746,7 @@ type WaitRequest struct {
|
|||||||
func (m *WaitRequest) Reset() { *m = WaitRequest{} }
|
func (m *WaitRequest) Reset() { *m = WaitRequest{} }
|
||||||
func (*WaitRequest) ProtoMessage() {}
|
func (*WaitRequest) ProtoMessage() {}
|
||||||
func (*WaitRequest) Descriptor() ([]byte, []int) {
|
func (*WaitRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{17}
|
return fileDescriptor_776a86a4acdacc3f, []int{17}
|
||||||
}
|
}
|
||||||
func (m *WaitRequest) XXX_Unmarshal(b []byte) error {
|
func (m *WaitRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -786,7 +786,7 @@ type WaitResponse struct {
|
|||||||
func (m *WaitResponse) Reset() { *m = WaitResponse{} }
|
func (m *WaitResponse) Reset() { *m = WaitResponse{} }
|
||||||
func (*WaitResponse) ProtoMessage() {}
|
func (*WaitResponse) ProtoMessage() {}
|
||||||
func (*WaitResponse) Descriptor() ([]byte, []int) {
|
func (*WaitResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{18}
|
return fileDescriptor_776a86a4acdacc3f, []int{18}
|
||||||
}
|
}
|
||||||
func (m *WaitResponse) XXX_Unmarshal(b []byte) error {
|
func (m *WaitResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -825,7 +825,7 @@ type StatsRequest struct {
|
|||||||
func (m *StatsRequest) Reset() { *m = StatsRequest{} }
|
func (m *StatsRequest) Reset() { *m = StatsRequest{} }
|
||||||
func (*StatsRequest) ProtoMessage() {}
|
func (*StatsRequest) ProtoMessage() {}
|
||||||
func (*StatsRequest) Descriptor() ([]byte, []int) {
|
func (*StatsRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{19}
|
return fileDescriptor_776a86a4acdacc3f, []int{19}
|
||||||
}
|
}
|
||||||
func (m *StatsRequest) XXX_Unmarshal(b []byte) error {
|
func (m *StatsRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -864,7 +864,7 @@ type StatsResponse struct {
|
|||||||
func (m *StatsResponse) Reset() { *m = StatsResponse{} }
|
func (m *StatsResponse) Reset() { *m = StatsResponse{} }
|
||||||
func (*StatsResponse) ProtoMessage() {}
|
func (*StatsResponse) ProtoMessage() {}
|
||||||
func (*StatsResponse) Descriptor() ([]byte, []int) {
|
func (*StatsResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{20}
|
return fileDescriptor_776a86a4acdacc3f, []int{20}
|
||||||
}
|
}
|
||||||
func (m *StatsResponse) XXX_Unmarshal(b []byte) error {
|
func (m *StatsResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -903,7 +903,7 @@ type ConnectRequest struct {
|
|||||||
func (m *ConnectRequest) Reset() { *m = ConnectRequest{} }
|
func (m *ConnectRequest) Reset() { *m = ConnectRequest{} }
|
||||||
func (*ConnectRequest) ProtoMessage() {}
|
func (*ConnectRequest) ProtoMessage() {}
|
||||||
func (*ConnectRequest) Descriptor() ([]byte, []int) {
|
func (*ConnectRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{21}
|
return fileDescriptor_776a86a4acdacc3f, []int{21}
|
||||||
}
|
}
|
||||||
func (m *ConnectRequest) XXX_Unmarshal(b []byte) error {
|
func (m *ConnectRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -944,7 +944,7 @@ type ConnectResponse struct {
|
|||||||
func (m *ConnectResponse) Reset() { *m = ConnectResponse{} }
|
func (m *ConnectResponse) Reset() { *m = ConnectResponse{} }
|
||||||
func (*ConnectResponse) ProtoMessage() {}
|
func (*ConnectResponse) ProtoMessage() {}
|
||||||
func (*ConnectResponse) Descriptor() ([]byte, []int) {
|
func (*ConnectResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{22}
|
return fileDescriptor_776a86a4acdacc3f, []int{22}
|
||||||
}
|
}
|
||||||
func (m *ConnectResponse) XXX_Unmarshal(b []byte) error {
|
func (m *ConnectResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -984,7 +984,7 @@ type ShutdownRequest struct {
|
|||||||
func (m *ShutdownRequest) Reset() { *m = ShutdownRequest{} }
|
func (m *ShutdownRequest) Reset() { *m = ShutdownRequest{} }
|
||||||
func (*ShutdownRequest) ProtoMessage() {}
|
func (*ShutdownRequest) ProtoMessage() {}
|
||||||
func (*ShutdownRequest) Descriptor() ([]byte, []int) {
|
func (*ShutdownRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{23}
|
return fileDescriptor_776a86a4acdacc3f, []int{23}
|
||||||
}
|
}
|
||||||
func (m *ShutdownRequest) XXX_Unmarshal(b []byte) error {
|
func (m *ShutdownRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1023,7 +1023,7 @@ type PauseRequest struct {
|
|||||||
func (m *PauseRequest) Reset() { *m = PauseRequest{} }
|
func (m *PauseRequest) Reset() { *m = PauseRequest{} }
|
||||||
func (*PauseRequest) ProtoMessage() {}
|
func (*PauseRequest) ProtoMessage() {}
|
||||||
func (*PauseRequest) Descriptor() ([]byte, []int) {
|
func (*PauseRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{24}
|
return fileDescriptor_776a86a4acdacc3f, []int{24}
|
||||||
}
|
}
|
||||||
func (m *PauseRequest) XXX_Unmarshal(b []byte) error {
|
func (m *PauseRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1062,7 +1062,7 @@ type ResumeRequest struct {
|
|||||||
func (m *ResumeRequest) Reset() { *m = ResumeRequest{} }
|
func (m *ResumeRequest) Reset() { *m = ResumeRequest{} }
|
||||||
func (*ResumeRequest) ProtoMessage() {}
|
func (*ResumeRequest) ProtoMessage() {}
|
||||||
func (*ResumeRequest) Descriptor() ([]byte, []int) {
|
func (*ResumeRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_9202ee34bc3ad8ca, []int{25}
|
return fileDescriptor_776a86a4acdacc3f, []int{25}
|
||||||
}
|
}
|
||||||
func (m *ResumeRequest) XXX_Unmarshal(b []byte) error {
|
func (m *ResumeRequest) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1122,92 +1122,92 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
proto.RegisterFile("github.com/containerd/containerd/runtime/v2/task/shim.proto", fileDescriptor_9202ee34bc3ad8ca)
|
proto.RegisterFile("github.com/containerd/containerd/api/runtime/task/v2/shim.proto", fileDescriptor_776a86a4acdacc3f)
|
||||||
}
|
}
|
||||||
|
|
||||||
var fileDescriptor_9202ee34bc3ad8ca = []byte{
|
var fileDescriptor_776a86a4acdacc3f = []byte{
|
||||||
// 1289 bytes of a gzipped FileDescriptorProto
|
// 1290 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4d, 0x6f, 0xdb, 0x46,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4d, 0x6f, 0xdb, 0x46,
|
||||||
0x13, 0x0e, 0xf5, 0x41, 0x49, 0xa3, 0xc8, 0x71, 0xf6, 0x75, 0xf2, 0x32, 0x0a, 0x20, 0x2b, 0x4c,
|
0x13, 0x0e, 0xf5, 0x41, 0x49, 0xa3, 0xc8, 0x71, 0xf6, 0x75, 0xf2, 0x32, 0x0a, 0x20, 0x2b, 0x4c,
|
||||||
0x93, 0xaa, 0x2d, 0x40, 0xa1, 0x0a, 0x9a, 0x16, 0x31, 0x90, 0xc2, 0xb1, 0xdd, 0x40, 0x4d, 0x5a,
|
0x93, 0xaa, 0x2d, 0x40, 0xa1, 0x0a, 0x90, 0xb6, 0x09, 0x90, 0xc0, 0x71, 0xdc, 0x40, 0x4d, 0x5a,
|
||||||
0x1b, 0x4c, 0x8a, 0x14, 0xbd, 0x18, 0xb4, 0xb8, 0x96, 0x08, 0x4b, 0x5c, 0x96, 0xbb, 0xb4, 0xad,
|
0x1b, 0x74, 0x8a, 0x14, 0xbd, 0x18, 0xb4, 0xb8, 0x96, 0x08, 0x4b, 0x5c, 0x96, 0xbb, 0xb4, 0xad,
|
||||||
0xa2, 0x05, 0x7a, 0xee, 0x2f, 0xcb, 0xb1, 0x40, 0x2f, 0xbd, 0x34, 0x68, 0x74, 0xe9, 0x6f, 0xe8,
|
0xa2, 0x05, 0x7a, 0xee, 0x2f, 0xcb, 0xb1, 0x40, 0x2f, 0xbd, 0x34, 0x68, 0x74, 0xe9,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f, 0x77, 0x4e, 0x02, 0xe2,
|
0x61, 0x68, 0x14, 0xce, 0xbf, 0xe3, 0x30, 0x44, 0x35, 0x80, 0x4e, 0x0f, 0x77, 0x8e, 0x03, 0xe2,
|
||||||
0xf9, 0xcc, 0x28, 0x8a, 0xb5, 0xd8, 0x17, 0xf4, 0x09, 0xdc, 0x0c, 0x9c, 0x10, 0xfb, 0xec, 0x30,
|
0xf9, 0xcc, 0x28, 0x8a, 0xb5, 0xd8, 0x17, 0xf4, 0x09, 0x5c, 0x0f, 0x9c, 0x10, 0xfb, 0xec, 0x20,
|
||||||
0x06, 0x2b, 0x09, 0xd8, 0xba, 0x5c, 0xd8, 0x99, 0x80, 0x2d, 0x28, 0x90, 0x80, 0x79, 0xc4, 0xa7,
|
0x06, 0x2b, 0x09, 0xd8, 0xba, 0x5c, 0xd8, 0x9e, 0x80, 0x2d, 0x28, 0x90, 0x80, 0x79, 0xc4, 0xa7,
|
||||||
0x06, 0xd4, 0xb5, 0x46, 0xb9, 0xb5, 0x61, 0xc9, 0xc7, 0xb4, 0xc6, 0x8f, 0x69, 0x6d, 0xfb, 0x43,
|
0x06, 0xd4, 0xb5, 0x46, 0xb9, 0xb5, 0x61, 0xc9, 0xc7, 0xb4, 0xc6, 0x8f, 0x69, 0x6d, 0xf9, 0x43,
|
||||||
0x7b, 0x0c, 0x32, 0x1f, 0x02, 0x8a, 0x07, 0x95, 0x06, 0xc4, 0xa7, 0x18, 0xad, 0x43, 0x36, 0x50,
|
0x7b, 0x0c, 0x32, 0xef, 0x03, 0x8a, 0x07, 0x95, 0x06, 0xc4, 0xa7, 0x18, 0xad, 0x43, 0x36, 0x50,
|
||||||
0x61, 0xad, 0xd8, 0x7c, 0x68, 0xbe, 0x84, 0xca, 0x2e, 0xee, 0x63, 0x86, 0x97, 0x05, 0xfe, 0x3e,
|
0x61, 0xad, 0xd8, 0x7c, 0x68, 0xbe, 0x82, 0xca, 0x73, 0xdc, 0xc7, 0x0c, 0x2f, 0x0b,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6, 0x9c, 0x98, 0x0f, 0xa0,
|
0xf7, 0x09, 0xc5, 0xed, 0xdd, 0x55, 0x31, 0x55, 0xbe, 0x92, 0x4c, 0x4d, 0x39, 0x31, 0xef, 0x41,
|
||||||
0x7c, 0xe0, 0xb9, 0xcb, 0xf2, 0xdf, 0xfc, 0x16, 0xae, 0x4b, 0x98, 0x62, 0xda, 0x53, 0x28, 0x05,
|
0x79, 0xcf, 0x73, 0x97, 0xe5, 0xbf, 0xf9, 0x0d, 0x5c, 0x95, 0x30, 0xc5, 0xb4, 0x27, 0x50, 0x0a,
|
||||||
0x32, 0xb5, 0x30, 0x35, 0x34, 0x51, 0x45, 0xea, 0x89, 0x54, 0x51, 0x09, 0xd8, 0xf6, 0x8f, 0x89,
|
0x64, 0x6a, 0x61, 0x6a, 0x68, 0xa2, 0x8a, 0xd4, 0x13, 0xa9, 0xa2, 0x12, 0xb0, 0xed, 0x1f, 0x11,
|
||||||
0x3d, 0xd9, 0x62, 0x52, 0xb8, 0x35, 0x11, 0xec, 0xcb, 0xd4, 0x32, 0x04, 0xb9, 0xc0, 0x61, 0x3d,
|
0x7b, 0xb2, 0xc5, 0xa4, 0x70, 0x63, 0x22, 0xd8, 0x17, 0xa9, 0x65, 0x08, 0x72, 0x81, 0xc3, 0x7a,
|
||||||
0x45, 0x60, 0x31, 0x8e, 0xeb, 0x7c, 0xf6, 0x32, 0x3a, 0xff, 0xaf, 0x06, 0x37, 0xbf, 0x0b, 0xdc,
|
0x8a, 0xc0, 0x62, 0x1c, 0xd7, 0xf9, 0xec, 0x45, 0x74, 0xfe, 0x1f, 0x0d, 0xae, 0x7f, 0x1b, 0xb8,
|
||||||
0x4b, 0x56, 0xcf, 0x16, 0x94, 0x42, 0x4c, 0x49, 0x14, 0x76, 0xb0, 0x54, 0xde, 0x34, 0xfb, 0x13,
|
0x17, 0xac, 0x9e, 0x2d, 0x28, 0x85, 0x98, 0x92, 0x28, 0xec, 0x60, 0xa9, 0xbc, 0x69, 0xf6,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, 0xe4,
|
||||||
0x5c, 0xaf, 0x50, 0x22, 0x67, 0xe6, 0x5b, 0xec, 0x54, 0x3b, 0x6d, 0x28, 0x5d, 0xb4, 0xa6, 0xe8,
|
0xb8, 0x5e, 0xa1, 0x44, 0xce, 0xcc, 0xb7, 0xd8, 0xa9, 0x76, 0xda, 0x50, 0x3a, 0x6f, 0x4d, 0xd1,
|
||||||
0x83, 0x94, 0x08, 0x4d, 0x75, 0xae, 0xa9, 0xa6, 0xf6, 0xa0, 0xa0, 0x3a, 0x07, 0x94, 0x48, 0x93,
|
0x07, 0x29, 0x11, 0x9a, 0xea, 0x5c, 0x53, 0x4d, 0xed, 0x40, 0x41, 0x75, 0x0e, 0x28, 0x91, 0x26,
|
||||||
0xe9, 0xb6, 0x22, 0xd5, 0xcc, 0x73, 0xd0, 0x65, 0x99, 0x4a, 0x4e, 0x9b, 0xb9, 0x12, 0xb6, 0xc0,
|
0xd3, 0x6d, 0x45, 0xaa, 0x99, 0x17, 0xa0, 0xcb, 0x32, 0x95, 0x9c, 0x36, 0x73, 0x25, 0x6c, 0x81,
|
||||||
0xb5, 0x1c, 0x17, 0xf0, 0xe4, 0x18, 0xc7, 0xca, 0x44, 0x32, 0x0f, 0xa7, 0xb4, 0x5f, 0x09, 0x03,
|
0x6b, 0x39, 0x2e, 0xe0, 0xc9, 0x31, 0x8e, 0x95, 0x89, 0x64, 0x1e, 0x4e, 0x69, 0xbf, 0x12, 0x06,
|
||||||
0x4d, 0x17, 0x06, 0xba, 0x54, 0x18, 0x26, 0xac, 0xb6, 0xa1, 0xa0, 0x04, 0x36, 0x25, 0x50, 0x53,
|
0x9a, 0x2e, 0x0c, 0x74, 0xa9, 0x30, 0x4c, 0x58, 0x6d, 0x43, 0x41, 0x09, 0x6c, 0x4a, 0xa0, 0xa6,
|
||||||
0x3a, 0x5d, 0xbd, 0xbf, 0x10, 0xa3, 0x6c, 0x3e, 0x87, 0xe2, 0x58, 0x51, 0x51, 0xe2, 0x86, 0x19,
|
0x74, 0xba, 0x7a, 0x77, 0x21, 0x46, 0xd9, 0x7c, 0x01, 0xc5, 0xb1, 0xa2, 0xa2, 0xc4, 0x0d, 0x33,
|
||||||
0xbd, 0x4d, 0x8b, 0xda, 0xb3, 0xfd, 0xb7, 0xef, 0x6b, 0xd7, 0xfe, 0x7c, 0x5f, 0xbb, 0xf6, 0xeb,
|
0x7a, 0x9b, 0x16, 0xb5, 0x67, 0xfb, 0x6f, 0xdf, 0xd7, 0xae, 0xfc, 0xf1, 0xbe, 0x76, 0xe5, 0x97,
|
||||||
0xa8, 0xa6, 0xbd, 0x1d, 0xd5, 0xb4, 0xdf, 0x47, 0x35, 0xed, 0xef, 0x51, 0x4d, 0xfb, 0xe1, 0xb3,
|
0x51, 0x4d, 0x7b, 0x3b, 0xaa, 0x69, 0xbf, 0x8d, 0x6a, 0xda, 0x5f, 0xa3, 0x9a, 0xf6, 0xfd, 0x17,
|
||||||
0xab, 0xfe, 0x74, 0xb2, 0xc5, 0xff, 0x1c, 0xe9, 0xe2, 0x80, 0x47, 0xff, 0x05, 0x00, 0x00, 0xff,
|
0xff, 0xe5, 0xe7, 0x93, 0xc7, 0xfc, 0xef, 0xa1, 0x2e, 0x0e, 0x79, 0xf0, 0x6f, 0x00, 0x00, 0x00,
|
||||||
0xff, 0x2b, 0x56, 0x99, 0xb9, 0x7a, 0x11, 0x00, 0x00,
|
0xff, 0xff, 0xbb, 0x6e, 0x9c, 0x9e, 0x82, 0x11, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *CreateTaskRequest) Marshal() (dAtA []byte, err error) {
|
func (m *CreateTaskRequest) Marshal() (dAtA []byte, err error) {
|
@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto";
|
|||||||
import "github.com/containerd/containerd/api/types/mount.proto";
|
import "github.com/containerd/containerd/api/types/mount.proto";
|
||||||
import "github.com/containerd/containerd/api/types/task/task.proto";
|
import "github.com/containerd/containerd/api/types/task/task.proto";
|
||||||
|
|
||||||
option go_package = "github.com/containerd/containerd/runtime/v2/task;task";
|
option go_package = "github.com/containerd/containerd/api/runtime/task/v2;task";
|
||||||
|
|
||||||
// Shim service is launched for each container and is responsible for owning the IO
|
// Shim service is launched for each container and is responsible for owning the IO
|
||||||
// for the container and its additional processes. The shim is also the parent of
|
// for the container and its additional processes. The shim is also the parent of
|
@ -29,11 +29,11 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/containerd/console"
|
"github.com/containerd/console"
|
||||||
|
"github.com/containerd/containerd/api/runtime/task/v2"
|
||||||
"github.com/containerd/containerd/cmd/ctr/commands"
|
"github.com/containerd/containerd/cmd/ctr/commands"
|
||||||
"github.com/containerd/containerd/namespaces"
|
"github.com/containerd/containerd/namespaces"
|
||||||
ptypes "github.com/containerd/containerd/protobuf/types"
|
ptypes "github.com/containerd/containerd/protobuf/types"
|
||||||
"github.com/containerd/containerd/runtime/v2/shim"
|
"github.com/containerd/containerd/runtime/v2/shim"
|
||||||
"github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
"github.com/containerd/ttrpc"
|
"github.com/containerd/ttrpc"
|
||||||
"github.com/containerd/typeurl"
|
"github.com/containerd/typeurl"
|
||||||
"github.com/opencontainers/runtime-spec/specs-go"
|
"github.com/opencontainers/runtime-spec/specs-go"
|
||||||
|
@ -26,13 +26,13 @@ import (
|
|||||||
gruntime "runtime"
|
gruntime "runtime"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/containerd/containerd/api/runtime/task/v2"
|
||||||
"github.com/containerd/containerd/log"
|
"github.com/containerd/containerd/log"
|
||||||
"github.com/containerd/containerd/namespaces"
|
"github.com/containerd/containerd/namespaces"
|
||||||
"github.com/containerd/containerd/protobuf"
|
"github.com/containerd/containerd/protobuf"
|
||||||
"github.com/containerd/containerd/protobuf/types"
|
"github.com/containerd/containerd/protobuf/types"
|
||||||
"github.com/containerd/containerd/runtime"
|
"github.com/containerd/containerd/runtime"
|
||||||
client "github.com/containerd/containerd/runtime/v2/shim"
|
client "github.com/containerd/containerd/runtime/v2/shim"
|
||||||
"github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
"github.com/containerd/ttrpc"
|
"github.com/containerd/ttrpc"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
@ -23,10 +23,10 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
taskAPI "github.com/containerd/containerd/api/runtime/task/v2"
|
||||||
"github.com/containerd/containerd/errdefs"
|
"github.com/containerd/containerd/errdefs"
|
||||||
ptypes "github.com/containerd/containerd/protobuf/types"
|
ptypes "github.com/containerd/containerd/protobuf/types"
|
||||||
"github.com/containerd/containerd/runtime/v2/shim"
|
"github.com/containerd/containerd/runtime/v2/shim"
|
||||||
taskAPI "github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -25,6 +25,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
|
"github.com/containerd/containerd/api/runtime/task/v2"
|
||||||
"github.com/containerd/containerd/containers"
|
"github.com/containerd/containerd/containers"
|
||||||
"github.com/containerd/containerd/errdefs"
|
"github.com/containerd/containerd/errdefs"
|
||||||
"github.com/containerd/containerd/events/exchange"
|
"github.com/containerd/containerd/events/exchange"
|
||||||
@ -37,7 +38,6 @@ import (
|
|||||||
"github.com/containerd/containerd/protobuf"
|
"github.com/containerd/containerd/protobuf"
|
||||||
"github.com/containerd/containerd/runtime"
|
"github.com/containerd/containerd/runtime"
|
||||||
shimbinary "github.com/containerd/containerd/runtime/v2/shim"
|
shimbinary "github.com/containerd/containerd/runtime/v2/shim"
|
||||||
"github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
|
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -20,11 +20,11 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
|
"github.com/containerd/containerd/api/runtime/task/v2"
|
||||||
tasktypes "github.com/containerd/containerd/api/types/task"
|
tasktypes "github.com/containerd/containerd/api/types/task"
|
||||||
"github.com/containerd/containerd/errdefs"
|
"github.com/containerd/containerd/errdefs"
|
||||||
"github.com/containerd/containerd/protobuf"
|
"github.com/containerd/containerd/protobuf"
|
||||||
"github.com/containerd/containerd/runtime"
|
"github.com/containerd/containerd/runtime"
|
||||||
"github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
"github.com/containerd/ttrpc"
|
"github.com/containerd/ttrpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -30,13 +30,13 @@ import (
|
|||||||
"github.com/containerd/cgroups"
|
"github.com/containerd/cgroups"
|
||||||
cgroupsv2 "github.com/containerd/cgroups/v2"
|
cgroupsv2 "github.com/containerd/cgroups/v2"
|
||||||
"github.com/containerd/console"
|
"github.com/containerd/console"
|
||||||
|
"github.com/containerd/containerd/api/runtime/task/v2"
|
||||||
"github.com/containerd/containerd/errdefs"
|
"github.com/containerd/containerd/errdefs"
|
||||||
"github.com/containerd/containerd/mount"
|
"github.com/containerd/containerd/mount"
|
||||||
"github.com/containerd/containerd/namespaces"
|
"github.com/containerd/containerd/namespaces"
|
||||||
"github.com/containerd/containerd/pkg/process"
|
"github.com/containerd/containerd/pkg/process"
|
||||||
"github.com/containerd/containerd/pkg/stdio"
|
"github.com/containerd/containerd/pkg/stdio"
|
||||||
"github.com/containerd/containerd/runtime/v2/runc/options"
|
"github.com/containerd/containerd/runtime/v2/runc/options"
|
||||||
"github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
"github.com/containerd/typeurl"
|
"github.com/containerd/typeurl"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
@ -26,8 +26,8 @@ import (
|
|||||||
"github.com/containerd/ttrpc"
|
"github.com/containerd/ttrpc"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
||||||
|
api "github.com/containerd/containerd/api/runtime/sandbox/v1"
|
||||||
"github.com/containerd/containerd/plugin"
|
"github.com/containerd/containerd/plugin"
|
||||||
api "github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
@ -28,6 +28,7 @@ import (
|
|||||||
"github.com/containerd/cgroups"
|
"github.com/containerd/cgroups"
|
||||||
cgroupsv2 "github.com/containerd/cgroups/v2"
|
cgroupsv2 "github.com/containerd/cgroups/v2"
|
||||||
eventstypes "github.com/containerd/containerd/api/events"
|
eventstypes "github.com/containerd/containerd/api/events"
|
||||||
|
taskAPI "github.com/containerd/containerd/api/runtime/task/v2"
|
||||||
"github.com/containerd/containerd/api/types/task"
|
"github.com/containerd/containerd/api/types/task"
|
||||||
"github.com/containerd/containerd/errdefs"
|
"github.com/containerd/containerd/errdefs"
|
||||||
"github.com/containerd/containerd/namespaces"
|
"github.com/containerd/containerd/namespaces"
|
||||||
@ -43,8 +44,6 @@ import (
|
|||||||
"github.com/containerd/containerd/runtime/v2/runc"
|
"github.com/containerd/containerd/runtime/v2/runc"
|
||||||
"github.com/containerd/containerd/runtime/v2/runc/options"
|
"github.com/containerd/containerd/runtime/v2/runc/options"
|
||||||
"github.com/containerd/containerd/runtime/v2/shim"
|
"github.com/containerd/containerd/runtime/v2/shim"
|
||||||
shimapi "github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
taskAPI "github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
"github.com/containerd/containerd/sys/reaper"
|
"github.com/containerd/containerd/sys/reaper"
|
||||||
runcC "github.com/containerd/go-runc"
|
runcC "github.com/containerd/go-runc"
|
||||||
"github.com/containerd/ttrpc"
|
"github.com/containerd/ttrpc"
|
||||||
@ -147,7 +146,7 @@ func (s *service) Create(ctx context.Context, r *taskAPI.CreateTaskRequest) (_ *
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *service) RegisterTTRPC(server *ttrpc.Server) error {
|
func (s *service) RegisterTTRPC(server *ttrpc.Server) error {
|
||||||
shimapi.RegisterTaskService(server, s)
|
taskAPI.RegisterTaskService(server, s)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ import (
|
|||||||
|
|
||||||
"github.com/containerd/cgroups"
|
"github.com/containerd/cgroups"
|
||||||
eventstypes "github.com/containerd/containerd/api/events"
|
eventstypes "github.com/containerd/containerd/api/events"
|
||||||
|
taskAPI "github.com/containerd/containerd/api/runtime/task/v2"
|
||||||
"github.com/containerd/containerd/api/types/task"
|
"github.com/containerd/containerd/api/types/task"
|
||||||
"github.com/containerd/containerd/errdefs"
|
"github.com/containerd/containerd/errdefs"
|
||||||
"github.com/containerd/containerd/mount"
|
"github.com/containerd/containerd/mount"
|
||||||
@ -47,7 +48,6 @@ import (
|
|||||||
"github.com/containerd/containerd/runtime/v2/runc"
|
"github.com/containerd/containerd/runtime/v2/runc"
|
||||||
"github.com/containerd/containerd/runtime/v2/runc/options"
|
"github.com/containerd/containerd/runtime/v2/runc/options"
|
||||||
"github.com/containerd/containerd/runtime/v2/shim"
|
"github.com/containerd/containerd/runtime/v2/shim"
|
||||||
taskAPI "github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
"github.com/containerd/containerd/sys/reaper"
|
"github.com/containerd/containerd/sys/reaper"
|
||||||
runcC "github.com/containerd/go-runc"
|
runcC "github.com/containerd/go-runc"
|
||||||
"github.com/containerd/typeurl"
|
"github.com/containerd/typeurl"
|
||||||
|
@ -22,12 +22,12 @@ package v2
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
|
shimapi "github.com/containerd/containerd/api/runtime/task/v2"
|
||||||
"github.com/containerd/containerd/pkg/shutdown"
|
"github.com/containerd/containerd/pkg/shutdown"
|
||||||
"github.com/containerd/containerd/protobuf"
|
"github.com/containerd/containerd/protobuf"
|
||||||
"github.com/containerd/containerd/runtime/v2/runc/manager"
|
"github.com/containerd/containerd/runtime/v2/runc/manager"
|
||||||
"github.com/containerd/containerd/runtime/v2/runc/task"
|
"github.com/containerd/containerd/runtime/v2/runc/task"
|
||||||
"github.com/containerd/containerd/runtime/v2/shim"
|
"github.com/containerd/containerd/runtime/v2/shim"
|
||||||
shimapi "github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO(2.0): Remove this package
|
// TODO(2.0): Remove this package
|
||||||
|
@ -26,6 +26,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
eventstypes "github.com/containerd/containerd/api/events"
|
eventstypes "github.com/containerd/containerd/api/events"
|
||||||
|
"github.com/containerd/containerd/api/runtime/task/v2"
|
||||||
"github.com/containerd/containerd/api/types"
|
"github.com/containerd/containerd/api/types"
|
||||||
"github.com/containerd/containerd/errdefs"
|
"github.com/containerd/containerd/errdefs"
|
||||||
"github.com/containerd/containerd/events/exchange"
|
"github.com/containerd/containerd/events/exchange"
|
||||||
@ -37,7 +38,6 @@ import (
|
|||||||
ptypes "github.com/containerd/containerd/protobuf/types"
|
ptypes "github.com/containerd/containerd/protobuf/types"
|
||||||
"github.com/containerd/containerd/runtime"
|
"github.com/containerd/containerd/runtime"
|
||||||
client "github.com/containerd/containerd/runtime/v2/shim"
|
client "github.com/containerd/containerd/runtime/v2/shim"
|
||||||
"github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
"github.com/containerd/ttrpc"
|
"github.com/containerd/ttrpc"
|
||||||
"github.com/hashicorp/go-multierror"
|
"github.com/hashicorp/go-multierror"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
|
@ -29,6 +29,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
shimapi "github.com/containerd/containerd/api/runtime/task/v2"
|
||||||
"github.com/containerd/containerd/events"
|
"github.com/containerd/containerd/events"
|
||||||
"github.com/containerd/containerd/log"
|
"github.com/containerd/containerd/log"
|
||||||
"github.com/containerd/containerd/namespaces"
|
"github.com/containerd/containerd/namespaces"
|
||||||
@ -36,7 +37,6 @@ import (
|
|||||||
"github.com/containerd/containerd/plugin"
|
"github.com/containerd/containerd/plugin"
|
||||||
"github.com/containerd/containerd/protobuf"
|
"github.com/containerd/containerd/protobuf"
|
||||||
"github.com/containerd/containerd/protobuf/proto"
|
"github.com/containerd/containerd/protobuf/proto"
|
||||||
shimapi "github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
"github.com/containerd/containerd/version"
|
"github.com/containerd/containerd/version"
|
||||||
"github.com/containerd/ttrpc"
|
"github.com/containerd/ttrpc"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
|
@ -20,6 +20,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
|
runtimeAPI "github.com/containerd/containerd/api/runtime/sandbox/v1"
|
||||||
api "github.com/containerd/containerd/api/services/sandbox/v1"
|
api "github.com/containerd/containerd/api/services/sandbox/v1"
|
||||||
"github.com/containerd/containerd/errdefs"
|
"github.com/containerd/containerd/errdefs"
|
||||||
"github.com/containerd/containerd/events"
|
"github.com/containerd/containerd/events"
|
||||||
@ -28,8 +29,6 @@ import (
|
|||||||
"github.com/containerd/containerd/plugin"
|
"github.com/containerd/containerd/plugin"
|
||||||
"github.com/containerd/containerd/runtime"
|
"github.com/containerd/containerd/runtime"
|
||||||
v2 "github.com/containerd/containerd/runtime/v2"
|
v2 "github.com/containerd/containerd/runtime/v2"
|
||||||
"github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
proto "github.com/containerd/containerd/runtime/v2/task"
|
|
||||||
"github.com/containerd/containerd/sandbox"
|
"github.com/containerd/containerd/sandbox"
|
||||||
"github.com/containerd/containerd/services"
|
"github.com/containerd/containerd/services"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
@ -105,9 +104,9 @@ func (c *controllerLocal) Start(ctx context.Context, in *api.ControllerStartRequ
|
|||||||
return nil, fmt.Errorf("failed to start new sandbox: %w", err)
|
return nil, fmt.Errorf("failed to start new sandbox: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
svc := task.NewSandboxClient(shim.Client())
|
svc := runtimeAPI.NewSandboxClient(shim.Client())
|
||||||
|
|
||||||
resp, err := svc.StartSandbox(ctx, &proto.StartSandboxRequest{
|
resp, err := svc.StartSandbox(ctx, &runtimeAPI.StartSandboxRequest{
|
||||||
SandboxID: in.SandboxID,
|
SandboxID: in.SandboxID,
|
||||||
BundlePath: shim.Bundle(),
|
BundlePath: shim.Bundle(),
|
||||||
Rootfs: in.Rootfs,
|
Rootfs: in.Rootfs,
|
||||||
@ -130,7 +129,7 @@ func (c *controllerLocal) Shutdown(ctx context.Context, in *api.ControllerShutdo
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if _, err := svc.StopSandbox(ctx, &proto.StopSandboxRequest{
|
if _, err := svc.StopSandbox(ctx, &runtimeAPI.StopSandboxRequest{
|
||||||
SandboxID: in.SandboxID,
|
SandboxID: in.SandboxID,
|
||||||
TimeoutSecs: in.TimeoutSecs,
|
TimeoutSecs: in.TimeoutSecs,
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
@ -150,7 +149,7 @@ func (c *controllerLocal) Wait(ctx context.Context, in *api.ControllerWaitReques
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
resp, err := svc.WaitSandbox(ctx, &proto.WaitSandboxRequest{
|
resp, err := svc.WaitSandbox(ctx, &runtimeAPI.WaitSandboxRequest{
|
||||||
SandboxID: in.SandboxID,
|
SandboxID: in.SandboxID,
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -170,7 +169,7 @@ func (c *controllerLocal) Status(ctx context.Context, in *api.ControllerStatusRe
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
resp, err := svc.SandboxStatus(ctx, &proto.SandboxStatusRequest{SandboxID: in.SandboxID})
|
resp, err := svc.SandboxStatus(ctx, &runtimeAPI.SandboxStatusRequest{SandboxID: in.SandboxID})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("failed to query sandbox %s status: %w", in.SandboxID, err)
|
return nil, fmt.Errorf("failed to query sandbox %s status: %w", in.SandboxID, err)
|
||||||
}
|
}
|
||||||
@ -185,12 +184,12 @@ func (c *controllerLocal) Status(ctx context.Context, in *api.ControllerStatusRe
|
|||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *controllerLocal) getSandbox(ctx context.Context, id string) (task.SandboxService, error) {
|
func (c *controllerLocal) getSandbox(ctx context.Context, id string) (runtimeAPI.SandboxService, error) {
|
||||||
shim, err := c.shims.Get(ctx, id)
|
shim, err := c.shims.Get(ctx, id)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errdefs.ErrNotFound
|
return nil, errdefs.ErrNotFound
|
||||||
}
|
}
|
||||||
|
|
||||||
svc := task.NewSandboxClient(shim.Client())
|
svc := runtimeAPI.NewSandboxClient(shim.Client())
|
||||||
return svc, nil
|
return svc, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user