INNER CODE UNIT · Go

MaxTextSizeLong

ovh/utask · utask.go:83

	MaxTextSizeLong = 100000 // ~100 kB
	// MaxTextSize is the maximum number of characters accepted in a simple string field
	MaxTextSize = 1000 // ~1 kB
	// MinTextSize is the minimum number of characters accepted in any string-type field
	MinTextSize = 3

	defaultResourceAcquireTimeout = time.Minute

	// This is the key used in Values for a step to refer to itself
	This = "this"

	// UtaskCfgSecretAlias is the key for the config item containing global configuration data
	UtaskCfgSecretAlias = "utask-cfg"

	// NotificationCredentialsSecretAlias is the key for the config item containing notification backend credentials
	NotificationCredentialsSecretAlias = "notify-webhook-credentials" // #nosec G101

	// NotificationStrategySilent corresponds to the mode where notifications will never be sent for the given templates

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…