Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCerts ¶
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)
Click to show internal directories.
Click to hide internal directories.