service

package
v0.0.0-...-1b8de1e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 84 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// default fallback on amount of items
	FILTER_NUM_ITEMS = 20

	// default fallback on amount of aggregated items
	FILTER_NUM_AGG_ITEMS = 10
)
View Source
const (
	SinkContentTypeMail = "message/rfc822"

	// base url
	// we're using this for router, signature...
	SinkBaseURL = "/sink"

	// name of the parameter used for sink request signature
	SinkSignUrlParamName = "__sign"

	// delimiter between signature and payload
	SinkSignUrlParamDelimiter = "_"
)

Variables

View Source
var (
	DefaultObjectStore objstore.Store

	// DefaultStore is an interface to storage backend(s)
	// ng (next-gen) is a temporary prefix
	// so that we can differentiate between it and the file-only store
	DefaultStore store.Storer

	DefaultLogger *zap.Logger

	// DefaultSettings controls system's settings
	DefaultSettings *settings

	// DefaultAccessControl Access control checking
	DefaultAccessControl *accessControl

	DefaultAuthNotification AuthNotificationService

	// CurrentSettings represents current system settings
	CurrentSettings = &types.AppSettings{}

	DefaultActionlog actionlog.Recorder

	DefaultSink *sink

	DefaultAuth                *auth
	DefaultAuthClient          *authClient
	DefaultUser                *user
	DefaultCredentials         *credentials
	DefaultDalConnection       *dalConnection
	DefaultDalSensitivityLevel *dalSensitivityLevel
	DefaultDalSchemaAlteration *dalSchemaAlteration
	DefaultRole                *role
	DefaultApplication         *application
	DefaultReminder            ReminderService
	DefaultAttachment          AttachmentService
	DefaultRenderer            TemplateService
	DefaultResourceTranslation ResourceTranslationService
	DefaultQueue               *queue
	DefaultApigwRoute          *apigwRoute
	DefaultApigwFilter         *apigwFilter
	DefaultApigwProfiler       *apigwProfiler
	DefaultReport              *report
	DefaultDataPrivacy         *dataPrivacy
	DefaultSMTPChecker         *smtpConfigurationChecker
	DefaultExpression          *expression

	DefaultStatistics *statistics
)

Functions

func AccessControl

func AccessControl(s store.Storer) *accessControl

func AccessControlActionGrant

func AccessControlActionGrant(props ...*accessControlActionProps) *accessControlAction

AccessControlActionGrant returns "system:access_control.grant" action

This function is auto-generated.

func AccessControlErrGeneric

func AccessControlErrGeneric(mm ...*accessControlActionProps) *errors.Error

AccessControlErrGeneric returns "system:access_control.generic" as *errors.Error

This function is auto-generated.

func AccessControlErrNotAllowedToSetPermissions

func AccessControlErrNotAllowedToSetPermissions(mm ...*accessControlActionProps) *errors.Error

AccessControlErrNotAllowedToSetPermissions returns "system:access_control.notAllowedToSetPermissions" as *errors.Error

This function is auto-generated.

func Activate

func Activate(ctx context.Context) (err error)

func ApigwFilterActionCreate

func ApigwFilterActionCreate(props ...*apigwFilterActionProps) *apigwFilterAction

ApigwFilterActionCreate returns "system:filter.create" action

This function is auto-generated.

func ApigwFilterActionDelete

func ApigwFilterActionDelete(props ...*apigwFilterActionProps) *apigwFilterAction

ApigwFilterActionDelete returns "system:filter.delete" action

This function is auto-generated.

func ApigwFilterActionLookup

func ApigwFilterActionLookup(props ...*apigwFilterActionProps) *apigwFilterAction

ApigwFilterActionLookup returns "system:filter.lookup" action

This function is auto-generated.

func ApigwFilterActionSearch

func ApigwFilterActionSearch(props ...*apigwFilterActionProps) *apigwFilterAction

ApigwFilterActionSearch returns "system:filter.search" action

This function is auto-generated.

func ApigwFilterActionUndelete

func ApigwFilterActionUndelete(props ...*apigwFilterActionProps) *apigwFilterAction

ApigwFilterActionUndelete returns "system:filter.undelete" action

This function is auto-generated.

func ApigwFilterActionUpdate

func ApigwFilterActionUpdate(props ...*apigwFilterActionProps) *apigwFilterAction

ApigwFilterActionUpdate returns "system:filter.update" action

This function is auto-generated.

func ApigwFilterErrAsyncRouteTooManyAfterFilters

func ApigwFilterErrAsyncRouteTooManyAfterFilters(mm ...*apigwFilterActionProps) *errors.Error

ApigwFilterErrAsyncRouteTooManyAfterFilters returns "system:filter.asyncRouteTooManyAfterFilters" as *errors.Error

This function is auto-generated.

func ApigwFilterErrAsyncRouteTooManyProcessers

func ApigwFilterErrAsyncRouteTooManyProcessers(mm ...*apigwFilterActionProps) *errors.Error

ApigwFilterErrAsyncRouteTooManyProcessers returns "system:filter.asyncRouteTooManyProcessers" as *errors.Error

This function is auto-generated.

func ApigwFilterErrGeneric

func ApigwFilterErrGeneric(mm ...*apigwFilterActionProps) *errors.Error

ApigwFilterErrGeneric returns "system:filter.generic" as *errors.Error

This function is auto-generated.

func ApigwFilterErrInvalidID

func ApigwFilterErrInvalidID(mm ...*apigwFilterActionProps) *errors.Error

ApigwFilterErrInvalidID returns "system:filter.invalidID" as *errors.Error

This function is auto-generated.

func ApigwFilterErrInvalidRoute

func ApigwFilterErrInvalidRoute(mm ...*apigwFilterActionProps) *errors.Error

ApigwFilterErrInvalidRoute returns "system:filter.invalidRoute" as *errors.Error

This function is auto-generated.

func ApigwFilterErrNotFound

func ApigwFilterErrNotFound(mm ...*apigwFilterActionProps) *errors.Error

ApigwFilterErrNotFound returns "system:filter.notFound" as *errors.Error

This function is auto-generated.

func ApigwFilterErrStaleData

func ApigwFilterErrStaleData(mm ...*apigwFilterActionProps) *errors.Error

ApigwFilterErrStaleData returns "system:filter.staleData" as *errors.Error

This function is auto-generated.

func ApigwRouteActionCreate

func ApigwRouteActionCreate(props ...*apigwRouteActionProps) *apigwRouteAction

ApigwRouteActionCreate returns "system:apigw-route.create" action

This function is auto-generated.

func ApigwRouteActionDelete

func ApigwRouteActionDelete(props ...*apigwRouteActionProps) *apigwRouteAction

ApigwRouteActionDelete returns "system:apigw-route.delete" action

This function is auto-generated.

func ApigwRouteActionLookup

func ApigwRouteActionLookup(props ...*apigwRouteActionProps) *apigwRouteAction

ApigwRouteActionLookup returns "system:apigw-route.lookup" action

This function is auto-generated.

func ApigwRouteActionSearch

func ApigwRouteActionSearch(props ...*apigwRouteActionProps) *apigwRouteAction

ApigwRouteActionSearch returns "system:apigw-route.search" action

This function is auto-generated.

func ApigwRouteActionUndelete

func ApigwRouteActionUndelete(props ...*apigwRouteActionProps) *apigwRouteAction

ApigwRouteActionUndelete returns "system:apigw-route.undelete" action

This function is auto-generated.

func ApigwRouteActionUpdate

func ApigwRouteActionUpdate(props ...*apigwRouteActionProps) *apigwRouteAction

ApigwRouteActionUpdate returns "system:apigw-route.update" action

This function is auto-generated.

func ApigwRouteErrAlreadyExists

