Documentation ¶
Overview ¶
Package fakes provides fakes model builders
Index ¶
- func BuildFakeAccount() *types.Account
- func BuildFakeAccountCreationInput() *types.AccountCreationRequestInput
- func BuildFakeAccountInvitation() *types.AccountInvitation
- func BuildFakeAccountInvitationCreationRequestInput() *types.AccountInvitationCreationRequestInput
- func BuildFakeAccountInvitationList() *types.QueryFilteredResult[types.AccountInvitation]
- func BuildFakeAccountList() *types.QueryFilteredResult[types.Account]
- func BuildFakeAccountUpdateInput() *types.AccountUpdateRequestInput
- func BuildFakeAccountUserMembership() *types.AccountUserMembership
- func BuildFakeAccountUserMembershipCreationRequestInput() *types.AccountUserMembershipCreationRequestInput
- func BuildFakeAccountUserMembershipDatabaseCreationInput() *types.AccountUserMembershipDatabaseCreationInput
- func BuildFakeAccountUserMembershipWithUser() *types.AccountUserMembershipWithUser
- func BuildFakeAuditLogEntry() *types.AuditLogEntry
- func BuildFakeAuditLogEntryList() *types.QueryFilteredResult[types.AuditLogEntry]
- func BuildFakeAvatarUpdateInput() *types.AvatarUpdateInput
- func BuildFakeChangeActiveAccountInput() *types.ChangeActiveAccountInput
- func BuildFakeEmailAddressVerificationRequestInput() *types.EmailAddressVerificationRequestInput
- func BuildFakeID() string
- func BuildFakeOAuth2Client() *types.OAuth2Client
- func BuildFakeOAuth2ClientCreationInput() *types.OAuth2ClientCreationRequestInput
- func BuildFakeOAuth2ClientCreationResponseFromOAuth2Client(client *types.OAuth2Client) *types.OAuth2ClientCreationResponse
- func BuildFakeOAuth2ClientList() *types.QueryFilteredResult[types.OAuth2Client]
- func BuildFakeOAuth2ClientToken() *types.OAuth2ClientToken
- func BuildFakePasswordResetToken() *types.PasswordResetToken
- func BuildFakePasswordResetTokenCreationRequestInput() *types.PasswordResetTokenCreationRequestInput
- func BuildFakePasswordResetTokenRedemptionRequestInput() *types.PasswordResetTokenRedemptionRequestInput
- func BuildFakePasswordUpdateInput() *types.PasswordUpdateInput
- func BuildFakeServiceSetting() *types.ServiceSetting
- func BuildFakeServiceSettingConfiguration() *types.ServiceSettingConfiguration
- func BuildFakeServiceSettingConfigurationCreationRequestInput() *types.ServiceSettingConfigurationCreationRequestInput
- func BuildFakeServiceSettingConfigurationList() *types.QueryFilteredResult[types.ServiceSettingConfiguration]
- func BuildFakeServiceSettingConfigurationUpdateRequestInput() *types.ServiceSettingConfigurationUpdateRequestInput
- func BuildFakeServiceSettingCreationRequestInput() *types.ServiceSettingCreationRequestInput
- func BuildFakeServiceSettingList() *types.QueryFilteredResult[types.ServiceSetting]
- func BuildFakeServiceSettingUpdateRequestInput() *types.ServiceSettingUpdateRequestInput
- func BuildFakeSessionContextData() *types.SessionContextData
- func BuildFakeTOTPSecretRefreshInput() *types.TOTPSecretRefreshInput
- func BuildFakeTOTPSecretVerificationInputForUser(user *types.User) *types.TOTPSecretVerificationInput
- func BuildFakeTime() time.Time
- func BuildFakeTransferAccountOwnershipInput() *types.AccountOwnershipTransferInput
- func BuildFakeUser() *types.User
- func BuildFakeUserAccountStatusUpdateInput() *types.UserAccountStatusUpdateInput
- func BuildFakeUserAccountStatusUpdateInputFromUser(user *types.User) *types.UserAccountStatusUpdateInput
- func BuildFakeUserCreationInput() *types.UserRegistrationInput
- func BuildFakeUserDetailsDatabaseUpdateInput() *types.UserDetailsDatabaseUpdateInput
- func BuildFakeUserDetailsUpdateInput() *types.UserDetailsUpdateRequestInput
- func BuildFakeUserEmailAddressUpdateInput() *types.UserEmailAddressUpdateInput
- func BuildFakeUserList() *types.QueryFilteredResult[types.User]
- func BuildFakeUserLoginInputFromUser(user *types.User) *types.UserLoginInput
- func BuildFakeUserNotification() *types.UserNotification
- func BuildFakeUserNotificationCreationRequestInput() *types.UserNotificationCreationRequestInput
- func BuildFakeUserNotificationList() *types.QueryFilteredResult[types.UserNotification]
- func BuildFakeUserNotificationUpdateRequestInput() *types.UserNotificationUpdateRequestInput
- func BuildFakeUserPermissionModificationInput() *types.ModifyUserPermissionsInput
- func BuildFakeUserPermissionsRequestInput() *types.UserPermissionsRequestInput
- func BuildFakeUserRegistrationInputFromUser(user *types.User) *types.UserRegistrationInput
- func BuildFakeUserRegistrationInputWithInviteFromUser(user *types.User) *types.UserRegistrationInput
- func BuildFakeUsernameReminderRequestInput() *types.UsernameReminderRequestInput
- func BuildFakeUsernameUpdateInput() *types.UsernameUpdateInput
- func BuildFakeWebhook() *types.Webhook
- func BuildFakeWebhookCreationRequestInput() *types.WebhookCreationRequestInput
- func BuildFakeWebhookList() *types.QueryFilteredResult[types.Webhook]
- func BuildFakeWebhookTriggerEvent() *types.WebhookTriggerEvent
- func BuildFakeWebhookTriggerEventList() *types.QueryFilteredResult[types.WebhookTriggerEvent]
- func BuildFleshedOutQueryFilter() *types.QueryFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFakeAccount ¶
BuildFakeAccount builds a faked account.
func BuildFakeAccountCreationInput ¶
func BuildFakeAccountCreationInput() *types.AccountCreationRequestInput
BuildFakeAccountCreationInput builds a faked AccountCreationRequestInput.
func BuildFakeAccountInvitation ¶
func BuildFakeAccountInvitation() *types.AccountInvitation
BuildFakeAccountInvitation builds a faked AccountInvitation.
func BuildFakeAccountInvitationCreationRequestInput ¶
func BuildFakeAccountInvitationCreationRequestInput() *types.AccountInvitationCreationRequestInput
BuildFakeAccountInvitationCreationRequestInput builds a faked AccountInvitationCreationRequestInput from a webhook.
func BuildFakeAccountInvitationList ¶
func BuildFakeAccountInvitationList() *types.QueryFilteredResult[types.AccountInvitation]
BuildFakeAccountInvitationList builds a faked AccountInvitationList.
func BuildFakeAccountList ¶
func BuildFakeAccountList() *types.QueryFilteredResult[types.Account]
BuildFakeAccountList builds a faked AccountList.
func BuildFakeAccountUpdateInput ¶
func BuildFakeAccountUpdateInput() *types.AccountUpdateRequestInput
BuildFakeAccountUpdateInput builds a faked AccountUpdateRequestInput from a account.
func BuildFakeAccountUserMembership ¶
func BuildFakeAccountUserMembership() *types.AccountUserMembership
BuildFakeAccountUserMembership builds a faked AccountUserMembership.
func BuildFakeAccountUserMembershipCreationRequestInput ¶
func BuildFakeAccountUserMembershipCreationRequestInput() *types.AccountUserMembershipCreationRequestInput
BuildFakeAccountUserMembershipCreationRequestInput builds a faked AccountUserMembershipCreationRequestInput.
func BuildFakeAccountUserMembershipDatabaseCreationInput ¶
func BuildFakeAccountUserMembershipDatabaseCreationInput() *types.AccountUserMembershipDatabaseCreationInput
BuildFakeAccountUserMembershipDatabaseCreationInput builds a faked AccountUserMembershipCreationRequestInput.
func BuildFakeAccountUserMembershipWithUser ¶
func BuildFakeAccountUserMembershipWithUser() *types.AccountUserMembershipWithUser
BuildFakeAccountUserMembershipWithUser builds a faked AccountUserMembershipWithUser.
func BuildFakeAuditLogEntry ¶
func BuildFakeAuditLogEntry() *types.AuditLogEntry
BuildFakeAuditLogEntry builds a faked valid instrument.
func BuildFakeAuditLogEntryList ¶
func BuildFakeAuditLogEntryList() *types.QueryFilteredResult[types.AuditLogEntry]
BuildFakeAuditLogEntryList builds a faked AuditLogEntryList.
func BuildFakeAvatarUpdateInput ¶
func BuildFakeAvatarUpdateInput() *types.AvatarUpdateInput
BuildFakeAvatarUpdateInput builds a faked AvatarUpdateInput.
func BuildFakeChangeActiveAccountInput ¶
func BuildFakeChangeActiveAccountInput() *types.ChangeActiveAccountInput
BuildFakeChangeActiveAccountInput builds a faked ChangeActiveAccountInput.
func BuildFakeEmailAddressVerificationRequestInput ¶
func BuildFakeEmailAddressVerificationRequestInput() *types.EmailAddressVerificationRequestInput
BuildFakeEmailAddressVerificationRequestInput builds a faked EmailAddressVerificationRequestInput.
func BuildFakeOAuth2Client ¶
func BuildFakeOAuth2Client() *types.OAuth2Client
BuildFakeOAuth2Client builds a faked OAuth2Client.
func BuildFakeOAuth2ClientCreationInput ¶
func BuildFakeOAuth2ClientCreationInput() *types.OAuth2ClientCreationRequestInput
BuildFakeOAuth2ClientCreationInput builds a faked OAuth2ClientCreationRequestInput.
func BuildFakeOAuth2ClientCreationResponseFromOAuth2Client ¶
func BuildFakeOAuth2ClientCreationResponseFromOAuth2Client(client *types.OAuth2Client) *types.OAuth2ClientCreationResponse
BuildFakeOAuth2ClientCreationResponseFromOAuth2Client builds a faked OAuth2ClientCreationResponse.
func BuildFakeOAuth2ClientList ¶
func BuildFakeOAuth2ClientList() *types.QueryFilteredResult[types.OAuth2Client]
BuildFakeOAuth2ClientList builds a faked OAuth2ClientList.
func BuildFakeOAuth2ClientToken ¶
func BuildFakeOAuth2ClientToken() *types.OAuth2ClientToken
BuildFakeOAuth2ClientToken builds a faked OAuth2ClientToken.
func BuildFakePasswordResetToken ¶
func BuildFakePasswordResetToken() *types.PasswordResetToken
BuildFakePasswordResetToken builds a faked PasswordResetToken.
func BuildFakePasswordResetTokenCreationRequestInput ¶
func BuildFakePasswordResetTokenCreationRequestInput() *types.PasswordResetTokenCreationRequestInput
BuildFakePasswordResetTokenCreationRequestInput builds a faked PasswordResetTokenCreationRequestInput.
func BuildFakePasswordResetTokenRedemptionRequestInput ¶
func BuildFakePasswordResetTokenRedemptionRequestInput() *types.PasswordResetTokenRedemptionRequestInput
BuildFakePasswordResetTokenRedemptionRequestInput builds a faked PasswordResetTokenRedemptionRequestInput.
func BuildFakePasswordUpdateInput ¶
func BuildFakePasswordUpdateInput() *types.PasswordUpdateInput
BuildFakePasswordUpdateInput builds a faked PasswordUpdateInput.
func BuildFakeServiceSetting ¶
func BuildFakeServiceSetting() *types.ServiceSetting
BuildFakeServiceSetting builds a faked service setting.
func BuildFakeServiceSettingConfiguration ¶
func BuildFakeServiceSettingConfiguration() *types.ServiceSettingConfiguration
BuildFakeServiceSettingConfiguration builds a faked service setting.
func BuildFakeServiceSettingConfigurationCreationRequestInput ¶
func BuildFakeServiceSettingConfigurationCreationRequestInput() *types.ServiceSettingConfigurationCreationRequestInput
BuildFakeServiceSettingConfigurationCreationRequestInput builds a faked ServiceSettingConfigurationCreationRequestInput.
func BuildFakeServiceSettingConfigurationList ¶
func BuildFakeServiceSettingConfigurationList() *types.QueryFilteredResult[types.ServiceSettingConfiguration]
BuildFakeServiceSettingConfigurationList builds a faked ServiceSettingConfigurationList.
func BuildFakeServiceSettingConfigurationUpdateRequestInput ¶
func BuildFakeServiceSettingConfigurationUpdateRequestInput() *types.ServiceSettingConfigurationUpdateRequestInput
BuildFakeServiceSettingConfigurationUpdateRequestInput builds a faked ServiceSettingConfigurationUpdateRequestInput from a service setting.
func BuildFakeServiceSettingCreationRequestInput ¶
func BuildFakeServiceSettingCreationRequestInput() *types.ServiceSettingCreationRequestInput
BuildFakeServiceSettingCreationRequestInput builds a faked ServiceSettingCreationRequestInput.
func BuildFakeServiceSettingList ¶
func BuildFakeServiceSettingList() *types.QueryFilteredResult[types.ServiceSetting]
BuildFakeServiceSettingList builds a faked ServiceSettingList.
func BuildFakeServiceSettingUpdateRequestInput ¶
func BuildFakeServiceSettingUpdateRequestInput() *types.ServiceSettingUpdateRequestInput
BuildFakeServiceSettingUpdateRequestInput builds a faked ServiceSettingUpdateRequestInput.
func BuildFakeSessionContextData ¶
func BuildFakeSessionContextData() *types.SessionContextData
BuildFakeSessionContextData builds a faked AccountUserMembershipCreationRequestInput.
func BuildFakeTOTPSecretRefreshInput ¶
func BuildFakeTOTPSecretRefreshInput() *types.TOTPSecretRefreshInput
BuildFakeTOTPSecretRefreshInput builds a faked TOTPSecretRefreshInput.
func BuildFakeTOTPSecretVerificationInputForUser ¶
func BuildFakeTOTPSecretVerificationInputForUser(user *types.User) *types.TOTPSecretVerificationInput
BuildFakeTOTPSecretVerificationInputForUser builds a faked TOTPSecretVerificationInput for a given user.
func BuildFakeTransferAccountOwnershipInput ¶
func BuildFakeTransferAccountOwnershipInput() *types.AccountOwnershipTransferInput
BuildFakeTransferAccountOwnershipInput builds a faked AccountOwnershipTransferInput.
func BuildFakeUserAccountStatusUpdateInput ¶
func BuildFakeUserAccountStatusUpdateInput() *types.UserAccountStatusUpdateInput
BuildFakeUserAccountStatusUpdateInput builds a faked UserAccountStatusUpdateInput.
func BuildFakeUserAccountStatusUpdateInputFromUser ¶
func BuildFakeUserAccountStatusUpdateInputFromUser(user *types.User) *types.UserAccountStatusUpdateInput
BuildFakeUserAccountStatusUpdateInputFromUser builds a faked UserAccountStatusUpdateInput.
func BuildFakeUserCreationInput ¶
func BuildFakeUserCreationInput() *types.UserRegistrationInput
BuildFakeUserCreationInput builds a faked UserRegistrationInput.
func BuildFakeUserDetailsDatabaseUpdateInput ¶
func BuildFakeUserDetailsDatabaseUpdateInput() *types.UserDetailsDatabaseUpdateInput
func BuildFakeUserDetailsUpdateInput ¶
func BuildFakeUserDetailsUpdateInput() *types.UserDetailsUpdateRequestInput
func BuildFakeUserEmailAddressUpdateInput ¶
func BuildFakeUserEmailAddressUpdateInput() *types.UserEmailAddressUpdateInput
func BuildFakeUserList ¶
func BuildFakeUserList() *types.QueryFilteredResult[types.User]
BuildFakeUserList builds a faked UserList.
func BuildFakeUserLoginInputFromUser ¶
func BuildFakeUserLoginInputFromUser(user *types.User) *types.UserLoginInput
BuildFakeUserLoginInputFromUser builds a faked UserLoginInput.
func BuildFakeUserNotification ¶
func BuildFakeUserNotification() *types.UserNotification
BuildFakeUserNotification builds a faked UserNotification.
func BuildFakeUserNotificationCreationRequestInput ¶
func BuildFakeUserNotificationCreationRequestInput() *types.UserNotificationCreationRequestInput
BuildFakeUserNotificationCreationRequestInput builds a faked UserNotificationCreationRequestInput.
func BuildFakeUserNotificationList ¶
func BuildFakeUserNotificationList() *types.QueryFilteredResult[types.UserNotification]
BuildFakeUserNotificationList builds a faked UserNotificationList.
func BuildFakeUserNotificationUpdateRequestInput ¶
func BuildFakeUserNotificationUpdateRequestInput() *types.UserNotificationUpdateRequestInput
BuildFakeUserNotificationUpdateRequestInput builds a faked UserNotificationUpdateRequestInput.
func BuildFakeUserPermissionModificationInput ¶
func BuildFakeUserPermissionModificationInput() *types.ModifyUserPermissionsInput
BuildFakeUserPermissionModificationInput builds a faked ModifyUserPermissionsInput.
func BuildFakeUserPermissionsRequestInput ¶
func BuildFakeUserPermissionsRequestInput() *types.UserPermissionsRequestInput
BuildFakeUserPermissionsRequestInput builds a faked UserPermissionsRequestInput.
func BuildFakeUserRegistrationInputFromUser ¶
func BuildFakeUserRegistrationInputFromUser(user *types.User) *types.UserRegistrationInput
BuildFakeUserRegistrationInputFromUser builds a faked UserRegistrationInput.
func BuildFakeUserRegistrationInputWithInviteFromUser ¶
func BuildFakeUserRegistrationInputWithInviteFromUser(user *types.User) *types.UserRegistrationInput
BuildFakeUserRegistrationInputWithInviteFromUser builds a faked UserRegistrationInput.
func BuildFakeUsernameReminderRequestInput ¶
func BuildFakeUsernameReminderRequestInput() *types.UsernameReminderRequestInput
BuildFakeUsernameReminderRequestInput builds a faked UsernameReminderRequestInput.
func BuildFakeUsernameUpdateInput ¶
func BuildFakeUsernameUpdateInput() *types.UsernameUpdateInput
func BuildFakeWebhook ¶
BuildFakeWebhook builds a faked Webhook.
func BuildFakeWebhookCreationRequestInput ¶
func BuildFakeWebhookCreationRequestInput() *types.WebhookCreationRequestInput
BuildFakeWebhookCreationRequestInput builds a faked WebhookCreationRequestInput from a webhook.
func BuildFakeWebhookList ¶
func BuildFakeWebhookList() *types.QueryFilteredResult[types.Webhook]
BuildFakeWebhookList builds a faked WebhookList.
func BuildFakeWebhookTriggerEvent ¶
func BuildFakeWebhookTriggerEvent() *types.WebhookTriggerEvent
BuildFakeWebhookTriggerEvent builds a faked WebhookTriggerEvent.
func BuildFakeWebhookTriggerEventList ¶
func BuildFakeWebhookTriggerEventList() *types.QueryFilteredResult[types.WebhookTriggerEvent]
BuildFakeWebhookTriggerEventList builds a faked WebhookList.
func BuildFleshedOutQueryFilter ¶
func BuildFleshedOutQueryFilter() *types.QueryFilter
BuildFleshedOutQueryFilter builds a fully fleshed out QueryFilter.
Types ¶
This section is empty.