mock

package
v1.30.7 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 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 added in v0.7.13

func NewMockNodeProvider(ctrl *gomock.Controller) *NodeProvider

NewMockNodeProvider creates a new mock instance.

func (*NodeProvider) EXPECT added in v0.7.13

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

func (*NodeProvider) GetPlatformSubFaultDomain added in v0.7.13

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 added in v0.7.13

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

NodeProviderMockRecorder is the mock recorder for NodeProvider.

func (*NodeProviderMockRecorder) GetPlatformSubFaultDomain added in v0.7.13

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

GetPlatformSubFaultDomain indicates an expected call of GetPlatformSubFaultDomain.

func (*NodeProviderMockRecorder) GetZone added in v0.7.13

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

GetZone indicates an expected call of GetZone.

func (*NodeProviderMockRecorder) InstanceID added in v0.7.13

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

InstanceID indicates an expected call of InstanceID.

func (*NodeProviderMockRecorder) InstanceType added in v0.7.13

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

InstanceType indicates an expected call of InstanceType.

func (*NodeProviderMockRecorder) NodeAddresses added in v0.7.13

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