xdsadapter

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

func NewAdapter

func NewAdapter(c *Config) (*Adapter, error)

func (*Adapter) Ready

func (a *Adapter) Ready() bool

func (*Adapter) Run

func (a *Adapter) Run(ctx context.Context)

type Config

type Config struct {
	Workdir         string                 `json:"workdir"`
	XDSAddress      string                 `json:"xds_address"`
	NodeID          string                 `json:"node_id"`
	CertDir         string                 `json:"cert_dir"`
	Metadata        map[string]interface{} `json:"metadata"`
	ReloadInterval  time.Duration          `json:"reload_interval"`
	RestartInterval time.Duration          `json:"restart_interval"`
	PidFile         string                 `json:"pid_file"`
}

Jump to

Keyboard shortcuts

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