Documentation ¶
Overview ¶
Package mock_containermetadata is a generated GoMock package.
Index ¶
- type MockDockerMetadataClient
- type MockDockerMetadataClientMockRecorder
- type MockManager
- func (m *MockManager) Clean(arg0 string) error
- func (m *MockManager) Create(arg0 *go_dockerclient.Config, arg1 *go_dockerclient.HostConfig, arg2 *api.Task, ...) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) SetContainerInstanceARN(arg0 string)
- func (m *MockManager) Update(arg0 context.Context, arg1 string, arg2 *api.Task, arg3 string) error
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) Clean(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SetContainerInstanceARN(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDockerMetadataClient ¶
type MockDockerMetadataClient struct {
// contains filtered or unexported fields
}
MockDockerMetadataClient is a mock of DockerMetadataClient interface
func NewMockDockerMetadataClient ¶
func NewMockDockerMetadataClient(ctrl *gomock.Controller) *MockDockerMetadataClient
NewMockDockerMetadataClient creates a new mock instance
func (*MockDockerMetadataClient) EXPECT ¶
func (m *MockDockerMetadataClient) EXPECT() *MockDockerMetadataClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDockerMetadataClient) InspectContainer ¶
func (m *MockDockerMetadataClient) InspectContainer(arg0 context.Context, arg1 string, arg2 time.Duration) (*go_dockerclient.Container, error)
InspectContainer mocks base method
type MockDockerMetadataClientMockRecorder ¶ added in v1.17.3
type MockDockerMetadataClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDockerMetadataClientMockRecorder is the mock recorder for MockDockerMetadataClient
func (*MockDockerMetadataClientMockRecorder) InspectContainer ¶ added in v1.17.3
func (mr *MockDockerMetadataClientMockRecorder) InspectContainer(arg0, arg1, arg2 interface{}) *gomock.Call
InspectContainer indicates an expected call of InspectContainer
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance
func (*MockManager) Create ¶
func (m *MockManager) Create(arg0 *go_dockerclient.Config, arg1 *go_dockerclient.HostConfig, arg2 *api.Task, arg3 string) error
Create mocks base method
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockManager) SetContainerInstanceARN ¶
func (m *MockManager) SetContainerInstanceARN(arg0 string)
SetContainerInstanceARN mocks base method
type MockManagerMockRecorder ¶ added in v1.17.3
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager
func (*MockManagerMockRecorder) Clean ¶ added in v1.17.3
func (mr *MockManagerMockRecorder) Clean(arg0 interface{}) *gomock.Call
Clean indicates an expected call of Clean
func (*MockManagerMockRecorder) Create ¶ added in v1.17.3
func (mr *MockManagerMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockManagerMockRecorder) SetContainerInstanceARN ¶ added in v1.17.3
func (mr *MockManagerMockRecorder) SetContainerInstanceARN(arg0 interface{}) *gomock.Call
SetContainerInstanceARN indicates an expected call of SetContainerInstanceARN
func (*MockManagerMockRecorder) Update ¶ added in v1.17.3
func (mr *MockManagerMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Update indicates an expected call of Update