versions

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 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