Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Permissions ¶
type Permissions struct {
Permissions []string
}
func (*Permissions) AppendPermissions ¶
func (p *Permissions) AppendPermissions(ctxID string, permissions ...string)
type UserGrantSearchKey ¶
type UserGrantSearchKey int32
const ( UserGrantSearchKeyUnspecified UserGrantSearchKey = iota UserGrantSearchKeyUserID UserGrantSearchKeyProjectID UserGrantSearchKeyResourceOwner UserGrantSearchKeyState UserGrantSearchKeyGrantID UserGrantSearchKeyOrgName UserGrantSearchKeyRoleKey UserGrantSearchKeyID UserGrantSearchKeyUserName UserGrantSearchKeyFirstName UserGrantSearchKeyLastName UserGrantSearchKeyEmail UserGrantSearchKeyOrgDomain UserGrantSearchKeyProjectName UserGrantSearchKeyDisplayName UserGrantSearchKeyWithGranted )
type UserGrantSearchQuery ¶
type UserGrantSearchQuery struct { Key UserGrantSearchKey Method domain.SearchMethod Value interface{} }
type UserGrantSearchRequest ¶
type UserGrantSearchRequest struct { Offset uint64 Limit uint64 SortingColumn UserGrantSearchKey Asc bool Queries []*UserGrantSearchQuery }
func (*UserGrantSearchRequest) EnsureLimit ¶
func (r *UserGrantSearchRequest) EnsureLimit(limit uint64) error
func (*UserGrantSearchRequest) GetSearchQuery ¶
func (r *UserGrantSearchRequest) GetSearchQuery(key UserGrantSearchKey) (int, *UserGrantSearchQuery)
type UserGrantSearchResponse ¶
type UserGrantState ¶
type UserGrantState int32
const ( UserGrantStateActive UserGrantState = iota UserGrantStateInactive UserGrantStateRemoved )
type UserGrantView ¶
type UserGrantView struct { ID string ResourceOwner string UserID string ProjectID string GrantID string UserName string FirstName string LastName string DisplayName string Email string ProjectName string OrgName string OrgPrimaryDomain string AvatarURL string RoleKeys []string CreationDate time.Time ChangeDate time.Time State UserGrantState Sequence uint64 }
Click to show internal directories.
Click to hide internal directories.