Documentation ¶
Index ¶
- func LocalBlobPath(cacheBlobs, hash string) string
- func LocalManifestPath(cacheManifest, name, tag string) string
- func WithAuth(auth authn.Authenticator) func(po *options) error
- func WithTransport(t http.RoundTripper) func(po *options) error
- func WithUserAgent(ua string) func(po *options) error
- type Puller
- type Pusher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocalBlobPath ¶
func LocalManifestPath ¶
func WithAuth ¶
func WithAuth(auth authn.Authenticator) func(po *options) error
func WithTransport ¶
func WithTransport(t http.RoundTripper) func(po *options) error
func WithUserAgent ¶
Types ¶
type Puller ¶
type Puller struct {
// contains filtered or unexported fields
}
type Pusher ¶
type Pusher interface { PushImage(ctx context.Context, ref name.Reference, image v1.Image) error PushImageWithIndex(ctx context.Context, repo name.Repository, image v1.Image) error PushImageIndex(ctx context.Context, ref name.Reference, imageIndex v1.ImageIndex) error }
func NewLocalPusher ¶
Click to show internal directories.
Click to hide internal directories.