package
2.7.0+incompatible
Repository: https://github.com/kubernetes/dashboard.git
Documentation: pkg.go.dev
# Functions
GetLogSources returns all log sources for a given resource.
ToLogLines converts rawLogs (string) to LogLines.
# Constants
Load logs from the beginning or the end of the log file.
Load logs from the beginning or the end of the log file.
# Variables
AllSelection returns all logs.
DefaultDisplayNumLogLines returns default number of lines in case of invalid request.
DefaultSelection loads default log view selector that is used in case of invalid request Downloads newest DefaultDisplayNumLogLines lines.
LineIndexNotFound is returned if requested line could not be found.
MaxLogLines is a number that will be certainly bigger than any number of logs.
NewestLogLineId is the reference Id of the newest line.
OldestLogLineId is the reference Id of the oldest line.
# Structs
LogDetails returns representation of log lines.
LogInfo returns meta information about the selected log lines.
LogLine is a single log line that split into timestamp and the actual content.
LogLineId uniquely identifies a line in logs - immune to log addition/deletion.
Selection of a slice of logs.
# Type aliases
LogLines provides means of selecting log views.
LogTimestamp is a timestamp that appears on the beginning of each log line.