gcp

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: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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