Documentation
¶
Index ¶
Constants ¶
View Source
const ( ActionTypeRead string = "read" ActionTypeWrite string = "write" // ActionTypeSchema to resource: ent schema and so on ActionTypeSchema string = "schema" )
View Source
const (
ActionKindResourcePrefix security.ArnKind = "resourcePrefix"
)
View Source
const (
ArnSplit = ":"
)
Variables ¶
This section is empty.
Functions ¶
func FormatArnPrefix ¶
FormatArnPrefix 资源格式化前缀
func ReplaceTenantID ¶
ReplaceTenantID 替换资源中的tenant_id
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.