Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Version = "1.15.0"
)
Functions ¶
This section is empty.
Types ¶
type ServerVersion ¶ added in v1.6.0
type ServerVersion struct { Platform Platform Info k8sversion.Info }
ServerVersion represents info about k8s / openshift server version
func GetServer ¶ added in v0.2.0
func GetServer() (*ServerVersion, error)
GetServer make request to platform server and returns server version and platform (k8s|oc)
func Server ¶
func Server() (*ServerVersion, error)
Server returns server version and platform (k8s|oc) it performs API requests for the first invocation and then returns "cached" value
Click to show internal directories.
Click to hide internal directories.