Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegisterContext ¶
type RegisterContext struct {
Context context.Context
Options *controllercontext.VirtualClusterOptions
NodeServiceProvider nodeservice.NodeServiceProvider
Controllers map[string]bool
LockFactory locks.LockFactory
TargetNamespace string
CurrentNamespace string
CurrentNamespaceClient client.Client
VirtualManager ctrl.Manager
PhysicalManager ctrl.Manager
}
type SyncContext ¶
type SyncContext struct {
Context context.Context
Log loghelper.Logger
TargetNamespace string
PhysicalClient client.Client
VirtualClient client.Client
CurrentNamespace string
CurrentNamespaceClient client.Client
}
func ConvertContext ¶
func ConvertContext(registerContext *RegisterContext, logName string) *SyncContext
Click to show internal directories.
Click to hide internal directories.