duration

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package duration defines the various durations used throughout Epinio, as timeouts, and other.

Index

Constants

View Source
const (

	// Fixed. Standard number of attempts to retry various operations.
	RetryMax = 10
)

Variables

This section is empty.

Functions

func Flags

func Flags(pf *flag.FlagSet, argToEnv map[string]string)

Flags adds to viper flags

func LogHistory

func LogHistory() time.Duration

LogHistory returns the duration to reach into the past for tailing logs.

func Multiplier

func Multiplier() time.Duration

Multiplier returns the currently active timeout multiplier value

func ToAppBuilt

func ToAppBuilt() time.Duration

ToAppBuilt returns the duration to wait until giving up on the application being built

func ToConfigurationSecret added in v0.6.0

func ToConfigurationSecret() time.Duration

ToConfigurationSecret returns the duration to wait for the secret to a catalog configuration binding to appear

func ToDeployment

func ToDeployment() time.Duration

ToDeployment returns the duration to wait for parts of a deployment to become ready

func ToNamespaceDeletion added in v0.2.1

func ToNamespaceDeletion() time.Duration

ToNamespaceDeletion returns the duration to wait for deletion of namespace

func ToSecretCopied added in v0.0.21

func ToSecretCopied() time.Duration

ToSecretCopied returns the duration to wait until giving up on a secret getting copied to complete.

func UserAbort

func UserAbort() time.Duration

UserAbort returns the duration to wait when the user is given the chance to abort an operation

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL