service

package
v0.0.0-...-badfa59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

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

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

Healthy indicates an expected call of Healthy

type RegistryService

type RegistryService interface {
	Healthy() bool
	SetAuthData(data authentication.AuthData)
	GetJobRegistration(jobID uint64) (registration.Registration, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL