store

package
v0.0.0-...-06831c0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound  = errors.Plain(errors.KindNotFound, "not found")
	ErrNotUnique = errors.Plain(errors.KindDuplicateData, "not unique")
)

Functions

func ApplicationMetrics

func ApplicationMetrics(ctx context.Context, s Applications) (*systemType.ApplicationMetrics, error)

ApplicationMetrics

This function is auto-generated

func CountUsers

func CountUsers(ctx context.Context, s Users, u systemType.UserFilter) (uint, error)

CountUsers

This function is auto-generated

func CreateActionlog

func CreateActionlog(ctx context.Context, s Actionlogs, rr ...*actionlogType.Action) error

CreateActionlog creates one or more Actionlogs in store

This function is auto-generated

func CreateApigwFilter

func CreateApigwFilter(ctx context.Context, s ApigwFilters, rr ...*systemType.ApigwFilter) error

CreateApigwFilter creates one or more ApigwFilters in store

This function is auto-generated

func CreateApigwRoute

func CreateApigwRoute(ctx context.Context, s ApigwRoutes, rr ...*systemType.ApigwRoute) error

CreateApigwRoute creates one or more ApigwRoutes in store

This function is auto-generated

func CreateApplication

func CreateApplication(ctx context.Context, s Applications, rr ...*systemType.Application) error

CreateApplication creates one or more Applications in store

This function is auto-generated

func CreateAttachment

func CreateAttachment(ctx context.Context, s Attachments, rr ...*systemType.Attachment) error

CreateAttachment creates one or more Attachments in store

This function is auto-generated

func CreateAuthClient

func CreateAuthClient(ctx context.Context, s AuthClients, rr ...*systemType.AuthClient) error

CreateAuthClient creates one or more AuthClients in store

This function is auto-generated

func CreateAuthConfirmedClient

func CreateAuthConfirmedClient(ctx context.Context, s AuthConfirmedClients, rr ...*systemType.AuthConfirmedClient) error

CreateAuthConfirmedClient creates one or more AuthConfirmedClients in store

This function is auto-generated

func CreateAuthOa2token

func CreateAuthOa2token(ctx context.Context, s AuthOa2tokens, rr ...*systemType.AuthOa2token) error

CreateAuthOa2token creates one or more AuthOa2tokens in store

This function is auto-generated

func CreateAuthSession

func CreateAuthSession(ctx context.Context, s AuthSessions, rr ...*systemType.AuthSession) error

CreateAuthSession creates one or more AuthSessions in store

This function is auto-generated

func CreateAutomationSession

func CreateAutomationSession(ctx context.Context, s AutomationSessions, rr ...*automationType.Session) error

CreateAutomationSession creates one or more AutomationSessions in store

This function is auto-generated

func CreateAutomationTrigger

func CreateAutomationTrigger(ctx context.Context, s AutomationTriggers, rr ...*automationType.Trigger) error

CreateAutomationTrigger creates one or more AutomationTriggers in store

This function is auto-generated

func CreateAutomationWorkflow

func CreateAutomationWorkflow(ctx context.Context, s AutomationWorkflows, rr ...*automationType.Workflow) error

CreateAutomationWorkflow creates one or more AutomationWorkflows in store

This function is auto-generated

func CreateComposeAttachment

func CreateComposeAttachment(ctx context.Context, s ComposeAttachments, rr ...*composeType.Attachment) error

CreateComposeAttachment creates one or more ComposeAttachments in store

This function is auto-generated

func CreateComposeChart

func CreateComposeChart(ctx context.Context, s ComposeCharts, rr ...*composeType.Chart) error

CreateComposeChart creates one or more ComposeCharts in store

This function is auto-generated

func CreateComposeModule

func CreateComposeModule(ctx context.Context, s ComposeModules, rr ...*composeType.Module) error

CreateComposeModule creates one or more ComposeModules in store

This function is auto-generated

func CreateComposeModuleField

func CreateComposeModuleField(ctx context.Context, s ComposeModuleFields, rr ...*composeType.ModuleField) error

CreateComposeModuleField creates one or more ComposeModuleFields in store

This function is auto-generated

func CreateComposeNamespace

func CreateComposeNamespace(ctx context.Context, s ComposeNamespaces, rr ...*composeType.Namespace) error

CreateComposeNamespace creates one or more ComposeNamespaces in store

This function is auto-generated

func CreateComposePage

func CreateComposePage(ctx context.Context, s ComposePages, rr ...*composeType.Page) error

CreateComposePage creates one or more ComposePages in store

This function is auto-generated

func CreateComposePageLayout

func CreateComposePageLayout(ctx context.Context, s ComposePageLayouts, rr ...*composeType.PageLayout) error

CreateComposePageLayout creates one or more ComposePageLayouts in store

This function is auto-generated

func CreateCredential

func CreateCredential(ctx context.Context, s Credentials, rr ...*systemType.Credential) error

CreateCredential creates one or more Credentials in store

This function is auto-generated

func CreateDalConnection

func CreateDalConnection(ctx context.Context, s DalConnections, rr ...*systemType.DalConnection) error

CreateDalConnection creates one or more DalConnections in store

This function is auto-generated

func CreateDalSchemaAlteration

func CreateDalSchemaAlteration(ctx context.Context, s DalSchemaAlterations, rr ...*systemType.DalSchemaAlteration) error

CreateDalSchemaAlteration creates one or more DalSchemaAlterations in store

This function is auto-generated

func CreateDalSensitivityLevel

func CreateDalSensitivityLevel(ctx context.Context, s DalSensitivityLevels, rr ...*systemType.DalSensitivityLevel) error

CreateDalSensitivityLevel creates one or more DalSensitivityLevels in store

This function is auto-generated

func CreateDataPrivacyRequest

func CreateDataPrivacyRequest(ctx context.Context, s DataPrivacyRequests, rr ...*systemType.DataPrivacyRequest) error

CreateDataPrivacyRequest creates one or more DataPrivacyRequests in store

This function is auto-generated

func CreateDataPrivacyRequestComment

func CreateDataPrivacyRequestComment(ctx context.Context, s DataPrivacyRequestComments, rr ...*systemType.DataPrivacyRequestComment) error

CreateDataPrivacyRequestComment creates one or more DataPrivacyRequestComments in store

This function is auto-generated

func CreateFederationExposedModule

func CreateFederationExposedModule(ctx context.Context, s FederationExposedModules, rr ...*federationType.ExposedModule) error

CreateFederationExposedModule creates one or more FederationExposedModules in store

This function is auto-generated

func CreateFederationModuleMapping

func CreateFederationModuleMapping(ctx context.Context, s FederationModuleMappings, rr ...*federationType.ModuleMapping) error

CreateFederationModuleMapping creates one or more FederationModuleMappings in store

This function is auto-generated

func CreateFederationNode

func CreateFederationNode(ctx context.Context, s FederationNodes, rr ...*federationType.Node) error

CreateFederationNode creates one or more FederationNodes in store

This function is auto-generated

func CreateFederationNodeSync

func CreateFederationNodeSync(ctx context.Context, s FederationNodeSyncs, rr ...*federationType.NodeSync) error

CreateFederationNodeSync creates one or more FederationNodeSyncs in store

This function is auto-generated

func CreateFederationSharedModule

func CreateFederationSharedModule(ctx context.Context, s FederationSharedModules, rr ...*federationType.SharedModule) error

CreateFederationSharedModule creates one or more FederationSharedModules in store

This function is auto-generated

func CreateFlag

func CreateFlag(ctx context.Context, s Flags, rr ...*flagType.Flag) error

CreateFlag creates one or more Flags in store

This function is auto-generated

func CreateLabel

func CreateLabel(ctx context.Context, s Labels, rr ...*labelsType.Label) error

CreateLabel creates one or more Labels in store

This function is auto-generated

func CreateQueue

func CreateQueue(ctx context.Context, s Queues, rr ...*systemType.Queue) error

CreateQueue creates one or more Queues in store

This function is auto-generated

func CreateQueueMessage

func CreateQueueMessage(ctx context.Context, s QueueMessages, rr ...*systemType.QueueMessage) error

CreateQueueMessage creates one or more QueueMessages in store

This function is auto-generated

func CreateRbacRule

func CreateRbacRule(ctx context.Context, s RbacRules, rr ...*rbacType.Rule) error

CreateRbacRule creates one or more RbacRules in store

This function is auto-generated

func CreateReminder

func CreateReminder(ctx context.Context, s Reminders, rr ...*systemType.Reminder) error

CreateReminder creates one or more Reminders in store

This function is auto-generated

func CreateReport

func CreateReport(ctx context.Context, s Reports, rr ...*systemType.Report) error

CreateReport creates one or more Reports in store

This function is auto-generated

func CreateResourceActivity

func CreateResourceActivity(ctx context.Context, s ResourceActivitys, rr ...*discoveryType.ResourceActivity) error

CreateResourceActivity creates one or more ResourceActivitys in store

This function is auto-generated

func CreateResourceTranslation

func CreateResourceTranslation(ctx context.Context, s ResourceTranslations, rr ...*systemType.ResourceTranslation) error

CreateResourceTranslation creates one or more ResourceTranslations in store

This function is auto-generated

func CreateRole

func CreateRole(ctx context.Context, s Roles, rr ...*systemType.Role) error

CreateRole creates one or more Roles in store

This function is auto-generated

func CreateRoleMember

func CreateRoleMember(ctx context.Context, s RoleMembers, rr ...*systemType.RoleMember) error

CreateRoleMember creates one or more RoleMembers in store

This function is auto-generated

func CreateSettingValue

func CreateSettingValue(ctx context.Context, s SettingValues, rr ...*systemType.SettingValue) error

CreateSettingValue creates one or more SettingValues in store

This function is auto-generated

func CreateTemplate

func CreateTemplate(ctx context.Context, s Templates, rr ...*systemType.Template) error

CreateTemplate creates one or more Templates in store

This function is auto-generated

func CreateUser

func CreateUser(ctx context.Context, s Users, rr ...*systemType.User) error

CreateUser creates one or more Users in store

This function is auto-generated

func DAL

func DAL(s Storer) dal.Connection

DAL uses given store as DAL connection

This is mainly used to wrap primary store connection with DAL connection wrap and use it to interact with records in a primary DB

func DeleteActionlog

func DeleteActionlog(ctx context.Context, s Actionlogs, rr ...*actionlogType.Action) error

DeleteActionlog deletes one or more Actionlogs from store

This function is auto-generated

func DeleteActionlogByID

func DeleteActionlogByID(ctx context.Context, s Actionlogs, id uint64) error

DeleteActionlogByID deletes one or more Actionlogs from store

This function is auto-generated

func DeleteApigwFilter

func DeleteApigwFilter(ctx context.Context, s ApigwFilters, rr ...*systemType.ApigwFilter) error

DeleteApigwFilter deletes one or more ApigwFilters from store

This function is auto-generated

func DeleteApigwFilterByID

func DeleteApigwFilterByID(ctx context.Context, s ApigwFilters, id uint64) error

DeleteApigwFilterByID deletes one or more ApigwFilters from store

This function is auto-generated

func DeleteApigwRoute

func DeleteApigwRoute(ctx context.Context, s ApigwRoutes, rr ...*systemType.ApigwRoute) error

DeleteApigwRoute deletes one or more ApigwRoutes from store

This function is auto-generated

func DeleteApigwRouteByID

func DeleteApigwRouteByID(ctx context.Context, s ApigwRoutes, id uint64) error

DeleteApigwRouteByID deletes one or more ApigwRoutes from store

This function is auto-generated

func DeleteApplication

func DeleteApplication(ctx context.Context, s Applications, rr ...*systemType.Application) error

DeleteApplication deletes one or more Applications from store

This function is auto-generated

func DeleteApplicationByID

func DeleteApplicationByID(ctx context.Context, s Applications, id uint64) error

DeleteApplicationByID deletes one or more Applications from store

This function is auto-generated

func DeleteAttachment

func DeleteAttachment(ctx context.Context, s Attachments, rr ...*systemType.Attachment) error

DeleteAttachment deletes one or more Attachments from store

This function is auto-generated

func DeleteAttachmentByID

func DeleteAttachmentByID(ctx context.Context, s Attachments, id uint64) error

DeleteAttachmentByID deletes one or more Attachments from store

This function is auto-generated

func DeleteAuthClient

func DeleteAuthClient(ctx context.Context, s AuthClients, rr ...*systemType.AuthClient) error

DeleteAuthClient deletes one or more AuthClients from store

This function is auto-generated

func DeleteAuthClientByID

func DeleteAuthClientByID(ctx context.Context, s AuthClients, id uint64) error

DeleteAuthClientByID deletes one or more AuthClients from store

This function is auto-generated

func DeleteAuthConfirmedClient

func DeleteAuthConfirmedClient(ctx context.Context, s AuthConfirmedClients, rr ...*systemType.AuthConfirmedClient) error

DeleteAuthConfirmedClient deletes one or more AuthConfirmedClients from store

This function is auto-generated

func DeleteAuthConfirmedClientByUserIDClientID

func DeleteAuthConfirmedClientByUserIDClientID(ctx context.Context, s AuthConfirmedClients, userID uint64, clientID uint64) error

DeleteAuthConfirmedClientByID deletes one or more AuthConfirmedClients from store

This function is auto-generated

func DeleteAuthOA2TokenByAccess

func DeleteAuthOA2TokenByAccess(ctx context.Context, s AuthOa2tokens, access string) error

DeleteAuthOA2TokenByAccess

This function is auto-generated

func DeleteAuthOA2TokenByCode

func DeleteAuthOA2TokenByCode(ctx context.Context, s AuthOa2tokens, code string) error

DeleteAuthOA2TokenByCode

This function is auto-generated

func DeleteAuthOA2TokenByRefresh

func DeleteAuthOA2TokenByRefresh(ctx context.Context, s AuthOa2tokens, refresh string) error

DeleteAuthOA2TokenByRefresh

This function is auto-generated

func DeleteAuthOA2TokenByUserID

func DeleteAuthOA2TokenByUserID(ctx context.Context, s AuthOa2tokens, userID uint64) error

DeleteAuthOA2TokenByUserID

This function is auto-generated

func DeleteAuthOa2token

func DeleteAuthOa2token(ctx context.Context, s AuthOa2tokens, rr ...*systemType.AuthOa2token) error

DeleteAuthOa2token deletes one or more AuthOa2tokens from store

This function is auto-generated

func DeleteAuthOa2tokenByID

func DeleteAuthOa2tokenByID(ctx context.Context, s AuthOa2tokens, id uint64) error

DeleteAuthOa2tokenByID deletes one or more AuthOa2tokens from store

This function is auto-generated

func DeleteAuthSession

func DeleteAuthSession(ctx context.Context, s AuthSessions, rr ...*systemType.AuthSession) error

DeleteAuthSession deletes one or more AuthSessions from store

This function is auto-generated

func DeleteAuthSessionByID

func DeleteAuthSessionByID(ctx context.Context, s AuthSessions, id string) error

DeleteAuthSessionByID deletes one or more AuthSessions from store

This function is auto-generated

func DeleteAuthSessionsByUserID

func DeleteAuthSessionsByUserID(ctx context.Context, s AuthSessions, userID uint64) error

DeleteAuthSessionsByUserID

This function is auto-generated

func DeleteAutomationSession

func DeleteAutomationSession(ctx context.Context, s AutomationSessions, rr ...*automationType.Session) error

DeleteAutomationSession deletes one or more AutomationSessions from store

This function is auto-generated

func DeleteAutomationSessionByID

func DeleteAutomationSessionByID(ctx context.Context, s AutomationSessions, id uint64) error

DeleteAutomationSessionByID deletes one or more AutomationSessions from store

This function is auto-generated

func DeleteAutomationTrigger

func DeleteAutomationTrigger(ctx context.Context, s AutomationTriggers, rr ...*automationType.Trigger) error

DeleteAutomationTrigger deletes one or more AutomationTriggers from store

This function is auto-generated

func DeleteAutomationTriggerByID

