agentstore

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureNotAttested

func EnsureNotAttested(ctx context.Context, store agentstorev1.AgentStoreClient, agentID string) error

func IsAttested

func IsAttested(ctx context.Context, store agentstorev1.AgentStoreClient, agentID string) (bool, error)

Types

type AgentStore

type AgentStore struct {
	// contains filtered or unexported fields
}

func New

func New() *AgentStore

func (*AgentStore) SetDeps

func (s *AgentStore) SetDeps(deps Deps) error

func (*AgentStore) V1

type Deps

type Deps struct {
	// DataStore is used to retrieve agent information. It MUST be set.
	DataStore datastore.DataStore
}

Jump to

Keyboard shortcuts

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