Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttestorConfig ¶
type AttestorConfig struct { // Cluster name where the agent lives Cluster string `hcl:"cluster"` // File path of PSAT TokenPath string `hcl:"token_path"` }
AttestorConfig holds configuration for AttestorPlugin
type AttestorPlugin ¶
type AttestorPlugin struct { nodeattestorv1.UnsafeNodeAttestorServer configv1.UnsafeConfigServer // contains filtered or unexported fields }
AttestorPlugin is a PSAT (projected SAT) attestor plugin
func (*AttestorPlugin) AidAttestation ¶
func (p *AttestorPlugin) AidAttestation(stream nodeattestorv1.NodeAttestor_AidAttestationServer) error
AidAttestation loads the PSAT token from the configured path
func (*AttestorPlugin) Configure ¶
func (p *AttestorPlugin) Configure(_ context.Context, req *configv1.ConfigureRequest) (resp *configv1.ConfigureResponse, err error)
Configure decodes JSON config from request and populates AttestorPlugin with it
Click to show internal directories.
Click to hide internal directories.