Help us shape the future of Go! Take the 2026 Go Developer Survey

pods

package
v1.122.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PodNotFoundError

func PodNotFoundError(podName string) error

PodNotFoundError Pod not found

Types

type PodHandler

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

PodHandler Instance variables

func Init

func Init(client kubernetes.Interface) PodHandler

Init Constructor

func (PodHandler) HandleGetAppPodLog

func (ph PodHandler) HandleGetAppPodLog(ctx context.Context, appName, podName, containerName string, sinceTime *time.Time, logLines *int64, follow bool) (io.ReadCloser, error)

HandleGetAppPodLog Get logs from pod in app namespace

func (PodHandler) HandleGetEnvironmentAuxiliaryResourcePodLog

func (ph PodHandler) HandleGetEnvironmentAuxiliaryResourcePodLog(ctx context.Context, appName, envName, componentName, auxType, podName string, sinceTime *time.Time, logLines *int64, follow bool) (io.ReadCloser, error)

HandleGetEnvironmentAuxiliaryResourcePodLog Get logs from auxiliary resource pod in environment

func (PodHandler) HandleGetEnvironmentPodLog

func (ph PodHandler) HandleGetEnvironmentPodLog(ctx context.Context, appName, envName, podName, containerName string, sinceTime *time.Time, logLines *int64, previousLog, asStream bool) (io.ReadCloser, error)

HandleGetEnvironmentPodLog Get logs from pod in environment

func (PodHandler) HandleGetEnvironmentScheduledJobLog

func (ph PodHandler) HandleGetEnvironmentScheduledJobLog(ctx context.Context, appName, envName, scheduledJobName, replicaName, containerName string, sinceTime *time.Time, logLines *int64, follow bool) (io.ReadCloser, error)

HandleGetEnvironmentScheduledJobLog Get logs from scheduled job in environment

Jump to

Keyboard shortcuts

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