Documentation
¶
Index ¶
Constants ¶
View Source
const ( ImageKey = "PODMAN_REGISTRY_IMAGE" UserKey = "PODMAN_REGISTRY_USER" PassKey = "PODMAN_REGISTRY_PASS" PortKey = "PODMAN_REGISTRY_PORT" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// PodmanPath - path to podman executable
PodmanPath string
// PodmanArgs - array of podman options
PodmanArgs []string
// Image - custom registry image.
Image string
}
Options allows for customizing a registry.
type Registry ¶
type Registry struct {
// Image - container image of the registry.
Image string
// User - the user to authenticate against the registry.
User string
// Password - the accompanying password for the user.
Password string
// Port - the port the registry is listening to on the host.
Port string
// contains filtered or unexported fields
}
Registry is locally running registry.
func StartWithOptions ¶
StartWithOptions a new registry and return it along with its image, user, password, and port.
Click to show internal directories.
Click to hide internal directories.