Documentation
¶
Index ¶
- func NewPodNetworkConnectivityCheckTemplate(address, namespace string, ...) *v1alpha1.PodNetworkConnectivityCheck
- func WithSource(source string) func(*v1alpha1.PodNetworkConnectivityCheck)
- func WithTarget(target string) func(*v1alpha1.PodNetworkConnectivityCheck)
- func WithTlsClientCert(secretName string) func(*v1alpha1.PodNetworkConnectivityCheck)
- type OpenshiftAPIServerConnectivityCheckController
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
Click to show internal directories.
Click to hide internal directories.