Documentation
¶
Index ¶
- func BuiltIn() catalog.Plugin
- type IITAttestorConfig
- type IITAttestorPlugin
- func (p *IITAttestorPlugin) Attest(stream nodeattestor.NodeAttestor_AttestServer) error
- func (p *IITAttestorPlugin) Configure(ctx context.Context, req *spi.ConfigureRequest) (*spi.ConfigureResponse, 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 {
ProjectIDWhitelist []string `hcl:"projectid_whitelist"`
AgentPathTemplate string `hcl:"agent_path_template"`
UseInstanceMetadata bool `hcl:"use_instance_metadata"`
AllowedLabelKeys []string `hcl:"allowed_label_keys"`
AllowedMetadataKeys []string `hcl:"allowed_metadata_keys"`
MaxMetadataValueSize int `hcl:"max_metadata_value_size"`
ServiceAccountFile string `hcl:"service_account_file"`
// contains filtered or unexported fields
}
IITAttestorConfig is the config for IITAttestorPlugin.
type IITAttestorPlugin ¶
type IITAttestorPlugin struct {
nodeattestorbase.Base
// contains filtered or unexported fields
}
IITAttestorPlugin implements node attestation for agents running in GCP.
func (*IITAttestorPlugin) Attest ¶
func (p *IITAttestorPlugin) Attest(stream nodeattestor.NodeAttestor_AttestServer) error
Attest implements the server side logic for the gcp iit node attestation plugin.
func (*IITAttestorPlugin) Configure ¶
func (p *IITAttestorPlugin) Configure(ctx context.Context, req *spi.ConfigureRequest) (*spi.ConfigureResponse, error)
Configure configures the IITAttestorPlugin.
func (*IITAttestorPlugin) GetPluginInfo ¶
func (*IITAttestorPlugin) GetPluginInfo(ctx context.Context, req *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error)
GetPluginInfo returns the version and related metadata of the installed plugin.
Click to show internal directories.
Click to hide internal directories.