package regstate

import "github.com/Microsoft/hcsshim/internal/regstate"

Index

Functions

func IsNotFoundError

func IsNotFoundError(err error) bool

func RemoveAll

func RemoveAll(root string, perUser bool) error

Types

type Key

type Key struct {
	registry.Key
	Name string
}

func Open

func Open(root string, perUser bool) (*Key, error)

func (*Key) Clear

func (k *Key) Clear(id, key string) error

func (*Key) Close

func (k *Key) Close() error

func (*Key) Create

func (k *Key) Create(id, key string, state interface{}) error

func (*Key) Enumerate

func (k *Key) Enumerate() ([]string, error)

func (*Key) Get

func (k *Key) Get(id, key string, state interface{}) error

func (*Key) Remove

func (k *Key) Remove(id string) error

func (*Key) Set

func (k *Key) Set(id, key string, state interface{}) error

type NoStateError

type NoStateError struct {
	ID  string
	Key string
}

func (*NoStateError) Error

func (err *NoStateError) Error() string

type NotFoundError

type NotFoundError struct {
	Id string
}

func (*NotFoundError) Error

func (err *NotFoundError) Error() string

Source Files

regstate.go

Version
v0.7.12-1
Published
Nov 6, 2018
Platform
js/wasm
Imports
8 packages
Last checked
2 hours ago

Tools for package owners.