state

package
v0.7.19 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	// Get gets the state of the given device
	Get(id devicetype.VersionedID, revision networkchange.Revision) ([]*devicechange.PathValue, error)
}

Store is a device state store

func NewStore

func NewStore(networkChangeStore networkchangestore.Store, deviceSnapshotStore devicesnapshotstore.Store) (Store, error)

NewStore returns a new store backed by the device change store

Jump to

Keyboard shortcuts

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