packages

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageService

type PackageService struct {
	BintrayDetails auth.BintrayDetails
	// contains filtered or unexported fields
}

func NewService

func NewService(client *httpclient.HttpClient) *PackageService

func (*PackageService) Create

func (ps *PackageService) Create(params *Params) error

func (*PackageService) Delete

func (ps *PackageService) Delete(packagePath *Path) error

func (*PackageService) IsPackageExists

func (ps *PackageService) IsPackageExists(packagePath *Path) (bool, error)

func (*PackageService) Show

func (ps *PackageService) Show(packagePath *Path) error

func (*PackageService) Update

func (ps *PackageService) Update(params *Params) error

type Params

type Params struct {
	*Path
	Desc                   string
	Labels                 string
	Licenses               string
	CustomLicenses         string
	VcsUrl                 string
	WebsiteUrl             string
	IssueTrackerUrl        string
	GithubRepo             string
	GithubReleaseNotesFile string
	PublicDownloadNumbers  bool
	PublicStats            bool
}

func NewPackageParams

func NewPackageParams() *Params

type Path

type Path struct {
	Subject string
	Repo    string
	Package string
}

func CreatePath

func CreatePath(packageStr string) (*Path, error)

Jump to

Keyboard shortcuts

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