graph

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test(backend, query, content bool) *mock.Mock

Test sets flags for managing responses from the Mock driver

Types

type DB

DB contains the widest possible selection of functionality provided by any implementation of this abstraction

func New

func New(ctx context.Context, choice Subsets) (*DB, error)

New DB returned according to provided subsets and the environment config satisfying the interfaces requested by the choice of subsets

func NewCodeListStore

func NewCodeListStore(ctx context.Context) (*DB, error)

NewCodeListStore returns a configured DB containing the CodeList functionality

func NewDimensionStore

func NewDimensionStore(ctx context.Context) (*DB, error)

NewDimensionStore returns a configured DB containing the Dimension functionality

func NewHierarchyStore

func NewHierarchyStore(ctx context.Context) (*DB, error)

NewHierarchyStore returns a configured DB containing the Hierarchy functionality

func NewInstanceStore

func NewInstanceStore(ctx context.Context) (*DB, error)

NewInstanceStore returns a configured DB containing the Instance functionality

func NewObservationStore

func NewObservationStore(ctx context.Context) (*DB, error)

NewObservationStore returns a configured DB containing the Observation functionality

type Subsets

type Subsets struct {
	CodeList    bool
	Hierarchy   bool
	Instance    bool
	Observation bool
	Dimension   bool
}

Subsets allows a clear and concise way of requesting any combination of functionality by groups of node types

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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