util

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToEnvVarName

func ConvertToEnvVarName(text string) string

ConvertToEnvVarName converts the given text into a usable env var removing any special chars with '_' and transforming text to upper case

func InterfaceSlice

func InterfaceSlice(slice interface{}) []interface{}

InterfaceSlice converts an interface to an interface array

Types

type Config

type Config struct {
	Namespace    string
	ResourceName string
	Annotation   string
	SHAValue     string
}

Config contains rolling upgrade configuration parameters

type ObjectMeta

type ObjectMeta struct {
	metav1.ObjectMeta
}

func ToObjectMeta

func ToObjectMeta(kubernetesObject interface{}) ObjectMeta

Jump to

Keyboard shortcuts

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