Documentation
¶
Overview ¶
Package mock_client is a generated GoMock package.
Package mock_client provides mock error implementations for ECS client testing
Index ¶
- func NewAccessDeniedException() error
- func NewClientException() error
- func NewInvalidParameterException() error
- func NewLimitExceededException() error
- func NewQuotaExceededError() error
- func NewServerException() error
- func NewThrottlingException() error
- type MockAPIError
- type MockECSClientFactory
- type MockECSClientFactoryMockRecorder
- type MockQuotaExceededError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccessDeniedException ¶
func NewAccessDeniedException() error
func NewClientException ¶
func NewClientException() error
func NewInvalidParameterException ¶
func NewInvalidParameterException() error
func NewLimitExceededException ¶
func NewLimitExceededException() error
func NewQuotaExceededError ¶
func NewQuotaExceededError() error
func NewServerException ¶
func NewServerException() error
func NewThrottlingException ¶
func NewThrottlingException() error
Types ¶
type MockAPIError ¶
type MockAPIError struct {
// contains filtered or unexported fields
}
MockAPIError creates a mock error that implements smithy.APIError interface
func (*MockAPIError) Error ¶
func (e *MockAPIError) Error() string
func (*MockAPIError) ErrorCode ¶
func (e *MockAPIError) ErrorCode() string
func (*MockAPIError) ErrorFault ¶
func (e *MockAPIError) ErrorFault() smithy.ErrorFault
func (*MockAPIError) ErrorMessage ¶
func (e *MockAPIError) ErrorMessage() string
type MockECSClientFactory ¶
type MockECSClientFactory struct {
// contains filtered or unexported fields
}
MockECSClientFactory is a mock of ECSClientFactory interface.
func NewMockECSClientFactory ¶
func NewMockECSClientFactory(ctrl *gomock.Controller) *MockECSClientFactory
NewMockECSClientFactory creates a new mock instance.
func (*MockECSClientFactory) EXPECT ¶
func (m *MockECSClientFactory) EXPECT() *MockECSClientFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockECSClientFactory) GetCredentials ¶
func (m *MockECSClientFactory) GetCredentials() aws.CredentialsProvider
GetCredentials mocks base method.
type MockECSClientFactoryMockRecorder ¶
type MockECSClientFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockECSClientFactoryMockRecorder is the mock recorder for MockECSClientFactory.
func (*MockECSClientFactoryMockRecorder) GetCredentials ¶
func (mr *MockECSClientFactoryMockRecorder) GetCredentials() *gomock.Call
GetCredentials indicates an expected call of GetCredentials.
func (*MockECSClientFactoryMockRecorder) NewClient ¶
func (mr *MockECSClientFactoryMockRecorder) NewClient() *gomock.Call
NewClient indicates an expected call of NewClient.
type MockQuotaExceededError ¶
MockQuotaExceededError creates a mock error that implements ratelimit.QuotaExceededError interface
func (*MockQuotaExceededError) Error ¶
func (e *MockQuotaExceededError) Error() string