podlogs

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetControllerLog

func GetControllerLog(ctx context.Context, kclient corev1i.CoreV1Interface, labelselector, containerName string, sinceSeconds *int64) (string, error)

func GetPodLog

func GetPodLog(ctx context.Context, kclient corev1i.CoreV1Interface, ns, labelselector, containerName string, lines, sinceSeconds *int64) (string, error)

Types

type ControllerLogSource

type ControllerLogSource struct {
	LabelSelector string
	ContainerName string
}

func GetControllerLogByName

func GetControllerLogByName(
	ctx context.Context,
	kclient corev1i.CoreV1Interface,
	ns, controllerName string,
	lines *int64,
	sinceSeconds *int64,
) (string, ControllerLogSource, error)

Jump to

Keyboard shortcuts

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