mirror of https://github.com/harness/drone.git
feat: [CDE-545]: add a seperate events for gitspace routing (#3142)
* feat: [CDE-545]: add a seperate events for gitspace routing * feat: [CDE-545]: add a seperate events for gitspace routingBT-10437
parent
93c1462fec
commit
57a2cb6e44
|
@ -90,14 +90,18 @@ func eventsMessageMapping() map[enum.GitspaceEventType]string {
|
|||
gitspaceConfigsMap[enum.GitspaceEventTypeFetchDevcontainerCompleted] = "Fetched devcontainer config"
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeFetchDevcontainerFailed] = "Fetching devcontainer config failed"
|
||||
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsStart] = "Fetching connectors details..."
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsCompleted] = "Fetched connectors details"
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsFailed] = "Fetching connectors details failed"
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsStart] = "Fetching platform connectors details..."
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsCompleted] = "Fetched platform connectors details"
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsFailed] = "Fetching platform connectors details failed" //nolint:lll
|
||||
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeInfraProvisioningStart] = "Provisioning infrastructure..."
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeInfraProvisioningCompleted] = "Provisioning infrastructure completed"
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeInfraProvisioningFailed] = "Provisioning infrastructure failed"
|
||||
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeInfraGatewayRouteStart] = "Updating gateway routing..."
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeInfraGatewayRouteCompleted] = "Updating gateway routing completed"
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeInfraGatewayRouteFailed] = "Updating gateway routing failed"
|
||||
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeInfraStopStart] = "Stopping infrastructure..."
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeInfraStopCompleted] = "Stopping infrastructure completed"
|
||||
gitspaceConfigsMap[enum.GitspaceEventTypeInfraStopFailed] = "Stopping infrastructure failed"
|
||||
|
|
|
@ -95,6 +95,11 @@ const (
|
|||
GitspaceEventTypeInfraProvisioningCompleted GitspaceEventType = "infra_provisioning_completed"
|
||||
GitspaceEventTypeInfraProvisioningFailed GitspaceEventType = "infra_provisioning_failed"
|
||||
|
||||
// Gateway update events.
|
||||
GitspaceEventTypeInfraGatewayRouteStart GitspaceEventType = "infra_gateway_route_start"
|
||||
GitspaceEventTypeInfraGatewayRouteCompleted GitspaceEventType = "infra_gateway_route_completed"
|
||||
GitspaceEventTypeInfraGatewayRouteFailed GitspaceEventType = "infra_gateway_route_failed"
|
||||
|
||||
// Infra stop events.
|
||||
GitspaceEventTypeInfraStopStart GitspaceEventType = "infra_stop_start"
|
||||
GitspaceEventTypeInfraStopCompleted GitspaceEventType = "infra_stop_completed"
|
||||
|
|
Loading…
Reference in New Issue