func DeleteAutomationTriggerByID(ctx context.Context, s AutomationTriggers, id uint64) error

DeleteAutomationTriggerByID deletes one or more AutomationTriggers from store

This function is auto-generated

func DeleteAutomationWorkflow

func DeleteAutomationWorkflow(ctx context.Context, s AutomationWorkflows, rr ...*automationType.Workflow) error

DeleteAutomationWorkflow deletes one or more AutomationWorkflows from store

This function is auto-generated

func DeleteAutomationWorkflowByID

func DeleteAutomationWorkflowByID(ctx context.Context, s AutomationWorkflows, id uint64) error

DeleteAutomationWorkflowByID deletes one or more AutomationWorkflows from store

This function is auto-generated

func DeleteComposeAttachment

func DeleteComposeAttachment(ctx context.Context, s ComposeAttachments, rr ...*composeType.Attachment) error

DeleteComposeAttachment deletes one or more ComposeAttachments from store

This function is auto-generated

func DeleteComposeAttachmentByID

func DeleteComposeAttachmentByID(ctx context.Context, s ComposeAttachments, id uint64) error

DeleteComposeAttachmentByID deletes one or more ComposeAttachments from store

This function is auto-generated

func DeleteComposeChart

func DeleteComposeChart(ctx context.Context, s ComposeCharts, rr ...*composeType.Chart) error

DeleteComposeChart deletes one or more ComposeCharts from store

This function is auto-generated

func DeleteComposeChartByID

func DeleteComposeChartByID(ctx context.Context, s ComposeCharts, id uint64) error

DeleteComposeChartByID deletes one or more ComposeCharts from store

This function is auto-generated

func DeleteComposeModule

func DeleteComposeModule(ctx context.Context, s ComposeModules, rr ...*composeType.Module) error

DeleteComposeModule deletes one or more ComposeModules from store

This function is auto-generated

func DeleteComposeModuleByID

func DeleteComposeModuleByID(ctx context.Context, s ComposeModules, id uint64) error

DeleteComposeModuleByID deletes one or more ComposeModules from store

This function is auto-generated

func DeleteComposeModuleField

func DeleteComposeModuleField(ctx context.Context, s ComposeModuleFields, rr ...*composeType.ModuleField) error

DeleteComposeModuleField deletes one or more ComposeModuleFields from store

This function is auto-generated

func DeleteComposeModuleFieldByID

func DeleteComposeModuleFieldByID(ctx context.Context, s ComposeModuleFields, id uint64) error

DeleteComposeModuleFieldByID deletes one or more ComposeModuleFields from store

This function is auto-generated

func DeleteComposeNamespace

func DeleteComposeNamespace(ctx context.Context, s ComposeNamespaces, rr ...*composeType.Namespace) error

DeleteComposeNamespace deletes one or more ComposeNamespaces from store

This function is auto-generated

func DeleteComposeNamespaceByID

func DeleteComposeNamespaceByID(ctx context.Context, s ComposeNamespaces, id uint64) error

DeleteComposeNamespaceByID deletes one or more ComposeNamespaces from store

This function is auto-generated

func DeleteComposePage

func DeleteComposePage(ctx context.Context, s ComposePages, rr ...*composeType.Page) error

DeleteComposePage deletes one or more ComposePages from store

This function is auto-generated

func DeleteComposePageByID

func DeleteComposePageByID(ctx context.Context, s ComposePages, id uint64) error

DeleteComposePageByID deletes one or more ComposePages from store

This function is auto-generated

func DeleteComposePageLayout

func DeleteComposePageLayout(ctx context.Context, s ComposePageLayouts, rr ...*composeType.PageLayout) error

DeleteComposePageLayout deletes one or more ComposePageLayouts from store

This function is auto-generated

func DeleteComposePageLayoutByID

func DeleteComposePageLayoutByID(ctx context.Context, s ComposePageLayouts, id uint64) error

DeleteComposePageLayoutByID deletes one or more ComposePageLayouts from store

This function is auto-generated

func DeleteCredential

func DeleteCredential(ctx context.Context, s Credentials, rr ...*systemType.Credential) error

DeleteCredential deletes one or more Credentials from store

This function is auto-generated

func DeleteCredentialByID

func DeleteCredentialByID(ctx context.Context, s Credentials, id uint64) error

DeleteCredentialByID deletes one or more Credentials from store

This function is auto-generated

func DeleteDalConnection

func DeleteDalConnection(ctx context.Context, s DalConnections, rr ...*systemType.DalConnection) error

DeleteDalConnection deletes one or more DalConnections from store

This function is auto-generated

func DeleteDalConnectionByID

func DeleteDalConnectionByID(ctx context.Context, s DalConnections, id uint64) error

DeleteDalConnectionByID deletes one or more DalConnections from store

This function is auto-generated

func DeleteDalSchemaAlteration

func DeleteDalSchemaAlteration(ctx context.Context, s DalSchemaAlterations, rr ...*systemType.DalSchemaAlteration) error

DeleteDalSchemaAlteration deletes one or more DalSchemaAlterations from store

This function is auto-generated

func DeleteDalSchemaAlterationByID

func DeleteDalSchemaAlterationByID(ctx context.Context, s DalSchemaAlterations, id uint64) error

DeleteDalSchemaAlterationByID deletes one or more DalSchemaAlterations from store

This function is auto-generated

func DeleteDalSensitivityLevel

func DeleteDalSensitivityLevel(ctx context.Context, s DalSensitivityLevels, rr ...*systemType.DalSensitivityLevel) error

DeleteDalSensitivityLevel deletes one or more DalSensitivityLevels from store

This function is auto-generated

func DeleteDalSensitivityLevelByID

func DeleteDalSensitivityLevelByID(ctx context.Context, s DalSensitivityLevels, id uint64) error

DeleteDalSensitivityLevelByID deletes one or more DalSensitivityLevels from store

This function is auto-generated

func DeleteDataPrivacyRequest

func DeleteDataPrivacyRequest(ctx context.Context, s DataPrivacyRequests, rr ...*systemType.DataPrivacyRequest) error

DeleteDataPrivacyRequest deletes one or more DataPrivacyRequests from store

This function is auto-generated

func DeleteDataPrivacyRequestByID

func DeleteDataPrivacyRequestByID(ctx context.Context, s DataPrivacyRequests, id uint64) error

DeleteDataPrivacyRequestByID deletes one or more DataPrivacyRequests from store

This function is auto-generated

func DeleteDataPrivacyRequestComment

func DeleteDataPrivacyRequestComment(ctx context.Context, s DataPrivacyRequestComments, rr ...*systemType.DataPrivacyRequestComment) error

DeleteDataPrivacyRequestComment deletes one or more DataPrivacyRequestComments from store

This function is auto-generated

func DeleteDataPrivacyRequestCommentByID

func DeleteDataPrivacyRequestCommentByID(ctx context.Context, s DataPrivacyRequestComments, id uint64) error

DeleteDataPrivacyRequestCommentByID deletes one or more DataPrivacyRequestComments from store

This function is auto-generated

func DeleteExpiredAuthOA2Tokens

func DeleteExpiredAuthOA2Tokens(ctx context.Context, s AuthOa2tokens) error

DeleteExpiredAuthOA2Tokens

This function is auto-generated

func DeleteExpiredAuthSessions

func DeleteExpiredAuthSessions(ctx context.Context, s AuthSessions) error

DeleteExpiredAuthSessions

This function is auto-generated

func DeleteExtraLabels

func DeleteExtraLabels(ctx context.Context, s Labels, kind string, resourceId uint64, name ...string) error

DeleteExtraLabels

This function is auto-generated

func DeleteFederationExposedModule

func DeleteFederationExposedModule(ctx context.Context, s FederationExposedModules, rr ...*federationType.ExposedModule) error

DeleteFederationExposedModule deletes one or more FederationExposedModules from store

This function is auto-generated

func DeleteFederationExposedModuleByID

func DeleteFederationExposedModuleByID(ctx context.Context, s FederationExposedModules, id uint64) error

DeleteFederationExposedModuleByID deletes one or more FederationExposedModules from store

This function is auto-generated

func DeleteFederationModuleMapping

func DeleteFederationModuleMapping(ctx context.Context, s FederationModuleMappings, rr ...*federationType.ModuleMapping) error

DeleteFederationModuleMapping deletes one or more FederationModuleMappings from store

This function is auto-generated

func DeleteFederationNode

func DeleteFederationNode(ctx context.Context, s FederationNodes, rr ...*federationType.Node) error

DeleteFederationNode deletes one or more FederationNodes from store

This function is auto-generated

func DeleteFederationNodeByID

func DeleteFederationNodeByID(ctx context.Context, s FederationNodes, id uint64) error

DeleteFederationNodeByID deletes one or more FederationNodes from store

This function is auto-generated

func DeleteFederationNodeSync

func DeleteFederationNodeSync(ctx context.Context, s FederationNodeSyncs, rr ...*federationType.NodeSync) error

DeleteFederationNodeSync deletes one or more FederationNodeSyncs from store

This function is auto-generated

func DeleteFederationNodeSyncByNodeID

func DeleteFederationNodeSyncByNodeID(ctx context.Context, s FederationNodeSyncs, nodeID uint64) error

DeleteFederationNodeSyncByID deletes one or more FederationNodeSyncs from store

This function is auto-generated

func DeleteFederationSharedModule

func DeleteFederationSharedModule(ctx context.Context, s FederationSharedModules, rr ...*federationType.SharedModule) error

DeleteFederationSharedModule deletes one or more FederationSharedModules from store

This function is auto-generated

func DeleteFederationSharedModuleByID

func DeleteFederationSharedModuleByID(ctx context.Context, s FederationSharedModules, id uint64) error

DeleteFederationSharedModuleByID deletes one or more FederationSharedModules from store

This function is auto-generated

func DeleteFlag

func DeleteFlag(ctx context.Context, s Flags, rr ...*flagType.Flag) error

DeleteFlag deletes one or more Flags from store

This function is auto-generated

func DeleteFlagByKindResourceIDOwnedByName

func DeleteFlagByKindResourceIDOwnedByName(ctx context.Context, s Flags, kind string, resourceID uint64, ownedBy uint64, name string) error

DeleteFlagByID deletes one or more Flags from store

This function is auto-generated

func DeleteLabel

func DeleteLabel(ctx context.Context, s Labels, rr ...*labelsType.Label) error

DeleteLabel deletes one or more Labels from store

This function is auto-generated

func DeleteLabelByKindResourceIDName

func DeleteLabelByKindResourceIDName(ctx context.Context, s Labels, kind string, resourceID uint64, name string) error

DeleteLabelByID deletes one or more Labels from store

This function is auto-generated

func DeleteQueue

func DeleteQueue(ctx context.Context, s Queues, rr ...*systemType.Queue) error

DeleteQueue deletes one or more Queues from store

This function is auto-generated

func DeleteQueueByID

func DeleteQueueByID(ctx context.Context, s Queues, id uint64) error

DeleteQueueByID deletes one or more Queues from store

This function is auto-generated

func DeleteQueueMessage

func DeleteQueueMessage(ctx context.Context, s QueueMessages, rr ...*systemType.QueueMessage) error

DeleteQueueMessage deletes one or more QueueMessages from store

This function is auto-generated

func DeleteQueueMessageByID

func DeleteQueueMessageByID(ctx context.Context, s QueueMessages, id uint64) error

DeleteQueueMessageByID deletes one or more QueueMessages from store

This function is auto-generated

func DeleteRbacRule

func DeleteRbacRule(ctx context.Context, s RbacRules, rr ...*rbacType.Rule) error

DeleteRbacRule deletes one or more RbacRules from store

This function is auto-generated

func DeleteRbacRuleByRoleIDResourceOperation

func DeleteRbacRuleByRoleIDResourceOperation(ctx context.Context, s RbacRules, roleID uint64, resource string, operation string) error

DeleteRbacRuleByID deletes one or more RbacRules from store

This function is auto-generated

func DeleteReminder

func DeleteReminder(ctx context.Context, s Reminders, rr ...*systemType.Reminder) error

DeleteReminder deletes one or more Reminders from store

This function is auto-generated

func DeleteReminderByID

func DeleteReminderByID(ctx context.Context, s Reminders, id uint64) error

DeleteReminderByID deletes one or more Reminders from store

This function is auto-generated

func DeleteReport

func DeleteReport(ctx context.Context, s Reports, rr ...*systemType.Report) error

DeleteReport deletes one or more Reports from store

This function is auto-generated

func DeleteReportByID

func DeleteReportByID(ctx context.Context, s Reports, id uint64) error

DeleteReportByID deletes one or more Reports from store

This function is auto-generated

func DeleteResourceActivity

func DeleteResourceActivity(ctx context.Context, s ResourceActivitys, rr ...*discoveryType.ResourceActivity) error

DeleteResourceActivity deletes one or more ResourceActivitys from store

This function is auto-generated

func DeleteResourceActivityByID

func DeleteResourceActivityByID(ctx context.Context, s ResourceActivitys, id uint64) error

DeleteResourceActivityByID deletes one or more ResourceActivitys from store

This function is auto-generated

func DeleteResourceTranslation

func DeleteResourceTranslation(ctx context.Context, s ResourceTranslations, rr ...*systemType.ResourceTranslation) error

DeleteResourceTranslation deletes one or more ResourceTranslations from store

This function is auto-generated

func DeleteResourceTranslationByID

func DeleteResourceTranslationByID(ctx context.Context, s ResourceTranslations, id uint64) error

DeleteResourceTranslationByID deletes one or more ResourceTranslations from store

This function is auto-generated

func DeleteRole

func DeleteRole(ctx context.Context, s Roles, rr ...*systemType.Role) error

DeleteRole deletes one or more Roles from store

This function is auto-generated

func DeleteRoleByID

func DeleteRoleByID(ctx context.Context, s Roles, id uint64) error

DeleteRoleByID deletes one or more Roles from store

This function is auto-generated

func DeleteRoleMember

func DeleteRoleMember(ctx context.Context, s RoleMembers, rr ...*systemType.RoleMember) error

DeleteRoleMember deletes one or more RoleMembers from store

This function is auto-generated

func DeleteRoleMemberByUserIDRoleID

func DeleteRoleMemberByUserIDRoleID(ctx context.Context, s RoleMembers, userID uint64, roleID uint64) error

DeleteRoleMemberByID deletes one or more RoleMembers from store

This function is auto-generated

func DeleteSettingValue

func DeleteSettingValue(ctx context.Context, s SettingValues, rr ...*systemType.SettingValue) error

DeleteSettingValue deletes one or more SettingValues from store

This function is auto-generated

func DeleteSettingValueByOwnedByName

func DeleteSettingValueByOwnedByName(ctx context.Context, s SettingValues, ownedBy uint64, name string) error

DeleteSettingValueByID deletes one or more SettingValues from store

This function is auto-generated

func DeleteTemplate

func DeleteTemplate(ctx context.Context, s Templates, rr ...*systemType.Template) error

DeleteTemplate deletes one or more Templates from store

This function is auto-generated

func DeleteTemplateByID

func DeleteTemplateByID(ctx context.Context, s Templates, id uint64) error

DeleteTemplateByID deletes one or more Templates from store

This function is auto-generated

func DeleteUser

func DeleteUser(ctx context.Context, s Users, rr ...*systemType.User) error

DeleteUser deletes one or more Users from store

This function is auto-generated

func DeleteUserByID

func DeleteUserByID(ctx context.Context, s Users, id uint64) error

DeleteUserByID deletes one or more Users from store

This function is auto-generated

func HandleError

func HandleError(err error, h ErrorHandler) error

func LookupActionlogByID

func LookupActionlogByID(ctx context.Context, s Actionlogs, id uint64) (*actionlogType.Action, error)

LookupActionlogByID searches for action log by ID

This function is auto-generated

func LookupApigwFilterByID

func LookupApigwFilterByID(ctx context.Context, s ApigwFilters, id uint64) (*systemType.ApigwFilter, error)

LookupApigwFilterByID searches for filter by ID

This function is auto-generated

func LookupApigwFilterByRoute

