_go

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ArtifactoryMinSupportedVersionForInfoFile = "6.10.0"
View Source
const GoUploadRetries = 3

Variables

This section is empty.

Functions

This section is empty.

Types

type GoParams

type GoParams struct {
	ZipPath    string
	ModPath    string
	InfoPath   string
	ModContent []byte
	Version    string
	Props      string
	TargetRepo string
	ModuleId   string
}

func NewGoParams

func NewGoParams() GoParams

func (*GoParams) GetInfoPath

func (gp *GoParams) GetInfoPath() string

func (*GoParams) GetModContent

func (gp *GoParams) GetModContent() []byte

func (*GoParams) GetModPath

func (gp *GoParams) GetModPath() string

func (*GoParams) GetModuleId

func (gp *GoParams) GetModuleId() string

func (*GoParams) GetProps

func (gp *GoParams) GetProps() string

func (*GoParams) GetTargetRepo

func (gp *GoParams) GetTargetRepo() string

func (*GoParams) GetVersion

func (gp *GoParams) GetVersion() string

func (*GoParams) GetZipPath

func (gp *GoParams) GetZipPath() string

type GoService

type GoService struct {
	ArtDetails auth.ArtifactoryDetails
	// contains filtered or unexported fields
}

func NewGoService

func NewGoService(client *rthttpclient.ArtifactoryHttpClient) *GoService

func (*GoService) GetJfrogHttpClient

func (gs *GoService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient

func (*GoService) PublishPackage

func (gs *GoService) PublishPackage(params GoParams) error

func (*GoService) SetArtDetails

func (gs *GoService) SetArtDetails(artDetails auth.ArtifactoryDetails)

type PublishGoPackage

type PublishGoPackage interface {
	PublishPackage(params GoParams, client *rthttpclient.ArtifactoryHttpClient, ArtDetails auth.ArtifactoryDetails) error
	// contains filtered or unexported methods
}

func GetCompatiblePublisher

func GetCompatiblePublisher(artifactoryVersion string) PublishGoPackage

Returns the compatible publisher to Artifactory

Jump to

Keyboard shortcuts

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