Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Delete(url string) ([]byte, int, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(url, body string) ([]byte, int, error)
- func (m *MockClient) Post(url, body string) ([]byte, int, error)
- func (m *MockClient) Put(url, body string) ([]byte, int, error)
- type MockClientMockRecorder
- type MockFileSystem
- func (m *MockFileSystem) Create(name string) (afero.File, error)
- func (m *MockFileSystem) EXPECT() *MockFileSystemMockRecorder
- func (m *MockFileSystem) IsNotExist(err error) bool
- func (m *MockFileSystem) MkdirAll(path string, perm os.FileMode) error
- func (m *MockFileSystem) Stat(name string) (os.FileInfo, error)
- type MockFileSystemMockRecorder
- func (mr *MockFileSystemMockRecorder) Create(name interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) IsNotExist(err interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) MkdirAll(path, perm interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) Stat(name interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) Delete ¶
func (m *MockClient) Delete(url string) ([]byte, int, error)
Delete mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) Get ¶
func (m *MockClient) Get(url, body string) ([]byte, int, error)
Get mocks base method
type MockClientMockRecorder ¶ added in v1.0.0
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Delete ¶ added in v1.0.0
func (mr *MockClientMockRecorder) Delete(url interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockClientMockRecorder) Get ¶ added in v1.0.0
func (mr *MockClientMockRecorder) Get(url, body interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockClientMockRecorder) Post ¶ added in v1.0.0
func (mr *MockClientMockRecorder) Post(url, body interface{}) *gomock.Call
Post indicates an expected call of Post
func (*MockClientMockRecorder) Put ¶ added in v1.0.0
func (mr *MockClientMockRecorder) Put(url, body interface{}) *gomock.Call
Put indicates an expected call of Put
type MockFileSystem ¶
type MockFileSystem struct {
// contains filtered or unexported fields
}
MockFileSystem is a mock of FileSystem interface
func NewMockFileSystem ¶
func NewMockFileSystem(ctrl *gomock.Controller) *MockFileSystem
NewMockFileSystem creates a new mock instance
func (*MockFileSystem) Create ¶
func (m *MockFileSystem) Create(name string) (afero.File, error)
Create mocks base method
func (*MockFileSystem) EXPECT ¶
func (m *MockFileSystem) EXPECT() *MockFileSystemMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFileSystem) IsNotExist ¶
func (m *MockFileSystem) IsNotExist(err error) bool
IsNotExist mocks base method
type MockFileSystemMockRecorder ¶ added in v1.0.0
type MockFileSystemMockRecorder struct {
// contains filtered or unexported fields
}
MockFileSystemMockRecorder is the mock recorder for MockFileSystem
func (*MockFileSystemMockRecorder) Create ¶ added in v1.0.0
func (mr *MockFileSystemMockRecorder) Create(name interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockFileSystemMockRecorder) IsNotExist ¶ added in v1.0.0
func (mr *MockFileSystemMockRecorder) IsNotExist(err interface{}) *gomock.Call
IsNotExist indicates an expected call of IsNotExist
func (*MockFileSystemMockRecorder) MkdirAll ¶ added in v1.0.0
func (mr *MockFileSystemMockRecorder) MkdirAll(path, perm interface{}) *gomock.Call
MkdirAll indicates an expected call of MkdirAll
func (*MockFileSystemMockRecorder) Stat ¶ added in v1.0.0
func (mr *MockFileSystemMockRecorder) Stat(name interface{}) *gomock.Call
Stat indicates an expected call of Stat