local

package
v0.26.18 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalInventory

type LocalInventory struct{}

func NewLocalInventory

func NewLocalInventory() *LocalInventory

func (*LocalInventory) DownloadRelease

func (r *LocalInventory) DownloadRelease(project, name, version, targetFile string) error

func (*LocalInventory) GetAuthMethods

func (r *LocalInventory) GetAuthMethods(url string) (map[string]*types.AuthMethod, error)

func (*LocalInventory) ListApplications

func (r *LocalInventory) ListApplications(project string) ([]string, error)

func (*LocalInventory) ListProjects

func (r *LocalInventory) ListProjects() ([]string, error)

func (*LocalInventory) ListVersions

func (r *LocalInventory) ListVersions(project, app string) ([]string, error)

func (*LocalInventory) Login

func (r *LocalInventory) Login(url, username, password string) (string, error)

func (*LocalInventory) LoginWithBasicAuth

func (r *LocalInventory) LoginWithBasicAuth(url, username, password string) error

func (*LocalInventory) QueryNextVersion

func (r *LocalInventory) QueryNextVersion(project, name, versionPrefix string) (string, error)

func (*LocalInventory) QueryReleaseMetadata

func (r *LocalInventory) QueryReleaseMetadata(project, name, version string) (*core.ReleaseMetadata, error)

func (*LocalInventory) UploadRelease

func (r *LocalInventory) UploadRelease(project, releasePath string, metadata *core.ReleaseMetadata) error

Jump to

Keyboard shortcuts

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