config

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 34 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
	NodePoolInformerFactory         dynamicinformer.DynamicSharedInformerFactory
	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