dockerregistry

package
v0.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerTokenResponse

type DockerTokenResponse struct {
	Token   string    `json:"token"`
	Expires int       `json:"expires_in"`
	Issued  time.Time `json:"issued_at"`
}

func Token

func Token(auth *authn.AuthConfig, regisry *name.Registry) (*DockerTokenResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL