// Code generated by MockGen. DO NOT EDIT. // Source: edge-infra.dev/pkg/edge/api/services (interfaces: BootstrapService) // 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" types "edge-infra.dev/pkg/edge/api/types" gomock "github.com/golang/mock/gomock" ) // MockBootstrapService is a mock of BootstrapService interface. type MockBootstrapService struct { ctrl *gomock.Controller recorder *MockBootstrapServiceMockRecorder } // MockBootstrapServiceMockRecorder is the mock recorder for MockBootstrapService. type MockBootstrapServiceMockRecorder struct { mock *MockBootstrapService } // NewMockBootstrapService creates a new mock instance. func NewMockBootstrapService(ctrl *gomock.Controller) *MockBootstrapService { mock := &MockBootstrapService{ctrl: ctrl} mock.recorder = &MockBootstrapServiceMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockBootstrapService) EXPECT() *MockBootstrapServiceMockRecorder { return m.recorder } // CreateClusterBootstrapTokenEntry mocks base method. func (m *MockBootstrapService) CreateClusterBootstrapTokenEntry(arg0 context.Context, arg1, arg2 string, arg3 time.Time) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreateClusterBootstrapTokenEntry", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(error) return ret0 } // CreateClusterBootstrapTokenEntry indicates an expected call of CreateClusterBootstrapTokenEntry. func (mr *MockBootstrapServiceMockRecorder) CreateClusterBootstrapTokenEntry(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateClusterBootstrapTokenEntry", reflect.TypeOf((*MockBootstrapService)(nil).CreateClusterBootstrapTokenEntry), arg0, arg1, arg2, arg3) } // DeleteExpiredClusterBootstrapTokens mocks base method. func (m *MockBootstrapService) DeleteExpiredClusterBootstrapTokens(arg0 context.Context, arg1 string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteExpiredClusterBootstrapTokens", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // DeleteExpiredClusterBootstrapTokens indicates an expected call of DeleteExpiredClusterBootstrapTokens. func (mr *MockBootstrapServiceMockRecorder) DeleteExpiredClusterBootstrapTokens(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteExpiredClusterBootstrapTokens", reflect.TypeOf((*MockBootstrapService)(nil).DeleteExpiredClusterBootstrapTokens), arg0, arg1) } // GetClusterBootstrapTokens mocks base method. func (m *MockBootstrapService) GetClusterBootstrapTokens(arg0 context.Context, arg1 string) ([]types.ClusterBootstrapToken, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetClusterBootstrapTokens", arg0, arg1) ret0, _ := ret[0].([]types.ClusterBootstrapToken) ret1, _ := ret[1].(error) return ret0, ret1 } // GetClusterBootstrapTokens indicates an expected call of GetClusterBootstrapTokens. func (mr *MockBootstrapServiceMockRecorder) GetClusterBootstrapTokens(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterBootstrapTokens", reflect.TypeOf((*MockBootstrapService)(nil).GetClusterBootstrapTokens), arg0, arg1) } // GetManifests mocks base method. func (m *MockBootstrapService) GetManifests(arg0 context.Context, arg1 string, arg2 []types.Pallet, arg3 *model.Cluster) ([]string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetManifests", arg0, arg1, arg2, arg3) ret0, _ := ret[0].([]string) ret1, _ := ret[1].(error) return ret0, ret1 } // GetManifests indicates an expected call of GetManifests. func (mr *MockBootstrapServiceMockRecorder) GetManifests(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetManifests", reflect.TypeOf((*MockBootstrapService)(nil).GetManifests), arg0, arg1, arg2, arg3) } // GetSAKeySecret mocks base method. func (m *MockBootstrapService) GetSAKeySecret(arg0, arg1, arg2, arg3 string) (string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetSAKeySecret", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 } // GetSAKeySecret indicates an expected call of GetSAKeySecret. func (mr *MockBootstrapServiceMockRecorder) GetSAKeySecret(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSAKeySecret", reflect.TypeOf((*MockBootstrapService)(nil).GetSAKeySecret), arg0, arg1, arg2, arg3) }