Skip to content
Said Ghamra edited this page Oct 27, 2021 · 19 revisions

User Events

Events related to users.

Event Name Description
user.created Emitted when a user is created. An email is sent to the user containing instructions on how to verify their account.
user.deleted Emitted when a user is deleted. The user is removed from any workspaces they were previously in. Any of the user created deployments, tasks and wiki pages are deleted.
user.forgotPassword Emitted when a user forgets their password. An email is sent to the user containing instructions on how to change their password.
user.passwordChanged Emitted when a user changes their password. An email is sent to the user indicating that their password has been successfully changed.

Workspace Events

Events related to workspaces.

Event Name Description
workspace.created Emitted when a workspace is created. It leads to the creation of a Kubernetes namespace where all workspace related Kubernetes resources will reside.
workspace.updated Emitted when a workspaces resource quotas are updated. It leads to the modification of the allowed resource quotas in the Kubernetes resource quota previously created for the workspaces Kubernetes namespace.
workspace.deleted Emitted when a workspace is deleted. It leads to the deletion of all resources attached to the workspace, such as wiki pages, boards and deployments.
workspace.user.added Emitted when a user is added to a workspace. It leads to the addition of the workspace to the users permissions (if the user is not a super admin).
workspace.user.removed Emitted when a user is removed from a workspace. It leads to the deletion of all user created resources in the workspace such as pages, tasks and deployments.

Deployment Events

Events related to deployments.

Event Name Description
deployment.created Emitted when a deployment is created. It is handled by the KubernetesClientService, which will create all the necessary Kubernetes secrets, configmaps, services and deployments.
deployment.updated Emitted when a deployment is updated. It is handled by the KubernetesClientService, which will update the Kubernetes deployment based off the changes.
deployment.deleted Emitted when a deployment is deleted. It is handled by the KubernetesClientService, which will delete all the Kubernetes secrets, configmaps, services and deployments.
deployment.connection.opened Emitted when a deployment's websocket connection is being proxied by the server. It is handled by the KubernetesService, which will update the deployments usage status.
deployment.connection.closed Emitted when a deployment's websocket connection is closed by the user. It is handled by the KubernetesService, which will update the deployments usage status.

Wiki Events

Events related to wiki sections and pages.

Event Name Description
wiki.section.deleted Emitted when a wiki section is deleted. It is handled by the WikiPagesService, which will delete all wiki pages under that wiki section.

Project Events

Events related to projects.

Event Name Description
project.created Emitted when a project is created. It is handled by the ProjectLanesService, which will create three lanes under that project, To Do, Doing and Done.
project.deleted Emitted when a project is deleted. It is handled by the ProjectLanesService, which will delete all lanes under that project.
project.lane.deleted Emitted when a project lane is deleted. It is handled by the ProjectTasksService, which will delete all tasks under that project lane.

Clone this wiki locally