versions

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 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 Params

type Params struct {
	*Path
	Desc                     string
	VcsTag                   string
	Released                 string
	GithubReleaseNotesFile   string
	GithubUseTagReleaseNotes bool
}

func NewVersionParams

func NewVersionParams() *Params

type Path

type Path struct {
	Subject string
	Repo    string
	Package string
	Version string
}

func CreatePath

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

type VersionService

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

func NewService

func NewService(client *httpclient.HttpClient) *VersionService

func (*VersionService) Create

func (vs *VersionService) Create(params *Params) error

func (*VersionService) Delete

func (vs *VersionService) Delete(versionPath *Path) error

func (*VersionService) IsVersionExists

func (vs *VersionService) IsVersionExists(versionPath *Path) (bool, error)

func (*VersionService) Publish

func (vs *VersionService) Publish(versionPath *Path) error

func (*VersionService) Show

func (vs *VersionService) Show(versionPath *Path) error

func (*VersionService) Update

func (vs *VersionService) Update(params *Params) error

Jump to

Keyboard shortcuts

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