config

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RuntimeBaseConfig baseConfig

Functions

func ParseAttestationConfig

func ParseAttestationConfig()

func ParseBaseConfig

func ParseBaseConfig(runningCMD string)

func ParseInTotoConfig

func ParseInTotoConfig()

func SetXAssetHeaders

func SetXAssetHeaders(req *http.Request)

func StoreTokenInKeyring

func StoreTokenInKeyring(assetName, token string) error

Types

type AttestationConfig

type AttestationConfig struct {
	PredicateType string `mapstructure:"predicateType"`
}
var RuntimeAttestationConfig AttestationConfig

type InTotoConfig

type InTotoConfig struct {
	Step      string   `mapstructure:"step"`
	Materials []string `mapstructure:"materials"`
	Products  []string `mapstructure:"products"`
	Ignore    []string `mapstructure:"ignore"`

	SupplyChainID          string `mapstructure:"supplyChainId"`
	GenerateSlsaProvenance bool   `mapstructure:"generateSlsaProvenance"`

	LayoutKeyPath string `mapstructure:"layoutKey"`

	Key       toto.Key
	LayoutKey toto.Key

	Disabled bool
}
var RuntimeInTotoConfig InTotoConfig

Jump to

Keyboard shortcuts

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