Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Module = cloudflaredruntime.Module
Module is the canonical runtime-safe supervisor module. The full config package aliases its shared Cloudflared settings to runtimeconfig, so no conversion provider or second implementation is needed here.
Functions ¶
func BundledVersion ¶
func BundledVersion() string
BundledVersion returns the pinned cloudflared version shipped by supported tunnel-client distributions.
func RenderStandaloneConfig ¶
func RenderStandaloneConfig(cfg StandaloneConfig) ([]byte, error)
RenderStandaloneConfig forwards to the full-only config generator.
Types ¶
type Manifest ¶
type Manifest = cloudflaredruntime.Manifest
Manifest, State, and Supervisor remain available from the historical full-client package while the implementation lives in the runtime-safe package used by both binaries.
func BundledManifest ¶
func BundledManifest() Manifest
BundledManifest returns the parsed, checked-in provenance manifest.
type StandaloneConfig ¶
type StandaloneConfig = configgen.StandaloneConfig
StandaloneConfig remains as a full-client compatibility alias. The standalone renderer itself lives in the full-only configgen package so runtime source exports cannot accidentally carry it.
func DefaultStandaloneConfig ¶
func DefaultStandaloneConfig(tokenFile string) StandaloneConfig
DefaultStandaloneConfig forwards to the full-only config generator.
type State ¶
type State = cloudflaredruntime.State
func NewState ¶
func NewState(cfg *config.CloudflaredConfig) *State
NewState preserves the full-client constructor while delegating to the runtime-safe implementation.
type Supervisor ¶
type Supervisor = cloudflaredruntime.Supervisor
func NewSupervisor ¶
func NewSupervisor(p supervisorParams) (*Supervisor, error)
NewSupervisor preserves the full-client constructor while delegating to the runtime-safe implementation.