package
0.0.0-20250306120524-11777db3047b
Repository: https://github.com/cloudflare/cloudflared.git
Documentation: pkg.go.dev

# Functions

DefaultConfigDirectory returns the default directory of the config file.
DefaultConfigPath returns the default location of a config file.
DefaultConfigSearchDirectories returns the default folder locations of the config.
DefaultLogDirectory returns the default directory for log files.
FileExists checks to see if a file exist at the provided path.
FindDefaultConfigPath returns the first path that contains a config file.
FindOrCreateConfigPath returns the first path that contains a config file or creates one in the primary default path if it doesn't exist.
No description provided by the author
NewFileManager creates a config manager.
ReadConfigFile returns InputSourceContext initialized from the configuration file.
ValidateUnixSocket ensures --unix-socket param is used exclusively i.e.
ValidateUrl will validate url flag correctness.

# Constants

BastionFlag is to enable bastion, or jump host, operation.

# Variables

DefaultConfigFiles is the file names from which we attempt to read configuration.
DefaultUnixConfigLocation is the primary location to find a config file.
DefaultUnixLogLocation is the primary location to find log files.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
A CustomDuration is a Duration that has custom serialization for JSON.
DNSResolver represents a client side DNS resolver.
FileManager watches the yaml config for changes sends updates to the service to reconfigure to match the updated config.
Forwarder represents a client side listener to forward traffic to the edge.
No description provided by the author
OriginRequestConfig is a set of optional fields that users may set to customize how cloudflared sends requests to origin services.
Root is the base options to configure the service.
Tunnel represents a tunnel that should be started.
No description provided by the author
No description provided by the author

# Interfaces

Manager is the base functions of the config manager.
Notifier sends out config updates.