details_apis

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickhouseSource

type ClickhouseSource struct {
	Clickhouse clickhouse.Interface
	Log        logs.Logger
	DebugSQL   bool
	Loader     loader.Interface
	Org        org.ClientInterface
}

func (*ClickhouseSource) GetPodInfo

func (chs *ClickhouseSource) GetPodInfo(ctx context.Context, clusterName, podName string, start, end int64) (*PodInfo, error)

type PodInfo

type PodInfo struct {
	Summary   PodInfoSummary     `json:"summary"`
	Instances []*PodInfoInstanse `json:"instances"`
}

PodInfo .

type PodInfoInstanse

type PodInfoInstanse struct {
	ContainerID interface{} `json:"containerId"`
	HostIP      interface{} `json:"hostIP"`
	StartedAt   interface{} `json:"startedAt"`
	FinishedAt  interface{} `json:"finishedAt"`
	ExitCode    interface{} `json:"exitCode"`
	OomKilled   interface{} `json:"oomKilled"`
}

PodInfoInstanse .

type PodInfoSummary

type PodInfoSummary struct {
	ClusterName      interface{} `json:"clusterName"`
	NodeName         interface{} `json:"nodeName"`
	HostIP           interface{} `json:"hostIP"`
	Namespace        interface{} `json:"namespace"`
	PodName          interface{} `json:"podName"`
	RestartTotal     interface{} `json:"restartTotal"`
	StateCode        interface{} `json:"stateCode"`
	TerminatedReason interface{} `json:"terminatedReason"`
}

PodInfoSummary .

Jump to

Keyboard shortcuts

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