Documentation ¶
Overview ¶
Package sqlc contains auto-generated SQL bindings. Do not manually edit anything within this package.
Index ¶
- type Account
- type AccountCache
- type AddUserToPermissionGroupForOrganisationParams
- type Address
- type CreateAccountCacheParams
- type CreateAccountParams
- type CreateAddressParams
- type CreatePermissionGroupPermissionParams
- type CreateUserParams
- type DBTX
- type GetPermissionsForGroupRow
- type Organisation
- type OrganisationUser
- type OrganisationUsersPermissiongroup
- type Permission
- type Permissiongroup
- type PermissiongroupPermission
- type Queries
- func (q *Queries) AddUserToOrganisation(ctx context.Context, userID int32, organisationID int32) error
- func (q *Queries) AddUserToPermissionGroup(ctx context.Context, groupID int32, userID int32) error
- func (q *Queries) AddUserToPermissionGroupForOrganisation(ctx context.Context, arg AddUserToPermissionGroupForOrganisationParams) error
- func (q *Queries) CreateAccount(ctx context.Context, arg CreateAccountParams) (Account, error)
- func (q *Queries) CreateAccountCache(ctx context.Context, arg CreateAccountCacheParams) (AccountCache, error)
- func (q *Queries) CreateAddress(ctx context.Context, arg CreateAddressParams) (Address, error)
- func (q *Queries) CreateOrganisation(ctx context.Context, name string, parentID *int32) (Organisation, error)
- func (q *Queries) CreatePermission(ctx context.Context, name string) error
- func (q *Queries) CreatePermissionGroup(ctx context.Context, name *string) (Permissiongroup, error)
- func (q *Queries) CreatePermissionGroupPermission(ctx context.Context, arg CreatePermissionGroupPermissionParams) error
- func (q *Queries) CreatePermissionGroupWithID(ctx context.Context, iD int32, name *string) (Permissiongroup, error)
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) DeleteAccount(ctx context.Context, provider string, providerID string) error
- func (q *Queries) DeleteAccountCache(ctx context.Context, id pgtype.UUID) error
- func (q *Queries) DeleteAccountCacheOldEntries(ctx context.Context, dollar_1 pgtype.Interval) error
- func (q *Queries) DeleteAddress(ctx context.Context, id int32) error
- func (q *Queries) DeleteOrganisation(ctx context.Context, id int32) error
- func (q *Queries) DeletePermissionGroup(ctx context.Context, id int32) error
- func (q *Queries) DeleteUser(ctx context.Context, id int32) error
- func (q *Queries) GetAccountCacheForID(ctx context.Context, id pgtype.UUID) (AccountCache, error)
- func (q *Queries) GetAddress(ctx context.Context, id int32) (Address, error)
- func (q *Queries) GetAmountOfOrganisations(ctx context.Context) (int64, error)
- func (q *Queries) GetAmountOfUsers(ctx context.Context) (int64, error)
- func (q *Queries) GetMemberByEmail(ctx context.Context, organisationID int32, email string) (User, error)
- func (q *Queries) GetOrganisation(ctx context.Context, id int32) (Organisation, error)
- func (q *Queries) GetParentOrganisation(ctx context.Context, id int32) (*int32, error)
- func (q *Queries) GetPermissionGroup(ctx context.Context, id int32) (Permissiongroup, error)
- func (q *Queries) GetPermissionsForGroup(ctx context.Context, groupID int32) ([]GetPermissionsForGroupRow, error)
- func (q *Queries) GetUser(ctx context.Context, id int32) (User, error)
- func (q *Queries) GetUserForProvider(ctx context.Context, provider string, providerID string) (User, error)
- func (q *Queries) ListAddresses(ctx context.Context) ([]Address, error)
- func (q *Queries) ListOrganisationChildren(ctx context.Context, parentID *int32) ([]Organisation, error)
- func (q *Queries) ListOrganisations(ctx context.Context) ([]Organisation, error)
- func (q *Queries) ListOrganisationsForUser(ctx context.Context, userID int32) ([]Organisation, error)
- func (q *Queries) ListPermissionGroups(ctx context.Context) ([]Permissiongroup, error)
- func (q *Queries) ListPermissionGroupsForUser(ctx context.Context, userID int32) ([]Permissiongroup, error)
- func (q *Queries) ListPermissionGroupsForUserForOrganisation(ctx context.Context, userID int32, organisationID int32) ([]Permissiongroup, error)
- func (q *Queries) ListPermissions(ctx context.Context) ([]string, error)
- func (q *Queries) ListUsers(ctx context.Context) ([]User, error)
- func (q *Queries) ListUsersInOrganisation(ctx context.Context, organisationID int32) ([]User, error)
- func (q *Queries) RemoveUserFromOrganisation(ctx context.Context, userID int32, organisationID int32) error
- func (q *Queries) RenamePermissionGroup(ctx context.Context, iD int32, name *string) error
- func (q *Queries) UpdateAddress(ctx context.Context, arg UpdateAddressParams) (Address, error)
- func (q *Queries) UpdateOrganisation(ctx context.Context, iD int32, name string) (Organisation, error)
- func (q *Queries) UpdatePermissionGroupIndex(ctx context.Context) error
- func (q *Queries) UpdatePermissionGroupPermission(ctx context.Context, arg UpdatePermissionGroupPermissionParams) error
- func (q *Queries) UpdateUser(ctx context.Context, arg UpdateUserParams) (User, error)
- func (q *Queries) UpdateUserAdmin(ctx context.Context, iD int32, admin bool) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type UpdateAddressParams
- type UpdatePermissionGroupPermissionParams
- type UpdateUserParams
- type User
- type UserPermissiongroupMembership
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCache ¶
type CreateAccountParams ¶
type CreateAddressParams ¶
type CreateUserParams ¶
type Organisation ¶
type OrganisationUser ¶
type Permission ¶
type Permission struct {
Name string
}
type Permissiongroup ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AddUserToOrganisation ¶
func (*Queries) AddUserToPermissionGroup ¶
func (*Queries) AddUserToPermissionGroupForOrganisation ¶
func (q *Queries) AddUserToPermissionGroupForOrganisation(ctx context.Context, arg AddUserToPermissionGroupForOrganisationParams) error
func (*Queries) CreateAccount ¶
func (*Queries) CreateAccountCache ¶
func (q *Queries) CreateAccountCache(ctx context.Context, arg CreateAccountCacheParams) (AccountCache, error)
func (*Queries) CreateAddress ¶
func (*Queries) CreateOrganisation ¶
func (*Queries) CreatePermission ¶
func (*Queries) CreatePermissionGroup ¶
func (*Queries) CreatePermissionGroupPermission ¶
func (q *Queries) CreatePermissionGroupPermission(ctx context.Context, arg CreatePermissionGroupPermissionParams) error
func (*Queries) CreatePermissionGroupWithID ¶
func (*Queries) CreateUser ¶
func (*Queries) DeleteAccount ¶
func (*Queries) DeleteAccountCache ¶
func (*Queries) DeleteAccountCacheOldEntries ¶
func (*Queries) DeleteAddress ¶
func (*Queries) DeleteOrganisation ¶
func (*Queries) DeletePermissionGroup ¶
func (*Queries) GetAccountCacheForID ¶
func (*Queries) GetAddress ¶
func (*Queries) GetAmountOfOrganisations ¶
func (*Queries) GetAmountOfUsers ¶
func (*Queries) GetMemberByEmail ¶
func (*Queries) GetOrganisation ¶
func (*Queries) GetParentOrganisation ¶
func (*Queries) GetPermissionGroup ¶
func (*Queries) GetPermissionsForGroup ¶
func (*Queries) GetUserForProvider ¶
func (*Queries) ListAddresses ¶
func (*Queries) ListOrganisationChildren ¶
func (*Queries) ListOrganisations ¶
func (q *Queries) ListOrganisations(ctx context.Context) ([]Organisation, error)
func (*Queries) ListOrganisationsForUser ¶
func (*Queries) ListPermissionGroups ¶
func (q *Queries) ListPermissionGroups(ctx context.Context) ([]Permissiongroup, error)
func (*Queries) ListPermissionGroupsForUser ¶
func (*Queries) ListPermissionGroupsForUserForOrganisation ¶
func (*Queries) ListPermissions ¶
func (*Queries) ListUsersInOrganisation ¶
func (*Queries) RemoveUserFromOrganisation ¶
func (*Queries) RenamePermissionGroup ¶
func (*Queries) UpdateAddress ¶
func (*Queries) UpdateOrganisation ¶
func (*Queries) UpdatePermissionGroupIndex ¶
func (*Queries) UpdatePermissionGroupPermission ¶
func (q *Queries) UpdatePermissionGroupPermission(ctx context.Context, arg UpdatePermissionGroupPermissionParams) error
func (*Queries) UpdateUser ¶
func (*Queries) UpdateUserAdmin ¶
type UpdateAddressParams ¶
type UpdateUserParams ¶
Click to show internal directories.
Click to hide internal directories.