Skip to main content

Crate bestool_canopy

Crate bestool_canopy 

Source

Structs§

CanopyClient
HTTP client with auth configured for talking to a canopy server.
NewEvent
Payload for posting to POST /events on a canopy server.
Redacted
Wraps a sensitive value so its Debug output doesn’t leak the contents.

Enums§

Severity
RFC 5424 syslog severities accepted by the canopy /events API.

Constants§

CERT_RENEW_AFTER
How long to wait between scheduled cert renewals.
DEFAULT_CANOPY_URL
TAILSCALE_URL
Base URL for the tailscale-internal canopy endpoint.

Functions§

client_builder
A reqwest::ClientBuilder carrying the bestool user_agent for version.
user_agent
Browser-style user-agent string, e.g. bestool/1.2.3 (Linux 7.0.9 Arch Linux; x86_64).

Type Aliases§

ClientBuilderFactory
Factory producing the base reqwest::ClientBuilder for canopy’s clients.