pro

package
v0.30.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApplyIstioPatches = func(_ *synccontext.SyncContext, _, _, _ client.Object) error {
	return nil
}
View Source
var ApplyPatchesHostObject = func(_ *synccontext.SyncContext, _, _, _ client.Object, patches []config.TranslatePatch, _ bool) error {
	if len(patches) == 0 {
		return nil
	}

	return NewFeatureError("translate patches")
}
View Source
var ApplyPatchesVirtualObject = func(_ *synccontext.SyncContext, _, _, _ client.Object, patches []config.TranslatePatch, _ bool) error {
	if len(patches) == 0 {
		return nil
	}

	return NewFeatureError("translate patches")
}
View Source
var BuildProSyncers = func(_ *synccontext.RegisterContext) ([]syncertypes.Object, error) {
	return []syncertypes.Object{}, nil
}
View Source
var ConfigureExternalDatabase = func(_ context.Context, _ string, _ *config.VirtualClusterConfig, _ bool) (string, *etcd.Certificates, error) {
	return "", nil, NewFeatureError("external database")
}
View Source
var GetNamespaceMapper = func(_ *synccontext.RegisterContext, _ synccontext.Mapper) (synccontext.Mapper, error) {
	return nil, NewFeatureError("namespace toHost syncing")
}
View Source
var GetWithSyncedNamespacesTranslator = func(_ string, _ config.FromHostMappings) (translate.Translator, error) {
	return nil, NewFeatureError("namespace toHost syncing")
}
View Source
var InitProControllerContext = func(_ *synccontext.ControllerContext) error {
	return nil
}
View Source
var LicenseFeatures = func() map[string]bool {
	return make(map[string]bool)
}

LicenseFeatures returns a map of featureName: enabled / disabled

View Source
var LicenseInit = func(_ context.Context, _ *config.VirtualClusterConfig) error {
	return nil
}

LicenseInit is used to initialize the license loader

View Source
var LicenseStart = func(_ *synccontext.ControllerContext) error {
	return nil
}

LicenseStart is used to start license loader

View Source
var NewImporter = func(_ synccontext.Mapper) syncertypes.Importer {
	return &noopImporter{}
}
View Source
var RegisterProControllers = func(*synccontext.ControllerContext) error {
	return nil
}
View Source
var StartEmbeddedEtcd = func(_ context.Context, _ *config.VirtualClusterConfig, _ string, _ string, _ bool, _ bool) (func(), error) {
	return nil, NewFeatureError("embedded etcd")
}
View Source
var StartEmbeddedKubeVip = func(_ *synccontext.ControllerContext, _ *config.VirtualClusterConfig) error {
	return NewFeatureError("embedded kube-vip")
}
View Source
var StartIntegratedCoreDNS = func(_ *synccontext.ControllerContext) error {
	return NewFeatureError("integrated core dns")
}
View Source
var StartKonnectivity = func(ctx *synccontext.ControllerContext) error {

	if !ctx.Config.PrivateNodes.Enabled {
		return nil
	}

	return NewFeatureError("private nodes")
}
View Source
var StartPrivateNodesMode = func(ctx *synccontext.ControllerContext) error {

	if !ctx.Config.PrivateNodes.Enabled {
		return nil
	}

	return NewFeatureError("private nodes")
}
View Source
var StartStandalone = func(_ context.Context, _ *StandaloneOptions) error {
	return NewFeatureError("private nodes standalone")
}
View Source
var SyncKubernetesServiceDedicated = func(ctx *synccontext.SyncContext) error {

	if !ctx.Config.PrivateNodes.Enabled {
		return nil
	}

	return NewFeatureError("private nodes")
}
View Source
var UpgradeNode = func(_ context.Context, _ *UpgradeOptions) error {
	return NewFeatureError("private nodes")
}
View Source
var WriteKonnectivityEgressConfig = func() (string, error) {
	return "", NewFeatureError("private nodes")
}

Functions

func NewFeatureError added in v0.19.3

func NewFeatureError(featureName string) error

Types

type StandaloneOptions added in v0.26.0

type StandaloneOptions struct {
	Config string
}

type UpgradeOptions added in v0.26.0

type UpgradeOptions struct {
	KubernetesVersion string
	BinariesPath      string
	CNIBinariesPath   string
	BundleRepository  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL