translator

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFromHostTranslatorForGVK added in v0.23.0

func NewFromHostTranslatorForGVK(ctx *synccontext.RegisterContext, gvk schema.GroupVersionKind, hostToVirtual map[string]string, skipFuncs ...ShouldSkipHostObjectFunc) (syncer.GenericTranslator, error)

Types

type ShouldSkipHostObjectFunc added in v0.23.0

type ShouldSkipHostObjectFunc func(hostName, hostNamespace string) bool

ShouldSkipHostObjectFunc takes object's host name and namespace and returns true if object should be skipped in the from host sync.

Jump to

Keyboard shortcuts

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