config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Webhooks             map[string]WebhookConfig `yaml:"webhooks"`
	ArchivistaUrl        string                   `yaml:"archivistaUrl"`
	AttestationDirectory string                   `yaml:"attestationDirectory"`
}

func New

func New(filePath string) (Config, error)

type WebhookConfig

type WebhookConfig struct {
	Type          string         `yaml:"type"`
	Signer        string         `yaml:"signer"`
	SignerOptions map[string]any `yaml:"signerOptions"`
	Options       map[string]any `yaml:"options"`
}

Jump to

Keyboard shortcuts

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