prov

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: 6 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, agent prov.NewAgent, traceID string, now time.Time) (prov.Agent, error)

Create a single agent in the database.

func List

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

List gets all agents from the database.

func Retrieve

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

Retrieve a single agent 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