mock

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 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 NodeProvider

type NodeProvider struct {
	mock.Mock
}

NodeProvider is an autogenerated mock type for the NodeProvider type

func (*NodeProvider) GetZone

func (_m *NodeProvider) GetZone(ctx context.Context, name types.NodeName) (cloudprovider.Zone, error)

GetZone provides a mock function with given fields: ctx

func (*NodeProvider) InstanceID

func (_m *NodeProvider) InstanceID(ctx context.Context, name types.NodeName) (string, error)

InstanceID provides a mock function with given fields: ctx, name

func (*NodeProvider) InstanceType

func (_m *NodeProvider) InstanceType(ctx context.Context, name types.NodeName) (string, error)

InstanceType provides a mock function with given fields: ctx, name

func (*NodeProvider) NodeAddresses

func (_m *NodeProvider) NodeAddresses(ctx context.Context, name types.NodeName) ([]v1.NodeAddress, error)

NodeAddresses provides a mock function with given fields: ctx, name

Jump to

Keyboard shortcuts

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