db

package
v0.0.0-...-163e3b6 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *bolt.DB

Functions

func AddCatalog

func AddCatalog(er string, catalog []string)

func AddTags

func AddTags(er, en string, tags []string)

func CreateRepo

func CreateRepo(params map[string][]string)

func DeleteBucket

func DeleteBucket(path []string)

func DeleteKey

func DeleteKey(path []string, key string)

func DeleteRepo

func DeleteRepo(repo string)

func GetAllPairsFromBucket

func GetAllPairsFromBucket(path []string) (pairs map[string]string)

func GetCatalog

func GetCatalog(er string) (catalog []string)

func GetCatalogStructure

func GetCatalogStructure(er string) (catalog []map[string]string)

func GetRepoPretty

func GetRepoPretty(repo string) (pretty map[string]string)

func GetRepos

func GetRepos() (repos map[string]string)

func GetTags

func GetTags(er, en string) (tags []string)

func GetValueFromBucket

func GetValueFromBucket(path []string, key string) (value string)

func Init

func Init()

func PutBucketToBucket

func PutBucketToBucket(path []string)

func PutSimplePairToBucket

func PutSimplePairToBucket(path []string, key string, value string)

func PutTagDigest

func PutTagDigest(er, en, et, shortsizedt, didgesr string)

func Schema2json

func Schema2json(schema Schema) (json string)

func Upgrade

func Upgrade() (repeat bool)

func UpgradeFalseNumericImage

func UpgradeFalseNumericImage()

func UpgradeOldParentNames

func UpgradeOldParentNames()

func UpgradeTotalSize

func UpgradeTotalSize()

Types

type Schema

type Schema struct {
	Key      string
	Children map[string]Schema
}

func GetSchemaFromPoint

func GetSchemaFromPoint(path []string, filter string) (schema Schema)

Jump to

Keyboard shortcuts

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