config

package
v0.0.0-...-96f20a2 Latest Latest
Warning

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

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

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 {
	DisableNonTLS        bool                          `json:"disable_non_tls"`
	DropsondePort        int                           `json:"dropsonde_port"`
	ListenAddress        string                        `json:"listen_addr"`
	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