metadata

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 0 Imported by: 88

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"
)

Variables

This section is empty.

Functions

func Contains

func Contains(all map[string]string, sub map[string]string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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