logstream

package
Version: v0.0.0-...-1b19c93 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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.

Source Files

Jump to

Keyboard shortcuts

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