serveropts

package
v0.0.0-...-66c7a0d Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Overview

Configuration options for the ingest service's GRPC and REST servers. This name was chosen instead of "Config" because "config" is used for "config management" already.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChefIngestRunPipelineConfig

type ChefIngestRunPipelineConfig struct {
	MaxNumberOfBundledMsgs        int
	NumberOfMsgsTransformers      int
	NumberOfPublishers            int
	NumberOfNodemanagerPublishers int
}

type ChefIngestServerConfig

type ChefIngestServerConfig struct {
	MessageBufferSize            int
	MaxNumberOfBundledActionMsgs int
	ChefIngestRunPipelineConfig  ChefIngestRunPipelineConfig
}

type JobsConfig

type JobsConfig struct {
	MissingNodesForDeletionRunningDefault bool
	NodesMissingRunningDefault            bool
}

type Opts

type Opts struct {
	Host                          string
	Port                          int
	RestPort                      int
	ElasticSearchUrl              string
	EsSidecarAddress              string
	PGURL                         string
	PGDatabase                    string
	AuthzAddress                  string
	LogLevel                      string
	PurgeConvergeHistoryAfterDays int32
	PurgeActionsAfterDays         int32
	ConnFactory                   *secureconn.Factory
	NodeManagerAddress            string
	ConfigMgmtAddress             string
	ChefIngestServerConfig        ChefIngestServerConfig
	CerealAddress                 string
	Jobs                          JobsConfig
	EventFeedAddress              string
}

func (*Opts) SetLogLevel

func (o *Opts) SetLogLevel()

SetLogLevel sets the log level for the service

Jump to

Keyboard shortcuts

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