k8spsat

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltIn

func BuiltIn() catalog.BuiltIn

Types

type AttestorConfig

type AttestorConfig struct {
	// Cluster name where the agent lives
	Cluster string `hcl:"cluster"`
	// File path of PSAT
	TokenPath string `hcl:"token_path"`
}

AttestorConfig holds configuration for AttestorPlugin

type AttestorPlugin

type AttestorPlugin struct {
	nodeattestorv1.UnsafeNodeAttestorServer
	configv1.UnsafeConfigServer
	// contains filtered or unexported fields
}

AttestorPlugin is a PSAT (projected SAT) attestor plugin

func New

func New() *AttestorPlugin

New creates a new PSAT attestor plugin

func (*AttestorPlugin) AidAttestation

AidAttestation loads the PSAT token from the configured path

func (*AttestorPlugin) Configure

Configure decodes JSON config from request and populates AttestorPlugin with it

Jump to

Keyboard shortcuts

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