Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerVersion ¶
type ServerVersion struct {
Platform Platform
Info k8sversion.Info
}
func GetServerVersion ¶
func GetServerVersion() (*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.