actionresdeps

package
v3.0.0-rc21 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dep

type Dep struct {
	Action string
	A      string
	B      string
}

Dep is a {action, depending rid, depended on} rid single relation.

type Store

type Store struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Store is the action resource dependencies data store.

func NewStore

func NewStore() *Store

func (*Store) Dependencies

func (t *Store) Dependencies(action, rid string) []string

func (*Store) Register

func (t *Store) Register(dep Dep)

func (*Store) RegisterSlice

func (t *Store) RegisterSlice(deps []Dep)

func (*Store) SetActionMap

func (t *Store) SetActionMap(m map[string]string)

func (*Store) String

func (t *Store) String() string

Jump to

Keyboard shortcuts

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