artifactory

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Asm artifactory.ArtifactoryServicesManager
}

func (*Client) CheckArtifactExists

func (c *Client) CheckArtifactExists(repoName string, artiName string) (bool, error)

func (*Client) Copy

func (c *Client) Copy(params services.MoveCopyParams) (successCount, failedCount int, err error)

func (*Client) DeleteBuild

func (c *Client) DeleteBuild(project string, buildName string, buildVersion string) error

func (*Client) GetFileInfo

func (c *Client) GetFileInfo(repoName string, filePath string) (sdk.FileInfo, error)

func (*Client) GetFolderInfo

func (c *Client) GetFolderInfo(repoName string, folderPath string) (*utils.FolderInfo, error)

func (*Client) GetProperties

func (c *Client) GetProperties(repoName string, filePath string) (map[string][]string, error)

func (*Client) GetRepository

func (c *Client) GetRepository(repoName string) (*services.RepositoryDetails, error)

func (*Client) GetRepositoryMaturity

func (c *Client) GetRepositoryMaturity(repoName string) (string, error)

func (*Client) GetURL

func (c *Client) GetURL() string

func (*Client) Move

func (c *Client) Move(params services.MoveCopyParams) (successCount, failedCount int, err error)

func (*Client) PromoteDocker

func (c *Client) PromoteDocker(params services.DockerPromoteParams) error

func (*Client) PublishBuildInfo

func (c *Client) PublishBuildInfo(project string, request *buildinfo.BuildInfo) error

func (*Client) Search

func (c *Client) Search(_ context.Context, query string) (sdk.ArtifactResults, error)

func (*Client) SetProperties

func (c *Client) SetProperties(repoName string, filePath string, props *utils.Properties) error

func (*Client) XrayScanBuild

func (c *Client) XrayScanBuild(params services.XrayScanParams) ([]byte, error)

type DeleteBuildRequest

type DeleteBuildRequest struct {
	Project         string   `json:"project"`
	BuildName       string   `json:"buildName"`
	BuildNumbers    []string `json:"buildNumbers"`
	DeleteArtifacts bool     `json:"deleteArtifacts"`
	DeleteAll       bool     `json:"deleteAll"`
}

type PropertiesResponse

type PropertiesResponse struct {
	Properties map[string][]string
}

Directories

Path Synopsis
mock_xray
Package mock_xray is a generated GoMock package.
Package mock_xray is a generated GoMock package.

Jump to

Keyboard shortcuts

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