Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNotFoundError ¶
type FakeNotFoundError struct{}
func (FakeNotFoundError) Error ¶
func (err FakeNotFoundError) Error() string
func (FakeNotFoundError) NotFound ¶
func (err FakeNotFoundError) NotFound() bool
type HostPathMap ¶
func (HostPathMap) ToHostPath ¶
func (m HostPathMap) ToHostPath(localPath string) string
type RuntimeInfo ¶
type RuntimeInfo struct { // InAContainer indicates if opctl is running on and spinning up new containers on same docker engine host InAContainer bool // DockerID is ID of opctl's container DockerID string // HostPathMap provides remapping of paths inside opctl container to paths on docker engine host HostPathMap HostPathMap }
RuntimeInfo provides relation between opctl and docker engine host
func New ¶
func New(cli containerInspector) (RuntimeInfo, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.