logs

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadLogs

func ReadLogs(client kubernetes.Interface, namespace, podId string, logOptions *v1.PodLogOptions) (string, error)

Types

type LogTarget added in v0.3.4

type LogTarget struct {
	Namespace string
	Pod       string
	Container string
}

func ParseUrl added in v0.3.4

func ParseUrl(urlPath string) (target LogTarget, err error)

/ ParseUrl parses a request URL path and returns its target (identified by namespace, pod, and optional container name)

Jump to

Keyboard shortcuts

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