aws

package
v0.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltIn

func BuiltIn() catalog.Plugin

Types

type IIDAttestorConfig

type IIDAttestorConfig struct {
	EC2MetadataEndpoint            string `hcl:"ec2_metadata_endpoint"`
	DeprecatedIdentityDocumentURL  string `hcl:"identity_document_url"`
	DeprecatedIdentitySignatureURL string `hcl:"identity_signature_url"`
}

IIDAttestorConfig configures a IIDAttestorPlugin.

type IIDAttestorPlugin

type IIDAttestorPlugin struct {
	// contains filtered or unexported fields
}

IIDAttestorPlugin implements aws nodeattestation in the agent.

func New

func New() *IIDAttestorPlugin

New creates a new IIDAttestorPlugin.

func (*IIDAttestorPlugin) Configure

Configure configures the IIDAttestorPlugin.

func (*IIDAttestorPlugin) FetchAttestationData

FetchAttestationData fetches attestation data from the aws metadata server and sends an attestation response on given stream.

func (*IIDAttestorPlugin) GetPluginInfo

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL