builtin

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ConfigBucket     = "mdm.DEPConfig"
	AutoAssignBucket = "mdm.DEPAutoAssign"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	*bolt.DB
}

func NewDB

func NewDB(db *bolt.DB) (*DB, error)

func (*DB) DeleteAutoAssigner

func (db *DB) DeleteAutoAssigner(filter string) error

func (*DB) LoadAutoAssigners

func (db *DB) LoadAutoAssigners() ([]sync.AutoAssigner, error)

func (*DB) LoadCursor

func (db *DB) LoadCursor() (*sync.Cursor, error)

func (*DB) SaveAutoAssigner

func (db *DB) SaveAutoAssigner(a *sync.AutoAssigner) error

func (*DB) SaveCursor

func (db *DB) SaveCursor(c sync.Cursor) error

Jump to

Keyboard shortcuts

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