Documentation ¶
Overview ¶
Package guard signs attestations and posts to attestation collector and destination.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Guard ¶
type Guard struct {
// contains filtered or unexported fields
}
Guard scans origins for latest state and submits snapshots to the Summit.
func NewGuard ¶
func NewGuard(ctx context.Context, cfg config.AgentConfig, handler metrics.Handler) (_ Guard, err error)
NewGuard creates a new guard.
func NewGuardInjectedBackend ¶ added in v0.0.194
func NewGuardInjectedBackend(ctx context.Context, cfg config.AgentConfig, handler metrics.Handler, rpcURLs map[uint32]string) (_ Guard, err error)
NewGuardInjectedBackend creates a new guard with an injected backend, rather than following the omnirpc URL format.
Directories ¶
Path | Synopsis |
---|---|
Package api contains the API for the guard.
|
Package api contains the API for the guard. |
Package cmd provides the command line interface for the guard.
|
Package cmd provides the command line interface for the guard. |
Package main provides the main function for the Guard.
|
Package main provides the main function for the Guard. |
Package metadata provides metadata for Guard.
|
Package metadata provides metadata for Guard. |
Click to show internal directories.
Click to hide internal directories.