Documentation ¶
Overview ¶
Package mock_awsutils is a generated GoMock package.
Index ¶
- type MockAPIs
- func (m *MockAPIs) AllocAllIPAddress(arg0 string) error
- func (m *MockAPIs) AllocENI(arg0 bool, arg1 []*string, arg2 string) (string, error)
- func (m *MockAPIs) AllocIPAddress(arg0 string) error
- func (m *MockAPIs) AllocIPAddresses(arg0 string, arg1 int64) error
- func (m *MockAPIs) DescribeENI(arg0 string) ([]*ec2.NetworkInterfacePrivateIpAddress, *string, error)
- func (m *MockAPIs) EXPECT() *MockAPIsMockRecorder
- func (m *MockAPIs) FreeENI(arg0 string) error
- func (m *MockAPIs) GetAttachedENIs() ([]awsutils.ENIMetadata, error)
- func (m *MockAPIs) GetENILimit() (int, error)
- func (m *MockAPIs) GetENIipLimit() (int64, error)
- func (m *MockAPIs) GetLocalIPv4() string
- func (m *MockAPIs) GetPrimaryENI() string
- func (m *MockAPIs) GetPrimaryENImac() string
- func (m *MockAPIs) GetVPCIPv4CIDR() string
- func (m *MockAPIs) GetVPCIPv4CIDRs() []*string
- type MockAPIsMockRecorder
- func (mr *MockAPIsMockRecorder) AllocAllIPAddress(arg0 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) AllocENI(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) AllocIPAddress(arg0 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) AllocIPAddresses(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) DescribeENI(arg0 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) FreeENI(arg0 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) GetAttachedENIs() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetENILimit() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetENIipLimit() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetLocalIPv4() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetPrimaryENI() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetPrimaryENImac() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetVPCIPv4CIDR() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetVPCIPv4CIDRs() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIs ¶
type MockAPIs struct {
// contains filtered or unexported fields
}
MockAPIs is a mock of APIs interface
func NewMockAPIs ¶
func NewMockAPIs(ctrl *gomock.Controller) *MockAPIs
NewMockAPIs creates a new mock instance
func (*MockAPIs) AllocAllIPAddress ¶
AllocAllIPAddress mocks base method
func (*MockAPIs) AllocIPAddress ¶
AllocIPAddress mocks base method
func (*MockAPIs) AllocIPAddresses ¶ added in v1.1.0
AllocIPAddresses mocks base method
func (*MockAPIs) DescribeENI ¶
func (m *MockAPIs) DescribeENI(arg0 string) ([]*ec2.NetworkInterfacePrivateIpAddress, *string, error)
DescribeENI mocks base method
func (*MockAPIs) EXPECT ¶
func (m *MockAPIs) EXPECT() *MockAPIsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPIs) GetAttachedENIs ¶
func (m *MockAPIs) GetAttachedENIs() ([]awsutils.ENIMetadata, error)
GetAttachedENIs mocks base method
func (*MockAPIs) GetENILimit ¶
GetENILimit mocks base method
func (*MockAPIs) GetENIipLimit ¶
GetENIipLimit mocks base method
func (*MockAPIs) GetLocalIPv4 ¶
GetLocalIPv4 mocks base method
func (*MockAPIs) GetPrimaryENI ¶
GetPrimaryENI mocks base method
func (*MockAPIs) GetPrimaryENImac ¶ added in v1.2.1
GetPrimaryENImac mocks base method
func (*MockAPIs) GetVPCIPv4CIDR ¶
GetVPCIPv4CIDR mocks base method
func (*MockAPIs) GetVPCIPv4CIDRs ¶ added in v1.3.0
GetVPCIPv4CIDRs mocks base method
type MockAPIsMockRecorder ¶
type MockAPIsMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIsMockRecorder is the mock recorder for MockAPIs
func (*MockAPIsMockRecorder) AllocAllIPAddress ¶
func (mr *MockAPIsMockRecorder) AllocAllIPAddress(arg0 interface{}) *gomock.Call
AllocAllIPAddress indicates an expected call of AllocAllIPAddress
func (*MockAPIsMockRecorder) AllocENI ¶
func (mr *MockAPIsMockRecorder) AllocENI(arg0, arg1, arg2 interface{}) *gomock.Call
AllocENI indicates an expected call of AllocENI
func (*MockAPIsMockRecorder) AllocIPAddress ¶
func (mr *MockAPIsMockRecorder) AllocIPAddress(arg0 interface{}) *gomock.Call
AllocIPAddress indicates an expected call of AllocIPAddress
func (*MockAPIsMockRecorder) AllocIPAddresses ¶ added in v1.1.0
func (mr *MockAPIsMockRecorder) AllocIPAddresses(arg0, arg1 interface{}) *gomock.Call
AllocIPAddresses indicates an expected call of AllocIPAddresses
func (*MockAPIsMockRecorder) DescribeENI ¶
func (mr *MockAPIsMockRecorder) DescribeENI(arg0 interface{}) *gomock.Call
DescribeENI indicates an expected call of DescribeENI
func (*MockAPIsMockRecorder) FreeENI ¶
func (mr *MockAPIsMockRecorder) FreeENI(arg0 interface{}) *gomock.Call
FreeENI indicates an expected call of FreeENI
func (*MockAPIsMockRecorder) GetAttachedENIs ¶
func (mr *MockAPIsMockRecorder) GetAttachedENIs() *gomock.Call
GetAttachedENIs indicates an expected call of GetAttachedENIs
func (*MockAPIsMockRecorder) GetENILimit ¶
func (mr *MockAPIsMockRecorder) GetENILimit() *gomock.Call
GetENILimit indicates an expected call of GetENILimit
func (*MockAPIsMockRecorder) GetENIipLimit ¶
func (mr *MockAPIsMockRecorder) GetENIipLimit() *gomock.Call
GetENIipLimit indicates an expected call of GetENIipLimit
func (*MockAPIsMockRecorder) GetLocalIPv4 ¶
func (mr *MockAPIsMockRecorder) GetLocalIPv4() *gomock.Call
GetLocalIPv4 indicates an expected call of GetLocalIPv4
func (*MockAPIsMockRecorder) GetPrimaryENI ¶
func (mr *MockAPIsMockRecorder) GetPrimaryENI() *gomock.Call
GetPrimaryENI indicates an expected call of GetPrimaryENI
func (*MockAPIsMockRecorder) GetPrimaryENImac ¶ added in v1.2.1
func (mr *MockAPIsMockRecorder) GetPrimaryENImac() *gomock.Call
GetPrimaryENImac indicates an expected call of GetPrimaryENImac
func (*MockAPIsMockRecorder) GetVPCIPv4CIDR ¶
func (mr *MockAPIsMockRecorder) GetVPCIPv4CIDR() *gomock.Call
GetVPCIPv4CIDR indicates an expected call of GetVPCIPv4CIDR
func (*MockAPIsMockRecorder) GetVPCIPv4CIDRs ¶ added in v1.3.0
func (mr *MockAPIsMockRecorder) GetVPCIPv4CIDRs() *gomock.Call
GetVPCIPv4CIDRs indicates an expected call of GetVPCIPv4CIDRs