openshift

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRouteURI

func GetRouteURI(client client.Client, discovery discovery.DiscoveryInterface, routeName types.NamespacedName) (uri string, err error)

GetRouteURI will discover the route scheme based on the given namespaced name for the route

func IsOpenShift

func IsOpenShift(discovery discovery.DiscoveryInterface) (bool, error)

IsOpenShift verify if the operator is running on OpenShift

func IsRouteAvailable

func IsRouteAvailable(discovery discovery.DiscoveryInterface) (bool, error)

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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