Documentation ¶
Index ¶
- Constants
- type Label
- func (l Label) Cluster(name string) Label
- func (l Label) Component(name string) Label
- func (l Label) Copy() Label
- func (l Label) Exporter() Label
- func (l Label) Graphd() Label
- func (l Label) IsGraphd() bool
- func (l Label) IsManagedByNebulaOperator() bool
- func (l Label) IsMetad() bool
- func (l Label) IsNebulaComponent() bool
- func (l Label) IsStoraged() bool
- func (l Label) LabelSelector() *metav1.LabelSelector
- func (l Label) Labels() Label
- func (l Label) Metad() Label
- func (l Label) Selector() (labels.Selector, error)
- func (l Label) Storaged() Label
- func (l Label) String() string
Constants ¶
View Source
const ( // NodeHostnameLabelKey represents the name of node // This label is also used as part of the topology hierarchy NodeHostnameLabelKey = "kubernetes.io/hostname" // NodeRegionLabelKey represents a larger domain, made up of one or more zones NodeRegionLabelKey = "topology.kubernetes.io/region" // NodeZoneLabelKey represents a logical failure domain NodeZoneLabelKey = "topology.kubernetes.io/zone" // NameLabelKey represents the name of an application NameLabelKey string = "app.kubernetes.io/name" // ManagedByLabelKey represents the tool being used to manage the operation of an application ManagedByLabelKey string = "app.kubernetes.io/managed-by" // ComponentLabelKey represent the component within the architecture ComponentLabelKey string = "app.kubernetes.io/component" // ClusterLabelKey represents a unique name identifying the cluster of an application ClusterLabelKey string = "app.kubernetes.io/cluster" // NebulaOperator is ManagedByLabelKey label value NebulaOperator string = "nebula-operator" // GraphdLabelVal is graphd label value GraphdLabelVal string = "graphd" // MetadLabelVal is metad label value MetadLabelVal string = "metad" // StoragedLabelVal is storaged label value StoragedLabelVal string = "storaged" // ExporterLabelVal is exporter label value ExporterLabelVal string = "exporter" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Label ¶
func (Label) IsManagedByNebulaOperator ¶
func (Label) IsNebulaComponent ¶
func (Label) IsStoraged ¶
func (Label) LabelSelector ¶
func (l Label) LabelSelector() *metav1.LabelSelector
Click to show internal directories.
Click to hide internal directories.