Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AccessDenied = xerrors.Errorf("access denied")
AccessDenied is the error when the user is not allowed to access the dag
Functions ¶
Types ¶
type DagPoolPolicy ¶
type DagPoolPolicy string
DagPoolPolicy is the policy of dagpool
var ( //OnlyRead only read OnlyRead DagPoolPolicy = "only-read" //OnlyWrite only write OnlyWrite DagPoolPolicy = "only-write" //ReadWrite read and write ReadWrite DagPoolPolicy = "read-write" )
func (*DagPoolPolicy) Allow ¶
func (d *DagPoolPolicy) Allow(policy DagPoolPolicy) bool
Click to show internal directories.
Click to hide internal directories.