config

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	CenterURL         string
	Concurrency       int
	HeartbeatInterval time.Duration
	PollInterval      time.Duration
}

func LoadAgent

func LoadAgent() Agent

type Server

type Server struct {
	HTTPAddr               string
	DatabaseURL            string
	BootstrapAdminUser     string
	BootstrapAdminPassword string
	SessionTTL             time.Duration
	CookieSecure           bool
	PublicURL              string
	AgentImage             string
	AgentVersion           string
	EnrollmentTTL          time.Duration
	EnrollmentPollInterval time.Duration
}

func LoadServer

func LoadServer() Server

Jump to

Keyboard shortcuts

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