configregistry

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigRegistry

func NewConfigRegistry(store config.Store) registry.Registry

func ToItem

func ToItem(s *pb.Item) registry.Item

func ToNode

func ToNode(n *pb.Node) registry.Node

func ToProtoItem

func ToProtoItem(i registry.Item) *pb.Item

func ToProtoNode

func ToProtoNode(n registry.Node) *pb.Node

func ToProtoService

func ToProtoService(s registry.Service) *pb.Service

func ToService

func ToService(s *pb.Service) registry.Service

func WithJSONItem

func WithJSONItem() configx.Option

Types

type Diff

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

func (*Diff) Add

func (a *Diff) Add(vs ...interface{})

func (*Diff) Delete

func (a *Diff) Delete(vs ...interface{})

func (*Diff) ToAdd

func (a *Diff) ToAdd() []interface{}

func (*Diff) ToDelete

func (a *Diff) ToDelete() []interface{}

func (*Diff) ToUpdate

func (a *Diff) ToUpdate() []interface{}

func (*Diff) Update

func (a *Diff) Update(vs ...interface{})

Jump to

Keyboard shortcuts

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