Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Time time.Time `json:"time"` User string `json:"user"` Op Operation `json:"op"` Entity *charm.URL `json:"entity,omitempty"` ACL *ACL `json:"acl,omitempty"` }
Entry represents an audit log entry.
type Operation ¶
type Operation string
Operation represents the type of an entry.
const ( // OpSetPerm represents the setting of ACLs on an entity. // Required fields: Entity, ACL OpSetPerm Operation = "set-perm" // OpPromulgate, OpUnpromulgate represent the promulgation on an entity. // Required fields: Entity OpPromulgate Operation = "promulgate" OpUnpromulgate Operation = "unpromulgate" )
Click to show internal directories.
Click to hide internal directories.