package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Jun 12, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Session holds the information for a live container,
a socket will be opened through a session to fetch the logs.
NewContainerSession creates a new session for a given container name.
ReadLogs fetches the logs and writes it into provided writer w,
it follows the logs if the follow option is enabled by the user.
Status indicates the instantaneous condition of a Session.
const (
Idle Status = iota
Live
Terminated
Errored
)
String returns string representation of the receiver Status.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.