file

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Devices []Device `json:"devices"`
}

Data defines a holding struct for device data parsed from a file

type Device

type Device struct {
	Identifier string                 `json:"identifier"`
	Data       map[string]interface{} `json:"data"`
}

Device defines an individual device struct parsed from a file

type Provider

type Provider struct {
}

func (Provider) Bootstrap

func (p Provider) Bootstrap() error

Bootstrap is a public function that is implemented as part of the Provider interface It is responsible for setting up and testing the provider then letting the main package know about any errors or issues that have stopped a provider bootstrapping correctly

func (Provider) Handler

func (p Provider) Handler(handlerMode string, stepInputData shared.StepAttestationRequestData) (shared.StepResponseData, error)

Handler is a public function that is implemented as part of the Provider interface It is responsible for handling an individual webhook request and returning StepResponseData

Jump to

Keyboard shortcuts

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