Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logs ¶
type Logs struct { // Pod name. PodId string `json:"podId"` // Specific time when logs started. SinceTime unversioned.Time `json:"sinceTime"` // Logs string lines. Logs []string `json:"logs"` // The name of the container the logs are for. Container string `json:"container"` }
Logs is a representation of logs response structure.
func ConstructLogs ¶
func ConstructLogs(podId string, sinceTime unversioned.Time, rawLogs string, container string) *Logs
Return Logs structure for given parameters.
Click to show internal directories.
Click to hide internal directories.