Documentation ¶
Index ¶
- func Cleanup(namespace string, coreInterface kubernetes.Interface) error
- func DeployDummyPod(namespace string, coreInterface kubernetes.Interface) error
- func Test(domain string, labelKey string, labelValue string, authHeader string, ...) error
- func WaitForDummyPodToRun(namespace string, coreInterface kubernetes.Interface) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup(namespace string, coreInterface kubernetes.Interface) error
Cleanup terminates the dummy pod
func DeployDummyPod ¶
func DeployDummyPod(namespace string, coreInterface kubernetes.Interface) error
DeployDummyPod deploys a pod which keeps logging a counter
func Test ¶
func Test(domain string, labelKey string, labelValue string, authHeader string, httpClient *http.Client) error
Test querys loki api with the given label key-value pair and checks that the logs of the dummy pod are present
func WaitForDummyPodToRun ¶
func WaitForDummyPodToRun(namespace string, coreInterface kubernetes.Interface) error
WaitForDummyPodToRun waits until the dummy pod is running
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.