pods

package
v0.0.0-...-351f9be Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

View Source
const (
	DaemonsetSteveType = "apps.daemonset"
)
View Source
const (
	PodResourceSteveType = "pod"
)

Variables

This section is empty.

Functions

func IsPodReady

func IsPodReady(pod *v1.SteveAPIObject) (bool, error)

func StatusPods

func StatusPods(client *rancher.Client, clusterID string) []error

StatusPods is a helper function that uses the steve client to list pods on a namespace for a specific cluster and return the statuses in a list of strings

func VerifyReadyDaemonsetPods

func VerifyReadyDaemonsetPods(t *testing.T, client *rancher.Client, cluster *v1.SteveAPIObject)

VerifyReadyDaemonsetPods tries to poll the Steve API to verify the expected number of daemonset pods are in the Ready state

Types

This section is empty.

Jump to

Keyboard shortcuts

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