Documentation
¶
Index ¶
- type MockClient
- func (_m *MockClient) Delete(url string) ([]byte, int, error)
- func (_m *MockClient) EXPECT() *_MockClientRecorder
- func (_m *MockClient) Get(url string) ([]byte, int, error)
- func (_m *MockClient) Post(url string, body map[string]interface{}) ([]byte, int, error)
- func (_m *MockClient) Put(url string, body map[string]interface{}) ([]byte, int, error)
- type MockFileSystem
- func (_m *MockFileSystem) Create(name string) (afero.File, error)
- func (_m *MockFileSystem) EXPECT() *_MockFileSystemRecorder
- 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)
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
}
Mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *_MockClientRecorder
type MockFileSystem ¶
type MockFileSystem struct {
// contains filtered or unexported fields
}
Mock of FileSystem interface
func NewMockFileSystem ¶
func NewMockFileSystem(ctrl *gomock.Controller) *MockFileSystem
func (*MockFileSystem) EXPECT ¶
func (_m *MockFileSystem) EXPECT() *_MockFileSystemRecorder
func (*MockFileSystem) IsNotExist ¶
func (_m *MockFileSystem) IsNotExist(err error) bool
Click to show internal directories.
Click to hide internal directories.