kubernetes

package
v0.0.0-...-115a3d5 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPods

func GetPods(namespace string) []string

func LaunchEphemeralContainer

func LaunchEphemeralContainer(pod *corev1.Pod, command []string, args []string) (*corev1.Pod, string, error)

func PollEphemeralContainerStatus

func PollEphemeralContainerStatus(pod *corev1.Pod, ephemeralContainerName string) int32

Types

type Kubernetes

type Kubernetes struct {
	Config *rest.Config
	Client kubernetes.Interface
}

func GetKubernetes

func GetKubernetes() *Kubernetes

Jump to

Keyboard shortcuts

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