tags

package
Version: v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildClusterServiceFQNTag

func BuildClusterServiceFQNTag(clusterID string, namespace, serviceName string) string

BuildClusterServiceFQNTag returns the ClusterServiceFQN tag populated with the given arguments.

func IsEgress added in v0.5.3

func IsEgress(tag string) bool

IsEgress returns true if the given tag is an egress-tag

func IsMachine

func IsMachine(tag string) bool

IsMachine returns true if the given tag is a machine-tag.

func IsMemberOfCluster

func IsMemberOfCluster(tag, clusterID string) bool

IsMemberOfCluster returns true of the given tag is a cluster-tag and clusterID matches. tag is in the form of:

cluster.metal-stack.io/id/namespace/service=<clusterid>/namespace/servicename

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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