image

package
v1.49.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCerts

func GenerateCerts(caWriter, certWriter, keyWriter io.Writer, pool *x509.CertPool) error

func RunDockerRegistry

func RunDockerRegistry(ctx context.Context, rootDir string, configOpts ...ConfigOpt) (string, string, error)

RunDockerRegistry runs a docker registry on an available port and returns its host string if successful, otherwise it returns an error. If the rootDir argument isn't empty, the registry is configured to use this as the root directory for persisting image data to the filesystem. If the rootDir argument is empty, the registry is configured to keep image data in memory.

Types

type ConfigOpt

type ConfigOpt func(*configuration.Configuration)

Jump to

Keyboard shortcuts

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