gcpiit

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 25 Imported by: 1 module, 1 package

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.BuiltIn

Types

type IITAttestorConfig

type IITAttestorConfig struct {
	ProjectIDAllowList   []string `hcl:"projectid_allow_list"`
	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
	nodeattestorv1.UnsafeNodeAttestorServer
	configv1.UnsafeConfigServer
	// 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) SetLogger

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

SetLogger sets up plugin logging

Jump to

Keyboard shortcuts

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