operatorutil

package
v0.9.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SyntheticAppPortName      = "web"
	SyntheticAppContainerName = "go-synthetic"
)

Variables

This section is empty.

Functions

func IsPodMonitoringReady

func IsPodMonitoringReady(pm monitoringv1.PodMonitoringCRD, targetStatusEnabled bool) error

func IsPodMonitoringScrapeEndpointFailure

func IsPodMonitoringScrapeEndpointFailure(pm monitoringv1.PodMonitoringCRD, name string, expectedFn func(message string) error) error

func IsPodMonitoringScrapeEndpointSuccess

func IsPodMonitoringScrapeEndpointSuccess(pm monitoringv1.PodMonitoringCRD, name string) error

func IsPodMonitoringSuccess

func IsPodMonitoringSuccess(pm monitoringv1.PodMonitoringCRD, targetStatusEnabled bool) error

func SyntheticAppDeploy

func SyntheticAppDeploy(ctx context.Context, kubeClient client.Client, namespace, name string, args []string) (*appsv1.Deployment, error)

func WaitForPodMonitoringReady

func WaitForPodMonitoringReady(ctx context.Context, kubeClient client.Client, pm monitoringv1.PodMonitoringCRD, targetStatusEnabled bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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