Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Version = "0.3.0"
)
Functions ¶
func GetServer ¶ added in v0.2.0
func GetServer() (*api.ServerVersion, error)
GetServer make request to platform server and returns server version and platform (k8s|oc)
func Server ¶
func Server() (*api.ServerVersion, error)
Server returns server version and platform (k8s|oc) it performs API requests for the first invocation and then returns "cached" value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.