utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KubeClient

func KubeClient() (*kubernetes.Clientset, error)

KubeClient from config

func KubeConfig

func KubeConfig() (conf *rest.Config, err error)

KubeConfig from flags

func NewCRDClient

func NewCRDClient(cfg *rest.Config) (*rest.RESTClient, error)

NewCRDClient is used to create a restClient for crd

Types

This section is empty.

Jump to

Keyboard shortcuts

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