Versions in this module Expand all Collapse all v0 v0.16.0 Jan 29, 2025 Changes in this version type Client + func (c *Client) HandleAuth(r *http.Request) error v0.16.0-rc.1 Jan 29, 2025 v0.16.0-beta.2 Jan 29, 2025 v0.16.0-beta.1 Jan 27, 2025 v0.15.0 Jan 14, 2025 v0.14.1 Jan 7, 2025 v0.14.0 Jan 3, 2025 v0.13.0 Jan 2, 2025 v0.12.0 Dec 30, 2024 Changes in this version + func RepositoryUIPath(image oci.Reference) string + func TagUIPath(image oci.Reference, digest string) string + type Client struct + Client *httputil.Client + func (c *Client) AuthorizeOCIRequest(ctx context.Context, image oci.Reference, req *http.Request) error + func (c *Client) GetOrganizationOrUser(ctx context.Context, organizationOrUser string) (*Entity, error) + func (c *Client) GetRegistryToken(ctx context.Context, image oci.Reference) (string, error) + func (c *Client) GetRepository(ctx context.Context, image oci.Reference) (*Repository, error) + func (c *Client) GetVulnerabilityReport(ctx context.Context, repo string, digest string) (*VulnerabilityReport, error) + type Entity struct + Badge string + Company string + DateJoined time.Time + FullName string + GravatarEmail string + GravatarURL string + ID string + Location string + OrganizationName string + ProfileURL string + Type string + UUID string + Username string + type Image struct + Architecture string + Digest string + Features string + LastPulled time.Time + LastPushed time.Time + OS string + OSFeatures string + OSVersion *string + Size int + Status string + Variant *string + type Page struct + Count int + Next *string + Previous *string + Results []T + type Repository struct + Affiliation json.RawMessage + Categories []struct{ ... } + CollaboratorCount int + ContentTypes []string + DateRegistered time.Time + Description string + FullDescription string + HasStarred bool + HubUser string + ImmutableTags bool + ImmutableTagsRules string + IsAutomated bool + IsPrivate bool + LastUpdated time.Time + MediaTypes []string + Name string + Namespace string + Permissions struct{ ... } + PullCount int + StarCount int + Status int + StatusDescription string + Type string + User string + type Tag struct + ContentType string + Creator int + Digest string + FullSize int + ID int + Images []Image + LastUpdated time.Time + LastUpdater int + LastUpdaterUsername string + MediaType string + Name string + Repository int + TagLastPulled time.Time + TagLastPushed time.Time + TagStatus string + V2 bool + type VulnerabilityReport struct + Critical int + High int + Low int + Medium int + Total int + Unspecified int v0.11.1 Dec 29, 2024 v0.11.0 Dec 29, 2024 v0.10.0 Dec 29, 2024 v0.9.0 Dec 24, 2024 v0.8.1 Dec 23, 2024 v0.8.0 Dec 23, 2024