config

package
v0.0.0-...-e500b2c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authz

type Authz struct {
	Address string `mapstructure:"address"`
}

Authz connection info

type Cereal

type Cereal struct {
	Address string `mapstructure:"address"`
}

Cereal is the workflow backend for scheduled jobs

type ElasticSearch

type ElasticSearch struct {
	ElasticSearchURL string `mapstructure:"url"`
}

ElasticSearch configurations

type ElasticSearchSidecar

type ElasticSearchSidecar struct {
	ESSidecarAddress string `mapstructure:"address"`
}

ElasticSearchSidecar specific options

type EventFeed

type EventFeed struct {
	Service              `mapstructure:"service"`
	*certs.TLSConfig     `mapstructure:"tls"`
	ElasticSearch        `mapstructure:"elasticsearch"`
	ElasticSearchSidecar `mapstructure:"elasticsearch_sidecar"`
	Cereal               `mapstructure:"cereal"`
	Jobs                 `mapstructure:"jobs"`
	Authz                `mapstructure:"authz"`
}

EventFeed service specific config options

type Jobs

type Jobs struct {
	DefaultPurgeAfterDays int `mapstructure:"default_purge_after_days"`
}

Jobs contains the default settings for the jobs scheduler. This is only applied when the job workflows are created, after which they are managed through the Purge gRPC Configure request, not the config.

type Service

type Service struct {
	Host     string `mapstructure:"host"`
	Port     int    `mapstructure:"port"`
	LogLevel string `mapstructure:"log_level"`
}

Service is a base config options struct for all services

func (*Service) SetLogLevel

func (s *Service) 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