Documentation ¶
Index ¶
- Variables
- func CreateFakeNode(ctx context.Context, fakeKubeletIPs bool, ...) error
- func GetNodeHost(nodeName string) string
- func GetNodeHostLegacy(nodeName, currentNamespace string) string
- func New(ctx *synccontext.RegisterContext) (syncer.Object, error)
- func NewFakeSyncer(ctx *synccontext.RegisterContext, nodeService nodeservice.Provider) (syncer.Object, error)
- func NewSyncer(ctx *synccontext.RegisterContext, nodeServiceProvider nodeservice.Provider) (syncer.Object, error)
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 GetNodeHost ¶ added in v0.14.1
func GetNodeHostLegacy ¶ added in v0.15.0
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 New(ctx *synccontext.RegisterContext) (syncer.Object, error)
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) (syncer.Object, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.