configregistry

package
v4.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigRegistry

func NewConfigRegistry(store config.Store, byName bool) registry.RawRegistry

func WithJSONItem

func WithJSONItem() configx.Option

func WithJSONItemMap added in v4.0.1

func WithJSONItemMap() 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{})

type TLSURLOpener added in v4.1.0

type TLSURLOpener struct{}

func (*TLSURLOpener) OpenURL added in v4.1.0

func (o *TLSURLOpener) OpenURL(ctx context.Context, u *url.URL) (registry.Registry, error)

type URLOpener added in v4.0.1

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

func (*URLOpener) OpenURL added in v4.0.1

func (o *URLOpener) OpenURL(ctx context.Context, u *url.URL) (registry.Registry, error)

Jump to

Keyboard shortcuts

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