platform

package
v0.0.0-...-b33cfc3 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default   = ""
	OpenShift = "openshift"
	GCP       = "gcp"
)

Variables

View Source
var Platform = env.Register(
	"PLATFORM",
	Default,
	"Platform where Istio is deployed. Possible values are \"openshift\" and \"gcp\"",
)

Functions

func IsDefault

func IsDefault() bool

IsDefault returns true if the platform is the Default one

func IsGCP

func IsGCP() bool

IsGCP returns true if the platform is GCP

func IsOpenShift

func IsOpenShift() bool

IsOpenShift returns true if the platform is OpenShift

Types

This section is empty.

Jump to

Keyboard shortcuts

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