Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶ added in v0.0.38
type Collection struct {
// contains filtered or unexported fields
}
func NewCollection ¶ added in v0.0.38
func NewCollection() *Collection
func (*Collection) AddCollections ¶ added in v0.0.38
func (p *Collection) AddCollections(collections []string)
func (*Collection) Check ¶ added in v0.0.38
func (p *Collection) Check(rule string) bool
func (*Collection) GetCollections ¶ added in v0.0.38
func (p *Collection) GetCollections() []string
func (*Collection) Reset ¶ added in v0.0.38
func (p *Collection) Reset()
type KeyInfo ¶
type KeyInfo struct {
// contains filtered or unexported fields
}
func (*KeyInfo) Collection ¶ added in v0.0.38
func (info *KeyInfo) Collection() *Collection
func (*KeyInfo) Encryption ¶
func (info *KeyInfo) Encryption() *encryption.Encryption
func (*KeyInfo) Permission ¶
func (info *KeyInfo) Permission() *Permission
type Keyring ¶
type Keyring struct {
// contains filtered or unexported fields
}
func NewKeyring ¶
func NewKeyring() *Keyring
type Permission ¶
type Permission struct {
// contains filtered or unexported fields
}
func NewPermission ¶
func NewPermission() *Permission
func (*Permission) AddPermissions ¶
func (p *Permission) AddPermissions(permissions []string)
func (*Permission) Check ¶
func (p *Permission) Check(rule string) bool
func (*Permission) GetPermissions ¶ added in v0.0.38
func (p *Permission) GetPermissions() []string
func (*Permission) Reset ¶
func (p *Permission) Reset()
Click to show internal directories.
Click to hide internal directories.