Help us shape the future of Go! Take the 2026 Go Developer Survey

event

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Event types
	TypeNormal  = "Normal"
	TypeWarning = "Warning"

	// Event Reasons
	//nolint
	ReasonErrFetchingCredstashSecret = "ErrCredstash"
	ReasonErrGeneric                 = "ErrGeneric"

	ReasonErrCreateSecret     = "ErrCreateSecret"
	ReasonSuccessCreateSecret = "SuccessCreateSecret"

	//nolint
	ReasonErrDeleteOldSecret     = "ErrDeleteOldSecret"
	ReasonSuccessDeleteOldSecret = "SuccessDeleteOldSecret"

	ReasonErrUpdateSecret     = "ErrUpdateSecret"
	ReasonSuccessUpdateSecret = "SuccessUpdateSecret"

	//nolint
	// Event Messages
	MessageFailedFetchingCredstashSecret = "Failed fetching credstash secret. Key: %s. Version: %s. Table: %s. Context: %s. Error %s"

	MessageFailedCreatingSecret  = "Failed creating secret. Name: %s. Namespace: %s. Error %s"
	MessageSuccessCreatingSecret = "Successfully created secret. Name: %s. Namespace: %s"

	//nolint
	MessageFailedDeletingOldSecret  = "Failed deleting old secret. Name: %s. Namespace: %s. Error %s"
	MessageSuccessDeletingOldSecret = "Successfully deleted old secret. Name: %s. Namespace: %s"

	MessageFailedUpdatingSecret  = "Failed updating secret. Name: %s. Namespace: %s. Error %s"
	MessageSuccessUpdatingSecret = "Successfully updated secret. Name: %s. Namespace: %s"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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