config

package
v0.0.0-...-a794ec3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 8 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duration

type Duration time.Duration

func (Duration) MarshalJSON

func (d Duration) MarshalJSON() ([]byte, error)

func (*Duration) UnmarshalJSON

func (d *Duration) UnmarshalJSON(data []byte) error

type MutualTLS

type MutualTLS struct {
	ListenAddress string `json:"listen_addr"`
	CACert        string `json:"ca_cert"`
	ServerCert    string `json:"server_cert"`
	ServerKey     string `json:"server_key"`
}

type UploaderConfig

type UploaderConfig struct {
	DropsondePort        int                           `json:"dropsonde_port"`
	CCJobPollingInterval Duration                      `json:"job_polling_interval"`
	LagerConfig          lagerflags.LagerConfig        `json:"lager_config"`
	DebugServerConfig    debugserver.DebugServerConfig `json:"debug_server_config"`
	CCClientCert         string                        `json:"cc_client_cert"`
	CCClientKey          string                        `json:"cc_client_key"`
	CCCACert             string                        `json:"cc_ca_cert"`
	MutualTLS            MutualTLS                     `json:"mutual_tls"`
}

func DefaultUploaderConfig

func DefaultUploaderConfig() UploaderConfig

func NewUploaderConfig

func NewUploaderConfig(configPath string) (UploaderConfig, error)

Jump to

Keyboard shortcuts

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