core

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadArtifact

func DownloadArtifact(artifactURL string) (string, error)

DownloadArtifact downloads a GitHub Release artifact to a temporary directory.

Types

type JFrogClient added in v0.0.3

type JFrogClient struct {
	artifactory.ArtifactoryServicesManager
}

JFrogClient is an embedded ArtifactoryServicesManager which adds convenience methods.

func NewJFrogClient added in v0.0.3

func NewJFrogClient(jc *JFrogConfig) (*JFrogClient, error)

NewJFrogClient creates a new JFrogClient (ArtifactoryServicesManager).

func (*JFrogClient) UploadGenericArtifact added in v0.0.3

func (c *JFrogClient) UploadGenericArtifact(file, targetPath string) error

UploadGenericArtifact uploads a generic artifact to Artifactory.

type JFrogConfig added in v0.0.3

type JFrogConfig struct {
	Url      string
	User     string
	Password string
}

JFrogConfig contains the required properties to connect to JFrog Artifactory.

Jump to

Keyboard shortcuts

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