internal

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClients

func CreateClients(kConfig *rest.Config) (
	kubeClient.Interface, frameworkClient.Interface)

func DeleteCRD

func DeleteCRD(config *rest.Config, name string)

func GetKey

func GetKey(obj interface{}) (string, error)

func GetPodDeletionStartTime

func GetPodDeletionStartTime(pod *core.Pod) *meta.Time

func PutCRD

func PutCRD(
	config *rest.Config, crd *apiExtensions.CustomResourceDefinition,
	establishedCheckIntervalSec *int64, establishedCheckTimeoutSec *int64)

func SplitKey

func SplitKey(key string) (namespace, name string, err error)

func ToConfigMap

func ToConfigMap(obj interface{}) *core.ConfigMap

obj could be *core.ConfigMap or cache.DeletedFinalStateUnknown.

func ToFramework

func ToFramework(obj interface{}) *ci.Framework

obj could be *core.Framework or cache.DeletedFinalStateUnknown.

func ToPod

func ToPod(obj interface{}) *core.Pod

obj could be *core.Pod or cache.DeletedFinalStateUnknown.

Types

This section is empty.

Jump to

Keyboard shortcuts

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