constants

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TDE_KEY_AWS_ACTION = "\nPlease update your KMS key policy to grant this cluster encrypt and decrypt permissions on your key." +
		"\nYour cluster will activate automatically once key permissions are granted." +
		"\nPrincipal: %v" +
		"\nAction: 'KMS:Encrypt', 'KMS:Decrypt'" +
		"\nPlease see below page for more information.\n" + _TDE_INFO_LINK
	TDE_KEY_GCP_ACTION = "Action Required: grant key permissions to activate the cluster." +
		"\nGrant the following permission to the service account: %v" +
		"\n - cloudkms.cryptoKeyVersions.useToEncrypt" +
		"\n - cloudkms.cryptoKeyVersions.useToDecrypt" +
		"\nYour cluster will activate automatically once key permissions are granted." +
		"\nPlease see below page for more information.\n" + _TDE_INFO_LINK
	TDE_KEY_AZURE_ACTION = "Action Required: grant key permissions to activate the cluster." +
		"\nGrant the following permission to the MSI workload identity: %v" +
		"\n - Microsoft.KeyVault/vaults/keys/encrypt/action" +
		"\n - Microsoft.KeyVault/vaults/keys/decrypt/action" +
		"\nThis can be done by modifying the access policy of the key vault." +
		"\nYour cluster will activate automatically once key permissions are granted." +
		"\nPlease see below page for more information.\n" + _TDE_INFO_LINK
	TDE_KEY_NO_ACTION                     = "No Action Required"
	TDE_KEY_ACTION_UNKNOWN_PROVIDER_ERROR = "Error: Transparent data encryption provider: %v is not supported."
	TDE_CHECK_ACTION                      = "" /* 133-byte string literal not displayed */
)
View Source
const (
	CONDITION_DEPLOYED                         = "biganimal.com/deployed"
	PHASE_HEALTHY                              = "Cluster in healthy state"
	PHASE_PAUSED                               = "Cluster has been paused"
	PHASE_WAITING_FOR_ACCESS_TO_ENCRYPTION_KEY = "Waiting for TDE key to get reachable"
	TDE_STATUS                                 = "READY"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PhaseState

type PhaseState int
const (
	NOT_HEALTHY PhaseState = iota
	HEALTHY
	WAITING_FOR_ACCESS_TO_ENCRYPTION_KEY
)

Jump to

Keyboard shortcuts

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