gcp

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltIn

func BuiltIn() catalog.Plugin

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 New

func New() *IITAttestorPlugin

NewIITAttestorPlugin creates a new IITAttestorPlugin.

func (*IITAttestorPlugin) Configure

func (*IITAttestorPlugin) FetchAttestationData

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

func (*IITAttestorPlugin) GetPluginInfo

GetPluginInfo returns the version and other metadata of the plugin.

Jump to

Keyboard shortcuts

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