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" // VirtualNodeLabel used to mark the virtual nodes. VirtualNodeLabel = "discovery.liqo.io/virtual-node" // 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 GetAddress ¶
GetAddress returns an address for a Node.
Types ¶
Click to show internal directories.
Click to hide internal directories.