MCPcopy
hub / github.com/google/cadvisor / MockContainerHandler

Struct MockContainerHandler

lib/container/testing/mock_handler.go:25–29  ·  view source on GitHub ↗

This struct mocks a container handler.

Source from the content-addressed store, hash-verified

23
24// This struct mocks a container handler.
25type MockContainerHandler struct {
26 mock.Mock
27 Name string
28 Aliases []string
29}
30
31func NewMockContainerHandler(containerName string) *MockContainerHandler {
32 return &MockContainerHandler{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected