droneservice

package
v0.0.0-...-c8e7285 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 8 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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