pods

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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(appName, podName, containerName string, sinceTime *time.Time) (string, error)

HandleGetAppPodLog Get logs from pod in app namespace

func (PodHandler) HandleGetEnvironmentPodLog

func (ph PodHandler) HandleGetEnvironmentPodLog(appName, envName, podName, containerName string, sinceTime *time.Time) (string, error)

HandleGetEnvironmentPodLog Get logs from pod in environment

func (PodHandler) HandleGetEnvironmentScheduledJobLog added in v1.9.0

func (ph PodHandler) HandleGetEnvironmentScheduledJobLog(appName, envName, scheduledJobName, containerName string, sinceTime *time.Time) (string, 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