helpers

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockerImageFromIST

func GetDockerImageFromIST(i *imagev1.ImageStreamTag) *dockerv10.DockerImage

Unmarshals json data into a DockerImage type

func GetDockerImageFromImage

func GetDockerImageFromImage(i *imagev1.Image) *dockerv10.DockerImage

Unmarshals json data into a DockerImage type

func LabelString

func LabelString(s string) string

Sanitize a string for a k8s label field

func PathToIdentifier

func PathToIdentifier(path string) string

func SliceInString

func SliceInString(list []string, str string) bool

Checks if a strings in a slice is part of a string.

func StringInSlice

func StringInSlice(a string, list []string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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