Documentation ¶
Index ¶
- type Logger
- type Repositories
- type Repository
- type Retryer
- type StorageS3
- func (s *StorageS3) CacheGet(imageID string) (digest string, err error)
- func (s *StorageS3) CachePut(imageID, digest string) error
- func (s *StorageS3) ListTags(imageName string) (images []*imagename.ImageName, err error)
- func (s *StorageS3) MakeTar(imageName string) (tmpfile string, digest string, err error)
- func (s *StorageS3) Pull(name string) error
- func (s *StorageS3) Push(imageName string) (digest string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repositories ¶
type Repositories map[string]Repository
Repositories is a struct that serializes to a "repositories" file
type Retryer ¶
type Retryer struct { client.DefaultRetryer // contains filtered or unexported fields }
Retryer is a custom aws retrier that logs retry attempts
func NewRetryer ¶
NewRetryer returns the instance of Retryer object
func (Retryer) MaxRetries ¶
MaxRetries returns the number of maximum returns the service will use to make an individual API request.
func (Retryer) Outer ¶
Outer is for external stuff to handle retries for cases that are not covered by s3manager https://github.com/aws/aws-sdk-go/issues/466
type StorageS3 ¶
type StorageS3 struct {
// contains filtered or unexported fields
}
StorageS3 is a storage driver that implements storing docker images directly on S3
func (*StorageS3) ListTags ¶
ListTags returns the list of parsed tags existing for given image name on S3
func (*StorageS3) MakeTar ¶
MakeTar makes a tar out of docker image and gives a temporary file and a digest