builtin

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2019 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BlueprintBucket = "mdm.Blueprint"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	*bolt.DB
	// contains filtered or unexported fields
}

func NewDB

func NewDB(
	db *bolt.DB,
	profDB profile.Store,
) (*DB, error)

func (*DB) BlueprintByName

func (db *DB) BlueprintByName(name string) (*blueprint.Blueprint, error)

func (*DB) BlueprintsByApplyAt

func (db *DB) BlueprintsByApplyAt(ctx context.Context, name string) ([]blueprint.Blueprint, error)

func (*DB) Delete

func (db *DB) Delete(name string) error

func (*DB) List

func (db *DB) List() ([]blueprint.Blueprint, error)

func (*DB) Save

func (db *DB) Save(bp *blueprint.Blueprint) error

Jump to

Keyboard shortcuts

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