aws

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltIn

func BuiltIn() catalog.Plugin

BuiltIn creates a new built-in plugin

Types

type EC2Client

type EC2Client interface {
	DescribeInstancesWithContext(ctx aws.Context, input *ec2.DescribeInstancesInput, opts ...request.Option) (*ec2.DescribeInstancesOutput, error)
}

EC2Client interface describing used aws ec2client functions, useful for mocking

type IIDAttestorConfig

type IIDAttestorConfig struct {
	caws.SessionConfig `hcl:",squash"`
	SkipBlockDevice    bool     `hcl:"skip_block_device"`
	LocalValidAcctIDs  []string `hcl:"account_ids_for_local_validation"`
	AgentPathTemplate  string   `hcl:"agent_path_template"`
	// contains filtered or unexported fields
}

IIDAttestorConfig holds hcl configuration for IID attestor plugin

type IIDAttestorPlugin

type IIDAttestorPlugin struct {
	nodeattestorbase.Base
	// contains filtered or unexported fields
}

IIDAttestorPlugin implements node attestation for agents running in aws.

func New

func New() *IIDAttestorPlugin

New creates a new IITAttestorPlugin.

func (*IIDAttestorPlugin) Attest

Attest implements the server side logic for the aws iid node attestation plugin.

func (*IIDAttestorPlugin) Configure

Configure configures the IIDAttestorPlugin.

func (*IIDAttestorPlugin) GetPluginInfo

GetPluginInfo returns the version and related metadata of the installed plugin.

func (*IIDAttestorPlugin) SetLogger

func (p *IIDAttestorPlugin) SetLogger(log hclog.Logger)

SetLogger sets this plugin's logger

Jump to

Keyboard shortcuts

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