Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAndSetPlatform ¶
func GetDistribution ¶
func GetDistribution() string
func GetVersion ¶
func GetVersion() string
Types ¶
type Platform ¶
type Platform struct { Type PlatformType `json:"type"` Provider ProviderType `json:"provider"` Version string `json:"version"` }
func GetPlatform ¶
func GetPlatform() Platform
type PlatformType ¶
type PlatformType string
const ( OpenShift PlatformType = "OpenShift" Kubernetes PlatformType = "Kubernetes" )
func GetType ¶
func GetType() PlatformType
type ProviderType ¶
type ProviderType string
const ( EKS ProviderType = "EKS" AKS ProviderType = "AKS" GKE ProviderType = "GKE" )
func GetProvider ¶
func GetProvider() ProviderType
Click to show internal directories.
Click to hide internal directories.