store

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	SaveEndpoint(ep apis.Endpoint)
	SaveEndpointAsLocal(ep apis.Endpoint)
	GetEndpoint(name string) (apis.Endpoint, bool)
	GetEndpoints(names ...string) []apis.Endpoint
	GetAllEndpointNames() sets.String
	GetLocalEndpointNames() sets.String
	DeleteEndpoint(name string)

	SaveCommunity(ep types.Community)
	GetCommunity(name string) (types.Community, bool)
	GetCommunitiesByEndpoint(name string) []types.Community
	DeleteCommunity(name string)
}

func NewStore

func NewStore() Interface

Jump to

Keyboard shortcuts

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