mock_artifact_manager

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package mock_artifact_manager is a generated GoMock package.

Index

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

Copy mocks base method.

func (*MockArtifactManager) DeleteBuild

func (m *MockArtifactManager) DeleteBuild(project, buildName, buildVersion string) error

DeleteBuild mocks base method.

func (*MockArtifactManager) EXPECT

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

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

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 interface{}) *gomock.Call

CheckArtifactExists indicates an expected call of CheckArtifactExists.

func (*MockArtifactManagerMockRecorder) Copy

func (mr *MockArtifactManagerMockRecorder) Copy(params interface{}) *gomock.Call

Copy indicates an expected call of Copy.

func (*MockArtifactManagerMockRecorder) DeleteBuild

func (mr *MockArtifactManagerMockRecorder) DeleteBuild(project, buildName, buildVersion interface{}) *gomock.Call

DeleteBuild indicates an expected call of DeleteBuild.

func (*MockArtifactManagerMockRecorder) GetFileInfo

func (mr *MockArtifactManagerMockRecorder) GetFileInfo(repoName, filePath interface{}) *gomock.Call

GetFileInfo indicates an expected call of GetFileInfo.

func (*MockArtifactManagerMockRecorder) GetFolderInfo

func (mr *MockArtifactManagerMockRecorder) GetFolderInfo(repoName, folderPath interface{}) *gomock.Call

GetFolderInfo indicates an expected call of GetFolderInfo.

func (*MockArtifactManagerMockRecorder) GetProperties

func (mr *MockArtifactManagerMockRecorder) GetProperties(repoName, filePath interface{}) *gomock.Call

GetProperties indicates an expected call of GetProperties.

func (*MockArtifactManagerMockRecorder) GetRepository

func (mr *MockArtifactManagerMockRecorder) GetRepository(repoName interface{}) *gomock.Call

GetRepository indicates an expected call of GetRepository.

func (*MockArtifactManagerMockRecorder) GetRepositoryMaturity

func (mr *MockArtifactManagerMockRecorder) GetRepositoryMaturity(repoName interface{}) *gomock.Call

GetRepositoryMaturity indicates an expected call of GetRepositoryMaturity.

func (*MockArtifactManagerMockRecorder) GetURL

GetURL indicates an expected call of GetURL.

func (*MockArtifactManagerMockRecorder) Move

func (mr *MockArtifactManagerMockRecorder) Move(params interface{}) *gomock.Call

Move indicates an expected call of Move.

func (*MockArtifactManagerMockRecorder) PromoteDocker

func (mr *MockArtifactManagerMockRecorder) PromoteDocker(params interface{}) *gomock.Call

PromoteDocker indicates an expected call of PromoteDocker.

func (*MockArtifactManagerMockRecorder) PublishBuildInfo

func (mr *MockArtifactManagerMockRecorder) PublishBuildInfo(project, request interface{}) *gomock.Call

PublishBuildInfo indicates an expected call of PublishBuildInfo.

func (*MockArtifactManagerMockRecorder) Search

func (mr *MockArtifactManagerMockRecorder) Search(ctx, query interface{}) *gomock.Call

Search indicates an expected call of Search.

func (*MockArtifactManagerMockRecorder) SetProperties

func (mr *MockArtifactManagerMockRecorder) SetProperties(repoName, filePath, values interface{}) *gomock.Call

SetProperties indicates an expected call of SetProperties.

func (*MockArtifactManagerMockRecorder) XrayScanBuild

func (mr *MockArtifactManagerMockRecorder) XrayScanBuild(params interface{}) *gomock.Call

XrayScanBuild indicates an expected call of XrayScanBuild.

Jump to

Keyboard shortcuts

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