openshift

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToScheme added in v0.1.0

func AddToScheme(scheme *runtime.Scheme) error

AddToScheme adds OpenShift types to the scheme

func IsOpenShift

func IsOpenShift(client kubernetes.Interface) (bool, error)

IsOpenShift returns true if we are connected to a OpenShift cluster

func IsOpenShiftClusterType added in v0.1.0

func IsOpenShiftClusterType(c kubernetes.Interface, clusterType string) (bool, error)

IsOpenShift returns true if we are connected to a OpenShift cluster or given cluster type marks cluster as OpenShift

Types

This section is empty.

Jump to

Keyboard shortcuts

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