config

package
v0.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 10 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
	YurtHubServerAddr           string
	YurtHubProxyServerAddr      string
	YurtHubProxyServerDummyAddr string
	GCFrequency                 int
	CertMgrMode                 string
	NodeName                    string
	HeartbeatFailedRetry        int
	HeartbeatHealthyThreshold   int
	HeartbeatTimeoutSeconds     int
	MaxRequestInFlight          int
	JoinToken                   string
	RootDir                     string
	EnableProfiling             bool
	EnableDummyIf               bool
	EnableIptables              bool
	HubAgentDummyIfName         string
	StorageWrapper              cachemanager.StorageWrapper
	SerializerManager           *serializer.SerializerManager
}

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