kube

package
v0.0.0-...-b4926d4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InvalidConfigMapErr = errors.New("config map must have exactly 1 value in either BinaryData or Data")

Functions

func ConfigMapToFile

func ConfigMapToFile(cm *v1.ConfigMap) (*dependencies.File, error)

func CreateFileRef

func CreateFileRef(configMapName, key string) string

func FileToConfigMap

func FileToConfigMap(file *dependencies.File) (*v1.ConfigMap, error)

func NewFileStorage

func NewFileStorage(cfg *rest.Config, namespace string, syncFrequency time.Duration) (dependencies.FileStorage, error)

func ParseFileRef

func ParseFileRef(fileRef string) (string, string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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