func ApigwRouteErrAlreadyExists(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrAlreadyExists returns "system:apigw-route.alreadyExists" as *errors.Error

This function is auto-generated.

func ApigwRouteErrExistsEndpoint

func ApigwRouteErrExistsEndpoint(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrExistsEndpoint returns "system:apigw-route.existsEndpoint" as *errors.Error

This function is auto-generated.

func ApigwRouteErrGeneric

func ApigwRouteErrGeneric(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrGeneric returns "system:apigw-route.generic" as *errors.Error

This function is auto-generated.

func ApigwRouteErrInvalidEndpoint

func ApigwRouteErrInvalidEndpoint(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrInvalidEndpoint returns "system:apigw-route.invalidEndpoint" as *errors.Error

This function is auto-generated.

func ApigwRouteErrInvalidID

func ApigwRouteErrInvalidID(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrInvalidID returns "system:apigw-route.invalidID" as *errors.Error

This function is auto-generated.

func ApigwRouteErrNotAllowedToCreate

func ApigwRouteErrNotAllowedToCreate(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrNotAllowedToCreate returns "system:apigw-route.notAllowedToCreate" as *errors.Error

This function is auto-generated.

func ApigwRouteErrNotAllowedToDelete

func ApigwRouteErrNotAllowedToDelete(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrNotAllowedToDelete returns "system:apigw-route.notAllowedToDelete" as *errors.Error

This function is auto-generated.

func ApigwRouteErrNotAllowedToExec

func ApigwRouteErrNotAllowedToExec(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrNotAllowedToExec returns "system:apigw-route.notAllowedToExec" as *errors.Error

This function is auto-generated.

func ApigwRouteErrNotAllowedToRead

func ApigwRouteErrNotAllowedToRead(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrNotAllowedToRead returns "system:apigw-route.notAllowedToRead" as *errors.Error

This function is auto-generated.

func ApigwRouteErrNotAllowedToSearch

func ApigwRouteErrNotAllowedToSearch(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrNotAllowedToSearch returns "system:apigw-route.notAllowedToSearch" as *errors.Error

This function is auto-generated.

func ApigwRouteErrNotAllowedToUndelete

func ApigwRouteErrNotAllowedToUndelete(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrNotAllowedToUndelete returns "system:apigw-route.notAllowedToUndelete" as *errors.Error

This function is auto-generated.

func ApigwRouteErrNotAllowedToUpdate

func ApigwRouteErrNotAllowedToUpdate(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrNotAllowedToUpdate returns "system:apigw-route.notAllowedToUpdate" as *errors.Error

This function is auto-generated.

func ApigwRouteErrNotFound

func ApigwRouteErrNotFound(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrNotFound returns "system:apigw-route.notFound" as *errors.Error

This function is auto-generated.

func ApigwRouteErrStaleData

func ApigwRouteErrStaleData(mm ...*apigwRouteActionProps) *errors.Error

ApigwRouteErrStaleData returns "system:apigw-route.staleData" as *errors.Error

This function is auto-generated.

func Application

func Application(s store.Storer, ac applicationAccessController, al actionlog.Recorder, eb eventDispatcher) *application

Application is a default application service initializer

func ApplicationActionCreate

func ApplicationActionCreate(props ...*applicationActionProps) *applicationAction

ApplicationActionCreate returns "system:application.create" action

This function is auto-generated.

func ApplicationActionDelete

func ApplicationActionDelete(props ...*applicationActionProps) *applicationAction

ApplicationActionDelete returns "system:application.delete" action

This function is auto-generated.

func ApplicationActionFlagManage

func ApplicationActionFlagManage(props ...*applicationActionProps) *applicationAction

ApplicationActionFlagManage returns "system:application.flagManage" action

This function is auto-generated.

func ApplicationActionFlagManageGlobal

func ApplicationActionFlagManageGlobal(props ...*applicationActionProps) *applicationAction

ApplicationActionFlagManageGlobal returns "system:application.flagManageGlobal" action

This function is auto-generated.

func ApplicationActionLookup

func ApplicationActionLookup(props ...*applicationActionProps) *applicationAction

ApplicationActionLookup returns "system:application.lookup" action

This function is auto-generated.

func ApplicationActionReorder

func ApplicationActionReorder(props ...*applicationActionProps) *applicationAction

ApplicationActionReorder returns "system:application.reorder" action

This function is auto-generated.

func ApplicationActionSearch

func ApplicationActionSearch(props ...*applicationActionProps) *applicationAction

ApplicationActionSearch returns "system:application.search" action

This function is auto-generated.

func ApplicationActionUndelete

func ApplicationActionUndelete(props ...*applicationActionProps) *applicationAction

ApplicationActionUndelete returns "system:application.undelete" action

This function is auto-generated.

func ApplicationActionUpdate

func ApplicationActionUpdate(props ...*applicationActionProps) *applicationAction

ApplicationActionUpdate returns "system:application.update" action

This function is auto-generated.

func ApplicationErrGeneric

func ApplicationErrGeneric(mm ...*applicationActionProps) *errors.Error

ApplicationErrGeneric returns "system:application.generic" as *errors.Error

This function is auto-generated.

func ApplicationErrInvalidID

func ApplicationErrInvalidID(mm ...*applicationActionProps) *errors.Error

ApplicationErrInvalidID returns "system:application.invalidID" as *errors.Error

This function is auto-generated.

func ApplicationErrNotAllowedToCreate

func ApplicationErrNotAllowedToCreate(mm ...*applicationActionProps) *errors.Error

ApplicationErrNotAllowedToCreate returns "system:application.notAllowedToCreate" as *errors.Error

This function is auto-generated.

func ApplicationErrNotAllowedToDelete

func ApplicationErrNotAllowedToDelete(mm ...*applicationActionProps) *errors.Error

ApplicationErrNotAllowedToDelete returns "system:application.notAllowedToDelete" as *errors.Error

This function is auto-generated.

func ApplicationErrNotAllowedToManageFlag

func ApplicationErrNotAllowedToManageFlag(mm ...*applicationActionProps) *errors.Error

ApplicationErrNotAllowedToManageFlag returns "system:application.notAllowedToManageFlag" as *errors.Error

This function is auto-generated.

func ApplicationErrNotAllowedToManageFlagGlobal

func ApplicationErrNotAllowedToManageFlagGlobal(mm ...*applicationActionProps) *errors.Error

ApplicationErrNotAllowedToManageFlagGlobal returns "system:application.notAllowedToManageFlagGlobal" as *errors.Error

This function is auto-generated.

func ApplicationErrNotAllowedToRead

func ApplicationErrNotAllowedToRead(mm ...*applicationActionProps) *errors.Error

ApplicationErrNotAllowedToRead returns "system:application.notAllowedToRead" as *errors.Error

This function is auto-generated.

func ApplicationErrNotAllowedToSearch

func ApplicationErrNotAllowedToSearch(mm ...*applicationActionProps) *errors.Error

ApplicationErrNotAllowedToSearch returns "system:application.notAllowedToSearch" as *errors.Error

This function is auto-generated.

func ApplicationErrNotAllowedToUndelete

func ApplicationErrNotAllowedToUndelete(mm ...*applicationActionProps) *errors.Error

ApplicationErrNotAllowedToUndelete returns "system:application.notAllowedToUndelete" as *errors.Error

This function is auto-generated.

func ApplicationErrNotAllowedToUpdate

func ApplicationErrNotAllowedToUpdate(mm ...*applicationActionProps) *errors.Error

ApplicationErrNotAllowedToUpdate returns "system:application.notAllowedToUpdate" as *errors.Error

This function is auto-generated.

func ApplicationErrNotFound

func ApplicationErrNotFound(mm ...*applicationActionProps) *errors.Error

ApplicationErrNotFound returns "system:application.notFound" as *errors.Error

This function is auto-generated.

func ApplicationErrStaleData

func ApplicationErrStaleData(mm ...*applicationActionProps) *errors.Error

ApplicationErrStaleData returns "system:application.staleData" as *errors.Error

This function is auto-generated.

func Attachment

func Attachment(store files.Store, opt options.AttachmentOpt, log *zap.Logger) *attachment

func AttachmentActionCreate

func AttachmentActionCreate(props ...*attachmentActionProps) *attachmentAction

AttachmentActionCreate returns "system:attachment.create" action

This function is auto-generated.

func AttachmentActionDelete

func AttachmentActionDelete(props ...*attachmentActionProps) *attachmentAction

AttachmentActionDelete returns "system:attachment.delete" action

This function is auto-generated.

func AttachmentActionLookup

func AttachmentActionLookup(props ...*attachmentActionProps) *attachmentAction

AttachmentActionLookup returns "system:attachment.lookup" action

This function is auto-generated.

func AttachmentActionSearch

func AttachmentActionSearch(props ...*attachmentActionProps) *attachmentAction

AttachmentActionSearch returns "system:attachment.search" action

This function is auto-generated.

func AttachmentErrFailedToExtractMimeType

func AttachmentErrFailedToExtractMimeType(mm ...*attachmentActionProps) *errors.Error

AttachmentErrFailedToExtractMimeType returns "system:attachment.failedToExtractMimeType" as *errors.Error

This function is auto-generated.

func AttachmentErrFailedToProcessImage

func AttachmentErrFailedToProcessImage(mm ...*attachmentActionProps) *errors.Error

AttachmentErrFailedToProcessImage returns "system:attachment.failedToProcessImage" as *errors.Error

This function is auto-generated.

func AttachmentErrFailedToStoreFile

func AttachmentErrFailedToStoreFile(mm ...*attachmentActionProps) *errors.Error

AttachmentErrFailedToStoreFile returns "system:attachment.failedToStoreFile" as *errors.Error

This function is auto-generated.

func AttachmentErrGeneric

func AttachmentErrGeneric(mm ...*attachmentActionProps) *errors.Error

AttachmentErrGeneric returns "system:attachment.generic" as *errors.Error

This function is auto-generated.

func AttachmentErrInvalidAvatarFileSize

func AttachmentErrInvalidAvatarFileSize(mm ...*attachmentActionProps) *errors.Error

AttachmentErrInvalidAvatarFileSize returns "system:attachment.invalidAvatarFileSize" as *errors.Error

This function is auto-generated.

func AttachmentErrInvalidAvatarFileType

func AttachmentErrInvalidAvatarFileType(mm ...*attachmentActionProps) *errors.Error

AttachmentErrInvalidAvatarFileType returns "system:attachment.invalidAvatarFileType" as *errors.Error

This function is auto-generated.

func AttachmentErrInvalidAvatarGenerateFontFile

func AttachmentErrInvalidAvatarGenerateFontFile(mm ...*attachmentActionProps) *errors.Error

AttachmentErrInvalidAvatarGenerateFontFile returns "system:attachment.invalidAvatarGenerateFontFile" as *errors.Error

This function is auto-generated.

func AttachmentErrInvalidID

func AttachmentErrInvalidID(mm ...*attachmentActionProps) *errors.Error

AttachmentErrInvalidID returns "system:attachment.invalidID" as *errors.Error

This function is auto-generated.

func AttachmentErrNotAllowedToCreate

func AttachmentErrNotAllowedToCreate(mm ...*attachmentActionProps) *errors.Error

AttachmentErrNotAllowedToCreate returns "system:attachment.notAllowedToCreate" as *errors.Error

This function is auto-generated.

func AttachmentErrNotAllowedToCreateEmptyAttachment

func AttachmentErrNotAllowedToCreateEmptyAttachment(mm ...*attachmentActionProps) *errors.Error

AttachmentErrNotAllowedToCreateEmptyAttachment returns "system:attachment.notAllowedToCreateEmptyAttachment" as *errors.Error

This function is auto-generated.

func AttachmentErrNotAllowedToListAttachments

func AttachmentErrNotAllowedToListAttachments(mm ...*attachmentActionProps) *errors.Error

AttachmentErrNotAllowedToListAttachments returns "system:attachment.notAllowedToListAttachments" as *errors.Error

This function is auto-generated.

func AttachmentErrNotFound

func AttachmentErrNotFound(mm ...*attachmentActionProps) *errors.Error

AttachmentErrNotFound returns "system:attachment.notFound" as *errors.Error

This function is auto-generated.

func Auth

func Auth(opt AuthOptions) *auth

func AuthActionAccessTokensRemoved

func AuthActionAccessTokensRemoved(props ...*authActionProps) *authAction

AuthActionAccessTokensRemoved returns "system:auth.accessTokensRemoved" action

This function is auto-generated.

func AuthActionAuthenticate

func AuthActionAuthenticate(props ...*authActionProps) *authAction

AuthActionAuthenticate returns "system:auth.authenticate" action

This function is auto-generated.

func AuthActionAutoPromote

func AuthActionAutoPromote(props ...*authActionProps) *authAction

AuthActionAutoPromote returns "system:auth.autoPromote" action

This function is auto-generated.

func AuthActionChangePassword

func AuthActionChangePassword(props ...*authActionProps) *authAction

AuthActionChangePassword returns "system:auth.changePassword" action

This function is auto-generated.

func AuthActionConfirmEmail

func AuthActionConfirmEmail(props ...*authActionProps) *authAction

AuthActionConfirmEmail returns "system:auth.confirmEmail" action

This function is auto-generated.

func AuthActionCreateCredentials

func AuthActionCreateCredentials(props ...*authActionProps) *authAction

AuthActionCreateCredentials returns "system:auth.createCredentials" action

This function is auto-generated.

func AuthActionEmailOtpVerify

func AuthActionEmailOtpVerify(props ...*authActionProps) *authAction

AuthActionEmailOtpVerify returns "system:auth.emailOtpVerify" action

This function is auto-generated.

func AuthActionExchangePasswordResetToken

func AuthActionExchangePasswordResetToken(props ...*authActionProps) *authAction

AuthActionExchangePasswordResetToken returns "system:auth.exchangePasswordResetToken" action

This function is auto-generated.

func AuthActionExternalSignup

func AuthActionExternalSignup(props ...*authActionProps) *authAction

AuthActionExternalSignup returns "system:auth.externalSignup" action

This function is auto-generated.

func AuthActionGeneratePasswordCreateToken

func AuthActionGeneratePasswordCreateToken(props ...*authActionProps) *authAction

AuthActionGeneratePasswordCreateToken returns "system:auth.generatePasswordCreateToken" action

This function is auto-generated.

func AuthActionImpersonate

func AuthActionImpersonate(props ...*authActionProps) *authAction

AuthActionImpersonate returns "system:auth.impersonate" action

This function is auto-generated.

func AuthActionInternalSignup

func AuthActionInternalSignup(props ...*authActionProps) *authAction

AuthActionInternalSignup returns "system:auth.internalSignup" action

This function is auto-generated.

func AuthActionIssueToken

func AuthActionIssueToken(props ...*authActionProps) *authAction

AuthActionIssueToken returns "system:auth.issueToken" action

This function is auto-generated.

func AuthActionSendEmailConfirmationToken

func AuthActionSendEmailConfirmationToken(props ...*authActionProps) *authAction

AuthActionSendEmailConfirmationToken returns "system:auth.sendEmailConfirmationToken" action

This function is auto-generated.

func AuthActionSendInviteEMail

func AuthActionSendInviteEMail(props ...*authActionProps) *authAction

AuthActionSendInviteEMail returns "system:auth.sendInviteEMail" action

This function is auto-generated.

func AuthActionSendPasswordResetToken

func AuthActionSendPasswordResetToken(props ...*authActionProps) *authAction

AuthActionSendPasswordResetToken returns "system:auth.sendPasswordResetToken" action

This function is auto-generated.

func AuthActionTotpConfigure

func AuthActionTotpConfigure(props ...*authActionProps) *authAction

AuthActionTotpConfigure returns "system:auth.totpConfigure" action

This function is auto-generated.

func AuthActionTotpRemove

func AuthActionTotpRemove(props ...*authActionProps) *authAction

AuthActionTotpRemove returns "system:auth.totpRemove" action

This function is auto-generated.

func AuthActionTotpValidate

func AuthActionTotpValidate(props ...*authActionProps) *authAction

AuthActionTotpValidate returns "system:auth.totpValidate" action

This function is auto-generated.

func AuthActionUpdateCredentials

func AuthActionUpdateCredentials(props ...*authActionProps) *authAction

AuthActionUpdateCredentials returns "system:auth.updateCredentials" action

This function is auto-generated.

func AuthActionValidateToken

func AuthActionValidateToken(props ...*authActionProps) *authAction

AuthActionValidateToken returns "system:auth.validateToken" action

This function is auto-generated.

func AuthClient

func AuthClient(s store.Storer, ac authClientAccessController, al actionlog.Recorder, eb eventDispatcher, opt options.AuthOpt) *authClient

AuthClient is a default authClient service initializer

func AuthClientActionCreate

func AuthClientActionCreate(props ...*authClientActionProps) *authClientAction

AuthClientActionCreate returns "system:auth-client.create" action

This function is auto-generated.

func AuthClientActionDelete

func AuthClientActionDelete(props ...*authClientActionProps) *authClientAction

AuthClientActionDelete returns "system:auth-client.delete" action

This function is auto-generated.

func AuthClientActionExposeSecret

func AuthClientActionExposeSecret(props ...*authClientActionProps) *authClientAction

AuthClientActionExposeSecret returns "system:auth-client.exposeSecret" action

This function is auto-generated.

func AuthClientActionLookup

func AuthClientActionLookup(props ...*authClientActionProps) *authClientAction

AuthClientActionLookup returns "system:auth-client.lookup" action

This function is auto-generated.

func AuthClientActionRegenerateSecret

func AuthClientActionRegenerateSecret(props ...*authClientActionProps) *authClientAction

AuthClientActionRegenerateSecret returns "system:auth-client.regenerateSecret" action

This function is auto-generated.

func AuthClientActionSearch

func AuthClientActionSearch(props ...*authClientActionProps) *authClientAction

AuthClientActionSearch returns "system:auth-client.search" action

This function is auto-generated.

func AuthClientActionUndelete

func AuthClientActionUndelete(props ...*authClientActionProps) *authClientAction

AuthClientActionUndelete returns "system:auth-client.undelete" action

This function is auto-generated.

func AuthClientActionUpdate

func AuthClientActionUpdate(props ...*authClientActionProps) *authClientAction

AuthClientActionUpdate returns "system:auth-client.update" action

This function is auto-generated.

func AuthClientErrGeneric

func AuthClientErrGeneric(mm ...*authClientActionProps) *errors.Error

AuthClientErrGeneric returns "system:auth-client.generic" as *errors.Error

This function is auto-generated.

func AuthClientErrInvalidID

func AuthClientErrInvalidID(mm ...*authClientActionProps) *errors.Error

AuthClientErrInvalidID returns "system:auth-client.invalidID" as *errors.Error

This function is auto-generated.

func AuthClientErrMissingName

func AuthClientErrMissingName(mm ...*authClientActionProps) *errors.Error

AuthClientErrMissingName returns "system:auth-client.missingName" as *errors.Error

This function is auto-generated.

func AuthClientErrNotAllowedToCreate

func AuthClientErrNotAllowedToCreate(mm ...*authClientActionProps) *errors.Error

AuthClientErrNotAllowedToCreate returns "system:auth-client.notAllowedToCreate" as *errors.Error

This function is auto-generated.

func AuthClientErrNotAllowedToDelete

func AuthClientErrNotAllowedToDelete(mm ...*authClientActionProps) *errors.Error

AuthClientErrNotAllowedToDelete returns "system:auth-client.notAllowedToDelete" as *errors.Error

This function is auto-generated.

func AuthClientErrNotAllowedToRead

func AuthClientErrNotAllowedToRead(mm ...*authClientActionProps) *errors.Error

AuthClientErrNotAllowedToRead returns "system:auth-client.notAllowedToRead" as *errors.Error

This function is auto-generated.

func AuthClientErrNotAllowedToSearch

func AuthClientErrNotAllowedToSearch(mm ...*authClientActionProps) *errors.Error

AuthClientErrNotAllowedToSearch returns "system:auth-client.notAllowedToSearch" as *errors.Error

This function is auto-generated.

func AuthClientErrNotAllowedToUndelete

func AuthClientErrNotAllowedToUndelete(mm ...*authClientActionProps) *errors.Error

AuthClientErrNotAllowedToUndelete returns "system:auth-client.notAllowedToUndelete" as *errors.Error

This function is auto-generated.

func AuthClientErrNotAllowedToUpdate

func AuthClientErrNotAllowedToUpdate(mm ...*authClientActionProps) *errors.Error

AuthClientErrNotAllowedToUpdate returns "system:auth-client.notAllowedToUpdate" as *errors.Error

This function is auto-generated.

func AuthClientErrNotFound

func AuthClientErrNotFound(mm ...*authClientActionProps) *errors.Error

AuthClientErrNotFound returns "system:auth-client.notFound" as *errors.Error

This function is auto-generated.

func AuthClientErrStaleData

func AuthClientErrStaleData(mm ...*authClientActionProps) *errors.Error

AuthClientErrStaleData returns "system:auth-client.staleData" as *errors.Error

This function is auto-generated.

func AuthClientErrUnableToChangeDefaultClientHandle

func AuthClientErrUnableToChangeDefaultClientHandle(mm ...*authClientActionProps) *errors.Error

AuthClientErrUnableToChangeDefaultClientHandle returns "system:auth-client.unableToChangeDefaultClientHandle" as *errors.Error

This function is auto-generated.

func AuthClientErrUnableToDeleteDefaultClient

func AuthClientErrUnableToDeleteDefaultClient(mm ...*authClientActionProps) *errors.Error

AuthClientErrUnableToDeleteDefaultClient returns "system:auth-client.unableToDeleteDefaultClient" as *errors.Error

This function is auto-generated.

func AuthClientErrUnableToDisableDefaultClient

func AuthClientErrUnableToDisableDefaultClient(mm ...*authClientActionProps) *errors.Error

AuthClientErrUnableToDisableDefaultClient returns "system:auth-client.unableToDisableDefaultClient" as *errors.Error

This function is auto-generated.

func AuthClientErrUnknownGrantType

func AuthClientErrUnknownGrantType(mm ...*authClientActionProps) *errors.Error

AuthClientErrUnknownGrantType returns "system:auth-client.unknownGrantType" as *errors.Error

This function is auto-generated.

func AuthClientErrUnknownScope

func AuthClientErrUnknownScope(mm ...*authClientActionProps) *errors.Error

AuthClientErrUnknownScope returns "system:auth-client.unknownScope" as *errors.Error

This function is auto-generated.

func AuthErrCredentialsLinkedToInvalidUser

func AuthErrCredentialsLinkedToInvalidUser(mm ...*authActionProps) *errors.Error

AuthErrCredentialsLinkedToInvalidUser returns "system:auth.credentialsLinkedToInvalidUser" as *errors.Error

This function is auto-generated.

func AuthErrDisabledMFAWithEmailOTP

func AuthErrDisabledMFAWithEmailOTP(mm ...*authActionProps) *errors.Error

AuthErrDisabledMFAWithEmailOTP returns "system:auth.disabledMFAWithEmailOTP" as *errors.Error

This function is auto-generated.

func AuthErrDisabledMFAWithTOTP

func AuthErrDisabledMFAWithTOTP(mm ...*authActionProps) *errors.Error

AuthErrDisabledMFAWithTOTP returns "system:auth.disabledMFAWithTOTP" as *errors.Error

This function is auto-generated.

func AuthErrDisabledSendUserInviteEmail

func AuthErrDisabledSendUserInviteEmail(mm ...*authActionProps) *errors.Error

AuthErrDisabledSendUserInviteEmail returns "system:auth.disabledSendUserInviteEmail" as *errors.Error

This function is auto-generated.

func AuthErrEnforcedMFAWithEmailOTP

func AuthErrEnforcedMFAWithEmailOTP(mm ...*authActionProps) *errors.Error

AuthErrEnforcedMFAWithEmailOTP returns "system:auth.enforcedMFAWithEmailOTP" as *errors.Error

This function is auto-generated.

func AuthErrEnforcedMFAWithTOTP

func AuthErrEnforcedMFAWithTOTP(mm ...*authActionProps) *errors.Error

AuthErrEnforcedMFAWithTOTP returns "system:auth.enforcedMFAWithTOTP" as *errors.Error

This function is auto-generated.

func AuthErrExternalDisabledByConfig

func AuthErrExternalDisabledByConfig(mm ...*authActionProps) *errors.Error

AuthErrExternalDisabledByConfig returns "system:auth.externalDisabledByConfig" as *errors.Error

This function is auto-generated.

func AuthErrFailedForDeletedUser

func AuthErrFailedForDeletedUser(mm ...*authActionProps) *errors.Error

AuthErrFailedForDeletedUser returns "system:auth.failedForDeletedUser" as *errors.Error

Note: This error will be wrapped with safe (system:auth.invalidCredentials) error!

This function is auto-generated.

func AuthErrFailedForSuspendedUser

func AuthErrFailedForSuspendedUser(mm ...*authActionProps) *errors.Error

AuthErrFailedForSuspendedUser returns "system:auth.failedForSuspendedUser" as *errors.Error

Note: This error will be wrapped with safe (system:auth.invalidCredentials) error!

This function is auto-generated.

func AuthErrFailedForSystemUser

func AuthErrFailedForSystemUser(mm ...*authActionProps) *errors.Error

AuthErrFailedForSystemUser returns "system:auth.failedForSystemUser" as *errors.Error

Note: This error will be wrapped with safe (system:auth.invalidCredentials) error!

This function is auto-generated.

func AuthErrFailedForUnknownUser

func AuthErrFailedForUnknownUser(mm ...*authActionProps) *errors.Error

AuthErrFailedForUnknownUser returns "system:auth.failedForUnknownUser" as *errors.Error

Note: This error will be wrapped with safe (system:auth.invalidCredentials) error!

This function is auto-generated.

func AuthErrFailedUnconfirmedEmail

func AuthErrFailedUnconfirmedEmail(mm ...*authActionProps) *errors.Error

AuthErrFailedUnconfirmedEmail returns "system:auth.failedUnconfirmedEmail" as *errors.Error

This function is auto-generated.

func AuthErrGeneric

func AuthErrGeneric(mm ...*authActionProps) *errors.Error

AuthErrGeneric returns "system:auth.generic" as *errors.Error

This function is auto-generated.

func AuthErrInternalLoginDisabledByConfig

func AuthErrInternalLoginDisabledByConfig(mm ...*authActionProps) *errors.Error

AuthErrInternalLoginDisabledByConfig returns "system:auth.internalLoginDisabledByConfig" as *errors.Error

This function is auto-generated.

func AuthErrInternalSignupDisabledByConfig

func AuthErrInternalSignupDisabledByConfig(mm ...*authActionProps) *errors.Error

AuthErrInternalSignupDisabledByConfig returns "system:auth.internalSignupDisabledByConfig" as *errors.Error

This function is auto-generated.

func AuthErrInvalidCredentials

func AuthErrInvalidCredentials(mm ...*authActionProps) *errors.Error

AuthErrInvalidCredentials returns "system:auth.invalidCredentials" as *errors.Error

This function is auto-generated.

func AuthErrInvalidEmailFormat

func AuthErrInvalidEmailFormat(mm ...*authActionProps) *errors.Error

AuthErrInvalidEmailFormat returns "system:auth.invalidEmailFormat" as *errors.Error

This function is auto-generated.

func AuthErrInvalidEmailOTP

func AuthErrInvalidEmailOTP(mm ...*authActionProps) *errors.Error

AuthErrInvalidEmailOTP returns "system:auth.invalidEmailOTP" as *errors.Error

This function is auto-generated.

func AuthErrInvalidHandle

func AuthErrInvalidHandle(mm ...*authActionProps) *errors.Error

AuthErrInvalidHandle returns "system:auth.invalidHandle" as *errors.Error

This function is auto-generated.

func AuthErrInvalidTOTP

func AuthErrInvalidTOTP(mm ...*authActionProps) *errors.Error

AuthErrInvalidTOTP returns "system:auth.invalidTOTP" as *errors.Error

This function is auto-generated.

func AuthErrInvalidToken

func AuthErrInvalidToken(mm ...*authActionProps) *errors.Error

AuthErrInvalidToken returns "system:auth.invalidToken" as *errors.Error

This function is auto-generated.

func AuthErrMaxUserLimitReached

func AuthErrMaxUserLimitReached(mm ...*authActionProps) *errors.Error

AuthErrMaxUserLimitReached returns "system:auth.maxUserLimitReached" as *errors.Error

This function is auto-generated.

func AuthErrNotAllowedToConfigureTOTP

func AuthErrNotAllowedToConfigureTOTP(mm ...*authActionProps) *errors.Error

AuthErrNotAllowedToConfigureTOTP returns "system:auth.notAllowedToConfigureTOTP" as *errors.Error

This function is auto-generated.

func AuthErrNotAllowedToImpersonate

func AuthErrNotAllowedToImpersonate(mm ...*authActionProps) *errors.Error

AuthErrNotAllowedToImpersonate returns "system:auth.notAllowedToImpersonate" as *errors.Error

This function is auto-generated.

func AuthErrNotAllowedToRemoveTOTP

func AuthErrNotAllowedToRemoveTOTP(mm ...*authActionProps) *errors.Error

AuthErrNotAllowedToRemoveTOTP returns "system:auth.notAllowedToRemoveTOTP" as *errors.Error

This function is auto-generated.

func AuthErrPasswordChangeFailedForUnknownUser

func AuthErrPasswordChangeFailedForUnknownUser(mm ...*authActionProps) *errors.Error

AuthErrPasswordChangeFailedForUnknownUser returns "system:auth.passwordChangeFailedForUnknownUser" as *errors.Error

This function is auto-generated.

func AuthErrPasswordCreateDisabledByConfig

func AuthErrPasswordCreateDisabledByConfig(mm ...*authActionProps) *errors.Error

AuthErrPasswordCreateDisabledByConfig returns "system:auth.passwordCreateDisabledByConfig" as *errors.Error

This function is auto-generated.

func AuthErrPasswordCreateFailedForUnknownUser

func AuthErrPasswordCreateFailedForUnknownUser(mm ...*authActionProps) *errors.Error

AuthErrPasswordCreateFailedForUnknownUser returns "system:auth.passwordCreateFailedForUnknownUser" as *errors.Error

This function is auto-generated.

func AuthErrPasswordNotSecure

func AuthErrPasswordNotSecure(mm ...*authActionProps) *errors.Error

AuthErrPasswordNotSecure returns "system:auth.passwordNotSecure" as *errors.Error

This function is auto-generated.

func AuthErrPasswordResetDisabledByConfig

func AuthErrPasswordResetDisabledByConfig(mm ...*authActionProps) *errors.Error

AuthErrPasswordResetDisabledByConfig returns "system:auth.passwordResetDisabledByConfig" as *errors.Error

This function is auto-generated.

func AuthErrPasswordResetFailedOldPasswordCheckFailed

func AuthErrPasswordResetFailedOldPasswordCheckFailed(mm ...*authActionProps) *errors.Error

AuthErrPasswordResetFailedOldPasswordCheckFailed returns "system:auth.passwordResetFailedOldPasswordCheckFailed" as *errors.Error

This function is auto-generated.

func AuthErrPasswordSetFailedReusedPasswordCheckFailed

func AuthErrPasswordSetFailedReusedPasswordCheckFailed(mm ...*authActionProps) *errors.Error

AuthErrPasswordSetFailedReusedPasswordCheckFailed returns "system:auth.passwordSetFailedReusedPasswordCheckFailed" as *errors.Error

This function is auto-generated.

func AuthErrProfileWithoutValidEmail

func AuthErrProfileWithoutValidEmail(mm ...*authActionProps) *errors.Error

AuthErrProfileWithoutValidEmail returns "system:auth.profileWithoutValidEmail" as *errors.Error

This function is auto-generated.

func AuthErrRateLimitExceeded

func AuthErrRateLimitExceeded(mm ...*authActionProps) *errors.Error

AuthErrRateLimitExceeded returns "system:auth.rateLimitExceeded" as *errors.Error

This function is auto-generated.

func AuthErrUnconfiguredTOTP

func AuthErrUnconfiguredTOTP(mm ...*authActionProps) *errors.Error

AuthErrUnconfiguredTOTP returns "system:auth.unconfiguredTOTP" as *errors.Error

This function is auto-generated.

func AuthNotification

func AuthNotification(s *types.AppSettings, ts TemplateService, opt options.AuthOpt) *authNotification

func Connection

func Connection(ctx context.Context, dal dalConnManager, dbConf options.DBOpt) *dalConnection

func Credentials

func Credentials() *credentials

func CredentialsActionCreate

func CredentialsActionCreate(props ...*credentialsActionProps) *credentialsAction

CredentialsActionCreate returns "system:credentials.create" action

This function is auto-generated.

func CredentialsActionDelete

func CredentialsActionDelete(props ...*credentialsActionProps) *credentialsAction

CredentialsActionDelete returns "system:credentials.delete" action

This function is auto-generated.

func CredentialsActionSearch

func CredentialsActionSearch(props ...*credentialsActionProps) *credentialsAction

CredentialsActionSearch returns "system:credentials.search" action

This function is auto-generated.

func CredentialsActionUpdate

func CredentialsActionUpdate(props ...*credentialsActionProps) *credentialsAction

CredentialsActionUpdate returns "system:credentials.update" action

This function is auto-generated.

func CredentialsErrGeneric

func CredentialsErrGeneric(mm ...*credentialsActionProps) *errors.Error

CredentialsErrGeneric returns "system:credentials.generic" as *errors.Error

This function is auto-generated.

func CredentialsErrInvalidID

func CredentialsErrInvalidID(mm ...*credentialsActionProps) *errors.Error

CredentialsErrInvalidID returns "system:credentials.invalidID" as *errors.Error

This function is auto-generated.

func CredentialsErrNotAllowedToManage

func CredentialsErrNotAllowedToManage(mm ...*credentialsActionProps) *errors.Error

CredentialsErrNotAllowedToManage returns "system:credentials.notAllowedToManage" as *errors.Error

This function is auto-generated.

func CredentialsErrNotFound

func CredentialsErrNotFound(mm ...*credentialsActionProps) *errors.Error

CredentialsErrNotFound returns "system:credentials.notFound" as *errors.Error

This function is auto-generated.

func DalConnectionActionCreate

func DalConnectionActionCreate(props ...*dalConnectionActionProps) *dalConnectionAction

DalConnectionActionCreate returns "system:dal-connection.create" action

This function is auto-generated.

func DalConnectionActionDelete

func DalConnectionActionDelete(props ...*dalConnectionActionProps) *dalConnectionAction

DalConnectionActionDelete returns "system:dal-connection.delete" action

This function is auto-generated.

func DalConnectionActionLookup

func DalConnectionActionLookup(props ...*dalConnectionActionProps) *dalConnectionAction

DalConnectionActionLookup returns "system:dal-connection.lookup" action

This function is auto-generated.

func DalConnectionActionSearch

func DalConnectionActionSearch(props ...*dalConnectionActionProps) *dalConnectionAction

DalConnectionActionSearch returns "system:dal-connection.search" action

This function is auto-generated.

func DalConnectionActionUndelete

func DalConnectionActionUndelete(props ...*dalConnectionActionProps) *dalConnectionAction

DalConnectionActionUndelete returns "system:dal-connection.undelete" action

This function is auto-generated.

func DalConnectionActionUpdate

func DalConnectionActionUpdate(props ...*dalConnectionActionProps) *dalConnectionAction

DalConnectionActionUpdate returns "system:dal-connection.update" action

This function is auto-generated.

func DalConnectionErrAlreadyExists

func DalConnectionErrAlreadyExists(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrAlreadyExists returns "system:dal-connection.alreadyExists" as *errors.Error

This function is auto-generated.

func DalConnectionErrExistsEndpoint

func DalConnectionErrExistsEndpoint(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrExistsEndpoint returns "system:dal-connection.existsEndpoint" as *errors.Error

This function is auto-generated.

func DalConnectionErrGeneric

func DalConnectionErrGeneric(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrGeneric returns "system:dal-connection.generic" as *errors.Error

This function is auto-generated.

func DalConnectionErrInvalidEndpoint

func DalConnectionErrInvalidEndpoint(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrInvalidEndpoint returns "system:dal-connection.invalidEndpoint" as *errors.Error

This function is auto-generated.

func DalConnectionErrInvalidID

func DalConnectionErrInvalidID(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrInvalidID returns "system:dal-connection.invalidID" as *errors.Error

This function is auto-generated.

func DalConnectionErrMissingName

func DalConnectionErrMissingName(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrMissingName returns "system:dal-connection.missingName" as *errors.Error

This function is auto-generated.

func DalConnectionErrNotAllowedToCreate

func DalConnectionErrNotAllowedToCreate(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrNotAllowedToCreate returns "system:dal-connection.notAllowedToCreate" as *errors.Error

This function is auto-generated.

func DalConnectionErrNotAllowedToDelete

func DalConnectionErrNotAllowedToDelete(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrNotAllowedToDelete returns "system:dal-connection.notAllowedToDelete" as *errors.Error

This function is auto-generated.

func DalConnectionErrNotAllowedToExec

func DalConnectionErrNotAllowedToExec(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrNotAllowedToExec returns "system:dal-connection.notAllowedToExec" as *errors.Error

This function is auto-generated.

func DalConnectionErrNotAllowedToRead

func DalConnectionErrNotAllowedToRead(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrNotAllowedToRead returns "system:dal-connection.notAllowedToRead" as *errors.Error

This function is auto-generated.

func DalConnectionErrNotAllowedToSearch

func DalConnectionErrNotAllowedToSearch(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrNotAllowedToSearch returns "system:dal-connection.notAllowedToSearch" as *errors.Error

This function is auto-generated.

func DalConnectionErrNotAllowedToUndelete

func DalConnectionErrNotAllowedToUndelete(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrNotAllowedToUndelete returns "system:dal-connection.notAllowedToUndelete" as *errors.Error

This function is auto-generated.

func DalConnectionErrNotAllowedToUpdate

func DalConnectionErrNotAllowedToUpdate(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrNotAllowedToUpdate returns "system:dal-connection.notAllowedToUpdate" as *errors.Error

This function is auto-generated.

func DalConnectionErrNotFound

func DalConnectionErrNotFound(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrNotFound returns "system:dal-connection.notFound" as *errors.Error

This function is auto-generated.

func DalConnectionErrStaleData

func DalConnectionErrStaleData(mm ...*dalConnectionActionProps) *errors.Error

DalConnectionErrStaleData returns "system:dal-connection.staleData" as *errors.Error

This function is auto-generated.

func DalSchemaAlteration

func DalSchemaAlteration(dal dalAltManager) *dalSchemaAlteration

func DalSchemaAlterationActionApply

func DalSchemaAlterationActionApply(props ...*dalSchemaAlterationActionProps) *dalSchemaAlterationAction

DalSchemaAlterationActionApply returns "system:dal-schema-alteration.apply" action

This function is auto-generated.

func DalSchemaAlterationActionDismiss

func DalSchemaAlterationActionDismiss(props ...*dalSchemaAlterationActionProps) *dalSchemaAlterationAction

DalSchemaAlterationActionDismiss returns "system:dal-schema-alteration.dismiss" action

This function is auto-generated.

func DalSchemaAlterationActionLookup

func DalSchemaAlterationActionLookup(props ...*dalSchemaAlterationActionProps) *dalSchemaAlterationAction

DalSchemaAlterationActionLookup returns "system:dal-schema-alteration.lookup" action

This function is auto-generated.

func DalSchemaAlterationActionSearch

func DalSchemaAlterationActionSearch(props ...*dalSchemaAlterationActionProps) *dalSchemaAlterationAction

DalSchemaAlterationActionSearch returns "system:dal-schema-alteration.search" action

This function is auto-generated.

func DalSchemaAlterationErrGeneric

func DalSchemaAlterationErrGeneric(mm ...*dalSchemaAlterationActionProps) *errors.Error

DalSchemaAlterationErrGeneric returns "system:dal-schema-alteration.generic" as *errors.Error

This function is auto-generated.

func DalSchemaAlterationErrInvalidID

func DalSchemaAlterationErrInvalidID(mm ...*dalSchemaAlterationActionProps) *errors.Error

DalSchemaAlterationErrInvalidID returns "system:dal-schema-alteration.invalidID" as *errors.Error

This function is auto-generated.

func DalSchemaAlterationErrNotAllowedToManage

func DalSchemaAlterationErrNotAllowedToManage(mm ...*dalSchemaAlterationActionProps) *errors.Error

DalSchemaAlterationErrNotAllowedToManage returns "system:dal-schema-alteration.notAllowedToManage" as *errors.Error

This function is auto-generated.

func DalSchemaAlterationErrNotFound

func DalSchemaAlterationErrNotFound(mm ...*dalSchemaAlterationActionProps) *errors.Error

DalSchemaAlterationErrNotFound returns "system:dal-schema-alteration.notFound" as *errors.Error

This function is auto-generated.

func DalSensitivityLevelActionCreate

func DalSensitivityLevelActionCreate(props ...*dalSensitivityLevelActionProps) *dalSensitivityLevelAction

DalSensitivityLevelActionCreate returns "system:dal-sensitivity-level.create" action

This function is auto-generated.

func DalSensitivityLevelActionDelete

func DalSensitivityLevelActionDelete(props ...*dalSensitivityLevelActionProps) *dalSensitivityLevelAction

DalSensitivityLevelActionDelete returns "system:dal-sensitivity-level.delete" action

This function is auto-generated.

func DalSensitivityLevelActionLookup

func DalSensitivityLevelActionLookup(props ...*dalSensitivityLevelActionProps) *dalSensitivityLevelAction

DalSensitivityLevelActionLookup returns "system:dal-sensitivity-level.lookup" action

This function is auto-generated.

func DalSensitivityLevelActionSearch

func DalSensitivityLevelActionSearch(props ...*dalSensitivityLevelActionProps) *dalSensitivityLevelAction

DalSensitivityLevelActionSearch returns "system:dal-sensitivity-level.search" action

This function is auto-generated.

func DalSensitivityLevelActionUndelete

func DalSensitivityLevelActionUndelete(props ...*dalSensitivityLevelActionProps) *dalSensitivityLevelAction

DalSensitivityLevelActionUndelete returns "system:dal-sensitivity-level.undelete" action

This function is auto-generated.

func DalSensitivityLevelActionUpdate

func DalSensitivityLevelActionUpdate(props ...*dalSensitivityLevelActionProps) *dalSensitivityLevelAction

DalSensitivityLevelActionUpdate returns "system:dal-sensitivity-level.update" action

This function is auto-generated.

func DalSensitivityLevelErrAlreadyExists

func DalSensitivityLevelErrAlreadyExists(mm ...*dalSensitivityLevelActionProps) *errors.Error

DalSensitivityLevelErrAlreadyExists returns "system:dal-sensitivity-level.alreadyExists" as *errors.Error

This function is auto-generated.

func DalSensitivityLevelErrDeleteInUse

func DalSensitivityLevelErrDeleteInUse(mm ...*dalSensitivityLevelActionProps) *errors.Error

DalSensitivityLevelErrDeleteInUse returns "system:dal-sensitivity-level.deleteInUse" as *errors.Error

This function is auto-generated.

func DalSensitivityLevelErrExistsEndpoint

func DalSensitivityLevelErrExistsEndpoint(mm ...*dalSensitivityLevelActionProps) *errors.Error

DalSensitivityLevelErrExistsEndpoint returns "system:dal-sensitivity-level.existsEndpoint" as *errors.Error

This function is auto-generated.

func DalSensitivityLevelErrGeneric

func DalSensitivityLevelErrGeneric(mm ...*dalSensitivityLevelActionProps) *errors.Error

DalSensitivityLevelErrGeneric returns "system:dal-sensitivity-level.generic" as *errors.Error

This function is auto-generated.

func DalSensitivityLevelErrInvalidEndpoint

func DalSensitivityLevelErrInvalidEndpoint(mm ...*dalSensitivityLevelActionProps) *errors.Error

DalSensitivityLevelErrInvalidEndpoint returns "system:dal-sensitivity-level.invalidEndpoint" as *errors.Error

This function is auto-generated.

func DalSensitivityLevelErrInvalidID

func DalSensitivityLevelErrInvalidID(mm ...*dalSensitivityLevelActionProps) *errors.Error

DalSensitivityLevelErrInvalidID returns "system:dal-sensitivity-level.invalidID" as *errors.Error

This function is auto-generated.

func DalSensitivityLevelErrMissingName

func DalSensitivityLevelErrMissingName(mm ...*dalSensitivityLevelActionProps) *errors.Error

DalSensitivityLevelErrMissingName returns "system:dal-sensitivity-level.missingName" as *errors.Error

This function is auto-generated.

func DalSensitivityLevelErrNotAllowedToManage

func DalSensitivityLevelErrNotAllowedToManage(mm ...*dalSensitivityLevelActionProps) *errors.Error

DalSensitivityLevelErrNotAllowedToManage returns "system:dal-sensitivity-level.notAllowedToManage" as *errors.Error

This function is auto-generated.

func DalSensitivityLevelErrNotFound

func DalSensitivityLevelErrNotFound(mm ...*dalSensitivityLevelActionProps) *errors.Error

DalSensitivityLevelErrNotFound returns "system:dal-sensitivity-level.notFound" as *errors.Error

This function is auto-generated.

func DalSensitivityLevelErrStaleData

func DalSensitivityLevelErrStaleData(mm ...*dalSensitivityLevelActionProps) *errors.Error

DalSensitivityLevelErrStaleData returns "system:dal-sensitivity-level.staleData" as *errors.Error

This function is auto-generated.

func DataPrivacy

func DataPrivacy(s store.Storer, ac dataPrivacyAccessController, al actionlog.Recorder, eb eventDispatcher) *dataPrivacy

func DataPrivacyActionApprove

func DataPrivacyActionApprove(props ...*dataPrivacyActionProps) *dataPrivacyAction

DataPrivacyActionApprove returns "system:data-privacy-request.approve" action

This function is auto-generated.

func DataPrivacyActionCreate

func DataPrivacyActionCreate(props ...*dataPrivacyActionProps) *dataPrivacyAction

DataPrivacyActionCreate returns "system:data-privacy-request.create" action

This function is auto-generated.

func DataPrivacyActionLookup

func DataPrivacyActionLookup(props ...*dataPrivacyActionProps) *dataPrivacyAction

DataPrivacyActionLookup returns "system:data-privacy-request.lookup" action

This function is auto-generated.

func DataPrivacyActionSearch

func DataPrivacyActionSearch(props ...*dataPrivacyActionProps) *dataPrivacyAction

DataPrivacyActionSearch returns "system:data-privacy-request.search" action

This function is auto-generated.

func DataPrivacyActionUpdate

func DataPrivacyActionUpdate(props ...*dataPrivacyActionProps) *dataPrivacyAction

DataPrivacyActionUpdate returns "system:data-privacy-request.update" action

This function is auto-generated.

func DataPrivacyErrGeneric

func DataPrivacyErrGeneric(mm ...*dataPrivacyActionProps) *errors.Error

DataPrivacyErrGeneric returns "system:data-privacy-request.generic" as *errors.Error

This function is auto-generated.

func DataPrivacyErrInvalidID

func DataPrivacyErrInvalidID(mm ...*dataPrivacyActionProps) *errors.Error

DataPrivacyErrInvalidID returns "system:data-privacy-request.invalidID" as *errors.Error

This function is auto-generated.

func DataPrivacyErrInvalidKind

func DataPrivacyErrInvalidKind(mm ...*dataPrivacyActionProps) *errors.Error

DataPrivacyErrInvalidKind returns "system:data-privacy-request.invalidKind" as *errors.Error

This function is auto-generated.

func DataPrivacyErrInvalidStatus

func DataPrivacyErrInvalidStatus(mm ...*dataPrivacyActionProps) *errors.Error

DataPrivacyErrInvalidStatus returns "system:data-privacy-request.invalidStatus" as *errors.Error

This function is auto-generated.

func DataPrivacyErrNotAllowedToApprove

func DataPrivacyErrNotAllowedToApprove(mm ...*dataPrivacyActionProps) *errors.Error

DataPrivacyErrNotAllowedToApprove returns "system:data-privacy-request.notAllowedToApprove" as *errors.Error

This function is auto-generated.

func DataPrivacyErrNotAllowedToCreate

func DataPrivacyErrNotAllowedToCreate(mm ...*dataPrivacyActionProps) *errors.Error

DataPrivacyErrNotAllowedToCreate returns "system:data-privacy-request.notAllowedToCreate" as *errors.Error

This function is auto-generated.

func DataPrivacyErrNotAllowedToRead

func DataPrivacyErrNotAllowedToRead(mm ...*dataPrivacyActionProps) *errors.Error

DataPrivacyErrNotAllowedToRead returns "system:data-privacy-request.notAllowedToRead" as *errors.Error

This function is auto-generated.

func DataPrivacyErrNotAllowedToSearch

func DataPrivacyErrNotAllowedToSearch(mm ...*dataPrivacyActionProps) *errors.Error

DataPrivacyErrNotAllowedToSearch returns "system:data-privacy-request.notAllowedToSearch" as *errors.Error

This function is auto-generated.

func DataPrivacyErrNotFound

func DataPrivacyErrNotFound(mm ...*dataPrivacyActionProps) *errors.Error

DataPrivacyErrNotFound returns "system:data-privacy-request.notFound" as *errors.Error

This function is auto-generated.

func DataPrivacyErrStaleData

func DataPrivacyErrStaleData(mm ...*dataPrivacyActionProps) *errors.Error

DataPrivacyErrStaleData returns "system:data-privacy-request.staleData" as *errors.Error

This function is auto-generated.

func Expression

func Expression() *expression

func FetchCSS

func FetchCSS() string

func Filter

func Filter() *apigwFilter

func GenerateCSS

func GenerateCSS(settings *types.AppSettings, sassDirPath string, log *zap.Logger) (err error)

GenerateCSS takes care of creating CSS for webapps by reading SASS content from embedded assets, combining it with different themeSASS and customCSS themes, and then transpiling it using the dart-sass compiler.

If dart sass isn't installed on the host machine, it will default to css content from the minified-custom.css which is generated from [Boostrap, bootstrap-vue and custom variables sass content]. If dart isn't installed on the host machine, customCustom css will continue to function, but without sass support.

In case of an error, it will return default css and log out the error

func Initialize

func Initialize(ctx context.Context, log *zap.Logger, s store.Storer, ws websocketSender, c Config) (err error)

func MakeDalConnection

func MakeDalConnection(c *types.DalConnection, existing dal.Connection) (cw *dal.ConnectionWrap, err error)

MakeDalConnection converts types.DalConnection to dal.ConnectionWrap and returns it.

func Profiler

func Profiler() *apigwProfiler

func Queue

func Queue() *queue

func QueueActionCreate

func QueueActionCreate(props ...*queueActionProps) *queueAction

QueueActionCreate returns "system:queue.create" action

This function is auto-generated.

func QueueActionDelete

func QueueActionDelete(props ...*queueActionProps) *queueAction

QueueActionDelete returns "system:queue.delete" action

This function is auto-generated.

func QueueActionLookup

func QueueActionLookup(props ...*queueActionProps) *queueAction

QueueActionLookup returns "system:queue.lookup" action

This function is auto-generated.

func QueueActionSearch

func QueueActionSearch(props ...*queueActionProps) *queueAction

QueueActionSearch returns "system:queue.search" action

This function is auto-generated.

func QueueActionUndelete

func QueueActionUndelete(props ...*queueActionProps) *queueAction

QueueActionUndelete returns "system:queue.undelete" action

This function is auto-generated.

func QueueActionUpdate

func QueueActionUpdate(props ...*queueActionProps) *queueAction

QueueActionUpdate returns "system:queue.update" action

This function is auto-generated.

func QueueErrAlreadyExists

func QueueErrAlreadyExists(mm ...*queueActionProps) *errors.Error

QueueErrAlreadyExists returns "system:queue.alreadyExists" as *errors.Error

This function is auto-generated.

func QueueErrGeneric

func QueueErrGeneric(mm ...*queueActionProps) *errors.Error

QueueErrGeneric returns "system:queue.generic" as *errors.Error

This function is auto-generated.

func QueueErrInvalidConsumer

func QueueErrInvalidConsumer(mm ...*queueActionProps) *errors.Error

QueueErrInvalidConsumer returns "system:queue.invalidConsumer" as *errors.Error

This function is auto-generated.

func QueueErrInvalidID

func QueueErrInvalidID(mm ...*queueActionProps) *errors.Error

QueueErrInvalidID returns "system:queue.invalidID" as *errors.Error

This function is auto-generated.

func QueueErrNotAllowedToCreate

func QueueErrNotAllowedToCreate(mm ...*queueActionProps) *errors.Error

QueueErrNotAllowedToCreate returns "system:queue.notAllowedToCreate" as *errors.Error

This function is auto-generated.

func QueueErrNotAllowedToDelete

func QueueErrNotAllowedToDelete(mm ...*queueActionProps) *errors.Error

QueueErrNotAllowedToDelete returns "system:queue.notAllowedToDelete" as *errors.Error

This function is auto-generated.

func QueueErrNotAllowedToRead

func QueueErrNotAllowedToRead(mm ...*queueActionProps) *errors.Error

QueueErrNotAllowedToRead returns "system:queue.notAllowedToRead" as *errors.Error

This function is auto-generated.

func QueueErrNotAllowedToReadFrom

func QueueErrNotAllowedToReadFrom(mm ...*queueActionProps) *errors.Error

QueueErrNotAllowedToReadFrom returns "system:queue.notAllowedToReadFrom" as *errors.Error

This function is auto-generated.

func QueueErrNotAllowedToSearch

func QueueErrNotAllowedToSearch(mm ...*queueActionProps) *errors.Error

QueueErrNotAllowedToSearch returns "system:queue.notAllowedToSearch" as *errors.Error

This function is auto-generated.

func QueueErrNotAllowedToUndelete

func QueueErrNotAllowedToUndelete(mm ...*queueActionProps) *errors.Error

QueueErrNotAllowedToUndelete returns "system:queue.notAllowedToUndelete" as *errors.Error

This function is auto-generated.

func QueueErrNotAllowedToUpdate

func QueueErrNotAllowedToUpdate(mm ...*queueActionProps) *errors.Error

QueueErrNotAllowedToUpdate returns "system:queue.notAllowedToUpdate" as *errors.Error

This function is auto-generated.

func QueueErrNotAllowedToWriteTo

func QueueErrNotAllowedToWriteTo(mm ...*queueActionProps) *errors.Error

QueueErrNotAllowedToWriteTo returns "system:queue.notAllowedToWriteTo" as *errors.Error

This function is auto-generated.

func QueueErrNotFound

func QueueErrNotFound(mm ...*queueActionProps) *errors.Error

QueueErrNotFound returns "system:queue.notFound" as *errors.Error

This function is auto-generated.

func QueueErrStaleData

func QueueErrStaleData(mm ...*queueActionProps) *errors.Error

QueueErrStaleData returns "system:queue.staleData" as *errors.Error

This function is auto-generated.

func ReminderActionCreate

func ReminderActionCreate(props ...*reminderActionProps) *reminderAction

ReminderActionCreate returns "system:reminder.create" action

This function is auto-generated.

func ReminderActionDelete

func ReminderActionDelete(props ...*reminderActionProps) *reminderAction

ReminderActionDelete returns "system:reminder.delete" action

This function is auto-generated.

func ReminderActionDismiss

func ReminderActionDismiss(props ...*reminderActionProps) *reminderAction

ReminderActionDismiss returns "system:reminder.dismiss" action

This function is auto-generated.

func ReminderActionLookup

func ReminderActionLookup(props ...*reminderActionProps) *reminderAction

ReminderActionLookup returns "system:reminder.lookup" action

This function is auto-generated.

func ReminderActionSearch

func ReminderActionSearch(props ...*reminderActionProps) *reminderAction

ReminderActionSearch returns "system:reminder.search" action

This function is auto-generated.

func ReminderActionSnooze

func ReminderActionSnooze(props ...*reminderActionProps) *reminderAction

ReminderActionSnooze returns "system:reminder.snooze" action

This function is auto-generated.

func ReminderActionUndismiss

func ReminderActionUndismiss(props ...*reminderActionProps) *reminderAction

ReminderActionUndismiss returns "system:reminder.undismiss" action

This function is auto-generated.

func ReminderActionUpdate

func ReminderActionUpdate(props ...*reminderActionProps) *reminderAction

ReminderActionUpdate returns "system:reminder.update" action

This function is auto-generated.

func ReminderErrGeneric

func ReminderErrGeneric(mm ...*reminderActionProps) *errors.Error

ReminderErrGeneric returns "system:reminder.generic" as *errors.Error

This function is auto-generated.

func ReminderErrInvalidID

func ReminderErrInvalidID(mm ...*reminderActionProps) *errors.Error

ReminderErrInvalidID returns "system:reminder.invalidID" as *errors.Error

This function is auto-generated.

func ReminderErrNotAllowedToAssign

func ReminderErrNotAllowedToAssign(mm ...*reminderActionProps) *errors.Error

ReminderErrNotAllowedToAssign returns "system:reminder.notAllowedToAssign" as *errors.Error

This function is auto-generated.

func ReminderErrNotAllowedToDismiss

func ReminderErrNotAllowedToDismiss(mm ...*reminderActionProps) *errors.Error

ReminderErrNotAllowedToDismiss returns "system:reminder.notAllowedToDismiss" as *errors.Error

This function is auto-generated.

func ReminderErrNotAllowedToRead

func ReminderErrNotAllowedToRead(mm ...*reminderActionProps) *errors.Error

ReminderErrNotAllowedToRead returns "system:reminder.notAllowedToRead" as *errors.Error

This function is auto-generated.

func ReminderErrNotAllowedToUndismiss

func ReminderErrNotAllowedToUndismiss(mm ...*reminderActionProps) *errors.Error

ReminderErrNotAllowedToUndismiss returns "system:reminder.notAllowedToUndismiss" as *errors.Error

This function is auto-generated.

func ReminderErrNotFound

func ReminderErrNotFound(mm ...*reminderActionProps) *errors.Error

ReminderErrNotFound returns "system:reminder.notFound" as *errors.Error

This function is auto-generated.

func Renderer

func Renderer(cfg options.TemplateOpt) *template

func Report

func Report(s store.Storer, ac reportAccessController, al actionlog.Recorder, eb eventDispatcher) *report

Report is a default report service initializer

func ReportActionCreate

func ReportActionCreate(props ...*reportActionProps) *reportAction

ReportActionCreate returns "system:report.create" action

This function is auto-generated.

func ReportActionDelete

func ReportActionDelete(props ...*reportActionProps) *reportAction

ReportActionDelete returns "system:report.delete" action

This function is auto-generated.

func ReportActionLookup

func ReportActionLookup(props ...*reportActionProps) *reportAction

ReportActionLookup returns "system:report.lookup" action

This function is auto-generated.

func ReportActionRun

func ReportActionRun(props ...*reportActionProps) *reportAction

ReportActionRun returns "system:report.run" action

This function is auto-generated.

func ReportActionSearch

func ReportActionSearch(props ...*reportActionProps) *reportAction

ReportActionSearch returns "system:report.search" action

This function is auto-generated.

func ReportActionUndelete

func ReportActionUndelete(props ...*reportActionProps) *reportAction

ReportActionUndelete returns "system:report.undelete" action

This function is auto-generated.

func ReportActionUpdate

func ReportActionUpdate(props ...*reportActionProps) *reportAction

ReportActionUpdate returns "system:report.update" action

This function is auto-generated.

func ReportErrGeneric

func ReportErrGeneric(mm ...*reportActionProps) *errors.Error

ReportErrGeneric returns "system:report.generic" as *errors.Error

This function is auto-generated.

func ReportErrInvalidConfiguration

func ReportErrInvalidConfiguration(mm ...*reportActionProps) *errors.Error

ReportErrInvalidConfiguration returns "system:report.invalidConfiguration" as *errors.Error

This function is auto-generated.

func ReportErrInvalidID

func ReportErrInvalidID(mm ...*reportActionProps) *errors.Error

ReportErrInvalidID returns "system:report.invalidID" as *errors.Error

This function is auto-generated.

func ReportErrNotAllowedToCreate

func ReportErrNotAllowedToCreate(mm ...*reportActionProps) *errors.Error

ReportErrNotAllowedToCreate returns "system:report.notAllowedToCreate" as *errors.Error

This function is auto-generated.

func ReportErrNotAllowedToDelete

func ReportErrNotAllowedToDelete(mm ...*reportActionProps) *errors.Error

ReportErrNotAllowedToDelete returns "system:report.notAllowedToDelete" as *errors.Error

This function is auto-generated.

func ReportErrNotAllowedToListReports

func ReportErrNotAllowedToListReports(mm ...*reportActionProps) *errors.Error

ReportErrNotAllowedToListReports returns "system:report.notAllowedToListReports" as *errors.Error

This function is auto-generated.

func ReportErrNotAllowedToRead

func ReportErrNotAllowedToRead(mm ...*reportActionProps) *errors.Error

ReportErrNotAllowedToRead returns "system:report.notAllowedToRead" as *errors.Error

This function is auto-generated.

func ReportErrNotAllowedToRun

func ReportErrNotAllowedToRun(mm ...*reportActionProps) *errors.Error

ReportErrNotAllowedToRun returns "system:report.notAllowedToRun" as *errors.Error

This function is auto-generated.

func ReportErrNotAllowedToSearch

func ReportErrNotAllowedToSearch(mm ...*reportActionProps) *errors.Error

ReportErrNotAllowedToSearch returns "system:report.notAllowedToSearch" as *errors.Error

This function is auto-generated.

func ReportErrNotAllowedToUndelete

func ReportErrNotAllowedToUndelete(mm ...*reportActionProps) *errors.Error

ReportErrNotAllowedToUndelete returns "system:report.notAllowedToUndelete" as *errors.Error

This function is auto-generated.

func ReportErrNotAllowedToUpdate

func ReportErrNotAllowedToUpdate(mm ...*reportActionProps) *errors.Error

ReportErrNotAllowedToUpdate returns "system:report.notAllowedToUpdate" as *errors.Error

This function is auto-generated.

func ReportErrNotFound

func ReportErrNotFound(mm ...*reportActionProps) *errors.Error

ReportErrNotFound returns "system:report.notFound" as *errors.Error

This function is auto-generated.

func ReportErrStaleData

func ReportErrStaleData(mm ...*reportActionProps) *errors.Error

ReportErrStaleData returns "system:report.staleData" as *errors.Error

This function is auto-generated.

func ResourceTranslation

func ResourceTranslation() *resourceTranslation

func ResourceTranslationActionCreate

func ResourceTranslationActionCreate(props ...*resourceTranslationActionProps) *resourceTranslationAction

ResourceTranslationActionCreate returns "system:resource-translation.create" action

This function is auto-generated.

func ResourceTranslationActionDelete

func ResourceTranslationActionDelete(props ...*resourceTranslationActionProps) *resourceTranslationAction

ResourceTranslationActionDelete returns "system:resource-translation.delete" action

This function is auto-generated.

func ResourceTranslationActionLookup

func ResourceTranslationActionLookup(props ...*resourceTranslationActionProps) *resourceTranslationAction

ResourceTranslationActionLookup returns "system:resource-translation.lookup" action

This function is auto-generated.

func ResourceTranslationActionSearch

func ResourceTranslationActionSearch(props ...*resourceTranslationActionProps) *resourceTranslationAction

ResourceTranslationActionSearch returns "system:resource-translation.search" action

This function is auto-generated.

func ResourceTranslationActionUndelete

func ResourceTranslationActionUndelete(props ...*resourceTranslationActionProps) *resourceTranslationAction

ResourceTranslationActionUndelete returns "system:resource-translation.undelete" action

This function is auto-generated.

func ResourceTranslationActionUpdate

func ResourceTranslationActionUpdate(props ...*resourceTranslationActionProps) *resourceTranslationAction

ResourceTranslationActionUpdate returns "system:resource-translation.update" action

This function is auto-generated.

func ResourceTranslationErrGeneric

func ResourceTranslationErrGeneric(mm ...*resourceTranslationActionProps) *errors.Error

ResourceTranslationErrGeneric returns "system:resource-translation.generic" as *errors.Error

This function is auto-generated.

func ResourceTranslationErrInvalidID

func ResourceTranslationErrInvalidID(mm ...*resourceTranslationActionProps) *errors.Error

ResourceTranslationErrInvalidID returns "system:resource-translation.invalidID" as *errors.Error

This function is auto-generated.

func ResourceTranslationErrNotAllowedToManage

func ResourceTranslationErrNotAllowedToManage(mm ...*resourceTranslationActionProps) *errors.Error

ResourceTranslationErrNotAllowedToManage returns "system:resource-translation.notAllowedToManage" as *errors.Error

This function is auto-generated.

func ResourceTranslationErrNotAllowedToRead

func ResourceTranslationErrNotAllowedToRead(mm ...*resourceTranslationActionProps) *errors.Error

ResourceTranslationErrNotAllowedToRead returns "system:resource-translation.notAllowedToRead" as *errors.Error

This function is auto-generated.

func ResourceTranslationErrNotAllowedToSearch

func ResourceTranslationErrNotAllowedToSearch(mm ...*resourceTranslationActionProps) *errors.Error

ResourceTranslationErrNotAllowedToSearch returns "system:resource-translation.notAllowedToSearch" as *errors.Error

This function is auto-generated.

func ResourceTranslationErrNotFound

func ResourceTranslationErrNotFound(mm ...*resourceTranslationActionProps) *errors.Error

ResourceTranslationErrNotFound returns "system:resource-translation.notFound" as *errors.Error

This function is auto-generated.

func ResourceTranslationErrStaleData

func ResourceTranslationErrStaleData(mm ...*resourceTranslationActionProps) *errors.Error

ResourceTranslationErrStaleData returns "system:resource-translation.staleData" as *errors.Error

This function is auto-generated.

func Role

func Role(rbac rbacRuleService) *role

func RoleActionArchive

func RoleActionArchive(props ...*roleActionProps) *roleAction

RoleActionArchive returns "system:role.archive" action

This function is auto-generated.

func RoleActionCreate

func RoleActionCreate(props ...*roleActionProps) *roleAction

RoleActionCreate returns "system:role.create" action

This function is auto-generated.

func RoleActionDelete

func RoleActionDelete(props ...*roleActionProps) *roleAction

RoleActionDelete returns "system:role.delete" action

This function is auto-generated.

func RoleActionLookup

func RoleActionLookup(props ...*roleActionProps) *roleAction

RoleActionLookup returns "system:role.lookup" action

This function is auto-generated.

func RoleActionMemberAdd

func RoleActionMemberAdd(props ...*roleActionProps) *roleAction

RoleActionMemberAdd returns "system:role.memberAdd" action

This function is auto-generated.

func RoleActionMemberRemove

func RoleActionMemberRemove(props ...*roleActionProps) *roleAction

RoleActionMemberRemove returns "system:role.memberRemove" action

This function is auto-generated.

func RoleActionMembers

func RoleActionMembers(props ...*roleActionProps) *roleAction

RoleActionMembers returns "system:role.members" action

This function is auto-generated.

func RoleActionMerge

func RoleActionMerge(props ...*roleActionProps) *roleAction

RoleActionMerge returns "system:role.merge" action

This function is auto-generated.

func RoleActionSearch

func RoleActionSearch(props ...*roleActionProps) *roleAction

RoleActionSearch returns "system:role.search" action

This function is auto-generated.

func RoleActionUnarchive

func RoleActionUnarchive(props ...*roleActionProps) *roleAction

RoleActionUnarchive returns "system:role.unarchive" action

This function is auto-generated.

func RoleActionUndelete

func RoleActionUndelete(props ...*roleActionProps) *roleAction

RoleActionUndelete returns "system:role.undelete" action

This function is auto-generated.

func RoleActionUpdate

func RoleActionUpdate(props ...*roleActionProps) *roleAction

RoleActionUpdate returns "system:role.update" action

This function is auto-generated.

func RoleErrGeneric

func RoleErrGeneric(mm ...*roleActionProps) *errors.Error

RoleErrGeneric returns "system:role.generic" as *errors.Error

This function is auto-generated.

func RoleErrHandleNotUnique

func RoleErrHandleNotUnique(mm ...*roleActionProps) *errors.Error

RoleErrHandleNotUnique returns "system:role.handleNotUnique" as *errors.Error

This function is auto-generated.

func RoleErrInvalidHandle

func RoleErrInvalidHandle(mm ...*roleActionProps) *errors.Error

RoleErrInvalidHandle returns "system:role.invalidHandle" as *errors.Error

This function is auto-generated.

func RoleErrInvalidID

func RoleErrInvalidID(mm ...*roleActionProps) *errors.Error

RoleErrInvalidID returns "system:role.invalidID" as *errors.Error

This function is auto-generated.

func RoleErrNameNotUnique

func RoleErrNameNotUnique(mm ...*roleActionProps) *errors.Error

RoleErrNameNotUnique returns "system:role.nameNotUnique" as *errors.Error

This function is auto-generated.

func RoleErrNotAllowedToArchive

func RoleErrNotAllowedToArchive(mm ...*roleActionProps) *errors.Error

RoleErrNotAllowedToArchive returns "system:role.notAllowedToArchive" as *errors.Error

This function is auto-generated.

func RoleErrNotAllowedToCloneRules

func RoleErrNotAllowedToCloneRules(mm ...*roleActionProps) *errors.Error

RoleErrNotAllowedToCloneRules returns "system:role.notAllowedToCloneRules" as *errors.Error

This function is auto-generated.

func RoleErrNotAllowedToCreate

func RoleErrNotAllowedToCreate(mm ...*roleActionProps) *errors.Error

RoleErrNotAllowedToCreate returns "system:role.notAllowedToCreate" as *errors.Error

This function is auto-generated.

func RoleErrNotAllowedToDelete

func RoleErrNotAllowedToDelete(mm ...*roleActionProps) *errors.Error

RoleErrNotAllowedToDelete returns "system:role.notAllowedToDelete" as *errors.Error

This function is auto-generated.

func RoleErrNotAllowedToManageMembers

func RoleErrNotAllowedToManageMembers(mm ...*roleActionProps) *errors.Error

RoleErrNotAllowedToManageMembers returns "system:role.notAllowedToManageMembers" as *errors.Error

This function is auto-generated.

func RoleErrNotAllowedToRead

func RoleErrNotAllowedToRead(mm ...*roleActionProps) *errors.Error

RoleErrNotAllowedToRead returns "system:role.notAllowedToRead" as *errors.Error

This function is auto-generated.

func RoleErrNotAllowedToSearch

func RoleErrNotAllowedToSearch(mm ...*roleActionProps) *errors.Error

RoleErrNotAllowedToSearch returns "system:role.notAllowedToSearch" as *errors.Error

This function is auto-generated.

func RoleErrNotAllowedToUnarchive

func RoleErrNotAllowedToUnarchive(mm ...*roleActionProps) *errors.Error

RoleErrNotAllowedToUnarchive returns "system:role.notAllowedToUnarchive" as *errors.Error

This function is auto-generated.

func RoleErrNotAllowedToUndelete

func RoleErrNotAllowedToUndelete(mm ...*roleActionProps) *errors.Error

RoleErrNotAllowedToUndelete returns "system:role.notAllowedToUndelete" as *errors.Error

This function is auto-generated.

func RoleErrNotAllowedToUpdate

func RoleErrNotAllowedToUpdate(mm ...*roleActionProps) *errors.Error

RoleErrNotAllowedToUpdate returns "system:role.notAllowedToUpdate" as *errors.Error

This function is auto-generated.

func RoleErrNotFound

func RoleErrNotFound(mm ...*roleActionProps) *errors.Error

RoleErrNotFound returns "system:role.notFound" as *errors.Error

This function is auto-generated.

func RoleErrStaleData

func RoleErrStaleData(mm ...*roleActionProps) *errors.Error

RoleErrStaleData returns "system:role.staleData" as *errors.Error

This function is auto-generated.

func Route

func Route() *apigwRoute

func SensitivityLevel

func SensitivityLevel(ctx context.Context, dal dalSensitivityLevelManager) *dalSensitivityLevel

func SetPasswordCredentials

func SetPasswordCredentials(ctx context.Context, s store.Storer, userID uint64, password string) (err error)

SetPasswordCredentials creates a new password entry

func Settings

func Settings(ctx context.Context, s store.SettingValues, log *zap.Logger, ac accessController, al actionlog.Recorder, current interface{}, webappsConf options.WebappOpt) *settings

func SettingsActionLookup

func SettingsActionLookup(props ...*settingsActionProps) *settingsAction

SettingsActionLookup returns "system:setting.lookup" action

This function is auto-generated.

func SettingsErrGeneric

func SettingsErrGeneric(mm ...*settingsActionProps) *errors.Error

SettingsErrGeneric returns "system:setting.generic" as *errors.Error

This function is auto-generated.

func SettingsErrInvalidPasswordMinLength

func SettingsErrInvalidPasswordMinLength(mm ...*settingsActionProps) *errors.Error

SettingsErrInvalidPasswordMinLength returns "system:setting.invalidPasswordMinLength" as *errors.Error

This function is auto-generated.

func SettingsErrInvalidPasswordMinLowerCase

func SettingsErrInvalidPasswordMinLowerCase(mm ...*settingsActionProps) *errors.Error

SettingsErrInvalidPasswordMinLowerCase returns "system:setting.invalidPasswordMinLowerCase" as *errors.Error

This function is auto-generated.

func SettingsErrInvalidPasswordMinNumCount

func SettingsErrInvalidPasswordMinNumCount(mm ...*settingsActionProps) *errors.Error

SettingsErrInvalidPasswordMinNumCount returns "system:setting.invalidPasswordMinNumCount" as *errors.Error

This function is auto-generated.

func SettingsErrInvalidPasswordMinSpecialCharCount

func SettingsErrInvalidPasswordMinSpecialCharCount(mm ...*settingsActionProps) *errors.Error

SettingsErrInvalidPasswordMinSpecialCharCount returns "system:setting.invalidPasswordMinSpecialCharCount" as *errors.Error

This function is auto-generated.

func SettingsErrInvalidPasswordMinUpperCase

func SettingsErrInvalidPasswordMinUpperCase(mm ...*settingsActionProps) *errors.Error

SettingsErrInvalidPasswordMinUpperCase returns "system:setting.invalidPasswordMinUpperCase" as *errors.Error

This function is auto-generated.

func SettingsErrNotAllowedToManage

func SettingsErrNotAllowedToManage(mm ...*settingsActionProps) *errors.Error

SettingsErrNotAllowedToManage returns "system:setting.notAllowedToManage" as *errors.Error

This function is auto-generated.

func SettingsErrNotAllowedToRead

func SettingsErrNotAllowedToRead(mm ...*settingsActionProps) *errors.Error

SettingsErrNotAllowedToRead returns "system:setting.notAllowedToRead" as *errors.Error

This function is auto-generated.

func Sink

func Sink() *sink

func SinkActionPreprocess

func SinkActionPreprocess(props ...*sinkActionProps) *sinkAction

SinkActionPreprocess returns "system:sink.preprocess" action

This function is auto-generated.

func SinkActionRequest

func SinkActionRequest(props ...*sinkActionProps) *sinkAction

SinkActionRequest returns "system:sink.request" action

This function is auto-generated.

func SinkActionSign

func SinkActionSign(props ...*sinkActionProps) *sinkAction

SinkActionSign returns "system:sink.sign" action

This function is auto-generated.

func SinkErrBadSinkParamEncoding

func SinkErrBadSinkParamEncoding(mm ...*sinkActionProps) *errors.Error

SinkErrBadSinkParamEncoding returns "system:sink.badSinkParamEncoding" as *errors.Error

This function is auto-generated.

func SinkErrContentLengthExceedsMaxAllowedSize

func SinkErrContentLengthExceedsMaxAllowedSize(mm ...*sinkActionProps) *errors.Error

SinkErrContentLengthExceedsMaxAllowedSize returns "system:sink.contentLengthExceedsMaxAllowedSize" as *errors.Error

This function is auto-generated.

func SinkErrFailedToCreateEvent

func SinkErrFailedToCreateEvent(mm ...*sinkActionProps) *errors.Error

SinkErrFailedToCreateEvent returns "system:sink.failedToCreateEvent" as *errors.Error

This function is auto-generated.

func SinkErrFailedToProcess

func SinkErrFailedToProcess(mm ...*sinkActionProps) *errors.Error

SinkErrFailedToProcess returns "system:sink.failedToProcess" as *errors.Error

This function is auto-generated.

func SinkErrFailedToRespond

func SinkErrFailedToRespond(mm ...*sinkActionProps) *errors.Error

SinkErrFailedToRespond returns "system:sink.failedToRespond" as *errors.Error

This function is auto-generated.

func SinkErrFailedToSign

func SinkErrFailedToSign(mm ...*sinkActionProps) *errors.Error

SinkErrFailedToSign returns "system:sink.failedToSign" as *errors.Error

This function is auto-generated.

func SinkErrGeneric

func SinkErrGeneric(mm ...*sinkActionProps) *errors.Error

SinkErrGeneric returns "system:sink.generic" as *errors.Error

This function is auto-generated.

func SinkErrInvalidContentType

func SinkErrInvalidContentType(mm ...*sinkActionProps) *errors.Error

SinkErrInvalidContentType returns "system:sink.invalidContentType" as *errors.Error

This function is auto-generated.

func SinkErrInvalidHttpMethod

func SinkErrInvalidHttpMethod(mm ...*sinkActionProps) *errors.Error

SinkErrInvalidHttpMethod returns "system:sink.invalidHttpMethod" as *errors.Error

This function is auto-generated.

func SinkErrInvalidPath

func SinkErrInvalidPath(mm ...*sinkActionProps) *errors.Error

SinkErrInvalidPath returns "system:sink.invalidPath" as *errors.Error

This function is auto-generated.

func SinkErrInvalidSignature

func SinkErrInvalidSignature(mm ...*sinkActionProps) *errors.Error

SinkErrInvalidSignature returns "system:sink.invalidSignature" as *errors.Error

This function is auto-generated.

func SinkErrInvalidSignatureParam

func SinkErrInvalidSignatureParam(mm ...*sinkActionProps) *errors.Error

SinkErrInvalidSignatureParam returns "system:sink.invalidSignatureParam" as *errors.Error

This function is auto-generated.

func SinkErrInvalidSinkRequestUrlParams

func SinkErrInvalidSinkRequestUrlParams(mm ...*sinkActionProps) *errors.Error

SinkErrInvalidSinkRequestUrlParams returns "system:sink.invalidSinkRequestUrlParams" as *errors.Error

This function is auto-generated.

func SinkErrMisplacedSignature

func SinkErrMisplacedSignature(mm ...*sinkActionProps) *errors.Error

SinkErrMisplacedSignature returns "system:sink.misplacedSignature" as *errors.Error

This function is auto-generated.

func SinkErrMissingSignature

func SinkErrMissingSignature(mm ...*sinkActionProps) *errors.Error

SinkErrMissingSignature returns "system:sink.missingSignature" as *errors.Error

This function is auto-generated.

func SinkErrProcessingError

func SinkErrProcessingError(mm ...*sinkActionProps) *errors.Error

SinkErrProcessingError returns "system:sink.processingError" as *errors.Error

This function is auto-generated.

func SinkErrSignatureExpired

func SinkErrSignatureExpired(mm ...*sinkActionProps) *errors.Error

SinkErrSignatureExpired returns "system:sink.signatureExpired" as *errors.Error

This function is auto-generated.

func SmtpConfigurationChecker

func SmtpConfigurationChecker(s *types.AppSettings, ts TemplateService, ac accessController, opt options.AuthOpt) *smtpConfigurationChecker

func Statistics

func Statistics() *statistics

func StatisticsActionServe

func StatisticsActionServe(props ...*statisticsActionProps) *statisticsAction

StatisticsActionServe returns "system:statistics.serve" action

This function is auto-generated.

func StatisticsErrGeneric

func StatisticsErrGeneric(mm ...*statisticsActionProps) *errors.Error

StatisticsErrGeneric returns "system:statistics.generic" as *errors.Error

This function is auto-generated.

func StatisticsErrNotAllowedToReadStatistics

func StatisticsErrNotAllowedToReadStatistics(mm ...*statisticsActionProps) *errors.Error

StatisticsErrNotAllowedToReadStatistics returns "system:statistics.notAllowedToReadStatistics" as *errors.Error

This function is auto-generated.

func TemplateActionCreate

func TemplateActionCreate(props ...*templateActionProps) *templateAction

TemplateActionCreate returns "system:template.create" action

This function is auto-generated.

func TemplateActionDelete

func TemplateActionDelete(props ...*templateActionProps) *templateAction

TemplateActionDelete returns "system:template.delete" action

This function is auto-generated.

func TemplateActionLookup

func TemplateActionLookup(props ...*templateActionProps) *templateAction

TemplateActionLookup returns "system:template.lookup" action

This function is auto-generated.

func TemplateActionRender

func TemplateActionRender(props ...*templateActionProps) *templateAction

TemplateActionRender returns "system:template.render" action

This function is auto-generated.

func TemplateActionSearch

func TemplateActionSearch(props ...*templateActionProps) *templateAction

TemplateActionSearch returns "system:template.search" action

This function is auto-generated.

func TemplateActionUndelete

func TemplateActionUndelete(props ...*templateActionProps) *templateAction

TemplateActionUndelete returns "system:template.undelete" action

This function is auto-generated.

func TemplateActionUpdate

func TemplateActionUpdate(props ...*templateActionProps) *templateAction

TemplateActionUpdate returns "system:template.update" action

This function is auto-generated.

func TemplateErrCannotRenderPartial

func TemplateErrCannotRenderPartial(mm ...*templateActionProps) *errors.Error

TemplateErrCannotRenderPartial returns "system:template.cannotRenderPartial" as *errors.Error

This function is auto-generated.

func TemplateErrGeneric

func TemplateErrGeneric(mm ...*templateActionProps) *errors.Error

TemplateErrGeneric returns "system:template.generic" as *errors.Error

This function is auto-generated.

func TemplateErrInvalidHandle

func TemplateErrInvalidHandle(mm ...*templateActionProps) *errors.Error

TemplateErrInvalidHandle returns "system:template.invalidHandle" as *errors.Error

This function is auto-generated.

func TemplateErrInvalidID

func TemplateErrInvalidID(mm ...*templateActionProps) *errors.Error

TemplateErrInvalidID returns "system:template.invalidID" as *errors.Error

This function is auto-generated.

func TemplateErrMissingShort

func TemplateErrMissingShort(mm ...*templateActionProps) *errors.Error

TemplateErrMissingShort returns "system:template.missingShort" as *errors.Error

This function is auto-generated.

func TemplateErrNotAllowedToCreate

func TemplateErrNotAllowedToCreate(mm ...*templateActionProps) *errors.Error

TemplateErrNotAllowedToCreate returns "system:template.notAllowedToCreate" as *errors.Error

This function is auto-generated.

func TemplateErrNotAllowedToDelete

func TemplateErrNotAllowedToDelete(mm ...*templateActionProps) *errors.Error

TemplateErrNotAllowedToDelete returns "system:template.notAllowedToDelete" as *errors.Error

This function is auto-generated.

func TemplateErrNotAllowedToRead

func TemplateErrNotAllowedToRead(mm ...*templateActionProps) *errors.Error

TemplateErrNotAllowedToRead returns "system:template.notAllowedToRead" as *errors.Error

This function is auto-generated.

func TemplateErrNotAllowedToRender

func TemplateErrNotAllowedToRender(mm ...*templateActionProps) *errors.Error

TemplateErrNotAllowedToRender returns "system:template.notAllowedToRender" as *errors.Error

This function is auto-generated.

func TemplateErrNotAllowedToSearch

func TemplateErrNotAllowedToSearch(mm ...*templateActionProps) *errors.Error

TemplateErrNotAllowedToSearch returns "system:template.notAllowedToSearch" as *errors.Error

This function is auto-generated.

func TemplateErrNotAllowedToUndelete

func TemplateErrNotAllowedToUndelete(mm ...*templateActionProps) *errors.Error

TemplateErrNotAllowedToUndelete returns "system:template.notAllowedToUndelete" as *errors.Error

This function is auto-generated.

func TemplateErrNotAllowedToUpdate

func TemplateErrNotAllowedToUpdate(mm ...*templateActionProps) *errors.Error

TemplateErrNotAllowedToUpdate returns "system:template.notAllowedToUpdate" as *errors.Error

This function is auto-generated.

func TemplateErrNotFound

func TemplateErrNotFound(mm ...*templateActionProps) *errors.Error

TemplateErrNotFound returns "system:template.notFound" as *errors.Error

This function is auto-generated.

func TemplateErrStaleData

func TemplateErrStaleData(mm ...*templateActionProps) *errors.Error

TemplateErrStaleData returns "system:template.staleData" as *errors.Error

This function is auto-generated.

func UpdateRbacRoles

func UpdateRbacRoles(ctx context.Context, log *zap.Logger, ru rbacRoleUpdater, bypass, authenticated, anonymous map[string]bool) error

func User

func User(opt UserOptions) *user

func UserActionCreate

func UserActionCreate(props ...*userActionProps) *userAction

UserActionCreate returns "system:user.create" action

This function is auto-generated.

func UserActionDelete

func UserActionDelete(props ...*userActionProps) *userAction

UserActionDelete returns "system:user.delete" action

This function is auto-generated.

func UserActionDeleteAuthSessions

func UserActionDeleteAuthSessions(props ...*userActionProps) *userAction

UserActionDeleteAuthSessions returns "system:user.deleteAuthSessions" action

This function is auto-generated.

func UserActionDeleteAuthTokens

func UserActionDeleteAuthTokens(props ...*userActionProps) *userAction

UserActionDeleteAuthTokens returns "system:user.deleteAuthTokens" action

This function is auto-generated.

func UserActionDeleteAvatar

func UserActionDeleteAvatar(props ...*userActionProps) *userAction

UserActionDeleteAvatar returns "system:user.deleteAvatar" action

This function is auto-generated.

func UserActionGenerateAvatar

func UserActionGenerateAvatar(props ...*userActionProps) *userAction

UserActionGenerateAvatar returns "system:user.generateAvatar" action

This function is auto-generated.

func UserActionLookup

func UserActionLookup(props ...*userActionProps) *userAction

UserActionLookup returns "system:user.lookup" action

This function is auto-generated.

func UserActionRemovePassword

func UserActionRemovePassword(props ...*userActionProps) *userAction

UserActionRemovePassword returns "system:user.removePassword" action

This function is auto-generated.

func UserActionSearch

func UserActionSearch(props ...*userActionProps) *userAction

UserActionSearch returns "system:user.search" action

This function is auto-generated.

func UserActionSetPassword

func UserActionSetPassword(props ...*userActionProps) *userAction

UserActionSetPassword returns "system:user.setPassword" action

This function is auto-generated.

func UserActionSuspend

func UserActionSuspend(props ...*userActionProps) *userAction

UserActionSuspend returns "system:user.suspend" action

This function is auto-generated.

func UserActionUndelete

func UserActionUndelete(props ...*userActionProps) *userAction

UserActionUndelete returns "system:user.undelete" action

This function is auto-generated.

func UserActionUnsuspend

func UserActionUnsuspend(props ...*userActionProps) *userAction

UserActionUnsuspend returns "system:user.unsuspend" action

This function is auto-generated.

func UserActionUpdate

func UserActionUpdate(props ...*userActionProps) *userAction

UserActionUpdate returns "system:user.update" action

This function is auto-generated.

func UserActionUploadAvatar

func UserActionUploadAvatar(props ...*userActionProps) *userAction

UserActionUploadAvatar returns "system:user.uploadAvatar" action

This function is auto-generated.

func UserErrEmailNotUnique

func UserErrEmailNotUnique(mm ...*userActionProps) *errors.Error

UserErrEmailNotUnique returns "system:user.emailNotUnique" as *errors.Error

This function is auto-generated.

func UserErrGeneric

func UserErrGeneric(mm ...*userActionProps) *errors.Error

UserErrGeneric returns "system:user.generic" as *errors.Error

This function is auto-generated.

func UserErrHandleNotUnique

func UserErrHandleNotUnique(mm ...*userActionProps) *errors.Error

UserErrHandleNotUnique returns "system:user.handleNotUnique" as *errors.Error

This function is auto-generated.

func UserErrInvalidEmail

func UserErrInvalidEmail(mm ...*userActionProps) *errors.Error

UserErrInvalidEmail returns "system:user.invalidEmail" as *errors.Error

This function is auto-generated.

func UserErrInvalidHandle

func UserErrInvalidHandle(mm ...*userActionProps) *errors.Error

UserErrInvalidHandle returns "system:user.invalidHandle" as *errors.Error

This function is auto-generated.

func UserErrInvalidID

func UserErrInvalidID(mm ...*userActionProps) *errors.Error

UserErrInvalidID returns "system:user.invalidID" as *errors.Error

This function is auto-generated.

func UserErrMaxUserLimitReached

func UserErrMaxUserLimitReached(mm ...*userActionProps) *errors.Error

UserErrMaxUserLimitReached returns "system:user.maxUserLimitReached" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToCreate

func UserErrNotAllowedToCreate(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToCreate returns "system:user.notAllowedToCreate" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToCreateSystem

func UserErrNotAllowedToCreateSystem(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToCreateSystem returns "system:user.notAllowedToCreateSystem" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToDelete

func UserErrNotAllowedToDelete(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToDelete returns "system:user.notAllowedToDelete" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToDeleteAvatar

func UserErrNotAllowedToDeleteAvatar(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToDeleteAvatar returns "system:user.notAllowedToDeleteAvatar" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToListUsers

func UserErrNotAllowedToListUsers(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToListUsers returns "system:user.notAllowedToListUsers" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToRead

func UserErrNotAllowedToRead(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToRead returns "system:user.notAllowedToRead" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToSearch

func UserErrNotAllowedToSearch(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToSearch returns "system:user.notAllowedToSearch" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToSuspend

func UserErrNotAllowedToSuspend(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToSuspend returns "system:user.notAllowedToSuspend" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToUndelete

func UserErrNotAllowedToUndelete(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToUndelete returns "system:user.notAllowedToUndelete" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToUnsuspend

func UserErrNotAllowedToUnsuspend(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToUnsuspend returns "system:user.notAllowedToUnsuspend" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToUpdate

func UserErrNotAllowedToUpdate(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToUpdate returns "system:user.notAllowedToUpdate" as *errors.Error

This function is auto-generated.

func UserErrNotAllowedToUpdateSystem

func UserErrNotAllowedToUpdateSystem(mm ...*userActionProps) *errors.Error

UserErrNotAllowedToUpdateSystem returns "system:user.notAllowedToUpdateSystem" as *errors.Error

This function is auto-generated.

func UserErrNotFound

func UserErrNotFound(mm ...*userActionProps) *errors.Error

UserErrNotFound returns "system:user.notFound" as *errors.Error

This function is auto-generated.

func UserErrPasswordNotSecure

func UserErrPasswordNotSecure(mm ...*userActionProps) *errors.Error

UserErrPasswordNotSecure returns "system:user.passwordNotSecure" as *errors.Error

This function is auto-generated.

func UserErrStaleData

func UserErrStaleData(mm ...*userActionProps) *errors.Error

UserErrStaleData returns "system:user.staleData" as *errors.Error

This function is auto-generated.

func UserErrUsernameNotUnique

func UserErrUsernameNotUnique(mm ...*userActionProps) *errors.Error

UserErrUsernameNotUnique returns "system:user.usernameNotUnique" as *errors.Error

This function is auto-generated.

func Watchers

func Watchers(ctx context.Context)

Types

type AttachmentService

type AttachmentService interface {
	FindByID(ctx context.Context, ID uint64) (*types.Attachment, error)
	Find(ctx context.Context, filter types.AttachmentFilter) (types.AttachmentSet, types.AttachmentFilter, error)
	CreateSettingsAttachment(ctx context.Context, name string, size int64, fh io.ReadSeeker, labels map[string]string) (*types.Attachment, error)
	CreateApplicationAttachment(ctx context.Context, name string, size int64, fh io.ReadSeeker, labels map[string]string) (*types.Attachment, error)
	CreateAuthAttachment(ctx context.Context, name string, size int64, fh io.ReadSeeker, labels map[string]string) (*types.Attachment, error)
	CreateAvatarInitialsAttachment(ctx context.Context, initials string, bgColor string, textColor string) (att *types.Attachment, err error)
	OpenOriginal(att *types.Attachment) (io.ReadSeekCloser, error)
	OpenPreview(att *types.Attachment) (io.ReadSeekCloser, error)
	DeleteByID(ctx context.Context, ID uint64) error
}

type AuthNotificationService

type AuthNotificationService interface {
	EmailOTP(ctx context.Context, emailAddress string, otp string) error
	EmailConfirmation(ctx context.Context, emailAddress string, url string) error
	PasswordReset(ctx context.Context, emailAddress string, url string) error
	PasswordCreate(url string) (string, error)
	InviteEmail(ctx context.Context, emailAddress string, token string) error
}

type AuthOptions

type AuthOptions struct {
	LimitUsers int

	// how fresh can a password be before we consider it
	// reused?
	// @todo make this configurable someday
	PasswordReuseTimeWindow time.Duration
}

type Config

type Config struct {
	ActionLog  options.ActionLogOpt
	Discovery  options.DiscoveryOpt
	Storage    options.ObjectStoreOpt
	DB         options.DBOpt
	Template   options.TemplateOpt
	Auth       options.AuthOpt
	RBAC       options.RbacOpt
	Limit      options.LimitOpt
	Attachment options.AttachmentOpt
	Webapps    options.WebappOpt
}

type RoleService

type RoleService interface {
	FindByID(ctx context.Context, roleID uint64) (*types.Role, error)
	FindByName(ctx context.Context, name string) (*types.Role, error)
	FindByHandle(ctx context.Context, handle string) (*types.Role, error)
	FindByAny(ctx context.Context, identifier interface{}) (*types.Role, error)
	Find(context.Context, types.RoleFilter) (types.RoleSet, types.RoleFilter, error)

	IsSystem(r *types.Role) bool
	IsClosed(r *types.Role) bool

	Create(ctx context.Context, role *types.Role) (*types.Role, error)
	Update(ctx context.Context, role *types.Role) (*types.Role, error)

	Archive(ctx context.Context, ID uint64) error
	Unarchive(ctx context.Context, ID uint64) error
	Delete(ctx context.Context, ID uint64) error
	Undelete(ctx context.Context, ID uint64) error
	CloneRules(ctx context.Context, ID uint64, cloneToRoleID ...uint64) error

	Membership(ctx context.Context, userID uint64) (types.RoleMemberSet, error)
	MemberList(ctx context.Context, roleID uint64) (types.RoleMemberSet, error)
	MemberAdd(ctx context.Context, roleID, userID uint64) error
	MemberRemove(ctx context.Context, roleID, userID uint64) error
}

type SettingsChangeListener

type SettingsChangeListener func(ctx context.Context, current interface{}, set types.SettingValueSet)

type SinkRequestUrlParams

type SinkRequestUrlParams struct {
	// Expect sink request to be of this method
	Method string `json:"mtd,omitempty"`

	// Origin is as an identifier, no validation of request params
	Origin string `json:"origin,omitempty"`

	// Optional, signature expiration
	Expires *time.Time `json:"exp,omitempty"`

	// When set it enables body processing (but limits it to that size!)
	MaxBodySize int64 `json:"mbs,omitempty"`

	// Acceptable content type
	ContentType string `json:"ct,omitempty"`

	Path string `json:"pt,omitempty"`

	// Should we put signature in the path (true)
	// or in query string (false, default)
	SignatureInPath bool `json:"sip,omitempty"`
}

type StatisticsMetricsPayload

type StatisticsMetricsPayload struct {
	Users        *types.UserMetrics        `json:"users"`
	Roles        *types.RoleMetrics        `json:"roles"`
	Applications *types.ApplicationMetrics `json:"applications"`
}

type TemplateService

type TemplateService interface {
	FindByID(ctx context.Context, ID uint64) (*types.Template, error)
	FindByHandle(ct context.Context, handle string) (*types.Template, error)
	FindByAny(ctx context.Context, identifier interface{}) (*types.Template, error)
	Search(context.Context, types.TemplateFilter) (types.TemplateSet, types.TemplateFilter, error)

	Create(ctx context.Context, tpl *types.Template) (*types.Template, error)
	Update(ctx context.Context, tpl *types.Template) (*types.Template, error)

	DeleteByID(ctx context.Context, ID uint64) error
	UndeleteByID(ctx context.Context, ID uint64) error

	Drivers() []renderer.DriverDefinition
	Render(ctx context.Context, templateID uint64, dstType string, variables map[string]interface{}, options map[string]string) (io.ReadSeeker, error)
}

type UserOptions

type UserOptions struct {
	LimitUsers int
}

type UserService

type UserService interface {
	FindByEmail(ctx context.Context, email string) (*types.User, error)
	FindByHandle(ctx context.Context, handle string) (*types.User, error)
	FindByID(ctx context.Context, id uint64) (*types.User, error)
	FindByAny(ctx context.Context, identifier interface{}) (*types.User, error)
	Find(context.Context, types.UserFilter) (types.UserSet, types.UserFilter, error)

	Create(ctx context.Context, input *types.User) (*types.User, error)
	Update(ctx context.Context, mod *types.User) (*types.User, error)
	ToggleEmailConfirmation(ctx context.Context, userID uint64, confirm bool) error

	CreateWithAvatar(ctx context.Context, input *types.User, avatar io.Reader) (*types.User, error)
	UpdateWithAvatar(ctx context.Context, mod *types.User, avatar io.Reader) (*types.User, error)

	Delete(ctx context.Context, id uint64) error
	Suspend(ctx context.Context, id uint64) error
	Unsuspend(ctx context.Context, id uint64) error
	Undelete(ctx context.Context, id uint64) error

	SetPassword(ctx context.Context, userID uint64, password string) error

	DeleteAuthTokensByUserID(ctx context.Context, userID uint64) (err error)
	DeleteAuthSessionsByUserID(ctx context.Context, userID uint64) (err error)

	UploadAvatar(ctx context.Context, userID uint64, Upload *multipart.FileHeader) (err error)
	GenerateAvatar(ctx context.Context, userID uint64, bgColor string, initialColor string) (err error)
	DeleteAvatar(ctx context.Context, id uint64) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL