nodes

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 31 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, currentNamespace string, virtualClient client.Client, name types.NamespacedName) error

func GetNodeHost added in v0.14.1

func GetNodeHost(nodeName, currentNamespace string) string

func New added in v0.6.0

func NewFakeSyncer added in v0.6.0

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

func NewSyncer added in v0.6.0

func NewSyncer(ctx *synccontext.RegisterContext) (syncer.Object, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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