k8s

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateResource

func CreateResource(client client.Client, obj runtime.Object) error

func CreateServiceAccount

func CreateServiceAccount(client client.Client, namespace string, name string) error

func GetDiscoveryClient

func GetDiscoveryClient() (*k8sDiscoveryClient, error)

Types

type DiscoveryClient

type DiscoveryClient interface {
	KindExists(apiVersion string, kind string) (bool, error)
}

Jump to

Keyboard shortcuts

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