servicemesh

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppLabel                = "app"
	VersionLabel            = "version"
	ApplicationNameLabel    = "app.kubernetes.io/name"
	ApplicationVersionLabel = "app.kubernetes.io/version"
)

Variables

View Source
var TrimChars = [...]string{".", "_", "-"}

Functions

func ExtractApplicationLabels

func ExtractApplicationLabels(meta *metav1.ObjectMeta) map[string]string

func GetComponentName

func GetComponentName(meta *metav1.ObjectMeta) string

func GetComponentVersion

func GetComponentVersion(meta *metav1.ObjectMeta) string

func IsApplicationComponent

func IsApplicationComponent(meta *metav1.ObjectMeta) bool

func NormalizeVersionName

func NormalizeVersionName(version string) string

normalize version names strip [_.-]

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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