yunion.io/x/cloudmux@v0.3.10-0-alpha.1/pkg/apis/compute/cdn.go (about) 1 // Copyright 2019 Yunion 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 package compute 16 17 const ( 18 CDN_DOMAIN_STATUS_ONLINE = "online" 19 CDN_DOMAIN_STATUS_OFFLINE = "offline" 20 CDN_DOMAIN_STATUS_DELETING = "deleting" 21 CDN_DOMAIN_STATUS_DELETE_FAILED = "delete_failed" 22 CDN_DOMAIN_STATUS_PROCESSING = "processing" 23 CDN_DOMAIN_STATUS_REJECTED = "rejected" 24 CDN_DOMAIN_STATUS_UNKNOWN = "unknown" 25 26 CDN_DOMAIN_AREA_MAINLAND = "mainland" 27 CDN_DOMAIN_AREA_OVERSEAS = "overseas" 28 CDN_DOMAIN_AREA_GLOBAL = "global" 29 CDN_DOMAIN_ORIGIN_TYPE_DOMAIN = "domain" 30 CDN_DOMAIN_ORIGIN_TYPE_IP = "ip" 31 CDN_DOMAIN_ORIGIN_TYPE_BUCKET = "bucket" 32 CDN_DOMAIN_ORIGIN_THIRED_PARTY = "third_party" 33 34 // Qcloud 35 CDN_SERVICE_TYPE_WEB = "web" // 静态加速 36 CND_SERVICE_TYPE_DOWNLOAD = "download" // 下载加速 37 CND_SERVICE_TYPE_MEDIA = "media" // 流媒体点播加速 38 )