logstore

package
v0.0.0-...-9d45c48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogLine

type LogLine struct {
	Time time.Time
	Line string
}

type LogStore

type LogStore struct {
	// contains filtered or unexported fields
}

func NewLogStore

func NewLogStore() *LogStore

func (*LogStore) AddResourceLogs

func (s *LogStore) AddResourceLogs(resourceLogs *util.Concurrent[*ResourceLogs])

func (*LogStore) ResourcesLogs

func (s *LogStore) ResourcesLogs() []*util.Concurrent[*ResourceLogs]

type ResourceLogs

type ResourceLogs struct {
	// contains filtered or unexported fields
}

func NewResourceLogs

func NewResourceLogs(name, namespace string, groupVersionKind schema.GroupVersionKind) *ResourceLogs

func (*ResourceLogs) AddLogLine

func (s *ResourceLogs) AddLogLine(line, source string, timestamp time.Time)

func (*ResourceLogs) GroupVersionKind

func (s *ResourceLogs) GroupVersionKind() schema.GroupVersionKind

func (*ResourceLogs) LogLines

func (s *ResourceLogs) LogLines() map[string][]*LogLine

func (*ResourceLogs) Name

func (s *ResourceLogs) Name() string

func (*ResourceLogs) Namespace

func (s *ResourceLogs) Namespace() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL