meta

package
v2.2.7+incompatible Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: AGPL-3.0 Imports: 15 Imported by: 9

Documentation

Overview

Package meta add persistence layer for meta data defined by the end users to enrich the nodes.

Meta data might be defined by an admin and modified by normal end-users. Typically, to manage bookmarks or ratings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDAO

func NewDAO(o dao.DAO) dao.DAO

Types

type DAO

type DAO interface {
	resources.DAO

	GetNamespaceDao() namespace.DAO

	Set(meta *idm.UserMeta) (*idm.UserMeta, bool, error)
	Del(meta *idm.UserMeta) (e error)
	Search(metaIds []string, nodeUuids []string, namespace string, ownerSubject string, q *service.ResourcePolicyQuery) ([]*idm.UserMeta, error)
}

DAO interface

Directories

Path Synopsis
Package grpc provides persistence layer for user-defined metadata
Package grpc provides persistence layer for user-defined metadata
Package namespace provides operations for managing user-metadata namespaces
Package namespace provides operations for managing user-metadata namespaces
Package provides a gateway to the underlying grpc service
Package provides a gateway to the underlying grpc service

Jump to

Keyboard shortcuts

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