Versions in this module Expand all Collapse all v0 v0.3.2 Nov 9, 2018 Changes in this version + type Context struct + AuthToken string + DomainId string + DomainName string + IsAdmin bool + IsAdminProject bool + Overwrite string + ProjectDomainId string + ProjectDomainName string + ProjectName string + ReadOnly string + RequestId string + ResourceUuid string + Roles []string + ServiceProjectDomainId string + ServiceProjectDomainName string + ServiceProjectId string + ServiceProjectName string + ServiceRoles string + ServiceToken string + ServiceUserDomainId string + ServiceUserDomainName string + ServiceUserId string + ServiceUserName string + ShowDeleted string + TenantId string + Token string + Uri string + UserDomainId string + UserDomainName string + UserId string + UserName string + func GetContext(req *restful.Request) *Context + func NewAdminContext() *Context + func NewContextFromJson(s string) *Context + func NewInternalTenantContext(tenantId, userId string) *Context + func UpdateContext(req *restful.Request, param map[string]interface{}) (*Context, error) + func (ctx *Context) ToJson() string + func (ctx *Context) ToPolicyValue() map[string]interface{}