Documentation ¶
Overview ¶
Package droneservice is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DroneService ¶
type DroneService interface { ActivateRepository(repoName string) error DeleteRepository(repoName string) error }
DroneService defines all Drone operations.
func NewDroneService ¶
func NewDroneService(logger logging.Logger, url, token string) DroneService
NewDroneService is a constructor function.
type MockDroneService ¶
type MockDroneService struct {
// contains filtered or unexported fields
}
MockDroneService is a mock of DroneService interface.
func NewMockDroneService ¶
func NewMockDroneService(ctrl *gomock.Controller) *MockDroneService
NewMockDroneService creates a new mock instance.
func (*MockDroneService) ActivateRepository ¶
func (m *MockDroneService) ActivateRepository(repoName string) error
ActivateRepository mocks base method.
func (*MockDroneService) DeleteRepository ¶
func (m *MockDroneService) DeleteRepository(repoName string) error
DeleteRepository mocks base method.
func (*MockDroneService) EXPECT ¶
func (m *MockDroneService) EXPECT() *MockDroneServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDroneServiceMockRecorder ¶
type MockDroneServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDroneServiceMockRecorder is the mock recorder for MockDroneService.
func (*MockDroneServiceMockRecorder) ActivateRepository ¶
func (mr *MockDroneServiceMockRecorder) ActivateRepository(repoName interface{}) *gomock.Call
ActivateRepository indicates an expected call of ActivateRepository.
func (*MockDroneServiceMockRecorder) DeleteRepository ¶
func (mr *MockDroneServiceMockRecorder) DeleteRepository(repoName interface{}) *gomock.Call
DeleteRepository indicates an expected call of DeleteRepository.
Click to show internal directories.
Click to hide internal directories.