Skip to content

A client library for interacting with OCI-compliant registries.

License

Notifications You must be signed in to change notification settings

bsatlas/distribution-client

Repository files navigation

distribution-client

distribution-client is the Go client library for the OCI Distribution Specification.

Install

go get github.com/atlaskerr/distribution-client

Usage

package main

import "log"

func main() {
	cfg := client.Config{
		Host: "http://127.0.0.1:84832",
		Auth: client.BasicAuth{
			Username: "user",
			Password: "pass",
		},
	}
	c, err := client.New(cfg)
	if err != nil {
		log.Fatal(err)
	}

	api := client.NewDistributionAPI(c)
}

About

A client library for interacting with OCI-compliant registries.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published