pods

package
Version: v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLabelsAndAnnotations

func AddLabelsAndAnnotations(pod corev1.Pod, labels map[string]string, annotations map[string]string) error

AddLabelsAndAnnotations adds labels and annotations to a pod

func DeleteLabelsAndAnnotations

func DeleteLabelsAndAnnotations(pod corev1.Pod, labels []string, annotations []string) error

DeleteLabelsAndAnnotations deletes labels and annotations from a pod

func Pods

func Pods(namespace string) ([]corev1.Pod, error)

Pods returns a list of pods in a namespace

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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