Documentation ¶
Index ¶
- Constants
- type GoParams
- func (gp *GoParams) GetInfoPath() string
- func (gp *GoParams) GetModContent() []byte
- func (gp *GoParams) GetModPath() string
- func (gp *GoParams) GetModuleId() string
- func (gp *GoParams) GetProps() string
- func (gp *GoParams) GetTargetRepo() string
- func (gp *GoParams) GetVersion() string
- func (gp *GoParams) GetZipPath() string
- type GoService
- type PublishGoPackage
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 (*GoParams) GetModContent ¶
func (*GoParams) GetModPath ¶
func (*GoParams) GetModuleId ¶
func (*GoParams) GetTargetRepo ¶
func (*GoParams) GetVersion ¶
func (*GoParams) GetZipPath ¶
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 (*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
Click to show internal directories.
Click to hide internal directories.