Keep shim API backward compatible

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko 2022-04-19 18:46:02 -07:00
parent e2fd25f3d8
commit bd90ce043b
3 changed files with 155 additions and 155 deletions

View File

@ -1221,7 +1221,7 @@ file {
} }
file { file {
name: "github.com/containerd/containerd/api/runtime/task/v2/shim.proto" name: "github.com/containerd/containerd/api/runtime/task/v2/shim.proto"
package: "containerd.runtime.task.v2" package: "containerd.task.v2"
dependency: "google/protobuf/any.proto" dependency: "google/protobuf/any.proto"
dependency: "google/protobuf/empty.proto" dependency: "google/protobuf/empty.proto"
dependency: "gogoproto/gogo.proto" dependency: "gogoproto/gogo.proto"
@ -1664,7 +1664,7 @@ file {
number: 3 number: 3
label: LABEL_REPEATED label: LABEL_REPEATED
type: TYPE_MESSAGE type: TYPE_MESSAGE
type_name: ".containerd.runtime.task.v2.UpdateTaskRequest.AnnotationsEntry" type_name: ".containerd.task.v2.UpdateTaskRequest.AnnotationsEntry"
json_name: "annotations" json_name: "annotations"
} }
nested_type { nested_type {
@ -1846,87 +1846,87 @@ file {
name: "Task" name: "Task"
method { method {
name: "State" name: "State"
input_type: ".containerd.runtime.task.v2.StateRequest" input_type: ".containerd.task.v2.StateRequest"
output_type: ".containerd.runtime.task.v2.StateResponse" output_type: ".containerd.task.v2.StateResponse"
} }
method { method {
name: "Create" name: "Create"
input_type: ".containerd.runtime.task.v2.CreateTaskRequest" input_type: ".containerd.task.v2.CreateTaskRequest"
output_type: ".containerd.runtime.task.v2.CreateTaskResponse" output_type: ".containerd.task.v2.CreateTaskResponse"
} }
method { method {
name: "Start" name: "Start"
input_type: ".containerd.runtime.task.v2.StartRequest" input_type: ".containerd.task.v2.StartRequest"
output_type: ".containerd.runtime.task.v2.StartResponse" output_type: ".containerd.task.v2.StartResponse"
} }
method { method {
name: "Delete" name: "Delete"
input_type: ".containerd.runtime.task.v2.DeleteRequest" input_type: ".containerd.task.v2.DeleteRequest"
output_type: ".containerd.runtime.task.v2.DeleteResponse" output_type: ".containerd.task.v2.DeleteResponse"
} }
method { method {
name: "Pids" name: "Pids"
input_type: ".containerd.runtime.task.v2.PidsRequest" input_type: ".containerd.task.v2.PidsRequest"
output_type: ".containerd.runtime.task.v2.PidsResponse" output_type: ".containerd.task.v2.PidsResponse"
} }
method { method {
name: "Pause" name: "Pause"
input_type: ".containerd.runtime.task.v2.PauseRequest" input_type: ".containerd.task.v2.PauseRequest"
output_type: ".google.protobuf.Empty" output_type: ".google.protobuf.Empty"
} }
method { method {
name: "Resume" name: "Resume"
input_type: ".containerd.runtime.task.v2.ResumeRequest" input_type: ".containerd.task.v2.ResumeRequest"
output_type: ".google.protobuf.Empty" output_type: ".google.protobuf.Empty"
} }
method { method {
name: "Checkpoint" name: "Checkpoint"
input_type: ".containerd.runtime.task.v2.CheckpointTaskRequest" input_type: ".containerd.task.v2.CheckpointTaskRequest"
output_type: ".google.protobuf.Empty" output_type: ".google.protobuf.Empty"
} }
method { method {
name: "Kill" name: "Kill"
input_type: ".containerd.runtime.task.v2.KillRequest" input_type: ".containerd.task.v2.KillRequest"
output_type: ".google.protobuf.Empty" output_type: ".google.protobuf.Empty"
} }
method { method {
name: "Exec" name: "Exec"
input_type: ".containerd.runtime.task.v2.ExecProcessRequest" input_type: ".containerd.task.v2.ExecProcessRequest"
output_type: ".google.protobuf.Empty" output_type: ".google.protobuf.Empty"
} }
method { method {
name: "ResizePty" name: "ResizePty"
input_type: ".containerd.runtime.task.v2.ResizePtyRequest" input_type: ".containerd.task.v2.ResizePtyRequest"
output_type: ".google.protobuf.Empty" output_type: ".google.protobuf.Empty"
} }
method { method {
name: "CloseIO" name: "CloseIO"
input_type: ".containerd.runtime.task.v2.CloseIORequest" input_type: ".containerd.task.v2.CloseIORequest"
output_type: ".google.protobuf.Empty" output_type: ".google.protobuf.Empty"
} }
method { method {
name: "Update" name: "Update"
input_type: ".containerd.runtime.task.v2.UpdateTaskRequest" input_type: ".containerd.task.v2.UpdateTaskRequest"
output_type: ".google.protobuf.Empty" output_type: ".google.protobuf.Empty"
} }
method { method {
name: "Wait" name: "Wait"
input_type: ".containerd.runtime.task.v2.WaitRequest" input_type: ".containerd.task.v2.WaitRequest"
output_type: ".containerd.runtime.task.v2.WaitResponse" output_type: ".containerd.task.v2.WaitResponse"
} }
method { method {
name: "Stats" name: "Stats"
input_type: ".containerd.runtime.task.v2.StatsRequest" input_type: ".containerd.task.v2.StatsRequest"
output_type: ".containerd.runtime.task.v2.StatsResponse" output_type: ".containerd.task.v2.StatsResponse"
} }
method { method {
name: "Connect" name: "Connect"
input_type: ".containerd.runtime.task.v2.ConnectRequest" input_type: ".containerd.task.v2.ConnectRequest"
output_type: ".containerd.runtime.task.v2.ConnectResponse" output_type: ".containerd.task.v2.ConnectResponse"
} }
method { method {
name: "Shutdown" name: "Shutdown"
input_type: ".containerd.runtime.task.v2.ShutdownRequest" input_type: ".containerd.task.v2.ShutdownRequest"
output_type: ".google.protobuf.Empty" output_type: ".google.protobuf.Empty"
} }
} }

View File

@ -1092,33 +1092,33 @@ func (m *ResumeRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ResumeRequest proto.InternalMessageInfo var xxx_messageInfo_ResumeRequest proto.InternalMessageInfo
func init() { func init() {
proto.RegisterType((*CreateTaskRequest)(nil), "containerd.runtime.task.v2.CreateTaskRequest") proto.RegisterType((*CreateTaskRequest)(nil), "containerd.task.v2.CreateTaskRequest")
proto.RegisterType((*CreateTaskResponse)(nil), "containerd.runtime.task.v2.CreateTaskResponse") proto.RegisterType((*CreateTaskResponse)(nil), "containerd.task.v2.CreateTaskResponse")
proto.RegisterType((*DeleteRequest)(nil), "containerd.runtime.task.v2.DeleteRequest") proto.RegisterType((*DeleteRequest)(nil), "containerd.task.v2.DeleteRequest")
proto.RegisterType((*DeleteResponse)(nil), "containerd.runtime.task.v2.DeleteResponse") proto.RegisterType((*DeleteResponse)(nil), "containerd.task.v2.DeleteResponse")
proto.RegisterType((*ExecProcessRequest)(nil), "containerd.runtime.task.v2.ExecProcessRequest") proto.RegisterType((*ExecProcessRequest)(nil), "containerd.task.v2.ExecProcessRequest")
proto.RegisterType((*ExecProcessResponse)(nil), "containerd.runtime.task.v2.ExecProcessResponse") proto.RegisterType((*ExecProcessResponse)(nil), "containerd.task.v2.ExecProcessResponse")
proto.RegisterType((*ResizePtyRequest)(nil), "containerd.runtime.task.v2.ResizePtyRequest") proto.RegisterType((*ResizePtyRequest)(nil), "containerd.task.v2.ResizePtyRequest")
proto.RegisterType((*StateRequest)(nil), "containerd.runtime.task.v2.StateRequest") proto.RegisterType((*StateRequest)(nil), "containerd.task.v2.StateRequest")
proto.RegisterType((*StateResponse)(nil), "containerd.runtime.task.v2.StateResponse") proto.RegisterType((*StateResponse)(nil), "containerd.task.v2.StateResponse")
proto.RegisterType((*KillRequest)(nil), "containerd.runtime.task.v2.KillRequest") proto.RegisterType((*KillRequest)(nil), "containerd.task.v2.KillRequest")
proto.RegisterType((*CloseIORequest)(nil), "containerd.runtime.task.v2.CloseIORequest") proto.RegisterType((*CloseIORequest)(nil), "containerd.task.v2.CloseIORequest")
proto.RegisterType((*PidsRequest)(nil), "containerd.runtime.task.v2.PidsRequest") proto.RegisterType((*PidsRequest)(nil), "containerd.task.v2.PidsRequest")
proto.RegisterType((*PidsResponse)(nil), "containerd.runtime.task.v2.PidsResponse") proto.RegisterType((*PidsResponse)(nil), "containerd.task.v2.PidsResponse")
proto.RegisterType((*CheckpointTaskRequest)(nil), "containerd.runtime.task.v2.CheckpointTaskRequest") proto.RegisterType((*CheckpointTaskRequest)(nil), "containerd.task.v2.CheckpointTaskRequest")
proto.RegisterType((*UpdateTaskRequest)(nil), "containerd.runtime.task.v2.UpdateTaskRequest") proto.RegisterType((*UpdateTaskRequest)(nil), "containerd.task.v2.UpdateTaskRequest")
proto.RegisterMapType((map[string]string)(nil), "containerd.runtime.task.v2.UpdateTaskRequest.AnnotationsEntry") proto.RegisterMapType((map[string]string)(nil), "containerd.task.v2.UpdateTaskRequest.AnnotationsEntry")
proto.RegisterType((*StartRequest)(nil), "containerd.runtime.task.v2.StartRequest") proto.RegisterType((*StartRequest)(nil), "containerd.task.v2.StartRequest")
proto.RegisterType((*StartResponse)(nil), "containerd.runtime.task.v2.StartResponse") proto.RegisterType((*StartResponse)(nil), "containerd.task.v2.StartResponse")
proto.RegisterType((*WaitRequest)(nil), "containerd.runtime.task.v2.WaitRequest") proto.RegisterType((*WaitRequest)(nil), "containerd.task.v2.WaitRequest")
proto.RegisterType((*WaitResponse)(nil), "containerd.runtime.task.v2.WaitResponse") proto.RegisterType((*WaitResponse)(nil), "containerd.task.v2.WaitResponse")
proto.RegisterType((*StatsRequest)(nil), "containerd.runtime.task.v2.StatsRequest") proto.RegisterType((*StatsRequest)(nil), "containerd.task.v2.StatsRequest")
proto.RegisterType((*StatsResponse)(nil), "containerd.runtime.task.v2.StatsResponse") proto.RegisterType((*StatsResponse)(nil), "containerd.task.v2.StatsResponse")
proto.RegisterType((*ConnectRequest)(nil), "containerd.runtime.task.v2.ConnectRequest") proto.RegisterType((*ConnectRequest)(nil), "containerd.task.v2.ConnectRequest")
proto.RegisterType((*ConnectResponse)(nil), "containerd.runtime.task.v2.ConnectResponse") proto.RegisterType((*ConnectResponse)(nil), "containerd.task.v2.ConnectResponse")
proto.RegisterType((*ShutdownRequest)(nil), "containerd.runtime.task.v2.ShutdownRequest") proto.RegisterType((*ShutdownRequest)(nil), "containerd.task.v2.ShutdownRequest")
proto.RegisterType((*PauseRequest)(nil), "containerd.runtime.task.v2.PauseRequest") proto.RegisterType((*PauseRequest)(nil), "containerd.task.v2.PauseRequest")
proto.RegisterType((*ResumeRequest)(nil), "containerd.runtime.task.v2.ResumeRequest") proto.RegisterType((*ResumeRequest)(nil), "containerd.task.v2.ResumeRequest")
} }
func init() { func init() {
@ -1126,88 +1126,88 @@ func init() {
} }
var fileDescriptor_776a86a4acdacc3f = []byte{ var fileDescriptor_776a86a4acdacc3f = []byte{
// 1294 bytes of a gzipped FileDescriptorProto // 1290 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x8f, 0xd3, 0x46, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4d, 0x6f, 0xdb, 0x46,
0x10, 0xc7, 0x49, 0xce, 0x49, 0x26, 0xe4, 0x38, 0xb6, 0x07, 0x35, 0x46, 0xca, 0x5d, 0x5d, 0x15, 0x13, 0x0e, 0xf5, 0x41, 0x49, 0xa3, 0xc8, 0x71, 0xf6, 0x75, 0xf2, 0x32, 0x0a, 0x20, 0x2b, 0x4c,
0x52, 0x68, 0x1d, 0x11, 0xa4, 0x7e, 0x80, 0x44, 0x05, 0x07, 0xaa, 0x52, 0x0a, 0x5c, 0x0d, 0x15, 0x93, 0xaa, 0x2d, 0x40, 0xa1, 0x0a, 0x90, 0xb6, 0x09, 0x90, 0xc0, 0x71, 0xdc, 0x40, 0x4d, 0x5a,
0xa2, 0xaa, 0x94, 0xfa, 0xe2, 0x25, 0xb1, 0x2e, 0xf1, 0xba, 0xde, 0xf5, 0x41, 0xaa, 0x56, 0x6a, 0x1b, 0x74, 0x8a, 0x14, 0xbd, 0x18, 0xb4, 0xb8, 0x96, 0x08, 0x4b, 0x5c, 0x96, 0xbb, 0xb4, 0xad,
0xff, 0x3b, 0x1e, 0xab, 0xf6, 0xa5, 0x2f, 0x45, 0x25, 0x2f, 0xfd, 0x37, 0xaa, 0xfd, 0xc8, 0xc5, 0xa2, 0x05, 0x7a, 0xee, 0x2f, 0xcb, 0xb1, 0x40, 0x2f, 0xbd, 0x34, 0x68, 0x74, 0xe9, 0x6f, 0xe8,
0x49, 0xb0, 0x9d, 0xab, 0xf2, 0x74, 0x3b, 0xde, 0xdf, 0xce, 0xec, 0xcc, 0xfe, 0xe6, 0x23, 0x07, 0xad, 0xd8, 0x0f, 0x59, 0x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00, 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) {
@ -3462,7 +3462,7 @@ type TaskService interface {
} }
func RegisterTaskService(srv *github_com_containerd_ttrpc.Server, svc TaskService) { func RegisterTaskService(srv *github_com_containerd_ttrpc.Server, svc TaskService) {
srv.Register("containerd.runtime.task.v2.Task", map[string]github_com_containerd_ttrpc.Method{ srv.Register("containerd.task.v2.Task", map[string]github_com_containerd_ttrpc.Method{
"State": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) { "State": func(ctx context.Context, unmarshal func(interface{}) error) (interface{}, error) {
var req StateRequest var req StateRequest
if err := unmarshal(&req); err != nil { if err := unmarshal(&req); err != nil {
@ -3597,7 +3597,7 @@ func NewTaskClient(client *github_com_containerd_ttrpc.Client) TaskService {
func (c *taskClient) State(ctx context.Context, req *StateRequest) (*StateResponse, error) { func (c *taskClient) State(ctx context.Context, req *StateRequest) (*StateResponse, error) {
var resp StateResponse var resp StateResponse
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "State", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "State", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3605,7 +3605,7 @@ func (c *taskClient) State(ctx context.Context, req *StateRequest) (*StateRespon
func (c *taskClient) Create(ctx context.Context, req *CreateTaskRequest) (*CreateTaskResponse, error) { func (c *taskClient) Create(ctx context.Context, req *CreateTaskRequest) (*CreateTaskResponse, error) {
var resp CreateTaskResponse var resp CreateTaskResponse
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Create", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Create", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3613,7 +3613,7 @@ func (c *taskClient) Create(ctx context.Context, req *CreateTaskRequest) (*Creat
func (c *taskClient) Start(ctx context.Context, req *StartRequest) (*StartResponse, error) { func (c *taskClient) Start(ctx context.Context, req *StartRequest) (*StartResponse, error) {
var resp StartResponse var resp StartResponse
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Start", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Start", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3621,7 +3621,7 @@ func (c *taskClient) Start(ctx context.Context, req *StartRequest) (*StartRespon
func (c *taskClient) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error) { func (c *taskClient) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error) {
var resp DeleteResponse var resp DeleteResponse
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Delete", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Delete", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3629,7 +3629,7 @@ func (c *taskClient) Delete(ctx context.Context, req *DeleteRequest) (*DeleteRes
func (c *taskClient) Pids(ctx context.Context, req *PidsRequest) (*PidsResponse, error) { func (c *taskClient) Pids(ctx context.Context, req *PidsRequest) (*PidsResponse, error) {
var resp PidsResponse var resp PidsResponse
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Pids", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Pids", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3637,7 +3637,7 @@ func (c *taskClient) Pids(ctx context.Context, req *PidsRequest) (*PidsResponse,
func (c *taskClient) Pause(ctx context.Context, req *PauseRequest) (*types1.Empty, error) { func (c *taskClient) Pause(ctx context.Context, req *PauseRequest) (*types1.Empty, error) {
var resp types1.Empty var resp types1.Empty
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Pause", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Pause", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3645,7 +3645,7 @@ func (c *taskClient) Pause(ctx context.Context, req *PauseRequest) (*types1.Empt
func (c *taskClient) Resume(ctx context.Context, req *ResumeRequest) (*types1.Empty, error) { func (c *taskClient) Resume(ctx context.Context, req *ResumeRequest) (*types1.Empty, error) {
var resp types1.Empty var resp types1.Empty
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Resume", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Resume", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3653,7 +3653,7 @@ func (c *taskClient) Resume(ctx context.Context, req *ResumeRequest) (*types1.Em
func (c *taskClient) Checkpoint(ctx context.Context, req *CheckpointTaskRequest) (*types1.Empty, error) { func (c *taskClient) Checkpoint(ctx context.Context, req *CheckpointTaskRequest) (*types1.Empty, error) {
var resp types1.Empty var resp types1.Empty
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Checkpoint", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Checkpoint", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3661,7 +3661,7 @@ func (c *taskClient) Checkpoint(ctx context.Context, req *CheckpointTaskRequest)
func (c *taskClient) Kill(ctx context.Context, req *KillRequest) (*types1.Empty, error) { func (c *taskClient) Kill(ctx context.Context, req *KillRequest) (*types1.Empty, error) {
var resp types1.Empty var resp types1.Empty
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Kill", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Kill", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3669,7 +3669,7 @@ func (c *taskClient) Kill(ctx context.Context, req *KillRequest) (*types1.Empty,
func (c *taskClient) Exec(ctx context.Context, req *ExecProcessRequest) (*types1.Empty, error) { func (c *taskClient) Exec(ctx context.Context, req *ExecProcessRequest) (*types1.Empty, error) {
var resp types1.Empty var resp types1.Empty
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Exec", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Exec", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3677,7 +3677,7 @@ func (c *taskClient) Exec(ctx context.Context, req *ExecProcessRequest) (*types1
func (c *taskClient) ResizePty(ctx context.Context, req *ResizePtyRequest) (*types1.Empty, error) { func (c *taskClient) ResizePty(ctx context.Context, req *ResizePtyRequest) (*types1.Empty, error) {
var resp types1.Empty var resp types1.Empty
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "ResizePty", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "ResizePty", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3685,7 +3685,7 @@ func (c *taskClient) ResizePty(ctx context.Context, req *ResizePtyRequest) (*typ
func (c *taskClient) CloseIO(ctx context.Context, req *CloseIORequest) (*types1.Empty, error) { func (c *taskClient) CloseIO(ctx context.Context, req *CloseIORequest) (*types1.Empty, error) {
var resp types1.Empty var resp types1.Empty
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "CloseIO", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "CloseIO", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3693,7 +3693,7 @@ func (c *taskClient) CloseIO(ctx context.Context, req *CloseIORequest) (*types1.
func (c *taskClient) Update(ctx context.Context, req *UpdateTaskRequest) (*types1.Empty, error) { func (c *taskClient) Update(ctx context.Context, req *UpdateTaskRequest) (*types1.Empty, error) {
var resp types1.Empty var resp types1.Empty
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Update", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Update", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3701,7 +3701,7 @@ func (c *taskClient) Update(ctx context.Context, req *UpdateTaskRequest) (*types
func (c *taskClient) Wait(ctx context.Context, req *WaitRequest) (*WaitResponse, error) { func (c *taskClient) Wait(ctx context.Context, req *WaitRequest) (*WaitResponse, error) {
var resp WaitResponse var resp WaitResponse
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Wait", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Wait", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3709,7 +3709,7 @@ func (c *taskClient) Wait(ctx context.Context, req *WaitRequest) (*WaitResponse,
func (c *taskClient) Stats(ctx context.Context, req *StatsRequest) (*StatsResponse, error) { func (c *taskClient) Stats(ctx context.Context, req *StatsRequest) (*StatsResponse, error) {
var resp StatsResponse var resp StatsResponse
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Stats", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Stats", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3717,7 +3717,7 @@ func (c *taskClient) Stats(ctx context.Context, req *StatsRequest) (*StatsRespon
func (c *taskClient) Connect(ctx context.Context, req *ConnectRequest) (*ConnectResponse, error) { func (c *taskClient) Connect(ctx context.Context, req *ConnectRequest) (*ConnectResponse, error) {
var resp ConnectResponse var resp ConnectResponse
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Connect", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Connect", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil
@ -3725,7 +3725,7 @@ func (c *taskClient) Connect(ctx context.Context, req *ConnectRequest) (*Connect
func (c *taskClient) Shutdown(ctx context.Context, req *ShutdownRequest) (*types1.Empty, error) { func (c *taskClient) Shutdown(ctx context.Context, req *ShutdownRequest) (*types1.Empty, error) {
var resp types1.Empty var resp types1.Empty
if err := c.client.Call(ctx, "containerd.runtime.task.v2.Task", "Shutdown", req, &resp); err != nil { if err := c.client.Call(ctx, "containerd.task.v2.Task", "Shutdown", req, &resp); err != nil {
return nil, err return nil, err
} }
return &resp, nil return &resp, nil

View File

@ -16,7 +16,7 @@
syntax = "proto3"; syntax = "proto3";
package containerd.runtime.task.v2; package containerd.task.v2;
import "google/protobuf/any.proto"; import "google/protobuf/any.proto";
import "google/protobuf/empty.proto"; import "google/protobuf/empty.proto";