Versions in this module Expand all Collapse all v1 v1.13.1 Feb 8, 2017 Changes in this version + var ImageTypes = []string + var PluginTypes = []string + func NewV2Repository(ctx context.Context, repoInfo *registry.RepositoryInfo, ...) (repo distribution.Repository, foundVersion bool, err error) + func Pull(ctx context.Context, ref reference.Named, imagePullConfig *ImagePullConfig) error + func Push(ctx context.Context, ref reference.Named, imagePushConfig *ImagePushConfig) error + func TranslatePullError(err error, ref reference.Named) error + func ValidateRepoName(name string) error + type Config struct + AuthConfig *types.AuthConfig + ImageEventLogger func(id, name, action string) + ImageStore ImageConfigStore + MetaHeaders map[string][]string + MetadataStore metadata.Store + ProgressOutput progress.Output + ReferenceStore reference.Store + RegistryService registry.Service + RequireSchema2 bool + type ErrNoSupport struct + Err error + func (e ErrNoSupport) Error() string + type ImageConfigPullError struct + Err error + func (e ImageConfigPullError) Error() string + type ImageConfigStore interface + Get func(digest.Digest) ([]byte, error) + Put func([]byte) (digest.Digest, error) + RootFSFromConfig func([]byte) (*image.RootFS, error) + func NewImageConfigStoreFromStore(is image.Store) ImageConfigStore + type ImagePullConfig struct + DownloadManager RootFSDownloadManager + Schema2Types []string + type ImagePushConfig struct + ConfigMediaType string + LayerStore PushLayerProvider + TrustKey libtrust.PrivateKey + UploadManager *xfer.LayerUploadManager + type Puller interface + Pull func(ctx context.Context, ref reference.Named) error + type PushLayer interface + ChainID func() layer.ChainID + DiffID func() layer.DiffID + MediaType func() string + Open func() (io.ReadCloser, error) + Parent func() PushLayer + Release func() + Size func() (int64, error) + type PushLayerProvider interface + Get func(layer.ChainID) (PushLayer, error) + func NewLayerProviderFromStore(ls layer.Store) PushLayerProvider + type PushResult struct + Digest digest.Digest + Size int + Tag string + type Pusher interface + Push func(ctx context.Context) error + func NewPusher(ref reference.Named, endpoint registry.APIEndpoint, ...) (Pusher, error) + type RootFSDownloadManager interface + Download func(ctx context.Context, initialRootFS image.RootFS, ...) (image.RootFS, func(), error)