Documentation
¶
Overview ¶
Package mock_artifact_manager is a generated GoMock package.
Index ¶
- type MockArtifactManager
- func (m *MockArtifactManager) CheckArtifactExists(repoName, artiName string) (bool, error)
- func (m *MockArtifactManager) Copy(params services.MoveCopyParams) (int, int, error)
- func (m *MockArtifactManager) DeleteBuild(project, buildName, buildVersion string) error
- func (m *MockArtifactManager) EXPECT() *MockArtifactManagerMockRecorder
- func (m *MockArtifactManager) GetFileInfo(repoName, filePath string) (sdk.FileInfo, error)
- func (m *MockArtifactManager) GetFolderInfo(repoName, folderPath string) (*utils.FolderInfo, error)
- func (m *MockArtifactManager) GetProperties(repoName, filePath string) (map[string][]string, error)
- func (m *MockArtifactManager) GetRepository(repoName string) (*services.RepositoryDetails, error)
- func (m *MockArtifactManager) GetRepositoryMaturity(repoName string) (string, error)
- func (m *MockArtifactManager) GetURL() string
- func (m *MockArtifactManager) Move(params services.MoveCopyParams) (int, int, error)
- func (m *MockArtifactManager) PromoteDocker(params services.DockerPromoteParams) error
- func (m *MockArtifactManager) PublishBuildInfo(project string, request *entities.BuildInfo) error
- func (m *MockArtifactManager) Search(ctx context.Context, query string) (sdk.ArtifactResults, error)
- func (m *MockArtifactManager) SetProperties(repoName, filePath string, values *utils.Properties) error
- func (m *MockArtifactManager) XrayScanBuild(params services.XrayScanParams) ([]byte, error)
- type MockArtifactManagerMockRecorder
- func (mr *MockArtifactManagerMockRecorder) CheckArtifactExists(repoName, artiName any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) Copy(params any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) DeleteBuild(project, buildName, buildVersion any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) GetFileInfo(repoName, filePath any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) GetFolderInfo(repoName, folderPath any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) GetProperties(repoName, filePath any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) GetRepository(repoName any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) GetRepositoryMaturity(repoName any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) GetURL() *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) Move(params any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) PromoteDocker(params any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) PublishBuildInfo(project, request any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) Search(ctx, query any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) SetProperties(repoName, filePath, values any) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) XrayScanBuild(params any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockArtifactManager ¶
type MockArtifactManager struct {
// contains filtered or unexported fields
}
MockArtifactManager is a mock of ArtifactManager interface.
func NewMockArtifactManager ¶
func NewMockArtifactManager(ctrl *gomock.Controller) *MockArtifactManager
NewMockArtifactManager creates a new mock instance.
func (*MockArtifactManager) CheckArtifactExists ¶
func (m *MockArtifactManager) CheckArtifactExists(repoName, artiName string) (bool, error)
CheckArtifactExists mocks base method.
func (*MockArtifactManager) Copy ¶
func (m *MockArtifactManager) Copy(params services.MoveCopyParams) (int, int, error)
Copy mocks base method.
func (*MockArtifactManager) DeleteBuild ¶
func (m *MockArtifactManager) DeleteBuild(project, buildName, buildVersion string) error
DeleteBuild mocks base method.
func (*MockArtifactManager) EXPECT ¶
func (m *MockArtifactManager) EXPECT() *MockArtifactManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockArtifactManager) GetFileInfo ¶
func (m *MockArtifactManager) GetFileInfo(repoName, filePath string) (sdk.FileInfo, error)
GetFileInfo mocks base method.
func (*MockArtifactManager) GetFolderInfo ¶
func (m *MockArtifactManager) GetFolderInfo(repoName, folderPath string) (*utils.FolderInfo, error)
GetFolderInfo mocks base method.
func (*MockArtifactManager) GetProperties ¶
func (m *MockArtifactManager) GetProperties(repoName, filePath string) (map[string][]string, error)
GetProperties mocks base method.
func (*MockArtifactManager) GetRepository ¶
func (m *MockArtifactManager) GetRepository(repoName string) (*services.RepositoryDetails, error)
GetRepository mocks base method.
func (*MockArtifactManager) GetRepositoryMaturity ¶
func (m *MockArtifactManager) GetRepositoryMaturity(repoName string) (string, error)
GetRepositoryMaturity mocks base method.
func (*MockArtifactManager) GetURL ¶
func (m *MockArtifactManager) GetURL() string
GetURL mocks base method.
func (*MockArtifactManager) Move ¶
func (m *MockArtifactManager) Move(params services.MoveCopyParams) (int, int, error)
Move mocks base method.
func (*MockArtifactManager) PromoteDocker ¶
func (m *MockArtifactManager) PromoteDocker(params services.DockerPromoteParams) error
PromoteDocker mocks base method.
func (*MockArtifactManager) PublishBuildInfo ¶
func (m *MockArtifactManager) PublishBuildInfo(project string, request *entities.BuildInfo) error
PublishBuildInfo mocks base method.
func (*MockArtifactManager) Search ¶
func (m *MockArtifactManager) Search(ctx context.Context, query string) (sdk.ArtifactResults, error)
Search mocks base method.
func (*MockArtifactManager) SetProperties ¶
func (m *MockArtifactManager) SetProperties(repoName, filePath string, values *utils.Properties) error
SetProperties mocks base method.
func (*MockArtifactManager) XrayScanBuild ¶
func (m *MockArtifactManager) XrayScanBuild(params services.XrayScanParams) ([]byte, error)
XrayScanBuild mocks base method.
type MockArtifactManagerMockRecorder ¶
type MockArtifactManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockArtifactManagerMockRecorder is the mock recorder for MockArtifactManager.
func (*MockArtifactManagerMockRecorder) CheckArtifactExists ¶
func (mr *MockArtifactManagerMockRecorder) CheckArtifactExists(repoName, artiName any) *gomock.Call
CheckArtifactExists indicates an expected call of CheckArtifactExists.
func (*MockArtifactManagerMockRecorder) Copy ¶
func (mr *MockArtifactManagerMockRecorder) Copy(params any) *gomock.Call
Copy indicates an expected call of Copy.
func (*MockArtifactManagerMockRecorder) DeleteBuild ¶
func (mr *MockArtifactManagerMockRecorder) DeleteBuild(project, buildName, buildVersion any) *gomock.Call
DeleteBuild indicates an expected call of DeleteBuild.
func (*MockArtifactManagerMockRecorder) GetFileInfo ¶
func (mr *MockArtifactManagerMockRecorder) GetFileInfo(repoName, filePath any) *gomock.Call
GetFileInfo indicates an expected call of GetFileInfo.
func (*MockArtifactManagerMockRecorder) GetFolderInfo ¶
func (mr *MockArtifactManagerMockRecorder) GetFolderInfo(repoName, folderPath any) *gomock.Call
GetFolderInfo indicates an expected call of GetFolderInfo.
func (*MockArtifactManagerMockRecorder) GetProperties ¶
func (mr *MockArtifactManagerMockRecorder) GetProperties(repoName, filePath any) *gomock.Call
GetProperties indicates an expected call of GetProperties.
func (*MockArtifactManagerMockRecorder) GetRepository ¶
func (mr *MockArtifactManagerMockRecorder) GetRepository(repoName any) *gomock.Call
GetRepository indicates an expected call of GetRepository.
func (*MockArtifactManagerMockRecorder) GetRepositoryMaturity ¶
func (mr *MockArtifactManagerMockRecorder) GetRepositoryMaturity(repoName any) *gomock.Call
GetRepositoryMaturity indicates an expected call of GetRepositoryMaturity.
func (*MockArtifactManagerMockRecorder) GetURL ¶
func (mr *MockArtifactManagerMockRecorder) GetURL() *gomock.Call
GetURL indicates an expected call of GetURL.
func (*MockArtifactManagerMockRecorder) Move ¶
func (mr *MockArtifactManagerMockRecorder) Move(params any) *gomock.Call
Move indicates an expected call of Move.
func (*MockArtifactManagerMockRecorder) PromoteDocker ¶
func (mr *MockArtifactManagerMockRecorder) PromoteDocker(params any) *gomock.Call
PromoteDocker indicates an expected call of PromoteDocker.
func (*MockArtifactManagerMockRecorder) PublishBuildInfo ¶
func (mr *MockArtifactManagerMockRecorder) PublishBuildInfo(project, request any) *gomock.Call
PublishBuildInfo indicates an expected call of PublishBuildInfo.
func (*MockArtifactManagerMockRecorder) Search ¶
func (mr *MockArtifactManagerMockRecorder) Search(ctx, query any) *gomock.Call
Search indicates an expected call of Search.
func (*MockArtifactManagerMockRecorder) SetProperties ¶
func (mr *MockArtifactManagerMockRecorder) SetProperties(repoName, filePath, values any) *gomock.Call
SetProperties indicates an expected call of SetProperties.
func (*MockArtifactManagerMockRecorder) XrayScanBuild ¶
func (mr *MockArtifactManagerMockRecorder) XrayScanBuild(params any) *gomock.Call
XrayScanBuild indicates an expected call of XrayScanBuild.