config

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YurtHubConfiguration

type YurtHubConfiguration struct {
	LBMode                          string
	RemoteServers                   []*url.URL
	GCFrequency                     int
	NodeName                        string
	HeartbeatFailedRetry            int
	HeartbeatHealthyThreshold       int
	HeartbeatTimeoutSeconds         int
	HeartbeatIntervalSeconds        int
	MaxRequestInFlight              int
	EnableProfiling                 bool
	StorageWrapper                  cachemanager.StorageWrapper
	SerializerManager               *serializer.SerializerManager
	RESTMapperManager               *meta.RESTMapperManager
	SharedFactory                   informers.SharedInformerFactory
	YurtSharedFactory               yurtinformers.SharedInformerFactory
	WorkingMode                     util.WorkingMode
	KubeletHealthGracePeriod        time.Duration
	FilterManager                   *manager.Manager
	CoordinatorServer               *url.URL
	MinRequestTimeout               time.Duration
	TenantNs                        string
	NetworkMgr                      *network.NetworkManager
	CertManager                     certificate.YurtCertificateManager
	YurtHubServerServing            *apiserver.DeprecatedInsecureServingInfo
	YurtHubProxyServerServing       *apiserver.DeprecatedInsecureServingInfo
	YurtHubDummyProxyServerServing  *apiserver.DeprecatedInsecureServingInfo
	YurtHubSecureProxyServerServing *apiserver.SecureServingInfo
	YurtHubProxyServerAddr          string
	YurtHubNamespace                string
	ProxiedClient                   kubernetes.Interface
	DiskCachePath                   string
	CoordinatorPKIDir               string
	EnableCoordinator               bool
	CoordinatorServerURL            *url.URL
	CoordinatorStoragePrefix        string
	CoordinatorStorageAddr          string // ip:port
	CoordinatorClient               kubernetes.Interface
	LeaderElection                  componentbaseconfig.LeaderElectionConfiguration
}

YurtHubConfiguration represents configuration of yurthub

func Complete

func Complete(options *options.YurtHubOptions) (*YurtHubConfiguration, error)

Complete converts *options.YurtHubOptions to *YurtHubConfiguration

Jump to

Keyboard shortcuts

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