nodes

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TaintsAnnotation                  = "vcluster.loft.sh/original-taints"
	RancherAgentPodRequestsAnnotation = "management.cattle.io/pod-requests"
	RancherAgentPodLimitsAnnotation   = "management.cattle.io/pod-limits"
)
View Source
var (
	// FakeNodesVersion is the default version that will be used for fake nodes
	FakeNodesVersion = "v1.19.1"
)

Functions

func GetNodeHost added in v0.14.1

func GetNodeHost(nodeName string) string

func GetNodeHostLegacy added in v0.15.0

func GetNodeHostLegacy(nodeName, currentNamespace string) string

GetNodeHostLegacy returns Node hostname in a format used in 0.14.x release. This function is added for backwards compatibility and may be removed in a future release.

func New added in v0.6.0

func NewFakeSyncer added in v0.6.0

func NewFakeSyncer(ctx *synccontext.RegisterContext, nodeService nodeservice.Provider) (syncer.Object, error)

func NewSyncer added in v0.6.0

func NewSyncer(ctx *synccontext.RegisterContext, nodeServiceProvider nodeservice.Provider) (syncertypes.Object, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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