Documentation
¶
Index ¶
- Variables
- type Container
- type ContainerImage
- type ContainerRef
- type Engine
- func (e *Engine) Attach(c *Container) error
- func (e *Engine) Copy(cpArgs ...string) (string, error)
- func (e *Engine) Create(c ContainerRef) (*Container, error)
- func (e *Engine) Exec(c *Container, execArgs []string) (string, error)
- func (e *Engine) Inspect(c *Container, value string) (string, error)
- func (e *Engine) Start(c *Container, attach bool) error
- func (e *Engine) Version() error
- type VolumeMount
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SupportedEngines = []string{"podman", "docker"} SupportedPullImagePolicies = []string{"always", "missing", "never", "newer"} )
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { ID string Ref ContainerRef }
type ContainerImage ¶
type ContainerRef ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) Create ¶
func (e *Engine) Create(c ContainerRef) (*Container, error)
Exec creates a container with the given args, returning a *Container object
func (*Engine) Inspect ¶
Inspect takes a string value as a formatter for inspect output (eg: podman inspect --format=)
type VolumeMount ¶
Click to show internal directories.
Click to hide internal directories.