Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // Start starts the plugins with the given information Start( ctx context.Context, currentNamespace, targetNamespace string, virtualKubeConfig *rest.Config, physicalKubeConfig *rest.Config, syncerConfig *clientcmdapi.Config, options *options.VirtualClusterOptions, ) error // SetLeader sets the leader for the plugins SetLeader(ctx context.Context) error // MutateObject mutates the objects of the given version kind type MutateObject(ctx context.Context, obj client.Object, hookType string, scheme *runtime.Scheme) error // HasClientHooks returns if there are any plugin client hooks HasClientHooks() bool // HasClientHooksForType returns if there are any plugin client hooks for the given type HasClientHooksForType(VersionKindType) bool // HasPlugins returns if there are any plugins to start HasPlugins() bool // SetProFeatures is used by vCluster.Pro to signal what pro features are enabled SetProFeatures(proFeatures map[string]bool) }
type VersionKindType ¶
Click to show internal directories.
Click to hide internal directories.