func LookupApigwFilterByRoute(ctx context.Context, s ApigwFilters, route uint64) (*systemType.ApigwFilter, error)

LookupApigwFilterByRoute searches for filter by route

This function is auto-generated

func LookupApigwRouteByEndpoint

func LookupApigwRouteByEndpoint(ctx context.Context, s ApigwRoutes, endpoint string) (*systemType.ApigwRoute, error)

LookupApigwRouteByEndpoint searches for route by endpoint

It returns route even if deleted or suspended

This function is auto-generated

func LookupApigwRouteByID

func LookupApigwRouteByID(ctx context.Context, s ApigwRoutes, id uint64) (*systemType.ApigwRoute, error)

LookupApigwRouteByID searches for route by ID

It returns route even if deleted or suspended

This function is auto-generated

func LookupApplicationByID

func LookupApplicationByID(ctx context.Context, s Applications, id uint64) (*systemType.Application, error)

LookupApplicationByID searches for role by ID

It returns role even if deleted or suspended

This function is auto-generated

func LookupAttachmentByID

func LookupAttachmentByID(ctx context.Context, s Attachments, id uint64) (*systemType.Attachment, error)

LookupAttachmentByID

This function is auto-generated

func LookupAuthClientByHandle

func LookupAuthClientByHandle(ctx context.Context, s AuthClients, handle string) (*systemType.AuthClient, error)

LookupAuthClientByHandle searches for auth client by ID

It returns auth clint even if deleted

This function is auto-generated

func LookupAuthClientByID

func LookupAuthClientByID(ctx context.Context, s AuthClients, id uint64) (*systemType.AuthClient, error)

LookupAuthClientByID searches for auth client by ID

It returns auth clint even if deleted

This function is auto-generated

func LookupAuthConfirmedClientByUserIDClientID

func LookupAuthConfirmedClientByUserIDClientID(ctx context.Context, s AuthConfirmedClients, userID uint64, clientID uint64) (*systemType.AuthConfirmedClient, error)

LookupAuthConfirmedClientByUserIDClientID

This function is auto-generated

func LookupAuthOa2tokenByAccess

func LookupAuthOa2tokenByAccess(ctx context.Context, s AuthOa2tokens, access string) (*systemType.AuthOa2token, error)

LookupAuthOa2tokenByAccess

This function is auto-generated

func LookupAuthOa2tokenByCode

func LookupAuthOa2tokenByCode(ctx context.Context, s AuthOa2tokens, code string) (*systemType.AuthOa2token, error)

LookupAuthOa2tokenByCode

This function is auto-generated

func LookupAuthOa2tokenByID

func LookupAuthOa2tokenByID(ctx context.Context, s AuthOa2tokens, id uint64) (*systemType.AuthOa2token, error)

LookupAuthOa2tokenByID

This function is auto-generated

func LookupAuthOa2tokenByRefresh

func LookupAuthOa2tokenByRefresh(ctx context.Context, s AuthOa2tokens, refresh string) (*systemType.AuthOa2token, error)

LookupAuthOa2tokenByRefresh

This function is auto-generated

func LookupAuthSessionByID

func LookupAuthSessionByID(ctx context.Context, s AuthSessions, id string) (*systemType.AuthSession, error)

LookupAuthSessionByID

This function is auto-generated

func LookupAutomationSessionByID

func LookupAutomationSessionByID(ctx context.Context, s AutomationSessions, id uint64) (*automationType.Session, error)

LookupAutomationSessionByID searches for session by ID

It returns session even if deleted

This function is auto-generated

func LookupAutomationTriggerByID

func LookupAutomationTriggerByID(ctx context.Context, s AutomationTriggers, id uint64) (*automationType.Trigger, error)

LookupAutomationTriggerByID searches for trigger by ID

It returns trigger even if deleted

This function is auto-generated

func LookupAutomationWorkflowByHandle

func LookupAutomationWorkflowByHandle(ctx context.Context, s AutomationWorkflows, handle string) (*automationType.Workflow, error)

LookupAutomationWorkflowByHandle searches for workflow by their handle

It returns only valid workflows

This function is auto-generated

func LookupAutomationWorkflowByID

func LookupAutomationWorkflowByID(ctx context.Context, s AutomationWorkflows, id uint64) (*automationType.Workflow, error)

LookupAutomationWorkflowByID searches for workflow by ID

It returns workflow even if deleted

This function is auto-generated

func LookupComposeAttachmentByID

func LookupComposeAttachmentByID(ctx context.Context, s ComposeAttachments, id uint64) (*composeType.Attachment, error)

LookupComposeAttachmentByID

This function is auto-generated

func LookupComposeChartByID

func LookupComposeChartByID(ctx context.Context, s ComposeCharts, id uint64) (*composeType.Chart, error)

LookupComposeChartByID searches for compose chart by ID

It returns compose chart even if deleted

This function is auto-generated

func LookupComposeChartByNamespaceIDHandle

func LookupComposeChartByNamespaceIDHandle(ctx context.Context, s ComposeCharts, namespaceID uint64, handle string) (*composeType.Chart, error)

LookupComposeChartByNamespaceIDHandle searches for compose chart by handle (case-insensitive)

This function is auto-generated

func LookupComposeModuleByID

func LookupComposeModuleByID(ctx context.Context, s ComposeModules, id uint64) (*composeType.Module, error)

LookupComposeModuleByID searches for compose module by ID

It returns compose module even if deleted

This function is auto-generated

func LookupComposeModuleByNamespaceIDHandle

func LookupComposeModuleByNamespaceIDHandle(ctx context.Context, s ComposeModules, namespaceID uint64, handle string) (*composeType.Module, error)

LookupComposeModuleByNamespaceIDHandle searches for compose module by handle (case-insensitive)

This function is auto-generated

func LookupComposeModuleByNamespaceIDName

func LookupComposeModuleByNamespaceIDName(ctx context.Context, s ComposeModules, namespaceID uint64, name string) (*composeType.Module, error)

LookupComposeModuleByNamespaceIDName searches for compose module by name (case-insensitive)

This function is auto-generated

func LookupComposeModuleFieldByID

func LookupComposeModuleFieldByID(ctx context.Context, s ComposeModuleFields, id uint64) (*composeType.ModuleField, error)

LookupComposeModuleFieldByID searches for compose module field by ID

This function is auto-generated

func LookupComposeModuleFieldByModuleIDName

func LookupComposeModuleFieldByModuleIDName(ctx context.Context, s ComposeModuleFields, moduleID uint64, name string) (*composeType.ModuleField, error)

LookupComposeModuleFieldByModuleIDName searches for compose module field by name (case-insensitive)

This function is auto-generated

func LookupComposeNamespaceByID

func LookupComposeNamespaceByID(ctx context.Context, s ComposeNamespaces, id uint64) (*composeType.Namespace, error)

LookupComposeNamespaceByID searches for compose namespace by ID

It returns compose namespace even if deleted

This function is auto-generated

func LookupComposeNamespaceBySlug

func LookupComposeNamespaceBySlug(ctx context.Context, s ComposeNamespaces, slug string) (*composeType.Namespace, error)

LookupComposeNamespaceBySlug searches for namespace by slug (case-insensitive)

This function is auto-generated

func LookupComposePageByID

func LookupComposePageByID(ctx context.Context, s ComposePages, id uint64) (*composeType.Page, error)

LookupComposePageByID searches for compose page by ID

It returns compose page even if deleted

This function is auto-generated

func LookupComposePageByNamespaceIDHandle

func LookupComposePageByNamespaceIDHandle(ctx context.Context, s ComposePages, namespaceID uint64, handle string) (*composeType.Page, error)

LookupComposePageByNamespaceIDHandle searches for page by handle (case-insensitive)

This function is auto-generated

func LookupComposePageByNamespaceIDModuleID

func LookupComposePageByNamespaceIDModuleID(ctx context.Context, s ComposePages, namespaceID uint64, moduleID uint64) (*composeType.Page, error)

LookupComposePageByNamespaceIDModuleID searches for page by moduleID

This function is auto-generated

func LookupComposePageLayoutByID

func LookupComposePageLayoutByID(ctx context.Context, s ComposePageLayouts, id uint64) (*composeType.PageLayout, error)

LookupComposePageLayoutByID searches for compose page layour by ID

It returns compose page layour even if deleted

This function is auto-generated

func LookupComposePageLayoutByNamespaceIDHandle

func LookupComposePageLayoutByNamespaceIDHandle(ctx context.Context, s ComposePageLayouts, namespaceID uint64, handle string) (*composeType.PageLayout, error)

LookupComposePageLayoutByNamespaceIDHandle searches for page layour by handle (case-insensitive)

This function is auto-generated

func LookupComposePageLayoutByNamespaceIDPageIDHandle

func LookupComposePageLayoutByNamespaceIDPageIDHandle(ctx context.Context, s ComposePageLayouts, namespaceID uint64, pageID uint64, handle string) (*composeType.PageLayout, error)

LookupComposePageLayoutByNamespaceIDPageIDHandle searches for page layour by handle (case-insensitive)

This function is auto-generated

func LookupCredentialByID

func LookupCredentialByID(ctx context.Context, s Credentials, id uint64) (*systemType.Credential, error)

LookupCredentialByID searches for credentials by ID

It returns credentials even if deleted

This function is auto-generated

func LookupDalConnectionByHandle

func LookupDalConnectionByHandle(ctx context.Context, s DalConnections, handle string) (*systemType.DalConnection, error)

LookupDalConnectionByHandle searches for connection by handle

It returns only valid connection (not deleted)

This function is auto-generated

func LookupDalConnectionByID

func LookupDalConnectionByID(ctx context.Context, s DalConnections, id uint64) (*systemType.DalConnection, error)

LookupDalConnectionByID searches for connection by ID

It returns connection even if deleted or suspended

This function is auto-generated

func LookupDalSchemaAlterationByID

func LookupDalSchemaAlterationByID(ctx context.Context, s DalSchemaAlterations, id uint64) (*systemType.DalSchemaAlteration, error)

LookupDalSchemaAlterationByID searches for resource translation by ID It also returns deleted resource translations.

This function is auto-generated

func LookupDalSensitivityLevelByID

func LookupDalSensitivityLevelByID(ctx context.Context, s DalSensitivityLevels, id uint64) (*systemType.DalSensitivityLevel, error)

LookupDalSensitivityLevelByID searches for user by ID

It returns user even if deleted or suspended

This function is auto-generated

func LookupDataPrivacyRequestByID

func LookupDataPrivacyRequestByID(ctx context.Context, s DataPrivacyRequests, id uint64) (*systemType.DataPrivacyRequest, error)

LookupDataPrivacyRequestByID searches for data privacy request by ID

It returns data privacy request even if deleted

This function is auto-generated

func LookupFederationExposedModuleByID

func LookupFederationExposedModuleByID(ctx context.Context, s FederationExposedModules, id uint64) (*federationType.ExposedModule, error)

LookupFederationExposedModuleByID searches for federation module by ID

It returns federation module

This function is auto-generated

func LookupFederationModuleMappingByFederationModuleID

func LookupFederationModuleMappingByFederationModuleID(ctx context.Context, s FederationModuleMappings, federationModuleID uint64) (*federationType.ModuleMapping, error)

LookupFederationModuleMappingByFederationModuleID searches for module mapping by federation module id

It returns module mapping

This function is auto-generated

func LookupFederationModuleMappingByFederationModuleIDComposeModuleIDComposeNamespaceID

func LookupFederationModuleMappingByFederationModuleIDComposeModuleIDComposeNamespaceID(ctx context.Context, s FederationModuleMappings, federationModuleID uint64, composeModuleID uint64, composeNamespaceID uint64) (*federationType.ModuleMapping, error)

LookupFederationModuleMappingByFederationModuleIDComposeModuleIDComposeNamespaceID searches for module mapping by federation module id and compose module id

It returns module mapping

This function is auto-generated

func LookupFederationNodeByBaseURLSharedNodeID

func LookupFederationNodeByBaseURLSharedNodeID(ctx context.Context, s FederationNodes, baseURL string, sharedNodeID uint64) (*federationType.Node, error)

LookupFederationNodeByBaseURLSharedNodeID searches for node by shared-node-id and base-url

This function is auto-generated

func LookupFederationNodeByID

func LookupFederationNodeByID(ctx context.Context, s FederationNodes, id uint64) (*federationType.Node, error)

LookupFederationNodeByID searches for federation node by ID

It returns federation node

This function is auto-generated

func LookupFederationNodeBySharedNodeID

func LookupFederationNodeBySharedNodeID(ctx context.Context, s FederationNodes, sharedNodeID uint64) (*federationType.Node, error)

LookupFederationNodeBySharedNodeID searches for node by shared-node-id

This function is auto-generated

func LookupFederationNodeSyncByNodeID

func LookupFederationNodeSyncByNodeID(ctx context.Context, s FederationNodeSyncs, nodeID uint64) (*federationType.NodeSync, error)

LookupFederationNodeSyncByNodeID searches for sync activity by node ID

It returns sync activity

This function is auto-generated

func LookupFederationNodeSyncByNodeIDModuleIDSyncTypeSyncStatus

func LookupFederationNodeSyncByNodeIDModuleIDSyncTypeSyncStatus(ctx context.Context, s FederationNodeSyncs, nodeID uint64, moduleID uint64, syncType string, syncStatus string) (*federationType.NodeSync, error)

LookupFederationNodeSyncByNodeIDModuleIDSyncTypeSyncStatus searches for activity by node, type and status

It returns sync activity

This function is auto-generated

func LookupFederationSharedModuleByID

func LookupFederationSharedModuleByID(ctx context.Context, s FederationSharedModules, id uint64) (*federationType.SharedModule, error)

LookupFederationSharedModuleByID searches for shared federation module by ID

It returns shared federation module

This function is auto-generated

func LookupFlagByKindResourceIDOwnedByName

func LookupFlagByKindResourceIDOwnedByName(ctx context.Context, s Flags, kind string, resourceID uint64, ownedBy uint64, name string) (*flagType.Flag, error)

LookupFlagByKindResourceIDOwnedByName searches for flag by kind, resource ID, owner and name

This function is auto-generated

func LookupLabelByKindResourceIDName

func LookupLabelByKindResourceIDName(ctx context.Context, s Labels, kind string, resourceID uint64, name string) (*labelsType.Label, error)

LookupLabelByKindResourceIDName searches for label by kind, resource ID and name

This function is auto-generated

func LookupQueueByID

func LookupQueueByID(ctx context.Context, s Queues, id uint64) (*systemType.Queue, error)

LookupQueueByID searches for queue by ID

This function is auto-generated

func LookupQueueByQueue

func LookupQueueByQueue(ctx context.Context, s Queues, queue string) (*systemType.Queue, error)

LookupQueueByQueue searches for queue by queue name

This function is auto-generated

func LookupReminderByID

func LookupReminderByID(ctx context.Context, s Reminders, id uint64) (*systemType.Reminder, error)

LookupReminderByID

This function is auto-generated

func LookupReportByHandle

func LookupReportByHandle(ctx context.Context, s Reports, handle string) (*systemType.Report, error)

LookupReportByHandle searches for report by handle

It returns report if deleted

This function is auto-generated

func LookupReportByID

func LookupReportByID(ctx context.Context, s Reports, id uint64) (*systemType.Report, error)

LookupReportByID searches for report by ID

It returns report even if deleted

This function is auto-generated

func LookupResourceTranslationByID

func LookupResourceTranslationByID(ctx context.Context, s ResourceTranslations, id uint64) (*systemType.ResourceTranslation, error)

LookupResourceTranslationByID searches for resource translation by ID It also returns deleted resource translations.

This function is auto-generated

func LookupRoleByHandle

func LookupRoleByHandle(ctx context.Context, s Roles, handle string) (*systemType.Role, error)

LookupRoleByHandle searches for role by handle

It returns only valid role (not deleted, not suspended)

This function is auto-generated

func LookupRoleByID

func LookupRoleByID(ctx context.Context, s Roles, id uint64) (*systemType.Role, error)

LookupRoleByID searches for role by ID

It returns role even if deleted or suspended

