Documentation ¶
Index ¶
- type LocalInventory
- func (r *LocalInventory) DownloadRelease(project, name, version, targetFile string) error
- func (r *LocalInventory) GetAuthMethods(url string) (map[string]*types.AuthMethod, error)
- func (r *LocalInventory) ListApplications(project string) ([]string, error)
- func (r *LocalInventory) ListProjects() ([]string, error)
- func (r *LocalInventory) ListVersions(project, app string) ([]string, error)
- func (r *LocalInventory) Login(url, username, password string) (string, error)
- func (r *LocalInventory) LoginWithBasicAuth(url, username, password string) error
- func (r *LocalInventory) QueryNextVersion(project, name, versionPrefix string) (string, error)
- func (r *LocalInventory) QueryReleaseMetadata(project, name, version string) (*core.ReleaseMetadata, error)
- func (r *LocalInventory) UploadRelease(project, releasePath string, metadata *core.ReleaseMetadata) error
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
Click to show internal directories.
Click to hide internal directories.