discovery

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsIngressAvailable

func IsIngressAvailable() (bool, error)

IsIngressAvailable checks if the cluster supports Ingresses from k8s.io/api/networking/v1

func IsOpenShift

func IsOpenShift() (bool, error)

IsOpenShift verify if the operator is running on OpenShift

func IsRouteAvailable

func IsRouteAvailable() (bool, error)

IsRouteAvailable verifies if the current cluster has the Route API from OpenShift available

func SetClient

func SetClient(disc discovery.DiscoveryInterface)

SetClient sets the package-level Discovery client. You probably don't need this for production as it gets called from main. Knock yourself out for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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