docker

package
v0.7.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicCredentialFromDockerConfig

func BasicCredentialFromDockerConfig(hostname string) (string, string, error)

BasicCredentialFromDockerConfig fetches the credentials for basic auth from docker config

func GenerateManifest

func GenerateManifest(reference string) ([]byte, error)

GenerateManifest generate manifest from docker save

func GenerateManifestDescriptor

func GenerateManifestDescriptor(reference string) (notation.Descriptor, error)

GenerateManifestDescriptor generate manifest descriptor from docker save

func GetManifestDescriptor

func GetManifestDescriptor(ctx context.Context, ref registry.Reference) (notation.Descriptor, error)

GetManifestDescriptor get manifest descriptor from remote registry

func GetSignatureRepository

func GetSignatureRepository(ctx context.Context, ref string) (registry.SignatureRepository, error)

GetSignatureRepository returns a signature repository

func Transport

func Transport(hostname string) (http.RoundTripper, error)

Transport returns the configured round tripper for a host

Types

This section is empty.

Jump to

Keyboard shortcuts

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