Documentation ¶
Index ¶
- func CreateArtifactoryClient(ctx context.Context, url, token string) (artifactory.ArtifactoryServicesManager, error)
- func PrepareBuildInfo(ctx context.Context, artiClient artifact_manager.ArtifactManager, ...) (*buildinfo.BuildInfo, error)
- func PromoteDockerImage(ctx context.Context, artiClient artifact_manager.ArtifactManager, ...) error
- func PromoteFile(artiClient artifact_manager.ArtifactManager, data FileToPromote, ...) error
- func SetPropertiesRecursive(ctx context.Context, client artifact_manager.ArtifactManager, repoType string, ...) error
- type BuildInfoRequest
- type DistribClient
- type FileToPromote
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArtifactoryClient ¶
func CreateArtifactoryClient(ctx context.Context, url, token string) (artifactory.ArtifactoryServicesManager, error)
func PrepareBuildInfo ¶ added in v0.52.0
func PrepareBuildInfo(ctx context.Context, artiClient artifact_manager.ArtifactManager, r BuildInfoRequest) (*buildinfo.BuildInfo, error)
func PromoteDockerImage ¶
func PromoteDockerImage(ctx context.Context, artiClient artifact_manager.ArtifactManager, data FileToPromote, lowMaturity, highMaturity string, props *utils.Properties, skipExistingArtifacts bool) error
func PromoteFile ¶
func PromoteFile(artiClient artifact_manager.ArtifactManager, data FileToPromote, lowMaturity, highMaturity string, props *utils.Properties, skipExistingArtifacts bool) error
func SetPropertiesRecursive ¶ added in v0.53.0
func SetPropertiesRecursive(ctx context.Context, client artifact_manager.ArtifactManager, repoType string, repoName string, maturity string, path string, props *utils.Properties) error
Types ¶
type BuildInfoRequest ¶ added in v0.52.0
type BuildInfoRequest struct { BuildInfoPrefix string ProjectKey string WorkflowName string Version string AgentName string TokenName string RunURL string GitBranch string GitMessage string GitURL string GitHash string DefaultLowMaturitySuffix string RunResults []sdk.WorkflowRunResult RunResultsV2 []sdk.V2WorkflowRunResult }
type DistribClient ¶ added in v0.52.0
type DistribClient struct { Dsm *distribution.DistributionServicesManager ServiceConfig config.Config }
func CreateDistributionClient ¶
func CreateDistributionClient(ctx context.Context, url, token string) (DistribClient, error)
Click to show internal directories.
Click to hide internal directories.