capetest

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CapeTest

func CapeTest(testReq TestRequest, endpoint string, insecure bool) (*entities.RunResults, error)

Types

type ErrorMsg

type ErrorMsg struct {
	Error string `json:"error"`
}

TODO -- cmd package also defines this

type Protocol

type Protocol interface {
	WriteStart(request entities.StartRequest) error
	ReadAttestationDoc() ([]byte, error)
	ReadRunResults() (*entities.RunResults, error)
	WriteBinary([]byte) error
}

type TestRequest

type TestRequest struct {
	Function  []byte
	Input     []byte
	AuthToken string
}

Jump to

Keyboard shortcuts

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