nseregistry

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClientRegistered = "CLE"
	NSERegistered    = "NSE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NSEEntry

type NSEEntry struct {
	Workspace string
	NseReg    *registry.NSERegistration
}

type NSERegistry

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

func NewNSERegistry

func NewNSERegistry(file string) *NSERegistry

func (*NSERegistry) AppendClientRequest

func (reg *NSERegistry) AppendClientRequest(workspace string) error

func (*NSERegistry) AppendNSERegRequest

func (reg *NSERegistry) AppendNSERegRequest(workspace string, nseReg *registry.NSERegistration) error

func (*NSERegistry) Delete

func (reg *NSERegistry) Delete()

func (*NSERegistry) DeleteClient

func (reg *NSERegistry) DeleteClient(workspace string) error

* Delete client workspace and all NSEs registered.

func (*NSERegistry) DeleteNSE

func (reg *NSERegistry) DeleteNSE(endpointid string) error

func (*NSERegistry) LoadRegistry

func (reg *NSERegistry) LoadRegistry() (clients []string, nses map[string]NSEEntry, err error)

func (*NSERegistry) Save

func (reg *NSERegistry) Save(clients []string, nses map[string]NSEEntry) error

* Saves memory model info file

Jump to

Keyboard shortcuts

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