logmodel

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogType

type LogType string
const (
	LogTypeNode LogType = "node"
	LogTypePod  LogType = "pod"
)

type NodeLog

type NodeLog struct {
	Time    string `json:"time"`
	Node    string `json:"node"`
	Process string `json:"process"`
	Log     string `json:"log"`
}

func (NodeLog) String

func (l NodeLog) String() string

func (NodeLog) Type

func (l NodeLog) Type() LogType

type PodLog

type PodLog struct {
	Time      string `json:"time"`
	Namespace string `json:"namespace"`
	Pod       string `json:"pod"`
	Container string `json:"container"`
	Log       string `json:"log"`
}

func (PodLog) String

func (l PodLog) String() string

func (PodLog) Type

func (l PodLog) Type() LogType

Jump to

Keyboard shortcuts

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