Documentation ¶
Overview ¶
Package metadata provides label constants used for resource identification and information sharing. Below is an incomplete list of resources we may take care of.
message timeline update user
The above resources have different properties. It might be necessary to expose different pieces of information throughout the lifecycle of the resources when interacting with them.
id unix timestamp normalized to UTC timezone status state change information e.g. "updated"
Index ¶
Constants ¶
View Source
const ( InviteCode = "invite.venturemark.co/code" InviteID = "invite.venturemark.co/id" InviteStatus = "invite.venturemark.co/status" )
View Source
const ( MessageID = "message.venturemark.co/id" MessageStatus = "message.venturemark.co/status" )
View Source
const ( ResourceKind = "resource.venturemark.co/kind" ResourceVisibility = "resource.venturemark.co/visibility" )
View Source
const ( RoleID = "role.venturemark.co/id" RoleKind = "role.venturemark.co/kind" RoleStatus = "role.venturemark.co/status" )
View Source
const ( SubjectEmail = "subject.venturemark.co/email" SubjectID = "subject.venturemark.co/id" )
View Source
const ( TaskAction = "task.venturemark.co/action" TaskResource = "task.venturemark.co/resource" )
View Source
const ( TimelineID = "timeline.venturemark.co/id" TimelineStatus = "timeline.venturemark.co/status" )
View Source
const ( UpdateID = "update.venturemark.co/id" UpdateStatus = "update.venturemark.co/status" )
View Source
const ( UserID = "user.venturemark.co/id" UserStatus = "user.venturemark.co/status" )
View Source
const ( VentureID = "venture.venturemark.co/id" VentureStatus = "venture.venturemark.co/status" )
View Source
const (
ClaimID = "claim.venturemark.co/id"
)
View Source
const ( // PermissionModel indicates which role kinds to prefer for resource role // creation. E.g. defining the visibility of a resource as "private" can be // persisted using this metadata key, so that roles can be created according // to the permission model. PermissionModel = "permission.venturemark.co/model" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.