_go

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 16 Imported by: 7

Documentation

Index

Constants

View Source
const ArtifactoryMinSupportedVersionForInfoFile = "6.10.0"

Variables

This section is empty.

Functions

func CreateUrlPath added in v0.11.0

func CreateUrlPath(moduleId, version, props, extension string, url *string) error

Types

type GoParams

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

func NewGoParams added in v0.1.3

func NewGoParams() GoParams

func (*GoParams) GetInfoPath added in v0.4.0

func (gp *GoParams) GetInfoPath() string

func (*GoParams) GetModContent

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

func (*GoParams) GetModPath added in v0.2.0

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.ServiceDetails
	// contains filtered or unexported fields
}

func NewGoService

func NewGoService(client *jfroghttpclient.JfrogHttpClient) *GoService

func (*GoService) GetJfrogHttpClient

func (gs *GoService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient

func (*GoService) PublishPackage

func (gs *GoService) PublishPackage(params GoParams) (*utils.OperationSummary, error)

func (*GoService) SetServiceDetails added in v0.10.0

func (gs *GoService) SetServiceDetails(artDetails auth.ServiceDetails)

type PublishGoPackage added in v0.2.0

type PublishGoPackage interface {
	PublishPackage(params GoParams, client *jfroghttpclient.JfrogHttpClient, ArtDetails auth.ServiceDetails) (*utils.OperationSummary, error)
	// contains filtered or unexported methods
}

func GetCompatiblePublisher added in v0.2.0

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