proxy

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterProxyConfig

func GetClusterProxyConfig(nonCachedClient crclient.Client) (*controller.Proxy, error)

GetClusterProxyConfig reads a proxy configuration from the "cluster" proxies.config.openshift.io on OpenShift. If running in a non-OpenShift cluster, returns (nil, nil). If the cluster proxy is empty, returns (nil, nil)

func MergeProxyConfigs

func MergeProxyConfigs(operatorConfig, clusterConfig *controller.Proxy) *controller.Proxy

MergeProxyConfigs merges proxy configurations from the operator and the cluster and merges them, with the operator configuration taking precedence. Accepts nil arguments. If both arguments are nil, returns nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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