mock_client

package
v0.0.0-...-ec39785 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Package mock_client provides mock error implementations for ECS client testing

Index

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

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.

func (*MockECSClientFactory) NewClient

func (m *MockECSClientFactory) NewClient() (ecs.ECSClient, error)

NewClient 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

type MockQuotaExceededError struct {
	Available uint
	Requested uint
}

MockQuotaExceededError creates a mock error that implements ratelimit.QuotaExceededError interface

func (*MockQuotaExceededError) Error

func (e *MockQuotaExceededError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL