Documentation ¶
Index ¶
- func Cleanup(spec PodSpec, coreInterface kubernetes.Interface) error
- func DeployDummyPod(spec PodSpec, coreInterface kubernetes.Interface) error
- func Test(domain, authHeader, logPrefix string, labelsToSelect map[string]string, ...) error
- func WaitForDummyPodToRun(spec PodSpec, coreInterface kubernetes.Interface) error
- type PodSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup(spec PodSpec, coreInterface kubernetes.Interface) error
Cleanup terminates the dummy pod
func DeployDummyPod ¶
func DeployDummyPod(spec PodSpec, coreInterface kubernetes.Interface) error
DeployDummyPod deploys a pod which keeps logging a counter
func Test ¶
func Test(domain, authHeader, logPrefix string, labelsToSelect map[string]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(spec PodSpec, coreInterface kubernetes.Interface) error
WaitForDummyPodToRun waits until the dummy pod is running
Types ¶
Click to show internal directories.
Click to hide internal directories.