Documentation ¶
Index ¶
- func ParseURL(u string) (string, string, string, string, bool)
- type Client
- func (c *Client) GetDescription(ctx context.Context, owner string, repository string) (string, error)
- func (c *Client) GetPackage(ctx context.Context, reference oci.Reference) (*Package, error)
- func (c *Client) GetREADME(ctx context.Context, url string) (string, error)
- func (c *Client) GetRelease(ctx context.Context, owner string, repository string, tag string) (*Release, error)
- type Package
- type Release
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { // Endpoint is the GitHub endpoint. Useful for using an enterprise instance, // for example. Defaults to "https://github.com". Endpoint string Client *httputil.Client }
func (*Client) GetDescription ¶
func (*Client) GetPackage ¶
Click to show internal directories.
Click to hide internal directories.