This function is auto-generated

func LookupRoleByName

func LookupRoleByName(ctx context.Context, s Roles, name string) (*systemType.Role, error)

LookupRoleByName searches for role by name

It returns only valid role (not deleted, not suspended)

This function is auto-generated

func LookupSettingValueByNameOwnedBy

func LookupSettingValueByNameOwnedBy(ctx context.Context, s SettingValues, name string, ownedBy uint64) (*systemType.SettingValue, error)

LookupSettingValueByNameOwnedBy searches for settings by name and owner

This function is auto-generated

func LookupTemplateByHandle

func LookupTemplateByHandle(ctx context.Context, s Templates, handle string) (*systemType.Template, error)

LookupTemplateByHandle searches for template by handle

It returns only valid templates (not deleted)

This function is auto-generated

func LookupTemplateByID

func LookupTemplateByID(ctx context.Context, s Templates, id uint64) (*systemType.Template, error)

LookupTemplateByID searches for template by ID

It also returns deleted templates.

This function is auto-generated

func LookupUserByEmail

func LookupUserByEmail(ctx context.Context, s Users, email string) (*systemType.User, error)

LookupUserByEmail searches for user by email

It returns only valid user (not deleted, not suspended)

This function is auto-generated

func LookupUserByHandle

func LookupUserByHandle(ctx context.Context, s Users, handle string) (*systemType.User, error)

LookupUserByHandle searches for user by handle

It returns only valid user (not deleted, not suspended)

This function is auto-generated

func LookupUserByID

func LookupUserByID(ctx context.Context, s Users, id uint64) (*systemType.User, error)

LookupUserByID searches for user by ID

It returns user even if deleted or suspended

This function is auto-generated

func LookupUserByUsername

func LookupUserByUsername(ctx context.Context, s Users, username string) (*systemType.User, error)

LookupUserByUsername searches for user by username

It returns only valid user (not deleted, not suspended)

This function is auto-generated

func Register

func Register(fn ConnectorFn, tt ...string)

Register add on ore more store types and their connector fn

func ReorderApplications

func ReorderApplications(ctx context.Context, s Applications, order []uint64) error

ReorderApplications

This function is auto-generated

func ReorderComposePageLayouts

func ReorderComposePageLayouts(ctx context.Context, s ComposePageLayouts, namespace_id uint64, page_id uint64, page_layout_ids []uint64) error

ReorderComposePageLayouts

This function is auto-generated

func ReorderComposePages

func ReorderComposePages(ctx context.Context, s ComposePages, namespace_id uint64, parent_id uint64, page_ids []uint64) error

ReorderComposePages

This function is auto-generated

func RoleMetrics

func RoleMetrics(ctx context.Context, s Roles) (*systemType.RoleMetrics, error)

RoleMetrics

This function is auto-generated

func SearchActionlogs

SearchActionlogs returns all matching Actionlogs from store

This function is auto-generated

func SearchApigwFilters

SearchApigwFilters returns all matching ApigwFilters from store

This function is auto-generated

func SearchApigwRoutes

SearchApigwRoutes returns all matching ApigwRoutes from store

This function is auto-generated

func SearchApplications

SearchApplications returns all matching Applications from store

This function is auto-generated

func SearchAttachments

SearchAttachments returns all matching Attachments from store

This function is auto-generated

func SearchAuthClients

SearchAuthClients returns all matching AuthClients from store

This function is auto-generated

func SearchAuthConfirmedClients

SearchAuthConfirmedClients returns all matching AuthConfirmedClients from store

This function is auto-generated

func SearchAuthOa2tokens

SearchAuthOa2tokens returns all matching AuthOa2tokens from store

This function is auto-generated

func SearchAuthSessions

SearchAuthSessions returns all matching AuthSessions from store

This function is auto-generated

func SearchAutomationSessions

SearchAutomationSessions returns all matching AutomationSessions from store

This function is auto-generated

func SearchAutomationTriggers

SearchAutomationTriggers returns all matching AutomationTriggers from store

This function is auto-generated

func SearchAutomationWorkflows

SearchAutomationWorkflows returns all matching AutomationWorkflows from store

This function is auto-generated

func SearchComposeAttachments

SearchComposeAttachments returns all matching ComposeAttachments from store

This function is auto-generated

func SearchComposeCharts

SearchComposeCharts returns all matching ComposeCharts from store

This function is auto-generated

func SearchComposeModuleFields

SearchComposeModuleFields returns all matching ComposeModuleFields from store

This function is auto-generated

func SearchComposeModules

SearchComposeModules returns all matching ComposeModules from store

This function is auto-generated

func SearchComposeNamespaces

SearchComposeNamespaces returns all matching ComposeNamespaces from store

This function is auto-generated

func SearchComposePageLayouts

SearchComposePageLayouts returns all matching ComposePageLayouts from store

This function is auto-generated

func SearchComposePages

SearchComposePages returns all matching ComposePages from store

This function is auto-generated

func SearchCredentials

SearchCredentials returns all matching Credentials from store

This function is auto-generated

func SearchDalConnections

SearchDalConnections returns all matching DalConnections from store

This function is auto-generated

func SearchDalSchemaAlterations

SearchDalSchemaAlterations returns all matching DalSchemaAlterations from store

This function is auto-generated

func SearchDalSensitivityLevels

SearchDalSensitivityLevels returns all matching DalSensitivityLevels from store

This function is auto-generated

func SearchDataPrivacyRequestComments

SearchDataPrivacyRequestComments returns all matching DataPrivacyRequestComments from store

This function is auto-generated

func SearchDataPrivacyRequests

SearchDataPrivacyRequests returns all matching DataPrivacyRequests from store

This function is auto-generated

func SearchFederationExposedModules

SearchFederationExposedModules returns all matching FederationExposedModules from store

This function is auto-generated

func SearchFederationModuleMappings

SearchFederationModuleMappings returns all matching FederationModuleMappings from store

This function is auto-generated

func SearchFederationNodeSyncs

SearchFederationNodeSyncs returns all matching FederationNodeSyncs from store

This function is auto-generated

func SearchFederationNodes

SearchFederationNodes returns all matching FederationNodes from store

This function is auto-generated

func SearchFederationSharedModules

SearchFederationSharedModules returns all matching FederationSharedModules from store

This function is auto-generated

func SearchFlags

SearchFlags returns all matching Flags from store

This function is auto-generated

func SearchLabels

SearchLabels returns all matching Labels from store

This function is auto-generated

func SearchQueueMessages

SearchQueueMessages returns all matching QueueMessages from store

This function is auto-generated

func SearchQueues

SearchQueues returns all matching Queues from store

This function is auto-generated

func SearchRbacRules

SearchRbacRules returns all matching RbacRules from store

This function is auto-generated

func SearchReminders

SearchReminders returns all matching Reminders from store

This function is auto-generated

func SearchReports

SearchReports returns all matching Reports from store

This function is auto-generated

func SearchResourceActivitys

SearchResourceActivitys returns all matching ResourceActivitys from store

This function is auto-generated

func SearchResourceTranslations

SearchResourceTranslations returns all matching ResourceTranslations from store

This function is auto-generated

func SearchRoleMembers

SearchRoleMembers returns all matching RoleMembers from store

This function is auto-generated

func SearchRoles

SearchRoles returns all matching Roles from store

This function is auto-generated

func SearchSettingValues

SearchSettingValues returns all matching SettingValues from store

This function is auto-generated

func SearchTemplates

SearchTemplates returns all matching Templates from store

This function is auto-generated

func SearchUsers

SearchUsers returns all matching Users from store

This function is auto-generated

func TransferRbacRules

func TransferRbacRules(ctx context.Context, s RbacRules, src uint64, dst uint64) error

TransferRbacRules

This function is auto-generated

func TransferRoleMembers

func TransferRoleMembers(ctx context.Context, s RoleMembers, src uint64, dst uint64) error

TransferRoleMembers

This function is auto-generated

func TransformResource

func TransformResource(ctx context.Context, s ResourceTranslations, lang language.Tag) (map[string]map[string]*locale.ResourceTranslation, error)

TransformResource

This function is auto-generated

func TruncateActionlogs

func TruncateActionlogs(ctx context.Context, s Actionlogs) error

TruncateActionlogs Deletes all Actionlogs from store

This function is auto-generated

func TruncateApigwFilters

func TruncateApigwFilters(ctx context.Context, s ApigwFilters) error

TruncateApigwFilters Deletes all ApigwFilters from store

This function is auto-generated

func TruncateApigwRoutes

func TruncateApigwRoutes(ctx context.Context, s ApigwRoutes) error

TruncateApigwRoutes Deletes all ApigwRoutes from store

This function is auto-generated

func TruncateApplications

func TruncateApplications(ctx context.Context, s Applications) error

TruncateApplications Deletes all Applications from store

This function is auto-generated

func TruncateAttachments

func TruncateAttachments(ctx context.Context, s Attachments) error

TruncateAttachments Deletes all Attachments from store

This function is auto-generated

func TruncateAuthClients

func TruncateAuthClients(ctx context.Context, s AuthClients) error

TruncateAuthClients Deletes all AuthClients from store

This function is auto-generated

func TruncateAuthConfirmedClients

func TruncateAuthConfirmedClients(ctx context.Context, s AuthConfirmedClients) error

TruncateAuthConfirmedClients Deletes all AuthConfirmedClients from store

This function is auto-generated

func TruncateAuthOa2tokens

func TruncateAuthOa2tokens(ctx context.Context, s AuthOa2tokens) error

TruncateAuthOa2tokens Deletes all AuthOa2tokens from store

This function is auto-generated

func TruncateAuthSessions

func TruncateAuthSessions(ctx context.Context, s AuthSessions) error

TruncateAuthSessions Deletes all AuthSessions from store

This function is auto-generated

func TruncateAutomationSessions

func TruncateAutomationSessions(ctx context.Context, s AutomationSessions) error

TruncateAutomationSessions Deletes all AutomationSessions from store

This function is auto-generated

func TruncateAutomationTriggers

func TruncateAutomationTriggers(ctx context.Context, s AutomationTriggers) error

TruncateAutomationTriggers Deletes all AutomationTriggers from store

This function is auto-generated

func TruncateAutomationWorkflows

func TruncateAutomationWorkflows(ctx context.Context, s AutomationWorkflows) error

TruncateAutomationWorkflows Deletes all AutomationWorkflows from store

This function is auto-generated

func TruncateComposeAttachments

func TruncateComposeAttachments(ctx context.Context, s ComposeAttachments) error

TruncateComposeAttachments Deletes all ComposeAttachments from store

This function is auto-generated

func TruncateComposeCharts

func TruncateComposeCharts(ctx context.Context, s ComposeCharts) error

TruncateComposeCharts Deletes all ComposeCharts from store

This function is auto-generated

func TruncateComposeModuleFields

func TruncateComposeModuleFields(ctx context.Context, s ComposeModuleFields) error

TruncateComposeModuleFields Deletes all ComposeModuleFields from store

This function is auto-generated

func TruncateComposeModules

func TruncateComposeModules(ctx context.Context, s ComposeModules) error

TruncateComposeModules Deletes all ComposeModules from store

This function is auto-generated

func TruncateComposeNamespaces

func TruncateComposeNamespaces(ctx context.Context, s ComposeNamespaces) error

TruncateComposeNamespaces Deletes all ComposeNamespaces from store

This function is auto-generated

func TruncateComposePageLayouts

func TruncateComposePageLayouts(ctx context.Context, s ComposePageLayouts) error

TruncateComposePageLayouts Deletes all ComposePageLayouts from store

This function is auto-generated

func TruncateComposePages

func TruncateComposePages(ctx context.Context, s ComposePages) error

TruncateComposePages Deletes all ComposePages from store

This function is auto-generated

func TruncateCredentials

func TruncateCredentials(ctx context.Context, s Credentials) error

TruncateCredentials Deletes all Credentials from store

This function is auto-generated

func TruncateDalConnections

func TruncateDalConnections(ctx context.Context, s DalConnections) error

TruncateDalConnections Deletes all DalConnections from store

This function is auto-generated

func TruncateDalSchemaAlterations

func TruncateDalSchemaAlterations(ctx context.Context, s DalSchemaAlterations) error

TruncateDalSchemaAlterations Deletes all DalSchemaAlterations from store

This function is auto-generated

func TruncateDalSensitivityLevels

func TruncateDalSensitivityLevels(ctx context.Context, s DalSensitivityLevels) error

TruncateDalSensitivityLevels Deletes all DalSensitivityLevels from store

This function is auto-generated

func TruncateDataPrivacyRequestComments

func TruncateDataPrivacyRequestComments(ctx context.Context, s DataPrivacyRequestComments) error

TruncateDataPrivacyRequestComments Deletes all DataPrivacyRequestComments from store

This function is auto-generated

func TruncateDataPrivacyRequests

func TruncateDataPrivacyRequests(ctx context.Context, s DataPrivacyRequests) error

TruncateDataPrivacyRequests Deletes all DataPrivacyRequests from store

This function is auto-generated

func TruncateFederationExposedModules

func TruncateFederationExposedModules(ctx context.Context, s FederationExposedModules) error

TruncateFederationExposedModules Deletes all FederationExposedModules from store

This function is auto-generated

func TruncateFederationModuleMappings

func TruncateFederationModuleMappings(ctx context.Context, s FederationModuleMappings) error

TruncateFederationModuleMappings Deletes all FederationModuleMappings from store

This function is auto-generated

func TruncateFederationNodeSyncs

func TruncateFederationNodeSyncs(ctx context.Context, s FederationNodeSyncs) error

TruncateFederationNodeSyncs Deletes all FederationNodeSyncs from store

This function is auto-generated

func TruncateFederationNodes

func TruncateFederationNodes(ctx context.Context, s FederationNodes) error

TruncateFederationNodes Deletes all FederationNodes from store

This function is auto-generated

func TruncateFederationSharedModules

func TruncateFederationSharedModules(ctx context.Context, s FederationSharedModules) error

TruncateFederationSharedModules Deletes all FederationSharedModules from store

This function is auto-generated

func TruncateFlags

func TruncateFlags(ctx context.Context, s Flags) error

TruncateFlags Deletes all Flags from store

This function is auto-generated

func TruncateLabels

func TruncateLabels(ctx context.Context, s Labels) error

TruncateLabels Deletes all Labels from store

This function is auto-generated

func TruncateQueueMessages

func TruncateQueueMessages(ctx context.Context, s QueueMessages) error

TruncateQueueMessages Deletes all QueueMessages from store

This function is auto-generated

func TruncateQueues

func TruncateQueues(ctx context.Context, s Queues) error

TruncateQueues Deletes all Queues from store

This function is auto-generated

func TruncateRbacRules

func TruncateRbacRules(ctx context.Context, s RbacRules) error

TruncateRbacRules Deletes all RbacRules from store

This function is auto-generated

func TruncateReminders

func TruncateReminders(ctx context.Context, s Reminders) error

TruncateReminders Deletes all Reminders from store

This function is auto-generated

func TruncateReports

func TruncateReports(ctx context.Context, s Reports) error

TruncateReports Deletes all Reports from store

This function is auto-generated

func TruncateResourceActivitys

func TruncateResourceActivitys(ctx context.Context, s ResourceActivitys) error

TruncateResourceActivitys Deletes all ResourceActivitys from store

This function is auto-generated

func TruncateResourceTranslations

func TruncateResourceTranslations(ctx context.Context, s ResourceTranslations) error

TruncateResourceTranslations Deletes all ResourceTranslations from store

This function is auto-generated

func TruncateRoleMembers

func TruncateRoleMembers(ctx context.Context, s RoleMembers) error

TruncateRoleMembers Deletes all RoleMembers from store

This function is auto-generated

func TruncateRoles

func TruncateRoles(ctx context.Context, s Roles) error

TruncateRoles Deletes all Roles from store

This function is auto-generated

func TruncateSettingValues

func TruncateSettingValues(ctx context.Context, s SettingValues) error

TruncateSettingValues Deletes all SettingValues from store

This function is auto-generated

func TruncateTemplates

