Documentation ¶
Overview ¶
Package contract is a generated GoMock package.
Package contract is a generated GoMock package.
Package contract is a generated GoMock package.
Package contract is a generated GoMock package.
Package contract is a generated GoMock package.
Package contract is a generated GoMock package.
Package contract is a generated GoMock package.
Package contract is a generated GoMock package.
Index ¶
- type IApi
- type IApiFactory
- type IError
- type IIODirectory
- type IIOFactory
- type IIOFile
- type IIONode
- type IIOPath
- type MockIApi
- type MockIApiFactory
- type MockIApiFactoryMockRecorder
- type MockIApiMockRecorder
- type MockIError
- type MockIErrorMockRecorder
- type MockIIODirectory
- func (m *MockIIODirectory) EXPECT() *MockIIODirectoryMockRecorder
- func (m *MockIIODirectory) FindDirectories() []IIODirectory
- func (m *MockIIODirectory) FindFiles() []IIOFile
- func (m *MockIIODirectory) GetName() string
- func (m *MockIIODirectory) GetParent() IIODirectory
- func (m *MockIIODirectory) GetPath() string
- func (m *MockIIODirectory) IsExist() bool
- type MockIIODirectoryMockRecorder
- func (mr *MockIIODirectoryMockRecorder) FindDirectories() *gomock.Call
- func (mr *MockIIODirectoryMockRecorder) FindFiles() *gomock.Call
- func (mr *MockIIODirectoryMockRecorder) GetName() *gomock.Call
- func (mr *MockIIODirectoryMockRecorder) GetParent() *gomock.Call
- func (mr *MockIIODirectoryMockRecorder) GetPath() *gomock.Call
- func (mr *MockIIODirectoryMockRecorder) IsExist() *gomock.Call
- type MockIIOFactory
- type MockIIOFactoryMockRecorder
- type MockIIOFile
- func (m *MockIIOFile) EXPECT() *MockIIOFileMockRecorder
- func (m *MockIIOFile) GetExt() string
- func (m *MockIIOFile) GetName() string
- func (m *MockIIOFile) GetParent() IIODirectory
- func (m *MockIIOFile) GetPath() string
- func (m *MockIIOFile) IsExist() bool
- func (m *MockIIOFile) Read(data interface{}) error
- func (m *MockIIOFile) Write(data interface{}) error
- type MockIIOFileMockRecorder
- func (mr *MockIIOFileMockRecorder) GetExt() *gomock.Call
- func (mr *MockIIOFileMockRecorder) GetName() *gomock.Call
- func (mr *MockIIOFileMockRecorder) GetParent() *gomock.Call
- func (mr *MockIIOFileMockRecorder) GetPath() *gomock.Call
- func (mr *MockIIOFileMockRecorder) IsExist() *gomock.Call
- func (mr *MockIIOFileMockRecorder) Read(data interface{}) *gomock.Call
- func (mr *MockIIOFileMockRecorder) Write(data interface{}) *gomock.Call
- type MockIIONode
- type MockIIONodeMockRecorder
- type MockIIOPath
- type MockIIOPathMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IApiFactory ¶
type IIODirectory ¶
type IIODirectory interface { IIONode FindDirectories() []IIODirectory FindFiles() []IIOFile }
type IIOFactory ¶
type IIOFactory interface { BuildDirectory(pathArgs ...string) IIODirectory BuildFile(pathArgs ...string) IIOFile }
type IIONode ¶
type IIONode interface { GetName() string GetParent() IIODirectory GetPath() string IsExist() bool }
type MockIApi ¶
type MockIApi struct {
// contains filtered or unexported fields
}
MockIApi is a mock of IApi interface.
func NewMockIApi ¶
func NewMockIApi(ctrl *gomock.Controller) *MockIApi
NewMockIApi creates a new mock instance.
func (*MockIApi) EXPECT ¶
func (m *MockIApi) EXPECT() *MockIApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIApiFactory ¶
type MockIApiFactory struct {
// contains filtered or unexported fields
}
MockIApiFactory is a mock of IApiFactory interface.
func NewMockIApiFactory ¶
func NewMockIApiFactory(ctrl *gomock.Controller) *MockIApiFactory
NewMockIApiFactory creates a new mock instance.
func (*MockIApiFactory) Build ¶
func (m *MockIApiFactory) Build(endpoint, apiName string) IApi
Build mocks base method.
func (*MockIApiFactory) EXPECT ¶
func (m *MockIApiFactory) EXPECT() *MockIApiFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIApiFactory) Register ¶
func (m *MockIApiFactory) Register(endpoint, apiName string, apiInstance IApi)
Register mocks base method.
type MockIApiFactoryMockRecorder ¶
type MockIApiFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockIApiFactoryMockRecorder is the mock recorder for MockIApiFactory.
func (*MockIApiFactoryMockRecorder) Build ¶
func (mr *MockIApiFactoryMockRecorder) Build(endpoint, apiName interface{}) *gomock.Call
Build indicates an expected call of Build.
func (*MockIApiFactoryMockRecorder) Register ¶
func (mr *MockIApiFactoryMockRecorder) Register(endpoint, apiName, apiInstance interface{}) *gomock.Call
Register indicates an expected call of Register.
type MockIApiMockRecorder ¶
type MockIApiMockRecorder struct {
// contains filtered or unexported fields
}
MockIApiMockRecorder is the mock recorder for MockIApi.
func (*MockIApiMockRecorder) Call ¶
func (mr *MockIApiMockRecorder) Call() *gomock.Call
Call indicates an expected call of Call.
type MockIError ¶
type MockIError struct {
// contains filtered or unexported fields
}
MockIError is a mock of IError interface.
func NewMockIError ¶
func NewMockIError(ctrl *gomock.Controller) *MockIError
NewMockIError creates a new mock instance.
func (*MockIError) EXPECT ¶
func (m *MockIError) EXPECT() *MockIErrorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIError) GetCode ¶
func (m *MockIError) GetCode() errorcode.Value
GetCode mocks base method.
type MockIErrorMockRecorder ¶
type MockIErrorMockRecorder struct {
// contains filtered or unexported fields
}
MockIErrorMockRecorder is the mock recorder for MockIError.
func (*MockIErrorMockRecorder) Error ¶
func (mr *MockIErrorMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockIErrorMockRecorder) GetCode ¶
func (mr *MockIErrorMockRecorder) GetCode() *gomock.Call
GetCode indicates an expected call of GetCode.
func (*MockIErrorMockRecorder) GetData ¶
func (mr *MockIErrorMockRecorder) GetData() *gomock.Call
GetData indicates an expected call of GetData.
type MockIIODirectory ¶
type MockIIODirectory struct {
// contains filtered or unexported fields
}
MockIIODirectory is a mock of IIODirectory interface.
func NewMockIIODirectory ¶
func NewMockIIODirectory(ctrl *gomock.Controller) *MockIIODirectory
NewMockIIODirectory creates a new mock instance.
func (*MockIIODirectory) EXPECT ¶
func (m *MockIIODirectory) EXPECT() *MockIIODirectoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIIODirectory) FindDirectories ¶
func (m *MockIIODirectory) FindDirectories() []IIODirectory
FindDirectories mocks base method.
func (*MockIIODirectory) FindFiles ¶
func (m *MockIIODirectory) FindFiles() []IIOFile
FindFiles mocks base method.
func (*MockIIODirectory) GetName ¶
func (m *MockIIODirectory) GetName() string
GetName mocks base method.
func (*MockIIODirectory) GetParent ¶
func (m *MockIIODirectory) GetParent() IIODirectory
GetParent mocks base method.
func (*MockIIODirectory) GetPath ¶
func (m *MockIIODirectory) GetPath() string
GetPath mocks base method.
func (*MockIIODirectory) IsExist ¶
func (m *MockIIODirectory) IsExist() bool
IsExist mocks base method.
type MockIIODirectoryMockRecorder ¶
type MockIIODirectoryMockRecorder struct {
// contains filtered or unexported fields
}
MockIIODirectoryMockRecorder is the mock recorder for MockIIODirectory.
func (*MockIIODirectoryMockRecorder) FindDirectories ¶
func (mr *MockIIODirectoryMockRecorder) FindDirectories() *gomock.Call
FindDirectories indicates an expected call of FindDirectories.
func (*MockIIODirectoryMockRecorder) FindFiles ¶
func (mr *MockIIODirectoryMockRecorder) FindFiles() *gomock.Call
FindFiles indicates an expected call of FindFiles.
func (*MockIIODirectoryMockRecorder) GetName ¶
func (mr *MockIIODirectoryMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockIIODirectoryMockRecorder) GetParent ¶
func (mr *MockIIODirectoryMockRecorder) GetParent() *gomock.Call
GetParent indicates an expected call of GetParent.
func (*MockIIODirectoryMockRecorder) GetPath ¶
func (mr *MockIIODirectoryMockRecorder) GetPath() *gomock.Call
GetPath indicates an expected call of GetPath.
func (*MockIIODirectoryMockRecorder) IsExist ¶
func (mr *MockIIODirectoryMockRecorder) IsExist() *gomock.Call
IsExist indicates an expected call of IsExist.
type MockIIOFactory ¶
type MockIIOFactory struct {
// contains filtered or unexported fields
}
MockIIOFactory is a mock of IIOFactory interface.
func NewMockIIOFactory ¶
func NewMockIIOFactory(ctrl *gomock.Controller) *MockIIOFactory
NewMockIIOFactory creates a new mock instance.
func (*MockIIOFactory) BuildDirectory ¶
func (m *MockIIOFactory) BuildDirectory(pathArgs ...string) IIODirectory
BuildDirectory mocks base method.
func (*MockIIOFactory) BuildFile ¶
func (m *MockIIOFactory) BuildFile(pathArgs ...string) IIOFile
BuildFile mocks base method.
func (*MockIIOFactory) EXPECT ¶
func (m *MockIIOFactory) EXPECT() *MockIIOFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIIOFactoryMockRecorder ¶
type MockIIOFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockIIOFactoryMockRecorder is the mock recorder for MockIIOFactory.
func (*MockIIOFactoryMockRecorder) BuildDirectory ¶
func (mr *MockIIOFactoryMockRecorder) BuildDirectory(pathArgs ...interface{}) *gomock.Call
BuildDirectory indicates an expected call of BuildDirectory.
func (*MockIIOFactoryMockRecorder) BuildFile ¶
func (mr *MockIIOFactoryMockRecorder) BuildFile(pathArgs ...interface{}) *gomock.Call
BuildFile indicates an expected call of BuildFile.
type MockIIOFile ¶
type MockIIOFile struct {
// contains filtered or unexported fields
}
MockIIOFile is a mock of IIOFile interface.
func NewMockIIOFile ¶
func NewMockIIOFile(ctrl *gomock.Controller) *MockIIOFile
NewMockIIOFile creates a new mock instance.
func (*MockIIOFile) EXPECT ¶
func (m *MockIIOFile) EXPECT() *MockIIOFileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIIOFile) GetParent ¶
func (m *MockIIOFile) GetParent() IIODirectory
GetParent mocks base method.
func (*MockIIOFile) Read ¶
func (m *MockIIOFile) Read(data interface{}) error
Read mocks base method.
func (*MockIIOFile) Write ¶
func (m *MockIIOFile) Write(data interface{}) error
Write mocks base method.
type MockIIOFileMockRecorder ¶
type MockIIOFileMockRecorder struct {
// contains filtered or unexported fields
}
MockIIOFileMockRecorder is the mock recorder for MockIIOFile.
func (*MockIIOFileMockRecorder) GetExt ¶
func (mr *MockIIOFileMockRecorder) GetExt() *gomock.Call
GetExt indicates an expected call of GetExt.
func (*MockIIOFileMockRecorder) GetName ¶
func (mr *MockIIOFileMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockIIOFileMockRecorder) GetParent ¶
func (mr *MockIIOFileMockRecorder) GetParent() *gomock.Call
GetParent indicates an expected call of GetParent.
func (*MockIIOFileMockRecorder) GetPath ¶
func (mr *MockIIOFileMockRecorder) GetPath() *gomock.Call
GetPath indicates an expected call of GetPath.
func (*MockIIOFileMockRecorder) IsExist ¶
func (mr *MockIIOFileMockRecorder) IsExist() *gomock.Call
IsExist indicates an expected call of IsExist.
func (*MockIIOFileMockRecorder) Read ¶
func (mr *MockIIOFileMockRecorder) Read(data interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockIIOFileMockRecorder) Write ¶
func (mr *MockIIOFileMockRecorder) Write(data interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockIIONode ¶
type MockIIONode struct {
// contains filtered or unexported fields
}
MockIIONode is a mock of IIONode interface.
func NewMockIIONode ¶
func NewMockIIONode(ctrl *gomock.Controller) *MockIIONode
NewMockIIONode creates a new mock instance.
func (*MockIIONode) EXPECT ¶
func (m *MockIIONode) EXPECT() *MockIIONodeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIIONode) GetParent ¶
func (m *MockIIONode) GetParent() IIODirectory
GetParent mocks base method.
type MockIIONodeMockRecorder ¶
type MockIIONodeMockRecorder struct {
// contains filtered or unexported fields
}
MockIIONodeMockRecorder is the mock recorder for MockIIONode.
func (*MockIIONodeMockRecorder) GetName ¶
func (mr *MockIIONodeMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockIIONodeMockRecorder) GetParent ¶
func (mr *MockIIONodeMockRecorder) GetParent() *gomock.Call
GetParent indicates an expected call of GetParent.
func (*MockIIONodeMockRecorder) GetPath ¶
func (mr *MockIIONodeMockRecorder) GetPath() *gomock.Call
GetPath indicates an expected call of GetPath.
func (*MockIIONodeMockRecorder) IsExist ¶
func (mr *MockIIONodeMockRecorder) IsExist() *gomock.Call
IsExist indicates an expected call of IsExist.
type MockIIOPath ¶
type MockIIOPath struct {
// contains filtered or unexported fields
}
MockIIOPath is a mock of IIOPath interface.
func NewMockIIOPath ¶
func NewMockIIOPath(ctrl *gomock.Controller) *MockIIOPath
NewMockIIOPath creates a new mock instance.
func (*MockIIOPath) EXPECT ¶
func (m *MockIIOPath) EXPECT() *MockIIOPathMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIIOPath) Join ¶
func (m *MockIIOPath) Join(paths ...string) string
Join mocks base method.
type MockIIOPathMockRecorder ¶
type MockIIOPathMockRecorder struct {
// contains filtered or unexported fields
}
MockIIOPathMockRecorder is the mock recorder for MockIIOPath.
func (*MockIIOPathMockRecorder) GetRoot ¶
func (mr *MockIIOPathMockRecorder) GetRoot() *gomock.Call
GetRoot indicates an expected call of GetRoot.
func (*MockIIOPathMockRecorder) Join ¶
func (mr *MockIIOPathMockRecorder) Join(paths ...interface{}) *gomock.Call
Join indicates an expected call of Join.