Documentation
¶
Overview ¶
Package domain contains domain area types/functions for builder hub
Index ¶
Constants ¶
View Source
const EventGetConfig = "GetConfig"
View Source
const ProductionNetwork = "production"
Variables ¶
Functions ¶
func Bytes2Address ¶
Types ¶
type BuilderServices ¶
type BuilderWithServices ¶
type BuilderWithServices struct { Builder Builder Services []BuilderServices }
type InmemorySecretService ¶ added in v0.2.0
type InmemorySecretService struct {
// contains filtered or unexported fields
}
func NewMockSecretService ¶ added in v0.2.0
func NewMockSecretService() *InmemorySecretService
func (*InmemorySecretService) GetSecretValues ¶ added in v0.2.0
func (mss *InmemorySecretService) GetSecretValues(builderName string) (json.RawMessage, error)
func (*InmemorySecretService) SetSecretValues ¶ added in v0.2.0
func (mss *InmemorySecretService) SetSecretValues(builderName string, values json.RawMessage) error
type Measurement ¶
type Measurement struct { Name string AttestationType string Measurement map[string]SingleMeasurement }
func NewMeasurement ¶
func NewMeasurement(name, attestationType string, measurements map[string]SingleMeasurement) *Measurement
type SingleMeasurement ¶
type SingleMeasurement struct {
Expected string `json:"expected"`
}
Click to show internal directories.
Click to hide internal directories.