Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventSource ¶
type EventSource string
const ( EventSourceHost EventSource = "Host" EventSourceVirtual EventSource = "Virtual" )
type RegisterContext ¶
type SyncContext ¶
type SyncContext struct { Context context.Context Log loghelper.Logger PhysicalClient client.Client VirtualClient client.Client CurrentNamespace string CurrentNamespaceClient client.Client EventSource EventSource }
func ConvertContext ¶
func ConvertContext(registerContext *RegisterContext, logName string) *SyncContext
func (*SyncContext) EventFromHost ¶
func (s *SyncContext) EventFromHost() bool
func (*SyncContext) EventFromVirtual ¶
func (s *SyncContext) EventFromVirtual() bool
Click to show internal directories.
Click to hide internal directories.