discovery

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 7 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 IsLegacyIngressAvailable

func IsLegacyIngressAvailable() (bool, error)

IsLegacyIngressAvailable checks if the cluster supports Ingresses from k8s.io/api/networking/v1beta1

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