Documentation
¶
Index ¶
- Constants
- Variables
- func AddApplicationHook(hookPoint boil.HookPoint, applicationHook ApplicationHook)
- func AddApplicationTypeHook(hookPoint boil.HookPoint, applicationTypeHook ApplicationTypeHook)
- func AddAuditEventHook(hookPoint boil.HookPoint, auditEventHook AuditEventHook)
- func AddExtensionHook(hookPoint boil.HookPoint, extensionHook ExtensionHook)
- func AddExtensionResourceDefinitionHook(hookPoint boil.HookPoint, ...)
- func AddGroupApplicationHook(hookPoint boil.HookPoint, groupApplicationHook GroupApplicationHook)
- func AddGroupApplicationRequestHook(hookPoint boil.HookPoint, ...)
- func AddGroupHierarchyHook(hookPoint boil.HookPoint, groupHierarchyHook GroupHierarchyHook)
- func AddGroupHook(hookPoint boil.HookPoint, groupHook GroupHook)
- func AddGroupMembershipHook(hookPoint boil.HookPoint, groupMembershipHook GroupMembershipHook)
- func AddGroupMembershipRequestHook(hookPoint boil.HookPoint, ...)
- func AddGroupOrganizationHook(hookPoint boil.HookPoint, groupOrganizationHook GroupOrganizationHook)
- func AddNotificationPreferenceHook(hookPoint boil.HookPoint, ...)
- func AddNotificationTargetHook(hookPoint boil.HookPoint, notificationTargetHook NotificationTargetHook)
- func AddNotificationTypeHook(hookPoint boil.HookPoint, notificationTypeHook NotificationTypeHook)
- func AddOrganizationHook(hookPoint boil.HookPoint, organizationHook OrganizationHook)
- func AddSystemExtensionResourceHook(hookPoint boil.HookPoint, ...)
- func AddUserExtensionResourceHook(hookPoint boil.HookPoint, userExtensionResourceHook UserExtensionResourceHook)
- func AddUserHook(hookPoint boil.HookPoint, userHook UserHook)
- func AllExtensionResourceScope() []string
- func AllExtensionStatus() []string
- func AllRequestKind() []string
- func AllUserStatus() []string
- func ApplicationExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ApplicationTypeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ApplicationTypes(mods ...qm.QueryMod) applicationTypeQuery
- func Applications(mods ...qm.QueryMod) applicationQuery
- func AuditEventExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func AuditEvents(mods ...qm.QueryMod) auditEventQuery
- func ExtensionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ExtensionResourceDefinitionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ExtensionResourceDefinitions(mods ...qm.QueryMod) extensionResourceDefinitionQuery
- func Extensions(mods ...qm.QueryMod) extensionQuery
- func GroupApplicationExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func GroupApplicationRequestExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func GroupApplicationRequests(mods ...qm.QueryMod) groupApplicationRequestQuery
- func GroupApplications(mods ...qm.QueryMod) groupApplicationQuery
- func GroupExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func GroupHierarchies(mods ...qm.QueryMod) groupHierarchyQuery
- func GroupHierarchyExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func GroupMembershipExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func GroupMembershipRequestExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func GroupMembershipRequests(mods ...qm.QueryMod) groupMembershipRequestQuery
- func GroupMemberships(mods ...qm.QueryMod) groupMembershipQuery
- func GroupOrganizationExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func GroupOrganizations(mods ...qm.QueryMod) groupOrganizationQuery
- func Groups(mods ...qm.QueryMod) groupQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func NotificationPreferenceExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func NotificationPreferences(mods ...qm.QueryMod) notificationPreferenceQuery
- func NotificationTargetExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func NotificationTargets(mods ...qm.QueryMod) notificationTargetQuery
- func NotificationTypeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func NotificationTypes(mods ...qm.QueryMod) notificationTypeQuery
- func OrganizationExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func Organizations(mods ...qm.QueryMod) organizationQuery
- func SystemExtensionResourceExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func SystemExtensionResources(mods ...qm.QueryMod) systemExtensionResourceQuery
- func UserExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserExtensionResourceExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserExtensionResources(mods ...qm.QueryMod) userExtensionResourceQuery
- func Users(mods ...qm.QueryMod) userQuery
- type Application
- func (o *Application) AddGroupApplicationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Application) AddGroupApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Application) AddSubjectApplicationAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Application) ApproverGroup(mods ...qm.QueryMod) groupQuery
- func (o *Application) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Application) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Application) GetApproverGroup() *Group
- func (o *Application) GetGroupApplicationRequests() GroupApplicationRequestSlice
- func (o *Application) GetGroupApplications() GroupApplicationSlice
- func (o *Application) GetSubjectApplicationAuditEvents() AuditEventSlice
- func (o *Application) GetType() *ApplicationType
- func (o *Application) GroupApplicationRequests(mods ...qm.QueryMod) groupApplicationRequestQuery
- func (o *Application) GroupApplications(mods ...qm.QueryMod) groupApplicationQuery
- func (o *Application) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Application) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Application) RemoveApproverGroup(ctx context.Context, exec boil.ContextExecutor, related *Group) error
- func (o *Application) RemoveSubjectApplicationAuditEvents(ctx context.Context, exec boil.ContextExecutor, related ...*AuditEvent) error
- func (o *Application) RemoveType(ctx context.Context, exec boil.ContextExecutor, related *ApplicationType) error
- func (o *Application) SetApproverGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *Application) SetSubjectApplicationAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Application) SetType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Application) SubjectApplicationAuditEvents(mods ...qm.QueryMod) auditEventQuery
- func (o *Application) Type(mods ...qm.QueryMod) applicationTypeQuery
- func (o *Application) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Application) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type ApplicationHook
- type ApplicationSlice
- func (o ApplicationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *ApplicationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ApplicationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type ApplicationType
- func (o *ApplicationType) AddTypeApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ApplicationType) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *ApplicationType) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *ApplicationType) GetTypeApplications() ApplicationSlice
- func (o *ApplicationType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ApplicationType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ApplicationType) RemoveTypeApplications(ctx context.Context, exec boil.ContextExecutor, related ...*Application) error
- func (o *ApplicationType) SetTypeApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ApplicationType) TypeApplications(mods ...qm.QueryMod) applicationQuery
- func (o *ApplicationType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *ApplicationType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type ApplicationTypeHook
- type ApplicationTypeSlice
- func (o ApplicationTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *ApplicationTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ApplicationTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type AuditEvent
- func (o *AuditEvent) Actor(mods ...qm.QueryMod) userQuery
- func (o *AuditEvent) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *AuditEvent) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *AuditEvent) GetActor() *User
- func (o *AuditEvent) GetSubjectApplication() *Application
- func (o *AuditEvent) GetSubjectGroup() *Group
- func (o *AuditEvent) GetSubjectOrganization() *Organization
- func (o *AuditEvent) GetSubjectUser() *User
- func (o *AuditEvent) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *AuditEvent) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AuditEvent) RemoveActor(ctx context.Context, exec boil.ContextExecutor, related *User) error
- func (o *AuditEvent) RemoveSubjectApplication(ctx context.Context, exec boil.ContextExecutor, related *Application) error
- func (o *AuditEvent) RemoveSubjectGroup(ctx context.Context, exec boil.ContextExecutor, related *Group) error
- func (o *AuditEvent) RemoveSubjectOrganization(ctx context.Context, exec boil.ContextExecutor, related *Organization) error
- func (o *AuditEvent) RemoveSubjectUser(ctx context.Context, exec boil.ContextExecutor, related *User) error
- func (o *AuditEvent) SetActor(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *AuditEvent) SetSubjectApplication(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *AuditEvent) SetSubjectGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *AuditEvent) SetSubjectOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *AuditEvent) SetSubjectUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *AuditEvent) SubjectApplication(mods ...qm.QueryMod) applicationQuery
- func (o *AuditEvent) SubjectGroup(mods ...qm.QueryMod) groupQuery
- func (o *AuditEvent) SubjectOrganization(mods ...qm.QueryMod) organizationQuery
- func (o *AuditEvent) SubjectUser(mods ...qm.QueryMod) userQuery
- func (o *AuditEvent) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *AuditEvent) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type AuditEventHook
- type AuditEventSlice
- type Extension
- func (o *Extension) AddExtensionResourceDefinitions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Extension) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Extension) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Extension) ExtensionResourceDefinitions(mods ...qm.QueryMod) extensionResourceDefinitionQuery
- func (o *Extension) GetExtensionResourceDefinitions() ExtensionResourceDefinitionSlice
- func (o *Extension) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Extension) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Extension) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Extension) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type ExtensionHook
- type ExtensionResourceDefinition
- func (o *ExtensionResourceDefinition) AddSystemExtensionResources(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ExtensionResourceDefinition) AddUserExtensionResources(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ExtensionResourceDefinition) AdminGroupGroup(mods ...qm.QueryMod) groupQuery
- func (o *ExtensionResourceDefinition) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *ExtensionResourceDefinition) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *ExtensionResourceDefinition) Extension(mods ...qm.QueryMod) extensionQuery
- func (o *ExtensionResourceDefinition) GetAdminGroupGroup() *Group
- func (o *ExtensionResourceDefinition) GetExtension() *Extension
- func (o *ExtensionResourceDefinition) GetSystemExtensionResources() SystemExtensionResourceSlice
- func (o *ExtensionResourceDefinition) GetUserExtensionResources() UserExtensionResourceSlice
- func (o *ExtensionResourceDefinition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ExtensionResourceDefinition) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ExtensionResourceDefinition) RemoveAdminGroupGroup(ctx context.Context, exec boil.ContextExecutor, related *Group) error
- func (o *ExtensionResourceDefinition) SetAdminGroupGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *ExtensionResourceDefinition) SetExtension(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ExtensionResourceDefinition) SystemExtensionResources(mods ...qm.QueryMod) systemExtensionResourceQuery
- func (o *ExtensionResourceDefinition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *ExtensionResourceDefinition) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *ExtensionResourceDefinition) UserExtensionResources(mods ...qm.QueryMod) userExtensionResourceQuery
- type ExtensionResourceDefinitionHook
- type ExtensionResourceDefinitionSlice
- func (o ExtensionResourceDefinitionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *ExtensionResourceDefinitionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ExtensionResourceDefinitionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type ExtensionSlice
- func (o ExtensionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *ExtensionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ExtensionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type Group
- func (o *Group) AddAdminGroupExtensionResourceDefinitions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddApproverGroupApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddApproverGroupGroupApplicationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddApproverGroupGroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Group) error
- func (o *Group) AddGroupApplicationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddGroupApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddGroupMembershipRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddGroupMemberships(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddGroupOrganizations(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddMemberGroupGroupHierarchies(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddOwnerSystemExtensionResources(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddParentGroupGroupHierarchies(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddSubjectGroupAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AdminGroupExtensionResourceDefinitions(mods ...qm.QueryMod) extensionResourceDefinitionQuery
- func (o *Group) ApproverGroupApplications(mods ...qm.QueryMod) applicationQuery
- func (o *Group) ApproverGroupGroup(mods ...qm.QueryMod) groupQuery
- func (o *Group) ApproverGroupGroupApplicationRequests(mods ...qm.QueryMod) groupApplicationRequestQuery
- func (o *Group) ApproverGroupGroups(mods ...qm.QueryMod) groupQuery
- func (o *Group) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Group) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Group) GetAdminGroupExtensionResourceDefinitions() ExtensionResourceDefinitionSlice
- func (o *Group) GetApproverGroupApplications() ApplicationSlice
- func (o *Group) GetApproverGroupGroup() *Group
- func (o *Group) GetApproverGroupGroupApplicationRequests() GroupApplicationRequestSlice
- func (o *Group) GetApproverGroupGroups() GroupSlice
- func (o *Group) GetGroupApplicationRequests() GroupApplicationRequestSlice
- func (o *Group) GetGroupApplications() GroupApplicationSlice
- func (o *Group) GetGroupMembershipRequests() GroupMembershipRequestSlice
- func (o *Group) GetGroupMemberships() GroupMembershipSlice
- func (o *Group) GetGroupOrganizations() GroupOrganizationSlice
- func (o *Group) GetMemberGroupGroupHierarchies() GroupHierarchySlice
- func (o *Group) GetOwnerSystemExtensionResources() SystemExtensionResourceSlice
- func (o *Group) GetParentGroupGroupHierarchies() GroupHierarchySlice
- func (o *Group) GetSubjectGroupAuditEvents() AuditEventSlice
- func (o *Group) GroupApplicationRequests(mods ...qm.QueryMod) groupApplicationRequestQuery
- func (o *Group) GroupApplications(mods ...qm.QueryMod) groupApplicationQuery
- func (o *Group) GroupMembershipRequests(mods ...qm.QueryMod) groupMembershipRequestQuery
- func (o *Group) GroupMemberships(mods ...qm.QueryMod) groupMembershipQuery
- func (o *Group) GroupOrganizations(mods ...qm.QueryMod) groupOrganizationQuery
- func (o *Group) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Group) MemberGroupGroupHierarchies(mods ...qm.QueryMod) groupHierarchyQuery
- func (o *Group) OwnerSystemExtensionResources(mods ...qm.QueryMod) systemExtensionResourceQuery
- func (o *Group) ParentGroupGroupHierarchies(mods ...qm.QueryMod) groupHierarchyQuery
- func (o *Group) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Group) RemoveAdminGroupExtensionResourceDefinitions(ctx context.Context, exec boil.ContextExecutor, ...) error
- func (o *Group) RemoveApproverGroupApplications(ctx context.Context, exec boil.ContextExecutor, related ...*Application) error
- func (o *Group) RemoveApproverGroupGroup(ctx context.Context, exec boil.ContextExecutor, related *Group) error
- func (o *Group) RemoveApproverGroupGroups(ctx context.Context, exec boil.ContextExecutor, related ...*Group) error
- func (o *Group) RemoveOwnerSystemExtensionResources(ctx context.Context, exec boil.ContextExecutor, ...) error
- func (o *Group) RemoveSubjectGroupAuditEvents(ctx context.Context, exec boil.ContextExecutor, related ...*AuditEvent) error
- func (o *Group) SetAdminGroupExtensionResourceDefinitions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) SetApproverGroupApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) SetApproverGroupGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *Group) SetApproverGroupGroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Group) error
- func (o *Group) SetOwnerSystemExtensionResources(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) SetSubjectGroupAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) SubjectGroupAuditEvents(mods ...qm.QueryMod) auditEventQuery
- func (o *Group) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Group) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type GroupApplication
- func (o *GroupApplication) Application(mods ...qm.QueryMod) applicationQuery
- func (o *GroupApplication) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *GroupApplication) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *GroupApplication) GetApplication() *Application
- func (o *GroupApplication) GetGroup() *Group
- func (o *GroupApplication) Group(mods ...qm.QueryMod) groupQuery
- func (o *GroupApplication) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GroupApplication) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GroupApplication) SetApplication(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *GroupApplication) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *GroupApplication) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GroupApplication) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type GroupApplicationHook
- type GroupApplicationRequest
- func (o *GroupApplicationRequest) Application(mods ...qm.QueryMod) applicationQuery
- func (o *GroupApplicationRequest) ApproverGroup(mods ...qm.QueryMod) groupQuery
- func (o *GroupApplicationRequest) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupApplicationRequest) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *GroupApplicationRequest) GetApplication() *Application
- func (o *GroupApplicationRequest) GetApproverGroup() *Group
- func (o *GroupApplicationRequest) GetGroup() *Group
- func (o *GroupApplicationRequest) GetRequesterUser() *User
- func (o *GroupApplicationRequest) Group(mods ...qm.QueryMod) groupQuery
- func (o *GroupApplicationRequest) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GroupApplicationRequest) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GroupApplicationRequest) RequesterUser(mods ...qm.QueryMod) userQuery
- func (o *GroupApplicationRequest) SetApplication(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *GroupApplicationRequest) SetApproverGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *GroupApplicationRequest) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *GroupApplicationRequest) SetRequesterUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *GroupApplicationRequest) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GroupApplicationRequest) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type GroupApplicationRequestHook
- type GroupApplicationRequestSlice
- func (o GroupApplicationRequestSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupApplicationRequestSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o GroupApplicationRequestSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type GroupApplicationSlice
- func (o GroupApplicationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *GroupApplicationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o GroupApplicationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type GroupHierarchy
- func (o *GroupHierarchy) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupHierarchy) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *GroupHierarchy) GetMemberGroup() *Group
- func (o *GroupHierarchy) GetParentGroup() *Group
- func (o *GroupHierarchy) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GroupHierarchy) MemberGroup(mods ...qm.QueryMod) groupQuery
- func (o *GroupHierarchy) ParentGroup(mods ...qm.QueryMod) groupQuery
- func (o *GroupHierarchy) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GroupHierarchy) SetMemberGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *GroupHierarchy) SetParentGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *GroupHierarchy) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GroupHierarchy) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type GroupHierarchyHook
- type GroupHierarchySlice
- func (o GroupHierarchySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupHierarchySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o GroupHierarchySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type GroupHook
- type GroupMembership
- func (o *GroupMembership) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupMembership) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *GroupMembership) GetGroup() *Group
- func (o *GroupMembership) GetUser() *User
- func (o *GroupMembership) Group(mods ...qm.QueryMod) groupQuery
- func (o *GroupMembership) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GroupMembership) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GroupMembership) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *GroupMembership) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *GroupMembership) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GroupMembership) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *GroupMembership) User(mods ...qm.QueryMod) userQuery
- type GroupMembershipHook
- type GroupMembershipRequest
- func (o *GroupMembershipRequest) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupMembershipRequest) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *GroupMembershipRequest) GetGroup() *Group
- func (o *GroupMembershipRequest) GetUser() *User
- func (o *GroupMembershipRequest) Group(mods ...qm.QueryMod) groupQuery
- func (o *GroupMembershipRequest) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GroupMembershipRequest) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GroupMembershipRequest) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *GroupMembershipRequest) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *GroupMembershipRequest) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GroupMembershipRequest) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *GroupMembershipRequest) User(mods ...qm.QueryMod) userQuery
- type GroupMembershipRequestHook
- type GroupMembershipRequestSlice
- func (o GroupMembershipRequestSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupMembershipRequestSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o GroupMembershipRequestSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type GroupMembershipSlice
- func (o GroupMembershipSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupMembershipSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o GroupMembershipSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type GroupOrganization
- func (o *GroupOrganization) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupOrganization) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *GroupOrganization) GetGroup() *Group
- func (o *GroupOrganization) GetOrganization() *Organization
- func (o *GroupOrganization) Group(mods ...qm.QueryMod) groupQuery
- func (o *GroupOrganization) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GroupOrganization) Organization(mods ...qm.QueryMod) organizationQuery
- func (o *GroupOrganization) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GroupOrganization) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *GroupOrganization) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *GroupOrganization) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GroupOrganization) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type GroupOrganizationHook
- type GroupOrganizationSlice
- func (o GroupOrganizationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupOrganizationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o GroupOrganizationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type GroupSlice
- type M
- type NotificationPreference
- func (o *NotificationPreference) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *NotificationPreference) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *NotificationPreference) GetNotificationTarget() *NotificationTarget
- func (o *NotificationPreference) GetNotificationType() *NotificationType
- func (o *NotificationPreference) GetUser() *User
- func (o *NotificationPreference) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *NotificationPreference) NotificationTarget(mods ...qm.QueryMod) notificationTargetQuery
- func (o *NotificationPreference) NotificationType(mods ...qm.QueryMod) notificationTypeQuery
- func (o *NotificationPreference) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *NotificationPreference) RemoveNotificationTarget(ctx context.Context, exec boil.ContextExecutor, related *NotificationTarget) error
- func (o *NotificationPreference) SetNotificationTarget(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *NotificationPreference) SetNotificationType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *NotificationPreference) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *NotificationPreference) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *NotificationPreference) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *NotificationPreference) User(mods ...qm.QueryMod) userQuery
- type NotificationPreferenceHook
- type NotificationPreferenceSlice
- func (o NotificationPreferenceSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *NotificationPreferenceSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o NotificationPreferenceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type NotificationTarget
- func (o *NotificationTarget) AddNotificationPreferences(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *NotificationTarget) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *NotificationTarget) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *NotificationTarget) GetNotificationPreferences() NotificationPreferenceSlice
- func (o *NotificationTarget) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *NotificationTarget) NotificationPreferences(mods ...qm.QueryMod) notificationPreferenceQuery
- func (o *NotificationTarget) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *NotificationTarget) RemoveNotificationPreferences(ctx context.Context, exec boil.ContextExecutor, ...) error
- func (o *NotificationTarget) SetNotificationPreferences(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *NotificationTarget) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *NotificationTarget) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type NotificationTargetHook
- type NotificationTargetSlice
- func (o NotificationTargetSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *NotificationTargetSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o NotificationTargetSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type NotificationType
- func (o *NotificationType) AddNotificationPreferences(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *NotificationType) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *NotificationType) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *NotificationType) GetNotificationPreferences() NotificationPreferenceSlice
- func (o *NotificationType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *NotificationType) NotificationPreferences(mods ...qm.QueryMod) notificationPreferenceQuery
- func (o *NotificationType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *NotificationType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *NotificationType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type NotificationTypeHook
- type NotificationTypeSlice
- func (o NotificationTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *NotificationTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o NotificationTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type Organization
- func (o *Organization) AddGroupOrganizations(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Organization) AddSubjectOrganizationAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Organization) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Organization) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Organization) GetGroupOrganizations() GroupOrganizationSlice
- func (o *Organization) GetSubjectOrganizationAuditEvents() AuditEventSlice
- func (o *Organization) GroupOrganizations(mods ...qm.QueryMod) groupOrganizationQuery
- func (o *Organization) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Organization) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Organization) RemoveSubjectOrganizationAuditEvents(ctx context.Context, exec boil.ContextExecutor, related ...*AuditEvent) error
- func (o *Organization) SetSubjectOrganizationAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Organization) SubjectOrganizationAuditEvents(mods ...qm.QueryMod) auditEventQuery
- func (o *Organization) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Organization) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type OrganizationHook
- type OrganizationSlice
- func (o OrganizationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *OrganizationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o OrganizationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type SystemExtensionResource
- func (o *SystemExtensionResource) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *SystemExtensionResource) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *SystemExtensionResource) ExtensionResourceDefinition(mods ...qm.QueryMod) extensionResourceDefinitionQuery
- func (o *SystemExtensionResource) GetExtensionResourceDefinition() *ExtensionResourceDefinition
- func (o *SystemExtensionResource) GetOwner() *Group
- func (o *SystemExtensionResource) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *SystemExtensionResource) Owner(mods ...qm.QueryMod) groupQuery
- func (o *SystemExtensionResource) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *SystemExtensionResource) RemoveOwner(ctx context.Context, exec boil.ContextExecutor, related *Group) error
- func (o *SystemExtensionResource) SetExtensionResourceDefinition(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *SystemExtensionResource) SetOwner(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *SystemExtensionResource) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *SystemExtensionResource) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type SystemExtensionResourceHook
- type SystemExtensionResourceSlice
- func (o SystemExtensionResourceSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *SystemExtensionResourceSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o SystemExtensionResourceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type UpsertOptionFunc
- type UpsertOptions
- type User
- func (o *User) ActorAuditEvents(mods ...qm.QueryMod) auditEventQuery
- func (o *User) AddActorAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddGroupMembershipRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddGroupMemberships(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddNotificationPreferences(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddRequesterUserGroupApplicationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddSubjectUserAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddUserExtensionResources(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *User) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *User) GetActorAuditEvents() AuditEventSlice
- func (o *User) GetGroupMembershipRequests() GroupMembershipRequestSlice
- func (o *User) GetGroupMemberships() GroupMembershipSlice
- func (o *User) GetNotificationPreferences() NotificationPreferenceSlice
- func (o *User) GetRequesterUserGroupApplicationRequests() GroupApplicationRequestSlice
- func (o *User) GetSubjectUserAuditEvents() AuditEventSlice
- func (o *User) GetUserExtensionResources() UserExtensionResourceSlice
- func (o *User) GroupMembershipRequests(mods ...qm.QueryMod) groupMembershipRequestQuery
- func (o *User) GroupMemberships(mods ...qm.QueryMod) groupMembershipQuery
- func (o *User) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *User) NotificationPreferences(mods ...qm.QueryMod) notificationPreferenceQuery
- func (o *User) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *User) RemoveActorAuditEvents(ctx context.Context, exec boil.ContextExecutor, related ...*AuditEvent) error
- func (o *User) RemoveSubjectUserAuditEvents(ctx context.Context, exec boil.ContextExecutor, related ...*AuditEvent) error
- func (o *User) RequesterUserGroupApplicationRequests(mods ...qm.QueryMod) groupApplicationRequestQuery
- func (o *User) SetActorAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) SetSubjectUserAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) SubjectUserAuditEvents(mods ...qm.QueryMod) auditEventQuery
- func (o *User) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *User) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *User) UserExtensionResources(mods ...qm.QueryMod) userExtensionResourceQuery
- type UserExtensionResource
- func (o *UserExtensionResource) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *UserExtensionResource) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *UserExtensionResource) ExtensionResourceDefinition(mods ...qm.QueryMod) extensionResourceDefinitionQuery
- func (o *UserExtensionResource) GetExtensionResourceDefinition() *ExtensionResourceDefinition
- func (o *UserExtensionResource) GetUser() *User
- func (o *UserExtensionResource) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserExtensionResource) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserExtensionResource) SetExtensionResourceDefinition(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *UserExtensionResource) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserExtensionResource) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserExtensionResource) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserExtensionResource) User(mods ...qm.QueryMod) userQuery
- type UserExtensionResourceHook
- type UserExtensionResourceSlice
- func (o UserExtensionResourceSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *UserExtensionResourceSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o UserExtensionResourceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type UserHook
- type UserSlice
Constants ¶
const ( ExtensionResourceScopeUser string = "user" ExtensionResourceScopeSystem string = "system" )
Enum values for ExtensionResourceScope
const ( ExtensionStatusOnline string = "online" ExtensionStatusOffline string = "offline" )
Enum values for ExtensionStatus
const ( RequestKindNewMember string = "new_member" RequestKindAdminPromotion string = "admin_promotion" )
Enum values for RequestKind
const ( UserStatusPending string = "pending" UserStatusActive string = "active" UserStatusSuspended string = "suspended" )
Enum values for UserStatus
Variables ¶
var ApplicationColumns = struct { ID string Name string Slug string CreatedAt string UpdatedAt string DeletedAt string ApproverGroupID string TypeID string }{ ID: "id", Name: "name", Slug: "slug", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", ApproverGroupID: "approver_group_id", TypeID: "type_id", }
var ApplicationRels = struct { ApproverGroup string Type string SubjectApplicationAuditEvents string GroupApplicationRequests string GroupApplications string }{ ApproverGroup: "ApproverGroup", Type: "Type", SubjectApplicationAuditEvents: "SubjectApplicationAuditEvents", GroupApplicationRequests: "GroupApplicationRequests", GroupApplications: "GroupApplications", }
ApplicationRels is where relationship names are stored.
var ApplicationTableColumns = struct { ID string Name string Slug string CreatedAt string UpdatedAt string DeletedAt string ApproverGroupID string TypeID string }{ ID: "applications.id", Name: "applications.name", Slug: "applications.slug", CreatedAt: "applications.created_at", UpdatedAt: "applications.updated_at", DeletedAt: "applications.deleted_at", ApproverGroupID: "applications.approver_group_id", TypeID: "applications.type_id", }
var ApplicationTypeColumns = struct { ID string Name string Slug string Description string LogoURL string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", Name: "name", Slug: "slug", Description: "description", LogoURL: "logo_url", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var ApplicationTypeRels = struct { TypeApplications string }{ TypeApplications: "TypeApplications", }
ApplicationTypeRels is where relationship names are stored.
var ApplicationTypeTableColumns = struct { ID string Name string Slug string Description string LogoURL string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "application_types.id", Name: "application_types.name", Slug: "application_types.slug", Description: "application_types.description", LogoURL: "application_types.logo_url", CreatedAt: "application_types.created_at", UpdatedAt: "application_types.updated_at", DeletedAt: "application_types.deleted_at", }
var ApplicationTypeWhere = struct { ID whereHelperstring Name whereHelperstring Slug whereHelperstring Description whereHelperstring LogoURL whereHelpernull_String CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Slug: whereHelperstring{/* contains filtered or unexported fields */}, Description: whereHelperstring{/* contains filtered or unexported fields */}, LogoURL: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var ApplicationWhere = struct { ID whereHelperstring Name whereHelperstring Slug whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time ApproverGroupID whereHelpernull_String TypeID whereHelpernull_String }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Slug: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, ApproverGroupID: whereHelpernull_String{/* contains filtered or unexported fields */}, TypeID: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var AuditEventColumns = struct { ID string ActorID string Action string Message string Changeset string SubjectGroupID string SubjectUserID string CreatedAt string SubjectOrganizationID string SubjectApplicationID string ParentID string }{ ID: "id", ActorID: "actor_id", Action: "action", Message: "message", Changeset: "changeset", SubjectGroupID: "subject_group_id", SubjectUserID: "subject_user_id", CreatedAt: "created_at", SubjectOrganizationID: "subject_organization_id", SubjectApplicationID: "subject_application_id", ParentID: "parent_id", }
var AuditEventRels = struct { SubjectApplication string Actor string SubjectGroup string SubjectOrganization string SubjectUser string }{ SubjectApplication: "SubjectApplication", Actor: "Actor", SubjectGroup: "SubjectGroup", SubjectOrganization: "SubjectOrganization", SubjectUser: "SubjectUser", }
AuditEventRels is where relationship names are stored.
var AuditEventTableColumns = struct { ID string ActorID string Action string Message string Changeset string SubjectGroupID string SubjectUserID string CreatedAt string SubjectOrganizationID string SubjectApplicationID string ParentID string }{ ID: "audit_events.id", ActorID: "audit_events.actor_id", Action: "audit_events.action", Message: "audit_events.message", Changeset: "audit_events.changeset", SubjectGroupID: "audit_events.subject_group_id", SubjectUserID: "audit_events.subject_user_id", CreatedAt: "audit_events.created_at", SubjectOrganizationID: "audit_events.subject_organization_id", SubjectApplicationID: "audit_events.subject_application_id", ParentID: "audit_events.parent_id", }
var AuditEventWhere = struct { ID whereHelperstring ActorID whereHelpernull_String Action whereHelperstring Message whereHelperstring Changeset whereHelpertypes_StringArray SubjectGroupID whereHelpernull_String SubjectUserID whereHelpernull_String CreatedAt whereHelpertime_Time SubjectOrganizationID whereHelpernull_String SubjectApplicationID whereHelpernull_String ParentID whereHelpernull_String }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, ActorID: whereHelpernull_String{/* contains filtered or unexported fields */}, Action: whereHelperstring{/* contains filtered or unexported fields */}, Message: whereHelperstring{/* contains filtered or unexported fields */}, Changeset: whereHelpertypes_StringArray{/* contains filtered or unexported fields */}, SubjectGroupID: whereHelpernull_String{/* contains filtered or unexported fields */}, SubjectUserID: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, SubjectOrganizationID: whereHelpernull_String{/* contains filtered or unexported fields */}, SubjectApplicationID: whereHelpernull_String{/* contains filtered or unexported fields */}, ParentID: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var ExtensionColumns = struct { ID string Name string Description string Enabled string Slug string Status string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", Name: "name", Description: "description", Enabled: "enabled", Slug: "slug", Status: "status", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var ExtensionRels = struct { ExtensionResourceDefinitions string }{ ExtensionResourceDefinitions: "ExtensionResourceDefinitions", }
ExtensionRels is where relationship names are stored.
var ExtensionResourceDefinitionColumns = struct { ID string Name string Description string Enabled string SlugSingular string SlugPlural string Version string Scope string Schema string CreatedAt string UpdatedAt string DeletedAt string ExtensionID string AdminGroup string }{ ID: "id", Name: "name", Description: "description", Enabled: "enabled", SlugSingular: "slug_singular", SlugPlural: "slug_plural", Version: "version", Scope: "scope", Schema: "schema", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", ExtensionID: "extension_id", AdminGroup: "admin_group", }
var ExtensionResourceDefinitionRels = struct { AdminGroupGroup string Extension string SystemExtensionResources string UserExtensionResources string }{ AdminGroupGroup: "AdminGroupGroup", Extension: "Extension", SystemExtensionResources: "SystemExtensionResources", UserExtensionResources: "UserExtensionResources", }
ExtensionResourceDefinitionRels is where relationship names are stored.
var ExtensionResourceDefinitionTableColumns = struct { ID string Name string Description string Enabled string SlugSingular string SlugPlural string Version string Scope string Schema string CreatedAt string UpdatedAt string DeletedAt string ExtensionID string AdminGroup string }{ ID: "extension_resource_definitions.id", Name: "extension_resource_definitions.name", Description: "extension_resource_definitions.description", Enabled: "extension_resource_definitions.enabled", SlugSingular: "extension_resource_definitions.slug_singular", SlugPlural: "extension_resource_definitions.slug_plural", Version: "extension_resource_definitions.version", Scope: "extension_resource_definitions.scope", Schema: "extension_resource_definitions.schema", CreatedAt: "extension_resource_definitions.created_at", UpdatedAt: "extension_resource_definitions.updated_at", DeletedAt: "extension_resource_definitions.deleted_at", ExtensionID: "extension_resource_definitions.extension_id", AdminGroup: "extension_resource_definitions.admin_group", }
var ExtensionResourceDefinitionWhere = struct { ID whereHelperstring Name whereHelperstring Description whereHelperstring Enabled whereHelperbool SlugSingular whereHelperstring SlugPlural whereHelperstring Version whereHelperstring Scope whereHelperstring Schema whereHelpertypes_JSON CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time ExtensionID whereHelperstring AdminGroup whereHelpernull_String }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Description: whereHelperstring{/* contains filtered or unexported fields */}, Enabled: whereHelperbool{/* contains filtered or unexported fields */}, SlugSingular: whereHelperstring{/* contains filtered or unexported fields */}, SlugPlural: whereHelperstring{/* contains filtered or unexported fields */}, Version: whereHelperstring{/* contains filtered or unexported fields */}, Scope: whereHelperstring{/* contains filtered or unexported fields */}, Schema: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, ExtensionID: whereHelperstring{/* contains filtered or unexported fields */}, AdminGroup: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var ExtensionTableColumns = struct { ID string Name string Description string Enabled string Slug string Status string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "extensions.id", Name: "extensions.name", Description: "extensions.description", Enabled: "extensions.enabled", Slug: "extensions.slug", Status: "extensions.status", CreatedAt: "extensions.created_at", UpdatedAt: "extensions.updated_at", DeletedAt: "extensions.deleted_at", }
var ExtensionWhere = struct { ID whereHelperstring Name whereHelperstring Description whereHelperstring Enabled whereHelperbool Slug whereHelperstring Status whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Description: whereHelperstring{/* contains filtered or unexported fields */}, Enabled: whereHelperbool{/* contains filtered or unexported fields */}, Slug: whereHelperstring{/* contains filtered or unexported fields */}, Status: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var GroupApplicationColumns = struct { ID string GroupID string ApplicationID string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", GroupID: "group_id", ApplicationID: "application_id", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var GroupApplicationRels = struct { Application string Group string }{ Application: "Application", Group: "Group", }
GroupApplicationRels is where relationship names are stored.
var GroupApplicationRequestColumns = struct { ID string GroupID string ApplicationID string ApproverGroupID string RequesterUserID string Note string CreatedAt string UpdatedAt string }{ ID: "id", GroupID: "group_id", ApplicationID: "application_id", ApproverGroupID: "approver_group_id", RequesterUserID: "requester_user_id", Note: "note", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var GroupApplicationRequestRels = struct { Application string ApproverGroup string Group string RequesterUser string }{ Application: "Application", ApproverGroup: "ApproverGroup", Group: "Group", RequesterUser: "RequesterUser", }
GroupApplicationRequestRels is where relationship names are stored.
var GroupApplicationRequestTableColumns = struct { ID string GroupID string ApplicationID string ApproverGroupID string RequesterUserID string Note string CreatedAt string UpdatedAt string }{ ID: "group_application_requests.id", GroupID: "group_application_requests.group_id", ApplicationID: "group_application_requests.application_id", ApproverGroupID: "group_application_requests.approver_group_id", RequesterUserID: "group_application_requests.requester_user_id", Note: "group_application_requests.note", CreatedAt: "group_application_requests.created_at", UpdatedAt: "group_application_requests.updated_at", }
var GroupApplicationRequestWhere = struct { ID whereHelperstring GroupID whereHelperstring ApplicationID whereHelperstring ApproverGroupID whereHelperstring RequesterUserID whereHelperstring Note whereHelpernull_String CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, GroupID: whereHelperstring{/* contains filtered or unexported fields */}, ApplicationID: whereHelperstring{/* contains filtered or unexported fields */}, ApproverGroupID: whereHelperstring{/* contains filtered or unexported fields */}, RequesterUserID: whereHelperstring{/* contains filtered or unexported fields */}, Note: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var GroupApplicationTableColumns = struct { ID string GroupID string ApplicationID string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "group_applications.id", GroupID: "group_applications.group_id", ApplicationID: "group_applications.application_id", CreatedAt: "group_applications.created_at", UpdatedAt: "group_applications.updated_at", DeletedAt: "group_applications.deleted_at", }
var GroupApplicationWhere = struct { ID whereHelperstring GroupID whereHelperstring ApplicationID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, GroupID: whereHelperstring{/* contains filtered or unexported fields */}, ApplicationID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var GroupColumns = struct { ID string Name string Slug string Description string CreatedAt string UpdatedAt string DeletedAt string Note string ApproverGroup string Metadata string }{ ID: "id", Name: "name", Slug: "slug", Description: "description", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", Note: "note", ApproverGroup: "approver_group", Metadata: "metadata", }
var GroupHierarchyColumns = struct { ID string ParentGroupID string MemberGroupID string CreatedAt string UpdatedAt string ExpiresAt string }{ ID: "id", ParentGroupID: "parent_group_id", MemberGroupID: "member_group_id", CreatedAt: "created_at", UpdatedAt: "updated_at", ExpiresAt: "expires_at", }
var GroupHierarchyRels = struct { MemberGroup string ParentGroup string }{ MemberGroup: "MemberGroup", ParentGroup: "ParentGroup", }
GroupHierarchyRels is where relationship names are stored.
var GroupHierarchyTableColumns = struct { ID string ParentGroupID string MemberGroupID string CreatedAt string UpdatedAt string ExpiresAt string }{ ID: "group_hierarchies.id", ParentGroupID: "group_hierarchies.parent_group_id", MemberGroupID: "group_hierarchies.member_group_id", CreatedAt: "group_hierarchies.created_at", UpdatedAt: "group_hierarchies.updated_at", ExpiresAt: "group_hierarchies.expires_at", }
var GroupHierarchyWhere = struct { ID whereHelperstring ParentGroupID whereHelperstring MemberGroupID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time ExpiresAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, ParentGroupID: whereHelperstring{/* contains filtered or unexported fields */}, MemberGroupID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, ExpiresAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var GroupMembershipColumns = struct { ID string GroupID string UserID string IsAdmin string CreatedAt string UpdatedAt string ExpiresAt string AdminExpiresAt string }{ ID: "id", GroupID: "group_id", UserID: "user_id", IsAdmin: "is_admin", CreatedAt: "created_at", UpdatedAt: "updated_at", ExpiresAt: "expires_at", AdminExpiresAt: "admin_expires_at", }
var GroupMembershipRels = struct { Group string User string }{ Group: "Group", User: "User", }
GroupMembershipRels is where relationship names are stored.
var GroupMembershipRequestColumns = struct { ID string GroupID string UserID string CreatedAt string UpdatedAt string IsAdmin string Note string ExpiresAt string Kind string AdminExpiresAt string }{ ID: "id", GroupID: "group_id", UserID: "user_id", CreatedAt: "created_at", UpdatedAt: "updated_at", IsAdmin: "is_admin", Note: "note", ExpiresAt: "expires_at", Kind: "kind", AdminExpiresAt: "admin_expires_at", }
var GroupMembershipRequestRels = struct { Group string User string }{ Group: "Group", User: "User", }
GroupMembershipRequestRels is where relationship names are stored.
var GroupMembershipRequestTableColumns = struct { ID string GroupID string UserID string CreatedAt string UpdatedAt string IsAdmin string Note string ExpiresAt string Kind string AdminExpiresAt string }{ ID: "group_membership_requests.id", GroupID: "group_membership_requests.group_id", UserID: "group_membership_requests.user_id", CreatedAt: "group_membership_requests.created_at", UpdatedAt: "group_membership_requests.updated_at", IsAdmin: "group_membership_requests.is_admin", Note: "group_membership_requests.note", ExpiresAt: "group_membership_requests.expires_at", Kind: "group_membership_requests.kind", AdminExpiresAt: "group_membership_requests.admin_expires_at", }
var GroupMembershipRequestWhere = struct { ID whereHelperstring GroupID whereHelperstring UserID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time IsAdmin whereHelperbool Note whereHelperstring ExpiresAt whereHelpernull_Time Kind whereHelperstring AdminExpiresAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, GroupID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, IsAdmin: whereHelperbool{/* contains filtered or unexported fields */}, Note: whereHelperstring{/* contains filtered or unexported fields */}, ExpiresAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, Kind: whereHelperstring{/* contains filtered or unexported fields */}, AdminExpiresAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var GroupMembershipTableColumns = struct { ID string GroupID string UserID string IsAdmin string CreatedAt string UpdatedAt string ExpiresAt string AdminExpiresAt string }{ ID: "group_memberships.id", GroupID: "group_memberships.group_id", UserID: "group_memberships.user_id", IsAdmin: "group_memberships.is_admin", CreatedAt: "group_memberships.created_at", UpdatedAt: "group_memberships.updated_at", ExpiresAt: "group_memberships.expires_at", AdminExpiresAt: "group_memberships.admin_expires_at", }
var GroupMembershipWhere = struct { ID whereHelperstring GroupID whereHelperstring UserID whereHelperstring IsAdmin whereHelperbool CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time ExpiresAt whereHelpernull_Time AdminExpiresAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, GroupID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, IsAdmin: whereHelperbool{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, ExpiresAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, AdminExpiresAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var GroupOrganizationColumns = struct { ID string GroupID string OrganizationID string CreatedAt string UpdatedAt string }{ ID: "id", GroupID: "group_id", OrganizationID: "organization_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var GroupOrganizationRels = struct { Group string Organization string }{ Group: "Group", Organization: "Organization", }
GroupOrganizationRels is where relationship names are stored.
var GroupOrganizationTableColumns = struct { ID string GroupID string OrganizationID string CreatedAt string UpdatedAt string }{ ID: "group_organizations.id", GroupID: "group_organizations.group_id", OrganizationID: "group_organizations.organization_id", CreatedAt: "group_organizations.created_at", UpdatedAt: "group_organizations.updated_at", }
var GroupOrganizationWhere = struct { ID whereHelperstring GroupID whereHelperstring OrganizationID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, GroupID: whereHelperstring{/* contains filtered or unexported fields */}, OrganizationID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var GroupRels = struct { ApproverGroupGroup string ApproverGroupApplications string SubjectGroupAuditEvents string AdminGroupExtensionResourceDefinitions string ApproverGroupGroupApplicationRequests string GroupApplicationRequests string GroupApplications string MemberGroupGroupHierarchies string ParentGroupGroupHierarchies string GroupMembershipRequests string GroupMemberships string GroupOrganizations string ApproverGroupGroups string OwnerSystemExtensionResources string }{ ApproverGroupGroup: "ApproverGroupGroup", ApproverGroupApplications: "ApproverGroupApplications", SubjectGroupAuditEvents: "SubjectGroupAuditEvents", AdminGroupExtensionResourceDefinitions: "AdminGroupExtensionResourceDefinitions", ApproverGroupGroupApplicationRequests: "ApproverGroupGroupApplicationRequests", GroupApplicationRequests: "GroupApplicationRequests", GroupApplications: "GroupApplications", MemberGroupGroupHierarchies: "MemberGroupGroupHierarchies", ParentGroupGroupHierarchies: "ParentGroupGroupHierarchies", GroupMembershipRequests: "GroupMembershipRequests", GroupMemberships: "GroupMemberships", GroupOrganizations: "GroupOrganizations", ApproverGroupGroups: "ApproverGroupGroups", OwnerSystemExtensionResources: "OwnerSystemExtensionResources", }
GroupRels is where relationship names are stored.
var GroupTableColumns = struct { ID string Name string Slug string Description string CreatedAt string UpdatedAt string DeletedAt string Note string ApproverGroup string Metadata string }{ ID: "groups.id", Name: "groups.name", Slug: "groups.slug", Description: "groups.description", CreatedAt: "groups.created_at", UpdatedAt: "groups.updated_at", DeletedAt: "groups.deleted_at", Note: "groups.note", ApproverGroup: "groups.approver_group", Metadata: "groups.metadata", }
var GroupWhere = struct { ID whereHelperstring Name whereHelperstring Slug whereHelperstring Description whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time Note whereHelperstring ApproverGroup whereHelpernull_String Metadata whereHelpertypes_JSON }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Slug: whereHelperstring{/* contains filtered or unexported fields */}, Description: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, Note: whereHelperstring{/* contains filtered or unexported fields */}, ApproverGroup: whereHelpernull_String{/* contains filtered or unexported fields */}, Metadata: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, }
var NotificationPreferenceColumns = struct { ID string UserID string NotificationTypeID string NotificationTargetID string NotificationTargetIDNullString string Enabled string }{ ID: "id", UserID: "user_id", NotificationTypeID: "notification_type_id", NotificationTargetID: "notification_target_id", NotificationTargetIDNullString: "notification_target_id_null_string", Enabled: "enabled", }
var NotificationPreferenceRels = struct { NotificationTarget string NotificationType string User string }{ NotificationTarget: "NotificationTarget", NotificationType: "NotificationType", User: "User", }
NotificationPreferenceRels is where relationship names are stored.
var NotificationPreferenceTableColumns = struct { ID string UserID string NotificationTypeID string NotificationTargetID string NotificationTargetIDNullString string Enabled string }{ ID: "notification_preferences.id", UserID: "notification_preferences.user_id", NotificationTypeID: "notification_preferences.notification_type_id", NotificationTargetID: "notification_preferences.notification_target_id", NotificationTargetIDNullString: "notification_preferences.notification_target_id_null_string", Enabled: "notification_preferences.enabled", }
var NotificationPreferenceWhere = struct { ID whereHelperstring UserID whereHelperstring NotificationTypeID whereHelperstring NotificationTargetID whereHelpernull_String NotificationTargetIDNullString whereHelpernull_String Enabled whereHelperbool }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, NotificationTypeID: whereHelperstring{/* contains filtered or unexported fields */}, NotificationTargetID: whereHelpernull_String{/* contains filtered or unexported fields */}, NotificationTargetIDNullString: whereHelpernull_String{/* contains filtered or unexported fields */}, Enabled: whereHelperbool{/* contains filtered or unexported fields */}, }
var NotificationTargetColumns = struct { ID string Name string Slug string Description string DefaultEnabled string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", Name: "name", Slug: "slug", Description: "description", DefaultEnabled: "default_enabled", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var NotificationTargetRels = struct { NotificationPreferences string }{ NotificationPreferences: "NotificationPreferences", }
NotificationTargetRels is where relationship names are stored.
var NotificationTargetTableColumns = struct { ID string Name string Slug string Description string DefaultEnabled string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "notification_targets.id", Name: "notification_targets.name", Slug: "notification_targets.slug", Description: "notification_targets.description", DefaultEnabled: "notification_targets.default_enabled", CreatedAt: "notification_targets.created_at", UpdatedAt: "notification_targets.updated_at", DeletedAt: "notification_targets.deleted_at", }
var NotificationTargetWhere = struct { ID whereHelperstring Name whereHelperstring Slug whereHelperstring Description whereHelperstring DefaultEnabled whereHelperbool CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Slug: whereHelperstring{/* contains filtered or unexported fields */}, Description: whereHelperstring{/* contains filtered or unexported fields */}, DefaultEnabled: whereHelperbool{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var NotificationTypeColumns = struct { ID string Name string Slug string Description string DefaultEnabled string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", Name: "name", Slug: "slug", Description: "description", DefaultEnabled: "default_enabled", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var NotificationTypeRels = struct { NotificationPreferences string }{ NotificationPreferences: "NotificationPreferences", }
NotificationTypeRels is where relationship names are stored.
var NotificationTypeTableColumns = struct { ID string Name string Slug string Description string DefaultEnabled string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "notification_types.id", Name: "notification_types.name", Slug: "notification_types.slug", Description: "notification_types.description", DefaultEnabled: "notification_types.default_enabled", CreatedAt: "notification_types.created_at", UpdatedAt: "notification_types.updated_at", DeletedAt: "notification_types.deleted_at", }
var NotificationTypeWhere = struct { ID whereHelperstring Name whereHelperstring Slug whereHelperstring Description whereHelperstring DefaultEnabled whereHelperbool CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Slug: whereHelperstring{/* contains filtered or unexported fields */}, Description: whereHelperstring{/* contains filtered or unexported fields */}, DefaultEnabled: whereHelperbool{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var OrganizationColumns = struct { ID string Name string CreatedAt string UpdatedAt string Slug string DeletedAt string }{ ID: "id", Name: "name", CreatedAt: "created_at", UpdatedAt: "updated_at", Slug: "slug", DeletedAt: "deleted_at", }
var OrganizationRels = struct { SubjectOrganizationAuditEvents string GroupOrganizations string }{ SubjectOrganizationAuditEvents: "SubjectOrganizationAuditEvents", GroupOrganizations: "GroupOrganizations", }
OrganizationRels is where relationship names are stored.
var OrganizationTableColumns = struct { ID string Name string CreatedAt string UpdatedAt string Slug string DeletedAt string }{ ID: "organizations.id", Name: "organizations.name", CreatedAt: "organizations.created_at", UpdatedAt: "organizations.updated_at", Slug: "organizations.slug", DeletedAt: "organizations.deleted_at", }
var OrganizationWhere = struct { ID whereHelperstring Name whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time Slug whereHelperstring DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, Slug: whereHelperstring{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var SystemExtensionResourceColumns = struct { ID string Resource string CreatedAt string UpdatedAt string DeletedAt string ExtensionResourceDefinitionID string OwnerID string ResourceVersion string Messages string Annotations string }{ ID: "id", Resource: "resource", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", ExtensionResourceDefinitionID: "extension_resource_definition_id", OwnerID: "owner_id", ResourceVersion: "resource_version", Messages: "messages", Annotations: "annotations", }
var SystemExtensionResourceRels = struct { ExtensionResourceDefinition string Owner string }{ ExtensionResourceDefinition: "ExtensionResourceDefinition", Owner: "Owner", }
SystemExtensionResourceRels is where relationship names are stored.
var SystemExtensionResourceTableColumns = struct { ID string Resource string CreatedAt string UpdatedAt string DeletedAt string ExtensionResourceDefinitionID string OwnerID string ResourceVersion string Messages string Annotations string }{ ID: "system_extension_resources.id", Resource: "system_extension_resources.resource", CreatedAt: "system_extension_resources.created_at", UpdatedAt: "system_extension_resources.updated_at", DeletedAt: "system_extension_resources.deleted_at", ExtensionResourceDefinitionID: "system_extension_resources.extension_resource_definition_id", OwnerID: "system_extension_resources.owner_id", ResourceVersion: "system_extension_resources.resource_version", Messages: "system_extension_resources.messages", Annotations: "system_extension_resources.annotations", }
var SystemExtensionResourceWhere = struct { ID whereHelperstring Resource whereHelpertypes_JSON CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time ExtensionResourceDefinitionID whereHelperstring OwnerID whereHelpernull_String ResourceVersion whereHelperint64 Messages whereHelpertypes_StringArray Annotations whereHelpertypes_JSON }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Resource: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, ExtensionResourceDefinitionID: whereHelperstring{/* contains filtered or unexported fields */}, OwnerID: whereHelpernull_String{/* contains filtered or unexported fields */}, ResourceVersion: whereHelperint64{/* contains filtered or unexported fields */}, Messages: whereHelpertypes_StringArray{/* contains filtered or unexported fields */}, Annotations: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, }
var TableNames = struct { ApplicationTypes string Applications string AuditEvents string ExtensionResourceDefinitions string Extensions string GroupApplicationRequests string GroupApplications string GroupHierarchies string GroupMembershipRequests string GroupMemberships string GroupOrganizations string Groups string NotificationPreferences string NotificationTargets string NotificationTypes string Organizations string SystemExtensionResources string UserExtensionResources string Users string }{ ApplicationTypes: "application_types", Applications: "applications", AuditEvents: "audit_events", ExtensionResourceDefinitions: "extension_resource_definitions", Extensions: "extensions", GroupApplicationRequests: "group_application_requests", GroupApplications: "group_applications", GroupHierarchies: "group_hierarchies", GroupMembershipRequests: "group_membership_requests", GroupMemberships: "group_memberships", GroupOrganizations: "group_organizations", Groups: "groups", NotificationPreferences: "notification_preferences", NotificationTargets: "notification_targets", NotificationTypes: "notification_types", Organizations: "organizations", SystemExtensionResources: "system_extension_resources", UserExtensionResources: "user_extension_resources", Users: "users", }
var UserColumns = struct { ID string ExternalID string Name string Email string LoginCount string AvatarURL string LastLoginAt string CreatedAt string UpdatedAt string GithubID string GithubUsername string DeletedAt string Status string Metadata string }{ ID: "id", ExternalID: "external_id", Name: "name", Email: "email", LoginCount: "login_count", AvatarURL: "avatar_url", LastLoginAt: "last_login_at", CreatedAt: "created_at", UpdatedAt: "updated_at", GithubID: "github_id", GithubUsername: "github_username", DeletedAt: "deleted_at", Status: "status", Metadata: "metadata", }
var UserExtensionResourceColumns = struct { ID string Resource string CreatedAt string UpdatedAt string DeletedAt string UserID string ExtensionResourceDefinitionID string }{ ID: "id", Resource: "resource", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", UserID: "user_id", ExtensionResourceDefinitionID: "extension_resource_definition_id", }
var UserExtensionResourceRels = struct { ExtensionResourceDefinition string User string }{ ExtensionResourceDefinition: "ExtensionResourceDefinition", User: "User", }
UserExtensionResourceRels is where relationship names are stored.
var UserExtensionResourceTableColumns = struct { ID string Resource string CreatedAt string UpdatedAt string DeletedAt string UserID string ExtensionResourceDefinitionID string }{ ID: "user_extension_resources.id", Resource: "user_extension_resources.resource", CreatedAt: "user_extension_resources.created_at", UpdatedAt: "user_extension_resources.updated_at", DeletedAt: "user_extension_resources.deleted_at", UserID: "user_extension_resources.user_id", ExtensionResourceDefinitionID: "user_extension_resources.extension_resource_definition_id", }
var UserExtensionResourceWhere = struct { ID whereHelperstring Resource whereHelpertypes_JSON CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time UserID whereHelperstring ExtensionResourceDefinitionID whereHelperstring }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Resource: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, ExtensionResourceDefinitionID: whereHelperstring{/* contains filtered or unexported fields */}, }
var UserRels = struct { ActorAuditEvents string SubjectUserAuditEvents string RequesterUserGroupApplicationRequests string GroupMembershipRequests string GroupMemberships string NotificationPreferences string UserExtensionResources string }{ ActorAuditEvents: "ActorAuditEvents", SubjectUserAuditEvents: "SubjectUserAuditEvents", RequesterUserGroupApplicationRequests: "RequesterUserGroupApplicationRequests", GroupMembershipRequests: "GroupMembershipRequests", GroupMemberships: "GroupMemberships", NotificationPreferences: "NotificationPreferences", UserExtensionResources: "UserExtensionResources", }
UserRels is where relationship names are stored.
var UserTableColumns = struct { ID string ExternalID string Name string Email string LoginCount string AvatarURL string LastLoginAt string CreatedAt string UpdatedAt string GithubID string GithubUsername string DeletedAt string Status string Metadata string }{ ID: "users.id", ExternalID: "users.external_id", Name: "users.name", Email: "users.email", LoginCount: "users.login_count", AvatarURL: "users.avatar_url", LastLoginAt: "users.last_login_at", CreatedAt: "users.created_at", UpdatedAt: "users.updated_at", GithubID: "users.github_id", GithubUsername: "users.github_username", DeletedAt: "users.deleted_at", Status: "users.status", Metadata: "users.metadata", }
var UserWhere = struct { ID whereHelperstring ExternalID whereHelpernull_String Name whereHelperstring Email whereHelperstring LoginCount whereHelperint64 AvatarURL whereHelpernull_String LastLoginAt whereHelpernull_Time CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time GithubID whereHelpernull_Int64 GithubUsername whereHelpernull_String DeletedAt whereHelpernull_Time Status whereHelpernull_String Metadata whereHelpertypes_JSON }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, ExternalID: whereHelpernull_String{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Email: whereHelperstring{/* contains filtered or unexported fields */}, LoginCount: whereHelperint64{/* contains filtered or unexported fields */}, AvatarURL: whereHelpernull_String{/* contains filtered or unexported fields */}, LastLoginAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, GithubID: whereHelpernull_Int64{/* contains filtered or unexported fields */}, GithubUsername: whereHelpernull_String{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, Status: whereHelpernull_String{/* contains filtered or unexported fields */}, Metadata: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, }
var ViewNames = struct {
}{}
Functions ¶
func AddApplicationHook ¶
func AddApplicationHook(hookPoint boil.HookPoint, applicationHook ApplicationHook)
AddApplicationHook registers your hook function for all future operations.
func AddApplicationTypeHook ¶
func AddApplicationTypeHook(hookPoint boil.HookPoint, applicationTypeHook ApplicationTypeHook)
AddApplicationTypeHook registers your hook function for all future operations.
func AddAuditEventHook ¶
func AddAuditEventHook(hookPoint boil.HookPoint, auditEventHook AuditEventHook)
AddAuditEventHook registers your hook function for all future operations.
func AddExtensionHook ¶
func AddExtensionHook(hookPoint boil.HookPoint, extensionHook ExtensionHook)
AddExtensionHook registers your hook function for all future operations.
func AddExtensionResourceDefinitionHook ¶
func AddExtensionResourceDefinitionHook(hookPoint boil.HookPoint, extensionResourceDefinitionHook ExtensionResourceDefinitionHook)
AddExtensionResourceDefinitionHook registers your hook function for all future operations.
func AddGroupApplicationHook ¶
func AddGroupApplicationHook(hookPoint boil.HookPoint, groupApplicationHook GroupApplicationHook)
AddGroupApplicationHook registers your hook function for all future operations.
func AddGroupApplicationRequestHook ¶
func AddGroupApplicationRequestHook(hookPoint boil.HookPoint, groupApplicationRequestHook GroupApplicationRequestHook)
AddGroupApplicationRequestHook registers your hook function for all future operations.
func AddGroupHierarchyHook ¶
func AddGroupHierarchyHook(hookPoint boil.HookPoint, groupHierarchyHook GroupHierarchyHook)
AddGroupHierarchyHook registers your hook function for all future operations.
func AddGroupHook ¶
AddGroupHook registers your hook function for all future operations.
func AddGroupMembershipHook ¶
func AddGroupMembershipHook(hookPoint boil.HookPoint, groupMembershipHook GroupMembershipHook)
AddGroupMembershipHook registers your hook function for all future operations.
func AddGroupMembershipRequestHook ¶
func AddGroupMembershipRequestHook(hookPoint boil.HookPoint, groupMembershipRequestHook GroupMembershipRequestHook)
AddGroupMembershipRequestHook registers your hook function for all future operations.
func AddGroupOrganizationHook ¶
func AddGroupOrganizationHook(hookPoint boil.HookPoint, groupOrganizationHook GroupOrganizationHook)
AddGroupOrganizationHook registers your hook function for all future operations.
func AddNotificationPreferenceHook ¶
func AddNotificationPreferenceHook(hookPoint boil.HookPoint, notificationPreferenceHook NotificationPreferenceHook)
AddNotificationPreferenceHook registers your hook function for all future operations.
func AddNotificationTargetHook ¶
func AddNotificationTargetHook(hookPoint boil.HookPoint, notificationTargetHook NotificationTargetHook)
AddNotificationTargetHook registers your hook function for all future operations.
func AddNotificationTypeHook ¶
func AddNotificationTypeHook(hookPoint boil.HookPoint, notificationTypeHook NotificationTypeHook)
AddNotificationTypeHook registers your hook function for all future operations.
func AddOrganizationHook ¶
func AddOrganizationHook(hookPoint boil.HookPoint, organizationHook OrganizationHook)
AddOrganizationHook registers your hook function for all future operations.
func AddSystemExtensionResourceHook ¶
func AddSystemExtensionResourceHook(hookPoint boil.HookPoint, systemExtensionResourceHook SystemExtensionResourceHook)
AddSystemExtensionResourceHook registers your hook function for all future operations.
func AddUserExtensionResourceHook ¶
func AddUserExtensionResourceHook(hookPoint boil.HookPoint, userExtensionResourceHook UserExtensionResourceHook)
AddUserExtensionResourceHook registers your hook function for all future operations.
func AddUserHook ¶
AddUserHook registers your hook function for all future operations.
func AllExtensionResourceScope ¶
func AllExtensionResourceScope() []string
func AllExtensionStatus ¶
func AllExtensionStatus() []string
func AllRequestKind ¶
func AllRequestKind() []string
func AllUserStatus ¶
func AllUserStatus() []string
func ApplicationExists ¶
ApplicationExists checks if the Application row exists.
func ApplicationTypeExists ¶
ApplicationTypeExists checks if the ApplicationType row exists.
func ApplicationTypes ¶
ApplicationTypes retrieves all the records using an executor.
func Applications ¶
Applications retrieves all the records using an executor.
func AuditEventExists ¶
AuditEventExists checks if the AuditEvent row exists.
func AuditEvents ¶
AuditEvents retrieves all the records using an executor.
func ExtensionExists ¶
ExtensionExists checks if the Extension row exists.
func ExtensionResourceDefinitionExists ¶
func ExtensionResourceDefinitionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
ExtensionResourceDefinitionExists checks if the ExtensionResourceDefinition row exists.
func ExtensionResourceDefinitions ¶
ExtensionResourceDefinitions retrieves all the records using an executor.
func Extensions ¶
Extensions retrieves all the records using an executor.
func GroupApplicationExists ¶
func GroupApplicationExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
GroupApplicationExists checks if the GroupApplication row exists.
func GroupApplicationRequestExists ¶
func GroupApplicationRequestExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
GroupApplicationRequestExists checks if the GroupApplicationRequest row exists.
func GroupApplicationRequests ¶
GroupApplicationRequests retrieves all the records using an executor.
func GroupApplications ¶
GroupApplications retrieves all the records using an executor.
func GroupExists ¶
GroupExists checks if the Group row exists.
func GroupHierarchies ¶
GroupHierarchies retrieves all the records using an executor.
func GroupHierarchyExists ¶
GroupHierarchyExists checks if the GroupHierarchy row exists.
func GroupMembershipExists ¶
GroupMembershipExists checks if the GroupMembership row exists.
func GroupMembershipRequestExists ¶
func GroupMembershipRequestExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
GroupMembershipRequestExists checks if the GroupMembershipRequest row exists.
func GroupMembershipRequests ¶
GroupMembershipRequests retrieves all the records using an executor.
func GroupMemberships ¶
GroupMemberships retrieves all the records using an executor.
func GroupOrganizationExists ¶
func GroupOrganizationExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
GroupOrganizationExists checks if the GroupOrganization row exists.
func GroupOrganizations ¶
GroupOrganizations retrieves all the records using an executor.
func NotificationPreferenceExists ¶
func NotificationPreferenceExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
NotificationPreferenceExists checks if the NotificationPreference row exists.
func NotificationPreferences ¶
NotificationPreferences retrieves all the records using an executor.
func NotificationTargetExists ¶
func NotificationTargetExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
NotificationTargetExists checks if the NotificationTarget row exists.
func NotificationTargets ¶
NotificationTargets retrieves all the records using an executor.
func NotificationTypeExists ¶
func NotificationTypeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
NotificationTypeExists checks if the NotificationType row exists.
func NotificationTypes ¶
NotificationTypes retrieves all the records using an executor.
func OrganizationExists ¶
OrganizationExists checks if the Organization row exists.
func Organizations ¶
Organizations retrieves all the records using an executor.
func SystemExtensionResourceExists ¶
func SystemExtensionResourceExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
SystemExtensionResourceExists checks if the SystemExtensionResource row exists.
func SystemExtensionResources ¶
SystemExtensionResources retrieves all the records using an executor.
func UserExists ¶
UserExists checks if the User row exists.
func UserExtensionResourceExists ¶
func UserExtensionResourceExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
UserExtensionResourceExists checks if the UserExtensionResource row exists.
func UserExtensionResources ¶
UserExtensionResources retrieves all the records using an executor.
Types ¶
type Application ¶
type Application struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
Name string `boil:"name" json:"name" toml:"name" yaml:"name"`
Slug string `boil:"slug" json:"slug" toml:"slug" yaml:"slug"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
ApproverGroupID null.String `boil:"approver_group_id" json:"approver_group_id,omitempty" toml:"approver_group_id" yaml:"approver_group_id,omitempty"`
TypeID null.String `boil:"type_id" json:"type_id,omitempty" toml:"type_id" yaml:"type_id,omitempty"`
R *applicationR `boil:"-" json:"-" toml:"-" yaml:"-"`
L applicationL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Application is an object representing the database table.
func FindApplication ¶
func FindApplication(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Application, error)
FindApplication retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Application) AddGroupApplicationRequests ¶
func (o *Application) AddGroupApplicationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupApplicationRequest) error
AddGroupApplicationRequests adds the given related objects to the existing relationships of the application, optionally inserting them as new records. Appends related to o.R.GroupApplicationRequests. Sets related.R.Application appropriately.
func (*Application) AddGroupApplications ¶
func (o *Application) AddGroupApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupApplication) error
AddGroupApplications adds the given related objects to the existing relationships of the application, optionally inserting them as new records. Appends related to o.R.GroupApplications. Sets related.R.Application appropriately.
func (*Application) AddSubjectApplicationAuditEvents ¶
func (o *Application) AddSubjectApplicationAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuditEvent) error
AddSubjectApplicationAuditEvents adds the given related objects to the existing relationships of the application, optionally inserting them as new records. Appends related to o.R.SubjectApplicationAuditEvents. Sets related.R.SubjectApplication appropriately.
func (*Application) ApproverGroup ¶
func (o *Application) ApproverGroup(mods ...qm.QueryMod) groupQuery
ApproverGroup pointed to by the foreign key.
func (*Application) Delete ¶
func (o *Application) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Application record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Application) Exists ¶
func (o *Application) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the Application row exists.
func (*Application) GetApproverGroup ¶
func (o *Application) GetApproverGroup() *Group
func (*Application) GetGroupApplicationRequests ¶
func (o *Application) GetGroupApplicationRequests() GroupApplicationRequestSlice
func (*Application) GetGroupApplications ¶
func (o *Application) GetGroupApplications() GroupApplicationSlice
func (*Application) GetSubjectApplicationAuditEvents ¶
func (o *Application) GetSubjectApplicationAuditEvents() AuditEventSlice
func (*Application) GetType ¶
func (o *Application) GetType() *ApplicationType
func (*Application) GroupApplicationRequests ¶
func (o *Application) GroupApplicationRequests(mods ...qm.QueryMod) groupApplicationRequestQuery
GroupApplicationRequests retrieves all the group_application_request's GroupApplicationRequests with an executor.
func (*Application) GroupApplications ¶
func (o *Application) GroupApplications(mods ...qm.QueryMod) groupApplicationQuery
GroupApplications retrieves all the group_application's GroupApplications with an executor.
func (*Application) Insert ¶
func (o *Application) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Application) Reload ¶
func (o *Application) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Application) RemoveApproverGroup ¶
func (o *Application) RemoveApproverGroup(ctx context.Context, exec boil.ContextExecutor, related *Group) error
RemoveApproverGroup relationship. Sets o.R.ApproverGroup to nil. Removes o from all passed in related items' relationships struct.
func (*Application) RemoveSubjectApplicationAuditEvents ¶
func (o *Application) RemoveSubjectApplicationAuditEvents(ctx context.Context, exec boil.ContextExecutor, related ...*AuditEvent) error
RemoveSubjectApplicationAuditEvents relationships from objects passed in. Removes related items from R.SubjectApplicationAuditEvents (uses pointer comparison, removal does not keep order) Sets related.R.SubjectApplication.
func (*Application) RemoveType ¶
func (o *Application) RemoveType(ctx context.Context, exec boil.ContextExecutor, related *ApplicationType) error
RemoveType relationship. Sets o.R.Type to nil. Removes o from all passed in related items' relationships struct.
func (*Application) SetApproverGroup ¶
func (o *Application) SetApproverGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetApproverGroup of the application to the related item. Sets o.R.ApproverGroup to related. Adds o to related.R.ApproverGroupApplications.
func (*Application) SetSubjectApplicationAuditEvents ¶
func (o *Application) SetSubjectApplicationAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuditEvent) error
SetSubjectApplicationAuditEvents removes all previously related items of the application replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SubjectApplication's SubjectApplicationAuditEvents accordingly. Replaces o.R.SubjectApplicationAuditEvents with related. Sets related.R.SubjectApplication's SubjectApplicationAuditEvents accordingly.
func (*Application) SetType ¶
func (o *Application) SetType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *ApplicationType) error
SetType of the application to the related item. Sets o.R.Type to related. Adds o to related.R.TypeApplications.
func (*Application) SubjectApplicationAuditEvents ¶
func (o *Application) SubjectApplicationAuditEvents(mods ...qm.QueryMod) auditEventQuery
SubjectApplicationAuditEvents retrieves all the audit_event's AuditEvents with an executor via subject_application_id column.
func (*Application) Type ¶
func (o *Application) Type(mods ...qm.QueryMod) applicationTypeQuery
Type pointed to by the foreign key.
func (*Application) Update ¶
func (o *Application) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Application. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Application) Upsert ¶
func (o *Application) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type ApplicationHook ¶
type ApplicationHook func(context.Context, boil.ContextExecutor, *Application) error
ApplicationHook is the signature for custom Application hook methods
type ApplicationSlice ¶
type ApplicationSlice []*Application
ApplicationSlice is an alias for a slice of pointers to Application. This should almost always be used instead of []Application.
func (ApplicationSlice) DeleteAll ¶
func (o ApplicationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ApplicationSlice) ReloadAll ¶
func (o *ApplicationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (ApplicationSlice) UpdateAll ¶
func (o ApplicationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type ApplicationType ¶
type ApplicationType struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
Name string `boil:"name" json:"name" toml:"name" yaml:"name"`
Slug string `boil:"slug" json:"slug" toml:"slug" yaml:"slug"`
Description string `boil:"description" json:"description" toml:"description" yaml:"description"`
LogoURL null.String `boil:"logo_url" json:"logo_url,omitempty" toml:"logo_url" yaml:"logo_url,omitempty"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *applicationTypeR `boil:"-" json:"-" toml:"-" yaml:"-"`
L applicationTypeL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
ApplicationType is an object representing the database table.
func FindApplicationType ¶
func FindApplicationType(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*ApplicationType, error)
FindApplicationType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*ApplicationType) AddTypeApplications ¶
func (o *ApplicationType) AddTypeApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Application) error
AddTypeApplications adds the given related objects to the existing relationships of the application_type, optionally inserting them as new records. Appends related to o.R.TypeApplications. Sets related.R.Type appropriately.
func (*ApplicationType) Delete ¶
func (o *ApplicationType) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single ApplicationType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ApplicationType) Exists ¶
func (o *ApplicationType) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the ApplicationType row exists.
func (*ApplicationType) GetTypeApplications ¶
func (o *ApplicationType) GetTypeApplications() ApplicationSlice
func (*ApplicationType) Insert ¶
func (o *ApplicationType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*ApplicationType) Reload ¶
func (o *ApplicationType) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ApplicationType) RemoveTypeApplications ¶
func (o *ApplicationType) RemoveTypeApplications(ctx context.Context, exec boil.ContextExecutor, related ...*Application) error
RemoveTypeApplications relationships from objects passed in. Removes related items from R.TypeApplications (uses pointer comparison, removal does not keep order) Sets related.R.Type.
func (*ApplicationType) SetTypeApplications ¶
func (o *ApplicationType) SetTypeApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Application) error
SetTypeApplications removes all previously related items of the application_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Type's TypeApplications accordingly. Replaces o.R.TypeApplications with related. Sets related.R.Type's TypeApplications accordingly.
func (*ApplicationType) TypeApplications ¶
func (o *ApplicationType) TypeApplications(mods ...qm.QueryMod) applicationQuery
TypeApplications retrieves all the application's Applications with an executor via type_id column.
func (*ApplicationType) Update ¶
func (o *ApplicationType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the ApplicationType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*ApplicationType) Upsert ¶
func (o *ApplicationType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type ApplicationTypeHook ¶
type ApplicationTypeHook func(context.Context, boil.ContextExecutor, *ApplicationType) error
ApplicationTypeHook is the signature for custom ApplicationType hook methods
type ApplicationTypeSlice ¶
type ApplicationTypeSlice []*ApplicationType
ApplicationTypeSlice is an alias for a slice of pointers to ApplicationType. This should almost always be used instead of []ApplicationType.
func (ApplicationTypeSlice) DeleteAll ¶
func (o ApplicationTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ApplicationTypeSlice) ReloadAll ¶
func (o *ApplicationTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (ApplicationTypeSlice) UpdateAll ¶
func (o ApplicationTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type AuditEvent ¶
type AuditEvent struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
ActorID null.String `boil:"actor_id" json:"actor_id,omitempty" toml:"actor_id" yaml:"actor_id,omitempty"`
Action string `boil:"action" json:"action" toml:"action" yaml:"action"`
Message string `boil:"message" json:"message" toml:"message" yaml:"message"`
Changeset types.StringArray `boil:"changeset" json:"changeset" toml:"changeset" yaml:"changeset"`
SubjectGroupID null.String `boil:"subject_group_id" json:"subject_group_id,omitempty" toml:"subject_group_id" yaml:"subject_group_id,omitempty"`
SubjectUserID null.String `boil:"subject_user_id" json:"subject_user_id,omitempty" toml:"subject_user_id" yaml:"subject_user_id,omitempty"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
SubjectOrganizationID null.String `` /* 143-byte string literal not displayed */
SubjectApplicationID null.String `` /* 139-byte string literal not displayed */
ParentID null.String `boil:"parent_id" json:"parent_id,omitempty" toml:"parent_id" yaml:"parent_id,omitempty"`
R *auditEventR `boil:"-" json:"-" toml:"-" yaml:"-"`
L auditEventL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
AuditEvent is an object representing the database table.
func FindAuditEvent ¶
func FindAuditEvent(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*AuditEvent, error)
FindAuditEvent retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*AuditEvent) Actor ¶
func (o *AuditEvent) Actor(mods ...qm.QueryMod) userQuery
Actor pointed to by the foreign key.
func (*AuditEvent) Delete ¶
func (o *AuditEvent) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single AuditEvent record with an executor. Delete will match against the primary key column to find the record to delete.
func (*AuditEvent) Exists ¶
func (o *AuditEvent) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the AuditEvent row exists.
func (*AuditEvent) GetActor ¶
func (o *AuditEvent) GetActor() *User
func (*AuditEvent) GetSubjectApplication ¶
func (o *AuditEvent) GetSubjectApplication() *Application
func (*AuditEvent) GetSubjectGroup ¶
func (o *AuditEvent) GetSubjectGroup() *Group
func (*AuditEvent) GetSubjectOrganization ¶
func (o *AuditEvent) GetSubjectOrganization() *Organization
func (*AuditEvent) GetSubjectUser ¶
func (o *AuditEvent) GetSubjectUser() *User
func (*AuditEvent) Insert ¶
func (o *AuditEvent) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*AuditEvent) Reload ¶
func (o *AuditEvent) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*AuditEvent) RemoveActor ¶
func (o *AuditEvent) RemoveActor(ctx context.Context, exec boil.ContextExecutor, related *User) error
RemoveActor relationship. Sets o.R.Actor to nil. Removes o from all passed in related items' relationships struct.
func (*AuditEvent) RemoveSubjectApplication ¶
func (o *AuditEvent) RemoveSubjectApplication(ctx context.Context, exec boil.ContextExecutor, related *Application) error
RemoveSubjectApplication relationship. Sets o.R.SubjectApplication to nil. Removes o from all passed in related items' relationships struct.
func (*AuditEvent) RemoveSubjectGroup ¶
func (o *AuditEvent) RemoveSubjectGroup(ctx context.Context, exec boil.ContextExecutor, related *Group) error
RemoveSubjectGroup relationship. Sets o.R.SubjectGroup to nil. Removes o from all passed in related items' relationships struct.
func (*AuditEvent) RemoveSubjectOrganization ¶
func (o *AuditEvent) RemoveSubjectOrganization(ctx context.Context, exec boil.ContextExecutor, related *Organization) error
RemoveSubjectOrganization relationship. Sets o.R.SubjectOrganization to nil. Removes o from all passed in related items' relationships struct.
func (*AuditEvent) RemoveSubjectUser ¶
func (o *AuditEvent) RemoveSubjectUser(ctx context.Context, exec boil.ContextExecutor, related *User) error
RemoveSubjectUser relationship. Sets o.R.SubjectUser to nil. Removes o from all passed in related items' relationships struct.
func (*AuditEvent) SetActor ¶
func (o *AuditEvent) SetActor(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetActor of the auditEvent to the related item. Sets o.R.Actor to related. Adds o to related.R.ActorAuditEvents.
func (*AuditEvent) SetSubjectApplication ¶
func (o *AuditEvent) SetSubjectApplication(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Application) error
SetSubjectApplication of the auditEvent to the related item. Sets o.R.SubjectApplication to related. Adds o to related.R.SubjectApplicationAuditEvents.
func (*AuditEvent) SetSubjectGroup ¶
func (o *AuditEvent) SetSubjectGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetSubjectGroup of the auditEvent to the related item. Sets o.R.SubjectGroup to related. Adds o to related.R.SubjectGroupAuditEvents.
func (*AuditEvent) SetSubjectOrganization ¶
func (o *AuditEvent) SetSubjectOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Organization) error
SetSubjectOrganization of the auditEvent to the related item. Sets o.R.SubjectOrganization to related. Adds o to related.R.SubjectOrganizationAuditEvents.
func (*AuditEvent) SetSubjectUser ¶
func (o *AuditEvent) SetSubjectUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetSubjectUser of the auditEvent to the related item. Sets o.R.SubjectUser to related. Adds o to related.R.SubjectUserAuditEvents.
func (*AuditEvent) SubjectApplication ¶
func (o *AuditEvent) SubjectApplication(mods ...qm.QueryMod) applicationQuery
SubjectApplication pointed to by the foreign key.
func (*AuditEvent) SubjectGroup ¶
func (o *AuditEvent) SubjectGroup(mods ...qm.QueryMod) groupQuery
SubjectGroup pointed to by the foreign key.
func (*AuditEvent) SubjectOrganization ¶
func (o *AuditEvent) SubjectOrganization(mods ...qm.QueryMod) organizationQuery
SubjectOrganization pointed to by the foreign key.
func (*AuditEvent) SubjectUser ¶
func (o *AuditEvent) SubjectUser(mods ...qm.QueryMod) userQuery
SubjectUser pointed to by the foreign key.
func (*AuditEvent) Update ¶
func (o *AuditEvent) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the AuditEvent. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*AuditEvent) Upsert ¶
func (o *AuditEvent) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type AuditEventHook ¶
type AuditEventHook func(context.Context, boil.ContextExecutor, *AuditEvent) error
AuditEventHook is the signature for custom AuditEvent hook methods
type AuditEventSlice ¶
type AuditEventSlice []*AuditEvent
AuditEventSlice is an alias for a slice of pointers to AuditEvent. This should almost always be used instead of []AuditEvent.
func (AuditEventSlice) DeleteAll ¶
func (o AuditEventSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*AuditEventSlice) ReloadAll ¶
func (o *AuditEventSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (AuditEventSlice) UpdateAll ¶
func (o AuditEventSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Extension ¶
type Extension struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
Name string `boil:"name" json:"name" toml:"name" yaml:"name"`
Description string `boil:"description" json:"description" toml:"description" yaml:"description"`
Enabled bool `boil:"enabled" json:"enabled" toml:"enabled" yaml:"enabled"`
Slug string `boil:"slug" json:"slug" toml:"slug" yaml:"slug"`
Status string `boil:"status" json:"status" toml:"status" yaml:"status"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *extensionR `boil:"-" json:"-" toml:"-" yaml:"-"`
L extensionL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Extension is an object representing the database table.
func FindExtension ¶
func FindExtension(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Extension, error)
FindExtension retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Extension) AddExtensionResourceDefinitions ¶
func (o *Extension) AddExtensionResourceDefinitions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ExtensionResourceDefinition) error
AddExtensionResourceDefinitions adds the given related objects to the existing relationships of the extension, optionally inserting them as new records. Appends related to o.R.ExtensionResourceDefinitions. Sets related.R.Extension appropriately.
func (*Extension) Delete ¶
func (o *Extension) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Extension record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Extension) ExtensionResourceDefinitions ¶
func (o *Extension) ExtensionResourceDefinitions(mods ...qm.QueryMod) extensionResourceDefinitionQuery
ExtensionResourceDefinitions retrieves all the extension_resource_definition's ExtensionResourceDefinitions with an executor.
func (*Extension) GetExtensionResourceDefinitions ¶
func (o *Extension) GetExtensionResourceDefinitions() ExtensionResourceDefinitionSlice
func (*Extension) Insert ¶
func (o *Extension) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Extension) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Extension) Update ¶
func (o *Extension) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Extension. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Extension) Upsert ¶
func (o *Extension) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type ExtensionHook ¶
ExtensionHook is the signature for custom Extension hook methods
type ExtensionResourceDefinition ¶
type ExtensionResourceDefinition struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
Name string `boil:"name" json:"name" toml:"name" yaml:"name"`
Description string `boil:"description" json:"description" toml:"description" yaml:"description"`
Enabled bool `boil:"enabled" json:"enabled" toml:"enabled" yaml:"enabled"`
SlugSingular string `boil:"slug_singular" json:"slug_singular" toml:"slug_singular" yaml:"slug_singular"`
SlugPlural string `boil:"slug_plural" json:"slug_plural" toml:"slug_plural" yaml:"slug_plural"`
Version string `boil:"version" json:"version" toml:"version" yaml:"version"`
Scope string `boil:"scope" json:"scope" toml:"scope" yaml:"scope"`
Schema types.JSON `boil:"schema" json:"schema" toml:"schema" yaml:"schema"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
ExtensionID string `boil:"extension_id" json:"extension_id" toml:"extension_id" yaml:"extension_id"`
AdminGroup null.String `boil:"admin_group" json:"admin_group,omitempty" toml:"admin_group" yaml:"admin_group,omitempty"`
R *extensionResourceDefinitionR `boil:"-" json:"-" toml:"-" yaml:"-"`
L extensionResourceDefinitionL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
ExtensionResourceDefinition is an object representing the database table.
func FindExtensionResourceDefinition ¶
func FindExtensionResourceDefinition(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*ExtensionResourceDefinition, error)
FindExtensionResourceDefinition retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*ExtensionResourceDefinition) AddSystemExtensionResources ¶
func (o *ExtensionResourceDefinition) AddSystemExtensionResources(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*SystemExtensionResource) error
AddSystemExtensionResources adds the given related objects to the existing relationships of the extension_resource_definition, optionally inserting them as new records. Appends related to o.R.SystemExtensionResources. Sets related.R.ExtensionResourceDefinition appropriately.
func (*ExtensionResourceDefinition) AddUserExtensionResources ¶
func (o *ExtensionResourceDefinition) AddUserExtensionResources(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserExtensionResource) error
AddUserExtensionResources adds the given related objects to the existing relationships of the extension_resource_definition, optionally inserting them as new records. Appends related to o.R.UserExtensionResources. Sets related.R.ExtensionResourceDefinition appropriately.
func (*ExtensionResourceDefinition) AdminGroupGroup ¶
func (o *ExtensionResourceDefinition) AdminGroupGroup(mods ...qm.QueryMod) groupQuery
AdminGroupGroup pointed to by the foreign key.
func (*ExtensionResourceDefinition) Delete ¶
func (o *ExtensionResourceDefinition) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single ExtensionResourceDefinition record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ExtensionResourceDefinition) Exists ¶
func (o *ExtensionResourceDefinition) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the ExtensionResourceDefinition row exists.
func (*ExtensionResourceDefinition) Extension ¶
func (o *ExtensionResourceDefinition) Extension(mods ...qm.QueryMod) extensionQuery
Extension pointed to by the foreign key.
func (*ExtensionResourceDefinition) GetAdminGroupGroup ¶
func (o *ExtensionResourceDefinition) GetAdminGroupGroup() *Group
func (*ExtensionResourceDefinition) GetExtension ¶
func (o *ExtensionResourceDefinition) GetExtension() *Extension
func (*ExtensionResourceDefinition) GetSystemExtensionResources ¶
func (o *ExtensionResourceDefinition) GetSystemExtensionResources() SystemExtensionResourceSlice
func (*ExtensionResourceDefinition) GetUserExtensionResources ¶
func (o *ExtensionResourceDefinition) GetUserExtensionResources() UserExtensionResourceSlice
func (*ExtensionResourceDefinition) Insert ¶
func (o *ExtensionResourceDefinition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*ExtensionResourceDefinition) Reload ¶
func (o *ExtensionResourceDefinition) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ExtensionResourceDefinition) RemoveAdminGroupGroup ¶
func (o *ExtensionResourceDefinition) RemoveAdminGroupGroup(ctx context.Context, exec boil.ContextExecutor, related *Group) error
RemoveAdminGroupGroup relationship. Sets o.R.AdminGroupGroup to nil. Removes o from all passed in related items' relationships struct.
func (*ExtensionResourceDefinition) SetAdminGroupGroup ¶
func (o *ExtensionResourceDefinition) SetAdminGroupGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetAdminGroupGroup of the extensionResourceDefinition to the related item. Sets o.R.AdminGroupGroup to related. Adds o to related.R.AdminGroupExtensionResourceDefinitions.
func (*ExtensionResourceDefinition) SetExtension ¶
func (o *ExtensionResourceDefinition) SetExtension(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Extension) error
SetExtension of the extensionResourceDefinition to the related item. Sets o.R.Extension to related. Adds o to related.R.ExtensionResourceDefinitions.
func (*ExtensionResourceDefinition) SystemExtensionResources ¶
func (o *ExtensionResourceDefinition) SystemExtensionResources(mods ...qm.QueryMod) systemExtensionResourceQuery
SystemExtensionResources retrieves all the system_extension_resource's SystemExtensionResources with an executor.
func (*ExtensionResourceDefinition) Update ¶
func (o *ExtensionResourceDefinition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the ExtensionResourceDefinition. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*ExtensionResourceDefinition) Upsert ¶
func (o *ExtensionResourceDefinition) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*ExtensionResourceDefinition) UserExtensionResources ¶
func (o *ExtensionResourceDefinition) UserExtensionResources(mods ...qm.QueryMod) userExtensionResourceQuery
UserExtensionResources retrieves all the user_extension_resource's UserExtensionResources with an executor.
type ExtensionResourceDefinitionHook ¶
type ExtensionResourceDefinitionHook func(context.Context, boil.ContextExecutor, *ExtensionResourceDefinition) error
ExtensionResourceDefinitionHook is the signature for custom ExtensionResourceDefinition hook methods
type ExtensionResourceDefinitionSlice ¶
type ExtensionResourceDefinitionSlice []*ExtensionResourceDefinition
ExtensionResourceDefinitionSlice is an alias for a slice of pointers to ExtensionResourceDefinition. This should almost always be used instead of []ExtensionResourceDefinition.
func (ExtensionResourceDefinitionSlice) DeleteAll ¶
func (o ExtensionResourceDefinitionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ExtensionResourceDefinitionSlice) ReloadAll ¶
func (o *ExtensionResourceDefinitionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (ExtensionResourceDefinitionSlice) UpdateAll ¶
func (o ExtensionResourceDefinitionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type ExtensionSlice ¶
type ExtensionSlice []*Extension
ExtensionSlice is an alias for a slice of pointers to Extension. This should almost always be used instead of []Extension.
func (ExtensionSlice) DeleteAll ¶
func (o ExtensionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ExtensionSlice) ReloadAll ¶
func (o *ExtensionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (ExtensionSlice) UpdateAll ¶
func (o ExtensionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Group ¶
type Group struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
Name string `boil:"name" json:"name" toml:"name" yaml:"name"`
Slug string `boil:"slug" json:"slug" toml:"slug" yaml:"slug"`
Description string `boil:"description" json:"description" toml:"description" yaml:"description"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
Note string `boil:"note" json:"note" toml:"note" yaml:"note"`
ApproverGroup null.String `boil:"approver_group" json:"approver_group,omitempty" toml:"approver_group" yaml:"approver_group,omitempty"`
Metadata types.JSON `boil:"metadata" json:"metadata" toml:"metadata" yaml:"metadata"`
R *groupR `boil:"-" json:"-" toml:"-" yaml:"-"`
L groupL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Group is an object representing the database table.
func FindGroup ¶
func FindGroup(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Group, error)
FindGroup retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Group) AddAdminGroupExtensionResourceDefinitions ¶
func (o *Group) AddAdminGroupExtensionResourceDefinitions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ExtensionResourceDefinition) error
AddAdminGroupExtensionResourceDefinitions adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.AdminGroupExtensionResourceDefinitions. Sets related.R.AdminGroupGroup appropriately.
func (*Group) AddApproverGroupApplications ¶
func (o *Group) AddApproverGroupApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Application) error
AddApproverGroupApplications adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.ApproverGroupApplications. Sets related.R.ApproverGroup appropriately.
func (*Group) AddApproverGroupGroupApplicationRequests ¶
func (o *Group) AddApproverGroupGroupApplicationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupApplicationRequest) error
AddApproverGroupGroupApplicationRequests adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.ApproverGroupGroupApplicationRequests. Sets related.R.ApproverGroup appropriately.
func (*Group) AddApproverGroupGroups ¶
func (o *Group) AddApproverGroupGroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Group) error
AddApproverGroupGroups adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.ApproverGroupGroups. Sets related.R.ApproverGroupGroup appropriately.
func (*Group) AddGroupApplicationRequests ¶
func (o *Group) AddGroupApplicationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupApplicationRequest) error
AddGroupApplicationRequests adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.GroupApplicationRequests. Sets related.R.Group appropriately.
func (*Group) AddGroupApplications ¶
func (o *Group) AddGroupApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupApplication) error
AddGroupApplications adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.GroupApplications. Sets related.R.Group appropriately.
func (*Group) AddGroupMembershipRequests ¶
func (o *Group) AddGroupMembershipRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupMembershipRequest) error
AddGroupMembershipRequests adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.GroupMembershipRequests. Sets related.R.Group appropriately.
func (*Group) AddGroupMemberships ¶
func (o *Group) AddGroupMemberships(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupMembership) error
AddGroupMemberships adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.GroupMemberships. Sets related.R.Group appropriately.
func (*Group) AddGroupOrganizations ¶
func (o *Group) AddGroupOrganizations(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupOrganization) error
AddGroupOrganizations adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.GroupOrganizations. Sets related.R.Group appropriately.
func (*Group) AddMemberGroupGroupHierarchies ¶
func (o *Group) AddMemberGroupGroupHierarchies(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupHierarchy) error
AddMemberGroupGroupHierarchies adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.MemberGroupGroupHierarchies. Sets related.R.MemberGroup appropriately.
func (*Group) AddOwnerSystemExtensionResources ¶ added in v0.11.0
func (o *Group) AddOwnerSystemExtensionResources(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*SystemExtensionResource) error
AddOwnerSystemExtensionResources adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.OwnerSystemExtensionResources. Sets related.R.Owner appropriately.
func (*Group) AddParentGroupGroupHierarchies ¶
func (o *Group) AddParentGroupGroupHierarchies(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupHierarchy) error
AddParentGroupGroupHierarchies adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.ParentGroupGroupHierarchies. Sets related.R.ParentGroup appropriately.
func (*Group) AddSubjectGroupAuditEvents ¶
func (o *Group) AddSubjectGroupAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuditEvent) error
AddSubjectGroupAuditEvents adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.SubjectGroupAuditEvents. Sets related.R.SubjectGroup appropriately.
func (*Group) AdminGroupExtensionResourceDefinitions ¶
func (o *Group) AdminGroupExtensionResourceDefinitions(mods ...qm.QueryMod) extensionResourceDefinitionQuery
AdminGroupExtensionResourceDefinitions retrieves all the extension_resource_definition's ExtensionResourceDefinitions with an executor via admin_group column.
func (*Group) ApproverGroupApplications ¶
ApproverGroupApplications retrieves all the application's Applications with an executor via approver_group_id column.
func (*Group) ApproverGroupGroup ¶
ApproverGroupGroup pointed to by the foreign key.
func (*Group) ApproverGroupGroupApplicationRequests ¶
func (o *Group) ApproverGroupGroupApplicationRequests(mods ...qm.QueryMod) groupApplicationRequestQuery
ApproverGroupGroupApplicationRequests retrieves all the group_application_request's GroupApplicationRequests with an executor via approver_group_id column.
func (*Group) ApproverGroupGroups ¶
ApproverGroupGroups retrieves all the group's Groups with an executor via approver_group column.
func (*Group) Delete ¶
func (o *Group) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Group record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Group) GetAdminGroupExtensionResourceDefinitions ¶
func (o *Group) GetAdminGroupExtensionResourceDefinitions() ExtensionResourceDefinitionSlice
func (*Group) GetApproverGroupApplications ¶
func (o *Group) GetApproverGroupApplications() ApplicationSlice
func (*Group) GetApproverGroupGroup ¶
func (*Group) GetApproverGroupGroupApplicationRequests ¶
func (o *Group) GetApproverGroupGroupApplicationRequests() GroupApplicationRequestSlice
func (*Group) GetApproverGroupGroups ¶
func (o *Group) GetApproverGroupGroups() GroupSlice
func (*Group) GetGroupApplicationRequests ¶
func (o *Group) GetGroupApplicationRequests() GroupApplicationRequestSlice
func (*Group) GetGroupApplications ¶
func (o *Group) GetGroupApplications() GroupApplicationSlice
func (*Group) GetGroupMembershipRequests ¶
func (o *Group) GetGroupMembershipRequests() GroupMembershipRequestSlice
func (*Group) GetGroupMemberships ¶
func (o *Group) GetGroupMemberships() GroupMembershipSlice
func (*Group) GetGroupOrganizations ¶
func (o *Group) GetGroupOrganizations() GroupOrganizationSlice
func (*Group) GetMemberGroupGroupHierarchies ¶
func (o *Group) GetMemberGroupGroupHierarchies() GroupHierarchySlice
func (*Group) GetOwnerSystemExtensionResources ¶ added in v0.11.0
func (o *Group) GetOwnerSystemExtensionResources() SystemExtensionResourceSlice
func (*Group) GetParentGroupGroupHierarchies ¶
func (o *Group) GetParentGroupGroupHierarchies() GroupHierarchySlice
func (*Group) GetSubjectGroupAuditEvents ¶
func (o *Group) GetSubjectGroupAuditEvents() AuditEventSlice
func (*Group) GroupApplicationRequests ¶
GroupApplicationRequests retrieves all the group_application_request's GroupApplicationRequests with an executor.
func (*Group) GroupApplications ¶
GroupApplications retrieves all the group_application's GroupApplications with an executor.
func (*Group) GroupMembershipRequests ¶
GroupMembershipRequests retrieves all the group_membership_request's GroupMembershipRequests with an executor.
func (*Group) GroupMemberships ¶
GroupMemberships retrieves all the group_membership's GroupMemberships with an executor.
func (*Group) GroupOrganizations ¶
GroupOrganizations retrieves all the group_organization's GroupOrganizations with an executor.
func (*Group) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Group) MemberGroupGroupHierarchies ¶
MemberGroupGroupHierarchies retrieves all the group_hierarchy's GroupHierarchies with an executor via member_group_id column.
func (*Group) OwnerSystemExtensionResources ¶ added in v0.11.0
OwnerSystemExtensionResources retrieves all the system_extension_resource's SystemExtensionResources with an executor via owner_id column.
func (*Group) ParentGroupGroupHierarchies ¶
ParentGroupGroupHierarchies retrieves all the group_hierarchy's GroupHierarchies with an executor via parent_group_id column.
func (*Group) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Group) RemoveAdminGroupExtensionResourceDefinitions ¶
func (o *Group) RemoveAdminGroupExtensionResourceDefinitions(ctx context.Context, exec boil.ContextExecutor, related ...*ExtensionResourceDefinition) error
RemoveAdminGroupExtensionResourceDefinitions relationships from objects passed in. Removes related items from R.AdminGroupExtensionResourceDefinitions (uses pointer comparison, removal does not keep order) Sets related.R.AdminGroupGroup.
func (*Group) RemoveApproverGroupApplications ¶
func (o *Group) RemoveApproverGroupApplications(ctx context.Context, exec boil.ContextExecutor, related ...*Application) error
RemoveApproverGroupApplications relationships from objects passed in. Removes related items from R.ApproverGroupApplications (uses pointer comparison, removal does not keep order) Sets related.R.ApproverGroup.
func (*Group) RemoveApproverGroupGroup ¶
func (o *Group) RemoveApproverGroupGroup(ctx context.Context, exec boil.ContextExecutor, related *Group) error
RemoveApproverGroupGroup relationship. Sets o.R.ApproverGroupGroup to nil. Removes o from all passed in related items' relationships struct.
func (*Group) RemoveApproverGroupGroups ¶
func (o *Group) RemoveApproverGroupGroups(ctx context.Context, exec boil.ContextExecutor, related ...*Group) error
RemoveApproverGroupGroups relationships from objects passed in. Removes related items from R.ApproverGroupGroups (uses pointer comparison, removal does not keep order) Sets related.R.ApproverGroupGroup.
func (*Group) RemoveOwnerSystemExtensionResources ¶ added in v0.11.0
func (o *Group) RemoveOwnerSystemExtensionResources(ctx context.Context, exec boil.ContextExecutor, related ...*SystemExtensionResource) error
RemoveOwnerSystemExtensionResources relationships from objects passed in. Removes related items from R.OwnerSystemExtensionResources (uses pointer comparison, removal does not keep order) Sets related.R.Owner.
func (*Group) RemoveSubjectGroupAuditEvents ¶
func (o *Group) RemoveSubjectGroupAuditEvents(ctx context.Context, exec boil.ContextExecutor, related ...*AuditEvent) error
RemoveSubjectGroupAuditEvents relationships from objects passed in. Removes related items from R.SubjectGroupAuditEvents (uses pointer comparison, removal does not keep order) Sets related.R.SubjectGroup.
func (*Group) SetAdminGroupExtensionResourceDefinitions ¶
func (o *Group) SetAdminGroupExtensionResourceDefinitions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ExtensionResourceDefinition) error
SetAdminGroupExtensionResourceDefinitions removes all previously related items of the group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.AdminGroupGroup's AdminGroupExtensionResourceDefinitions accordingly. Replaces o.R.AdminGroupExtensionResourceDefinitions with related. Sets related.R.AdminGroupGroup's AdminGroupExtensionResourceDefinitions accordingly.
func (*Group) SetApproverGroupApplications ¶
func (o *Group) SetApproverGroupApplications(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Application) error
SetApproverGroupApplications removes all previously related items of the group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ApproverGroup's ApproverGroupApplications accordingly. Replaces o.R.ApproverGroupApplications with related. Sets related.R.ApproverGroup's ApproverGroupApplications accordingly.
func (*Group) SetApproverGroupGroup ¶
func (o *Group) SetApproverGroupGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetApproverGroupGroup of the group to the related item. Sets o.R.ApproverGroupGroup to related. Adds o to related.R.ApproverGroupGroups.
func (*Group) SetApproverGroupGroups ¶
func (o *Group) SetApproverGroupGroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Group) error
SetApproverGroupGroups removes all previously related items of the group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ApproverGroupGroup's ApproverGroupGroups accordingly. Replaces o.R.ApproverGroupGroups with related. Sets related.R.ApproverGroupGroup's ApproverGroupGroups accordingly.
func (*Group) SetOwnerSystemExtensionResources ¶ added in v0.11.0
func (o *Group) SetOwnerSystemExtensionResources(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*SystemExtensionResource) error
SetOwnerSystemExtensionResources removes all previously related items of the group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Owner's OwnerSystemExtensionResources accordingly. Replaces o.R.OwnerSystemExtensionResources with related. Sets related.R.Owner's OwnerSystemExtensionResources accordingly.
func (*Group) SetSubjectGroupAuditEvents ¶
func (o *Group) SetSubjectGroupAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuditEvent) error
SetSubjectGroupAuditEvents removes all previously related items of the group replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SubjectGroup's SubjectGroupAuditEvents accordingly. Replaces o.R.SubjectGroupAuditEvents with related. Sets related.R.SubjectGroup's SubjectGroupAuditEvents accordingly.
func (*Group) SubjectGroupAuditEvents ¶
SubjectGroupAuditEvents retrieves all the audit_event's AuditEvents with an executor via subject_group_id column.
func (*Group) Update ¶
func (o *Group) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Group. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Group) Upsert ¶
func (o *Group) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type GroupApplication ¶
type GroupApplication struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
GroupID string `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"`
ApplicationID string `boil:"application_id" json:"application_id" toml:"application_id" yaml:"application_id"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *groupApplicationR `boil:"-" json:"-" toml:"-" yaml:"-"`
L groupApplicationL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
GroupApplication is an object representing the database table.
func FindGroupApplication ¶
func FindGroupApplication(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*GroupApplication, error)
FindGroupApplication retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*GroupApplication) Application ¶
func (o *GroupApplication) Application(mods ...qm.QueryMod) applicationQuery
Application pointed to by the foreign key.
func (*GroupApplication) Delete ¶
func (o *GroupApplication) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single GroupApplication record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GroupApplication) Exists ¶
func (o *GroupApplication) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the GroupApplication row exists.
func (*GroupApplication) GetApplication ¶
func (o *GroupApplication) GetApplication() *Application
func (*GroupApplication) GetGroup ¶
func (o *GroupApplication) GetGroup() *Group
func (*GroupApplication) Group ¶
func (o *GroupApplication) Group(mods ...qm.QueryMod) groupQuery
Group pointed to by the foreign key.
func (*GroupApplication) Insert ¶
func (o *GroupApplication) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*GroupApplication) Reload ¶
func (o *GroupApplication) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GroupApplication) SetApplication ¶
func (o *GroupApplication) SetApplication(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Application) error
SetApplication of the groupApplication to the related item. Sets o.R.Application to related. Adds o to related.R.GroupApplications.
func (*GroupApplication) SetGroup ¶
func (o *GroupApplication) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetGroup of the groupApplication to the related item. Sets o.R.Group to related. Adds o to related.R.GroupApplications.
func (*GroupApplication) Update ¶
func (o *GroupApplication) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GroupApplication. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*GroupApplication) Upsert ¶
func (o *GroupApplication) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type GroupApplicationHook ¶
type GroupApplicationHook func(context.Context, boil.ContextExecutor, *GroupApplication) error
GroupApplicationHook is the signature for custom GroupApplication hook methods
type GroupApplicationRequest ¶
type GroupApplicationRequest struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
GroupID string `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"`
ApplicationID string `boil:"application_id" json:"application_id" toml:"application_id" yaml:"application_id"`
ApproverGroupID string `boil:"approver_group_id" json:"approver_group_id" toml:"approver_group_id" yaml:"approver_group_id"`
RequesterUserID string `boil:"requester_user_id" json:"requester_user_id" toml:"requester_user_id" yaml:"requester_user_id"`
Note null.String `boil:"note" json:"note,omitempty" toml:"note" yaml:"note,omitempty"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
R *groupApplicationRequestR `boil:"-" json:"-" toml:"-" yaml:"-"`
L groupApplicationRequestL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
GroupApplicationRequest is an object representing the database table.
func FindGroupApplicationRequest ¶
func FindGroupApplicationRequest(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*GroupApplicationRequest, error)
FindGroupApplicationRequest retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*GroupApplicationRequest) Application ¶
func (o *GroupApplicationRequest) Application(mods ...qm.QueryMod) applicationQuery
Application pointed to by the foreign key.
func (*GroupApplicationRequest) ApproverGroup ¶
func (o *GroupApplicationRequest) ApproverGroup(mods ...qm.QueryMod) groupQuery
ApproverGroup pointed to by the foreign key.
func (*GroupApplicationRequest) Delete ¶
func (o *GroupApplicationRequest) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single GroupApplicationRequest record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GroupApplicationRequest) Exists ¶
func (o *GroupApplicationRequest) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the GroupApplicationRequest row exists.
func (*GroupApplicationRequest) GetApplication ¶
func (o *GroupApplicationRequest) GetApplication() *Application
func (*GroupApplicationRequest) GetApproverGroup ¶
func (o *GroupApplicationRequest) GetApproverGroup() *Group
func (*GroupApplicationRequest) GetGroup ¶
func (o *GroupApplicationRequest) GetGroup() *Group
func (*GroupApplicationRequest) GetRequesterUser ¶
func (o *GroupApplicationRequest) GetRequesterUser() *User
func (*GroupApplicationRequest) Group ¶
func (o *GroupApplicationRequest) Group(mods ...qm.QueryMod) groupQuery
Group pointed to by the foreign key.
func (*GroupApplicationRequest) Insert ¶
func (o *GroupApplicationRequest) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*GroupApplicationRequest) Reload ¶
func (o *GroupApplicationRequest) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GroupApplicationRequest) RequesterUser ¶
func (o *GroupApplicationRequest) RequesterUser(mods ...qm.QueryMod) userQuery
RequesterUser pointed to by the foreign key.
func (*GroupApplicationRequest) SetApplication ¶
func (o *GroupApplicationRequest) SetApplication(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Application) error
SetApplication of the groupApplicationRequest to the related item. Sets o.R.Application to related. Adds o to related.R.GroupApplicationRequests.
func (*GroupApplicationRequest) SetApproverGroup ¶
func (o *GroupApplicationRequest) SetApproverGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetApproverGroup of the groupApplicationRequest to the related item. Sets o.R.ApproverGroup to related. Adds o to related.R.ApproverGroupGroupApplicationRequests.
func (*GroupApplicationRequest) SetGroup ¶
func (o *GroupApplicationRequest) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetGroup of the groupApplicationRequest to the related item. Sets o.R.Group to related. Adds o to related.R.GroupApplicationRequests.
func (*GroupApplicationRequest) SetRequesterUser ¶
func (o *GroupApplicationRequest) SetRequesterUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetRequesterUser of the groupApplicationRequest to the related item. Sets o.R.RequesterUser to related. Adds o to related.R.RequesterUserGroupApplicationRequests.
func (*GroupApplicationRequest) Update ¶
func (o *GroupApplicationRequest) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GroupApplicationRequest. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*GroupApplicationRequest) Upsert ¶
func (o *GroupApplicationRequest) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type GroupApplicationRequestHook ¶
type GroupApplicationRequestHook func(context.Context, boil.ContextExecutor, *GroupApplicationRequest) error
GroupApplicationRequestHook is the signature for custom GroupApplicationRequest hook methods
type GroupApplicationRequestSlice ¶
type GroupApplicationRequestSlice []*GroupApplicationRequest
GroupApplicationRequestSlice is an alias for a slice of pointers to GroupApplicationRequest. This should almost always be used instead of []GroupApplicationRequest.
func (GroupApplicationRequestSlice) DeleteAll ¶
func (o GroupApplicationRequestSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GroupApplicationRequestSlice) ReloadAll ¶
func (o *GroupApplicationRequestSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GroupApplicationRequestSlice) UpdateAll ¶
func (o GroupApplicationRequestSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type GroupApplicationSlice ¶
type GroupApplicationSlice []*GroupApplication
GroupApplicationSlice is an alias for a slice of pointers to GroupApplication. This should almost always be used instead of []GroupApplication.
func (GroupApplicationSlice) DeleteAll ¶
func (o GroupApplicationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GroupApplicationSlice) ReloadAll ¶
func (o *GroupApplicationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GroupApplicationSlice) UpdateAll ¶
func (o GroupApplicationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type GroupHierarchy ¶
type GroupHierarchy struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
ParentGroupID string `boil:"parent_group_id" json:"parent_group_id" toml:"parent_group_id" yaml:"parent_group_id"`
MemberGroupID string `boil:"member_group_id" json:"member_group_id" toml:"member_group_id" yaml:"member_group_id"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
ExpiresAt null.Time `boil:"expires_at" json:"expires_at,omitempty" toml:"expires_at" yaml:"expires_at,omitempty"`
R *groupHierarchyR `boil:"-" json:"-" toml:"-" yaml:"-"`
L groupHierarchyL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
GroupHierarchy is an object representing the database table.
func FindGroupHierarchy ¶
func FindGroupHierarchy(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*GroupHierarchy, error)
FindGroupHierarchy retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*GroupHierarchy) Delete ¶
func (o *GroupHierarchy) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single GroupHierarchy record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GroupHierarchy) Exists ¶
func (o *GroupHierarchy) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the GroupHierarchy row exists.
func (*GroupHierarchy) GetMemberGroup ¶
func (o *GroupHierarchy) GetMemberGroup() *Group
func (*GroupHierarchy) GetParentGroup ¶
func (o *GroupHierarchy) GetParentGroup() *Group
func (*GroupHierarchy) Insert ¶
func (o *GroupHierarchy) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*GroupHierarchy) MemberGroup ¶
func (o *GroupHierarchy) MemberGroup(mods ...qm.QueryMod) groupQuery
MemberGroup pointed to by the foreign key.
func (*GroupHierarchy) ParentGroup ¶
func (o *GroupHierarchy) ParentGroup(mods ...qm.QueryMod) groupQuery
ParentGroup pointed to by the foreign key.
func (*GroupHierarchy) Reload ¶
func (o *GroupHierarchy) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GroupHierarchy) SetMemberGroup ¶
func (o *GroupHierarchy) SetMemberGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetMemberGroup of the groupHierarchy to the related item. Sets o.R.MemberGroup to related. Adds o to related.R.MemberGroupGroupHierarchies.
func (*GroupHierarchy) SetParentGroup ¶
func (o *GroupHierarchy) SetParentGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetParentGroup of the groupHierarchy to the related item. Sets o.R.ParentGroup to related. Adds o to related.R.ParentGroupGroupHierarchies.
func (*GroupHierarchy) Update ¶
func (o *GroupHierarchy) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GroupHierarchy. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*GroupHierarchy) Upsert ¶
func (o *GroupHierarchy) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type GroupHierarchyHook ¶
type GroupHierarchyHook func(context.Context, boil.ContextExecutor, *GroupHierarchy) error
GroupHierarchyHook is the signature for custom GroupHierarchy hook methods
type GroupHierarchySlice ¶
type GroupHierarchySlice []*GroupHierarchy
GroupHierarchySlice is an alias for a slice of pointers to GroupHierarchy. This should almost always be used instead of []GroupHierarchy.
func (GroupHierarchySlice) DeleteAll ¶
func (o GroupHierarchySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GroupHierarchySlice) ReloadAll ¶
func (o *GroupHierarchySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GroupHierarchySlice) UpdateAll ¶
func (o GroupHierarchySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type GroupMembership ¶
type GroupMembership struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
GroupID string `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"`
UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
IsAdmin bool `boil:"is_admin" json:"is_admin" toml:"is_admin" yaml:"is_admin"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
ExpiresAt null.Time `boil:"expires_at" json:"expires_at,omitempty" toml:"expires_at" yaml:"expires_at,omitempty"`
AdminExpiresAt null.Time `boil:"admin_expires_at" json:"admin_expires_at,omitempty" toml:"admin_expires_at" yaml:"admin_expires_at,omitempty"`
R *groupMembershipR `boil:"-" json:"-" toml:"-" yaml:"-"`
L groupMembershipL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
GroupMembership is an object representing the database table.
func FindGroupMembership ¶
func FindGroupMembership(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*GroupMembership, error)
FindGroupMembership retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*GroupMembership) Delete ¶
func (o *GroupMembership) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single GroupMembership record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GroupMembership) Exists ¶
func (o *GroupMembership) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the GroupMembership row exists.
func (*GroupMembership) GetGroup ¶
func (o *GroupMembership) GetGroup() *Group
func (*GroupMembership) GetUser ¶
func (o *GroupMembership) GetUser() *User
func (*GroupMembership) Group ¶
func (o *GroupMembership) Group(mods ...qm.QueryMod) groupQuery
Group pointed to by the foreign key.
func (*GroupMembership) Insert ¶
func (o *GroupMembership) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*GroupMembership) Reload ¶
func (o *GroupMembership) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GroupMembership) SetGroup ¶
func (o *GroupMembership) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetGroup of the groupMembership to the related item. Sets o.R.Group to related. Adds o to related.R.GroupMemberships.
func (*GroupMembership) SetUser ¶
func (o *GroupMembership) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the groupMembership to the related item. Sets o.R.User to related. Adds o to related.R.GroupMemberships.
func (*GroupMembership) Update ¶
func (o *GroupMembership) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GroupMembership. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*GroupMembership) Upsert ¶
func (o *GroupMembership) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*GroupMembership) User ¶
func (o *GroupMembership) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type GroupMembershipHook ¶
type GroupMembershipHook func(context.Context, boil.ContextExecutor, *GroupMembership) error
GroupMembershipHook is the signature for custom GroupMembership hook methods
type GroupMembershipRequest ¶
type GroupMembershipRequest struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
GroupID string `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"`
UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
IsAdmin bool `boil:"is_admin" json:"is_admin" toml:"is_admin" yaml:"is_admin"`
Note string `boil:"note" json:"note" toml:"note" yaml:"note"`
ExpiresAt null.Time `boil:"expires_at" json:"expires_at,omitempty" toml:"expires_at" yaml:"expires_at,omitempty"`
Kind string `boil:"kind" json:"kind" toml:"kind" yaml:"kind"`
AdminExpiresAt null.Time `boil:"admin_expires_at" json:"admin_expires_at,omitempty" toml:"admin_expires_at" yaml:"admin_expires_at,omitempty"`
R *groupMembershipRequestR `boil:"-" json:"-" toml:"-" yaml:"-"`
L groupMembershipRequestL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
GroupMembershipRequest is an object representing the database table.
func FindGroupMembershipRequest ¶
func FindGroupMembershipRequest(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*GroupMembershipRequest, error)
FindGroupMembershipRequest retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*GroupMembershipRequest) Delete ¶
func (o *GroupMembershipRequest) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single GroupMembershipRequest record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GroupMembershipRequest) Exists ¶
func (o *GroupMembershipRequest) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the GroupMembershipRequest row exists.
func (*GroupMembershipRequest) GetGroup ¶
func (o *GroupMembershipRequest) GetGroup() *Group
func (*GroupMembershipRequest) GetUser ¶
func (o *GroupMembershipRequest) GetUser() *User
func (*GroupMembershipRequest) Group ¶
func (o *GroupMembershipRequest) Group(mods ...qm.QueryMod) groupQuery
Group pointed to by the foreign key.
func (*GroupMembershipRequest) Insert ¶
func (o *GroupMembershipRequest) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*GroupMembershipRequest) Reload ¶
func (o *GroupMembershipRequest) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GroupMembershipRequest) SetGroup ¶
func (o *GroupMembershipRequest) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetGroup of the groupMembershipRequest to the related item. Sets o.R.Group to related. Adds o to related.R.GroupMembershipRequests.
func (*GroupMembershipRequest) SetUser ¶
func (o *GroupMembershipRequest) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the groupMembershipRequest to the related item. Sets o.R.User to related. Adds o to related.R.GroupMembershipRequests.
func (*GroupMembershipRequest) Update ¶
func (o *GroupMembershipRequest) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GroupMembershipRequest. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*GroupMembershipRequest) Upsert ¶
func (o *GroupMembershipRequest) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*GroupMembershipRequest) User ¶
func (o *GroupMembershipRequest) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type GroupMembershipRequestHook ¶
type GroupMembershipRequestHook func(context.Context, boil.ContextExecutor, *GroupMembershipRequest) error
GroupMembershipRequestHook is the signature for custom GroupMembershipRequest hook methods
type GroupMembershipRequestSlice ¶
type GroupMembershipRequestSlice []*GroupMembershipRequest
GroupMembershipRequestSlice is an alias for a slice of pointers to GroupMembershipRequest. This should almost always be used instead of []GroupMembershipRequest.
func (GroupMembershipRequestSlice) DeleteAll ¶
func (o GroupMembershipRequestSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GroupMembershipRequestSlice) ReloadAll ¶
func (o *GroupMembershipRequestSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GroupMembershipRequestSlice) UpdateAll ¶
func (o GroupMembershipRequestSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type GroupMembershipSlice ¶
type GroupMembershipSlice []*GroupMembership
GroupMembershipSlice is an alias for a slice of pointers to GroupMembership. This should almost always be used instead of []GroupMembership.
func (GroupMembershipSlice) DeleteAll ¶
func (o GroupMembershipSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GroupMembershipSlice) ReloadAll ¶
func (o *GroupMembershipSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GroupMembershipSlice) UpdateAll ¶
func (o GroupMembershipSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type GroupOrganization ¶
type GroupOrganization struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
GroupID string `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"`
OrganizationID string `boil:"organization_id" json:"organization_id" toml:"organization_id" yaml:"organization_id"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
R *groupOrganizationR `boil:"-" json:"-" toml:"-" yaml:"-"`
L groupOrganizationL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
GroupOrganization is an object representing the database table.
func FindGroupOrganization ¶
func FindGroupOrganization(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*GroupOrganization, error)
FindGroupOrganization retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*GroupOrganization) Delete ¶
func (o *GroupOrganization) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single GroupOrganization record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GroupOrganization) Exists ¶
func (o *GroupOrganization) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the GroupOrganization row exists.
func (*GroupOrganization) GetGroup ¶
func (o *GroupOrganization) GetGroup() *Group
func (*GroupOrganization) GetOrganization ¶
func (o *GroupOrganization) GetOrganization() *Organization
func (*GroupOrganization) Group ¶
func (o *GroupOrganization) Group(mods ...qm.QueryMod) groupQuery
Group pointed to by the foreign key.
func (*GroupOrganization) Insert ¶
func (o *GroupOrganization) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*GroupOrganization) Organization ¶
func (o *GroupOrganization) Organization(mods ...qm.QueryMod) organizationQuery
Organization pointed to by the foreign key.
func (*GroupOrganization) Reload ¶
func (o *GroupOrganization) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GroupOrganization) SetGroup ¶
func (o *GroupOrganization) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetGroup of the groupOrganization to the related item. Sets o.R.Group to related. Adds o to related.R.GroupOrganizations.
func (*GroupOrganization) SetOrganization ¶
func (o *GroupOrganization) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Organization) error
SetOrganization of the groupOrganization to the related item. Sets o.R.Organization to related. Adds o to related.R.GroupOrganizations.
func (*GroupOrganization) Update ¶
func (o *GroupOrganization) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GroupOrganization. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*GroupOrganization) Upsert ¶
func (o *GroupOrganization) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type GroupOrganizationHook ¶
type GroupOrganizationHook func(context.Context, boil.ContextExecutor, *GroupOrganization) error
GroupOrganizationHook is the signature for custom GroupOrganization hook methods
type GroupOrganizationSlice ¶
type GroupOrganizationSlice []*GroupOrganization
GroupOrganizationSlice is an alias for a slice of pointers to GroupOrganization. This should almost always be used instead of []GroupOrganization.
func (GroupOrganizationSlice) DeleteAll ¶
func (o GroupOrganizationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GroupOrganizationSlice) ReloadAll ¶
func (o *GroupOrganizationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GroupOrganizationSlice) UpdateAll ¶
func (o GroupOrganizationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type GroupSlice ¶
type GroupSlice []*Group
GroupSlice is an alias for a slice of pointers to Group. This should almost always be used instead of []Group.
func (GroupSlice) DeleteAll ¶
func (o GroupSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GroupSlice) ReloadAll ¶
func (o *GroupSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GroupSlice) UpdateAll ¶
func (o GroupSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type NotificationPreference ¶
type NotificationPreference struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
NotificationTypeID string `boil:"notification_type_id" json:"notification_type_id" toml:"notification_type_id" yaml:"notification_type_id"`
NotificationTargetID null.String `` /* 139-byte string literal not displayed */
NotificationTargetIDNullString null.String `` /* 187-byte string literal not displayed */
Enabled bool `boil:"enabled" json:"enabled" toml:"enabled" yaml:"enabled"`
R *notificationPreferenceR `boil:"-" json:"-" toml:"-" yaml:"-"`
L notificationPreferenceL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
NotificationPreference is an object representing the database table.
func FindNotificationPreference ¶
func FindNotificationPreference(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*NotificationPreference, error)
FindNotificationPreference retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*NotificationPreference) Delete ¶
func (o *NotificationPreference) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single NotificationPreference record with an executor. Delete will match against the primary key column to find the record to delete.
func (*NotificationPreference) Exists ¶
func (o *NotificationPreference) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the NotificationPreference row exists.
func (*NotificationPreference) GetNotificationTarget ¶
func (o *NotificationPreference) GetNotificationTarget() *NotificationTarget
func (*NotificationPreference) GetNotificationType ¶
func (o *NotificationPreference) GetNotificationType() *NotificationType
func (*NotificationPreference) GetUser ¶
func (o *NotificationPreference) GetUser() *User
func (*NotificationPreference) Insert ¶
func (o *NotificationPreference) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*NotificationPreference) NotificationTarget ¶
func (o *NotificationPreference) NotificationTarget(mods ...qm.QueryMod) notificationTargetQuery
NotificationTarget pointed to by the foreign key.
func (*NotificationPreference) NotificationType ¶
func (o *NotificationPreference) NotificationType(mods ...qm.QueryMod) notificationTypeQuery
NotificationType pointed to by the foreign key.
func (*NotificationPreference) Reload ¶
func (o *NotificationPreference) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*NotificationPreference) RemoveNotificationTarget ¶
func (o *NotificationPreference) RemoveNotificationTarget(ctx context.Context, exec boil.ContextExecutor, related *NotificationTarget) error
RemoveNotificationTarget relationship. Sets o.R.NotificationTarget to nil. Removes o from all passed in related items' relationships struct.
func (*NotificationPreference) SetNotificationTarget ¶
func (o *NotificationPreference) SetNotificationTarget(ctx context.Context, exec boil.ContextExecutor, insert bool, related *NotificationTarget) error
SetNotificationTarget of the notificationPreference to the related item. Sets o.R.NotificationTarget to related. Adds o to related.R.NotificationPreferences.
func (*NotificationPreference) SetNotificationType ¶
func (o *NotificationPreference) SetNotificationType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *NotificationType) error
SetNotificationType of the notificationPreference to the related item. Sets o.R.NotificationType to related. Adds o to related.R.NotificationPreferences.
func (*NotificationPreference) SetUser ¶
func (o *NotificationPreference) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the notificationPreference to the related item. Sets o.R.User to related. Adds o to related.R.NotificationPreferences.
func (*NotificationPreference) Update ¶
func (o *NotificationPreference) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the NotificationPreference. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*NotificationPreference) Upsert ¶
func (o *NotificationPreference) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*NotificationPreference) User ¶
func (o *NotificationPreference) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type NotificationPreferenceHook ¶
type NotificationPreferenceHook func(context.Context, boil.ContextExecutor, *NotificationPreference) error
NotificationPreferenceHook is the signature for custom NotificationPreference hook methods
type NotificationPreferenceSlice ¶
type NotificationPreferenceSlice []*NotificationPreference
NotificationPreferenceSlice is an alias for a slice of pointers to NotificationPreference. This should almost always be used instead of []NotificationPreference.
func (NotificationPreferenceSlice) DeleteAll ¶
func (o NotificationPreferenceSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*NotificationPreferenceSlice) ReloadAll ¶
func (o *NotificationPreferenceSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (NotificationPreferenceSlice) UpdateAll ¶
func (o NotificationPreferenceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type NotificationTarget ¶
type NotificationTarget struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
Name string `boil:"name" json:"name" toml:"name" yaml:"name"`
Slug string `boil:"slug" json:"slug" toml:"slug" yaml:"slug"`
Description string `boil:"description" json:"description" toml:"description" yaml:"description"`
DefaultEnabled bool `boil:"default_enabled" json:"default_enabled" toml:"default_enabled" yaml:"default_enabled"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *notificationTargetR `boil:"-" json:"-" toml:"-" yaml:"-"`
L notificationTargetL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
NotificationTarget is an object representing the database table.
func FindNotificationTarget ¶
func FindNotificationTarget(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*NotificationTarget, error)
FindNotificationTarget retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*NotificationTarget) AddNotificationPreferences ¶
func (o *NotificationTarget) AddNotificationPreferences(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*NotificationPreference) error
AddNotificationPreferences adds the given related objects to the existing relationships of the notification_target, optionally inserting them as new records. Appends related to o.R.NotificationPreferences. Sets related.R.NotificationTarget appropriately.
func (*NotificationTarget) Delete ¶
func (o *NotificationTarget) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single NotificationTarget record with an executor. Delete will match against the primary key column to find the record to delete.
func (*NotificationTarget) Exists ¶
func (o *NotificationTarget) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the NotificationTarget row exists.
func (*NotificationTarget) GetNotificationPreferences ¶
func (o *NotificationTarget) GetNotificationPreferences() NotificationPreferenceSlice
func (*NotificationTarget) Insert ¶
func (o *NotificationTarget) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*NotificationTarget) NotificationPreferences ¶
func (o *NotificationTarget) NotificationPreferences(mods ...qm.QueryMod) notificationPreferenceQuery
NotificationPreferences retrieves all the notification_preference's NotificationPreferences with an executor.
func (*NotificationTarget) Reload ¶
func (o *NotificationTarget) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*NotificationTarget) RemoveNotificationPreferences ¶
func (o *NotificationTarget) RemoveNotificationPreferences(ctx context.Context, exec boil.ContextExecutor, related ...*NotificationPreference) error
RemoveNotificationPreferences relationships from objects passed in. Removes related items from R.NotificationPreferences (uses pointer comparison, removal does not keep order) Sets related.R.NotificationTarget.
func (*NotificationTarget) SetNotificationPreferences ¶
func (o *NotificationTarget) SetNotificationPreferences(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*NotificationPreference) error
SetNotificationPreferences removes all previously related items of the notification_target replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.NotificationTarget's NotificationPreferences accordingly. Replaces o.R.NotificationPreferences with related. Sets related.R.NotificationTarget's NotificationPreferences accordingly.
func (*NotificationTarget) Update ¶
func (o *NotificationTarget) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the NotificationTarget. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*NotificationTarget) Upsert ¶
func (o *NotificationTarget) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type NotificationTargetHook ¶
type NotificationTargetHook func(context.Context, boil.ContextExecutor, *NotificationTarget) error
NotificationTargetHook is the signature for custom NotificationTarget hook methods
type NotificationTargetSlice ¶
type NotificationTargetSlice []*NotificationTarget
NotificationTargetSlice is an alias for a slice of pointers to NotificationTarget. This should almost always be used instead of []NotificationTarget.
func (NotificationTargetSlice) DeleteAll ¶
func (o NotificationTargetSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*NotificationTargetSlice) ReloadAll ¶
func (o *NotificationTargetSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (NotificationTargetSlice) UpdateAll ¶
func (o NotificationTargetSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type NotificationType ¶
type NotificationType struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
Name string `boil:"name" json:"name" toml:"name" yaml:"name"`
Slug string `boil:"slug" json:"slug" toml:"slug" yaml:"slug"`
Description string `boil:"description" json:"description" toml:"description" yaml:"description"`
DefaultEnabled bool `boil:"default_enabled" json:"default_enabled" toml:"default_enabled" yaml:"default_enabled"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *notificationTypeR `boil:"-" json:"-" toml:"-" yaml:"-"`
L notificationTypeL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
NotificationType is an object representing the database table.
func FindNotificationType ¶
func FindNotificationType(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*NotificationType, error)
FindNotificationType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*NotificationType) AddNotificationPreferences ¶
func (o *NotificationType) AddNotificationPreferences(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*NotificationPreference) error
AddNotificationPreferences adds the given related objects to the existing relationships of the notification_type, optionally inserting them as new records. Appends related to o.R.NotificationPreferences. Sets related.R.NotificationType appropriately.
func (*NotificationType) Delete ¶
func (o *NotificationType) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single NotificationType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*NotificationType) Exists ¶
func (o *NotificationType) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the NotificationType row exists.
func (*NotificationType) GetNotificationPreferences ¶
func (o *NotificationType) GetNotificationPreferences() NotificationPreferenceSlice
func (*NotificationType) Insert ¶
func (o *NotificationType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*NotificationType) NotificationPreferences ¶
func (o *NotificationType) NotificationPreferences(mods ...qm.QueryMod) notificationPreferenceQuery
NotificationPreferences retrieves all the notification_preference's NotificationPreferences with an executor.
func (*NotificationType) Reload ¶
func (o *NotificationType) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*NotificationType) Update ¶
func (o *NotificationType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the NotificationType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*NotificationType) Upsert ¶
func (o *NotificationType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type NotificationTypeHook ¶
type NotificationTypeHook func(context.Context, boil.ContextExecutor, *NotificationType) error
NotificationTypeHook is the signature for custom NotificationType hook methods
type NotificationTypeSlice ¶
type NotificationTypeSlice []*NotificationType
NotificationTypeSlice is an alias for a slice of pointers to NotificationType. This should almost always be used instead of []NotificationType.
func (NotificationTypeSlice) DeleteAll ¶
func (o NotificationTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*NotificationTypeSlice) ReloadAll ¶
func (o *NotificationTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (NotificationTypeSlice) UpdateAll ¶
func (o NotificationTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Organization ¶
type Organization struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
Name string `boil:"name" json:"name" toml:"name" yaml:"name"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
Slug string `boil:"slug" json:"slug" toml:"slug" yaml:"slug"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *organizationR `boil:"-" json:"-" toml:"-" yaml:"-"`
L organizationL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Organization is an object representing the database table.
func FindOrganization ¶
func FindOrganization(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Organization, error)
FindOrganization retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Organization) AddGroupOrganizations ¶
func (o *Organization) AddGroupOrganizations(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupOrganization) error
AddGroupOrganizations adds the given related objects to the existing relationships of the organization, optionally inserting them as new records. Appends related to o.R.GroupOrganizations. Sets related.R.Organization appropriately.
func (*Organization) AddSubjectOrganizationAuditEvents ¶
func (o *Organization) AddSubjectOrganizationAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuditEvent) error
AddSubjectOrganizationAuditEvents adds the given related objects to the existing relationships of the organization, optionally inserting them as new records. Appends related to o.R.SubjectOrganizationAuditEvents. Sets related.R.SubjectOrganization appropriately.
func (*Organization) Delete ¶
func (o *Organization) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Organization record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Organization) Exists ¶
func (o *Organization) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the Organization row exists.
func (*Organization) GetGroupOrganizations ¶
func (o *Organization) GetGroupOrganizations() GroupOrganizationSlice
func (*Organization) GetSubjectOrganizationAuditEvents ¶
func (o *Organization) GetSubjectOrganizationAuditEvents() AuditEventSlice
func (*Organization) GroupOrganizations ¶
func (o *Organization) GroupOrganizations(mods ...qm.QueryMod) groupOrganizationQuery
GroupOrganizations retrieves all the group_organization's GroupOrganizations with an executor.
func (*Organization) Insert ¶
func (o *Organization) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Organization) Reload ¶
func (o *Organization) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Organization) RemoveSubjectOrganizationAuditEvents ¶
func (o *Organization) RemoveSubjectOrganizationAuditEvents(ctx context.Context, exec boil.ContextExecutor, related ...*AuditEvent) error
RemoveSubjectOrganizationAuditEvents relationships from objects passed in. Removes related items from R.SubjectOrganizationAuditEvents (uses pointer comparison, removal does not keep order) Sets related.R.SubjectOrganization.
func (*Organization) SetSubjectOrganizationAuditEvents ¶
func (o *Organization) SetSubjectOrganizationAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuditEvent) error
SetSubjectOrganizationAuditEvents removes all previously related items of the organization replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SubjectOrganization's SubjectOrganizationAuditEvents accordingly. Replaces o.R.SubjectOrganizationAuditEvents with related. Sets related.R.SubjectOrganization's SubjectOrganizationAuditEvents accordingly.
func (*Organization) SubjectOrganizationAuditEvents ¶
func (o *Organization) SubjectOrganizationAuditEvents(mods ...qm.QueryMod) auditEventQuery
SubjectOrganizationAuditEvents retrieves all the audit_event's AuditEvents with an executor via subject_organization_id column.
func (*Organization) Update ¶
func (o *Organization) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Organization. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Organization) Upsert ¶
func (o *Organization) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type OrganizationHook ¶
type OrganizationHook func(context.Context, boil.ContextExecutor, *Organization) error
OrganizationHook is the signature for custom Organization hook methods
type OrganizationSlice ¶
type OrganizationSlice []*Organization
OrganizationSlice is an alias for a slice of pointers to Organization. This should almost always be used instead of []Organization.
func (OrganizationSlice) DeleteAll ¶
func (o OrganizationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*OrganizationSlice) ReloadAll ¶
func (o *OrganizationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (OrganizationSlice) UpdateAll ¶
func (o OrganizationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type SystemExtensionResource ¶
type SystemExtensionResource struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
Resource types.JSON `boil:"resource" json:"resource" toml:"resource" yaml:"resource"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
ExtensionResourceDefinitionID string `` /* 159-byte string literal not displayed */
OwnerID null.String `boil:"owner_id" json:"owner_id,omitempty" toml:"owner_id" yaml:"owner_id,omitempty"`
ResourceVersion int64 `boil:"resource_version" json:"resource_version" toml:"resource_version" yaml:"resource_version"`
Messages types.StringArray `boil:"messages" json:"messages" toml:"messages" yaml:"messages"`
Annotations types.JSON `boil:"annotations" json:"annotations" toml:"annotations" yaml:"annotations"`
R *systemExtensionResourceR `boil:"-" json:"-" toml:"-" yaml:"-"`
L systemExtensionResourceL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
SystemExtensionResource is an object representing the database table.
func FindSystemExtensionResource ¶
func FindSystemExtensionResource(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*SystemExtensionResource, error)
FindSystemExtensionResource retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*SystemExtensionResource) Delete ¶
func (o *SystemExtensionResource) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single SystemExtensionResource record with an executor. Delete will match against the primary key column to find the record to delete.
func (*SystemExtensionResource) Exists ¶
func (o *SystemExtensionResource) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the SystemExtensionResource row exists.
func (*SystemExtensionResource) ExtensionResourceDefinition ¶
func (o *SystemExtensionResource) ExtensionResourceDefinition(mods ...qm.QueryMod) extensionResourceDefinitionQuery
ExtensionResourceDefinition pointed to by the foreign key.
func (*SystemExtensionResource) GetExtensionResourceDefinition ¶
func (o *SystemExtensionResource) GetExtensionResourceDefinition() *ExtensionResourceDefinition
func (*SystemExtensionResource) GetOwner ¶ added in v0.11.0
func (o *SystemExtensionResource) GetOwner() *Group
func (*SystemExtensionResource) Insert ¶
func (o *SystemExtensionResource) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*SystemExtensionResource) Owner ¶ added in v0.11.0
func (o *SystemExtensionResource) Owner(mods ...qm.QueryMod) groupQuery
Owner pointed to by the foreign key.
func (*SystemExtensionResource) Reload ¶
func (o *SystemExtensionResource) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*SystemExtensionResource) RemoveOwner ¶ added in v0.11.0
func (o *SystemExtensionResource) RemoveOwner(ctx context.Context, exec boil.ContextExecutor, related *Group) error
RemoveOwner relationship. Sets o.R.Owner to nil. Removes o from all passed in related items' relationships struct.
func (*SystemExtensionResource) SetExtensionResourceDefinition ¶
func (o *SystemExtensionResource) SetExtensionResourceDefinition(ctx context.Context, exec boil.ContextExecutor, insert bool, related *ExtensionResourceDefinition) error
SetExtensionResourceDefinition of the systemExtensionResource to the related item. Sets o.R.ExtensionResourceDefinition to related. Adds o to related.R.SystemExtensionResources.
func (*SystemExtensionResource) SetOwner ¶ added in v0.11.0
func (o *SystemExtensionResource) SetOwner(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetOwner of the systemExtensionResource to the related item. Sets o.R.Owner to related. Adds o to related.R.OwnerSystemExtensionResources.
func (*SystemExtensionResource) Update ¶
func (o *SystemExtensionResource) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the SystemExtensionResource. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*SystemExtensionResource) Upsert ¶
func (o *SystemExtensionResource) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type SystemExtensionResourceHook ¶
type SystemExtensionResourceHook func(context.Context, boil.ContextExecutor, *SystemExtensionResource) error
SystemExtensionResourceHook is the signature for custom SystemExtensionResource hook methods
type SystemExtensionResourceSlice ¶
type SystemExtensionResourceSlice []*SystemExtensionResource
SystemExtensionResourceSlice is an alias for a slice of pointers to SystemExtensionResource. This should almost always be used instead of []SystemExtensionResource.
func (SystemExtensionResourceSlice) DeleteAll ¶
func (o SystemExtensionResourceSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*SystemExtensionResourceSlice) ReloadAll ¶
func (o *SystemExtensionResourceSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (SystemExtensionResourceSlice) UpdateAll ¶
func (o SystemExtensionResourceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type UpsertOptionFunc ¶
type UpsertOptionFunc func(o *UpsertOptions)
func UpsertConflictTarget ¶
func UpsertConflictTarget(conflictTarget string) UpsertOptionFunc
func UpsertUpdateSet ¶
func UpsertUpdateSet(updateSet string) UpsertOptionFunc
type UpsertOptions ¶
type UpsertOptions struct {
// contains filtered or unexported fields
}
type User ¶
type User struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
ExternalID null.String `boil:"external_id" json:"external_id,omitempty" toml:"external_id" yaml:"external_id,omitempty"`
Name string `boil:"name" json:"name" toml:"name" yaml:"name"`
Email string `boil:"email" json:"email" toml:"email" yaml:"email"`
LoginCount int64 `boil:"login_count" json:"login_count" toml:"login_count" yaml:"login_count"`
AvatarURL null.String `boil:"avatar_url" json:"avatar_url,omitempty" toml:"avatar_url" yaml:"avatar_url,omitempty"`
LastLoginAt null.Time `boil:"last_login_at" json:"last_login_at,omitempty" toml:"last_login_at" yaml:"last_login_at,omitempty"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
GithubID null.Int64 `boil:"github_id" json:"github_id,omitempty" toml:"github_id" yaml:"github_id,omitempty"`
GithubUsername null.String `boil:"github_username" json:"github_username,omitempty" toml:"github_username" yaml:"github_username,omitempty"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
Status null.String `boil:"status" json:"status,omitempty" toml:"status" yaml:"status,omitempty"`
Metadata types.JSON `boil:"metadata" json:"metadata" toml:"metadata" yaml:"metadata"`
R *userR `boil:"-" json:"-" toml:"-" yaml:"-"`
L userL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
User is an object representing the database table.
func FindUser ¶
func FindUser(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*User, error)
FindUser retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*User) ActorAuditEvents ¶
ActorAuditEvents retrieves all the audit_event's AuditEvents with an executor via actor_id column.
func (*User) AddActorAuditEvents ¶
func (o *User) AddActorAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuditEvent) error
AddActorAuditEvents adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.ActorAuditEvents. Sets related.R.Actor appropriately.
func (*User) AddGroupMembershipRequests ¶
func (o *User) AddGroupMembershipRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupMembershipRequest) error
AddGroupMembershipRequests adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.GroupMembershipRequests. Sets related.R.User appropriately.
func (*User) AddGroupMemberships ¶
func (o *User) AddGroupMemberships(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupMembership) error
AddGroupMemberships adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.GroupMemberships. Sets related.R.User appropriately.
func (*User) AddNotificationPreferences ¶
func (o *User) AddNotificationPreferences(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*NotificationPreference) error
AddNotificationPreferences adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.NotificationPreferences. Sets related.R.User appropriately.
func (*User) AddRequesterUserGroupApplicationRequests ¶
func (o *User) AddRequesterUserGroupApplicationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GroupApplicationRequest) error
AddRequesterUserGroupApplicationRequests adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.RequesterUserGroupApplicationRequests. Sets related.R.RequesterUser appropriately.
func (*User) AddSubjectUserAuditEvents ¶
func (o *User) AddSubjectUserAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuditEvent) error
AddSubjectUserAuditEvents adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.SubjectUserAuditEvents. Sets related.R.SubjectUser appropriately.
func (*User) AddUserExtensionResources ¶
func (o *User) AddUserExtensionResources(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserExtensionResource) error
AddUserExtensionResources adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.UserExtensionResources. Sets related.R.User appropriately.
func (*User) Delete ¶
func (o *User) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single User record with an executor. Delete will match against the primary key column to find the record to delete.
func (*User) GetActorAuditEvents ¶
func (o *User) GetActorAuditEvents() AuditEventSlice
func (*User) GetGroupMembershipRequests ¶
func (o *User) GetGroupMembershipRequests() GroupMembershipRequestSlice
func (*User) GetGroupMemberships ¶
func (o *User) GetGroupMemberships() GroupMembershipSlice
func (*User) GetNotificationPreferences ¶
func (o *User) GetNotificationPreferences() NotificationPreferenceSlice
func (*User) GetRequesterUserGroupApplicationRequests ¶
func (o *User) GetRequesterUserGroupApplicationRequests() GroupApplicationRequestSlice
func (*User) GetSubjectUserAuditEvents ¶
func (o *User) GetSubjectUserAuditEvents() AuditEventSlice
func (*User) GetUserExtensionResources ¶
func (o *User) GetUserExtensionResources() UserExtensionResourceSlice
func (*User) GroupMembershipRequests ¶
GroupMembershipRequests retrieves all the group_membership_request's GroupMembershipRequests with an executor.
func (*User) GroupMemberships ¶
GroupMemberships retrieves all the group_membership's GroupMemberships with an executor.
func (*User) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*User) NotificationPreferences ¶
NotificationPreferences retrieves all the notification_preference's NotificationPreferences with an executor.
func (*User) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*User) RemoveActorAuditEvents ¶
func (o *User) RemoveActorAuditEvents(ctx context.Context, exec boil.ContextExecutor, related ...*AuditEvent) error
RemoveActorAuditEvents relationships from objects passed in. Removes related items from R.ActorAuditEvents (uses pointer comparison, removal does not keep order) Sets related.R.Actor.
func (*User) RemoveSubjectUserAuditEvents ¶
func (o *User) RemoveSubjectUserAuditEvents(ctx context.Context, exec boil.ContextExecutor, related ...*AuditEvent) error
RemoveSubjectUserAuditEvents relationships from objects passed in. Removes related items from R.SubjectUserAuditEvents (uses pointer comparison, removal does not keep order) Sets related.R.SubjectUser.
func (*User) RequesterUserGroupApplicationRequests ¶
func (o *User) RequesterUserGroupApplicationRequests(mods ...qm.QueryMod) groupApplicationRequestQuery
RequesterUserGroupApplicationRequests retrieves all the group_application_request's GroupApplicationRequests with an executor via requester_user_id column.
func (*User) SetActorAuditEvents ¶
func (o *User) SetActorAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuditEvent) error
SetActorAuditEvents removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Actor's ActorAuditEvents accordingly. Replaces o.R.ActorAuditEvents with related. Sets related.R.Actor's ActorAuditEvents accordingly.
func (*User) SetSubjectUserAuditEvents ¶
func (o *User) SetSubjectUserAuditEvents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuditEvent) error
SetSubjectUserAuditEvents removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SubjectUser's SubjectUserAuditEvents accordingly. Replaces o.R.SubjectUserAuditEvents with related. Sets related.R.SubjectUser's SubjectUserAuditEvents accordingly.
func (*User) SubjectUserAuditEvents ¶
SubjectUserAuditEvents retrieves all the audit_event's AuditEvents with an executor via subject_user_id column.
func (*User) Update ¶
func (o *User) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the User. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*User) Upsert ¶
func (o *User) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*User) UserExtensionResources ¶
UserExtensionResources retrieves all the user_extension_resource's UserExtensionResources with an executor.
type UserExtensionResource ¶
type UserExtensionResource struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
Resource types.JSON `boil:"resource" json:"resource" toml:"resource" yaml:"resource"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
ExtensionResourceDefinitionID string `` /* 159-byte string literal not displayed */
R *userExtensionResourceR `boil:"-" json:"-" toml:"-" yaml:"-"`
L userExtensionResourceL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
UserExtensionResource is an object representing the database table.
func FindUserExtensionResource ¶
func FindUserExtensionResource(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserExtensionResource, error)
FindUserExtensionResource retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*UserExtensionResource) Delete ¶
func (o *UserExtensionResource) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single UserExtensionResource record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserExtensionResource) Exists ¶
func (o *UserExtensionResource) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the UserExtensionResource row exists.
func (*UserExtensionResource) ExtensionResourceDefinition ¶
func (o *UserExtensionResource) ExtensionResourceDefinition(mods ...qm.QueryMod) extensionResourceDefinitionQuery
ExtensionResourceDefinition pointed to by the foreign key.
func (*UserExtensionResource) GetExtensionResourceDefinition ¶
func (o *UserExtensionResource) GetExtensionResourceDefinition() *ExtensionResourceDefinition
func (*UserExtensionResource) GetUser ¶
func (o *UserExtensionResource) GetUser() *User
func (*UserExtensionResource) Insert ¶
func (o *UserExtensionResource) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*UserExtensionResource) Reload ¶
func (o *UserExtensionResource) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserExtensionResource) SetExtensionResourceDefinition ¶
func (o *UserExtensionResource) SetExtensionResourceDefinition(ctx context.Context, exec boil.ContextExecutor, insert bool, related *ExtensionResourceDefinition) error
SetExtensionResourceDefinition of the userExtensionResource to the related item. Sets o.R.ExtensionResourceDefinition to related. Adds o to related.R.UserExtensionResources.
func (*UserExtensionResource) SetUser ¶
func (o *UserExtensionResource) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the userExtensionResource to the related item. Sets o.R.User to related. Adds o to related.R.UserExtensionResources.
func (*UserExtensionResource) Update ¶
func (o *UserExtensionResource) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserExtensionResource. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*UserExtensionResource) Upsert ¶
func (o *UserExtensionResource) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*UserExtensionResource) User ¶
func (o *UserExtensionResource) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type UserExtensionResourceHook ¶
type UserExtensionResourceHook func(context.Context, boil.ContextExecutor, *UserExtensionResource) error
UserExtensionResourceHook is the signature for custom UserExtensionResource hook methods
type UserExtensionResourceSlice ¶
type UserExtensionResourceSlice []*UserExtensionResource
UserExtensionResourceSlice is an alias for a slice of pointers to UserExtensionResource. This should almost always be used instead of []UserExtensionResource.
func (UserExtensionResourceSlice) DeleteAll ¶
func (o UserExtensionResourceSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*UserExtensionResourceSlice) ReloadAll ¶
func (o *UserExtensionResourceSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (UserExtensionResourceSlice) UpdateAll ¶
func (o UserExtensionResourceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type UserSlice ¶
type UserSlice []*User
UserSlice is an alias for a slice of pointers to User. This should almost always be used instead of []User.
func (UserSlice) DeleteAll ¶
func (o UserSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
Source Files
¶
- application_types.go
- applications.go
- audit_events.go
- boil_queries.go
- boil_table_names.go
- boil_types.go
- boil_view_names.go
- extension_resource_definitions.go
- extensions.go
- group_application_requests.go
- group_applications.go
- group_hierarchies.go
- group_membership_requests.go
- group_memberships.go
- group_organizations.go
- groups.go
- notification_preferences.go
- notification_targets.go
- notification_types.go
- organizations.go
- psql_upsert.go
- system_extension_resources.go
- user_extension_resources.go
- users.go