// Code generated by MockGen. DO NOT EDIT. // Source: edge-infra.dev/pkg/edge/api/services (interfaces: GkeClient) // Package mocks is a generated GoMock package. package mocks import ( context "context" reflect "reflect" types "edge-infra.dev/pkg/edge/api/types" gomock "github.com/golang/mock/gomock" rest "k8s.io/client-go/rest" client "sigs.k8s.io/controller-runtime/pkg/client" ) // MockGkeClient is a mock of GkeClient interface. type MockGkeClient struct { ctrl *gomock.Controller recorder *MockGkeClientMockRecorder } // MockGkeClientMockRecorder is the mock recorder for MockGkeClient. type MockGkeClientMockRecorder struct { mock *MockGkeClient } // NewMockGkeClient creates a new mock instance. func NewMockGkeClient(ctrl *gomock.Controller) *MockGkeClient { mock := &MockGkeClient{ctrl: ctrl} mock.recorder = &MockGkeClientMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockGkeClient) EXPECT() *MockGkeClientMockRecorder { return m.recorder } // GetConfigForCluster mocks base method. func (m *MockGkeClient) GetConfigForCluster(arg0 context.Context, arg1 *types.GkeCluster) (*rest.Config, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetConfigForCluster", arg0, arg1) ret0, _ := ret[0].(*rest.Config) ret1, _ := ret[1].(error) return ret0, ret1 } // GetConfigForCluster indicates an expected call of GetConfigForCluster. func (mr *MockGkeClientMockRecorder) GetConfigForCluster(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConfigForCluster", reflect.TypeOf((*MockGkeClient)(nil).GetConfigForCluster), arg0, arg1) } // GetRuntimeClient mocks base method. func (m *MockGkeClient) GetRuntimeClient(arg0 context.Context, arg1 *types.GkeCluster) (client.WithWatch, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetRuntimeClient", arg0, arg1) ret0, _ := ret[0].(client.WithWatch) ret1, _ := ret[1].(error) return ret0, ret1 } // GetRuntimeClient indicates an expected call of GetRuntimeClient. func (mr *MockGkeClientMockRecorder) GetRuntimeClient(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRuntimeClient", reflect.TypeOf((*MockGkeClient)(nil).GetRuntimeClient), arg0, arg1) }