func TruncateTemplates(ctx context.Context, s Templates) error

TruncateTemplates Deletes all Templates from store

This function is auto-generated

func TruncateUsers

func TruncateUsers(ctx context.Context, s Users) error

TruncateUsers Deletes all Users from store

This function is auto-generated

func Tx

func Tx(ctx context.Context, s Storer, fn func(context.Context, Storer) error) error

func UpdateActionlog

func UpdateActionlog(ctx context.Context, s Actionlogs, rr ...*actionlogType.Action) error

UpdateActionlog updates one or more (existing) Actionlogs in store

This function is auto-generated

func UpdateApigwFilter

func UpdateApigwFilter(ctx context.Context, s ApigwFilters, rr ...*systemType.ApigwFilter) error

UpdateApigwFilter updates one or more (existing) ApigwFilters in store

This function is auto-generated

func UpdateApigwRoute

func UpdateApigwRoute(ctx context.Context, s ApigwRoutes, rr ...*systemType.ApigwRoute) error

UpdateApigwRoute updates one or more (existing) ApigwRoutes in store

This function is auto-generated

func UpdateApplication

func UpdateApplication(ctx context.Context, s Applications, rr ...*systemType.Application) error

UpdateApplication updates one or more (existing) Applications in store

This function is auto-generated

func UpdateAttachment

func UpdateAttachment(ctx context.Context, s Attachments, rr ...*systemType.Attachment) error

UpdateAttachment updates one or more (existing) Attachments in store

This function is auto-generated

func UpdateAuthClient

func UpdateAuthClient(ctx context.Context, s AuthClients, rr ...*systemType.AuthClient) error

UpdateAuthClient updates one or more (existing) AuthClients in store

This function is auto-generated

func UpdateAuthConfirmedClient

func UpdateAuthConfirmedClient(ctx context.Context, s AuthConfirmedClients, rr ...*systemType.AuthConfirmedClient) error

UpdateAuthConfirmedClient updates one or more (existing) AuthConfirmedClients in store

This function is auto-generated

func UpdateAuthOa2token

func UpdateAuthOa2token(ctx context.Context, s AuthOa2tokens, rr ...*systemType.AuthOa2token) error

UpdateAuthOa2token updates one or more (existing) AuthOa2tokens in store

This function is auto-generated

func UpdateAuthSession

func UpdateAuthSession(ctx context.Context, s AuthSessions, rr ...*systemType.AuthSession) error

UpdateAuthSession updates one or more (existing) AuthSessions in store

This function is auto-generated

func UpdateAutomationSession

func UpdateAutomationSession(ctx context.Context, s AutomationSessions, rr ...*automationType.Session) error

UpdateAutomationSession updates one or more (existing) AutomationSessions in store

This function is auto-generated

func UpdateAutomationTrigger

func UpdateAutomationTrigger(ctx context.Context, s AutomationTriggers, rr ...*automationType.Trigger) error

UpdateAutomationTrigger updates one or more (existing) AutomationTriggers in store

This function is auto-generated

func UpdateAutomationWorkflow

func UpdateAutomationWorkflow(ctx context.Context, s AutomationWorkflows, rr ...*automationType.Workflow) error

UpdateAutomationWorkflow updates one or more (existing) AutomationWorkflows in store

This function is auto-generated

func UpdateComposeAttachment

func UpdateComposeAttachment(ctx context.Context, s ComposeAttachments, rr ...*composeType.Attachment) error

UpdateComposeAttachment updates one or more (existing) ComposeAttachments in store

This function is auto-generated

func UpdateComposeChart

func UpdateComposeChart(ctx context.Context, s ComposeCharts, rr ...*composeType.Chart) error

UpdateComposeChart updates one or more (existing) ComposeCharts in store

This function is auto-generated

func UpdateComposeModule

func UpdateComposeModule(ctx context.Context, s ComposeModules, rr ...*composeType.Module) error

UpdateComposeModule updates one or more (existing) ComposeModules in store

This function is auto-generated

func UpdateComposeModuleField

func UpdateComposeModuleField(ctx context.Context, s ComposeModuleFields, rr ...*composeType.ModuleField) error

UpdateComposeModuleField updates one or more (existing) ComposeModuleFields in store

This function is auto-generated

func UpdateComposeNamespace

func UpdateComposeNamespace(ctx context.Context, s ComposeNamespaces, rr ...*composeType.Namespace) error

UpdateComposeNamespace updates one or more (existing) ComposeNamespaces in store

This function is auto-generated

func UpdateComposePage

func UpdateComposePage(ctx context.Context, s ComposePages, rr ...*composeType.Page) error

UpdateComposePage updates one or more (existing) ComposePages in store

This function is auto-generated

func UpdateComposePageLayout

func UpdateComposePageLayout(ctx context.Context, s ComposePageLayouts, rr ...*composeType.PageLayout) error

UpdateComposePageLayout updates one or more (existing) ComposePageLayouts in store

This function is auto-generated

func UpdateCredential

func UpdateCredential(ctx context.Context, s Credentials, rr ...*systemType.Credential) error

UpdateCredential updates one or more (existing) Credentials in store

This function is auto-generated

func UpdateDalConnection

func UpdateDalConnection(ctx context.Context, s DalConnections, rr ...*systemType.DalConnection) error

UpdateDalConnection updates one or more (existing) DalConnections in store

This function is auto-generated

func UpdateDalSchemaAlteration

func UpdateDalSchemaAlteration(ctx context.Context, s DalSchemaAlterations, rr ...*systemType.DalSchemaAlteration) error

UpdateDalSchemaAlteration updates one or more (existing) DalSchemaAlterations in store

This function is auto-generated

func UpdateDalSensitivityLevel

func UpdateDalSensitivityLevel(ctx context.Context, s DalSensitivityLevels, rr ...*systemType.DalSensitivityLevel) error

UpdateDalSensitivityLevel updates one or more (existing) DalSensitivityLevels in store

This function is auto-generated

func UpdateDataPrivacyRequest

func UpdateDataPrivacyRequest(ctx context.Context, s DataPrivacyRequests, rr ...*systemType.DataPrivacyRequest) error

UpdateDataPrivacyRequest updates one or more (existing) DataPrivacyRequests in store

This function is auto-generated

func UpdateDataPrivacyRequestComment

func UpdateDataPrivacyRequestComment(ctx context.Context, s DataPrivacyRequestComments, rr ...*systemType.DataPrivacyRequestComment) error

UpdateDataPrivacyRequestComment updates one or more (existing) DataPrivacyRequestComments in store

This function is auto-generated

func UpdateFederationExposedModule

func UpdateFederationExposedModule(ctx context.Context, s FederationExposedModules, rr ...*federationType.ExposedModule) error

UpdateFederationExposedModule updates one or more (existing) FederationExposedModules in store

This function is auto-generated

func UpdateFederationModuleMapping

func UpdateFederationModuleMapping(ctx context.Context, s FederationModuleMappings, rr ...*federationType.ModuleMapping) error

UpdateFederationModuleMapping updates one or more (existing) FederationModuleMappings in store

This function is auto-generated

func UpdateFederationNode

func UpdateFederationNode(ctx context.Context, s FederationNodes, rr ...*federationType.Node) error

UpdateFederationNode updates one or more (existing) FederationNodes in store

This function is auto-generated

func UpdateFederationNodeSync

func UpdateFederationNodeSync(ctx context.Context, s FederationNodeSyncs, rr ...*federationType.NodeSync) error

UpdateFederationNodeSync updates one or more (existing) FederationNodeSyncs in store

This function is auto-generated

func UpdateFederationSharedModule

func UpdateFederationSharedModule(ctx context.Context, s FederationSharedModules, rr ...*federationType.SharedModule) error

UpdateFederationSharedModule updates one or more (existing) FederationSharedModules in store

This function is auto-generated

func UpdateFlag

func UpdateFlag(ctx context.Context, s Flags, rr ...*flagType.Flag) error

UpdateFlag updates one or more (existing) Flags in store

This function is auto-generated

func UpdateLabel

func UpdateLabel(ctx context.Context, s Labels, rr ...*labelsType.Label) error

UpdateLabel updates one or more (existing) Labels in store

This function is auto-generated

func UpdateQueue

func UpdateQueue(ctx context.Context, s Queues, rr ...*systemType.Queue) error

UpdateQueue updates one or more (existing) Queues in store

This function is auto-generated

func UpdateQueueMessage

func UpdateQueueMessage(ctx context.Context, s QueueMessages, rr ...*systemType.QueueMessage) error

UpdateQueueMessage updates one or more (existing) QueueMessages in store

This function is auto-generated

func UpdateRbacRule

func UpdateRbacRule(ctx context.Context, s RbacRules, rr ...*rbacType.Rule) error

UpdateRbacRule updates one or more (existing) RbacRules in store

This function is auto-generated

func UpdateReminder

func UpdateReminder(ctx context.Context, s Reminders, rr ...*systemType.Reminder) error

UpdateReminder updates one or more (existing) Reminders in store

This function is auto-generated

func UpdateReport

func UpdateReport(ctx context.Context, s Reports, rr ...*systemType.Report) error

UpdateReport updates one or more (existing) Reports in store

This function is auto-generated

func UpdateResourceActivity

func UpdateResourceActivity(ctx context.Context, s ResourceActivitys, rr ...*discoveryType.ResourceActivity) error

UpdateResourceActivity updates one or more (existing) ResourceActivitys in store

This function is auto-generated

func UpdateResourceTranslation

func UpdateResourceTranslation(ctx context.Context, s ResourceTranslations, rr ...*systemType.ResourceTranslation) error

UpdateResourceTranslation updates one or more (existing) ResourceTranslations in store

This function is auto-generated

func UpdateRole

func UpdateRole(ctx context.Context, s Roles, rr ...*systemType.Role) error

UpdateRole updates one or more (existing) Roles in store

This function is auto-generated

func UpdateRoleMember

func UpdateRoleMember(ctx context.Context, s RoleMembers, rr ...*systemType.RoleMember) error

UpdateRoleMember updates one or more (existing) RoleMembers in store

This function is auto-generated

func UpdateSettingValue

func UpdateSettingValue(ctx context.Context, s SettingValues, rr ...*systemType.SettingValue) error

UpdateSettingValue updates one or more (existing) SettingValues in store

This function is auto-generated

func UpdateTemplate

func UpdateTemplate(ctx context.Context, s Templates, rr ...*systemType.Template) error

UpdateTemplate updates one or more (existing) Templates in store

This function is auto-generated

func UpdateUser

func UpdateUser(ctx context.Context, s Users, rr ...*systemType.User) error

UpdateUser updates one or more (existing) Users in store

This function is auto-generated

func Upgrade

func Upgrade(ctx context.Context, log *zap.Logger, s Storer) error

Upgrade runs all needed upgrades on a specific store

func UpsertActionlog

func UpsertActionlog(ctx context.Context, s Actionlogs, rr ...*actionlogType.Action) error

UpsertActionlog creates new or updates existing one or more Actionlogs in store

This function is auto-generated

func UpsertApigwFilter

func UpsertApigwFilter(ctx context.Context, s ApigwFilters, rr ...*systemType.ApigwFilter) error

UpsertApigwFilter creates new or updates existing one or more ApigwFilters in store

This function is auto-generated

func UpsertApigwRoute

func UpsertApigwRoute(ctx context.Context, s ApigwRoutes, rr ...*systemType.ApigwRoute) error

UpsertApigwRoute creates new or updates existing one or more ApigwRoutes in store

This function is auto-generated

func UpsertApplication

func UpsertApplication(ctx context.Context, s Applications, rr ...*systemType.Application) error

UpsertApplication creates new or updates existing one or more Applications in store

This function is auto-generated

func UpsertAttachment

func UpsertAttachment(ctx context.Context, s Attachments, rr ...*systemType.Attachment) error

UpsertAttachment creates new or updates existing one or more Attachments in store

This function is auto-generated

func UpsertAuthClient

func UpsertAuthClient(ctx context.Context, s AuthClients, rr ...*systemType.AuthClient) error

UpsertAuthClient creates new or updates existing one or more AuthClients in store

This function is auto-generated

func UpsertAuthConfirmedClient

func UpsertAuthConfirmedClient(ctx context.Context, s AuthConfirmedClients, rr ...*systemType.AuthConfirmedClient) error

UpsertAuthConfirmedClient creates new or updates existing one or more AuthConfirmedClients in store

This function is auto-generated

func UpsertAuthOa2token

func UpsertAuthOa2token(ctx context.Context, s AuthOa2tokens, rr ...*systemType.AuthOa2token) error

UpsertAuthOa2token creates new or updates existing one or more AuthOa2tokens in store

This function is auto-generated

func UpsertAuthSession

func UpsertAuthSession(ctx context.Context, s AuthSessions, rr ...*systemType.AuthSession) error

UpsertAuthSession creates new or updates existing one or more AuthSessions in store

This function is auto-generated

func UpsertAutomationSession

func UpsertAutomationSession(ctx context.Context, s AutomationSessions, rr ...*automationType.Session) error

UpsertAutomationSession creates new or updates existing one or more AutomationSessions in store

This function is auto-generated

func UpsertAutomationTrigger

func UpsertAutomationTrigger(ctx context.Context, s AutomationTriggers, rr ...*automationType.Trigger) error

UpsertAutomationTrigger creates new or updates existing one or more AutomationTriggers in store

This function is auto-generated

func UpsertAutomationWorkflow

func UpsertAutomationWorkflow(ctx context.Context, s AutomationWorkflows, rr ...*automationType.Workflow) error

UpsertAutomationWorkflow creates new or updates existing one or more AutomationWorkflows in store

This function is auto-generated

func UpsertComposeAttachment

func UpsertComposeAttachment(ctx context.Context, s ComposeAttachments, rr ...*composeType.Attachment) error

UpsertComposeAttachment creates new or updates existing one or more ComposeAttachments in store

This function is auto-generated

func UpsertComposeChart

func UpsertComposeChart(ctx context.Context, s ComposeCharts, rr ...*composeType.Chart) error

UpsertComposeChart creates new or updates existing one or more ComposeCharts in store

This function is auto-generated

func UpsertComposeModule

func UpsertComposeModule(ctx context.Context, s ComposeModules, rr ...*composeType.Module) error

UpsertComposeModule creates new or updates existing one or more ComposeModules in store

This function is auto-generated

func UpsertComposeModuleField

func UpsertComposeModuleField(ctx context.Context, s ComposeModuleFields, rr ...*composeType.ModuleField) error

UpsertComposeModuleField creates new or updates existing one or more ComposeModuleFields in store

This function is auto-generated

func UpsertComposeNamespace

func UpsertComposeNamespace(ctx context.Context, s ComposeNamespaces, rr ...*composeType.Namespace) error

UpsertComposeNamespace creates new or updates existing one or more ComposeNamespaces in store

This function is auto-generated

func UpsertComposePage

func UpsertComposePage(ctx context.Context, s ComposePages, rr ...*composeType.Page) error

UpsertComposePage creates new or updates existing one or more ComposePages in store

This function is auto-generated

func UpsertComposePageLayout

func UpsertComposePageLayout(ctx context.Context, s ComposePageLayouts, rr ...*composeType.PageLayout) error

UpsertComposePageLayout creates new or updates existing one or more ComposePageLayouts in store

This function is auto-generated

func UpsertCredential

func UpsertCredential(ctx context.Context, s Credentials, rr ...*systemType.Credential) error

UpsertCredential creates new or updates existing one or more Credentials in store

This function is auto-generated

func UpsertDalConnection

func UpsertDalConnection(ctx context.Context, s DalConnections, rr ...*systemType.DalConnection) error

UpsertDalConnection creates new or updates existing one or more DalConnections in store

This function is auto-generated

func UpsertDalSchemaAlteration

func UpsertDalSchemaAlteration(ctx context.Context, s DalSchemaAlterations, rr ...*systemType.DalSchemaAlteration) error

UpsertDalSchemaAlteration creates new or updates existing one or more DalSchemaAlterations in store

This function is auto-generated

func UpsertDalSensitivityLevel

