connectivitycheckcontroller

package
v0.0.0-alpha.0....-7401391 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPodNetworkConnectivityCheckTemplate

func NewPodNetworkConnectivityCheckTemplate(address, namespace string, options ...func(*v1alpha1.PodNetworkConnectivityCheck)) *v1alpha1.PodNetworkConnectivityCheck

new PodNetworkConnectivityCheck whose name is '$(SOURCE)-to-$(TARGET)'. Use the WithSource and WithTarget option funcs to replace the '$(SOURCE)' and '$(TARGET)' tokens.

func WithSource

func WithSource(source string) func(*v1alpha1.PodNetworkConnectivityCheck)

WithSource option replaces the $(SOURCE) token in the name.

func WithTarget

func WithTarget(target string) func(*v1alpha1.PodNetworkConnectivityCheck)

WithTarget option replaces the $(TARGET) token in the name.

func WithTlsClientCert

func WithTlsClientCert(secretName string) func(*v1alpha1.PodNetworkConnectivityCheck)

WithTlsClientCert option specifies the name of the secret in the check namespace that contains a tls client certificate (and key) to use when performing the check.

Types

type OpenshiftAPIServerConnectivityCheckController

type OpenshiftAPIServerConnectivityCheckController interface {
	connectivitycheckcontroller.ConnectivityCheckController
}

func NewOpenshiftAPIServerConnectivityCheckController

func NewOpenshiftAPIServerConnectivityCheckController(
	kubeClient kubernetes.Interface,
	operatorClient v1helpers.OperatorClient,
	operatorcontrolplaneClient *operatorcontrolplaneclient.Clientset,
	apiextensionsClient *apiextensionsclient.Clientset,
	kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces,
	configInformers configinformers.SharedInformerFactory,
	apiextensionsInformers apiextensionsinformers.SharedInformerFactory,
	recorder events.Recorder,
) OpenshiftAPIServerConnectivityCheckController

Jump to

Keyboard shortcuts

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