gcpiit

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 26 Imported by: 1

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

func (*IITAttestorPlugin) Validate added in v1.11.0

Jump to

Keyboard shortcuts

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