config

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Config

type Config struct {
	AccessToken            string
	Port                   string
	StackLocation          string
	APILogEnabled          bool
	APILogFilePath         string
	APILogSizeLimitMB      int
	AuditLogEnabled        bool
	AuditLogFilePath       string
	AuditLogSizeLimitMB    int
	LogLevel               string
	VulnscanPersistenceDir string
	GrypeScannerURL        string
	GrypeScannerToken      string
}

func NewConfig

func NewConfig() *Config

func (*Config) GetAPILogEnabled

func (c *Config) GetAPILogEnabled() bool

func (*Config) GetAPILogFilePath

func (c *Config) GetAPILogFilePath() string

func (*Config) GetAPILogSizeLimitMB

func (c *Config) GetAPILogSizeLimitMB() int

Jump to

Keyboard shortcuts

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