config

package
v0.0.0-...-cf1deb9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CerealConfig

type CerealConfig struct {
	Target string `mapstructure:"target"`
}

type ComplianceConfig

type ComplianceConfig struct {
	Target string `mapstructure:"target"`
}

type Log

type Log struct {
	Level  string
	Format string
}

type Minio

type Minio struct {
	EndPoint                     string `mapstructure:"endpoint"`
	RootUser                     string `mapstructure:"root_user"`
	RootPassword                 string `mapstructure:"root_password"`
	EnableSsl                    bool   `mapstructure:"enable_ssl"`
	Cert                         string `mapstructure:"cert"`
	ConcurrentOpenSearchRequests int    `mapstructure:"concurrent_open_search_requests"`
	ConcurrentMinioRequests      int    `mapstructure:"concurrent_minio_requests"`
}

type ObjStore

type ObjStore struct {
	BucketName string `mapstructure:"bucket"`
}

type ReportManager

type ReportManager struct {
	Service          Service `mapstructure:"service"`
	Log              Log
	CerealConfig     CerealConfig     `mapstructure:"cereal"`
	ComplianceConfig ComplianceConfig `mapstructure:"compliance"`
	Storage          Storage          `mapstructure:"storage"`
	certs.TLSConfig  `mapstructure:"tls"`
	ObjStore         ObjStore `mapstructure:"objstore"`
	Minio            Minio    `mapstructure:"minio"`
}

Configuration for the Report Manager Service

type Service

type Service struct {
	Port                 int
	Host                 string
	Message              string
	EnableLargeReporting bool `mapstructure:"enable_large_reporting"`
}

type Storage

type Storage struct {
	URI          string `mapstructure:"uri"`
	DBUser       string `mapstructure:"user"`
	Database     string `mapstructure:"database"`
	SchemaPath   string `mapstructure:"schema_path"`
	MaxOpenConns int    `mapstructure:"max_open_conns"`
	MaxIdleConns int    `mapstructure:"max_idle_conns"`
}

Jump to

Keyboard shortcuts

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