Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func NewAttestationCache ¶
func (*Cache) StopPolling ¶
func (c *Cache) StopPolling()
type CageDocResponse ¶
type CageDocResponse struct {
AttestationDoc string `json:"attestation_doc"`
}
type PCRManager ¶ added in v1.0.0
type PCRManager interface {
Get() *[]attestation.PCRs
}
type PollingProvider ¶ added in v1.0.0
type PollingProvider struct {
// contains filtered or unexported fields
}
func NewPollingPCRManager ¶ added in v1.0.0
func NewPollingPCRManager(pollingInterval time.Duration, getPcrs func() ([]attestation.PCRs, error), ) *PollingProvider
func (*PollingProvider) Get ¶ added in v1.0.0
func (c *PollingProvider) Get() *[]attestation.PCRs
func (*PollingProvider) Set ¶ added in v1.0.0
func (c *PollingProvider) Set(pcrs *[]attestation.PCRs)
func (*PollingProvider) StopPolling ¶ added in v1.0.0
func (c *PollingProvider) StopPolling()
type StaticProvider ¶ added in v1.0.0
type StaticProvider struct {
// contains filtered or unexported fields
}
func NewStaticPCRManager ¶ added in v1.0.0
func NewStaticPCRManager(pcrs []attestation.PCRs) *StaticProvider
func (*StaticProvider) Get ¶ added in v1.0.0
func (c *StaticProvider) Get() *[]attestation.PCRs
Click to show internal directories.
Click to hide internal directories.