Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Services = []utils.ServiceConfig{
{Name: "correlation", Priority: 1, MinMemory: 3 * 1024, MaxMemory: 60 * 1024},
{Name: "logstash", Priority: 1, MinMemory: 2700, MaxMemory: 60 * 1024},
{Name: "opensearch", Priority: 1, MinMemory: 4500, MaxMemory: 60 * 1024},
{Name: "log-auth-proxy", Priority: 1, MinMemory: 1 * 1024, MaxMemory: 4 * 1024},
{Name: "backend", Priority: 2, MinMemory: 700, MaxMemory: 8 * 1024},
{Name: "web-pdf", Priority: 2, MinMemory: 1024, MaxMemory: 2 * 1024},
{Name: "postgres", Priority: 2, MinMemory: 500, MaxMemory: 1 * 1024},
{Name: "user-auditor", Priority: 3, MinMemory: 200, MaxMemory: 1024},
{Name: "agentmanager", Priority: 3, MinMemory: 200, MaxMemory: 1024},
{Name: "mutate", Priority: 3, MinMemory: 50, MaxMemory: 1024},
{Name: "aws", Priority: 3, MinMemory: 50, MaxMemory: 1024},
{Name: "filebrowser", Priority: 3, MinMemory: 50, MaxMemory: 512},
{Name: "sophos", Priority: 3, MinMemory: 50, MaxMemory: 1024},
{Name: "frontend", Priority: 3, MinMemory: 80, MaxMemory: 1024},
{Name: "socai", Priority: 3, MinMemory: 30, MaxMemory: 512},
{Name: "bitdefender", Priority: 3, MinMemory: 30, MaxMemory: 100},
{Name: "office365", Priority: 3, MinMemory: 30, MaxMemory: 100},
}
Functions ¶
func CreateLogstashConfig ¶
Types ¶
type Compose ¶
type Config ¶
type LogstashConfig ¶
type NginxConfig ¶
type NginxConfig struct {
}
type Service ¶
type Service struct {
Image *string `yaml:"image,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
Ports []string `yaml:"ports,omitempty"`
Environment []string `yaml:"environment,omitempty"`
DependsOn []string `yaml:"depends_on,omitempty"`
Logging *Logging `yaml:"logging,omitempty"`
Deploy *Deploy `yaml:"deploy,omitempty"`
Command []string `yaml:"command,omitempty,flow"`
}
type StackConfig ¶
type StackConfig struct {
FrontEndNginx string
LogstashPipelines string
LogstashConfig string
ServiceResources map[string]*utils.ServiceConfig
Threads int
ESData string
ESBackups string
Cert string
Datasources string
Rules string
LocksDir string
ShmFolder string
}
func (*StackConfig) Populate ¶
func (s *StackConfig) Populate(c *Config) error
Click to show internal directories.
Click to hide internal directories.