Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteByAge ¶
func DeleteByAge(dryRun bool)
func DeleteBySize ¶
func DeleteBySize(dryRun bool)
func GetDiskUsedKB ¶
Types ¶
type EventSearchParams ¶
type LogDir ¶
type LogDir struct {
Dirpath string
Typ string
Target string
CountFiles int
FirstFile string
LastFile string
KB int
LastForward string
}
func ListDirsWithSize ¶
func ListDirsWithSize() []LogDir
func ListTargets ¶
func ListTargets() []LogDir
type LogFile ¶
type LogFile struct {
Filepath string
Typ string
Target string
Name string
Extention string
KB int
}
LogFile
func ListFilesWithSize ¶
func ListFilesWithSize() []LogFile
type LogSearch ¶
type LogSearch struct {
LogType string // audit | event | pod | node
TargetPattern string // audit | event | <namespace_pattern> | <node_pattern>
Targets []string
// AuditSearchParams AuditSearchParams
EventSearchParams EventSearchParams
PodSearchParams PodSearchParams
NodeSearchParams NodeSearchParams
Keywords []string
DurationSeconds int
EndTime time.Time
IsCounting bool
}
type NodeSearchParams ¶
type PodSearchParams ¶
Click to show internal directories.
Click to hide internal directories.