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 ¶ added in v4.2.0
type Options struct { // 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 ¶ added in v4.2.0
StartWithOptions a new registry and return it along with it's image, user, password, and port.
Click to show internal directories.
Click to hide internal directories.