kubernetes

package
v0.0.0-...-a4d1c61 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrPodExecFailed is returned when a panic is triggered after running a command in a resource.
	ErrPodExecFailed = errors.New("could not run exec command on resource")
)

Functions

func NewPods

func NewPods(api client.Interface, spdy spdy.Initializer, logger gz.Logger) pods.Pods

NewPods initializes a new pods.Pods implementation for managing Kubernetes Pods.

func ParseVolume

func ParseVolume(volume pods.Volume) corev1.Volume

ParseVolume parses a generic pods.Volume and returns a Kubernetes corev1.Volume instance.

func ParseVolumeMount

func ParseVolumeMount(volume pods.Volume) corev1.VolumeMount

ParseVolumeMount parses a generic pods.Volume and returns a Kubernetes corev1.VolumeMount instance.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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