Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
REST implements the RESTStorage interface in terms of an image registry and image repository registry. It only supports the Get method and is used to retrieve an image by id, scoped to an ImageRepository. REST ensures that the requested image belongs to the specified ImageRepository.
func NewREST ¶
func NewREST(imageRegistry image.Registry, imageRepositoryRegistry imagerepository.Registry) *REST
NewREST returns a new REST.
Click to show internal directories.
Click to hide internal directories.