Documentation ¶
Index ¶
- Variables
- type Config
- type Machine
- func (m *Machine) Attach(opts *driver.AttachOptions) (err error)
- func (m *Machine) CopyInFiles(hostlab string) error
- func (m *Machine) Exec(command string, opts *driver.ExecOptions) (err error)
- func (m *Machine) Exists() (bool, error)
- func (m *Machine) Id() string
- func (m *Machine) Info() (info driver.MachineInfo, err error)
- func (m *Machine) Logs(opts *driver.LogOptions) (err error)
- func (m *Machine) Name() string
- func (m *Machine) Networks() ([]driver.Network, error)
- func (m *Machine) Remove() error
- func (m *Machine) Running() bool
- func (m *Machine) Shell(opts *driver.ShellOptions) (err error)
- func (m *Machine) Start(opts *driver.MachineConfig) (err error)
- func (m *Machine) State() (state driver.MachineState, err error)
- func (m *Machine) Stop(force bool) error
- func (m *Machine) WaitUntil(timeout time.Duration, target, failOn *driver.MachineState) error
- type Network
- func (n *Network) Create(opts *driver.NetConfig) (err error)
- func (n *Network) Exists() (bool, error)
- func (n *Network) Id() string
- func (n *Network) Info() (nInfo driver.NetInfo, err error)
- func (n *Network) Name() string
- func (n *Network) Remove() (err error)
- func (n *Network) Running() (running bool, err error)
- func (n *Network) Start() (err error)
- func (n *Network) Stop() (err error)
- type PodmanDriver
- func (pd *PodmanDriver) GetCLICommand() (command *cobra.Command, err error)
- func (pd *PodmanDriver) ListAllNamespaces() (namespaces []string, err error)
- func (pd *PodmanDriver) ListMachines(namespace string, all bool) ([]driver.MachineInfo, error)
- func (pd *PodmanDriver) ListNetworks(namespace string, all bool) (networks []driver.NetInfo, err error)
- func (pd *PodmanDriver) Machine(name, namespace string) (m driver.Machine, err error)
- func (pd *PodmanDriver) Network(name, namespace string) (n driver.Network, err error)
- func (pd *PodmanDriver) SetupDriver(conf map[string]interface{}) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var EXTERNAL_NET = `` /* 1032-byte string literal not displayed */
View Source
var INTERNAL_NET = `` /* 636-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type Machine ¶
type Machine struct {
// contains filtered or unexported fields
}
func (*Machine) CopyInFiles ¶
type PodmanDriver ¶
type PodmanDriver struct { Conn context.Context Name string // friendly name DriverName string Config Config }
func (*PodmanDriver) GetCLICommand ¶
func (pd *PodmanDriver) GetCLICommand() (command *cobra.Command, err error)
func (*PodmanDriver) ListAllNamespaces ¶
func (pd *PodmanDriver) ListAllNamespaces() (namespaces []string, err error)
func (*PodmanDriver) ListMachines ¶
func (pd *PodmanDriver) ListMachines(namespace string, all bool) ([]driver.MachineInfo, error)
func (*PodmanDriver) ListNetworks ¶
func (*PodmanDriver) Machine ¶
func (pd *PodmanDriver) Machine(name, namespace string) (m driver.Machine, err error)
func (*PodmanDriver) Network ¶
func (pd *PodmanDriver) Network(name, namespace string) (n driver.Network, err error)
func (*PodmanDriver) SetupDriver ¶
func (pd *PodmanDriver) SetupDriver(conf map[string]interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.