Documentation ¶
Overview ¶
Package mock_metadata is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetAvailabilityZone() (string, error)
- func (m *MockInterface) GetInstanceID() (string, error)
- func (m *MockInterface) GetInstanceName() (string, error)
- func (m *MockInterface) GetInstanceType() (metadata.InstanceType, error)
- func (m *MockInterface) GetInstanceTypeEx() (metadata.InstanceTypeEx, error)
- func (m *MockInterface) GetLinkGateway(arg0, arg1 string) (string, error)
- func (m *MockInterface) GetLinkMask(arg0, arg1 string) (string, error)
- func (m *MockInterface) GetLocalIPv4() (string, error)
- func (m *MockInterface) GetRegion() (string, error)
- func (m *MockInterface) GetSubnetID() (string, error)
- func (m *MockInterface) GetVPCID() (string, error)
- func (m *MockInterface) GetVifFeatures(macAddress string) (string, error)
- func (m *MockInterface) ListMacs() ([]string, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) GetAvailabilityZone() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetInstanceID() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetInstanceName() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetInstanceType() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetInstanceTypeEx() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetLinkGateway(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetLinkMask(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetLocalIPv4() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetRegion() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetSubnetID() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetVPCID() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetVifFeatures(macAddress interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListMacs() *gomock.Call
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 ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
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 ¶
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 ¶
func (m *MockInterface) GetVifFeatures(macAddress string) (string, error)
GetVifFeatures mocks base method.
func (*MockInterface) ListMacs ¶
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 ¶
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 ¶
func (mr *MockInterfaceMockRecorder) GetVifFeatures(macAddress interface{}) *gomock.Call
GetVifFeatures indicates an expected call of GetVifFeatures.
func (*MockInterfaceMockRecorder) ListMacs ¶
func (mr *MockInterfaceMockRecorder) ListMacs() *gomock.Call
ListMacs indicates an expected call of ListMacs.