discovery

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

View Source
const (
	TenantControlNamespaceLabel = "discovery.liqo.io/tenant-control-namespace"
	ClusterRoleLabel            = "discovery.liqo.io/cluster-role"

	ClusterIdLabel      = "discovery.liqo.io/cluster-id"
	AuthTokenLabel      = "discovery.liqo.io/auth-token"
	RemoteIdentityLabel = "discovery.liqo.io/remote-identity"
	DiscoveryTypeLabel  = "discovery.liqo.io/discovery-type"
	SearchDomainLabel   = "discovery.liqo.io/searchdomain"
	LiqoManagedLabel    = "discovery.liqo.io/liqo-managed"
	GarbageCollection   = "discovery.liqo.io/garbage-collection"
)
View Source
const (
	LastUpdateAnnotation string = "LastUpdate"
)

Variables

This section is empty.

Functions

func GetAddress

func GetAddress(node *v1.Node) (string, error)

return an address for a Node

func GetAddressFromNodeList

func GetAddressFromNodeList(nodes []v1.Node) (string, error)

return an address from a Node pool

Types

type AuthStatus

type AuthStatus string
const (
	AuthStatusPending      AuthStatus = "Pending"
	AuthStatusAccepted     AuthStatus = "Accepted"
	AuthStatusRefused      AuthStatus = "Refused"
	AuthStatusEmptyRefused AuthStatus = "EmptyRefused"
)

type DiscoveryType

type DiscoveryType string
const (
	LanDiscovery             DiscoveryType = "LAN"
	WanDiscovery             DiscoveryType = "WAN"
	ManualDiscovery          DiscoveryType = "Manual"
	IncomingPeeringDiscovery DiscoveryType = "IncomingPeering"
)

type TrustMode

type TrustMode string
const (
	TrustModeUnknown   TrustMode = "Unknown"
	TrustModeTrusted   TrustMode = "Trusted"
	TrustModeUntrusted TrustMode = "Untrusted"
)

Jump to

Keyboard shortcuts

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