testing

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) EXPECT

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

func (*MockInterface) GetAvailabilityZone

func (m *MockInterface) GetAvailabilityZone() (string, error)

GetAvailabilityZone mocks base method.

func (*MockInterface) GetInstanceID

func (m *MockInterface) GetInstanceID() (string, error)

GetInstanceID mocks base method.

func (*MockInterface) GetInstanceName

func (m *MockInterface) GetInstanceName() (string, error)

GetInstanceName mocks base method.

func (*MockInterface) GetInstanceType added in v1.7.10

func (m *MockInterface) GetInstanceType() (metadata.InstanceType, error)

GetInstanceType mocks base method.

func (*MockInterface) GetInstanceTypeEx

func (m *MockInterface) GetInstanceTypeEx() (metadata.InstanceTypeEx, error)

GetInstanceTypeEx mocks base method.

func (*MockInterface) GetLinkGateway

func (m *MockInterface) GetLinkGateway(arg0, arg1 string) (string, error)

GetLinkGateway mocks base method.

func (*MockInterface) GetLinkMask

func (m *MockInterface) GetLinkMask(arg0, arg1 string) (string, error)

GetLinkMask mocks base method.

func (*MockInterface) GetLocalIPv4

func (m *MockInterface) GetLocalIPv4() (string, error)

GetLocalIPv4 mocks base method.

func (*MockInterface) GetRegion

func (m *MockInterface) GetRegion() (string, error)

GetRegion mocks base method.

func (*MockInterface) GetSubnetID

func (m *MockInterface) GetSubnetID() (string, error)

GetSubnetID mocks base method.

func (*MockInterface) GetVPCID

func (m *MockInterface) GetVPCID() (string, error)

GetVPCID mocks base method.

func (*MockInterface) GetVifFeatures added in v1.6.12

func (m *MockInterface) GetVifFeatures(arg0 string) (string, error)

GetVifFeatures mocks base method.

func (*MockInterface) ListMacs added in v1.6.12

func (m *MockInterface) ListMacs() ([]string, error)

ListMacs mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) GetAvailabilityZone

func (mr *MockInterfaceMockRecorder) GetAvailabilityZone() *gomock.Call

GetAvailabilityZone indicates an expected call of GetAvailabilityZone.

func (*MockInterfaceMockRecorder) GetInstanceID

func (mr *MockInterfaceMockRecorder) GetInstanceID() *gomock.Call

GetInstanceID indicates an expected call of GetInstanceID.

func (*MockInterfaceMockRecorder) GetInstanceName

func (mr *MockInterfaceMockRecorder) GetInstanceName() *gomock.Call

GetInstanceName indicates an expected call of GetInstanceName.

func (*MockInterfaceMockRecorder) GetInstanceType added in v1.7.10

func (mr *MockInterfaceMockRecorder) GetInstanceType() *gomock.Call

GetInstanceType indicates an expected call of GetInstanceType.

func (*MockInterfaceMockRecorder) GetInstanceTypeEx

func (mr *MockInterfaceMockRecorder) GetInstanceTypeEx() *gomock.Call

GetInstanceTypeEx indicates an expected call of GetInstanceTypeEx.

func (*MockInterfaceMockRecorder) GetLinkGateway

func (mr *MockInterfaceMockRecorder) GetLinkGateway(arg0, arg1 interface{}) *gomock.Call

GetLinkGateway indicates an expected call of GetLinkGateway.

func (*MockInterfaceMockRecorder) GetLinkMask

func (mr *MockInterfaceMockRecorder) GetLinkMask(arg0, arg1 interface{}) *gomock.Call

GetLinkMask indicates an expected call of GetLinkMask.

func (*MockInterfaceMockRecorder) GetLocalIPv4

func (mr *MockInterfaceMockRecorder) GetLocalIPv4() *gomock.Call

GetLocalIPv4 indicates an expected call of GetLocalIPv4.

func (*MockInterfaceMockRecorder) GetRegion

func (mr *MockInterfaceMockRecorder) GetRegion() *gomock.Call

GetRegion indicates an expected call of GetRegion.

func (*MockInterfaceMockRecorder) GetSubnetID

func (mr *MockInterfaceMockRecorder) GetSubnetID() *gomock.Call

GetSubnetID indicates an expected call of GetSubnetID.

func (*MockInterfaceMockRecorder) GetVPCID

func (mr *MockInterfaceMockRecorder) GetVPCID() *gomock.Call

GetVPCID indicates an expected call of GetVPCID.

func (*MockInterfaceMockRecorder) GetVifFeatures added in v1.6.12

func (mr *MockInterfaceMockRecorder) GetVifFeatures(arg0 interface{}) *gomock.Call

GetVifFeatures indicates an expected call of GetVifFeatures.

func (*MockInterfaceMockRecorder) ListMacs added in v1.6.12

func (mr *MockInterfaceMockRecorder) ListMacs() *gomock.Call

ListMacs indicates an expected call of ListMacs.

Jump to

Keyboard shortcuts

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