github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/api/cloudcontroller/ccv2/constant/event.go (about) 1 package constant 2 3 // EventType is the type of event that occurred in cloud foundry. 4 type EventType string 5 6 const ( 7 // EventTypeApplicationCrash denotes an event where an application crashed. 8 EventTypeApplicationCrash EventType = "app.crash" 9 10 // EventTypeAuditApplicationCopyBits denotes an event where the CC copies bits 11 // from one application to another 12 EventTypeAuditApplicationCopyBits EventType = "audit.app.copy-bits" 13 14 // EventTypeAuditApplicationCreate denotes an event where the CC creates an 15 // applicaion. 16 EventTypeAuditApplicationCreate EventType = "audit.app.create" 17 18 // EventTypeAuditApplicationDeleteRequest denotes an event where the CC 19 // receives a request to delete an application. 20 EventTypeAuditApplicationDeleteRequest EventType = "audit.app.delete-request" 21 22 EventTypeAuditApplicationDropletMapped EventType = "audit.app.droplet.mapped" 23 24 // EventTypeAuditApplicationMapRoute denotes an event where the CC maps an 25 // application to a route. 26 EventTypeAuditApplicationMapRoute EventType = "audit.app.map-route" 27 28 // EventTypeAuditApplicationPackageCreate denotes an event where the CC creates an 29 // application package. 30 EventTypeAuditApplicationPackageCreate EventType = "audit.app.package.create" 31 32 // EventTypeAuditApplicationPackageDelete denotes an event where the CC deletes an 33 // application package. 34 EventTypeAuditApplicationPackageDelete EventType = "audit.app.package.delete" 35 36 // EventTypeAuditApplicationPackageDownload denotes an event where an application 37 // package is downloaded. 38 EventTypeAuditApplicationPackageDownload EventType = "audit.app.package.download" 39 40 // EventTypeAuditApplicationPackageUpload denotes an event where an application 41 // package is uploaded. 42 EventTypeAuditApplicationPackageUpload EventType = "audit.app.package.upload" 43 44 // EventTypeAuditApplicationRestage denotes an event where the CC restages an 45 // application. 46 EventTypeAuditApplicationRestage EventType = "audit.app.restage" 47 48 EventTypeAuditApplicationSSHAuthorized EventType = "audit.app.ssh-authorized" 49 50 EventTypeAuditApplicationSSHUnauthorized EventType = "audit.app.ssh-unauthorized" 51 52 // EventTypeAuditApplicationStart denotes an event where the CC starts an 53 // application. 54 EventTypeAuditApplicationStart EventType = "audit.app.start" 55 56 // EventTypeAuditApplicationStop denotes an event where the CC stops an 57 // application. 58 EventTypeAuditApplicationStop EventType = "audit.app.stop" 59 60 // EventTypeAuditApplicationUnmapRoute denotes an event where the CC unmaps 61 // an application from a route. 62 EventTypeAuditApplicationUnmapRoute EventType = "audit.app.unmap-route" 63 64 // EventTypeAuditApplicationUpdate denotes an event where the CC updates an 65 // application. 66 EventTypeAuditApplicationUpdate EventType = "audit.app.update" 67 68 // EventTypeAuditApplicationUploadBits denotes an event where application 69 // bits are uploaded to the CC. 70 EventTypeAuditApplicationUploadBits EventType = "audit.app.upload-bits" 71 72 // EventTypeOrganizationCreate denotes an event where the CC creates an 73 // organization. 74 EventTypeOrganizationCreate EventType = "audit.organization.create" 75 76 // EventTypeOrganizationDeleteRequest denotes an event where the CC receives 77 // request to delete an organization. 78 EventTypeOrganizationDeleteRequest EventType = "audit.organization.delete-request" 79 80 // EventTypeOrganizationUpdate denotes an event where the CC updates an 81 // organization. 82 EventTypeOrganizationUpdate EventType = "audit.organization.update" 83 84 // EventTypeAuditRouteCreate denotes an event where the CC creates a route. 85 EventTypeAuditRouteCreate EventType = "audit.route.create" 86 87 // EventTypeAuditRouteDeleteRequest denotes an event where the CC receives a 88 // request to delete a route. 89 EventTypeAuditRouteDeleteRequest EventType = "audit.route.delete-request" 90 91 // EventTypeAuditRouteUpdate denotes an event where the CC updates a route. 92 EventTypeAuditRouteUpdate EventType = "audit.route.update" 93 94 // EventTypeAuditServiceCreate denotes an event where the CC creates a service. 95 EventTypeAuditServiceCreate EventType = "audit.service.create" 96 97 // EventTypeAuditServiceDelete denotes an event where the CC deletes a service. 98 EventTypeAuditServiceDelete EventType = "audit.service.delete" 99 100 // EventTypeAuditServiceUpdate denotes an event where the CC updates a service. 101 EventTypeAuditServiceUpdate EventType = "audit.service.update" 102 103 // EventTypeAuditServiceBindingCreate denotes an event where the CC creates 104 // a service binding. 105 EventTypeAuditServiceBindingCreate EventType = "audit.service_binding.create" 106 107 // EventTypeAuditServiceBindingDelete denotes an event where the CC deletes 108 // a service binding. 109 EventTypeAuditServiceBindingDelete EventType = "audit.service_binding.delete" 110 111 // EventTypeAuditServiceBrokerCreate denotes an event where the CC creates 112 // a service broker. 113 EventTypeAuditServiceBrokerCreate EventType = "audit.service_broker.create" 114 115 // EventTypeAuditServiceBrokerDelete denotes an event where the CC deletes 116 // a service broker. 117 EventTypeAuditServiceBrokerDelete EventType = "audit.service_broker.delete" 118 119 // EventTypeAuditServiceBrokerUpdate denotes an event where the CC updates 120 // a service broker. 121 EventTypeAuditServiceBrokerUpdate EventType = "audit.service_broker.update" 122 123 EventTypeAuditServiceDashboardClientCreate EventType = "audit.service_dashboard_client.create" 124 125 EventTypeAuditServiceDashboardClientDelete EventType = "audit.service_dashboard_client.delete" 126 127 EventTypeServiceInstanceBindRoute EventType = "audit.service_instance.bind_route" 128 129 // EventTypeAuditServiceInstanceCreate denotes an event where the CC creates 130 // a service instance. 131 EventTypeAuditServiceInstanceCreate EventType = "audit.service_instance.create" 132 133 // EventTypeAuditServiceInstanceDelete denotes an event where the CC deletes 134 // a service instance. 135 EventTypeAuditServiceInstanceDelete EventType = "audit.service_instance.delete" 136 137 EventTypeServiceInstanceUnbindRoute EventType = "audit.service_instance.unbind_route" 138 139 // EventTypeAuditServiceInstanceUpdate denotes an event where the CC updates 140 // a service instance. 141 EventTypeAuditServiceInstanceUpdate EventType = "audit.service_instance.update" 142 143 EventTypeAuditServiceKeyCreate EventType = "audit.service_key.create" 144 145 EventTypeAuditServiceKeyDelete EventType = "audit.service_key.delete" 146 147 // EventTypeAuditServicePlanCreate denotes an event where the CC creates 148 // a service plan. 149 EventTypeAuditServicePlanCreate EventType = "audit.service_plan.create" 150 151 // EventTypeAuditServicePlanDelete denotes an event where the CC deletes 152 // a service plan. 153 EventTypeAuditServicePlanDelete EventType = "audit.service_plan.delete" 154 155 // EventTypeAuditServicePlanUpdate denotes an event where the CC updates 156 // a service plan. 157 EventTypeAuditServicePlanUpdate EventType = "audit.service_plan.update" 158 159 EventTypeAuditServicePlanVisibilityCreate EventType = "audit.service_plan_visibility.create" 160 161 EventTypeAuditServicePlanVisibilityDelete EventType = "audit.service_plan_visibility.delete" 162 163 EventTypeAuditServicePlanVisibilityUpdate EventType = "audit.service_plan_visibility.update" 164 165 // EventTypeAuditSpaceCreate denotes an event where the CC creates a space. 166 EventTypeAuditSpaceCreate EventType = "audit.space.create" 167 168 // EventTypeAuditSpaceDeleteRequest denotes an event where the CC receives a 169 // request to delete a space. 170 EventTypeAuditSpaceDeleteRequest EventType = "audit.space.delete-request" 171 172 // EventTypeAuditSpaceUpdate denotes an event where the CC updates a space. 173 EventTypeAuditSpaceUpdate EventType = "audit.space.update" 174 175 // EventTypeAuditUserProvidedServiceInstanceCreate denotes an event where the 176 // CC creates a user provided service instance. 177 EventTypeAuditUserProvidedServiceInstanceCreate EventType = "audit.user_provided_service_instance.create" 178 179 // EventTypeAuditUserProvidedServiceInstanceDelete denotes an event where the 180 // CC deletes a user provided service instance. 181 EventTypeAuditUserProvidedServiceInstanceDelete EventType = "audit.user_provided_service_instance.delete" 182 183 // EventTypeAuditUserProvidedServiceInstanceUpdate denotes an event where the 184 // CC updates a user provided service instance. 185 EventTypeAuditUserProvidedServiceInstanceUpdate EventType = "audit.user_provided_service_instance.update" 186 187 // EventTypeAuditUserSpaceAuditorAdd denotes an event where the CC associates 188 // an auditor with a space. 189 EventTypeAuditUserSpaceAuditorAdd EventType = "audit.user.space_auditor_add" 190 191 // EventTypeAuditUserSpaceAuditorRemove denotes an event where the CC removes 192 // an auditor from a space. 193 EventTypeAuditUserSpaceAuditorRemove EventType = "audit.user.space_auditor_remove" 194 195 // EventTypeAuditUserSpaceManagerAdd denotes an event where the CC associates 196 // a manager with a space. 197 EventTypeAuditUserSpaceManagerAdd EventType = "audit.user.space_manager_add" 198 199 // EventTypeAuditUserSpaceManagerRemove denotes an event where the CC removes 200 // a manager from a space. 201 EventTypeAuditUserSpaceManagerRemove EventType = "audit.user.space_manager_remove" 202 203 // EventTypeAuditUserSpaceDeveloperAdd denotes an event where the CC 204 // associates a developer with a space. 205 EventTypeAuditUserSpaceDeveloperAdd EventType = "audit.user.space_developer_add" 206 207 // EventTypeAuditUserSpaceDeveloperRemove denotes an event where the CC removes 208 // a developer from a space. 209 EventTypeAuditUserSpaceDeveloperRemove EventType = "audit.user.space_developer_remove" 210 211 // EventTypeAuditUserOrganizationAuditorAdd denotes an event where the CC 212 // associates an auditor with an organization. 213 EventTypeAuditUserOrganizationAuditorAdd EventType = "audit.user.organization_auditor_add" 214 215 // EventTypeAuditUserOrganizationAuditorRemove denotes an event where the CC 216 // removes an auditor from an organization. 217 EventTypeAuditUserOrganizationAuditorRemove EventType = "audit.user.organization_auditor_remove" 218 219 // EventTypeAuditUserOrganizationBillingManagerAdd denotes an event where the CC 220 // associates a billing manager with an organization. 221 EventTypeAuditUserOrganizationBillingManagerAdd EventType = "audit.user.organization_billing_manager_add" 222 223 // EventTypeAuditUserOrganizationBillingManagerRemove denotes an event where the CC 224 // removes a billing manager from an organization. 225 EventTypeAuditUserOrganizationBillingManagerRemove EventType = "audit.user.organization_billing_manager_remove" 226 227 // EventTypeAuditUserOrganizationManagerAdd denotes an event where the CC 228 // associates a manager with an organization. 229 EventTypeAuditUserOrganizationManagerAdd EventType = "audit.user.organization_manager_add" 230 231 // EventTypeAuditUserOrganizationManagerRemove denotes an event where the CC 232 // removes a manager from an organization. 233 EventTypeAuditUserOrganizationManagerRemove EventType = "audit.user.organization_manager_remove" 234 235 // EventTypeAuditUserOrganizationUserAdd denotes an event where the CC associates 236 // an organization with a user. 237 EventTypeAuditUserOrganizationUserAdd EventType = "audit.user.organization_user_add" 238 239 // EventTypeAuditUserOrganizationUserRemove denotes an event where the CC 240 // associates an organization with a user. 241 EventTypeAuditUserOrganizationUserRemove EventType = "audit.user.organization_user_remove" 242 243 EventTypeBlobRemoveOrphan EventType = "blob.remove_orphan" 244 245 // "experimental" events 246 247 // EventTypeAuditApplicationBuildCreate denotes an event where an application 248 // build is created. 249 EventTypeAuditApplicationBuildCreate EventType = "audit.app.build.create" 250 251 // EventTypeAuditApplicationDropletCreate denotes an event where an application 252 // droplet is created. 253 EventTypeAuditApplicationDropletCreate EventType = "audit.app.droplet.create" 254 255 // EventTypeAuditApplicationDropletDelete denotes an event where an application 256 // droplet is deleted. 257 EventTypeAuditApplicationDropletDelete EventType = "audit.app.droplet.delete" 258 259 // EventTypeAuditApplicationDropletDownload denotes an event where an application 260 // droplet is downloaded. 261 EventTypeAuditApplicationDropletDownload EventType = "audit.app.droplet.download" 262 263 // EventTypeAuditApplicationProcessCrash denotes an event where an application 264 // process crashes. 265 EventTypeAuditApplicationProcessCrash EventType = "audit.app.process.crash" 266 267 // EventTypeAuditApplicationProcessCreate denotes an event where the CC 268 // creates an application process. 269 EventTypeAuditApplicationProcessCreate EventType = "audit.app.process.create" 270 271 // EventTypeAuditApplicationProcessDelete denotes an event where the CC 272 // deletes an application process. 273 EventTypeAuditApplicationProcessDelete EventType = "audit.app.process.delete" 274 275 // EventTypeAuditApplicationProcessScale denotes an event where the CC scales 276 // an application process. 277 EventTypeAuditApplicationProcessScale EventType = "audit.app.process.scale" 278 279 // EventTypeAuditApplicationProcessTerminateInstance denotes an event where 280 // the CC terminates an application process instance. 281 EventTypeAuditApplicationProcessTerminateInstance EventType = "audit.app.process.terminate_instance" 282 283 // EventTypeAuditApplicationProcessUpdate denotes an event where the CC 284 // updates an application process. 285 EventTypeAuditApplicationProcessUpdate EventType = "audit.app.process.update" 286 287 // EventTypeAuditApplicationTaskCancel denotes an event where the CC cancels 288 // a task. 289 EventTypeAuditApplicationTaskCancel EventType = "audit.app.task.cancel" 290 291 // EventTypeAuditApplicationTaskCreate denotes an event where the CC creates 292 // a task. 293 EventTypeAuditApplicationTaskCreate EventType = "audit.app.task.create" 294 295 EventTypeServiceInstanceShare EventType = "audit.service_instance.share" 296 297 EventTypeServiceInstanceUnshare EventType = "audit.service_instance.unshare" 298 )