Documentation
¶
Index ¶
- func ContainerName(vmName string) string
- type Client
- func (c *Client) Context() context.Context
- func (c *Client) CreateVM(vmName, launcherImage string, result *converter.VMIResult) (string, error)
- func (c *Client) EnsureImage(image string) error
- func (c *Client) ExistsVM(vmName string) (bool, error)
- func (c *Client) InspectVM(vmName string) (*VMInfo, error)
- func (c *Client) ListVMs() ([]VMInfo, error)
- func (c *Client) PullImage(image string) error
- func (c *Client) RemoveVM(vmName string, force bool) error
- func (c *Client) RunOneShotContainer(image string, mounts []spec.Mount, entrypoint []string, command []string) (string, string, error)
- func (c *Client) StartVM(vmName string) error
- func (c *Client) StopVM(vmName string, timeoutSecs uint) error
- type VMInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerName ¶
ContainerName returns the Podman container name for a given VM name.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) EnsureImage ¶
func (*Client) RunOneShotContainer ¶
Click to show internal directories.
Click to hide internal directories.