Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a container image registry client to list tags of given image URLs.
type ImageClient ¶
type ImageClient interface { // Returns the name of the client Name() string // IsHost will return true if this client is appropriate for the given // host. IsHost(host string) bool // RepoImage will return the registries repository and image, from a given // URL path. RepoImageFromPath(path string) (string, string) // Tags will return the available tags for the given host, repo, and image // using that client. Tags(ctx context.Context, host, repo, image string) ([]api.ImageTag, error) }
ImageClient represents a image registry client that can list available tags for image URLs.
Click to show internal directories.
Click to hide internal directories.