Documentation ¶
Index ¶
- func URLPointsToArchive(rawurl string) (bool, error)
- type CLIVersion
- type Client
- func (c *Client) GetCLIVersion(os string) (CLIVersion, error)
- func (c *Client) GetLatestPackageVersion(packageName, os string) (Version, error)
- func (c *Client) GetPackageVersion(packageName, version, os string) (Version, error)
- func (c *Client) ListVersions(os string, packageNames ...string) ([]Version, error)
- func (c *Client) SearchPackages(query, os string) ([]Package, error)
- type OS
- type Package
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func URLPointsToArchive ¶
URLPointsToArchive returns true if the URL points to a tar.gz file
Types ¶
type CLIVersion ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetCLIVersion ¶
func (c *Client) GetCLIVersion(os string) (CLIVersion, error)
func (*Client) GetLatestPackageVersion ¶
func (*Client) GetPackageVersion ¶
func (*Client) ListVersions ¶
Click to show internal directories.
Click to hide internal directories.