func UpsertDalSensitivityLevel(ctx context.Context, s DalSensitivityLevels, rr ...*systemType.DalSensitivityLevel) error

UpsertDalSensitivityLevel creates new or updates existing one or more DalSensitivityLevels in store

This function is auto-generated

func UpsertDataPrivacyRequest

func UpsertDataPrivacyRequest(ctx context.Context, s DataPrivacyRequests, rr ...*systemType.DataPrivacyRequest) error

UpsertDataPrivacyRequest creates new or updates existing one or more DataPrivacyRequests in store

This function is auto-generated

func UpsertDataPrivacyRequestComment

func UpsertDataPrivacyRequestComment(ctx context.Context, s DataPrivacyRequestComments, rr ...*systemType.DataPrivacyRequestComment) error

UpsertDataPrivacyRequestComment creates new or updates existing one or more DataPrivacyRequestComments in store

This function is auto-generated

func UpsertFederationExposedModule

func UpsertFederationExposedModule(ctx context.Context, s FederationExposedModules, rr ...*federationType.ExposedModule) error

UpsertFederationExposedModule creates new or updates existing one or more FederationExposedModules in store

This function is auto-generated

func UpsertFederationModuleMapping

func UpsertFederationModuleMapping(ctx context.Context, s FederationModuleMappings, rr ...*federationType.ModuleMapping) error

UpsertFederationModuleMapping creates new or updates existing one or more FederationModuleMappings in store

This function is auto-generated

func UpsertFederationNode

func UpsertFederationNode(ctx context.Context, s FederationNodes, rr ...*federationType.Node) error

UpsertFederationNode creates new or updates existing one or more FederationNodes in store

This function is auto-generated

func UpsertFederationNodeSync

func UpsertFederationNodeSync(ctx context.Context, s FederationNodeSyncs, rr ...*federationType.NodeSync) error

UpsertFederationNodeSync creates new or updates existing one or more FederationNodeSyncs in store

This function is auto-generated

func UpsertFederationSharedModule

func UpsertFederationSharedModule(ctx context.Context, s FederationSharedModules, rr ...*federationType.SharedModule) error

UpsertFederationSharedModule creates new or updates existing one or more FederationSharedModules in store

This function is auto-generated

func UpsertFlag

func UpsertFlag(ctx context.Context, s Flags, rr ...*flagType.Flag) error

UpsertFlag creates new or updates existing one or more Flags in store

This function is auto-generated

func UpsertLabel

func UpsertLabel(ctx context.Context, s Labels, rr ...*labelsType.Label) error

UpsertLabel creates new or updates existing one or more Labels in store

This function is auto-generated

func UpsertQueue

func UpsertQueue(ctx context.Context, s Queues, rr ...*systemType.Queue) error

UpsertQueue creates new or updates existing one or more Queues in store

This function is auto-generated

func UpsertQueueMessage

func UpsertQueueMessage(ctx context.Context, s QueueMessages, rr ...*systemType.QueueMessage) error

UpsertQueueMessage creates new or updates existing one or more QueueMessages in store

This function is auto-generated

func UpsertRbacRule

func UpsertRbacRule(ctx context.Context, s RbacRules, rr ...*rbacType.Rule) error

UpsertRbacRule creates new or updates existing one or more RbacRules in store

This function is auto-generated

func UpsertReminder

func UpsertReminder(ctx context.Context, s Reminders, rr ...*systemType.Reminder) error

UpsertReminder creates new or updates existing one or more Reminders in store

This function is auto-generated

func UpsertReport

func UpsertReport(ctx context.Context, s Reports, rr ...*systemType.Report) error

UpsertReport creates new or updates existing one or more Reports in store

This function is auto-generated

func UpsertResourceActivity

func UpsertResourceActivity(ctx context.Context, s ResourceActivitys, rr ...*discoveryType.ResourceActivity) error

UpsertResourceActivity creates new or updates existing one or more ResourceActivitys in store

This function is auto-generated

func UpsertResourceTranslation

func UpsertResourceTranslation(ctx context.Context, s ResourceTranslations, rr ...*systemType.ResourceTranslation) error

UpsertResourceTranslation creates new or updates existing one or more ResourceTranslations in store

This function is auto-generated

func UpsertRole

func UpsertRole(ctx context.Context, s Roles, rr ...*systemType.Role) error

UpsertRole creates new or updates existing one or more Roles in store

This function is auto-generated

func UpsertRoleMember

func UpsertRoleMember(ctx context.Context, s RoleMembers, rr ...*systemType.RoleMember) error

UpsertRoleMember creates new or updates existing one or more RoleMembers in store

This function is auto-generated

func UpsertSettingValue

func UpsertSettingValue(ctx context.Context, s SettingValues, rr ...*systemType.SettingValue) error

UpsertSettingValue creates new or updates existing one or more SettingValues in store

This function is auto-generated

func UpsertTemplate

func UpsertTemplate(ctx context.Context, s Templates, rr ...*systemType.Template) error

UpsertTemplate creates new or updates existing one or more Templates in store

This function is auto-generated

func UpsertUser

func UpsertUser(ctx context.Context, s Users, rr ...*systemType.User) error

UpsertUser creates new or updates existing one or more Users in store

This function is auto-generated

func UserMetrics

func UserMetrics(ctx context.Context, s Users) (*systemType.UserMetrics, error)

UserMetrics

This function is auto-generated

Types

type Actionlogs

type Actionlogs interface {
	SearchActionlogs(ctx context.Context, f actionlogType.Filter) (actionlogType.ActionSet, actionlogType.Filter, error)
	CreateActionlog(ctx context.Context, rr ...*actionlogType.Action) error
	UpdateActionlog(ctx context.Context, rr ...*actionlogType.Action) error
	UpsertActionlog(ctx context.Context, rr ...*actionlogType.Action) error
	DeleteActionlog(ctx context.Context, rr ...*actionlogType.Action) error

	DeleteActionlogByID(ctx context.Context, id uint64) error
	TruncateActionlogs(ctx context.Context) error
	LookupActionlogByID(ctx context.Context, id uint64) (*actionlogType.Action, error)
}

type ApigwFilters

type ApigwFilters interface {
	SearchApigwFilters(ctx context.Context, f systemType.ApigwFilterFilter) (systemType.ApigwFilterSet, systemType.ApigwFilterFilter, error)
	CreateApigwFilter(ctx context.Context, rr ...*systemType.ApigwFilter) error
	UpdateApigwFilter(ctx context.Context, rr ...*systemType.ApigwFilter) error
	UpsertApigwFilter(ctx context.Context, rr ...*systemType.ApigwFilter) error
	DeleteApigwFilter(ctx context.Context, rr ...*systemType.ApigwFilter) error

	DeleteApigwFilterByID(ctx context.Context, id uint64) error
	TruncateApigwFilters(ctx context.Context) error
	LookupApigwFilterByID(ctx context.Context, id uint64) (*systemType.ApigwFilter, error)
	LookupApigwFilterByRoute(ctx context.Context, route uint64) (*systemType.ApigwFilter, error)
}

type ApigwRoutes

type ApigwRoutes interface {
	SearchApigwRoutes(ctx context.Context, f systemType.ApigwRouteFilter) (systemType.ApigwRouteSet, systemType.ApigwRouteFilter, error)
	CreateApigwRoute(ctx context.Context, rr ...*systemType.ApigwRoute) error
	UpdateApigwRoute(ctx context.Context, rr ...*systemType.ApigwRoute) error
	UpsertApigwRoute(ctx context.Context, rr ...*systemType.ApigwRoute) error
	DeleteApigwRoute(ctx context.Context, rr ...*systemType.ApigwRoute) error

	DeleteApigwRouteByID(ctx context.Context, id uint64) error
	TruncateApigwRoutes(ctx context.Context) error
	LookupApigwRouteByID(ctx context.Context, id uint64) (*systemType.ApigwRoute, error)
	LookupApigwRouteByEndpoint(ctx context.Context, endpoint string) (*systemType.ApigwRoute, error)
}

type Applications

type Applications interface {
	SearchApplications(ctx context.Context, f systemType.ApplicationFilter) (systemType.ApplicationSet, systemType.ApplicationFilter, error)
	CreateApplication(ctx context.Context, rr ...*systemType.Application) error
	UpdateApplication(ctx context.Context, rr ...*systemType.Application) error
	UpsertApplication(ctx context.Context, rr ...*systemType.Application) error
	DeleteApplication(ctx context.Context, rr ...*systemType.Application) error

	DeleteApplicationByID(ctx context.Context, id uint64) error
	TruncateApplications(ctx context.Context) error
	LookupApplicationByID(ctx context.Context, id uint64) (*systemType.Application, error)
	ApplicationMetrics(ctx context.Context) (*systemType.ApplicationMetrics, error)
	ReorderApplications(ctx context.Context, order []uint64) error
}

type Attachments

type Attachments interface {
	SearchAttachments(ctx context.Context, f systemType.AttachmentFilter) (systemType.AttachmentSet, systemType.AttachmentFilter, error)
	CreateAttachment(ctx context.Context, rr ...*systemType.Attachment) error
	UpdateAttachment(ctx context.Context, rr ...*systemType.Attachment) error
	UpsertAttachment(ctx context.Context, rr ...*systemType.Attachment) error
	DeleteAttachment(ctx context.Context, rr ...*systemType.Attachment) error

	DeleteAttachmentByID(ctx context.Context, id uint64) error
	TruncateAttachments(ctx context.Context) error
	LookupAttachmentByID(ctx context.Context, id uint64) (*systemType.Attachment, error)
}

type AuthClients

type AuthClients interface {
	SearchAuthClients(ctx context.Context, f systemType.AuthClientFilter) (systemType.AuthClientSet, systemType.AuthClientFilter, error)
	CreateAuthClient(ctx context.Context, rr ...*systemType.AuthClient) error
	UpdateAuthClient(ctx context.Context, rr ...*systemType.AuthClient) error
	UpsertAuthClient(ctx context.Context, rr ...*systemType.AuthClient) error
	DeleteAuthClient(ctx context.Context, rr ...*systemType.AuthClient) error

	DeleteAuthClientByID(ctx context.Context, id uint64) error
	TruncateAuthClients(ctx context.Context) error
	LookupAuthClientByID(ctx context.Context, id uint64) (*systemType.AuthClient, error)
	LookupAuthClientByHandle(ctx context.Context, handle string) (*systemType.AuthClient, error)
}

type AuthConfirmedClients

type AuthConfirmedClients interface {
	SearchAuthConfirmedClients(ctx context.Context, f systemType.AuthConfirmedClientFilter) (systemType.AuthConfirmedClientSet, systemType.AuthConfirmedClientFilter, error)
	CreateAuthConfirmedClient(ctx context.Context, rr ...*systemType.AuthConfirmedClient) error
	UpdateAuthConfirmedClient(ctx context.Context, rr ...*systemType.AuthConfirmedClient) error
	UpsertAuthConfirmedClient(ctx context.Context, rr ...*systemType.AuthConfirmedClient) error
	DeleteAuthConfirmedClient(ctx context.Context, rr ...*systemType.AuthConfirmedClient) error

	DeleteAuthConfirmedClientByUserIDClientID(ctx context.Context, userID uint64, clientID uint64) error
	TruncateAuthConfirmedClients(ctx context.Context) error
	LookupAuthConfirmedClientByUserIDClientID(ctx context.Context, userID uint64, clientID uint64) (*systemType.AuthConfirmedClient, error)
}

type AuthOa2tokens

type AuthOa2tokens interface {
	SearchAuthOa2tokens(ctx context.Context, f systemType.AuthOa2tokenFilter) (systemType.AuthOa2tokenSet, systemType.AuthOa2tokenFilter, error)
	CreateAuthOa2token(ctx context.Context, rr ...*systemType.AuthOa2token) error
	UpdateAuthOa2token(ctx context.Context, rr ...*systemType.AuthOa2token) error
	UpsertAuthOa2token(ctx context.Context, rr ...*systemType.AuthOa2token) error
	DeleteAuthOa2token(ctx context.Context, rr ...*systemType.AuthOa2token) error

	DeleteAuthOa2tokenByID(ctx context.Context, id uint64) error
	TruncateAuthOa2tokens(ctx context.Context) error
	LookupAuthOa2tokenByID(ctx context.Context, id uint64) (*systemType.AuthOa2token, error)
	LookupAuthOa2tokenByCode(ctx context.Context, code string) (*systemType.AuthOa2token, error)
	LookupAuthOa2tokenByAccess(ctx context.Context, access string) (*systemType.AuthOa2token, error)
	LookupAuthOa2tokenByRefresh(ctx context.Context, refresh string) (*systemType.AuthOa2token, error)
	DeleteExpiredAuthOA2Tokens(ctx context.Context) error
	DeleteAuthOA2TokenByCode(ctx context.Context, code string) error
	DeleteAuthOA2TokenByAccess(ctx context.Context, access string) error
	DeleteAuthOA2TokenByRefresh(ctx context.Context, refresh string) error
	DeleteAuthOA2TokenByUserID(ctx context.Context, userID uint64) error
}

type AuthSessions

type AuthSessions interface {
	SearchAuthSessions(ctx context.Context, f systemType.AuthSessionFilter) (systemType.AuthSessionSet, systemType.AuthSessionFilter, error)
	CreateAuthSession(ctx context.Context, rr ...*systemType.AuthSession) error
	UpdateAuthSession(ctx context.Context, rr ...*systemType.AuthSession) error
	UpsertAuthSession(ctx context.Context, rr ...*systemType.AuthSession) error
	DeleteAuthSession(ctx context.Context, rr ...*systemType.AuthSession) error

	DeleteAuthSessionByID(ctx context.Context, id string) error
	TruncateAuthSessions(ctx context.Context) error
	LookupAuthSessionByID(ctx context.Context, id string) (*systemType.AuthSession, error)
	DeleteExpiredAuthSessions(ctx context.Context) error
	DeleteAuthSessionsByUserID(ctx context.Context, userID uint64) error
}

type AutomationSessions

type AutomationSessions interface {
	SearchAutomationSessions(ctx context.Context, f automationType.SessionFilter) (automationType.SessionSet, automationType.SessionFilter, error)
	CreateAutomationSession(ctx context.Context, rr ...*automationType.Session) error
	UpdateAutomationSession(ctx context.Context, rr ...*automationType.Session) error
	UpsertAutomationSession(ctx context.Context, rr ...*automationType.Session) error
	DeleteAutomationSession(ctx context.Context, rr ...*automationType.Session) error

	DeleteAutomationSessionByID(ctx context.Context, id uint64) error
	TruncateAutomationSessions(ctx context.Context) error
	LookupAutomationSessionByID(ctx context.Context, id uint64) (*automationType.Session, error)
}

type AutomationTriggers

type AutomationTriggers interface {
	SearchAutomationTriggers(ctx context.Context, f automationType.TriggerFilter) (automationType.TriggerSet, automationType.TriggerFilter, error)
	CreateAutomationTrigger(ctx context.Context, rr ...*automationType.Trigger) error
	UpdateAutomationTrigger(ctx context.Context, rr ...*automationType.Trigger) error
	UpsertAutomationTrigger(ctx context.Context, rr ...*automationType.Trigger) error
	DeleteAutomationTrigger(ctx context.Context, rr ...*automationType.Trigger) error

	DeleteAutomationTriggerByID(ctx context.Context, id uint64) error
	TruncateAutomationTriggers(ctx context.Context) error
	LookupAutomationTriggerByID(ctx context.Context, id uint64) (*automationType.Trigger, error)
}

type AutomationWorkflows

type AutomationWorkflows interface {
	SearchAutomationWorkflows(ctx context.Context, f automationType.WorkflowFilter) (automationType.WorkflowSet, automationType.WorkflowFilter, error)
	CreateAutomationWorkflow(ctx context.Context, rr ...*automationType.Workflow) error
	UpdateAutomationWorkflow(ctx context.Context, rr ...*automationType.Workflow) error
	UpsertAutomationWorkflow(ctx context.Context, rr ...*automationType.Workflow) error
	DeleteAutomationWorkflow(ctx context.Context, rr ...*automationType.Workflow) error

	DeleteAutomationWorkflowByID(ctx context.Context, id uint64) error
	TruncateAutomationWorkflows(ctx context.Context) error
	LookupAutomationWorkflowByID(ctx context.Context, id uint64) (*automationType.Workflow, error)
	LookupAutomationWorkflowByHandle(ctx context.Context, handle string) (*automationType.Workflow, error)
}

