cloudsmith

package
v0.0.0-...-526c146 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Files         cloudsmith_api.FilesApi
	Packages      cloudsmith_api.PackagesApi
	KnownVersions []string
}

func NewClient

func NewClient(apiKey string) *Client

func (*Client) DeletePackageIfExists

func (c *Client) DeletePackageIfExists(owner, repo, name, version string) error

func (*Client) IsAwareOfPackage

func (c *Client) IsAwareOfPackage(name string, version string) bool

func (*Client) LoadPackages

func (c *Client) LoadPackages(owner, repo string) error

func (*Client) RemoteCheckPackageExists

func (c *Client) RemoteCheckPackageExists(owner, repo, name, version string) (bool, error)

func (*Client) RetryFailed

func (c *Client) RetryFailed(owner, repo string) error

func (*Client) UploadComposerPackage

func (c *Client) UploadComposerPackage(owner, repo, artifactPath string) (csPkg *cloudsmith_api.ModelPackage, error error)

type Error

type Error struct {
	Detail string `json:"detail"`
}

Jump to

Keyboard shortcuts

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