Documentation
¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AllocateAddress(arg0 context.Context, arg1 *computing.AllocateAddressInput) (*computing.AllocateAddressOutput, error)
- func (m *MockClient) AssociateAddress(arg0 context.Context, arg1 *computing.AssociateAddressInput) (*computing.AssociateAddressOutput, error)
- func (m *MockClient) AuthorizeSecurityGroupIngress(arg0 context.Context, arg1 *computing.AuthorizeSecurityGroupIngressInput) (*computing.AuthorizeSecurityGroupIngressOutput, error)
- func (m *MockClient) CreateSecurityGroup(arg0 context.Context, arg1 *computing.CreateSecurityGroupInput) (*computing.CreateSecurityGroupOutput, error)
- func (m *MockClient) DeleteSecurityGroup(arg0 context.Context, arg1 *computing.DeleteSecurityGroupInput) (*computing.DeleteSecurityGroupOutput, error)
- func (m *MockClient) DeregisterInstancesFromSecurityGroup(arg0 context.Context, ...) (*computing.DeregisterInstancesFromSecurityGroupOutput, error)
- func (m *MockClient) DescribeAddresses(arg0 context.Context, arg1 *computing.DescribeAddressesInput) (*computing.DescribeAddressesOutput, error)
- func (m *MockClient) DescribeImages(arg0 context.Context, arg1 *computing.DescribeImagesInput) (*computing.DescribeImagesOutput, error)
- func (m *MockClient) DescribeInstances(arg0 context.Context, arg1 *computing.DescribeInstancesInput) (*computing.DescribeInstancesOutput, error)
- func (m *MockClient) DescribeSecurityGroups(arg0 context.Context, arg1 *computing.DescribeSecurityGroupsInput) (*computing.DescribeSecurityGroupsOutput, error)
- func (m *MockClient) DisassociateAddress(arg0 context.Context, arg1 *computing.DisassociateAddressInput) (*computing.DisassociateAddressOutput, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) RegisterInstancesWithSecurityGroup(arg0 context.Context, arg1 *computing.RegisterInstancesWithSecurityGroupInput) (*computing.RegisterInstancesWithSecurityGroupOutput, error)
- func (m *MockClient) ReleaseAddress(arg0 context.Context, arg1 *computing.ReleaseAddressInput) (*computing.ReleaseAddressOutput, error)
- func (m *MockClient) RevokeSecurityGroupIngress(arg0 context.Context, arg1 *computing.RevokeSecurityGroupIngressInput) (*computing.RevokeSecurityGroupIngressOutput, error)
- func (m *MockClient) RunInstances(arg0 context.Context, arg1 *computing.RunInstancesInput) (*computing.RunInstancesOutput, error)
- func (m *MockClient) StopInstances(arg0 context.Context, arg1 *computing.StopInstancesInput) (*computing.StopInstancesOutput, error)
- func (m *MockClient) TerminateInstances(arg0 context.Context, arg1 *computing.TerminateInstancesInput) (*computing.TerminateInstancesOutput, error)
- func (m *MockClient) WaitUntilInstanceDeleted(arg0 context.Context, arg1 *computing.DescribeInstancesInput) error
- func (m *MockClient) WaitUntilInstanceRunning(arg0 context.Context, arg1 *computing.DescribeInstancesInput) error
- func (m *MockClient) WaitUntilInstanceStopped(arg0 context.Context, arg1 *computing.DescribeInstancesInput) error
- type MockClientFactory
- type MockClientFactoryMockRecorder
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AllocateAddress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AssociateAddress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AuthorizeSecurityGroupIngress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateSecurityGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteSecurityGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeregisterInstancesFromSecurityGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeAddresses(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeImages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeInstances(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeSecurityGroups(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DisassociateAddress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RegisterInstancesWithSecurityGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ReleaseAddress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RevokeSecurityGroupIngress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RunInstances(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StopInstances(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TerminateInstances(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) WaitUntilInstanceDeleted(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) WaitUntilInstanceRunning(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) WaitUntilInstanceStopped(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) AllocateAddress ¶
func (m *MockClient) AllocateAddress(arg0 context.Context, arg1 *computing.AllocateAddressInput) (*computing.AllocateAddressOutput, error)
AllocateAddress mocks base method
func (*MockClient) AssociateAddress ¶
func (m *MockClient) AssociateAddress(arg0 context.Context, arg1 *computing.AssociateAddressInput) (*computing.AssociateAddressOutput, error)
AssociateAddress mocks base method
func (*MockClient) AuthorizeSecurityGroupIngress ¶
func (m *MockClient) AuthorizeSecurityGroupIngress(arg0 context.Context, arg1 *computing.AuthorizeSecurityGroupIngressInput) (*computing.AuthorizeSecurityGroupIngressOutput, error)
AuthorizeSecurityGroupIngress mocks base method
func (*MockClient) CreateSecurityGroup ¶
func (m *MockClient) CreateSecurityGroup(arg0 context.Context, arg1 *computing.CreateSecurityGroupInput) (*computing.CreateSecurityGroupOutput, error)
CreateSecurityGroup mocks base method
func (*MockClient) DeleteSecurityGroup ¶
func (m *MockClient) DeleteSecurityGroup(arg0 context.Context, arg1 *computing.DeleteSecurityGroupInput) (*computing.DeleteSecurityGroupOutput, error)
DeleteSecurityGroup mocks base method
func (*MockClient) DeregisterInstancesFromSecurityGroup ¶
func (m *MockClient) DeregisterInstancesFromSecurityGroup(arg0 context.Context, arg1 *computing.DeregisterInstancesFromSecurityGroupInput) (*computing.DeregisterInstancesFromSecurityGroupOutput, error)
DeregisterInstancesFromSecurityGroup mocks base method
func (*MockClient) DescribeAddresses ¶
func (m *MockClient) DescribeAddresses(arg0 context.Context, arg1 *computing.DescribeAddressesInput) (*computing.DescribeAddressesOutput, error)
DescribeAddresses mocks base method
func (*MockClient) DescribeImages ¶
func (m *MockClient) DescribeImages(arg0 context.Context, arg1 *computing.DescribeImagesInput) (*computing.DescribeImagesOutput, error)
DescribeImages mocks base method
func (*MockClient) DescribeInstances ¶
func (m *MockClient) DescribeInstances(arg0 context.Context, arg1 *computing.DescribeInstancesInput) (*computing.DescribeInstancesOutput, error)
DescribeInstances mocks base method
func (*MockClient) DescribeSecurityGroups ¶
func (m *MockClient) DescribeSecurityGroups(arg0 context.Context, arg1 *computing.DescribeSecurityGroupsInput) (*computing.DescribeSecurityGroupsOutput, error)
DescribeSecurityGroups mocks base method
func (*MockClient) DisassociateAddress ¶
func (m *MockClient) DisassociateAddress(arg0 context.Context, arg1 *computing.DisassociateAddressInput) (*computing.DisassociateAddressOutput, error)
DisassociateAddress mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) RegisterInstancesWithSecurityGroup ¶
func (m *MockClient) RegisterInstancesWithSecurityGroup(arg0 context.Context, arg1 *computing.RegisterInstancesWithSecurityGroupInput) (*computing.RegisterInstancesWithSecurityGroupOutput, error)
RegisterInstancesWithSecurityGroup mocks base method
func (*MockClient) ReleaseAddress ¶
func (m *MockClient) ReleaseAddress(arg0 context.Context, arg1 *computing.ReleaseAddressInput) (*computing.ReleaseAddressOutput, error)
ReleaseAddress mocks base method
func (*MockClient) RevokeSecurityGroupIngress ¶
func (m *MockClient) RevokeSecurityGroupIngress(arg0 context.Context, arg1 *computing.RevokeSecurityGroupIngressInput) (*computing.RevokeSecurityGroupIngressOutput, error)
RevokeSecurityGroupIngress mocks base method
func (*MockClient) RunInstances ¶
func (m *MockClient) RunInstances(arg0 context.Context, arg1 *computing.RunInstancesInput) (*computing.RunInstancesOutput, error)
RunInstances mocks base method
func (*MockClient) StopInstances ¶
func (m *MockClient) StopInstances(arg0 context.Context, arg1 *computing.StopInstancesInput) (*computing.StopInstancesOutput, error)
StopInstances mocks base method
func (*MockClient) TerminateInstances ¶
func (m *MockClient) TerminateInstances(arg0 context.Context, arg1 *computing.TerminateInstancesInput) (*computing.TerminateInstancesOutput, error)
TerminateInstances mocks base method
func (*MockClient) WaitUntilInstanceDeleted ¶
func (m *MockClient) WaitUntilInstanceDeleted(arg0 context.Context, arg1 *computing.DescribeInstancesInput) error
WaitUntilInstanceDeleted mocks base method
func (*MockClient) WaitUntilInstanceRunning ¶
func (m *MockClient) WaitUntilInstanceRunning(arg0 context.Context, arg1 *computing.DescribeInstancesInput) error
WaitUntilInstanceRunning mocks base method
func (*MockClient) WaitUntilInstanceStopped ¶
func (m *MockClient) WaitUntilInstanceStopped(arg0 context.Context, arg1 *computing.DescribeInstancesInput) error
WaitUntilInstanceStopped mocks base method
type MockClientFactory ¶
type MockClientFactory struct {
// contains filtered or unexported fields
}
MockClientFactory is a mock of ClientFactory interface
func NewMockClientFactory ¶
func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory
NewMockClientFactory creates a new mock instance
func (*MockClientFactory) CreateClient ¶
func (m *MockClientFactory) CreateClient(arg0, arg1, arg2 string) (cloud.Client, error)
CreateClient mocks base method
func (*MockClientFactory) EXPECT ¶
func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockClientFactoryMockRecorder ¶
type MockClientFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockClientFactoryMockRecorder is the mock recorder for MockClientFactory
func (*MockClientFactoryMockRecorder) CreateClient ¶
func (mr *MockClientFactoryMockRecorder) CreateClient(arg0, arg1, arg2 interface{}) *gomock.Call
CreateClient indicates an expected call of CreateClient
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) AllocateAddress ¶
func (mr *MockClientMockRecorder) AllocateAddress(arg0, arg1 interface{}) *gomock.Call
AllocateAddress indicates an expected call of AllocateAddress
func (*MockClientMockRecorder) AssociateAddress ¶
func (mr *MockClientMockRecorder) AssociateAddress(arg0, arg1 interface{}) *gomock.Call
AssociateAddress indicates an expected call of AssociateAddress
func (*MockClientMockRecorder) AuthorizeSecurityGroupIngress ¶
func (mr *MockClientMockRecorder) AuthorizeSecurityGroupIngress(arg0, arg1 interface{}) *gomock.Call
AuthorizeSecurityGroupIngress indicates an expected call of AuthorizeSecurityGroupIngress
func (*MockClientMockRecorder) CreateSecurityGroup ¶
func (mr *MockClientMockRecorder) CreateSecurityGroup(arg0, arg1 interface{}) *gomock.Call
CreateSecurityGroup indicates an expected call of CreateSecurityGroup
func (*MockClientMockRecorder) DeleteSecurityGroup ¶
func (mr *MockClientMockRecorder) DeleteSecurityGroup(arg0, arg1 interface{}) *gomock.Call
DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup
func (*MockClientMockRecorder) DeregisterInstancesFromSecurityGroup ¶
func (mr *MockClientMockRecorder) DeregisterInstancesFromSecurityGroup(arg0, arg1 interface{}) *gomock.Call
DeregisterInstancesFromSecurityGroup indicates an expected call of DeregisterInstancesFromSecurityGroup
func (*MockClientMockRecorder) DescribeAddresses ¶
func (mr *MockClientMockRecorder) DescribeAddresses(arg0, arg1 interface{}) *gomock.Call
DescribeAddresses indicates an expected call of DescribeAddresses
func (*MockClientMockRecorder) DescribeImages ¶
func (mr *MockClientMockRecorder) DescribeImages(arg0, arg1 interface{}) *gomock.Call
DescribeImages indicates an expected call of DescribeImages
func (*MockClientMockRecorder) DescribeInstances ¶
func (mr *MockClientMockRecorder) DescribeInstances(arg0, arg1 interface{}) *gomock.Call
DescribeInstances indicates an expected call of DescribeInstances
func (*MockClientMockRecorder) DescribeSecurityGroups ¶
func (mr *MockClientMockRecorder) DescribeSecurityGroups(arg0, arg1 interface{}) *gomock.Call
DescribeSecurityGroups indicates an expected call of DescribeSecurityGroups
func (*MockClientMockRecorder) DisassociateAddress ¶
func (mr *MockClientMockRecorder) DisassociateAddress(arg0, arg1 interface{}) *gomock.Call
DisassociateAddress indicates an expected call of DisassociateAddress
func (*MockClientMockRecorder) RegisterInstancesWithSecurityGroup ¶
func (mr *MockClientMockRecorder) RegisterInstancesWithSecurityGroup(arg0, arg1 interface{}) *gomock.Call
RegisterInstancesWithSecurityGroup indicates an expected call of RegisterInstancesWithSecurityGroup
func (*MockClientMockRecorder) ReleaseAddress ¶
func (mr *MockClientMockRecorder) ReleaseAddress(arg0, arg1 interface{}) *gomock.Call
ReleaseAddress indicates an expected call of ReleaseAddress
func (*MockClientMockRecorder) RevokeSecurityGroupIngress ¶
func (mr *MockClientMockRecorder) RevokeSecurityGroupIngress(arg0, arg1 interface{}) *gomock.Call
RevokeSecurityGroupIngress indicates an expected call of RevokeSecurityGroupIngress
func (*MockClientMockRecorder) RunInstances ¶
func (mr *MockClientMockRecorder) RunInstances(arg0, arg1 interface{}) *gomock.Call
RunInstances indicates an expected call of RunInstances
func (*MockClientMockRecorder) StopInstances ¶
func (mr *MockClientMockRecorder) StopInstances(arg0, arg1 interface{}) *gomock.Call
StopInstances indicates an expected call of StopInstances
func (*MockClientMockRecorder) TerminateInstances ¶
func (mr *MockClientMockRecorder) TerminateInstances(arg0, arg1 interface{}) *gomock.Call
TerminateInstances indicates an expected call of TerminateInstances
func (*MockClientMockRecorder) WaitUntilInstanceDeleted ¶
func (mr *MockClientMockRecorder) WaitUntilInstanceDeleted(arg0, arg1 interface{}) *gomock.Call
WaitUntilInstanceDeleted indicates an expected call of WaitUntilInstanceDeleted
func (*MockClientMockRecorder) WaitUntilInstanceRunning ¶
func (mr *MockClientMockRecorder) WaitUntilInstanceRunning(arg0, arg1 interface{}) *gomock.Call
WaitUntilInstanceRunning indicates an expected call of WaitUntilInstanceRunning
func (*MockClientMockRecorder) WaitUntilInstanceStopped ¶
func (mr *MockClientMockRecorder) WaitUntilInstanceStopped(arg0, arg1 interface{}) *gomock.Call
WaitUntilInstanceStopped indicates an expected call of WaitUntilInstanceStopped