type ComposeAttachments

type ComposeAttachments interface {
	SearchComposeAttachments(ctx context.Context, f composeType.AttachmentFilter) (composeType.AttachmentSet, composeType.AttachmentFilter, error)
	CreateComposeAttachment(ctx context.Context, rr ...*composeType.Attachment) error
	UpdateComposeAttachment(ctx context.Context, rr ...*composeType.Attachment) error
	UpsertComposeAttachment(ctx context.Context, rr ...*composeType.Attachment) error
	DeleteComposeAttachment(ctx context.Context, rr ...*composeType.Attachment) error

	DeleteComposeAttachmentByID(ctx context.Context, id uint64) error
	TruncateComposeAttachments(ctx context.Context) error
	LookupComposeAttachmentByID(ctx context.Context, id uint64) (*composeType.Attachment, error)
}

type ComposeCharts

type ComposeCharts interface {
	SearchComposeCharts(ctx context.Context, f composeType.ChartFilter) (composeType.ChartSet, composeType.ChartFilter, error)
	CreateComposeChart(ctx context.Context, rr ...*composeType.Chart) error
	UpdateComposeChart(ctx context.Context, rr ...*composeType.Chart) error
	UpsertComposeChart(ctx context.Context, rr ...*composeType.Chart) error
	DeleteComposeChart(ctx context.Context, rr ...*composeType.Chart) error

	DeleteComposeChartByID(ctx context.Context, id uint64) error
	TruncateComposeCharts(ctx context.Context) error
	LookupComposeChartByID(ctx context.Context, id uint64) (*composeType.Chart, error)
	LookupComposeChartByNamespaceIDHandle(ctx context.Context, namespaceID uint64, handle string) (*composeType.Chart, error)
}

type ComposeModuleFields

type ComposeModuleFields interface {
	SearchComposeModuleFields(ctx context.Context, f composeType.ModuleFieldFilter) (composeType.ModuleFieldSet, composeType.ModuleFieldFilter, error)
	CreateComposeModuleField(ctx context.Context, rr ...*composeType.ModuleField) error
	UpdateComposeModuleField(ctx context.Context, rr ...*composeType.ModuleField) error
	UpsertComposeModuleField(ctx context.Context, rr ...*composeType.ModuleField) error
	DeleteComposeModuleField(ctx context.Context, rr ...*composeType.ModuleField) error

	DeleteComposeModuleFieldByID(ctx context.Context, id uint64) error
	TruncateComposeModuleFields(ctx context.Context) error
	LookupComposeModuleFieldByModuleIDName(ctx context.Context, moduleID uint64, name string) (*composeType.ModuleField, error)
	LookupComposeModuleFieldByID(ctx context.Context, id uint64) (*composeType.ModuleField, error)
}

type ComposeModules

type ComposeModules interface {
	SearchComposeModules(ctx context.Context, f composeType.ModuleFilter) (composeType.ModuleSet, composeType.ModuleFilter, error)
	CreateComposeModule(ctx context.Context, rr ...*composeType.Module) error
	UpdateComposeModule(ctx context.Context, rr ...*composeType.Module) error
	UpsertComposeModule(ctx context.Context, rr ...*composeType.Module) error
	DeleteComposeModule(ctx context.Context, rr ...*composeType.Module) error

	DeleteComposeModuleByID(ctx context.Context, id uint64) error
	TruncateComposeModules(ctx context.Context) error
	LookupComposeModuleByNamespaceIDHandle(ctx context.Context, namespaceID uint64, handle string) (*composeType.Module, error)
	LookupComposeModuleByNamespaceIDName(ctx context.Context, namespaceID uint64, name string) (*composeType.Module, error)
	LookupComposeModuleByID(ctx context.Context, id uint64) (*composeType.Module, error)
}

type ComposeNamespaces

type ComposeNamespaces interface {
	SearchComposeNamespaces(ctx context.Context, f composeType.NamespaceFilter) (composeType.NamespaceSet, composeType.NamespaceFilter, error)
	CreateComposeNamespace(ctx context.Context, rr ...*composeType.Namespace) error
	UpdateComposeNamespace(ctx context.Context, rr ...*composeType.Namespace) error
	UpsertComposeNamespace(ctx context.Context, rr ...*composeType.Namespace) error
	DeleteComposeNamespace(ctx context.Context, rr ...*composeType.Namespace) error

	DeleteComposeNamespaceByID(ctx context.Context, id uint64) error
	TruncateComposeNamespaces(ctx context.Context) error
	LookupComposeNamespaceBySlug(ctx context.Context, slug string) (*composeType.Namespace, error)
	LookupComposeNamespaceByID(ctx context.Context, id uint64) (*composeType.Namespace, error)
}

type ComposePageLayouts

type ComposePageLayouts interface {
	SearchComposePageLayouts(ctx context.Context, f composeType.PageLayoutFilter) (composeType.PageLayoutSet, composeType.PageLayoutFilter, error)
	CreateComposePageLayout(ctx context.Context, rr ...*composeType.PageLayout) error
	UpdateComposePageLayout(ctx context.Context, rr ...*composeType.PageLayout) error
	UpsertComposePageLayout(ctx context.Context, rr ...*composeType.PageLayout) error
	DeleteComposePageLayout(ctx context.Context, rr ...*composeType.PageLayout) error

	DeleteComposePageLayoutByID(ctx context.Context, id uint64) error
	TruncateComposePageLayouts(ctx context.Context) error
	LookupComposePageLayoutByNamespaceIDHandle(ctx context.Context, namespaceID uint64, handle string) (*composeType.PageLayout, error)
	LookupComposePageLayoutByNamespaceIDPageIDHandle(ctx context.Context, namespaceID uint64, pageID uint64, handle string) (*composeType.PageLayout, error)
	LookupComposePageLayoutByID(ctx context.Context, id uint64) (*composeType.PageLayout, error)
	ReorderComposePageLayouts(ctx context.Context, namespace_id uint64, page_id uint64, page_layout_ids []uint64) error
}

type ComposePages

type ComposePages interface {
	SearchComposePages(ctx context.Context, f composeType.PageFilter) (composeType.PageSet, composeType.PageFilter, error)
	CreateComposePage(ctx context.Context, rr ...*composeType.Page) error
	UpdateComposePage(ctx context.Context, rr ...*composeType.Page) error
	UpsertComposePage(ctx context.Context, rr ...*composeType.Page) error
	DeleteComposePage(ctx context.Context, rr ...*composeType.Page) error

	DeleteComposePageByID(ctx context.Context, id uint64) error
	TruncateComposePages(ctx context.Context) error
	LookupComposePageByNamespaceIDHandle(ctx context.Context, namespaceID uint64, handle string) (*composeType.Page, error)
	LookupComposePageByNamespaceIDModuleID(ctx context.Context, namespaceID uint64, moduleID uint64) (*composeType.Page, error)
	LookupComposePageByID(ctx context.Context, id uint64) (*composeType.Page, error)
	ReorderComposePages(ctx context.Context, namespace_id uint64, parent_id uint64, page_ids []uint64) error
}

type ConnectorFn

type ConnectorFn func(ctx context.Context, dsn string) (s Storer, err error)

type Credentials

type Credentials interface {
	SearchCredentials(ctx context.Context, f systemType.CredentialFilter) (systemType.CredentialSet, systemType.CredentialFilter, error)
	CreateCredential(ctx context.Context, rr ...*systemType.Credential) error
	UpdateCredential(ctx context.Context, rr ...*systemType.Credential) error
	UpsertCredential(ctx context.Context, rr ...*systemType.Credential) error
	DeleteCredential(ctx context.Context, rr ...*systemType.Credential) error

	DeleteCredentialByID(ctx context.Context, id uint64) error
	TruncateCredentials(ctx context.Context) error
	LookupCredentialByID(ctx context.Context, id uint64) (*systemType.Credential, error)
}

type DDL

type DDL interface {
	// EnsureModel ensures model exists in the store in form of a collection or a database table
	//
	// This includes all model's attributes, constraints and indexes.
	// All must exist and be of the right type.
	EnsureModel(model *dal.Model) error
}

type DalConnections

type DalConnections interface {
	SearchDalConnections(ctx context.Context, f systemType.DalConnectionFilter) (systemType.DalConnectionSet, systemType.DalConnectionFilter, error)
	CreateDalConnection(ctx context.Context, rr ...*systemType.DalConnection) error
	UpdateDalConnection(ctx context.Context, rr ...*systemType.DalConnection) error
	UpsertDalConnection(ctx context.Context, rr ...*systemType.DalConnection) error
	DeleteDalConnection(ctx context.Context, rr ...*systemType.DalConnection) error

	DeleteDalConnectionByID(ctx context.Context, id uint64) error
	TruncateDalConnections(ctx context.Context) error
	LookupDalConnectionByID(ctx context.Context, id uint64) (*systemType.DalConnection, error)
	LookupDalConnectionByHandle(ctx context.Context, handle string) (*systemType.DalConnection, error)
}

type DalSchemaAlterations

type DalSchemaAlterations interface {
	SearchDalSchemaAlterations(ctx context.Context, f systemType.DalSchemaAlterationFilter) (systemType.DalSchemaAlterationSet, systemType.DalSchemaAlterationFilter, error)
	CreateDalSchemaAlteration(ctx context.Context, rr ...*systemType.DalSchemaAlteration) error
	UpdateDalSchemaAlteration(ctx context.Context, rr ...*systemType.DalSchemaAlteration) error
	UpsertDalSchemaAlteration(ctx context.Context, rr ...*systemType.DalSchemaAlteration) error
	DeleteDalSchemaAlteration(ctx context.Context, rr ...*systemType.DalSchemaAlteration) error

	DeleteDalSchemaAlterationByID(ctx context.Context, id uint64) error
	TruncateDalSchemaAlterations(ctx context.Context) error
	LookupDalSchemaAlterationByID(ctx context.Context, id uint64) (*systemType.DalSchemaAlteration, error)
}

type DalSensitivityLevels

type DalSensitivityLevels interface {
	SearchDalSensitivityLevels(ctx context.Context, f systemType.DalSensitivityLevelFilter) (systemType.DalSensitivityLevelSet, systemType.DalSensitivityLevelFilter, error)
	CreateDalSensitivityLevel(ctx context.Context, rr ...*systemType.DalSensitivityLevel) error
	UpdateDalSensitivityLevel(ctx context.Context, rr ...*systemType.DalSensitivityLevel) error
	UpsertDalSensitivityLevel(ctx context.Context, rr ...*systemType.DalSensitivityLevel) error
	DeleteDalSensitivityLevel(ctx context.Context, rr ...*systemType.DalSensitivityLevel) error

	DeleteDalSensitivityLevelByID(ctx context.Context, id uint64) error
	TruncateDalSensitivityLevels(ctx context.Context) error
	LookupDalSensitivityLevelByID(ctx context.Context, id uint64) (*systemType.DalSensitivityLevel, error)
}

type DataPrivacyRequestComments

type DataPrivacyRequestComments interface {
	SearchDataPrivacyRequestComments(ctx context.Context, f systemType.DataPrivacyRequestCommentFilter) (systemType.DataPrivacyRequestCommentSet, systemType.DataPrivacyRequestCommentFilter, error)
	CreateDataPrivacyRequestComment(ctx context.Context, rr ...*systemType.DataPrivacyRequestComment) error
	UpdateDataPrivacyRequestComment(ctx context.Context, rr ...*systemType.DataPrivacyRequestComment) error
	UpsertDataPrivacyRequestComment(ctx context.Context, rr ...*systemType.DataPrivacyRequestComment) error
	DeleteDataPrivacyRequestComment(ctx context.Context, rr ...*systemType.DataPrivacyRequestComment) error

	DeleteDataPrivacyRequestCommentByID(ctx context.Context, id uint64) error
	TruncateDataPrivacyRequestComments(ctx context.Context) error
}

type DataPrivacyRequests

type DataPrivacyRequests interface {
	SearchDataPrivacyRequests(ctx context.Context, f systemType.DataPrivacyRequestFilter) (systemType.DataPrivacyRequestSet, systemType.DataPrivacyRequestFilter, error)
	CreateDataPrivacyRequest(ctx context.Context, rr ...*systemType.DataPrivacyRequest) error
	UpdateDataPrivacyRequest(ctx context.Context, rr ...*systemType.DataPrivacyRequest) error
	UpsertDataPrivacyRequest(ctx context.Context, rr ...*systemType.DataPrivacyRequest) error
	DeleteDataPrivacyRequest(ctx context.Context, rr ...*systemType.DataPrivacyRequest) error

	DeleteDataPrivacyRequestByID(ctx context.Context, id uint64) error
	TruncateDataPrivacyRequests(ctx context.Context) error
	LookupDataPrivacyRequestByID(ctx context.Context, id uint64) (*systemType.DataPrivacyRequest, error)
}

type ErrorHandler

type ErrorHandler func(error) error

ErrorHandler each implementation can have internal error handler that can translate impl. specific errors like transaction

type FederationExposedModules

type FederationExposedModules interface {
	SearchFederationExposedModules(ctx context.Context, f federationType.ExposedModuleFilter) (federationType.ExposedModuleSet, federationType.ExposedModuleFilter, error)
	CreateFederationExposedModule(ctx context.Context, rr ...*federationType.ExposedModule) error
	UpdateFederationExposedModule(ctx context.Context, rr ...*federationType.ExposedModule) error
	UpsertFederationExposedModule(ctx context.Context, rr ...*federationType.ExposedModule) error
	DeleteFederationExposedModule(ctx context.Context, rr ...*federationType.ExposedModule) error

	DeleteFederationExposedModuleByID(ctx context.Context, id uint64) error
	TruncateFederationExposedModules(ctx context.Context) error
	LookupFederationExposedModuleByID(ctx context.Context, id uint64) (*federationType.ExposedModule, error)
}

type FederationModuleMappings

type FederationModuleMappings interface {
	SearchFederationModuleMappings(ctx context.Context, f federationType.ModuleMappingFilter) (federationType.ModuleMappingSet, federationType.ModuleMappingFilter, error)
	CreateFederationModuleMapping(ctx context.Context, rr ...*federationType.ModuleMapping) error
	UpdateFederationModuleMapping(ctx context.Context, rr ...*federationType.ModuleMapping) error
	UpsertFederationModuleMapping(ctx context.Context, rr ...*federationType.ModuleMapping) error
	DeleteFederationModuleMapping(ctx context.Context, rr ...*federationType.ModuleMapping) error

	TruncateFederationModuleMappings(ctx context.Context) error
	LookupFederationModuleMappingByFederationModuleIDComposeModuleIDComposeNamespaceID(ctx context.Context, federationModuleID uint64, composeModuleID uint64, composeNamespaceID uint64) (*federationType.ModuleMapping, error)
	LookupFederationModuleMappingByFederationModuleID(ctx context.Context, federationModuleID uint64) (*federationType.ModuleMapping, error)
}

type FederationNodeSyncs

type FederationNodeSyncs interface {
	SearchFederationNodeSyncs(ctx context.Context, f federationType.NodeSyncFilter) (federationType.NodeSyncSet, federationType.NodeSyncFilter, error)
	CreateFederationNodeSync(ctx context.Context, rr ...*federationType.NodeSync) error
	UpdateFederationNodeSync(ctx context.Context, rr ...*federationType.NodeSync) error
	UpsertFederationNodeSync(ctx context.Context, rr ...*federationType.NodeSync) error
	DeleteFederationNodeSync(ctx context.Context, rr ...*federationType.NodeSync) error

	DeleteFederationNodeSyncByNodeID(ctx context.Context, nodeID uint64) error
	TruncateFederationNodeSyncs(ctx context.Context) error
	LookupFederationNodeSyncByNodeID(ctx context.Context, nodeID uint64) (*federationType.NodeSync, error)
	LookupFederationNodeSyncByNodeIDModuleIDSyncTypeSyncStatus(ctx context.Context, nodeID uint64, moduleID uint64, syncType string, syncStatus string) (*federationType.NodeSync, error)
}

