// Code generated by MockGen. DO NOT EDIT. // Source: edge-infra.dev/pkg/edge/api/services (interfaces: GCPService) // Package mocks is a generated GoMock package. package mocks import ( context "context" reflect "reflect" time "time" model "edge-infra.dev/pkg/edge/api/graph/model" gomock "github.com/golang/mock/gomock" ) // MockGCPService is a mock of GCPService interface. type MockGCPService struct { ctrl *gomock.Controller recorder *MockGCPServiceMockRecorder } // MockGCPServiceMockRecorder is the mock recorder for MockGCPService. type MockGCPServiceMockRecorder struct { mock *MockGCPService } // NewMockGCPService creates a new mock instance. func NewMockGCPService(ctrl *gomock.Controller) *MockGCPService { mock := &MockGCPService{ctrl: ctrl} mock.recorder = &MockGCPServiceMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockGCPService) EXPECT() *MockGCPServiceMockRecorder { return m.recorder } // AddSecret mocks base method. func (m *MockGCPService) AddSecret(arg0 context.Context, arg1, arg2, arg3 string, arg4 []*model.KeyValues, arg5 string, arg6 *string, arg7 *time.Time) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "AddSecret", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ret0, _ := ret[0].(error) return ret0 } // AddSecret indicates an expected call of AddSecret. func (mr *MockGCPServiceMockRecorder) AddSecret(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddSecret", reflect.TypeOf((*MockGCPService)(nil).AddSecret), arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) } // DeleteSecret mocks base method. func (m *MockGCPService) DeleteSecret(arg0 context.Context, arg1, arg2 string) (bool, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteSecret", arg0, arg1, arg2) ret0, _ := ret[0].(bool) ret1, _ := ret[1].(error) return ret0, ret1 } // DeleteSecret indicates an expected call of DeleteSecret. func (mr *MockGCPServiceMockRecorder) DeleteSecret(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecret", reflect.TypeOf((*MockGCPService)(nil).DeleteSecret), arg0, arg1, arg2) } // GetGKEVersions mocks base method. func (m *MockGCPService) GetGKEVersions(arg0 context.Context, arg1 string) ([]*string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetGKEVersions", arg0, arg1) ret0, _ := ret[0].([]*string) ret1, _ := ret[1].(error) return ret0, ret1 } // GetGKEVersions indicates an expected call of GetGKEVersions. func (mr *MockGCPServiceMockRecorder) GetGKEVersions(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetGKEVersions", reflect.TypeOf((*MockGCPService)(nil).GetGKEVersions), arg0, arg1) } // GetMachineType mocks base method. func (m *MockGCPService) GetMachineType(arg0 context.Context, arg1, arg2 string) (*model.MachineTypeInfo, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetMachineType", arg0, arg1, arg2) ret0, _ := ret[0].(*model.MachineTypeInfo) ret1, _ := ret[1].(error) return ret0, ret1 } // GetMachineType indicates an expected call of GetMachineType. func (mr *MockGCPServiceMockRecorder) GetMachineType(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMachineType", reflect.TypeOf((*MockGCPService)(nil).GetMachineType), arg0, arg1, arg2) } // GetMachineTypes mocks base method. func (m *MockGCPService) GetMachineTypes(arg0 context.Context, arg1 string) ([]*model.MachineTypeInfo, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetMachineTypes", arg0, arg1) ret0, _ := ret[0].([]*model.MachineTypeInfo) ret1, _ := ret[1].(error) return ret0, ret1 } // GetMachineTypes indicates an expected call of GetMachineTypes. func (mr *MockGCPServiceMockRecorder) GetMachineTypes(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMachineTypes", reflect.TypeOf((*MockGCPService)(nil).GetMachineTypes), arg0, arg1) } // GetSecrets mocks base method. func (m *MockGCPService) GetSecrets(arg0 context.Context, arg1, arg2, arg3 *string, arg4 bool, arg5 string) ([]*model.SecretManagerResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetSecrets", arg0, arg1, arg2, arg3, arg4, arg5) ret0, _ := ret[0].([]*model.SecretManagerResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // GetSecrets indicates an expected call of GetSecrets. func (mr *MockGCPServiceMockRecorder) GetSecrets(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecrets", reflect.TypeOf((*MockGCPService)(nil).GetSecrets), arg0, arg1, arg2, arg3, arg4, arg5) } // GetZones mocks base method. func (m *MockGCPService) GetZones(arg0 context.Context) ([]*string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetZones", arg0) ret0, _ := ret[0].([]*string) ret1, _ := ret[1].(error) return ret0, ret1 } // GetZones indicates an expected call of GetZones. func (mr *MockGCPServiceMockRecorder) GetZones(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetZones", reflect.TypeOf((*MockGCPService)(nil).GetZones), arg0) }