dubboregistry

package
v1.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 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 Adapter

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

Adapter to monitor dubbo services on registry center

func (*Adapter) Apply

func (a *Adapter) Apply() error

Apply inits the registries according to the configuration

func (*Adapter) Config

func (a *Adapter) Config() interface{}

Config returns the config of the adaptor

func (*Adapter) OnAddAPI

func (a *Adapter) OnAddAPI(r router.API) error

func (*Adapter) OnDeleteRouter

func (a *Adapter) OnDeleteRouter(r config.Resource) error

func (*Adapter) OnRemoveAPI

func (a *Adapter) OnRemoveAPI(r router.API) error

func (*Adapter) Start

func (a *Adapter) Start()

Start starts the adaptor

func (*Adapter) Stop

func (a *Adapter) Stop()

Stop stops the adaptor

type AdaptorConfig

type AdaptorConfig struct {
	Registries map[string]model.Registry `yaml:"registries" json:"registries" mapstructure:"registries"`
}

type Plugin

type Plugin struct {
}

Plugin to monitor dubbo services on registry center

func (*Plugin) CreateAdapter

func (p *Plugin) CreateAdapter(a *model.Adapter) (adapter.Adapter, error)

CreateAdapter returns the dubbo registry center adapter

func (Plugin) Kind

func (p Plugin) Kind() string

Kind returns the identifier of the plugin

Directories

Path Synopsis
remoting

Jump to

Keyboard shortcuts

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