commands

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 27 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearConfig

func ClearConfig()

func Config

func Config(details, defaultDetails *config.BintrayDetails, interactive bool) (*config.BintrayDetails, error)

func CreateAccessKey

func CreateAccessKey(config bintray.Config, params *accesskeys.Params) error

func CreateEntitlement

func CreateEntitlement(config bintray.Config, params *entitlements.Params) error

func CreatePackage

func CreatePackage(config bintray.Config, params *packages.Params) error

func CreateVersion

func CreateVersion(config bintray.Config, params *versions.Params) error

func DeleteAccessKey

func DeleteAccessKey(config bintray.Config, org, id string) error

func DeleteEntitlement

func DeleteEntitlement(config bintray.Config, id string, path *versions.Path) error

func DeletePackage

func DeletePackage(config bintray.Config, params *packages.Path) error

func DeleteVersion

func DeleteVersion(config bintray.Config, params *versions.Path) error

func DownloadFile

func DownloadFile(config bintray.Config, params *services.DownloadFileParams) (totalDownloaded, totalFailed int, err error)

func DownloadLog

func DownloadLog(config bintray.Config, versionPath *versions.Path, logName string) error

func DownloadVersion

func DownloadVersion(config bintray.Config, params *services.DownloadVersionParams) (totalDownloaded, totalFailed int, err error)

func GetConfig

func GetConfig() (*config.BintrayDetails, error)

func GpgSignFile

func GpgSignFile(config bintray.Config, pathDetails *utils.PathDetails, passphrase string) error

func GpgSignVersion

func GpgSignVersion(config bintray.Config, versionPath *versions.Path, passphrase string) error

func LogsList

func LogsList(config bintray.Config, versionPath *versions.Path) error

func MavenCentralSync

func MavenCentralSync(config bintray.Config, params *mavensync.Params, path *versions.Path) error

func PublishVersion

func PublishVersion(config bintray.Config, params *versions.Path) error

func ShowAccessKey

func ShowAccessKey(config bintray.Config, org, id string) error

func ShowAllAccessKeys

func ShowAllAccessKeys(config bintray.Config, org string) error

func ShowAllEntitlements

func ShowAllEntitlements(config bintray.Config, path *versions.Path) error

func ShowConfig

func ShowConfig() error

func ShowEntitlement

func ShowEntitlement(config bintray.Config, id string, path *versions.Path) error

func ShowPackage

func ShowPackage(config bintray.Config, params *packages.Path) error

func ShowVersion

func ShowVersion(config bintray.Config, params *versions.Path) error

func SignVersion

func SignVersion(config bintray.Config, params *url.Params) (err error)

func Stream

func Stream(streamDetails *StreamDetails, writer io.Writer) error

func UpdateAccessKey

func UpdateAccessKey(config bintray.Config, params *accesskeys.Params) error

func UpdateEntitlement

func UpdateEntitlement(config bintray.Config, params *entitlements.Params) error

func UpdatePackage

func UpdatePackage(config bintray.Config, params *packages.Params) error

func UpdateVersion

func UpdateVersion(config bintray.Config, params *versions.Params) error

func Upload

func Upload(config bintray.Config, uploadDetails *services.UploadParams) (uploaded int, failed int, err error)

Types

type StreamDetails

type StreamDetails struct {
	BintrayDetails auth.BintrayDetails
	Subject        string
	Include        string
}

Jump to

Keyboard shortcuts

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