Versions in this module Expand all Collapse all v0 v0.17.0 Jul 18, 2024 Changes in this version + func MemberTypeChoices() []string + type GroupUserOut struct + MemberType MemberType + RealName string + UserEmail string + UserGroupId string + type Handler interface + ProjectUserList func(ctx context.Context, project string) (*ProjectUserListOut, error) + ProjectUserRemove func(ctx context.Context, project string, userEmail string) error + ProjectUserUpdate func(ctx context.Context, project string, userEmail string, in *ProjectUserUpdateIn) error + type InvitationOut struct + InviteTime time.Time + InvitedUserEmail string + InvitingUserEmail string + MemberType MemberType + type MemberType string + const MemberTypeAdmin + const MemberTypeDeveloper + const MemberTypeOperator + const MemberTypeReadOnly + type ProjectUserHandler struct + func NewHandler(doer doer) ProjectUserHandler + func (h *ProjectUserHandler) ProjectUserList(ctx context.Context, project string) (*ProjectUserListOut, error) + func (h *ProjectUserHandler) ProjectUserRemove(ctx context.Context, project string, userEmail string) error + func (h *ProjectUserHandler) ProjectUserUpdate(ctx context.Context, project string, userEmail string, in *ProjectUserUpdateIn) error + type ProjectUserListOut struct + GroupUsers []GroupUserOut + Invitations []InvitationOut + Users []UserOut + type ProjectUserUpdateIn struct + MemberType MemberType + type UserOut struct + Auth []string + BillingContact bool + CreateTime time.Time + MemberType MemberType + RealName *string + TeamId string + TeamName string + UserEmail string