Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertRestConfigToClientConfig ¶
func ConvertRestConfigToClientConfig(config *rest.Config) (clientcmd.ClientConfig, error)
Types ¶
type Manager ¶
type Manager interface { Start( ctx context.Context, currentNamespace, targetNamespace string, virtualKubeConfig *rest.Config, physicalKubeConfig *rest.Config, syncerConfig *clientcmdapi.Config, options *options.VirtualClusterOptions, ) error SetLeader(isLeader bool) ClientHooksFor(versionKindType VersionKindType) []*Plugin HasClientHooks() bool HasPlugins() bool }
var DefaultManager Manager = &manager{ clientHooks: map[VersionKindType][]*Plugin{}, pluginVersions: map[string]*remote.RegisterPluginRequest{}, }
type VersionKindType ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.