agentstore

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureNotAttested

func EnsureNotAttested(ctx context.Context, store hostservices.AgentStore, agentID string) error

func IsAttested

func IsAttested(ctx context.Context, store hostservices.AgentStore, agentID string) (bool, error)

Types

type AgentStore

type AgentStore struct {
	hostservices.UnsafeAgentStoreServer
	// contains filtered or unexported fields
}

func New

func New() *AgentStore

func (*AgentStore) SetDeps

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

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