Documentation
¶
Index ¶
- Constants
- type Group
- type Groups
- func (gg *Groups) AsObjects(a *auth.Authorizator) []schema.Object
- func (gg *Groups) Clone() Groups
- func (gg *Groups) Create(a *auth.Authorizator, oid schema.OID, value string, dbc db.DBC) ([]schema.Object, error)
- func (gg *Groups) Delete(auth *auth.Authorizator, oid schema.OID, dbc db.DBC) ([]schema.Object, error)
- func (gg Groups) Doors(groups ...schema.OID) []schema.OID
- func (gg *Groups) Group(oid schema.OID) (Group, bool)
- func (gg *Groups) Load(blob json.RawMessage) error
- func (gg Groups) Print()
- func (gg Groups) Save() (json.RawMessage, error)
- func (gg *Groups) Sweep(retention time.Duration)
- func (gg *Groups) Update(a *auth.Authorizator, oid schema.OID, value string, dbc db.DBC) ([]schema.Object, error)
- func (gg Groups) Validate() error
Constants ¶
View Source
const BLANK = "'blank'"
View Source
const DoorName = schema.DoorName
View Source
const GroupCreated = schema.Created
View Source
const GroupDeleted = schema.Deleted
View Source
const GroupDoors = schema.GroupDoors
View Source
const GroupModified = schema.Modified
View Source
const GroupName = schema.GroupName
View Source
const GroupStatus = schema.Status
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
catalog.CatalogGroup
Name string `json:"name"`
Doors map[schema.OID]bool `json:"doors"`
// contains filtered or unexported fields
}
func (*Group) AsRuleEntity ¶
type Groups ¶
type Groups struct {
// contains filtered or unexported fields
}
func (*Groups) Clone ¶
NTS: 'added' is specifically not cloned - it has a lifetime for the duration of
the 'shadow' copy only
NTS: 'added' is specifically not cloned - it has a lifetime for the duration of
the 'shadow' copy only
Click to show internal directories.
Click to hide internal directories.