utils

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckK8sTag

func CheckK8sTag(tags []string, k8sTag string) bool

CheckK8sTag checks whether Consul service' tags contains tag which is given as value in `k8s_tag` option.

func HasLabel added in v0.1.3

func HasLabel(labels map[string]string, searchLabel string) bool

HasLabel checks if a given map contains specific label

func ParseNsName

func ParseNsName(input string) (string, string, error)

ParseNsName parses input and returns namespace name and ConfigMap name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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