Documentation ¶
Overview ¶
Package mock_state is a generated GoMock package.
Index ¶
- type MockAgentState
- func (m *MockAgentState) EXPECT() *MockAgentStateMockRecorder
- func (m *MockAgentState) GetContainerMetadata(arg0 string) (state.ContainerResponse, error)
- func (m *MockAgentState) GetContainerStats(arg0 string) (state.StatsResponse, error)
- func (m *MockAgentState) GetTaskMetadata(arg0 string) (state.TaskResponse, error)
- func (m *MockAgentState) GetTaskMetadataWithTags(arg0 string) (state.TaskResponse, error)
- func (m *MockAgentState) GetTaskMetadataWithTaskNetworkConfig(arg0 string, arg1 *netconfig.NetworkConfigClient) (state.TaskResponse, error)
- func (m *MockAgentState) GetTaskStats(arg0 string) (map[string]*state.StatsResponse, error)
- type MockAgentStateMockRecorder
- func (mr *MockAgentStateMockRecorder) GetContainerMetadata(arg0 interface{}) *gomock.Call
- func (mr *MockAgentStateMockRecorder) GetContainerStats(arg0 interface{}) *gomock.Call
- func (mr *MockAgentStateMockRecorder) GetTaskMetadata(arg0 interface{}) *gomock.Call
- func (mr *MockAgentStateMockRecorder) GetTaskMetadataWithTags(arg0 interface{}) *gomock.Call
- func (mr *MockAgentStateMockRecorder) GetTaskMetadataWithTaskNetworkConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAgentStateMockRecorder) GetTaskStats(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAgentState ¶
type MockAgentState struct {
// contains filtered or unexported fields
}
MockAgentState is a mock of AgentState interface.
func NewMockAgentState ¶
func NewMockAgentState(ctrl *gomock.Controller) *MockAgentState
NewMockAgentState creates a new mock instance.
func (*MockAgentState) EXPECT ¶
func (m *MockAgentState) EXPECT() *MockAgentStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentState) GetContainerMetadata ¶
func (m *MockAgentState) GetContainerMetadata(arg0 string) (state.ContainerResponse, error)
GetContainerMetadata mocks base method.
func (*MockAgentState) GetContainerStats ¶
func (m *MockAgentState) GetContainerStats(arg0 string) (state.StatsResponse, error)
GetContainerStats mocks base method.
func (*MockAgentState) GetTaskMetadata ¶
func (m *MockAgentState) GetTaskMetadata(arg0 string) (state.TaskResponse, error)
GetTaskMetadata mocks base method.
func (*MockAgentState) GetTaskMetadataWithTags ¶
func (m *MockAgentState) GetTaskMetadataWithTags(arg0 string) (state.TaskResponse, error)
GetTaskMetadataWithTags mocks base method.
func (*MockAgentState) GetTaskMetadataWithTaskNetworkConfig ¶
func (m *MockAgentState) GetTaskMetadataWithTaskNetworkConfig(arg0 string, arg1 *netconfig.NetworkConfigClient) (state.TaskResponse, error)
GetTaskMetadataWithTaskNetworkConfig mocks base method.
func (*MockAgentState) GetTaskStats ¶
func (m *MockAgentState) GetTaskStats(arg0 string) (map[string]*state.StatsResponse, error)
GetTaskStats mocks base method.
type MockAgentStateMockRecorder ¶
type MockAgentStateMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentStateMockRecorder is the mock recorder for MockAgentState.
func (*MockAgentStateMockRecorder) GetContainerMetadata ¶
func (mr *MockAgentStateMockRecorder) GetContainerMetadata(arg0 interface{}) *gomock.Call
GetContainerMetadata indicates an expected call of GetContainerMetadata.
func (*MockAgentStateMockRecorder) GetContainerStats ¶
func (mr *MockAgentStateMockRecorder) GetContainerStats(arg0 interface{}) *gomock.Call
GetContainerStats indicates an expected call of GetContainerStats.
func (*MockAgentStateMockRecorder) GetTaskMetadata ¶
func (mr *MockAgentStateMockRecorder) GetTaskMetadata(arg0 interface{}) *gomock.Call
GetTaskMetadata indicates an expected call of GetTaskMetadata.
func (*MockAgentStateMockRecorder) GetTaskMetadataWithTags ¶
func (mr *MockAgentStateMockRecorder) GetTaskMetadataWithTags(arg0 interface{}) *gomock.Call
GetTaskMetadataWithTags indicates an expected call of GetTaskMetadataWithTags.
func (*MockAgentStateMockRecorder) GetTaskMetadataWithTaskNetworkConfig ¶
func (mr *MockAgentStateMockRecorder) GetTaskMetadataWithTaskNetworkConfig(arg0, arg1 interface{}) *gomock.Call
GetTaskMetadataWithTaskNetworkConfig indicates an expected call of GetTaskMetadataWithTaskNetworkConfig.
func (*MockAgentStateMockRecorder) GetTaskStats ¶
func (mr *MockAgentStateMockRecorder) GetTaskStats(arg0 interface{}) *gomock.Call
GetTaskStats indicates an expected call of GetTaskStats.