Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
Docker is an autogenerated mock type for the Docker type
func NewDocker ¶
NewDocker creates a new instance of Docker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Docker) Cache ¶ added in v1.15.12
func (_m *Docker) Cache(store ...string) (docker.CacheDriver, error)
Cache provides a mock function with given fields: store
func (*Docker) EXPECT ¶
func (_m *Docker) EXPECT() *Docker_Expecter
type Docker_Cache_Call ¶ added in v1.15.12
Docker_Cache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cache'
func (*Docker_Cache_Call) Return ¶ added in v1.15.12
func (_c *Docker_Cache_Call) Return(_a0 docker.CacheDriver, _a1 error) *Docker_Cache_Call
func (*Docker_Cache_Call) Run ¶ added in v1.15.12
func (_c *Docker_Cache_Call) Run(run func(store ...string)) *Docker_Cache_Call
func (*Docker_Cache_Call) RunAndReturn ¶ added in v1.15.12
func (_c *Docker_Cache_Call) RunAndReturn(run func(...string) (docker.CacheDriver, error)) *Docker_Cache_Call
type Docker_Database_Call ¶
Docker_Database_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Database'
func (*Docker_Database_Call) Return ¶
func (_c *Docker_Database_Call) Return(_a0 docker.Database, _a1 error) *Docker_Database_Call
func (*Docker_Database_Call) Run ¶
func (_c *Docker_Database_Call) Run(run func(connection ...string)) *Docker_Database_Call
func (*Docker_Database_Call) RunAndReturn ¶
func (_c *Docker_Database_Call) RunAndReturn(run func(...string) (docker.Database, error)) *Docker_Database_Call
type Docker_Expecter ¶
type Docker_Expecter struct {
// contains filtered or unexported fields
}
func (*Docker_Expecter) Cache ¶ added in v1.15.12
func (_e *Docker_Expecter) Cache(store ...interface{}) *Docker_Cache_Call
Cache is a helper method to define mock.On call
- store ...string
func (*Docker_Expecter) Database ¶
func (_e *Docker_Expecter) Database(connection ...interface{}) *Docker_Database_Call
Database is a helper method to define mock.On call
- connection ...string
func (*Docker_Expecter) Image ¶ added in v1.15.12
func (_e *Docker_Expecter) Image(image interface{}) *Docker_Image_Call
Image is a helper method to define mock.On call
- image docker.Image
type Docker_Image_Call ¶ added in v1.15.12
Docker_Image_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Image'
func (*Docker_Image_Call) Return ¶ added in v1.15.12
func (_c *Docker_Image_Call) Return(_a0 docker.ImageDriver) *Docker_Image_Call
func (*Docker_Image_Call) Run ¶ added in v1.15.12
func (_c *Docker_Image_Call) Run(run func(image docker.Image)) *Docker_Image_Call
func (*Docker_Image_Call) RunAndReturn ¶ added in v1.15.12
func (_c *Docker_Image_Call) RunAndReturn(run func(docker.Image) docker.ImageDriver) *Docker_Image_Call
type Testing ¶
Testing is an autogenerated mock type for the Testing type
func NewTesting ¶
NewTesting creates a new instance of Testing. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Testing) EXPECT ¶
func (_m *Testing) EXPECT() *Testing_Expecter
type Testing_Docker_Call ¶
Testing_Docker_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Docker'
func (*Testing_Docker_Call) Return ¶
func (_c *Testing_Docker_Call) Return(_a0 testing.Docker) *Testing_Docker_Call
func (*Testing_Docker_Call) Run ¶
func (_c *Testing_Docker_Call) Run(run func()) *Testing_Docker_Call
func (*Testing_Docker_Call) RunAndReturn ¶
func (_c *Testing_Docker_Call) RunAndReturn(run func() testing.Docker) *Testing_Docker_Call
type Testing_Expecter ¶
type Testing_Expecter struct {
// contains filtered or unexported fields
}
func (*Testing_Expecter) Docker ¶
func (_e *Testing_Expecter) Docker() *Testing_Docker_Call
Docker is a helper method to define mock.On call