Documentation ¶
Overview ¶
Package langs is a generated GoMock package.
Index ¶
- Constants
- Variables
- type Checker
- type Dependency
- type MockChecker
- type MockCheckerMockRecorder
- func (mr *MockCheckerMockRecorder) CheckDependency(dependency interface{}) *gomock.Call
- func (mr *MockCheckerMockRecorder) CheckSetup() *gomock.Call
- func (mr *MockCheckerMockRecorder) CleanUp() *gomock.Call
- func (mr *MockCheckerMockRecorder) GetDependency(dependency interface{}) *gomock.Call
- func (mr *MockCheckerMockRecorder) Setup() *gomock.Call
Constants ¶
const GoCommand = "go"
Variables ¶
var (
ErrDependencyIsNotValid = errors.New("dependency is not valid")
)
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker interface { CheckSetup() error CheckDependency(dependency any) error GetDependency(dependency any) error Setup() error CleanUp() error }
func GetChecker ¶ added in v1.3.0
func NewEmptySetupChecker ¶
func NewEmptySetupChecker() Checker
func NewGolangSetupChecker ¶
type Dependency ¶
func (*Dependency) String ¶
func (d *Dependency) String() string
type MockChecker ¶
type MockChecker struct {
// contains filtered or unexported fields
}
MockChecker is a mock of Checker interface.
func NewMockChecker ¶
func NewMockChecker(ctrl *gomock.Controller) *MockChecker
NewMockChecker creates a new mock instance.
func (*MockChecker) CheckDependency ¶ added in v1.4.0
func (m *MockChecker) CheckDependency(dependency any) error
CheckDependency mocks base method.
func (*MockChecker) CheckSetup ¶ added in v1.4.0
func (m *MockChecker) CheckSetup() error
CheckSetup mocks base method.
func (*MockChecker) CleanUp ¶ added in v1.4.0
func (m *MockChecker) CleanUp() error
CleanUp mocks base method.
func (*MockChecker) EXPECT ¶
func (m *MockChecker) EXPECT() *MockCheckerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChecker) GetDependency ¶ added in v1.4.0
func (m *MockChecker) GetDependency(dependency any) error
GetDependency mocks base method.
func (*MockChecker) Setup ¶ added in v1.4.0
func (m *MockChecker) Setup() error
Setup mocks base method.
type MockCheckerMockRecorder ¶
type MockCheckerMockRecorder struct {
// contains filtered or unexported fields
}
MockCheckerMockRecorder is the mock recorder for MockChecker.
func (*MockCheckerMockRecorder) CheckDependency ¶ added in v1.4.0
func (mr *MockCheckerMockRecorder) CheckDependency(dependency interface{}) *gomock.Call
CheckDependency indicates an expected call of CheckDependency.
func (*MockCheckerMockRecorder) CheckSetup ¶ added in v1.4.0
func (mr *MockCheckerMockRecorder) CheckSetup() *gomock.Call
CheckSetup indicates an expected call of CheckSetup.
func (*MockCheckerMockRecorder) CleanUp ¶ added in v1.4.0
func (mr *MockCheckerMockRecorder) CleanUp() *gomock.Call
CleanUp indicates an expected call of CleanUp.
func (*MockCheckerMockRecorder) GetDependency ¶ added in v1.4.0
func (mr *MockCheckerMockRecorder) GetDependency(dependency interface{}) *gomock.Call
GetDependency indicates an expected call of GetDependency.
func (*MockCheckerMockRecorder) Setup ¶ added in v1.4.0
func (mr *MockCheckerMockRecorder) Setup() *gomock.Call
Setup indicates an expected call of Setup.