Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReservedLabelHost ReservedLabel = "reserved:host" ReservedLabelWorld ReservedLabel = "reserved:world" ReservedLabelHealth ReservedLabel = "reserved:health" ReservedLabelInit ReservedLabel = "reserved:init" ReservedLabelRemoteNode ReservedLabel = "reserved:remote-node" ReservedLabelUnmanaged ReservedLabel = "reserved:unmanaged" ReservedLabelUnknown ReservedLabel = "reserved:unknown" ReservedLabelKubeAPIServer ReservedLabel = "reserved:kube-apiserver" SpecialLabelKubeDNS SpecialLabel = "k8s:k8s-app=kube-dns" SpecialLabelPrometheus SpecialLabel = "k8s:app=prometheus" )
Variables ¶
This section is empty.
Functions ¶
func NormalizeKey ¶
Types ¶
type LabelProps ¶
type LabelProps struct { IsHost bool IsWorld bool IsRemoteNode bool IsKubeDNS bool IsKubeAPIServer bool IsInit bool IsHealth bool IsPrometheus bool AppName *string }
func Props ¶
func Props(labels []string) *LabelProps
type ReservedLabel ¶
type ReservedLabel string
type SpecialLabel ¶
type SpecialLabel string
Click to show internal directories.
Click to hide internal directories.