fakeagentnodeattestor

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Fail indicates whether or not fetching attestation data should fail.
	Fail bool

	// Responses is list of echo responses. The response to each challenge is
	// expected to match the challenge value.
	Responses []string
}

type NodeAttestor

type NodeAttestor struct {
	nodeattestor.UnsafeNodeAttestorServer
	// contains filtered or unexported fields
}

func New

func New(config Config) *NodeAttestor

func (*NodeAttestor) Configure

func (*NodeAttestor) FetchAttestationData

func (p *NodeAttestor) FetchAttestationData(stream nodeattestor.NodeAttestor_FetchAttestationDataServer) (err error)

Jump to

Keyboard shortcuts

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