Documentation ¶
Index ¶
- type Filter
- type Request
- type Result
- func (r *Result) Accepted()
- func (r *Result) BadRequest(err error)
- func (r *Result) Clear(s string)
- func (r *Result) Conflict(err error)
- func (r *Result) Forbidden(err error)
- func (r *Result) NotFound(err error)
- func (r *Result) NotImplemented(err error)
- func (r *Result) OK()
- func (r *Result) Partial()
- func (r *Result) RowCnt(i int64, err error) bool
- func (r *Result) ServerError(err error)
- func (r *Result) SetError(err error)
- func (r *Result) Unauthorized(err error)
- func (r *Result) Unavailable(err error)
- type Supervisor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Type string Action string Code uint16 Error error JobId string Super *Supervisor Tree proto.Tree Category []proto.Category Permission []proto.Permission Grant []proto.Grant Job []proto.Job System []proto.SystemOperation }
func (*Result) BadRequest ¶
func (*Result) NotImplemented ¶
func (*Result) ServerError ¶
func (*Result) Unauthorized ¶
func (*Result) Unavailable ¶
type Supervisor ¶
type Supervisor struct { Verdict uint16 VerdictAdmin bool RemoteAddr string // Fields for encrypted requests KexId string Data []byte Kex auth.Kex // Fields for basic authentication requests BasicAuthUser string BasicAuthToken string Restricted bool // Fields for permission authorization requests PermAction string PermRepository string PermMonitoring string PermNode string // Fields for map update notifications Action string Object string User proto.User Team proto.Team // Fields for Grant revocation GrantId string }
Click to show internal directories.
Click to hide internal directories.