mock

package
v0.7.4-premiumv2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeProvider

type NodeProvider struct {
	// contains filtered or unexported fields
}

NodeProvider is a mock of NodeProvider interface.

func NewMockNodeProvider

func NewMockNodeProvider(ctrl *gomock.Controller) *NodeProvider

NewMockNodeProvider creates a new mock instance.

func (*NodeProvider) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*NodeProvider) GetPlatformSubFaultDomain

func (m *NodeProvider) GetPlatformSubFaultDomain() (string, error)

GetPlatformSubFaultDomain mocks base method.

func (*NodeProvider) GetZone

func (m *NodeProvider) GetZone(arg0 context.Context, arg1 types.NodeName) (cloudprovider.Zone, error)

GetZone mocks base method.

func (*NodeProvider) InstanceID

func (m *NodeProvider) InstanceID(arg0 context.Context, arg1 types.NodeName) (string, error)

InstanceID mocks base method.

func (*NodeProvider) InstanceType

func (m *NodeProvider) InstanceType(arg0 context.Context, arg1 types.NodeName) (string, error)

InstanceType mocks base method.

func (*NodeProvider) NodeAddresses

func (m *NodeProvider) NodeAddresses(arg0 context.Context, arg1 types.NodeName) ([]v1.NodeAddress, error)

NodeAddresses mocks base method.

type NodeProviderMockRecorder

type NodeProviderMockRecorder struct {
	// contains filtered or unexported fields
}

NodeProviderMockRecorder is the mock recorder for NodeProvider.

func (*NodeProviderMockRecorder) GetPlatformSubFaultDomain

func (mr *NodeProviderMockRecorder) GetPlatformSubFaultDomain() *gomock.Call

GetPlatformSubFaultDomain indicates an expected call of GetPlatformSubFaultDomain.

func (*NodeProviderMockRecorder) GetZone

func (mr *NodeProviderMockRecorder) GetZone(arg0, arg1 interface{}) *gomock.Call

GetZone indicates an expected call of GetZone.

func (*NodeProviderMockRecorder) InstanceID

func (mr *NodeProviderMockRecorder) InstanceID(arg0, arg1 interface{}) *gomock.Call

InstanceID indicates an expected call of InstanceID.

func (*NodeProviderMockRecorder) InstanceType

func (mr *NodeProviderMockRecorder) InstanceType(arg0, arg1 interface{}) *gomock.Call

InstanceType indicates an expected call of InstanceType.

func (*NodeProviderMockRecorder) NodeAddresses

func (mr *NodeProviderMockRecorder) NodeAddresses(arg0, arg1 interface{}) *gomock.Call

NodeAddresses indicates an expected call of NodeAddresses.

Jump to

Keyboard shortcuts

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