openshift

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlertManagerSVCExists

func AlertManagerSVCExists(ctx context.Context, stack lokiv1.LokiStackSpec, k k8s.Client) (bool, error)

AlertManagerSVCExists returns true if the Openshift AlertManager is present in the cluster.

func GetProxy

func GetProxy(ctx context.Context, k k8s.Client) (*lokiv1.ClusterProxy, error)

GetProxy returns the cluster-wide proxy configuration of OpenShift, if one is set. It can also return an error.

func UserWorkloadAlertManagerSVCExists

func UserWorkloadAlertManagerSVCExists(ctx context.Context, stack lokiv1.LokiStackSpec, k k8s.Client) (bool, error)

UserWorkloadAlertManagerSVCExists returns true if the Openshift User Workload AlertManager is present in the cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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