Documentation ¶
Index ¶
- func BuiltIn() catalog.Plugin
- type IITAttestorConfig
- type IITAttestorPlugin
- func (p *IITAttestorPlugin) Configure(ctx context.Context, req *spi.ConfigureRequest) (*spi.ConfigureResponse, error)
- func (p *IITAttestorPlugin) FetchAttestationData(stream nodeattestor.NodeAttestor_FetchAttestationDataServer) error
- func (*IITAttestorPlugin) GetPluginInfo(ctx context.Context, req *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IITAttestorConfig ¶
type IITAttestorConfig struct { IdentityTokenHost string `hcl:"identity_token_host"` ServiceAccount string `hcl:"service_account"` // contains filtered or unexported fields }
IITAttestorConfig configures a IITAttestorPlugin.
type IITAttestorPlugin ¶
type IITAttestorPlugin struct { nodeattestor.UnsafeNodeAttestorServer // contains filtered or unexported fields }
IITAttestorPlugin implements GCP nodeattestation in the agent.
func (*IITAttestorPlugin) Configure ¶
func (p *IITAttestorPlugin) Configure(ctx context.Context, req *spi.ConfigureRequest) (*spi.ConfigureResponse, error)
func (*IITAttestorPlugin) FetchAttestationData ¶
func (p *IITAttestorPlugin) FetchAttestationData(stream nodeattestor.NodeAttestor_FetchAttestationDataServer) error
FetchAttestationData fetches attestation data from the GCP metadata server and sends an attestation response on given stream.
func (*IITAttestorPlugin) GetPluginInfo ¶
func (*IITAttestorPlugin) GetPluginInfo(ctx context.Context, req *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error)
GetPluginInfo returns the version and other metadata of the plugin.
Click to show internal directories.
Click to hide internal directories.