config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XdsConfig

type XdsConfig struct {
	ServiceNode      string
	DiscoveryAddress string
	Metadata         *model.BootstrapNodeMetadata
}

func GetConfig

func GetConfig(mode string) *XdsConfig

func NewXDSConfig

func NewXDSConfig(mode string) *XdsConfig

func (*XdsConfig) GetNode

func (c *XdsConfig) GetNode() *config_core_v3.Node

TODO(hzxuzhonhu): this is frequently called, cache the node later

Jump to

Keyboard shortcuts

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