Documentation ¶
Index ¶
- type MockPlugin
- func (_m *MockPlugin) Drain(_param0 *types0.Any, _param1 instance.Description) error
- func (_m *MockPlugin) EXPECT() *_MockPluginRecorder
- func (_m *MockPlugin) Healthy(_param0 *types0.Any, _param1 instance.Description) (flavor.Health, error)
- func (_m *MockPlugin) Prepare(_param0 *types0.Any, _param1 instance.Spec, _param2 types.AllocationMethod) (instance.Spec, error)
- func (_m *MockPlugin) Validate(_param0 *types0.Any, _param1 types.AllocationMethod) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPlugin ¶
type MockPlugin struct {
// contains filtered or unexported fields
}
Mock of Plugin interface
func NewMockPlugin ¶
func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin
func (*MockPlugin) Drain ¶
func (_m *MockPlugin) Drain(_param0 *types0.Any, _param1 instance.Description) error
func (*MockPlugin) EXPECT ¶
func (_m *MockPlugin) EXPECT() *_MockPluginRecorder
func (*MockPlugin) Healthy ¶
func (_m *MockPlugin) Healthy(_param0 *types0.Any, _param1 instance.Description) (flavor.Health, error)
func (*MockPlugin) Prepare ¶
func (_m *MockPlugin) Prepare(_param0 *types0.Any, _param1 instance.Spec, _param2 types.AllocationMethod) (instance.Spec, error)
func (*MockPlugin) Validate ¶
func (_m *MockPlugin) Validate(_param0 *types0.Any, _param1 types.AllocationMethod) error
Click to show internal directories.
Click to hide internal directories.