package entity

type ClusterUser string

const (
	ClusterUserRoot             ClusterUser = "root"
	ClusterUserPlatformAdmin    ClusterUser = "platform_admin"
	ClusterUserMaintenanceAdmin ClusterUser = "maintenance_admin"
	ClusterUserCloudAdmin       ClusterUser = "cloud_admin"
)

// SystemTidbId is the cluster id used for system tidb passwords in resource pool
const SystemTidbId = "system"

type ClusterPassword struct {
	ResourcePoolId    uint64
	ClusterId         string
	User              ClusterUser
	EncryptedPassword string
	// ExpiresAt      time.Time TODO
}