type FederationNodes

type FederationNodes interface {
	SearchFederationNodes(ctx context.Context, f federationType.NodeFilter) (federationType.NodeSet, federationType.NodeFilter, error)
	CreateFederationNode(ctx context.Context, rr ...*federationType.Node) error
	UpdateFederationNode(ctx context.Context, rr ...*federationType.Node) error
	UpsertFederationNode(ctx context.Context, rr ...*federationType.Node) error
	DeleteFederationNode(ctx context.Context, rr ...*federationType.Node) error

	DeleteFederationNodeByID(ctx context.Context, id uint64) error
	TruncateFederationNodes(ctx context.Context) error
	LookupFederationNodeByID(ctx context.Context, id uint64) (*federationType.Node, error)
	LookupFederationNodeByBaseURLSharedNodeID(ctx context.Context, baseURL string, sharedNodeID uint64) (*federationType.Node, error)
	LookupFederationNodeBySharedNodeID(ctx context.Context, sharedNodeID uint64) (*federationType.Node, error)
}

type FederationSharedModules

type FederationSharedModules interface {
	SearchFederationSharedModules(ctx context.Context, f federationType.SharedModuleFilter) (federationType.SharedModuleSet, federationType.SharedModuleFilter, error)
	CreateFederationSharedModule(ctx context.Context, rr ...*federationType.SharedModule) error
	UpdateFederationSharedModule(ctx context.Context, rr ...*federationType.SharedModule) error
	UpsertFederationSharedModule(ctx context.Context, rr ...*federationType.SharedModule) error
	DeleteFederationSharedModule(ctx context.Context, rr ...*federationType.SharedModule) error

	DeleteFederationSharedModuleByID(ctx context.Context, id uint64) error
	TruncateFederationSharedModules(ctx context.Context) error
	LookupFederationSharedModuleByID(ctx context.Context, id uint64) (*federationType.SharedModule, error)
}

type Flags

type Flags interface {
	SearchFlags(ctx context.Context, f flagType.FlagFilter) (flagType.FlagSet, flagType.FlagFilter, error)
	CreateFlag(ctx context.Context, rr ...*flagType.Flag) error
	UpdateFlag(ctx context.Context, rr ...*flagType.Flag) error
	UpsertFlag(ctx context.Context, rr ...*flagType.Flag) error
	DeleteFlag(ctx context.Context, rr ...*flagType.Flag) error

	DeleteFlagByKindResourceIDOwnedByName(ctx context.Context, kind string, resourceID uint64, ownedBy uint64, name string) error
	TruncateFlags(ctx context.Context) error
	LookupFlagByKindResourceIDOwnedByName(ctx context.Context, kind string, resourceID uint64, ownedBy uint64, name string) (*flagType.Flag, error)
}

type Labels

type Labels interface {
	SearchLabels(ctx context.Context, f labelsType.LabelFilter) (labelsType.LabelSet, labelsType.LabelFilter, error)
	CreateLabel(ctx context.Context, rr ...*labelsType.Label) error
	UpdateLabel(ctx context.Context, rr ...*labelsType.Label) error
	UpsertLabel(ctx context.Context, rr ...*labelsType.Label) error
	DeleteLabel(ctx context.Context, rr ...*labelsType.Label) error

	DeleteLabelByKindResourceIDName(ctx context.Context, kind string, resourceID uint64, name string) error
	TruncateLabels(ctx context.Context) error
	LookupLabelByKindResourceIDName(ctx context.Context, kind string, resourceID uint64, name string) (*labelsType.Label, error)
	DeleteExtraLabels(ctx context.Context, kind string, resourceId uint64, name ...string) error
}

type QueueMessages

type QueueMessages interface {
	SearchQueueMessages(ctx context.Context, f systemType.QueueMessageFilter) (systemType.QueueMessageSet, systemType.QueueMessageFilter, error)
	CreateQueueMessage(ctx context.Context, rr ...*systemType.QueueMessage) error
	UpdateQueueMessage(ctx context.Context, rr ...*systemType.QueueMessage) error
	UpsertQueueMessage(ctx context.Context, rr ...*systemType.QueueMessage) error
	DeleteQueueMessage(ctx context.Context, rr ...*systemType.QueueMessage) error

	DeleteQueueMessageByID(ctx context.Context, id uint64) error
	TruncateQueueMessages(ctx context.Context) error
}

type Queues

type Queues interface {
	SearchQueues(ctx context.Context, f systemType.QueueFilter) (systemType.QueueSet, systemType.QueueFilter, error)
	CreateQueue(ctx context.Context, rr ...*systemType.Queue) error
	UpdateQueue(ctx context.Context, rr ...*systemType.Queue) error
	UpsertQueue(ctx context.Context, rr ...*systemType.Queue) error
	DeleteQueue(ctx context.Context, rr ...*systemType.Queue) error

	DeleteQueueByID(ctx context.Context, id uint64) error
	TruncateQueues(ctx context.Context) error
	LookupQueueByID(ctx context.Context, id uint64) (*systemType.Queue, error)
	LookupQueueByQueue(ctx context.Context, queue string) (*systemType.Queue, error)
}

type RbacRules

type RbacRules interface {
	SearchRbacRules(ctx context.Context, f rbacType.RuleFilter) (rbacType.RuleSet, rbacType.RuleFilter, error)
	CreateRbacRule(ctx context.Context, rr ...*rbacType.Rule) error
	UpdateRbacRule(ctx context.Context, rr ...*rbacType.Rule) error
	UpsertRbacRule(ctx context.Context, rr ...*rbacType.Rule) error
	DeleteRbacRule(ctx context.Context, rr ...*rbacType.Rule) error

	DeleteRbacRuleByRoleIDResourceOperation(ctx context.Context, roleID uint64, resource string, operation string) error
	TruncateRbacRules(ctx context.Context) error
	TransferRbacRules(ctx context.Context, src uint64, dst uint64) error
}

type Reminders

type Reminders interface {
	SearchReminders(ctx context.Context, f systemType.ReminderFilter) (systemType.ReminderSet, systemType.ReminderFilter, error)
	CreateReminder(ctx context.Context, rr ...*systemType.Reminder) error
	UpdateReminder(ctx context.Context, rr ...*systemType.Reminder) error
	UpsertReminder(ctx context.Context, rr ...*systemType.Reminder) error
	DeleteReminder(ctx context.Context, rr ...*systemType.Reminder) error

	DeleteReminderByID(ctx context.Context, id uint64) error
	TruncateReminders(ctx context.Context) error
	LookupReminderByID(ctx context.Context, id uint64) (*systemType.Reminder, error)
}

type Reports

type Reports interface {
	SearchReports(ctx context.Context, f systemType.ReportFilter) (systemType.ReportSet, systemType.ReportFilter, error)
	CreateReport(ctx context.Context, rr ...*systemType.Report) error
	UpdateReport(ctx context.Context, rr ...*systemType.Report) error
	UpsertReport(ctx context.Context, rr ...*systemType.Report) error
	DeleteReport(ctx context.Context, rr ...*systemType.Report) error

	DeleteReportByID(ctx context.Context, id uint64) error
	TruncateReports(ctx context.Context) error
	LookupReportByID(ctx context.Context, id uint64) (*systemType.Report, error)
	LookupReportByHandle(ctx context.Context, handle string) (*systemType.Report, error)
}

type ResourceActivitys

type ResourceActivitys interface {
	SearchResourceActivitys(ctx context.Context, f discoveryType.ResourceActivityFilter) (discoveryType.ResourceActivitySet, discoveryType.ResourceActivityFilter, error)
	CreateResourceActivity(ctx context.Context, rr ...*discoveryType.ResourceActivity) error
	UpdateResourceActivity(ctx context.Context, rr ...*discoveryType.ResourceActivity) error
	UpsertResourceActivity(ctx context.Context, rr ...*discoveryType.ResourceActivity) error
	DeleteResourceActivity(ctx context.Context, rr ...*discoveryType.ResourceActivity) error

	DeleteResourceActivityByID(ctx context.Context, id uint64) error
	TruncateResourceActivitys(ctx context.Context) error
}

type ResourceTranslations

type ResourceTranslations interface {
	SearchResourceTranslations(ctx context.Context, f systemType.ResourceTranslationFilter) (systemType.ResourceTranslationSet, systemType.ResourceTranslationFilter, error)
	CreateResourceTranslation(ctx context.Context, rr ...*systemType.ResourceTranslation) error
	UpdateResourceTranslation(ctx context.Context, rr ...*systemType.ResourceTranslation) error
	UpsertResourceTranslation(ctx context.Context, rr ...*systemType.ResourceTranslation) error
	DeleteResourceTranslation(ctx context.Context, rr ...*systemType.ResourceTranslation) error

	DeleteResourceTranslationByID(ctx context.Context, id uint64) error
	TruncateResourceTranslations(ctx context.Context) error
	LookupResourceTranslationByID(ctx context.Context, id uint64) (*systemType.ResourceTranslation, error)
	TransformResource(ctx context.Context, lang language.Tag) (map[string]map[string]*locale.ResourceTranslation, error)
}

type RoleMembers

type RoleMembers interface {
	SearchRoleMembers(ctx context.Context, f systemType.RoleMemberFilter) (systemType.RoleMemberSet, systemType.RoleMemberFilter, error)
	CreateRoleMember(ctx context.Context, rr ...*systemType.RoleMember) error
	UpdateRoleMember(ctx context.Context, rr ...*systemType.RoleMember) error
	UpsertRoleMember(ctx context.Context, rr ...*systemType.RoleMember) error
	DeleteRoleMember(ctx context.Context, rr ...*systemType.RoleMember) error

	DeleteRoleMemberByUserIDRoleID(ctx context.Context, userID uint64, roleID uint64) error
	TruncateRoleMembers(ctx context.Context) error
	TransferRoleMembers(ctx context.Context, src uint64, dst uint64) error
}

type Roles

type Roles interface {
	SearchRoles(ctx context.Context, f systemType.RoleFilter) (systemType.RoleSet, systemType.RoleFilter, error)
	CreateRole(ctx context.Context, rr ...*systemType.Role) error
	UpdateRole(ctx context.Context, rr ...*systemType.Role) error
	UpsertRole(ctx context.Context, rr ...*systemType.Role) error
	DeleteRole(ctx context.Context, rr ...*systemType.Role) error

	DeleteRoleByID(ctx context.Context, id uint64) error
	TruncateRoles(ctx context.Context) error
	LookupRoleByID(ctx context.Context, id uint64) (*systemType.Role, error)
	LookupRoleByHandle(ctx context.Context, handle string) (*systemType.Role, error)
	LookupRoleByName(ctx context.Context, name string) (*systemType.Role, error)
	RoleMetrics(ctx context.Context) (*systemType.RoleMetrics, error)
}

type SettingValues

type SettingValues interface {
	SearchSettingValues(ctx context.Context, f systemType.SettingsFilter) (systemType.SettingValueSet, systemType.SettingsFilter, error)
	CreateSettingValue(ctx context.Context, rr ...*systemType.SettingValue) error
	UpdateSettingValue(ctx context.Context, rr ...*systemType.SettingValue) error
	UpsertSettingValue(ctx context.Context, rr ...*systemType.SettingValue) error
	DeleteSettingValue(ctx context.Context, rr ...*systemType.SettingValue) error

	DeleteSettingValueByOwnedByName(ctx context.Context, ownedBy uint64, name string) error
	TruncateSettingValues(ctx context.Context) error
	LookupSettingValueByNameOwnedBy(ctx context.Context, name string, ownedBy uint64) (*systemType.SettingValue, error)
}

type Storer

type Storer interface {
	// SetLogger sets new logging facility
	//
	// Store facility should fallback to logger.Default when no logging facility is set
	//
	// Intentionally closely coupled with Zap logger since this is not some public lib
	// and it's highly unlikely we'll support different/multiple logging "backend"
	SetLogger(*zap.Logger)

	// Returns underlying store as DAL connection
	ToDalConn() dal.Connection

	// Tx is a transaction handler
	Tx(context.Context, func(context.Context, Storer) error) error

	// Upgrade store's schema to the latest version
	Upgrade(context.Context) error

	Healthcheck(context.Context) error
	Actionlogs
	ApigwFilters
	ApigwRoutes
	Applications
	Attachments
	AuthClients
	AuthConfirmedClients
	AuthOa2tokens
	AuthSessions
	AutomationSessions
	AutomationTriggers
	AutomationWorkflows
	ComposeAttachments
	ComposeCharts
	ComposeModules
	ComposeModuleFields
	ComposeNamespaces
	ComposePages
	ComposePageLayouts
	Credentials
	DalConnections
	DalSchemaAlterations
	DalSensitivityLevels
	DataPrivacyRequests
	DataPrivacyRequestComments
	FederationExposedModules
	FederationModuleMappings
	FederationNodes
	FederationNodeSyncs
	FederationSharedModules
	Flags
	Labels
	Queues
	QueueMessages
	RbacRules
	Reminders
	Reports
	ResourceActivitys
	ResourceTranslations
	Roles
	RoleMembers
	SettingValues
	Templates
	Users
}

Storer interface combines interfaces of all supported store interfaces

func Connect

func Connect(ctx context.Context, log *zap.Logger, dsn string, isDevelopment bool) (s Storer, err error)

Connect returns store based on dsn from environment.

If you are in development environment, you can use {version} with database name, that will be replaced with build version suppose build version is `20xx.x.x-dev-1` then database_name_{version} will be `database_name_20xx_x_x_dev_1`,

IE. `BUILD_VERSION=20xx.x.x-dev-1` and `DB_DSN=corteza:corteza@tcp(localhost:3306)/corteza_{version}?collation=utf8mb4_general_ci` will be `DB_DSN=corteza:corteza@tcp(localhost:3306)/corteza_20xx_x_x_dev_1?collation=utf8mb4_general_ci`

type Templates

type Templates interface {
	SearchTemplates(ctx context.Context, f systemType.TemplateFilter) (systemType.TemplateSet, systemType.TemplateFilter, error)
	CreateTemplate(ctx context.Context, rr ...*systemType.Template) error
	UpdateTemplate(ctx context.Context, rr ...*systemType.Template) error
	UpsertTemplate(ctx context.Context, rr ...*systemType.Template) error
	DeleteTemplate(ctx context.Context, rr ...*systemType.Template) error

	DeleteTemplateByID(ctx context.Context, id uint64) error
	TruncateTemplates(ctx context.Context) error
	LookupTemplateByID(ctx context.Context, id uint64) (*systemType.Template, error)
	LookupTemplateByHandle(ctx context.Context, handle string) (*systemType.Template, error)
}

type Users

type Users interface {
	SearchUsers(ctx context.Context, f systemType.UserFilter) (systemType.UserSet, systemType.UserFilter, error)
	CreateUser(ctx context.Context, rr ...*systemType.User) error
	UpdateUser(ctx context.Context, rr ...*systemType.User) error
	UpsertUser(ctx context.Context, rr ...*systemType.User) error
	DeleteUser(ctx context.Context, rr ...*systemType.User) error

	DeleteUserByID(ctx context.Context, id uint64) error
	TruncateUsers(ctx context.Context) error
	LookupUserByID(ctx context.Context, id uint64) (*systemType.User, error)
	LookupUserByEmail(ctx context.Context, email string) (*systemType.User, error)
	LookupUserByHandle(ctx context.Context, handle string) (*systemType.User, error)
	LookupUserByUsername(ctx context.Context, username string) (*systemType.User, error)
	CountUsers(ctx context.Context, u systemType.UserFilter) (uint, error)
	UserMetrics(ctx context.Context) (*systemType.UserMetrics, error)
}

Jump to

Keyboard shortcuts

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