Documentation
¶
Index ¶
- func DeleteKialiPod(ctx context.Context, kubeClient kubernetes.Interface, namespace string, ...) error
- func GetKialiConfigMap(ctx context.Context, kubeClient kubernetes.Interface, kialiNamespace string, ...) (*config.Config, *v1.ConfigMap)
- func GetKialiPodName(ctx context.Context, kubeClient kubernetes.Interface, kialiNamespace string, ...) string
- func NewDynamicClient(t *testing.T) dynamic.Interface
- func NewKubeClient(t *testing.T) kubernetes.Interface
- func RestartKialiPod(ctx context.Context, kubeClient kubernetes.Interface, namespace string, ...) error
- func UpdateKialiCR(ctx context.Context, dynamicClient dynamic.Interface, ...)
- func UpdateKialiConfigMap(ctx context.Context, kubeClient kubernetes.Interface, kialiNamespace string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteKialiPod ¶
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 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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.