github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/obs/model_header.go (about)

     1  package obs
     2  
     3  // ISseHeader defines the sse encryption header
     4  type ISseHeader interface {
     5  	GetEncryption() string
     6  	GetKey() string
     7  }
     8  
     9  // SseKmsHeader defines the SseKms header
    10  type SseKmsHeader struct {
    11  	Encryption string
    12  	Key        string
    13  	isObs      bool
    14  }
    15  
    16  // SseCHeader defines the SseC header
    17  type SseCHeader struct {
    18  	Encryption string
    19  	Key        string
    20  	KeyMD5     string
    21  }