mock_semver

package
v1.12.15-0...-edc2ec3 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_semver is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

type MockService struct {
	// contains filtered or unexported fields
}

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockService) GetCurrentVersion

func (m *MockService) GetCurrentVersion() (string, error)

GetCurrentVersion mocks base method

func (*MockService) GetNextVersion

func (m *MockService) GetNextVersion(versionType string) (string, error)

GetNextVersion mocks base method

func (*MockService) SetNextVersion

func (m *MockService) SetNextVersion(versionType string) error

SetNextVersion mocks base method

func (*MockService) SetVersion

func (m *MockService) SetVersion(version string) error

SetVersion mocks base method

func (*MockService) TagCurrentVersion

func (m *MockService) TagCurrentVersion() error

TagCurrentVersion mocks base method

type MockServiceInterface

type MockServiceInterface interface {
	EXPECT() *MockServiceMockRecorder
}

type MockServiceMockRecorder

type MockServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) GetCurrentVersion

func (mr *MockServiceMockRecorder) GetCurrentVersion() *gomock.Call

GetCurrentVersion indicates an expected call of GetCurrentVersion

func (*MockServiceMockRecorder) GetNextVersion

func (mr *MockServiceMockRecorder) GetNextVersion(versionType interface{}) *gomock.Call

GetNextVersion indicates an expected call of GetNextVersion

func (*MockServiceMockRecorder) SetNextVersion

func (mr *MockServiceMockRecorder) SetNextVersion(versionType interface{}) *gomock.Call

SetNextVersion indicates an expected call of SetNextVersion

func (*MockServiceMockRecorder) SetVersion

func (mr *MockServiceMockRecorder) SetVersion(version interface{}) *gomock.Call

SetVersion indicates an expected call of SetVersion

func (*MockServiceMockRecorder) TagCurrentVersion

func (mr *MockServiceMockRecorder) TagCurrentVersion() *gomock.Call

TagCurrentVersion indicates an expected call of TagCurrentVersion

Jump to

Keyboard shortcuts

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