Skip to main content

Module posthog

Module posthog 

Source
Expand description

Reconcile one application’s declarations against the PostHog project API.

Structs§

SyncClient
The sync engine’s HTTPS client: rustls on ring with the platform verifier (system roots) and a 30 second request timeout.
SyncClientError
SyncClient::new could not build the client; the cause is its source.
SyncConfig
CI credentials and stable application identity.
SyncReport
Changes and unsupported declarations encountered during reconciliation.
TransportError
A request that never produced an HTTP response (connect, TLS, timeout or body read). Displays the transport’s message; the OS cause is its source.

Enums§

SyncError
Error while validating declarations, reading remote state, or applying a change.

Functions§

run_from_env
Run the CI command and translate its result to a process exit status. Pass a client from SyncClient::new.
sync
Apply a complete declaration set, including removal of stale owned objects.