Documentation ¶
Overview ¶
Package mock_awsutils is a generated GoMock package.
Index ¶
- type MockAPIs
- 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 int) error
- func (m *MockAPIs) DeallocIPAddresses(arg0 string, arg1 []string) error
- func (m *MockAPIs) DescribeAllENIs() (awsutils.DescribeAllENIsResult, error)
- func (m *MockAPIs) EXPECT() *MockAPIsMockRecorder
- func (m *MockAPIs) FreeENI(arg0 string) error
- func (m *MockAPIs) GetAttachedENIs() ([]awsutils.ENIMetadata, error)
- func (m *MockAPIs) GetENIIPv4Limit() (int, error)
- func (m *MockAPIs) GetENILimit() (int, error)
- func (m *MockAPIs) GetIPv4sFromEC2(arg0 string) ([]*ec2.NetworkInterfacePrivateIpAddress, error)
- func (m *MockAPIs) GetLocalIPv4() string
- func (m *MockAPIs) GetPrimaryENI() string
- func (m *MockAPIs) GetPrimaryENImac() string
- func (m *MockAPIs) GetVPCIPv4CIDRs() []string
- func (m *MockAPIs) IsCNIUnmanagedENI(arg0 string) bool
- func (m *MockAPIs) IsUnmanagedENI(arg0 string) bool
- func (m *MockAPIs) RefreshSGIDs(arg0 string) error
- func (m *MockAPIs) SetCNIUnmanagedENIs(arg0 []string) error
- func (m *MockAPIs) SetUnmanagedENIs(arg0 []string)
- func (m *MockAPIs) WaitForENIAndIPsAttached(arg0 string, arg1 int) (awsutils.ENIMetadata, error)
- type MockAPIsMockRecorder
- 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) DeallocIPAddresses(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) DescribeAllENIs() *gomock.Call
- func (mr *MockAPIsMockRecorder) FreeENI(arg0 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) GetAttachedENIs() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetENIIPv4Limit() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetENILimit() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetIPv4sFromEC2(arg0 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) GetLocalIPv4() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetPrimaryENI() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetPrimaryENImac() *gomock.Call
- func (mr *MockAPIsMockRecorder) GetVPCIPv4CIDRs() *gomock.Call
- func (mr *MockAPIsMockRecorder) IsCNIUnmanagedENI(arg0 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) IsUnmanagedENI(arg0 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) RefreshSGIDs(arg0 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) SetCNIUnmanagedENIs(arg0 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) SetUnmanagedENIs(arg0 interface{}) *gomock.Call
- func (mr *MockAPIsMockRecorder) WaitForENIAndIPsAttached(arg0, arg1 interface{}) *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) AllocIPAddress ¶
AllocIPAddress mocks base method
func (*MockAPIs) AllocIPAddresses ¶ added in v1.1.0
AllocIPAddresses mocks base method
func (*MockAPIs) DeallocIPAddresses ¶ added in v1.5.0
DeallocIPAddresses mocks base method
func (*MockAPIs) DescribeAllENIs ¶ added in v1.6.1
func (m *MockAPIs) DescribeAllENIs() (awsutils.DescribeAllENIsResult, error)
DescribeAllENIs 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) GetENIIPv4Limit ¶ added in v1.6.4
GetENIIPv4Limit mocks base method
func (*MockAPIs) GetENILimit ¶
GetENILimit mocks base method
func (*MockAPIs) GetIPv4sFromEC2 ¶ added in v1.6.1
func (m *MockAPIs) GetIPv4sFromEC2(arg0 string) ([]*ec2.NetworkInterfacePrivateIpAddress, error)
GetIPv4sFromEC2 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) GetVPCIPv4CIDRs ¶ added in v1.3.0
GetVPCIPv4CIDRs mocks base method
func (*MockAPIs) IsCNIUnmanagedENI ¶ added in v1.7.10
IsCNIUnmanagedENI mocks base method
func (*MockAPIs) IsUnmanagedENI ¶ added in v1.7.2
IsUnmanagedENI mocks base method
func (*MockAPIs) RefreshSGIDs ¶ added in v1.7.10
RefreshSGIDs mocks base method
func (*MockAPIs) SetCNIUnmanagedENIs ¶ added in v1.7.10
SetCNIUnmanagedENIs mocks base method
func (*MockAPIs) SetUnmanagedENIs ¶ added in v1.7.2
SetUnmanagedENIs mocks base method
func (*MockAPIs) WaitForENIAndIPsAttached ¶ added in v1.7.2
WaitForENIAndIPsAttached mocks base method
type MockAPIsMockRecorder ¶
type MockAPIsMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIsMockRecorder is the mock recorder for MockAPIs
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) DeallocIPAddresses ¶ added in v1.5.0
func (mr *MockAPIsMockRecorder) DeallocIPAddresses(arg0, arg1 interface{}) *gomock.Call
DeallocIPAddresses indicates an expected call of DeallocIPAddresses
func (*MockAPIsMockRecorder) DescribeAllENIs ¶ added in v1.6.1
func (mr *MockAPIsMockRecorder) DescribeAllENIs() *gomock.Call
DescribeAllENIs indicates an expected call of DescribeAllENIs
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) GetENIIPv4Limit ¶ added in v1.7.0
func (mr *MockAPIsMockRecorder) GetENIIPv4Limit() *gomock.Call
GetENIIPv4Limit indicates an expected call of GetENIIPv4Limit
func (*MockAPIsMockRecorder) GetENILimit ¶
func (mr *MockAPIsMockRecorder) GetENILimit() *gomock.Call
GetENILimit indicates an expected call of GetENILimit
func (*MockAPIsMockRecorder) GetIPv4sFromEC2 ¶ added in v1.6.1
func (mr *MockAPIsMockRecorder) GetIPv4sFromEC2(arg0 interface{}) *gomock.Call
GetIPv4sFromEC2 indicates an expected call of GetIPv4sFromEC2
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) GetVPCIPv4CIDRs ¶ added in v1.3.0
func (mr *MockAPIsMockRecorder) GetVPCIPv4CIDRs() *gomock.Call
GetVPCIPv4CIDRs indicates an expected call of GetVPCIPv4CIDRs
func (*MockAPIsMockRecorder) IsCNIUnmanagedENI ¶ added in v1.7.10
func (mr *MockAPIsMockRecorder) IsCNIUnmanagedENI(arg0 interface{}) *gomock.Call
IsCNIUnmanagedENI indicates an expected call of IsCNIUnmanagedENI
func (*MockAPIsMockRecorder) IsUnmanagedENI ¶ added in v1.7.2
func (mr *MockAPIsMockRecorder) IsUnmanagedENI(arg0 interface{}) *gomock.Call
IsUnmanagedENI indicates an expected call of IsUnmanagedENI
func (*MockAPIsMockRecorder) RefreshSGIDs ¶ added in v1.7.10
func (mr *MockAPIsMockRecorder) RefreshSGIDs(arg0 interface{}) *gomock.Call
RefreshSGIDs indicates an expected call of RefreshSGIDs
func (*MockAPIsMockRecorder) SetCNIUnmanagedENIs ¶ added in v1.7.10
func (mr *MockAPIsMockRecorder) SetCNIUnmanagedENIs(arg0 interface{}) *gomock.Call
SetCNIUnmanagedENIs indicates an expected call of SetCNIUnmanagedENIs
func (*MockAPIsMockRecorder) SetUnmanagedENIs ¶ added in v1.7.2
func (mr *MockAPIsMockRecorder) SetUnmanagedENIs(arg0 interface{}) *gomock.Call
SetUnmanagedENIs indicates an expected call of SetUnmanagedENIs
func (*MockAPIsMockRecorder) WaitForENIAndIPsAttached ¶ added in v1.7.2
func (mr *MockAPIsMockRecorder) WaitForENIAndIPsAttached(arg0, arg1 interface{}) *gomock.Call
WaitForENIAndIPsAttached indicates an expected call of WaitForENIAndIPsAttached