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