bootstrap

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PodNamespace = env.Register("POD_NAMESPACE", constants.DubboSystemNamespace, "").Get()
	PodName      = env.Register("POD_NAME", "", "").Get()
)

Functions

This section is empty.

Types

type ConfigSourceAddressScheme

type ConfigSourceAddressScheme string
const (
	Kubernetes ConfigSourceAddressScheme = "k8s"
)

type DiscoveryServerOptions

type DiscoveryServerOptions struct {
	HTTPAddr       string
	HTTPSAddr      string
	GRPCAddr       string
	SecureGRPCAddr string
}
type NaviArgs struct {
	ServerOptions    DiscoveryServerOptions
	RegistryOptions  RegistryOptions
	MeshConfigFile   string
	PodName          string
	Namespace        string
	CtrlZOptions     *ctrlz.Options
	KeepaliveOptions *keepalive.Options
	KrtDebugger      *krt.DebugHandler `json:"-"`
}

func NewPilotArgs

func NewPilotArgs(initFuncs ...func(*NaviArgs)) *NaviArgs

type RegistryOptions

type RegistryOptions struct {
	FileDir                    string
	Registries                 []string
	KubeConfig                 string
	KubeOptions                kubecontroller.Options
	ClusterRegistriesNamespace string
}

type Server

type Server struct {
	XDSServer *xds.DiscoveryServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(args *NaviArgs, initFuncs ...func(*Server)) (*Server, error)

func (*Server) Start

func (s *Server) Start(stop <-chan struct{}) error

Jump to

Keyboard shortcuts

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