Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct { // The sha256 digest of the image manifest. Digest string `json:"digest"` // The tag used for the image. Tag string `json:"tag"` // The image manifest associated with the image. Manifest string `json:"manifest"` // The name of the repository associated with the image. RepositoryName string `json:"repository_name"` }
Image is a Docker image type
type Registry ¶
Registry wraps the gorm Registry model
func (*Registry) GetGCRToken ¶
func (r *Registry) GetGCRToken(repo repository.Repository) (*ints.TokenCache, error)
func (*Registry) ListImages ¶
func (r *Registry) ListImages( repoName string, repo repository.Repository, ) ([]*Image, error)
ListImages lists the images for an image repository
func (*Registry) ListRepositories ¶
func (r *Registry) ListRepositories(repo repository.Repository) ([]*Repository, error)
ListRepositories lists the repositories for a registry
Click to show internal directories.
Click to hide internal directories.