config

package
v0.0.0-...-be2ef80 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SERVICE_NAME = "nodemanager"

Functions

This section is empty.

Types

type Authz

type Authz struct {
	Endpoint string
}

type Cereal

type Cereal struct {
	Endpoint string
	Skip     bool
}

type EventConfig

type EventConfig struct {
	Endpoint string
}

type Manager

type Manager struct {
	Endpoint                   string
	ManualPollIntervalMinutes  int
	AwsEc2PollIntervalMinutes  int
	AzureVMPollIntervalMinutes int
}

Manager service specific config options

type Nodemanager

type Nodemanager struct {
	Postgres
	Service
	Manager
	Secrets
	EventConfig
	Cereal
	Authz
}

Nodemanager service specific config options

type Postgres

type Postgres struct {
	ConnectionString string
	MigrationsPath   string
	Database         string
}

Postgres specific options

type Secrets

type Secrets struct {
	Endpoint string
	HostBind string
	Port     int
}

Secrets service specific config options

type Service

type Service struct {
	Name       string
	HostBind   string
	Port       int
	LogLevel   string
	ServerBind string
	certs.TLSConfig
}

Service is a base config options struct for all services

Jump to

Keyboard shortcuts

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