Documentation ¶
Index ¶
- Constants
- func CreateUrlPath(pathInArtifactory, props string, goApiUrl *string) error
- 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 GoPublishCommand
- type GoService
Constants ¶
View Source
const ArtifactoryMinSupportedVersion = "6.10.0"
Variables ¶
This section is empty.
Functions ¶
func CreateUrlPath ¶ added in v0.11.0
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 (*GoParams) GetModContent ¶
func (*GoParams) GetModPath ¶ added in v0.2.0
func (*GoParams) GetModuleId ¶
func (*GoParams) GetTargetRepo ¶
func (*GoParams) GetVersion ¶
func (*GoParams) GetZipPath ¶
type GoPublishCommand ¶ added in v1.0.1
type GoPublishCommand struct {
// contains filtered or unexported fields
}
Support for Artifactory 6.10.0 and above API
func (*GoPublishCommand) PublishPackage ¶ added in v1.0.1
func (gpc *GoPublishCommand) PublishPackage(params GoParams, client *jfroghttpclient.JfrogHttpClient, artDetails auth.ServiceDetails) (*artifactoryutils.OperationSummary, error)
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)
Click to show internal directories.
Click to hide internal directories.