hack

package
v2.21.15 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestRouting

func NewTestRouting(
	adminProvider provider.AdminProvider,
	settingsProvider provider.SettingsProvider,
	userInfoGetter provider.UserInfoGetter,
	seedsGetter provider.SeedsGetter,
	seedClientGetter provider.SeedClientGetter,
	configGetter provider.KubermaticConfigurationGetter,
	clusterProvidersGetter provider.ClusterProviderGetter,
	addonProviderGetter provider.AddonProviderGetter,
	addonConfigProvider provider.AddonConfigProvider,
	sshKeyProvider provider.SSHKeyProvider,
	privilegedSSHKeyProvider provider.PrivilegedSSHKeyProvider,
	userProvider provider.UserProvider,
	serviceAccountProvider provider.ServiceAccountProvider,
	privilegedServiceAccountProvider provider.PrivilegedServiceAccountProvider,
	serviceAccountTokenProvider provider.ServiceAccountTokenProvider,
	privilegedServiceAccountTokenProvider provider.PrivilegedServiceAccountTokenProvider,
	projectProvider provider.ProjectProvider,
	privilegedProjectProvider provider.PrivilegedProjectProvider,
	issuerVerifier auth.OIDCIssuerVerifier,
	tokenVerifiers auth.TokenVerifier,
	tokenExtractors auth.TokenExtractor,
	prometheusClient prometheusapi.Client,
	projectMemberProvider *kubernetes.ProjectMemberProvider,
	privilegedProjectMemberProvider provider.PrivilegedProjectMemberProvider,
	saTokenAuthenticator serviceaccount.TokenAuthenticator,
	saTokenGenerator serviceaccount.TokenGenerator,
	eventRecorderProvider provider.EventRecorderProvider,
	presetProvider provider.PresetProvider,
	admissionPluginProvider provider.AdmissionPluginsProvider,
	settingsWatcher watcher.SettingsWatcher,
	userWatcher watcher.UserWatcher,
	externalClusterProvider provider.ExternalClusterProvider,
	privilegedExternalClusterProvider provider.PrivilegedExternalClusterProvider,
	constraintTemplateProvider provider.ConstraintTemplateProvider,
	constraintProviderGetter provider.ConstraintProviderGetter,
	alertmanagerProviderGetter provider.AlertmanagerProviderGetter,
	clusterTemplateProvider provider.ClusterTemplateProvider,
	clusterTemplateInstanceProviderGetter provider.ClusterTemplateInstanceProviderGetter,
	ruleGroupProviderGetter provider.RuleGroupProviderGetter,
	kubermaticVersions kubermatic.Versions,
	defaultConstraintProvider provider.DefaultConstraintProvider,
	privilegedAllowedRegistryProvider provider.PrivilegedAllowedRegistryProvider,
	etcdBackupConfigProviderGetter provider.EtcdBackupConfigProviderGetter,
	etcdRestoreProviderGetter provider.EtcdRestoreProviderGetter,
	etcdBackupConfigProjectProviderGetter provider.EtcdBackupConfigProjectProviderGetter,
	etcdRestoreProjectProviderGetter provider.EtcdRestoreProjectProviderGetter,
	backupCredentialsProviderGetter provider.BackupCredentialsProviderGetter,
	privilegedMLAAdminSettingProviderGetter provider.PrivilegedMLAAdminSettingProviderGetter,
	masterClient ctrlruntimeclient.Client,
	featureGatesProvider provider.FeatureGatesProvider,
	seedProvider provider.SeedProvider,
	resourceQuotaProvider provider.ResourceQuotaProvider,
	groupProjectBindingProvider provider.GroupProjectBindingProvider,
	applicationDefinitionProvider provider.ApplicationDefinitionProvider,
	privilegedIPAMPoolProviderGetter provider.PrivilegedIPAMPoolProviderGetter,
	privilegedOperatingSystemProfileProviderGetter provider.PrivilegedOperatingSystemProfileProviderGetter,
	features features.FeatureGate) http.Handler

NewTestRouting is a hack that helps us avoid circular imports for example handler package uses v1/dc and v1/dc needs handler for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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