Documentation ¶
Index ¶
- type ApiToken
- type AuditLog
- type Company
- type ContainerRegistry
- type CreateApiTokenParams
- type CreateAuditLogParams
- type CreateCompanyParams
- type CreateContainerRegistryParams
- type CreateIntegrationParams
- type CreatePasswordResetParams
- type CreateScheduleParams
- type CreateSettingParams
- type CreateUserGroupParams
- type CreateUserInviteParams
- type CreateUserParams
- type DBTX
- type GetActiveUsersByCompanyIDRow
- type GetActiveUsersRow
- type GetApiTokenByTokenRow
- type GetAuditLogsLast5MinutesRow
- type GetAuditLogsParams
- type GetAuditLogsRow
- type GetContainerRegistriesRow
- type GetContainerRegistriesSafeRow
- type GetContainerRegistryByTypeAndNameParams
- type GetContainerRegistryByTypeAndNameRow
- type GetContainerRegistryByTypeRow
- type GetContainerRegistryRow
- type GetContainerRegistrySafeRow
- type GetPasswordResetByCodeRow
- type GetPasswordResetByIdRow
- type GetUserByEmailRow
- type GetUserRow
- type GetUsersByCompanyIDRow
- type GetUsersRow
- type Integration
- type PasswordReset
- type Queries
- func (q *Queries) CountActiveAdminUsers(ctx context.Context) (int64, error)
- func (q *Queries) CountActiveUsers(ctx context.Context) (int64, error)
- func (q *Queries) CountAuditLogs(ctx context.Context) (int64, error)
- func (q *Queries) CountCompanies(ctx context.Context) (int64, error)
- func (q *Queries) CountContainerRegistry(ctx context.Context) (int64, error)
- func (q *Queries) CountUsers(ctx context.Context) (int64, error)
- func (q *Queries) CreateApiToken(ctx context.Context, arg CreateApiTokenParams) (ApiToken, error)
- func (q *Queries) CreateAuditLog(ctx context.Context, arg CreateAuditLogParams) error
- func (q *Queries) CreateCompany(ctx context.Context, arg CreateCompanyParams) (Company, error)
- func (q *Queries) CreateContainerRegistry(ctx context.Context, arg CreateContainerRegistryParams) (ContainerRegistry, error)
- func (q *Queries) CreateIntegration(ctx context.Context, arg CreateIntegrationParams) (Integration, error)
- func (q *Queries) CreatePasswordReset(ctx context.Context, arg CreatePasswordResetParams) (PasswordReset, error)
- func (q *Queries) CreateRole(ctx context.Context, name string) (Role, error)
- func (q *Queries) CreateSchedule(ctx context.Context, arg CreateScheduleParams) (Scheduler, error)
- func (q *Queries) CreateSetting(ctx context.Context, arg CreateSettingParams) (Setting, error)
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) CreateUserGroup(ctx context.Context, arg CreateUserGroupParams) (UserGroup, error)
- func (q *Queries) CreateUserInvite(ctx context.Context, arg CreateUserInviteParams) (UserInvite, error)
- func (q *Queries) DeleteApiToken(ctx context.Context, id int64) error
- func (q *Queries) DeleteApiTokensByUserID(ctx context.Context, createdByUserID int64) error
- func (q *Queries) DeleteAuditLogsOlderThan30days(ctx context.Context) (int64, error)
- func (q *Queries) DeleteCompany(ctx context.Context, id int32) error
- func (q *Queries) DeleteContainerRegistry(ctx context.Context, id int32) error
- func (q *Queries) DeleteCustomSchedule(ctx context.Context, id int64) error
- func (q *Queries) DeleteIntegration(ctx context.Context, id int32) error
- func (q *Queries) DeleteIntegrationByUserID(ctx context.Context, createdByUserID int64) error
- func (q *Queries) DeletePasswordResetByExpiry(ctx context.Context) error
- func (q *Queries) DeletePasswordResetByUserEmail(ctx context.Context, email string) error
- func (q *Queries) DeleteSchedule(ctx context.Context, id int64) error
- func (q *Queries) DeleteSettingByID(ctx context.Context, id int64) error
- func (q *Queries) DeleteUser(ctx context.Context, id int64) error
- func (q *Queries) DeleteUserInviteByExpiry(ctx context.Context) error
- func (q *Queries) DeleteUserInviteByUserID(ctx context.Context, createdByUserID int64) error
- func (q *Queries) GetActiveSchedules(ctx context.Context) ([]Scheduler, error)
- func (q *Queries) GetActiveUsers(ctx context.Context) ([]GetActiveUsersRow, error)
- func (q *Queries) GetActiveUsersByCompanyID(ctx context.Context, companyID int32) ([]GetActiveUsersByCompanyIDRow, error)
- func (q *Queries) GetApiToken(ctx context.Context, id int64) (ApiToken, error)
- func (q *Queries) GetApiTokenByActiveUser(ctx context.Context) (uuid.UUID, error)
- func (q *Queries) GetApiTokenByToken(ctx context.Context, apiToken uuid.UUID) (GetApiTokenByTokenRow, error)
- func (q *Queries) GetApiTokens(ctx context.Context, companyID int32) ([]ApiToken, error)
- func (q *Queries) GetApiTokensByUser(ctx context.Context, createdByUserID int64) ([]ApiToken, error)
- func (q *Queries) GetAuditLogs(ctx context.Context, arg GetAuditLogsParams) ([]GetAuditLogsRow, error)
- func (q *Queries) GetAuditLogsLast5Minutes(ctx context.Context) ([]GetAuditLogsLast5MinutesRow, error)
- func (q *Queries) GetCompanies(ctx context.Context) ([]Company, error)
- func (q *Queries) GetCompany(ctx context.Context, id int32) (Company, error)
- func (q *Queries) GetCompanyByDomain(ctx context.Context, emailDomain string) (Company, error)
- func (q *Queries) GetContainerRegistries(ctx context.Context) ([]GetContainerRegistriesRow, error)
- func (q *Queries) GetContainerRegistriesSafe(ctx context.Context) ([]GetContainerRegistriesSafeRow, error)
- func (q *Queries) GetContainerRegistry(ctx context.Context, id int32) (GetContainerRegistryRow, error)
- func (q *Queries) GetContainerRegistryByType(ctx context.Context, registryType string) ([]GetContainerRegistryByTypeRow, error)
- func (q *Queries) GetContainerRegistryByTypeAndName(ctx context.Context, arg GetContainerRegistryByTypeAndNameParams) (GetContainerRegistryByTypeAndNameRow, error)
- func (q *Queries) GetContainerRegistrySafe(ctx context.Context, id int32) (GetContainerRegistrySafeRow, error)
- func (q *Queries) GetIntegrationFromID(ctx context.Context, id int32) (Integration, error)
- func (q *Queries) GetIntegrations(ctx context.Context) ([]Integration, error)
- func (q *Queries) GetIntegrationsFromType(ctx context.Context, integrationType string) ([]Integration, error)
- func (q *Queries) GetPasswordHash(ctx context.Context, id int64) (string, error)
- func (q *Queries) GetPasswordResetByCode(ctx context.Context, code uuid.UUID) (GetPasswordResetByCodeRow, error)
- func (q *Queries) GetPasswordResetById(ctx context.Context, id int32) (GetPasswordResetByIdRow, error)
- func (q *Queries) GetRoleByID(ctx context.Context, id int32) (Role, error)
- func (q *Queries) GetRoleByName(ctx context.Context, name string) (Role, error)
- func (q *Queries) GetRoles(ctx context.Context) ([]Role, error)
- func (q *Queries) GetSchedule(ctx context.Context, id int64) (Scheduler, error)
- func (q *Queries) GetSchedules(ctx context.Context) ([]Scheduler, error)
- func (q *Queries) GetSetting(ctx context.Context, key string) (Setting, error)
- func (q *Queries) GetSettings(ctx context.Context) ([]Setting, error)
- func (q *Queries) GetUser(ctx context.Context, id int64) (GetUserRow, error)
- func (q *Queries) GetUserByEmail(ctx context.Context, email string) (GetUserByEmailRow, error)
- func (q *Queries) GetUserGroupByID(ctx context.Context, id int32) (UserGroup, error)
- func (q *Queries) GetUserGroups(ctx context.Context, companyID int32) ([]UserGroup, error)
- func (q *Queries) GetUserInviteByCode(ctx context.Context, code uuid.UUID) (UserInvite, error)
- func (q *Queries) GetUserInviteByEmail(ctx context.Context, email string) (UserInvite, error)
- func (q *Queries) GetUsers(ctx context.Context) ([]GetUsersRow, error)
- func (q *Queries) GetUsersByCompanyID(ctx context.Context, companyID int32) ([]GetUsersByCompanyIDRow, error)
- func (q *Queries) GetVisibleSettings(ctx context.Context) ([]Setting, error)
- func (q *Queries) UpdateContainerRegistry(ctx context.Context, arg UpdateContainerRegistryParams) (ContainerRegistry, error)
- func (q *Queries) UpdateIntegrationStatus(ctx context.Context, arg UpdateIntegrationStatusParams) error
- func (q *Queries) UpdatePassword(ctx context.Context, arg UpdatePasswordParams) error
- func (q *Queries) UpdateSchedule(ctx context.Context, arg UpdateScheduleParams) error
- func (q *Queries) UpdateScheduleStatus(ctx context.Context, arg UpdateScheduleStatusParams) error
- func (q *Queries) UpdateSetting(ctx context.Context, arg UpdateSettingParams) error
- func (q *Queries) UpdateSettingById(ctx context.Context, arg UpdateSettingByIdParams) error
- func (q *Queries) UpdateUser(ctx context.Context, arg UpdateUserParams) (User, error)
- func (q *Queries) UpdateUserInvite(ctx context.Context, arg UpdateUserInviteParams) (UserInvite, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Role
- type Scheduler
- type Setting
- type UpdateContainerRegistryParams
- type UpdateIntegrationStatusParams
- type UpdatePasswordParams
- type UpdateScheduleParams
- type UpdateScheduleStatusParams
- type UpdateSettingByIdParams
- type UpdateSettingParams
- type UpdateUserInviteParams
- type UpdateUserParams
- type User
- type UserGroup
- type UserInvite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiToken ¶
type ApiToken struct { ID int64 `json:"id"` ApiToken uuid.UUID `json:"api_token"` Name string `json:"name"` CompanyID int32 `json:"company_id"` GroupID int32 `json:"group_id"` RoleID int32 `json:"role_id"` CreatedByUserID int64 `json:"created_by_user_id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
type ContainerRegistry ¶
type ContainerRegistry struct { ID int32 `json:"id"` Name string `json:"name"` RegistryType string `json:"registry_type"` EncryptedSecret json.RawMessage `json:"encrypted_secret"` NonSecret json.RawMessage `json:"non_secret"` Extras json.RawMessage `json:"extras"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
type CreateApiTokenParams ¶
type CreateAuditLogParams ¶
type CreateCompanyParams ¶
type CreateContainerRegistryParams ¶
type CreateContainerRegistryParams struct { Name string `json:"name"` RegistryType string `json:"registry_type"` EncryptedSecret json.RawMessage `json:"encrypted_secret"` NonSecret json.RawMessage `json:"non_secret"` Extras json.RawMessage `json:"extras"` }
type CreateIntegrationParams ¶
type CreateIntegrationParams struct { Resource string `json:"resource"` Filters json.RawMessage `json:"filters"` IntegrationType string `json:"integration_type"` IntervalMinutes int32 `json:"interval_minutes"` Config json.RawMessage `json:"config"` CreatedByUserID int64 `json:"created_by_user_id"` }
type CreateScheduleParams ¶
type CreateSettingParams ¶
type CreateSettingParams struct { Key string `json:"key"` Value json.RawMessage `json:"value"` IsVisibleOnUi bool `json:"is_visible_on_ui"` }
type CreateUserGroupParams ¶
type CreateUserInviteParams ¶
type CreateUserParams ¶
type CreateUserParams struct { FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` RoleID int32 `json:"role_id"` GroupIds json.RawMessage `json:"group_ids"` CompanyID int32 `json:"company_id"` PasswordHash string `json:"password_hash"` IsActive bool `json:"is_active"` PasswordInvalidated bool `json:"password_invalidated"` }
type GetActiveUsersByCompanyIDRow ¶
type GetActiveUsersByCompanyIDRow struct { ID int64 `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` RoleID int32 `json:"role_id"` RoleName string `json:"role_name"` GroupIds json.RawMessage `json:"group_ids"` CompanyID int32 `json:"company_id"` CompanyName string `json:"company_name"` IsActive bool `json:"is_active"` PasswordInvalidated bool `json:"password_invalidated"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` CompanyNamespace string `json:"company_namespace"` }
type GetActiveUsersRow ¶
type GetActiveUsersRow struct { ID int64 `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` RoleID int32 `json:"role_id"` RoleName string `json:"role_name"` GroupIds json.RawMessage `json:"group_ids"` CompanyID int32 `json:"company_id"` CompanyName string `json:"company_name"` IsActive bool `json:"is_active"` PasswordInvalidated bool `json:"password_invalidated"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` CompanyNamespace string `json:"company_namespace"` }
type GetApiTokenByTokenRow ¶
type GetApiTokenByTokenRow struct { ApiToken uuid.UUID `json:"api_token"` Name string `json:"name"` CompanyID int32 `json:"company_id"` RoleID int32 `json:"role_id"` GroupID int32 `json:"group_id"` CreatedByUserID int64 `json:"created_by_user_id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` RoleName string `json:"role_name"` CompanyName string `json:"company_name"` CompanyNamespace string `json:"company_namespace"` IsUserActive bool `json:"is_user_active"` UserPasswordInvalidated bool `json:"user_password_invalidated"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
type GetAuditLogsParams ¶
type GetAuditLogsRow ¶
type GetContainerRegistriesRow ¶
type GetContainerRegistriesRow struct { ID int32 `json:"id"` Name string `json:"name"` RegistryType string `json:"registry_type"` EncryptedSecret json.RawMessage `json:"encrypted_secret"` NonSecret json.RawMessage `json:"non_secret"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Extras json.RawMessage `json:"extras"` }
type GetContainerRegistryByTypeAndNameRow ¶
type GetContainerRegistryByTypeAndNameRow struct { ID int32 `json:"id"` Name string `json:"name"` RegistryType string `json:"registry_type"` EncryptedSecret json.RawMessage `json:"encrypted_secret"` NonSecret json.RawMessage `json:"non_secret"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Extras json.RawMessage `json:"extras"` }
type GetContainerRegistryByTypeRow ¶
type GetContainerRegistryByTypeRow struct { ID int32 `json:"id"` Name string `json:"name"` RegistryType string `json:"registry_type"` EncryptedSecret json.RawMessage `json:"encrypted_secret"` NonSecret json.RawMessage `json:"non_secret"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Extras json.RawMessage `json:"extras"` }
type GetContainerRegistryRow ¶
type GetContainerRegistryRow struct { ID int32 `json:"id"` Name string `json:"name"` RegistryType string `json:"registry_type"` EncryptedSecret json.RawMessage `json:"encrypted_secret"` NonSecret json.RawMessage `json:"non_secret"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Extras json.RawMessage `json:"extras"` }
type GetPasswordResetByIdRow ¶
type GetUserByEmailRow ¶
type GetUserByEmailRow struct { ID int64 `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` RoleID int32 `json:"role_id"` RoleName string `json:"role_name"` GroupIds json.RawMessage `json:"group_ids"` CompanyID int32 `json:"company_id"` CompanyName string `json:"company_name"` PasswordHash string `json:"password_hash"` IsActive bool `json:"is_active"` PasswordInvalidated bool `json:"password_invalidated"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` CompanyNamespace string `json:"company_namespace"` }
type GetUserRow ¶
type GetUserRow struct { ID int64 `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` RoleID int32 `json:"role_id"` RoleName string `json:"role_name"` GroupIds json.RawMessage `json:"group_ids"` CompanyID int32 `json:"company_id"` CompanyName string `json:"company_name"` PasswordHash string `json:"password_hash"` IsActive bool `json:"is_active"` PasswordInvalidated bool `json:"password_invalidated"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` CompanyNamespace string `json:"company_namespace"` }
type GetUsersByCompanyIDRow ¶
type GetUsersByCompanyIDRow struct { ID int64 `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` RoleID int32 `json:"role_id"` RoleName string `json:"role_name"` GroupIds json.RawMessage `json:"group_ids"` CompanyID int32 `json:"company_id"` CompanyName string `json:"company_name"` IsActive bool `json:"is_active"` PasswordInvalidated bool `json:"password_invalidated"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` CompanyNamespace string `json:"company_namespace"` }
type GetUsersRow ¶
type GetUsersRow struct { ID int64 `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` RoleID int32 `json:"role_id"` RoleName string `json:"role_name"` GroupIds json.RawMessage `json:"group_ids"` CompanyID int32 `json:"company_id"` CompanyName string `json:"company_name"` IsActive bool `json:"is_active"` PasswordInvalidated bool `json:"password_invalidated"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` CompanyNamespace string `json:"company_namespace"` }
type Integration ¶
type Integration struct { ID int32 `json:"id"` Resource string `json:"resource"` Filters json.RawMessage `json:"filters"` IntegrationType string `json:"integration_type"` IntervalMinutes int32 `json:"interval_minutes"` LastSentTime sql.NullTime `json:"last_sent_time"` Config json.RawMessage `json:"config"` ErrorMsg sql.NullString `json:"error_msg"` CreatedByUserID int64 `json:"created_by_user_id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
type PasswordReset ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CountActiveAdminUsers ¶
func (*Queries) CountActiveUsers ¶
func (*Queries) CountAuditLogs ¶
func (*Queries) CountCompanies ¶
func (*Queries) CountContainerRegistry ¶
func (*Queries) CreateApiToken ¶
func (*Queries) CreateAuditLog ¶
func (q *Queries) CreateAuditLog(ctx context.Context, arg CreateAuditLogParams) error
func (*Queries) CreateCompany ¶
func (*Queries) CreateContainerRegistry ¶
func (q *Queries) CreateContainerRegistry(ctx context.Context, arg CreateContainerRegistryParams) (ContainerRegistry, error)
func (*Queries) CreateIntegration ¶
func (q *Queries) CreateIntegration(ctx context.Context, arg CreateIntegrationParams) (Integration, error)
func (*Queries) CreatePasswordReset ¶
func (q *Queries) CreatePasswordReset(ctx context.Context, arg CreatePasswordResetParams) (PasswordReset, error)
func (*Queries) CreateRole ¶
func (*Queries) CreateSchedule ¶
func (*Queries) CreateSetting ¶
func (*Queries) CreateUser ¶
func (*Queries) CreateUserGroup ¶
func (*Queries) CreateUserInvite ¶
func (q *Queries) CreateUserInvite(ctx context.Context, arg CreateUserInviteParams) (UserInvite, error)
func (*Queries) DeleteApiToken ¶
func (*Queries) DeleteApiTokensByUserID ¶
func (*Queries) DeleteAuditLogsOlderThan30days ¶
func (*Queries) DeleteCompany ¶
func (*Queries) DeleteContainerRegistry ¶
func (*Queries) DeleteCustomSchedule ¶
func (*Queries) DeleteIntegration ¶
func (*Queries) DeleteIntegrationByUserID ¶
func (*Queries) DeletePasswordResetByExpiry ¶
func (*Queries) DeletePasswordResetByUserEmail ¶
func (*Queries) DeleteSchedule ¶
func (*Queries) DeleteSettingByID ¶
func (*Queries) DeleteUserInviteByExpiry ¶
func (*Queries) DeleteUserInviteByUserID ¶
func (*Queries) GetActiveSchedules ¶
func (*Queries) GetActiveUsers ¶
func (q *Queries) GetActiveUsers(ctx context.Context) ([]GetActiveUsersRow, error)
func (*Queries) GetActiveUsersByCompanyID ¶
func (*Queries) GetApiToken ¶
func (*Queries) GetApiTokenByActiveUser ¶
func (*Queries) GetApiTokenByToken ¶
func (*Queries) GetApiTokens ¶
func (*Queries) GetApiTokensByUser ¶
func (*Queries) GetAuditLogs ¶
func (q *Queries) GetAuditLogs(ctx context.Context, arg GetAuditLogsParams) ([]GetAuditLogsRow, error)
func (*Queries) GetAuditLogsLast5Minutes ¶
func (q *Queries) GetAuditLogsLast5Minutes(ctx context.Context) ([]GetAuditLogsLast5MinutesRow, error)
func (*Queries) GetCompanies ¶
func (*Queries) GetCompany ¶
func (*Queries) GetCompanyByDomain ¶
func (*Queries) GetContainerRegistries ¶
func (q *Queries) GetContainerRegistries(ctx context.Context) ([]GetContainerRegistriesRow, error)
func (*Queries) GetContainerRegistriesSafe ¶
func (q *Queries) GetContainerRegistriesSafe(ctx context.Context) ([]GetContainerRegistriesSafeRow, error)
func (*Queries) GetContainerRegistry ¶
func (*Queries) GetContainerRegistryByType ¶
func (*Queries) GetContainerRegistryByTypeAndName ¶
func (q *Queries) GetContainerRegistryByTypeAndName(ctx context.Context, arg GetContainerRegistryByTypeAndNameParams) (GetContainerRegistryByTypeAndNameRow, error)
func (*Queries) GetContainerRegistrySafe ¶
func (*Queries) GetIntegrationFromID ¶
func (*Queries) GetIntegrations ¶
func (q *Queries) GetIntegrations(ctx context.Context) ([]Integration, error)
func (*Queries) GetIntegrationsFromType ¶
func (*Queries) GetPasswordHash ¶
func (*Queries) GetPasswordResetByCode ¶
func (*Queries) GetPasswordResetById ¶
func (*Queries) GetRoleByID ¶
func (*Queries) GetRoleByName ¶
func (*Queries) GetSchedule ¶
func (*Queries) GetSchedules ¶
func (*Queries) GetSetting ¶
func (*Queries) GetUserByEmail ¶
func (*Queries) GetUserGroupByID ¶
func (*Queries) GetUserGroups ¶
func (*Queries) GetUserInviteByCode ¶
func (*Queries) GetUserInviteByEmail ¶
func (*Queries) GetUsersByCompanyID ¶
func (*Queries) GetVisibleSettings ¶
func (*Queries) UpdateContainerRegistry ¶
func (q *Queries) UpdateContainerRegistry(ctx context.Context, arg UpdateContainerRegistryParams) (ContainerRegistry, error)
func (*Queries) UpdateIntegrationStatus ¶
func (q *Queries) UpdateIntegrationStatus(ctx context.Context, arg UpdateIntegrationStatusParams) error
func (*Queries) UpdatePassword ¶
func (q *Queries) UpdatePassword(ctx context.Context, arg UpdatePasswordParams) error
func (*Queries) UpdateSchedule ¶
func (q *Queries) UpdateSchedule(ctx context.Context, arg UpdateScheduleParams) error
func (*Queries) UpdateScheduleStatus ¶
func (q *Queries) UpdateScheduleStatus(ctx context.Context, arg UpdateScheduleStatusParams) error
func (*Queries) UpdateSetting ¶
func (q *Queries) UpdateSetting(ctx context.Context, arg UpdateSettingParams) error
func (*Queries) UpdateSettingById ¶
func (q *Queries) UpdateSettingById(ctx context.Context, arg UpdateSettingByIdParams) error
func (*Queries) UpdateUser ¶
func (*Queries) UpdateUserInvite ¶
func (q *Queries) UpdateUserInvite(ctx context.Context, arg UpdateUserInviteParams) (UserInvite, error)
type Scheduler ¶
type Scheduler struct { ID int64 `json:"id"` Action string `json:"action"` Description string `json:"description"` CronExpr string `json:"cron_expr"` Payload json.RawMessage `json:"payload"` IsEnabled bool `json:"is_enabled"` IsSystem bool `json:"is_system"` Status string `json:"status"` LastRanAt sql.NullTime `json:"last_ran_at"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
type UpdateContainerRegistryParams ¶
type UpdateContainerRegistryParams struct { Name string `json:"name"` RegistryType string `json:"registry_type"` EncryptedSecret json.RawMessage `json:"encrypted_secret"` NonSecret json.RawMessage `json:"non_secret"` Extras json.RawMessage `json:"extras"` ID int32 `json:"id"` }
type UpdateIntegrationStatusParams ¶
type UpdateIntegrationStatusParams struct { ID int32 `json:"id"` ErrorMsg sql.NullString `json:"error_msg"` }
type UpdatePasswordParams ¶
type UpdateScheduleParams ¶
type UpdateSettingByIdParams ¶
type UpdateSettingByIdParams struct { Value json.RawMessage `json:"value"` IsVisibleOnUi bool `json:"is_visible_on_ui"` ID int64 `json:"id"` }
type UpdateSettingParams ¶
type UpdateSettingParams struct { Value json.RawMessage `json:"value"` IsVisibleOnUi bool `json:"is_visible_on_ui"` Key string `json:"key"` }
type UpdateUserInviteParams ¶
type UpdateUserParams ¶
type User ¶
type User struct { ID int64 `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` RoleID int32 `json:"role_id"` GroupIds json.RawMessage `json:"group_ids"` CompanyID int32 `json:"company_id"` PasswordHash string `json:"password_hash"` IsActive bool `json:"is_active"` PasswordInvalidated bool `json:"password_invalidated"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
type UserInvite ¶
type UserInvite struct { ID int32 `json:"id"` Email string `json:"email"` Code uuid.UUID `json:"code"` CreatedByUserID int64 `json:"created_by_user_id"` RoleID int32 `json:"role_id"` CompanyID int32 `json:"company_id"` Accepted bool `json:"accepted"` Expiry time.Time `json:"expiry"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.