Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connector ¶
type ConnectorFn ¶
type ConnectorSuper ¶
type ConnectorSuper struct {
// contains filtered or unexported fields
}
ConnectorSuper provides initial connection and retry on failure for an undlerying Connector type
func ByName ¶
func ByName(s string) (*ConnectorSuper, error)
ByName returns a ConnectorSuper for a given name, or error if the connector does not exists on the current platform
func NewConnectorSuper ¶
func NewConnectorSuper(connFn ConnectorFn) *ConnectorSuper
func (*ConnectorSuper) Get ¶
func (cs *ConnectorSuper) Get() (Connector, error)
Get returns the underlying Connector, or nil and an error if the Connector is not yet initialized or is disconnected.
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func (*Docker) All ¶
func (cm *Docker) All() (containers container.Containers)
Docker implements Connector
func (*Docker) LoopStatuses ¶
func (cm *Docker) LoopStatuses()
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
func (*Mock) All ¶
func (cs *Mock) All() container.Containers
All returns array of all containers, sorted by field
type Runc ¶
type Runc struct {
// contains filtered or unexported fields
}
func (*Runc) All ¶
func (cm *Runc) All() (containers container.Containers)
Runc implements Connector
type RuncOpts ¶
type RuncOpts struct {
// contains filtered or unexported fields
}
func NewRuncOpts ¶
type StatusUpdate ¶
Click to show internal directories.
Click to hide internal directories.