yunion.io/x/cloudmux@v0.3.10-0-alpha.1/pkg/apis/compute/bucket.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  	BUCKET_OPS_STATS_CHANGE = "stats_change"
    19  
    20  	BUCKET_STATUS_START_CREATE = "start_create"
    21  	BUCKET_STATUS_CREATING     = "creating"
    22  	BUCKET_STATUS_READY        = "ready"
    23  	BUCKET_STATUS_CREATE_FAIL  = "create_fail"
    24  	BUCKET_STATUS_START_DELETE = "start_delete"
    25  	BUCKET_STATUS_DELETING     = "deleting"
    26  	BUCKET_STATUS_DELETED      = "deleted"
    27  	BUCKET_STATUS_DELETE_FAIL  = "delete_fail"
    28  	BUCKET_STATUS_UNKNOWN      = "unknown"
    29  
    30  	BUCKET_UPLOAD_OBJECT_KEY_HEADER          = "X-Yunion-Bucket-Upload-Key"
    31  	BUCKET_UPLOAD_OBJECT_ACL_HEADER          = "X-Yunion-Bucket-Upload-Acl"
    32  	BUCKET_UPLOAD_OBJECT_STORAGECLASS_HEADER = "X-Yunion-Bucket-Upload-Storageclass"
    33  )