Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockIaaSClient
- func (m *MockIaaSClient) AddPrivateIP(ctx context.Context, eniID, privateIP string) (string, error)
- func (m *MockIaaSClient) DeletePrivateIP(ctx context.Context, eniID, privateIP string) error
- func (m *MockIaaSClient) EXPECT() *MockIaaSClientMockRecorder
- func (m *MockIaaSClient) GetInstanceType() string
- func (m *MockIaaSClient) GetMwepType() string
- func (m *MockIaaSClient) ListEnis(ctx context.Context, vpcID, instanceID string) ([]client.EniResult, error)
- type MockIaaSClientMockRecorder
- func (mr *MockIaaSClientMockRecorder) AddPrivateIP(ctx, eniID, privateIP interface{}) *gomock.Call
- func (mr *MockIaaSClientMockRecorder) DeletePrivateIP(ctx, eniID, privateIP interface{}) *gomock.Call
- func (mr *MockIaaSClientMockRecorder) GetInstanceType() *gomock.Call
- func (mr *MockIaaSClientMockRecorder) GetMwepType() *gomock.Call
- func (mr *MockIaaSClientMockRecorder) ListEnis(ctx, vpcID, instanceID interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIaaSClient ¶
type MockIaaSClient struct {
// contains filtered or unexported fields
}
MockIaaSClient is a mock of IaaSClient interface
func NewMockIaaSClient ¶
func NewMockIaaSClient(ctrl *gomock.Controller) *MockIaaSClient
NewMockIaaSClient creates a new mock instance
func (*MockIaaSClient) AddPrivateIP ¶
AddPrivateIP mocks base method
func (*MockIaaSClient) DeletePrivateIP ¶
func (m *MockIaaSClient) DeletePrivateIP(ctx context.Context, eniID, privateIP string) error
DeletePrivateIP mocks base method
func (*MockIaaSClient) EXPECT ¶
func (m *MockIaaSClient) EXPECT() *MockIaaSClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIaaSClient) GetInstanceType ¶
func (m *MockIaaSClient) GetInstanceType() string
GetInstanceType mocks base method
func (*MockIaaSClient) GetMwepType ¶
func (m *MockIaaSClient) GetMwepType() string
GetMwepType mocks base method
type MockIaaSClientMockRecorder ¶
type MockIaaSClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIaaSClientMockRecorder is the mock recorder for MockIaaSClient
func (*MockIaaSClientMockRecorder) AddPrivateIP ¶
func (mr *MockIaaSClientMockRecorder) AddPrivateIP(ctx, eniID, privateIP interface{}) *gomock.Call
AddPrivateIP indicates an expected call of AddPrivateIP
func (*MockIaaSClientMockRecorder) DeletePrivateIP ¶
func (mr *MockIaaSClientMockRecorder) DeletePrivateIP(ctx, eniID, privateIP interface{}) *gomock.Call
DeletePrivateIP indicates an expected call of DeletePrivateIP
func (*MockIaaSClientMockRecorder) GetInstanceType ¶
func (mr *MockIaaSClientMockRecorder) GetInstanceType() *gomock.Call
GetInstanceType indicates an expected call of GetInstanceType
func (*MockIaaSClientMockRecorder) GetMwepType ¶
func (mr *MockIaaSClientMockRecorder) GetMwepType() *gomock.Call
GetMwepType indicates an expected call of GetMwepType
func (*MockIaaSClientMockRecorder) ListEnis ¶
func (mr *MockIaaSClientMockRecorder) ListEnis(ctx, vpcID, instanceID interface{}) *gomock.Call
ListEnis indicates an expected call of ListEnis