Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockInventory ¶
func NewMockInventory() *mockInventory
Types ¶
type Inventory ¶
type Inventory interface { QueryReleaseMetadata(project, name, version string) (*core.ReleaseMetadata, error) QueryNextVersion(project, name, versionPrefix string) (string, error) DownloadRelease(project, name, version, targetFile string) error UploadRelease(project, releasePath string, metadata *core.ReleaseMetadata) error GetAuthMethods(url string) (map[string]*types.AuthMethod, error) Login(url, username, password string) (string, error) LoginWithBasicAuth(url, username, password string) error ListProjects() ([]string, error) ListApplications(project string) ([]string, error) ListVersions(project, app string) ([]string, error) }
func NewLocalInventory ¶
func NewLocalInventory() Inventory
func NewRemoteInventory ¶
Click to show internal directories.
Click to hide internal directories.