Documentation ¶
Index ¶
- 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 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *SystemExtensionResource) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *SystemExtensionResource) SetExtensionResourceDefinition(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) 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 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) 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) 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 ¶
This section is empty.
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 { Type string ApproverGroup string SubjectApplicationAuditEvents string GroupApplicationRequests string GroupApplications string }{ Type: "Type", ApproverGroup: "ApproverGroup", 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 { SubjectUser string SubjectOrganization string SubjectGroup string SubjectApplication string Actor string }{ SubjectUser: "SubjectUser", SubjectOrganization: "SubjectOrganization", SubjectGroup: "SubjectGroup", SubjectApplication: "SubjectApplication", Actor: "Actor", }
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 { Extension string AdminGroupGroup string SystemExtensionResources string UserExtensionResources string }{ Extension: "Extension", AdminGroupGroup: "AdminGroupGroup", 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 { Group string Application string }{ Group: "Group", Application: "Application", }
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 { RequesterUser string Group string ApproverGroup string Application string }{ RequesterUser: "RequesterUser", Group: "Group", ApproverGroup: "ApproverGroup", Application: "Application", }
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 }{ ID: "id", Name: "name", Slug: "slug", Description: "description", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", Note: "note", ApproverGroup: "approver_group", }
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 { ParentGroup string MemberGroup string }{ ParentGroup: "ParentGroup", MemberGroup: "MemberGroup", }
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 { User string Group string }{ User: "User", Group: "Group", }
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 { User string Group string }{ User: "User", Group: "Group", }
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 { Organization string Group string }{ Organization: "Organization", Group: "Group", }
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 GroupApplicationRequests string ApproverGroupGroupApplicationRequests string GroupApplications string ParentGroupGroupHierarchies string MemberGroupGroupHierarchies string GroupMembershipRequests string GroupMemberships string GroupOrganizations string ApproverGroupGroups string }{ ApproverGroupGroup: "ApproverGroupGroup", ApproverGroupApplications: "ApproverGroupApplications", SubjectGroupAuditEvents: "SubjectGroupAuditEvents", AdminGroupExtensionResourceDefinitions: "AdminGroupExtensionResourceDefinitions", GroupApplicationRequests: "GroupApplicationRequests", ApproverGroupGroupApplicationRequests: "ApproverGroupGroupApplicationRequests", GroupApplications: "GroupApplications", ParentGroupGroupHierarchies: "ParentGroupGroupHierarchies", MemberGroupGroupHierarchies: "MemberGroupGroupHierarchies", GroupMembershipRequests: "GroupMembershipRequests", GroupMemberships: "GroupMemberships", GroupOrganizations: "GroupOrganizations", ApproverGroupGroups: "ApproverGroupGroups", }
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 }{ 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", }
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 }{ 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 */}, }
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 { User string NotificationType string NotificationTarget string }{ User: "User", NotificationType: "NotificationType", NotificationTarget: "NotificationTarget", }
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 }{ ID: "id", Resource: "resource", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", ExtensionResourceDefinitionID: "extension_resource_definition_id", }
var SystemExtensionResourceRels = struct { ExtensionResourceDefinition string }{ ExtensionResourceDefinition: "ExtensionResourceDefinition", }
SystemExtensionResourceRels is where relationship names are stored.
var SystemExtensionResourceTableColumns = struct { ID string Resource string CreatedAt string UpdatedAt string DeletedAt string ExtensionResourceDefinitionID 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", }
var SystemExtensionResourceWhere = struct { ID whereHelperstring Resource whereHelpertypes_JSON CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time 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 */}, ExtensionResourceDefinitionID: whereHelperstring{/* 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 }{ 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", }
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 { User string ExtensionResourceDefinition string }{ User: "User", ExtensionResourceDefinition: "ExtensionResourceDefinition", }
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 { SubjectUserAuditEvents string ActorAuditEvents string RequesterUserGroupApplicationRequests string GroupMembershipRequests string GroupMemberships string NotificationPreferences string UserExtensionResources string }{ SubjectUserAuditEvents: "SubjectUserAuditEvents", ActorAuditEvents: "ActorAuditEvents", 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 }{ 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", }
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 }{ 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 */}, }
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 ¶ added in v0.2.0
func AddExtensionHook(hookPoint boil.HookPoint, extensionHook ExtensionHook)
AddExtensionHook registers your hook function for all future operations.
func AddExtensionResourceDefinitionHook ¶ added in v0.2.0
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 ¶ added in v0.1.1
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 ¶ added in v0.1.5
func AddNotificationPreferenceHook(hookPoint boil.HookPoint, notificationPreferenceHook NotificationPreferenceHook)
AddNotificationPreferenceHook registers your hook function for all future operations.
func AddNotificationTargetHook ¶ added in v0.1.5
func AddNotificationTargetHook(hookPoint boil.HookPoint, notificationTargetHook NotificationTargetHook)
AddNotificationTargetHook registers your hook function for all future operations.
func AddNotificationTypeHook ¶ added in v0.1.5
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 ¶ added in v0.2.0
func AddSystemExtensionResourceHook(hookPoint boil.HookPoint, systemExtensionResourceHook SystemExtensionResourceHook)
AddSystemExtensionResourceHook registers your hook function for all future operations.
func AddUserExtensionResourceHook ¶ added in v0.2.0
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 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 ¶ added in v0.2.0
ExtensionExists checks if the Extension row exists.
func ExtensionResourceDefinitionExists ¶ added in v0.2.0
func ExtensionResourceDefinitionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
ExtensionResourceDefinitionExists checks if the ExtensionResourceDefinition row exists.
func ExtensionResourceDefinitions ¶ added in v0.2.0
ExtensionResourceDefinitions retrieves all the records using an executor.
func Extensions ¶ added in v0.2.0
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 ¶ added in v0.1.1
GroupHierarchies retrieves all the records using an executor.
func GroupHierarchyExists ¶ added in v0.1.1
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 ¶ added in v0.1.5
func NotificationPreferenceExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
NotificationPreferenceExists checks if the NotificationPreference row exists.
func NotificationPreferences ¶ added in v0.1.5
NotificationPreferences retrieves all the records using an executor.
func NotificationTargetExists ¶ added in v0.1.5
func NotificationTargetExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
NotificationTargetExists checks if the NotificationTarget row exists.
func NotificationTargets ¶ added in v0.1.5
NotificationTargets retrieves all the records using an executor.
func NotificationTypeExists ¶ added in v0.1.5
func NotificationTypeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
NotificationTypeExists checks if the NotificationType row exists.
func NotificationTypes ¶ added in v0.1.5
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 ¶ added in v0.2.0
func SystemExtensionResourceExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
SystemExtensionResourceExists checks if the SystemExtensionResource row exists.
func SystemExtensionResources ¶ added in v0.2.0
SystemExtensionResources retrieves all the records using an executor.
func UserExists ¶
UserExists checks if the User row exists.
func UserExtensionResourceExists ¶ added in v0.2.0
func UserExtensionResourceExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
UserExtensionResourceExists checks if the UserExtensionResource row exists.
func UserExtensionResources ¶ added in v0.2.0
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) 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) 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) 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) 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) 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) 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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (o *Extension) ExtensionResourceDefinitions(mods ...qm.QueryMod) extensionResourceDefinitionQuery
ExtensionResourceDefinitions retrieves all the extension_resource_definition's ExtensionResourceDefinitions with an executor.
func (*Extension) Insert ¶ added in v0.2.0
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 ¶ added in v0.2.0
Reload refetches the object from the database using the primary keys with an executor.
func (*Extension) Update ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (o *Extension) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) 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 ¶ added in v0.2.0
ExtensionHook is the signature for custom Extension hook methods
type ExtensionResourceDefinition ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.4
func (o *ExtensionResourceDefinition) AdminGroupGroup(mods ...qm.QueryMod) groupQuery
AdminGroupGroup pointed to by the foreign key.
func (*ExtensionResourceDefinition) Delete ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (o *ExtensionResourceDefinition) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the ExtensionResourceDefinition row exists.
func (*ExtensionResourceDefinition) Extension ¶ added in v0.2.0
func (o *ExtensionResourceDefinition) Extension(mods ...qm.QueryMod) extensionQuery
Extension pointed to by the foreign key.
func (*ExtensionResourceDefinition) Insert ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.4
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 ¶ added in v0.2.4
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (o *ExtensionResourceDefinition) SystemExtensionResources(mods ...qm.QueryMod) systemExtensionResourceQuery
SystemExtensionResources retrieves all the system_extension_resource's SystemExtensionResources with an executor.
func (*ExtensionResourceDefinition) Update ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (o *ExtensionResourceDefinition) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) 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 ¶ added in v0.2.0
func (o *ExtensionResourceDefinition) UserExtensionResources(mods ...qm.QueryMod) userExtensionResourceQuery
UserExtensionResources retrieves all the user_extension_resource's UserExtensionResources with an executor.
type ExtensionResourceDefinitionHook ¶ added in v0.2.0
type ExtensionResourceDefinitionHook func(context.Context, boil.ContextExecutor, *ExtensionResourceDefinition) error
ExtensionResourceDefinitionHook is the signature for custom ExtensionResourceDefinition hook methods
type ExtensionResourceDefinitionSlice ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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"` 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 ¶ added in v0.2.4
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 ¶ added in v0.2.1
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 ¶ added in v0.1.1
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) AddParentGroupGroupHierarchies ¶ added in v0.1.1
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 ¶ added in v0.2.4
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 ¶ added in v0.2.1
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 ¶ added in v0.2.1
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) 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 ¶ added in v0.1.1
MemberGroupGroupHierarchies retrieves all the group_hierarchy's GroupHierarchies with an executor via member_group_id column.
func (*Group) ParentGroupGroupHierarchies ¶ added in v0.1.1
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 ¶ added in v0.2.4
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 ¶ added in v0.2.1
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 ¶ added in v0.2.1
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) 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 ¶ added in v0.2.4
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 ¶ added in v0.2.1
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 ¶ added in v0.2.1
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) 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) 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) 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) 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) 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) 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 ¶ added in v0.1.1
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 ¶ added in v0.1.1
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 ¶ added in v0.1.1
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 ¶ added in v0.1.1
func (o *GroupHierarchy) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the GroupHierarchy row exists.
func (*GroupHierarchy) Insert ¶ added in v0.1.1
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 ¶ added in v0.1.1
func (o *GroupHierarchy) MemberGroup(mods ...qm.QueryMod) groupQuery
MemberGroup pointed to by the foreign key.
func (*GroupHierarchy) ParentGroup ¶ added in v0.1.1
func (o *GroupHierarchy) ParentGroup(mods ...qm.QueryMod) groupQuery
ParentGroup pointed to by the foreign key.
func (*GroupHierarchy) Reload ¶ added in v0.1.1
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 ¶ added in v0.1.1
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 ¶ added in v0.1.1
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 ¶ added in v0.1.1
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 ¶ added in v0.1.1
func (o *GroupHierarchy) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) 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 ¶ added in v0.1.1
type GroupHierarchyHook func(context.Context, boil.ContextExecutor, *GroupHierarchy) error
GroupHierarchyHook is the signature for custom GroupHierarchy hook methods
type GroupHierarchySlice ¶ added in v0.1.1
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 ¶ added in v0.1.1
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 ¶ added in v0.1.1
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 ¶ added in v0.1.1
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) 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) 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) 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) 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) 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) 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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
func (o *NotificationPreference) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the NotificationPreference row exists.
func (*NotificationPreference) Insert ¶ added in v0.1.5
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 ¶ added in v0.1.5
func (o *NotificationPreference) NotificationTarget(mods ...qm.QueryMod) notificationTargetQuery
NotificationTarget pointed to by the foreign key.
func (*NotificationPreference) NotificationType ¶ added in v0.1.5
func (o *NotificationPreference) NotificationType(mods ...qm.QueryMod) notificationTypeQuery
NotificationType pointed to by the foreign key.
func (*NotificationPreference) Reload ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
func (o *NotificationPreference) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) 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 ¶ added in v0.1.5
func (o *NotificationPreference) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type NotificationPreferenceHook ¶ added in v0.1.5
type NotificationPreferenceHook func(context.Context, boil.ContextExecutor, *NotificationPreference) error
NotificationPreferenceHook is the signature for custom NotificationPreference hook methods
type NotificationPreferenceSlice ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
func (o *NotificationTarget) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the NotificationTarget row exists.
func (*NotificationTarget) Insert ¶ added in v0.1.5
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 ¶ added in v0.1.5
func (o *NotificationTarget) NotificationPreferences(mods ...qm.QueryMod) notificationPreferenceQuery
NotificationPreferences retrieves all the notification_preference's NotificationPreferences with an executor.
func (*NotificationTarget) Reload ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
func (o *NotificationTarget) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) 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 ¶ added in v0.1.5
type NotificationTargetHook func(context.Context, boil.ContextExecutor, *NotificationTarget) error
NotificationTargetHook is the signature for custom NotificationTarget hook methods
type NotificationTargetSlice ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
func (o *NotificationType) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the NotificationType row exists.
func (*NotificationType) Insert ¶ added in v0.1.5
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 ¶ added in v0.1.5
func (o *NotificationType) NotificationPreferences(mods ...qm.QueryMod) notificationPreferenceQuery
NotificationPreferences retrieves all the notification_preference's NotificationPreferences with an executor.
func (*NotificationType) Reload ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
func (o *NotificationType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) 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 ¶ added in v0.1.5
type NotificationTypeHook func(context.Context, boil.ContextExecutor, *NotificationType) error
NotificationTypeHook is the signature for custom NotificationType hook methods
type NotificationTypeSlice ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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 ¶ added in v0.1.5
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) 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) 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 ¶ added in v0.2.0
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 */ R *systemExtensionResourceR `boil:"-" json:"-" toml:"-" yaml:"-"` L systemExtensionResourceL `boil:"-" json:"-" toml:"-" yaml:"-"` }
SystemExtensionResource is an object representing the database table.
func FindSystemExtensionResource ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (o *SystemExtensionResource) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the SystemExtensionResource row exists.
func (*SystemExtensionResource) ExtensionResourceDefinition ¶ added in v0.2.0
func (o *SystemExtensionResource) ExtensionResourceDefinition(mods ...qm.QueryMod) extensionResourceDefinitionQuery
ExtensionResourceDefinition pointed to by the foreign key.
func (*SystemExtensionResource) Insert ¶ added in v0.2.0
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) Reload ¶ added in v0.2.0
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) SetExtensionResourceDefinition ¶ added in v0.2.0
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) Update ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (o *SystemExtensionResource) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) 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 ¶ added in v0.2.0
type SystemExtensionResourceHook func(context.Context, boil.ContextExecutor, *SystemExtensionResource) error
SystemExtensionResourceHook is the signature for custom SystemExtensionResource hook methods
type SystemExtensionResourceSlice ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 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"` 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 ¶ added in v0.1.5
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 ¶ added in v0.2.0
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) 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 ¶ added in v0.1.5
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) 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 ¶ added in v0.2.0
UserExtensionResources retrieves all the user_extension_resource's UserExtensionResources with an executor.
type UserExtensionResource ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (o *UserExtensionResource) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the UserExtensionResource row exists.
func (*UserExtensionResource) ExtensionResourceDefinition ¶ added in v0.2.0
func (o *UserExtensionResource) ExtensionResourceDefinition(mods ...qm.QueryMod) extensionResourceDefinitionQuery
ExtensionResourceDefinition pointed to by the foreign key.
func (*UserExtensionResource) Insert ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (o *UserExtensionResource) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) 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 ¶ added in v0.2.0
func (o *UserExtensionResource) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type UserExtensionResourceHook ¶ added in v0.2.0
type UserExtensionResourceHook func(context.Context, boil.ContextExecutor, *UserExtensionResource) error
UserExtensionResourceHook is the signature for custom UserExtensionResource hook methods
type UserExtensionResourceSlice ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
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
- crdb_upsert.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
- system_extension_resources.go
- user_extension_resources.go
- users.go