helpers

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandKind = vkcorev1.SchemeGroupVersion.WithKind("Command")
View Source
var JobKind = vkbatchv1.SchemeGroupVersion.WithKind("Job")

Functions

func ControlledBy

func ControlledBy(obj interface{}, gvk schema.GroupVersionKind) bool

func CreateConfigMapIfNotExist

func CreateConfigMapIfNotExist(job *vkv1.Job, kubeClients *kubernetes.Clientset, data map[string]string, cmName string) error

func DeleteConfigmap

func DeleteConfigmap(job *vkv1.Job, kubeClients *kubernetes.Clientset, cmName string) error

func GetController

func GetController(obj interface{}) types.UID

Types

This section is empty.

Jump to

Keyboard shortcuts

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