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)
func NewGenericTranslator ¶
func NewGenericTranslator(ctx *synccontext.RegisterContext, name string, obj client.Object, mapper synccontext.Mapper) syncertypes.GenericTranslator
Types ¶
type ShouldSkipHostObjectFunc ¶ added in v0.23.0
ShouldSkipHostObjectFunc takes object's host name and namespace and returns true if object should be skipped in the from host sync.
Click to show internal directories.
Click to hide internal directories.