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 ¶
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
Click to show internal directories.
Click to hide internal directories.