kube

package
v1.79.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteKialiPod

func DeleteKialiPod(ctx context.Context, kubeClient kubernetes.Interface, namespace string, currentKialiPod string) error

func GetKialiConfigMap

func GetKialiConfigMap(ctx context.Context, kubeClient kubernetes.Interface, kialiNamespace string, kialiName string, t *testing.T) (*config.Config, *v1.ConfigMap)

Get Kiali config map

func GetKialiPodName

func GetKialiPodName(ctx context.Context, kubeClient kubernetes.Interface, kialiNamespace string, t *testing.T) string

Returns the name of the Kiali pod It expects to find just one Kiali pod

func NewDynamicClient

func NewDynamicClient(t *testing.T) dynamic.Interface

func NewKubeClient

func NewKubeClient(t *testing.T) kubernetes.Interface

func RestartKialiPod

func RestartKialiPod(ctx context.Context, kubeClient kubernetes.Interface, namespace string, currentKialiPod string) error

Waits for old kiali pod to terminate and for the new one to be ready

func UpdateKialiCR

func UpdateKialiCR(ctx context.Context, dynamicClient dynamic.Interface, kubeClient kubernetes.Interface,
	kialiNamespace string, check string, registryPatch []byte, t *testing.T,
)

func UpdateKialiConfigMap

func UpdateKialiConfigMap(ctx context.Context, kubeClient kubernetes.Interface, kialiNamespace string, currentConfig *config.Config, cm *v1.ConfigMap, t *testing.T)

Update Kiali config map

Types

This section is empty.

Jump to

Keyboard shortcuts

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