prometheus

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 46 Imported by: 41

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildNetworkPolicies

func BuildNetworkPolicies(sourceNamespace string, targetPorts []networkPolicyTarget) []networkingv1.NetworkPolicy

BuildNetworkPolicies builds a series of network policies that allow pods in sourceNamespace to access pods in targetPort.Namespace on port targetPort.Port.

func SkipOperatorHubMetricsCheck

func SkipOperatorHubMetricsCheck(oc *exutil.CLI) bool

Types

type ClusterMonitoringConfiguration

type ClusterMonitoringConfiguration struct {
	TelemeterClientConfig *TelemeterClientConfig `json:"telemeterClient"`
}

ClusterMonitoringConfiguration is a subset of https://github.com/openshift/cluster-monitoring-operator/blob/8d331d78b22948d36c20da0552763ddd8a4e2093/pkg/manifests/config.go#L124-L136

type ImagePullsAreFast

type ImagePullsAreFast struct {
	// contains filtered or unexported fields
}

ImagePullsAreFast asserts that image pulls complete quickly.

func (*ImagePullsAreFast) DisplayName

func (t *ImagePullsAreFast) DisplayName() string

func (*ImagePullsAreFast) Name

func (t *ImagePullsAreFast) Name() string

func (*ImagePullsAreFast) Setup

func (*ImagePullsAreFast) Skip

func (ImagePullsAreFast) Teardown

func (*ImagePullsAreFast) Test

func (t *ImagePullsAreFast) Test(ctx context.Context, f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)

type MetricsAvailableAfterUpgradeTest

type MetricsAvailableAfterUpgradeTest struct {
	// contains filtered or unexported fields
}

MetricsAvailableAfterUpgradeTest tests that metrics from before an upgrade are also available after the upgrade.

func (*MetricsAvailableAfterUpgradeTest) DisplayName

func (t *MetricsAvailableAfterUpgradeTest) DisplayName() string

func (*MetricsAvailableAfterUpgradeTest) Name

func (*MetricsAvailableAfterUpgradeTest) Setup

func (*MetricsAvailableAfterUpgradeTest) Skip

func (MetricsAvailableAfterUpgradeTest) Teardown

func (*MetricsAvailableAfterUpgradeTest) Test

func (t *MetricsAvailableAfterUpgradeTest) Test(ctx context.Context, f *e2e.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)

type TelemeterClientConfig

type TelemeterClientConfig struct {
	Enabled *bool `json:"enabled"`
}

TelemeterClientConfig is a subset of https://github.com/openshift/cluster-monitoring-operator/blob/8d331d78b22948d36c20da0552763ddd8a4e2093/pkg/manifests/config.go#L335-L342

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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