config

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Version         string        `yaml:"version"`
	GUID            string        `yaml:"GUID"`
	LogLevel        string        `yaml:"logLevel"`
	ServerAddr      string        `yaml:"clusterOrchestratorURL"`
	Heartbeat       time.Duration `yaml:"heartbeat"`
	MetricsEndpoint string        `yaml:"metricsEndpoint"`
	MetricsInterval time.Duration `yaml:"metricsInterval"`
	StatusEndpoint  string        `yaml:"statusEndpoint"`
	JWT             JWT           `yaml:"jwt"`
}

func New

func New(cfgPath string) (*Config, error)

type JWT

type JWT struct {
	AccessTokenPath string `yaml:"accessTokenPath"`
}

Jump to

Keyboard shortcuts

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