nodeId

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NodeCodeMap = map[NodeType]string{
	UserCode:         "user",
	OrganizationCode: "organization",
	TeamCode:         "team",
	FileCode:         "file",
	PackageCode:      "package",
	CollectionCode:   "collection",
	DataSetCode:      "dataset",
	ChannelCode:      "channel",
	DataCanvasCode:   "canvas",
	FolderCode:       "folder",
}

Functions

func NodeId

func NodeId(nodeType NodeType) string

Types

type NodeType

type NodeType int64
const (
	UserCode NodeType = iota
	OrganizationCode
	TeamCode
	FileCode
	PackageCode
	CollectionCode
	DataSetCode
	ChannelCode
	DataCanvasCode
	FolderCode
)

Jump to

Keyboard shortcuts

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