Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistry ¶
NewRegistry returns a new *remote.Registry for hostname, with credentials and TLS configured.
func NewRepository ¶
func NewRepository(ctx context.Context, hostname, repository string, opts *options.NetworkOptions) (registry.Repository, error)
Types ¶
type Repository ¶
type Repository struct {
registry.Repository
Reference registry.Reference
PlainHttp bool
Client remote.Client
}
func (*Repository) Push ¶
func (r *Repository) Push(ctx context.Context, expected ocispec.Descriptor, content io.Reader) error
Push pushes the content, matching the expected descriptor.
Click to show internal directories.
Click to hide internal directories.