云上操作日志同步

This commit is contained in:
ioito
2019-11-07 16:38:17 +08:00
committed by Qu Xuan
parent e7491733d7
commit 4036d34656
36 changed files with 1821 additions and 27 deletions
+47
View File
@@ -0,0 +1,47 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package cloudevent
const (
CLOUD_EVENT_SERVICE_COMPUTE = "compute"
CLOUD_EVENT_SERVICE_UNKNOWN = "unknown"
CLOUD_EVENT_RESOURCE_TYPE_SERVER = "server"
CLOUD_EVENT_RESOURCE_TYPE_BUCKET = "bucket"
CLOUD_EVENT_RESOURCE_TYPE_DBINSTANCEACCOUNT = "dbinstanceaccount"
CLOUD_EVENT_RESOURCE_TYPE_DBINSTANCEBACKUP = "dbinstancebackup"
CLOUD_EVENT_RESOURCE_TYPE_DBINSTANCEDATABASE = "dbinstancedatabase"
CLOUD_EVENT_RESOURCE_TYPE_DBINSTANCEPARAMETER = "dbinstanceparameter"
CLOUD_EVENT_RESOURCE_TYPE_DBINSTANCEPRIVILEGE = "dbinstanceprivilege"
CLOUD_EVENT_RESOURCE_TYPE_DBINSTANCE = "dbinstance"
CLOUD_EVENT_RESOURCE_TYPE_DISK = "disk"
CLOUD_EVENT_RESOURCE_TYPE_EIP = "eip"
CLOUD_EVENT_RESOURCE_TYPE_HOST = "host"
CLOUD_EVENT_RESOURCE_TYPE_IMAGE = "image"
CLOUD_EVENT_RESOURCE_TYPE_LOADBALANCERBACKENDGROUP = "loadbalancerbackendgroup"
CLOUD_EVENT_RESOURCE_TYPE_LOADBALANCERBACKEND = "loadbalancerbackend"
CLOUD_EVENT_RESOURCE_TYPE_LOADBALANCERLISTENERRULE = "loadbalancerlistenerrule"
CLOUD_EVENT_RESOURCE_TYPE_LOADBALANCERLISTENER = "loadbalancerlistener"
CLOUD_EVENT_RESOURCE_TYPE_LOADBALANCER = "loadbalancer"
CLOUD_EVENT_RESOURCE_TYPE_NATDENTRY = "natdentry"
CLOUD_EVENT_RESOURCE_TYPE_NATGATEWAY = "natgateway"
CLOUD_EVENT_RESOURCE_TYPE_NATSENTRY = "natsentry"
CLOUD_EVENT_RESOURCE_TYPE_NETWORKINTERFACE = "networkinterface"
CLOUD_EVENT_RESOURCE_TYPE_NETWORK = "network"
CLOUD_EVENT_RESOURCE_TYPE_SECGROUPCACHE = "secgroupcache"
CLOUD_EVENT_RESOURCE_TYPE_SNAPSHOTPOLICY = "snapshotpolicy"
CLOUD_EVENT_RESOURCE_TYPE_SNAPSHOT = "snapshot"
CLOUD_EVENT_RESOURCE_TYPE_VPC = "vpc"
)
+1
View File
@@ -0,0 +1 @@
package cloudevent // import "yunion.io/x/onecloud/pkg/apis/cloudevent"