Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface {
CmdBackend
TokenBackend
}
type CmdBackend ¶
type CmdBackend interface {
List(user string) []*core.Command
Get(user, name string) *core.Command
Put(user, name string, cmd *core.Command) error
Delete(user, name string) error
GrantAccess(owner, name string, subject ...string) error
RevokeAccess(owner, name string, subject ...string) error
GrantAdmin(owner, name string, subject ...string) error
RevokeAdmin(owner, name string, subject ...string) error
}
Click to show internal directories.
Click to hide internal directories.