platform

package
v0.0.0-...-3378e2a Latest Latest
Warning

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

Go to latest
Published: Dec 21, 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