nodes

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// FakeNodesVersion is the default version that will be used for fake nodes
	FakeNodesVersion = "v1.19.1"
)
View Source
var (
	TaintsAnnotation = "vcluster.loft.sh/original-taints"
)

Functions

func CreateFakeNode

func CreateFakeNode(ctx context.Context,
	fakeKubeletIPs bool,
	nodeServiceProvider nodeservice.Provider,
	virtualClient client.Client,
	name string) error

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