package common

import "time"

const (
	// AnnotationKeyManuallyTriggerReconcile is the annotation key used to manually trigger
	// reconciliation of VPC peering connections. This is used across all cloud providers.
	AnnotationKeyManuallyTriggerReconcile = "regional-server.tidbcloud.com/trigger-reconcile"

	// AWSNodeRouteTableFilter is the filter pattern for AWS node route tables.
	// AWS route tables for nodes contain "-nodes-" in their names.
	AWSNodeRouteTableFilter = "-nodes-"

	// AliCloudNodeRouteTableFilter is the filter pattern for AliCloud node route tables.
	// AliCloud route tables for nodes contain "-nodes" in their names.
	AliCloudNodeRouteTableFilter = "-nodes"

	// O11yVPCPeeringManagedByLabel identifies BYOC O11Y VPC peerings managed by dataplane-manager.
	O11yVPCPeeringManagedByLabel = "o11y.cloud.pingcap.com/managed-by"
	O11yVPCPeeringManagedByValue = "dataplane-manager"

	annotationTimeFormat = time.RFC3339

	RetryInterval = time.Second * 60
)
