pod

package
v1.1.0-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context, clt client.Reader, name, namespace string) (*corev1.Pod, error)

func GetName

func GetName(pod corev1.Pod) string

GetName returns the name of the pod. During the webhook injection the pod.Name is not always set yet, in which case it returns the pod.GeneraName

Types

This section is empty.

Jump to

Keyboard shortcuts

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