Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(s datastore.Storage, a authorization.Authorizer) *service
Types ¶
type MockRegistryService ¶
type MockRegistryService struct {
// contains filtered or unexported fields
}
MockRegistryService is a mock of RegistryService interface
func NewMockRegistryService ¶
func NewMockRegistryService(ctrl *gomock.Controller) *MockRegistryService
NewMockRegistryService creates a new mock instance
func (*MockRegistryService) EXPECT ¶
func (m *MockRegistryService) EXPECT() *MockRegistryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRegistryService) Healthy ¶
func (m *MockRegistryService) Healthy() bool
Healthy mocks base method
type MockRegistryServiceMockRecorder ¶
type MockRegistryServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryServiceMockRecorder is the mock recorder for MockRegistryService
func (*MockRegistryServiceMockRecorder) Healthy ¶
func (mr *MockRegistryServiceMockRecorder) Healthy() *gomock.Call
Healthy indicates an expected call of Healthy
type RegistryService ¶
type RegistryService interface { Healthy() bool SetAuthData(data authentication.AuthData) GetJobRegistration(jobID uint64) (registration.Registration, error) }
Click to show internal directories.
Click to hide internal directories.