github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/pkg/configuration/container/mocks/criclient_mocks.go (about)

     1  // /*
     2  // Copyright (C) 2022-2023 ApeCloud Co., Ltd
     3  //
     4  // This file is part of KubeBlocks project
     5  //
     6  // This program is free software: you can redistribute it and/or modify
     7  // it under the terms of the GNU Affero General Public License as published by
     8  // the Free Software Foundation, either version 3 of the License, or
     9  // (at your option) any later version.
    10  //
    11  // This program is distributed in the hope that it will be useful
    12  // but WITHOUT ANY WARRANTY; without even the implied warranty of
    13  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    14  // GNU Affero General Public License for more details.
    15  //
    16  // You should have received a copy of the GNU Affero General Public License
    17  // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    18  // */
    19  //
    20  //
    21  
    22  // Code generated by MockGen. DO NOT EDIT.
    23  // Source: k8s.io/cri-api/pkg/apis/runtime/v1 (interfaces: RuntimeServiceClient)
    24  
    25  // Package mocks is a generated GoMock package.
    26  package mocks
    27  
    28  import (
    29  	context "context"
    30  	reflect "reflect"
    31  
    32  	gomock "github.com/golang/mock/gomock"
    33  	grpc "google.golang.org/grpc"
    34  	v1 "k8s.io/cri-api/pkg/apis/runtime/v1"
    35  )
    36  
    37  // MockRuntimeServiceClient is a mock of RuntimeServiceClient interface.
    38  type MockRuntimeServiceClient struct {
    39  	ctrl     *gomock.Controller
    40  	recorder *MockRuntimeServiceClientMockRecorder
    41  }
    42  
    43  // MockRuntimeServiceClientMockRecorder is the mock recorder for MockRuntimeServiceClient.
    44  type MockRuntimeServiceClientMockRecorder struct {
    45  	mock *MockRuntimeServiceClient
    46  }
    47  
    48  // NewMockRuntimeServiceClient creates a new mock instance.
    49  func NewMockRuntimeServiceClient(ctrl *gomock.Controller) *MockRuntimeServiceClient {
    50  	mock := &MockRuntimeServiceClient{ctrl: ctrl}
    51  	mock.recorder = &MockRuntimeServiceClientMockRecorder{mock}
    52  	return mock
    53  }
    54  
    55  // EXPECT returns an object that allows the caller to indicate expected use.
    56  func (m *MockRuntimeServiceClient) EXPECT() *MockRuntimeServiceClientMockRecorder {
    57  	return m.recorder
    58  }
    59  
    60  // Attach mocks base method.
    61  func (m *MockRuntimeServiceClient) Attach(arg0 context.Context, arg1 *v1.AttachRequest, arg2 ...grpc.CallOption) (*v1.AttachResponse, error) {
    62  	m.ctrl.T.Helper()
    63  	varargs := []interface{}{arg0, arg1}
    64  	for _, a := range arg2 {
    65  		varargs = append(varargs, a)
    66  	}
    67  	ret := m.ctrl.Call(m, "Attach", varargs...)
    68  	ret0, _ := ret[0].(*v1.AttachResponse)
    69  	ret1, _ := ret[1].(error)
    70  	return ret0, ret1
    71  }
    72  
    73  // Attach indicates an expected call of Attach.
    74  func (mr *MockRuntimeServiceClientMockRecorder) Attach(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
    75  	mr.mock.ctrl.T.Helper()
    76  	varargs := append([]interface{}{arg0, arg1}, arg2...)
    77  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Attach", reflect.TypeOf((*MockRuntimeServiceClient)(nil).Attach), varargs...)
    78  }
    79  
    80  // CheckpointContainer mocks base method.
    81  func (m *MockRuntimeServiceClient) CheckpointContainer(arg0 context.Context, arg1 *v1.CheckpointContainerRequest, arg2 ...grpc.CallOption) (*v1.CheckpointContainerResponse, error) {
    82  	m.ctrl.T.Helper()
    83  	varargs := []interface{}{arg0, arg1}
    84  	for _, a := range arg2 {
    85  		varargs = append(varargs, a)
    86  	}
    87  	ret := m.ctrl.Call(m, "CheckpointContainer", varargs...)
    88  	ret0, _ := ret[0].(*v1.CheckpointContainerResponse)
    89  	ret1, _ := ret[1].(error)
    90  	return ret0, ret1
    91  }
    92  
    93  // CheckpointContainer indicates an expected call of CheckpointContainer.
    94  func (mr *MockRuntimeServiceClientMockRecorder) CheckpointContainer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
    95  	mr.mock.ctrl.T.Helper()
    96  	varargs := append([]interface{}{arg0, arg1}, arg2...)
    97  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckpointContainer", reflect.TypeOf((*MockRuntimeServiceClient)(nil).CheckpointContainer), varargs...)
    98  }
    99  
   100  // ContainerStats mocks base method.
   101  func (m *MockRuntimeServiceClient) ContainerStats(arg0 context.Context, arg1 *v1.ContainerStatsRequest, arg2 ...grpc.CallOption) (*v1.ContainerStatsResponse, error) {
   102  	m.ctrl.T.Helper()
   103  	varargs := []interface{}{arg0, arg1}
   104  	for _, a := range arg2 {
   105  		varargs = append(varargs, a)
   106  	}
   107  	ret := m.ctrl.Call(m, "ContainerStats", varargs...)
   108  	ret0, _ := ret[0].(*v1.ContainerStatsResponse)
   109  	ret1, _ := ret[1].(error)
   110  	return ret0, ret1
   111  }
   112  
   113  // ContainerStats indicates an expected call of ContainerStats.
   114  func (mr *MockRuntimeServiceClientMockRecorder) ContainerStats(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   115  	mr.mock.ctrl.T.Helper()
   116  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   117  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStats", reflect.TypeOf((*MockRuntimeServiceClient)(nil).ContainerStats), varargs...)
   118  }
   119  
   120  // ContainerStatus mocks base method.
   121  func (m *MockRuntimeServiceClient) ContainerStatus(arg0 context.Context, arg1 *v1.ContainerStatusRequest, arg2 ...grpc.CallOption) (*v1.ContainerStatusResponse, error) {
   122  	m.ctrl.T.Helper()
   123  	varargs := []interface{}{arg0, arg1}
   124  	for _, a := range arg2 {
   125  		varargs = append(varargs, a)
   126  	}
   127  	ret := m.ctrl.Call(m, "ContainerStatus", varargs...)
   128  	ret0, _ := ret[0].(*v1.ContainerStatusResponse)
   129  	ret1, _ := ret[1].(error)
   130  	return ret0, ret1
   131  }
   132  
   133  // ContainerStatus indicates an expected call of ContainerStatus.
   134  func (mr *MockRuntimeServiceClientMockRecorder) ContainerStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   135  	mr.mock.ctrl.T.Helper()
   136  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   137  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainerStatus", reflect.TypeOf((*MockRuntimeServiceClient)(nil).ContainerStatus), varargs...)
   138  }
   139  
   140  // CreateContainer mocks base method.
   141  func (m *MockRuntimeServiceClient) CreateContainer(arg0 context.Context, arg1 *v1.CreateContainerRequest, arg2 ...grpc.CallOption) (*v1.CreateContainerResponse, error) {
   142  	m.ctrl.T.Helper()
   143  	varargs := []interface{}{arg0, arg1}
   144  	for _, a := range arg2 {
   145  		varargs = append(varargs, a)
   146  	}
   147  	ret := m.ctrl.Call(m, "CreateContainer", varargs...)
   148  	ret0, _ := ret[0].(*v1.CreateContainerResponse)
   149  	ret1, _ := ret[1].(error)
   150  	return ret0, ret1
   151  }
   152  
   153  // CreateContainer indicates an expected call of CreateContainer.
   154  func (mr *MockRuntimeServiceClientMockRecorder) CreateContainer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   155  	mr.mock.ctrl.T.Helper()
   156  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   157  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateContainer", reflect.TypeOf((*MockRuntimeServiceClient)(nil).CreateContainer), varargs...)
   158  }
   159  
   160  // Exec mocks base method.
   161  func (m *MockRuntimeServiceClient) Exec(arg0 context.Context, arg1 *v1.ExecRequest, arg2 ...grpc.CallOption) (*v1.ExecResponse, error) {
   162  	m.ctrl.T.Helper()
   163  	varargs := []interface{}{arg0, arg1}
   164  	for _, a := range arg2 {
   165  		varargs = append(varargs, a)
   166  	}
   167  	ret := m.ctrl.Call(m, "Exec", varargs...)
   168  	ret0, _ := ret[0].(*v1.ExecResponse)
   169  	ret1, _ := ret[1].(error)
   170  	return ret0, ret1
   171  }
   172  
   173  // Exec indicates an expected call of Exec.
   174  func (mr *MockRuntimeServiceClientMockRecorder) Exec(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   175  	mr.mock.ctrl.T.Helper()
   176  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   177  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Exec", reflect.TypeOf((*MockRuntimeServiceClient)(nil).Exec), varargs...)
   178  }
   179  
   180  // ExecSync mocks base method.
   181  func (m *MockRuntimeServiceClient) ExecSync(arg0 context.Context, arg1 *v1.ExecSyncRequest, arg2 ...grpc.CallOption) (*v1.ExecSyncResponse, error) {
   182  	m.ctrl.T.Helper()
   183  	varargs := []interface{}{arg0, arg1}
   184  	for _, a := range arg2 {
   185  		varargs = append(varargs, a)
   186  	}
   187  	ret := m.ctrl.Call(m, "ExecSync", varargs...)
   188  	ret0, _ := ret[0].(*v1.ExecSyncResponse)
   189  	ret1, _ := ret[1].(error)
   190  	return ret0, ret1
   191  }
   192  
   193  // ExecSync indicates an expected call of ExecSync.
   194  func (mr *MockRuntimeServiceClientMockRecorder) ExecSync(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   195  	mr.mock.ctrl.T.Helper()
   196  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   197  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecSync", reflect.TypeOf((*MockRuntimeServiceClient)(nil).ExecSync), varargs...)
   198  }
   199  
   200  // GetContainerEvents mocks base method.
   201  func (m *MockRuntimeServiceClient) GetContainerEvents(arg0 context.Context, arg1 *v1.GetEventsRequest, arg2 ...grpc.CallOption) (v1.RuntimeService_GetContainerEventsClient, error) {
   202  	m.ctrl.T.Helper()
   203  	varargs := []interface{}{arg0, arg1}
   204  	for _, a := range arg2 {
   205  		varargs = append(varargs, a)
   206  	}
   207  	ret := m.ctrl.Call(m, "GetContainerEvents", varargs...)
   208  	ret0, _ := ret[0].(v1.RuntimeService_GetContainerEventsClient)
   209  	ret1, _ := ret[1].(error)
   210  	return ret0, ret1
   211  }
   212  
   213  // GetContainerEvents indicates an expected call of GetContainerEvents.
   214  func (mr *MockRuntimeServiceClientMockRecorder) GetContainerEvents(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   215  	mr.mock.ctrl.T.Helper()
   216  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   217  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetContainerEvents", reflect.TypeOf((*MockRuntimeServiceClient)(nil).GetContainerEvents), varargs...)
   218  }
   219  
   220  // ListContainerStats mocks base method.
   221  func (m *MockRuntimeServiceClient) ListContainerStats(arg0 context.Context, arg1 *v1.ListContainerStatsRequest, arg2 ...grpc.CallOption) (*v1.ListContainerStatsResponse, error) {
   222  	m.ctrl.T.Helper()
   223  	varargs := []interface{}{arg0, arg1}
   224  	for _, a := range arg2 {
   225  		varargs = append(varargs, a)
   226  	}
   227  	ret := m.ctrl.Call(m, "ListContainerStats", varargs...)
   228  	ret0, _ := ret[0].(*v1.ListContainerStatsResponse)
   229  	ret1, _ := ret[1].(error)
   230  	return ret0, ret1
   231  }
   232  
   233  // ListContainerStats indicates an expected call of ListContainerStats.
   234  func (mr *MockRuntimeServiceClientMockRecorder) ListContainerStats(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   235  	mr.mock.ctrl.T.Helper()
   236  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   237  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListContainerStats", reflect.TypeOf((*MockRuntimeServiceClient)(nil).ListContainerStats), varargs...)
   238  }
   239  
   240  // ListContainers mocks base method.
   241  func (m *MockRuntimeServiceClient) ListContainers(arg0 context.Context, arg1 *v1.ListContainersRequest, arg2 ...grpc.CallOption) (*v1.ListContainersResponse, error) {
   242  	m.ctrl.T.Helper()
   243  	varargs := []interface{}{arg0, arg1}
   244  	for _, a := range arg2 {
   245  		varargs = append(varargs, a)
   246  	}
   247  	ret := m.ctrl.Call(m, "ListContainers", varargs...)
   248  	ret0, _ := ret[0].(*v1.ListContainersResponse)
   249  	ret1, _ := ret[1].(error)
   250  	return ret0, ret1
   251  }
   252  
   253  // ListContainers indicates an expected call of ListContainers.
   254  func (mr *MockRuntimeServiceClientMockRecorder) ListContainers(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   255  	mr.mock.ctrl.T.Helper()
   256  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   257  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListContainers", reflect.TypeOf((*MockRuntimeServiceClient)(nil).ListContainers), varargs...)
   258  }
   259  
   260  // ListMetricDescriptors mocks base method.
   261  func (m *MockRuntimeServiceClient) ListMetricDescriptors(arg0 context.Context, arg1 *v1.ListMetricDescriptorsRequest, arg2 ...grpc.CallOption) (*v1.ListMetricDescriptorsResponse, error) {
   262  	m.ctrl.T.Helper()
   263  	varargs := []interface{}{arg0, arg1}
   264  	for _, a := range arg2 {
   265  		varargs = append(varargs, a)
   266  	}
   267  	ret := m.ctrl.Call(m, "ListMetricDescriptors", varargs...)
   268  	ret0, _ := ret[0].(*v1.ListMetricDescriptorsResponse)
   269  	ret1, _ := ret[1].(error)
   270  	return ret0, ret1
   271  }
   272  
   273  // ListMetricDescriptors indicates an expected call of ListMetricDescriptors.
   274  func (mr *MockRuntimeServiceClientMockRecorder) ListMetricDescriptors(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   275  	mr.mock.ctrl.T.Helper()
   276  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   277  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListMetricDescriptors", reflect.TypeOf((*MockRuntimeServiceClient)(nil).ListMetricDescriptors), varargs...)
   278  }
   279  
   280  // ListPodSandbox mocks base method.
   281  func (m *MockRuntimeServiceClient) ListPodSandbox(arg0 context.Context, arg1 *v1.ListPodSandboxRequest, arg2 ...grpc.CallOption) (*v1.ListPodSandboxResponse, error) {
   282  	m.ctrl.T.Helper()
   283  	varargs := []interface{}{arg0, arg1}
   284  	for _, a := range arg2 {
   285  		varargs = append(varargs, a)
   286  	}
   287  	ret := m.ctrl.Call(m, "ListPodSandbox", varargs...)
   288  	ret0, _ := ret[0].(*v1.ListPodSandboxResponse)
   289  	ret1, _ := ret[1].(error)
   290  	return ret0, ret1
   291  }
   292  
   293  // ListPodSandbox indicates an expected call of ListPodSandbox.
   294  func (mr *MockRuntimeServiceClientMockRecorder) ListPodSandbox(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   295  	mr.mock.ctrl.T.Helper()
   296  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   297  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPodSandbox", reflect.TypeOf((*MockRuntimeServiceClient)(nil).ListPodSandbox), varargs...)
   298  }
   299  
   300  // ListPodSandboxMetrics mocks base method.
   301  func (m *MockRuntimeServiceClient) ListPodSandboxMetrics(arg0 context.Context, arg1 *v1.ListPodSandboxMetricsRequest, arg2 ...grpc.CallOption) (*v1.ListPodSandboxMetricsResponse, error) {
   302  	m.ctrl.T.Helper()
   303  	varargs := []interface{}{arg0, arg1}
   304  	for _, a := range arg2 {
   305  		varargs = append(varargs, a)
   306  	}
   307  	ret := m.ctrl.Call(m, "ListPodSandboxMetrics", varargs...)
   308  	ret0, _ := ret[0].(*v1.ListPodSandboxMetricsResponse)
   309  	ret1, _ := ret[1].(error)
   310  	return ret0, ret1
   311  }
   312  
   313  // ListPodSandboxMetrics indicates an expected call of ListPodSandboxMetrics.
   314  func (mr *MockRuntimeServiceClientMockRecorder) ListPodSandboxMetrics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   315  	mr.mock.ctrl.T.Helper()
   316  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   317  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPodSandboxMetrics", reflect.TypeOf((*MockRuntimeServiceClient)(nil).ListPodSandboxMetrics), varargs...)
   318  }
   319  
   320  // ListPodSandboxStats mocks base method.
   321  func (m *MockRuntimeServiceClient) ListPodSandboxStats(arg0 context.Context, arg1 *v1.ListPodSandboxStatsRequest, arg2 ...grpc.CallOption) (*v1.ListPodSandboxStatsResponse, error) {
   322  	m.ctrl.T.Helper()
   323  	varargs := []interface{}{arg0, arg1}
   324  	for _, a := range arg2 {
   325  		varargs = append(varargs, a)
   326  	}
   327  	ret := m.ctrl.Call(m, "ListPodSandboxStats", varargs...)
   328  	ret0, _ := ret[0].(*v1.ListPodSandboxStatsResponse)
   329  	ret1, _ := ret[1].(error)
   330  	return ret0, ret1
   331  }
   332  
   333  // ListPodSandboxStats indicates an expected call of ListPodSandboxStats.
   334  func (mr *MockRuntimeServiceClientMockRecorder) ListPodSandboxStats(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   335  	mr.mock.ctrl.T.Helper()
   336  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   337  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPodSandboxStats", reflect.TypeOf((*MockRuntimeServiceClient)(nil).ListPodSandboxStats), varargs...)
   338  }
   339  
   340  // PodSandboxStats mocks base method.
   341  func (m *MockRuntimeServiceClient) PodSandboxStats(arg0 context.Context, arg1 *v1.PodSandboxStatsRequest, arg2 ...grpc.CallOption) (*v1.PodSandboxStatsResponse, error) {
   342  	m.ctrl.T.Helper()
   343  	varargs := []interface{}{arg0, arg1}
   344  	for _, a := range arg2 {
   345  		varargs = append(varargs, a)
   346  	}
   347  	ret := m.ctrl.Call(m, "PodSandboxStats", varargs...)
   348  	ret0, _ := ret[0].(*v1.PodSandboxStatsResponse)
   349  	ret1, _ := ret[1].(error)
   350  	return ret0, ret1
   351  }
   352  
   353  // PodSandboxStats indicates an expected call of PodSandboxStats.
   354  func (mr *MockRuntimeServiceClientMockRecorder) PodSandboxStats(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   355  	mr.mock.ctrl.T.Helper()
   356  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   357  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PodSandboxStats", reflect.TypeOf((*MockRuntimeServiceClient)(nil).PodSandboxStats), varargs...)
   358  }
   359  
   360  // PodSandboxStatus mocks base method.
   361  func (m *MockRuntimeServiceClient) PodSandboxStatus(arg0 context.Context, arg1 *v1.PodSandboxStatusRequest, arg2 ...grpc.CallOption) (*v1.PodSandboxStatusResponse, error) {
   362  	m.ctrl.T.Helper()
   363  	varargs := []interface{}{arg0, arg1}
   364  	for _, a := range arg2 {
   365  		varargs = append(varargs, a)
   366  	}
   367  	ret := m.ctrl.Call(m, "PodSandboxStatus", varargs...)
   368  	ret0, _ := ret[0].(*v1.PodSandboxStatusResponse)
   369  	ret1, _ := ret[1].(error)
   370  	return ret0, ret1
   371  }
   372  
   373  // PodSandboxStatus indicates an expected call of PodSandboxStatus.
   374  func (mr *MockRuntimeServiceClientMockRecorder) PodSandboxStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   375  	mr.mock.ctrl.T.Helper()
   376  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   377  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PodSandboxStatus", reflect.TypeOf((*MockRuntimeServiceClient)(nil).PodSandboxStatus), varargs...)
   378  }
   379  
   380  // PortForward mocks base method.
   381  func (m *MockRuntimeServiceClient) PortForward(arg0 context.Context, arg1 *v1.PortForwardRequest, arg2 ...grpc.CallOption) (*v1.PortForwardResponse, error) {
   382  	m.ctrl.T.Helper()
   383  	varargs := []interface{}{arg0, arg1}
   384  	for _, a := range arg2 {
   385  		varargs = append(varargs, a)
   386  	}
   387  	ret := m.ctrl.Call(m, "PortForward", varargs...)
   388  	ret0, _ := ret[0].(*v1.PortForwardResponse)
   389  	ret1, _ := ret[1].(error)
   390  	return ret0, ret1
   391  }
   392  
   393  // PortForward indicates an expected call of PortForward.
   394  func (mr *MockRuntimeServiceClientMockRecorder) PortForward(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   395  	mr.mock.ctrl.T.Helper()
   396  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   397  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortForward", reflect.TypeOf((*MockRuntimeServiceClient)(nil).PortForward), varargs...)
   398  }
   399  
   400  // RemoveContainer mocks base method.
   401  func (m *MockRuntimeServiceClient) RemoveContainer(arg0 context.Context, arg1 *v1.RemoveContainerRequest, arg2 ...grpc.CallOption) (*v1.RemoveContainerResponse, error) {
   402  	m.ctrl.T.Helper()
   403  	varargs := []interface{}{arg0, arg1}
   404  	for _, a := range arg2 {
   405  		varargs = append(varargs, a)
   406  	}
   407  	ret := m.ctrl.Call(m, "RemoveContainer", varargs...)
   408  	ret0, _ := ret[0].(*v1.RemoveContainerResponse)
   409  	ret1, _ := ret[1].(error)
   410  	return ret0, ret1
   411  }
   412  
   413  // RemoveContainer indicates an expected call of RemoveContainer.
   414  func (mr *MockRuntimeServiceClientMockRecorder) RemoveContainer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   415  	mr.mock.ctrl.T.Helper()
   416  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   417  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveContainer", reflect.TypeOf((*MockRuntimeServiceClient)(nil).RemoveContainer), varargs...)
   418  }
   419  
   420  // RemovePodSandbox mocks base method.
   421  func (m *MockRuntimeServiceClient) RemovePodSandbox(arg0 context.Context, arg1 *v1.RemovePodSandboxRequest, arg2 ...grpc.CallOption) (*v1.RemovePodSandboxResponse, error) {
   422  	m.ctrl.T.Helper()
   423  	varargs := []interface{}{arg0, arg1}
   424  	for _, a := range arg2 {
   425  		varargs = append(varargs, a)
   426  	}
   427  	ret := m.ctrl.Call(m, "RemovePodSandbox", varargs...)
   428  	ret0, _ := ret[0].(*v1.RemovePodSandboxResponse)
   429  	ret1, _ := ret[1].(error)
   430  	return ret0, ret1
   431  }
   432  
   433  // RemovePodSandbox indicates an expected call of RemovePodSandbox.
   434  func (mr *MockRuntimeServiceClientMockRecorder) RemovePodSandbox(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   435  	mr.mock.ctrl.T.Helper()
   436  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   437  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemovePodSandbox", reflect.TypeOf((*MockRuntimeServiceClient)(nil).RemovePodSandbox), varargs...)
   438  }
   439  
   440  // ReopenContainerLog mocks base method.
   441  func (m *MockRuntimeServiceClient) ReopenContainerLog(arg0 context.Context, arg1 *v1.ReopenContainerLogRequest, arg2 ...grpc.CallOption) (*v1.ReopenContainerLogResponse, error) {
   442  	m.ctrl.T.Helper()
   443  	varargs := []interface{}{arg0, arg1}
   444  	for _, a := range arg2 {
   445  		varargs = append(varargs, a)
   446  	}
   447  	ret := m.ctrl.Call(m, "ReopenContainerLog", varargs...)
   448  	ret0, _ := ret[0].(*v1.ReopenContainerLogResponse)
   449  	ret1, _ := ret[1].(error)
   450  	return ret0, ret1
   451  }
   452  
   453  // ReopenContainerLog indicates an expected call of ReopenContainerLog.
   454  func (mr *MockRuntimeServiceClientMockRecorder) ReopenContainerLog(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   455  	mr.mock.ctrl.T.Helper()
   456  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   457  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReopenContainerLog", reflect.TypeOf((*MockRuntimeServiceClient)(nil).ReopenContainerLog), varargs...)
   458  }
   459  
   460  // RunPodSandbox mocks base method.
   461  func (m *MockRuntimeServiceClient) RunPodSandbox(arg0 context.Context, arg1 *v1.RunPodSandboxRequest, arg2 ...grpc.CallOption) (*v1.RunPodSandboxResponse, error) {
   462  	m.ctrl.T.Helper()
   463  	varargs := []interface{}{arg0, arg1}
   464  	for _, a := range arg2 {
   465  		varargs = append(varargs, a)
   466  	}
   467  	ret := m.ctrl.Call(m, "RunPodSandbox", varargs...)
   468  	ret0, _ := ret[0].(*v1.RunPodSandboxResponse)
   469  	ret1, _ := ret[1].(error)
   470  	return ret0, ret1
   471  }
   472  
   473  // RunPodSandbox indicates an expected call of RunPodSandbox.
   474  func (mr *MockRuntimeServiceClientMockRecorder) RunPodSandbox(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   475  	mr.mock.ctrl.T.Helper()
   476  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   477  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RunPodSandbox", reflect.TypeOf((*MockRuntimeServiceClient)(nil).RunPodSandbox), varargs...)
   478  }
   479  
   480  // StartContainer mocks base method.
   481  func (m *MockRuntimeServiceClient) StartContainer(arg0 context.Context, arg1 *v1.StartContainerRequest, arg2 ...grpc.CallOption) (*v1.StartContainerResponse, error) {
   482  	m.ctrl.T.Helper()
   483  	varargs := []interface{}{arg0, arg1}
   484  	for _, a := range arg2 {
   485  		varargs = append(varargs, a)
   486  	}
   487  	ret := m.ctrl.Call(m, "StartContainer", varargs...)
   488  	ret0, _ := ret[0].(*v1.StartContainerResponse)
   489  	ret1, _ := ret[1].(error)
   490  	return ret0, ret1
   491  }
   492  
   493  // StartContainer indicates an expected call of StartContainer.
   494  func (mr *MockRuntimeServiceClientMockRecorder) StartContainer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   495  	mr.mock.ctrl.T.Helper()
   496  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   497  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StartContainer", reflect.TypeOf((*MockRuntimeServiceClient)(nil).StartContainer), varargs...)
   498  }
   499  
   500  // Status mocks base method.
   501  func (m *MockRuntimeServiceClient) Status(arg0 context.Context, arg1 *v1.StatusRequest, arg2 ...grpc.CallOption) (*v1.StatusResponse, error) {
   502  	m.ctrl.T.Helper()
   503  	varargs := []interface{}{arg0, arg1}
   504  	for _, a := range arg2 {
   505  		varargs = append(varargs, a)
   506  	}
   507  	ret := m.ctrl.Call(m, "Status", varargs...)
   508  	ret0, _ := ret[0].(*v1.StatusResponse)
   509  	ret1, _ := ret[1].(error)
   510  	return ret0, ret1
   511  }
   512  
   513  // Status indicates an expected call of Status.
   514  func (mr *MockRuntimeServiceClientMockRecorder) Status(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   515  	mr.mock.ctrl.T.Helper()
   516  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   517  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Status", reflect.TypeOf((*MockRuntimeServiceClient)(nil).Status), varargs...)
   518  }
   519  
   520  // StopContainer mocks base method.
   521  func (m *MockRuntimeServiceClient) StopContainer(arg0 context.Context, arg1 *v1.StopContainerRequest, arg2 ...grpc.CallOption) (*v1.StopContainerResponse, error) {
   522  	m.ctrl.T.Helper()
   523  	varargs := []interface{}{arg0, arg1}
   524  	for _, a := range arg2 {
   525  		varargs = append(varargs, a)
   526  	}
   527  	ret := m.ctrl.Call(m, "StopContainer", varargs...)
   528  	ret0, _ := ret[0].(*v1.StopContainerResponse)
   529  	ret1, _ := ret[1].(error)
   530  	return ret0, ret1
   531  }
   532  
   533  // StopContainer indicates an expected call of StopContainer.
   534  func (mr *MockRuntimeServiceClientMockRecorder) StopContainer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   535  	mr.mock.ctrl.T.Helper()
   536  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   537  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StopContainer", reflect.TypeOf((*MockRuntimeServiceClient)(nil).StopContainer), varargs...)
   538  }
   539  
   540  // StopPodSandbox mocks base method.
   541  func (m *MockRuntimeServiceClient) StopPodSandbox(arg0 context.Context, arg1 *v1.StopPodSandboxRequest, arg2 ...grpc.CallOption) (*v1.StopPodSandboxResponse, error) {
   542  	m.ctrl.T.Helper()
   543  	varargs := []interface{}{arg0, arg1}
   544  	for _, a := range arg2 {
   545  		varargs = append(varargs, a)
   546  	}
   547  	ret := m.ctrl.Call(m, "StopPodSandbox", varargs...)
   548  	ret0, _ := ret[0].(*v1.StopPodSandboxResponse)
   549  	ret1, _ := ret[1].(error)
   550  	return ret0, ret1
   551  }
   552  
   553  // StopPodSandbox indicates an expected call of StopPodSandbox.
   554  func (mr *MockRuntimeServiceClientMockRecorder) StopPodSandbox(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   555  	mr.mock.ctrl.T.Helper()
   556  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   557  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StopPodSandbox", reflect.TypeOf((*MockRuntimeServiceClient)(nil).StopPodSandbox), varargs...)
   558  }
   559  
   560  // UpdateContainerResources mocks base method.
   561  func (m *MockRuntimeServiceClient) UpdateContainerResources(arg0 context.Context, arg1 *v1.UpdateContainerResourcesRequest, arg2 ...grpc.CallOption) (*v1.UpdateContainerResourcesResponse, error) {
   562  	m.ctrl.T.Helper()
   563  	varargs := []interface{}{arg0, arg1}
   564  	for _, a := range arg2 {
   565  		varargs = append(varargs, a)
   566  	}
   567  	ret := m.ctrl.Call(m, "UpdateContainerResources", varargs...)
   568  	ret0, _ := ret[0].(*v1.UpdateContainerResourcesResponse)
   569  	ret1, _ := ret[1].(error)
   570  	return ret0, ret1
   571  }
   572  
   573  // UpdateContainerResources indicates an expected call of UpdateContainerResources.
   574  func (mr *MockRuntimeServiceClientMockRecorder) UpdateContainerResources(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   575  	mr.mock.ctrl.T.Helper()
   576  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   577  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateContainerResources", reflect.TypeOf((*MockRuntimeServiceClient)(nil).UpdateContainerResources), varargs...)
   578  }
   579  
   580  // UpdateRuntimeConfig mocks base method.
   581  func (m *MockRuntimeServiceClient) UpdateRuntimeConfig(arg0 context.Context, arg1 *v1.UpdateRuntimeConfigRequest, arg2 ...grpc.CallOption) (*v1.UpdateRuntimeConfigResponse, error) {
   582  	m.ctrl.T.Helper()
   583  	varargs := []interface{}{arg0, arg1}
   584  	for _, a := range arg2 {
   585  		varargs = append(varargs, a)
   586  	}
   587  	ret := m.ctrl.Call(m, "UpdateRuntimeConfig", varargs...)
   588  	ret0, _ := ret[0].(*v1.UpdateRuntimeConfigResponse)
   589  	ret1, _ := ret[1].(error)
   590  	return ret0, ret1
   591  }
   592  
   593  // UpdateRuntimeConfig indicates an expected call of UpdateRuntimeConfig.
   594  func (mr *MockRuntimeServiceClientMockRecorder) UpdateRuntimeConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   595  	mr.mock.ctrl.T.Helper()
   596  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   597  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateRuntimeConfig", reflect.TypeOf((*MockRuntimeServiceClient)(nil).UpdateRuntimeConfig), varargs...)
   598  }
   599  
   600  // Version mocks base method.
   601  func (m *MockRuntimeServiceClient) Version(arg0 context.Context, arg1 *v1.VersionRequest, arg2 ...grpc.CallOption) (*v1.VersionResponse, error) {
   602  	m.ctrl.T.Helper()
   603  	varargs := []interface{}{arg0, arg1}
   604  	for _, a := range arg2 {
   605  		varargs = append(varargs, a)
   606  	}
   607  	ret := m.ctrl.Call(m, "Version", varargs...)
   608  	ret0, _ := ret[0].(*v1.VersionResponse)
   609  	ret1, _ := ret[1].(error)
   610  	return ret0, ret1
   611  }
   612  
   613  // Version indicates an expected call of Version.
   614  func (mr *MockRuntimeServiceClientMockRecorder) Version(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   615  	mr.mock.ctrl.T.Helper()
   616  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   617  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Version", reflect.TypeOf((*MockRuntimeServiceClient)(nil).Version), varargs...)
   618  }