k8sutil

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventRecorder

func EventRecorder(kubeClient kubernetes.Interface) record.EventRecorder

EventRecorder creates and returns an EventRecorder which could be used to broadcast events for k8s objects.

func GetK8SVersion

func GetK8SVersion(client kubernetes.Interface) (string, error)

GetK8SVersion queries and returns kubernetes server version.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL