store

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(provider storage.Provider, namespace string, tagGroups ...TagGroup) (storage.Store, error)

Open opens the store for the given namespace and creates the necessary indexes. As an optimization, this function uses vendor-specific APIs (for supported databases) in order to optimize performance.

Types

type TagGroup

type TagGroup []string

TagGroup defines a group of tags that may be used to create a compound index.

func NewTagGroup

func NewTagGroup(tags ...string) TagGroup

NewTagGroup is a convenience function that returns a TagGroup from the given set of tags.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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