compose

package
v4.3.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(opts ...nodes.Option) nodes.Client

func PathClient

func PathClient(ctx context.Context, oo ...nodes.Option) nodes.Client

func PathClientAdmin

func PathClientAdmin(ctx context.Context, oo ...nodes.Option) nodes.Client

func UuidClient

func UuidClient(ctx context.Context, oo ...nodes.Option) nodes.Client

Types

type Reverse

type Reverse struct {
	nodes.Client
	// contains filtered or unexported fields
}

Reverse is an extended clientImpl used mainly to filter events sent from inside to outside the application

func ReverseClient

func ReverseClient(ctx context.Context, oo ...nodes.Option) *Reverse

func (*Reverse) NodeIsChildOfRoot

func (r *Reverse) NodeIsChildOfRoot(ctx context.Context, node *tree.Node, rootId string) (*tree.Node, bool)

NodeIsChildOfRoot compares pathes between possible parent and child

func (*Reverse) WorkspaceCanSeeNode

func (r *Reverse) WorkspaceCanSeeNode(ctx context.Context, accessList *permissions.AccessList, workspace *idm.Workspace, node *tree.Node) (*tree.Node, bool)

WorkspaceCanSeeNode will check workspaces roots to see if a node in below one of them

Jump to

Keyboard shortcuts

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