MCPcopy
hub / github.com/dragonflyoss/dragonfly / NewMockResource

Function NewMockResource

scheduler/resource/standard/resource_mock.go:32–36  ·  view source on GitHub ↗

NewMockResource creates a new mock instance.

(ctrl *gomock.Controller)

Source from the content-addressed store, hash-verified

30
31// NewMockResource creates a new mock instance.
32func NewMockResource(ctrl *gomock.Controller) *MockResource {
33 mock := &MockResource{ctrl: ctrl}
34 mock.recorder = &MockResourceMockRecorder{mock}
35 return mock
36}
37
38// EXPECT returns an object that allows the caller to indicate expected use.
39func (m *MockResource) EXPECT() *MockResourceMockRecorder {

Calls

no outgoing calls