Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultResource = "default"
)
Variables ¶
Functions ¶
func GetClient ¶
func GetClient() (*kubernetes.Clientset, error)
gets the client for k8s, if ~/.kube/config exists so get that config else incluster config
func MapToRuntimeObject ¶
MapToRuntimeObject maps the resource type string to the actual resource
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.