config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(config *Configuration, configFile string) (found bool, configFileUsed string, err error)

Types

type Configuration

type Configuration struct {
	Debug       bool
	DebugListen string
	Verbosity   int

	A3m             a3m.Config
	AM              am.Config
	InternalAPI     api.Config
	API             api.Config
	BagIt           bagcreate.Config
	Database        db.Config
	Event           event.Config
	ExtractActivity archiveextract.Config
	Poststorage     []poststorage.Config
	Preprocessing   preprocessing.Config
	Preservation    pres.Config
	Storage         storage.Config
	Temporal        temporal.Config
	Upload          package_.UploadConfig
	Watcher         watcher.Config
	Telemetry       telemetry.Config
	ValidatePREMIS  premis.Config

	FailedSIPs bucket.Config
	FailedPIPs bucket.Config
}

func (*Configuration) Validate

func (c *Configuration) Validate() error

type ConfigurationValidator

type ConfigurationValidator interface {
	Validate() error
}

Jump to

Keyboard shortcuts

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