package
23.10.11+incompatible
Repository: https://github.com/projecteru2/agent.git
Documentation: pkg.go.dev

# Functions

BackoffRetry retries up to `maxAttempts` times, and the interval will grow exponentially.
CheckHTTP 检查一个workload的所有URL CheckHTTP 事实上一般也就一个.
CheckTCP 检查一个TCP 这里不支持ctx?.
GetAppInfo return app info.
No description provided by the author
GetIP Get hostIP.
GetMaxAttemptsByTTL .
IsDockerized returns if the agent is running in docker.
MakeDockerClient make a docker client.
MakeYavirtClient make a yavirt client.
NewBufPipe creates a synchronous pipe with capacity.
NewGroupCAS .
NewHashBackends new a hash backends.
NewRetryTask .
ReplaceNonUtf8 replaces non-utf8 characters in \x format.
UseLabelAsFilter return if use label as filter.
WithTimeout runs a function with given timeout.
WritePid write pid.

# Variables

Pool .

# Structs

GroupCAS indicates cas locks which are grouped by keys.
HashBackends is a simple hash backend.
A PipeReader is the read half of a pipe.
A PipeWriter is the write half of a pipe.
RetryTask .