Documentation
¶
Index ¶
- func BuiltIn() catalog.BuiltIn
- type AttestorConfig
- type AttestorPlugin
- func (p *AttestorPlugin) AidAttestation(stream nodeattestorv1.NodeAttestor_AidAttestationServer) error
- func (p *AttestorPlugin) Configure(_ context.Context, req *configv1.ConfigureRequest) (resp *configv1.ConfigureResponse, err error)
- func (p *AttestorPlugin) Validate(_ context.Context, req *configv1.ValidateRequest) (resp *configv1.ValidateResponse, err error)
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
func (*AttestorPlugin) Validate ¶ added in v1.11.0
func (p *AttestorPlugin) Validate(_ context.Context, req *configv1.ValidateRequest) (resp *configv1.ValidateResponse, err error)
Click to show internal directories.
Click to hide internal directories.