Documentation ¶
Overview ¶
Package mock_ecr is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) CreateEcrRepository(repositoryName string, isMutableImageTags bool, ...) (*types.Repository, error)
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetAllRepositories() ([]types.Repository, error)
- func (m *MockService) GetAuth() (*types.AuthorizationData, error)
- func (m *MockService) GetImageScanResults(repositoryName, imageDigest, imageTag string) ([]types.ImageScanFindings, error)
- func (m *MockService) GetImages(repositoryName string) ([]types.ImageDetail, error)
- func (m *MockService) GetRepositories(filter func(types.Repository) bool) ([]types.Repository, error)
- func (m *MockService) GetRepository(repositoryName string) (*types.Repository, error)
- func (m *MockService) GetRepositoryNamesByPrefix(prefix string) ([]string, error)
- func (m *MockService) GetRepositoryURI(ctx context.Context) (string, error)
- func (m *MockService) ListImages(repositoryName string, tagStatus types.TagStatus, ...) ([]types.ImageDetail, error)
- func (m *MockService) TagImage(repositoryName, imageDigest, imageTag string) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) CreateEcrRepository(repositoryName, isMutableImageTags, repositoryTags interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetAllRepositories() *gomock.Call
- func (mr *MockServiceMockRecorder) GetAuth() *gomock.Call
- func (mr *MockServiceMockRecorder) GetImageScanResults(repositoryName, imageDigest, imageTag interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetImages(repositoryName interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetRepositories(filter interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetRepository(repositoryName interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetRepositoryNamesByPrefix(prefix interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetRepositoryURI(ctx interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) ListImages(repositoryName, tagStatus, filter interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) TagImage(repositoryName, imageDigest, imageTag interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) CreateEcrRepository ¶
func (m *MockService) CreateEcrRepository(repositoryName string, isMutableImageTags bool, repositoryTags map[string]string) (*types.Repository, error)
CreateEcrRepository mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) GetAllRepositories ¶
func (m *MockService) GetAllRepositories() ([]types.Repository, error)
GetAllRepositories mocks base method.
func (*MockService) GetAuth ¶
func (m *MockService) GetAuth() (*types.AuthorizationData, error)
GetAuth mocks base method.
func (*MockService) GetImageScanResults ¶
func (m *MockService) GetImageScanResults(repositoryName, imageDigest, imageTag string) ([]types.ImageScanFindings, error)
GetImageScanResults mocks base method.
func (*MockService) GetImages ¶
func (m *MockService) GetImages(repositoryName string) ([]types.ImageDetail, error)
GetImages mocks base method.
func (*MockService) GetRepositories ¶
func (m *MockService) GetRepositories(filter func(types.Repository) bool) ([]types.Repository, error)
GetRepositories mocks base method.
func (*MockService) GetRepository ¶
func (m *MockService) GetRepository(repositoryName string) (*types.Repository, error)
GetRepository mocks base method.
func (*MockService) GetRepositoryNamesByPrefix ¶
func (m *MockService) GetRepositoryNamesByPrefix(prefix string) ([]string, error)
GetRepositoryNamesByPrefix mocks base method.
func (*MockService) GetRepositoryURI ¶
func (m *MockService) GetRepositoryURI(ctx context.Context) (string, error)
GetRepositoryURI mocks base method.
func (*MockService) ListImages ¶
func (m *MockService) ListImages(repositoryName string, tagStatus types.TagStatus, filter func(types.ImageDetail) bool) ([]types.ImageDetail, error)
ListImages mocks base method.
func (*MockService) TagImage ¶
func (m *MockService) TagImage(repositoryName, imageDigest, imageTag string) error
TagImage mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) CreateEcrRepository ¶
func (mr *MockServiceMockRecorder) CreateEcrRepository(repositoryName, isMutableImageTags, repositoryTags interface{}) *gomock.Call
CreateEcrRepository indicates an expected call of CreateEcrRepository.
func (*MockServiceMockRecorder) GetAllRepositories ¶
func (mr *MockServiceMockRecorder) GetAllRepositories() *gomock.Call
GetAllRepositories indicates an expected call of GetAllRepositories.
func (*MockServiceMockRecorder) GetAuth ¶
func (mr *MockServiceMockRecorder) GetAuth() *gomock.Call
GetAuth indicates an expected call of GetAuth.
func (*MockServiceMockRecorder) GetImageScanResults ¶
func (mr *MockServiceMockRecorder) GetImageScanResults(repositoryName, imageDigest, imageTag interface{}) *gomock.Call
GetImageScanResults indicates an expected call of GetImageScanResults.
func (*MockServiceMockRecorder) GetImages ¶
func (mr *MockServiceMockRecorder) GetImages(repositoryName interface{}) *gomock.Call
GetImages indicates an expected call of GetImages.
func (*MockServiceMockRecorder) GetRepositories ¶
func (mr *MockServiceMockRecorder) GetRepositories(filter interface{}) *gomock.Call
GetRepositories indicates an expected call of GetRepositories.
func (*MockServiceMockRecorder) GetRepository ¶
func (mr *MockServiceMockRecorder) GetRepository(repositoryName interface{}) *gomock.Call
GetRepository indicates an expected call of GetRepository.
func (*MockServiceMockRecorder) GetRepositoryNamesByPrefix ¶
func (mr *MockServiceMockRecorder) GetRepositoryNamesByPrefix(prefix interface{}) *gomock.Call
GetRepositoryNamesByPrefix indicates an expected call of GetRepositoryNamesByPrefix.
func (*MockServiceMockRecorder) GetRepositoryURI ¶
func (mr *MockServiceMockRecorder) GetRepositoryURI(ctx interface{}) *gomock.Call
GetRepositoryURI indicates an expected call of GetRepositoryURI.
func (*MockServiceMockRecorder) ListImages ¶
func (mr *MockServiceMockRecorder) ListImages(repositoryName, tagStatus, filter interface{}) *gomock.Call
ListImages indicates an expected call of ListImages.
func (*MockServiceMockRecorder) TagImage ¶
func (mr *MockServiceMockRecorder) TagImage(repositoryName, imageDigest, imageTag interface{}) *gomock.Call
TagImage indicates an expected call of TagImage.