Documentation ¶
Overview ¶
Package discovery contains structures, interfaces and utility functions useful for the discovery component.
Index ¶
Constants ¶
View Source
const ( // TenantNamespaceLabel used to mark the tenant namespaces. TenantNamespaceLabel = "discovery.liqo.io/tenant-namespace" // ClusterIDLabel used as key to indicate which cluster a resource is referenced to. ClusterIDLabel = "discovery.liqo.io/cluster-id" // AuthTokenLabel used to mark secrets containing an auth token. AuthTokenLabel = "discovery.liqo.io/auth-token" // DiscoveryTypeLabel used to mark the discovery type. DiscoveryTypeLabel = "discovery.liqo.io/discovery-type" )
View Source
const ( // LastUpdateAnnotation marks the last update time of a ForeignCluster resource, needed by the garbage collection. LastUpdateAnnotation string = "LastUpdate" )
Variables ¶
This section is empty.
Functions ¶
func DeploymentLabelSelector ¶ added in v0.3.0
DeploymentLabelSelector returns the label selector associated with the discovery deployment/pod.
func GetAddress ¶
GetAddress returns an address for a Node.
Types ¶
Click to show internal directories.
Click to hide internal directories.