Functions

string
addHypervelPhpNamespaces(string $protocol)

Add the PHP namespaces required by Hypervel's generated health classes.

at line 80
string
downloadGrpcHealthProtocol(string $revision)

Download the canonical health protocol at a pinned revision.

at line 66
void
generateGrpcHealthProtocol(string $repositoryRoot)

Regenerate the committed health protocol classes.

at line 216
string
latestGrpcHealthProtocolRevision()

Return the latest revision that changed the canonical health protocol.

at line 46
void
publishGrpcHealthProtocolFile(string $destination, string $contents)

Publish one synchronized health protocol file atomically.

at line 137
string
replaceGrpcHealthProtocolRevision(string $readme, string $revision)

Replace the pinned health protocol revision in the maintainer documentation.

at line 113
string
requestGrpcHealthResource(string $url, bool $authenticate = false)

Request an upstream gRPC resource.

at line 15
bool
synchronizeGrpcHealthProtocol(string $upstreamProtocol, string $revision, string $protocolPath, string $readmePath, callable $generate)

Synchronize and regenerate the health protocol.

at line 171