Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTagImageIDs ¶
GetTagImageIDs returns a list of image IDs for the given tag
Types ¶
type Image ¶
type Image struct { ID string `json:"id"` Size int `json:"size"` Tag string `json:"tag"` Branch string `json:"branch"` LastModified time.Time `json:"lastModified"` }
Image represents a docker image in a repository
type NotFoundError ¶
type NotFoundError struct { }
NotFoundError is raised when a given repository or image tag is not found
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
type QuayConfig ¶
QuayConfig is the quay service configuration
type QuayRepositoryResponse ¶
QuayRepositoryResponse is the json response for repository requests
type QuayService ¶
type QuayService struct {
// contains filtered or unexported fields
}
QuayService is an implementation of the docker Service interface It fetches docker image
func (*QuayService) GetRepository ¶
func (s *QuayService) GetRepository(repo string, withBranches bool) ([]*Image, error)
GetRepository implements the Service interface
func (*QuayService) GetTagImageIDs ¶
func (s *QuayService) GetTagImageIDs(repo, tag string) ([]string, error)
GetTagImageIDs implements the Service interface
type QuayTagImagesResponse ¶
type QuayTagImagesResponse struct {
Tags []map[string]interface{} `json:"tags"`
}
QuayTagImagesResponse is the json response for tag images requests
Click to show internal directories.
Click to hide internal directories.