Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager interface { WithContext(ctx context.Context) ladon.Manager ladon.Manager ladon.Warden }
func NewManager ¶
NewManager initializes a new SQLManager for given db instance.
type ScanPolicy ¶
type ScanPolicy struct { ID string `gorm:"column:id"` Description string `gorm:"column:description;"` Subject string `gorm:"column:subject;"` Resource string `gorm:"column:resource;"` Action string `gorm:"column:action;"` Effect idm.PolicyEffect `gorm:"column:effect;"` Conditions map[string]*idm.PolicyCondition `gorm:"column:conditions;serializer:json;"` }
Click to show internal directories.
Click to hide internal directories.