quay

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*http.Client
	Options
}

func New

func New(opts Options) *Client

func (*Client) IsClient

func (c *Client) IsClient(imageURL string) bool

func (*Client) Tags

func (c *Client) Tags(ctx context.Context, imageURL string) ([]api.ImageTag, error)

type Options

type Options struct {
	Token string
}

type Response

type Response struct {
	Tags []Tag `json:"tags"`
}

type Tag

type Tag struct {
	Name           string `json:"name"`
	ManifestDigest string `json:"manifest_digest"`
	LastModified   string `json:"last_modified"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL