Documentation ¶
Index ¶
- func Login(ctx context.Context, authConfig *types.AuthConfig) error
- func NewRepository(ctx context.Context, authConfig types.AuthConfig, repoName string, ...) (distribution.Repository, error)
- func NewV2Repository(named reference.Named, actions ...string) (distribution.Repository, error)
- type Config
- type ImagePuller
- type ImagePusher
- type Puller
- type Pusher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepository ¶ added in v0.2.0
func NewRepository(ctx context.Context, authConfig types.AuthConfig, repoName string, config registryConfig, actions ...string) (distribution.Repository, error)
func NewV2Repository ¶ added in v0.2.0
func NewV2Repository(named reference.Named, actions ...string) (distribution.Repository, error)
Types ¶
type ImagePuller ¶
type ImagePuller struct {
// contains filtered or unexported fields
}
type ImagePusher ¶
type ImagePusher struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.