entity

package
v0.0.0-...-c50d277 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, db driver.Database, entity prov.NewEntity, traceID string, now time.Time) (prov.Entity, error)

Create a single entity in the database.

func List

func List(ctx context.Context, db driver.Database) ([]prov.Entity, error)

List gets all entities from the database.

func Retrieve

func Retrieve(ctx context.Context, db driver.Database, id string) (prov.Entity, error)

Retrieve a single entity from the database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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