package
19.10.0+incompatible
Repository: https://github.com/safescale-dev-team/safescale.git
Documentation: pkg.go.dev

# Functions

FormatDuration ...
GetBigDelay ...
GetConnectionTimeout ...
GetConnectSSHTimeout ...
GetContextTimeout ...
GetDefaultDelay ...
GetExecutionTimeout ...
GetHostCleanupTimeout ...
GetHostCreationTimeout ...
GetHostTimeout ...
GetLongOperationTimeout ...
GetMinDelay ...
GetTimeoutFromEnv reads a environment variable 'string', interprets the variable as a time.Duration if possible and returns the time to the caller if there is a failure, it returns a default duration 'duration' passed as an argument when calling the function.
NewStopwatch creates a object satisfying interface Stopwatch.

# Constants

BigDelay is a big delay.
DefaultConnectionTimeout is the default connection timeout.
DefaultContextTimeout default timeout for grpc command invocation.
DefaultDelay is the default delay.
DefaultExecutionTimeout is the default linux command operation timeout.
DefaultSSHConnectionTimeout is the default ssh timeout connection.
HostCleanupTimeout is the default timeout of host teardown operations.
HostTimeout timeout for grpc command relative to host creation.
LongHostOperationTimeout is a Long timeout.
SmallDelay is the predefined small delay.

# Interfaces

Stopwatch interface to expose methods available for a stopwatch.