gcp

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 23 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 {
	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 New

func New() *IITAttestorPlugin

New creates a new IITAttestorPlugin.

func (*IITAttestorPlugin) Attest

Attest implements the server side logic for the gcp iit node attestation plugin.

func (*IITAttestorPlugin) Configure

Configure configures the IITAttestorPlugin.

func (*IITAttestorPlugin) GetPluginInfo

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

Jump to

Keyboard shortcuts

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