Discover Packages
github.com/dinoba/gocker
dockerlog
package
Version:
v0.0.0-...-9f37908
Opens a new window with list of versions in this module.
Published: Feb 13, 2025
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
CheckForNewDockers checks if new dockers are created
ReadLog open log file, start monitoring and send to logs channel
type Docker struct {
Id string `json:"id"`
Image string `json:"image"`
Status string `json:"status"`
State string `json:"state"`
Description string `json:"description"`
}
Docker object
GetAllDockers get all existing dockers
type RawLog struct {
LogText string `json:"log"`
Stream string `json:"stream"`
Time time .Time `json:"time"`
}
RawLog log from docker
Source Files
¶
Click to show internal directories.
Click to hide internal directories.