Versions in this module Expand all Collapse all v1 v1.8.6 Apr 4, 2024 Changes in this version + func JoinContext(parent context.Context, contextWithConfig context.Context) context.Context + func NewContext() context.Context + func NewContextWithDefaultConfig() context.Context + func SetContext(ctx context.Context, setFn func(config *Config)) + func SliceToString(s []string) string + func StringToSet(s string) map[string]struct + func StringToSlice(s string) []string + func UpdateContext(ctx context.Context, setFn func(config *Config)) context.Context + func WithConfig(config Config) context.Context + func WithContext(parent context.Context, config Config) context.Context + type Config struct + BuildCommit string + BuildNumber string + BuildType string + BuildVersion string + ContainerNode bool + ContentAPIWait time.Duration + DefaultVMClassControllerName string + Features FeatureStates + InstanceStorage InstanceStorage + JSONExtraConfig string + LeaderElectionID string + LoadBalancerProvider string + MaxConcurrentReconciles int + MaxCreateVMsOnProvider int + MaxDeployThreadsOnProvider int + NetworkProviderType NetworkProviderType + PodName string + PodNamespace string + PodServiceAccountName string + PrivilegedUsers string + ProfilerAddr string + RateLimitBurst int + RateLimitQPS int + SyncPeriod time.Duration + VSphereNetworking bool + WatchNamespace string + WebhookSecretName string + WebhookSecretNamespace string + WebhookSecretVolumeMountPath string + WebhookServiceContainerPort int + WebhookServiceName string + WebhookServiceNamespace string + func Default() Config + func FromContext(ctx context.Context) Config + func FromEnv() Config + func (c Config) GetMaxDeployThreadsOnProvider() int + type FeatureStates struct + AutoVADPBackupRestore bool + InstanceStorage bool + PodVMOnStretchedSupervisor bool + TKGMultipleCL bool + type InstanceStorage struct + JitterMaxFactor float64 + PVPlacementFailedTTL time.Duration + SeedRequeueDuration time.Duration + type NetworkProviderType string + const NetworkProviderTypeNSXT + const NetworkProviderTypeNamed + const NetworkProviderTypeVDS + const NetworkProviderTypeVPC