util

package
v0.0.0-...-d90cc1e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertPanic

func AssertPanic(t *testing.T, f func())

func ContainsInt

func ContainsInt(s []int, e int) bool

func ContainsString

func ContainsString(s []string, e string) bool

func CreateIngressObject

func CreateIngressObject(ingressName string, namespace string, url string) *v1beta1.Ingress

func CreateRouteObject

func CreateRouteObject(routeName string, namespace string, url string) *routev1.Route

CreateRouteObject creates an openshift route object

func GetNameTemplateFormat

func GetNameTemplateFormat(nameTemplate string) (string, error)

func GetProviderWithName

func GetProviderWithName(controllerConfig config.Config, name string) *config.Provider

func SliceAtoi

func SliceAtoi(stringSlice []string) ([]int, error)

func SliceItoa

func SliceItoa(intSlice []int) []string

Types

type MonitorNameTemplateParts

type MonitorNameTemplateParts struct {
	IngressName string
	Namespace   string
}

Jump to

Keyboard shortcuts

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