flavor

package
v0.0.0-...-a355528 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 *types.Any, _param1 instance.Description) error

func (*MockPlugin) EXPECT

func (_m *MockPlugin) EXPECT() *_MockPluginRecorder

func (*MockPlugin) Healthy

func (_m *MockPlugin) Healthy(_param0 *types.Any, _param1 instance.Description) (flavor.Health, error)

func (*MockPlugin) Prepare

func (_m *MockPlugin) Prepare(_param0 *types.Any, _param1 instance.Spec, _param2 types0.AllocationMethod, _param3 types0.Index) (instance.Spec, error)

func (*MockPlugin) Validate

func (_m *MockPlugin) Validate(_param0 *types.Any, _param1 types0.AllocationMethod) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL