Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // target groups of one or more instance groups TargetGroups = []string{ "bastion", "vault", "etcd", "worker", "master", "control-plane", } )
Functions ¶
This section is empty.
Types ¶
type Logs ¶
type Logs struct {
// contains filtered or unexported fields
}
func New ¶
func New(tarmak interfaces.Tarmak) *Logs
func (*Logs) Aggregate ¶
func (l *Logs) Aggregate(groups []string, flags tarmakv1alpha1.ClusterLogsFlags) error
type SystemdEntry ¶
type SystemdEntry struct { Cursor string `json:"__CURSOR"` RealtimeTimestamp int64 `json:"__REALTIME_TIMESTAMP,string"` MonotonicTimestamp string `json:"__MONOTONIC_TIMESTAMP"` Boot_id string `json:"_BOOT_ID"` Transport string `json:"_TRANSPORT"` Priority int32 `json:"PRIORITY,string"` SyslogFacility string `json:"SYSLOG_FACILITY"` SyslogIdentifier string `json:"SYSLOG_IDENTIFIER"` Pid string `json:"_PID"` Uid string `json:"_UID"` Gid string `json:"_GID"` Comm string `json:"_COMM"` Exe string `json:"_EXE"` Cmdline string `json:"_CMDLINE"` SystemdCGroup string `json:"_SYSTEMD_CGROUP"` SystemdSession string `json:"_SYSTEMD_SESSION"` SystemdOwnerUID string `json:"_SYSTEMD_OWNER_UID"` Unit string `json:"UNIT"` SystemdUnit string `json:"_SYSTEMD_UNIT"` SourceRealtimeTimestamp string `json:"_SOURCE_REALTIME_TIMESTAMP"` MachineID string `json:"_MACHINE_ID"` Hostname string `json:"_HOSTNAME"` // We require interface here since Message is not always a string. In the // case of vault-assets.service for example, some output is displayed as a // byte slice. Message interface{} `json:"MESSAGE"` }
Click to show internal directories.
Click to hide internal directories.