Documentation ¶
Index ¶
- func AuthMethodToPb(mfa *query.AuthMethod) *user_pb.AuthFactor
- func AuthMethodsToPb(mfas *query.AuthMethods) []*user_pb.AuthFactor
- func DisplayNameQueryToQuery(q *user_pb.DisplayNameQuery) (query.SearchQuery, error)
- func EmailQueryToQuery(q *user_pb.EmailQuery) (query.SearchQuery, error)
- func EmailToPb(email *query.Email) *user_pb.Email
- func ExternalIDPViewsToExternalIDPs(externalIDPs []*query.IDPUserLink) []*domain.UserIDPLink
- func FirstNameQueryToQuery(q *user_pb.FirstNameQuery) (query.SearchQuery, error)
- func GenderToDomain(gender user_pb.Gender) domain.Gender
- func GenderToPb(gender domain.Gender) user_pb.Gender
- func HumanToPb(view *query.Human, assetPrefix, owner string) *user_pb.Human
- func LastNameQueryToQuery(q *user_pb.LastNameQuery) (query.SearchQuery, error)
- func MFAStateToPb(state domain.MFAState) user_pb.AuthFactorState
- func MachineToPb(view *query.Machine) *user_pb.Machine
- func MembershipQueriesToQuery(queries []*user_pb.MembershipQuery) (_ []query.SearchQuery, err error)
- func MembershipQueryToQuery(req *user_pb.MembershipQuery) (query.SearchQuery, error)
- func MembershipToMembershipPb(membership *query.Membership) *user_pb.Membership
- func MembershipsToMembershipsPb(memberships []*query.Membership) []*user_pb.Membership
- func ModelEmailToPb(email *query.Email) *user_pb.Email
- func ModelPhoneToPb(phone *query.Phone) *user_pb.Phone
- func NickNameQueryToQuery(q *user_pb.NickNameQuery) (query.SearchQuery, error)
- func PersonalAccessTokenToPb(token *query.PersonalAccessToken) *user.PersonalAccessToken
- func PersonalAccessTokensToPb(tokens []*query.PersonalAccessToken) []*user.PersonalAccessToken
- func PhoneToPb(phone *query.Phone) *user_pb.Phone
- func ProfileToPb(profile *query.Profile, assetPrefix string) *user_pb.Profile
- func RefreshTokenToPb(token *model.RefreshTokenView) *user.RefreshToken
- func RefreshTokensToPb(refreshTokens []*model.RefreshTokenView) []*user.RefreshToken
- func ResourceOwnerQueryToQuery(q *user_pb.ResourceOwnerQuery) (query.SearchQuery, error)
- func SessionStateToPb(state domain.UserSessionState) user.SessionState
- func StateQueryToQuery(q *user_pb.StateQuery) (query.SearchQuery, error)
- func TypeQueryToQuery(q *user_pb.TypeQuery) (query.SearchQuery, error)
- func UserAuthMethodToWebAuthNTokenPb(token *query.AuthMethod) *user_pb.WebAuthNToken
- func UserAuthMethodsToWebAuthNTokenPb(methods *query.AuthMethods) []*user_pb.WebAuthNToken
- func UserGrantDisplayNameQueryToModel(q *user_pb.UserGrantDisplayNameQuery) (query.SearchQuery, error)
- func UserGrantEmailQueryToModel(q *user_pb.UserGrantEmailQuery) (query.SearchQuery, error)
- func UserGrantFirstNameQueryToModel(q *user_pb.UserGrantFirstNameQuery) (query.SearchQuery, error)
- func UserGrantLastNameQueryToModel(q *user_pb.UserGrantLastNameQuery) (query.SearchQuery, error)
- func UserGrantOrgDomainQueryToModel(q *user_pb.UserGrantOrgDomainQuery) (query.SearchQuery, error)
- func UserGrantOrgNameQueryToModel(q *user_pb.UserGrantOrgNameQuery) (query.SearchQuery, error)
- func UserGrantProjectGrantIDQueryToModel(q *user_pb.UserGrantProjectGrantIDQuery) (query.SearchQuery, error)
- func UserGrantProjectIDQueryToModel(q *user_pb.UserGrantProjectIDQuery) (query.SearchQuery, error)
- func UserGrantProjectNameQueryToModel(q *user_pb.UserGrantProjectNameQuery) (query.SearchQuery, error)
- func UserGrantQueriesToQuery(ctx context.Context, queries []*user_pb.UserGrantQuery) (q []query.SearchQuery, err error)
- func UserGrantQueryToQuery(ctx context.Context, query *user_pb.UserGrantQuery) (query.SearchQuery, error)
- func UserGrantRoleKeyQueryToModel(q *user_pb.UserGrantRoleKeyQuery) (query.SearchQuery, error)
- func UserGrantToPb(assetPrefix string, grant *query.UserGrant) *user_pb.UserGrant
- func UserGrantUserIDQueryToModel(q *user_pb.UserGrantUserIDQuery) (query.SearchQuery, error)
- func UserGrantUserNameQueryToModel(q *user_pb.UserGrantUserNameQuery) (query.SearchQuery, error)
- func UserGrantUserTypeQueryToModel(q *user_pb.UserGrantUserTypeQuery) (query.SearchQuery, error)
- func UserGrantWithGrantedQueryToModel(ctx context.Context, q *user_pb.UserGrantWithGrantedQuery) (query.SearchQuery, error)
- func UserGrantsToPb(assetPrefix string, grants []*query.UserGrant) []*user_pb.UserGrant
- func UserNameQueryToQuery(q *user_pb.UserNameQuery) (query.SearchQuery, error)
- func UserQueriesToQuery(queries []*user_pb.SearchQuery) (_ []query.SearchQuery, err error)
- func UserQueryToQuery(query *user_pb.SearchQuery) (query.SearchQuery, error)
- func UserSessionToPb(session *user_model.UserSessionView, avatarPrefix string) *user.Session
- func UserSessionsToPb(sessions []*user_model.UserSessionView, avatarPrefix string) []*user.Session
- func UserStateToPb(state domain.UserState) user_pb.UserState
- func UserToPb(user *query.User, assetPrefix string) *user_pb.User
- func UserTypeToPb(user *query.User, assetPrefix string) user_pb.UserType
- func UsersToPb(users []*query.User, assetPrefix string) []*user_pb.User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMethodToPb ¶
func AuthMethodToPb(mfa *query.AuthMethod) *user_pb.AuthFactor
func AuthMethodsToPb ¶
func AuthMethodsToPb(mfas *query.AuthMethods) []*user_pb.AuthFactor
func DisplayNameQueryToQuery ¶
func DisplayNameQueryToQuery(q *user_pb.DisplayNameQuery) (query.SearchQuery, error)
func EmailQueryToQuery ¶
func EmailQueryToQuery(q *user_pb.EmailQuery) (query.SearchQuery, error)
func ExternalIDPViewsToExternalIDPs ¶
func ExternalIDPViewsToExternalIDPs(externalIDPs []*query.IDPUserLink) []*domain.UserIDPLink
func FirstNameQueryToQuery ¶
func FirstNameQueryToQuery(q *user_pb.FirstNameQuery) (query.SearchQuery, error)
func LastNameQueryToQuery ¶
func LastNameQueryToQuery(q *user_pb.LastNameQuery) (query.SearchQuery, error)
func MFAStateToPb ¶
func MFAStateToPb(state domain.MFAState) user_pb.AuthFactorState
func MembershipQueriesToQuery ¶
func MembershipQueriesToQuery(queries []*user_pb.MembershipQuery) (_ []query.SearchQuery, err error)
func MembershipQueryToQuery ¶
func MembershipQueryToQuery(req *user_pb.MembershipQuery) (query.SearchQuery, error)
func MembershipToMembershipPb ¶
func MembershipToMembershipPb(membership *query.Membership) *user_pb.Membership
func MembershipsToMembershipsPb ¶
func MembershipsToMembershipsPb(memberships []*query.Membership) []*user_pb.Membership
func NickNameQueryToQuery ¶
func NickNameQueryToQuery(q *user_pb.NickNameQuery) (query.SearchQuery, error)
func PersonalAccessTokenToPb ¶
func PersonalAccessTokenToPb(token *query.PersonalAccessToken) *user.PersonalAccessToken
func PersonalAccessTokensToPb ¶
func PersonalAccessTokensToPb(tokens []*query.PersonalAccessToken) []*user.PersonalAccessToken
func RefreshTokenToPb ¶
func RefreshTokenToPb(token *model.RefreshTokenView) *user.RefreshToken
func RefreshTokensToPb ¶
func RefreshTokensToPb(refreshTokens []*model.RefreshTokenView) []*user.RefreshToken
func ResourceOwnerQueryToQuery ¶
func ResourceOwnerQueryToQuery(q *user_pb.ResourceOwnerQuery) (query.SearchQuery, error)
func SessionStateToPb ¶
func SessionStateToPb(state domain.UserSessionState) user.SessionState
func StateQueryToQuery ¶
func StateQueryToQuery(q *user_pb.StateQuery) (query.SearchQuery, error)
func TypeQueryToQuery ¶
func TypeQueryToQuery(q *user_pb.TypeQuery) (query.SearchQuery, error)
func UserAuthMethodToWebAuthNTokenPb ¶
func UserAuthMethodToWebAuthNTokenPb(token *query.AuthMethod) *user_pb.WebAuthNToken
func UserAuthMethodsToWebAuthNTokenPb ¶
func UserAuthMethodsToWebAuthNTokenPb(methods *query.AuthMethods) []*user_pb.WebAuthNToken
func UserGrantDisplayNameQueryToModel ¶
func UserGrantDisplayNameQueryToModel(q *user_pb.UserGrantDisplayNameQuery) (query.SearchQuery, error)
func UserGrantEmailQueryToModel ¶
func UserGrantEmailQueryToModel(q *user_pb.UserGrantEmailQuery) (query.SearchQuery, error)
func UserGrantFirstNameQueryToModel ¶
func UserGrantFirstNameQueryToModel(q *user_pb.UserGrantFirstNameQuery) (query.SearchQuery, error)
func UserGrantLastNameQueryToModel ¶
func UserGrantLastNameQueryToModel(q *user_pb.UserGrantLastNameQuery) (query.SearchQuery, error)
func UserGrantOrgDomainQueryToModel ¶
func UserGrantOrgDomainQueryToModel(q *user_pb.UserGrantOrgDomainQuery) (query.SearchQuery, error)
func UserGrantOrgNameQueryToModel ¶
func UserGrantOrgNameQueryToModel(q *user_pb.UserGrantOrgNameQuery) (query.SearchQuery, error)
func UserGrantProjectGrantIDQueryToModel ¶
func UserGrantProjectGrantIDQueryToModel(q *user_pb.UserGrantProjectGrantIDQuery) (query.SearchQuery, error)
func UserGrantProjectIDQueryToModel ¶
func UserGrantProjectIDQueryToModel(q *user_pb.UserGrantProjectIDQuery) (query.SearchQuery, error)
func UserGrantProjectNameQueryToModel ¶
func UserGrantProjectNameQueryToModel(q *user_pb.UserGrantProjectNameQuery) (query.SearchQuery, error)
func UserGrantQueriesToQuery ¶
func UserGrantQueriesToQuery(ctx context.Context, queries []*user_pb.UserGrantQuery) (q []query.SearchQuery, err error)
func UserGrantQueryToQuery ¶
func UserGrantQueryToQuery(ctx context.Context, query *user_pb.UserGrantQuery) (query.SearchQuery, error)
func UserGrantRoleKeyQueryToModel ¶
func UserGrantRoleKeyQueryToModel(q *user_pb.UserGrantRoleKeyQuery) (query.SearchQuery, error)
func UserGrantToPb ¶
func UserGrantUserIDQueryToModel ¶
func UserGrantUserIDQueryToModel(q *user_pb.UserGrantUserIDQuery) (query.SearchQuery, error)
func UserGrantUserNameQueryToModel ¶
func UserGrantUserNameQueryToModel(q *user_pb.UserGrantUserNameQuery) (query.SearchQuery, error)
func UserGrantUserTypeQueryToModel ¶
func UserGrantUserTypeQueryToModel(q *user_pb.UserGrantUserTypeQuery) (query.SearchQuery, error)
func UserGrantWithGrantedQueryToModel ¶
func UserGrantWithGrantedQueryToModel(ctx context.Context, q *user_pb.UserGrantWithGrantedQuery) (query.SearchQuery, error)
func UserGrantsToPb ¶
func UserNameQueryToQuery ¶
func UserNameQueryToQuery(q *user_pb.UserNameQuery) (query.SearchQuery, error)
func UserQueriesToQuery ¶
func UserQueriesToQuery(queries []*user_pb.SearchQuery) (_ []query.SearchQuery, err error)
func UserQueryToQuery ¶
func UserQueryToQuery(query *user_pb.SearchQuery) (query.SearchQuery, error)
func UserSessionToPb ¶
func UserSessionToPb(session *user_model.UserSessionView, avatarPrefix string) *user.Session
func UserSessionsToPb ¶
func UserSessionsToPb(sessions []*user_model.UserSessionView, avatarPrefix string) []*user.Session
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.