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

     1  package obs
     2  
     3  import (
     4  	"net/http"
     5  )
     6  
     7  // CreateSignedUrlInput is the input parameter of CreateSignedUrl function
     8  type CreateSignedUrlInput struct {
     9  	Method      HttpMethodType
    10  	Bucket      string
    11  	Key         string
    12  	SubResource SubResourceType
    13  	Expires     int
    14  	Headers     map[string]string
    15  	QueryParams map[string]string
    16  }
    17  
    18  // CreateSignedUrlOutput is the result of CreateSignedUrl function
    19  type CreateSignedUrlOutput struct {
    20  	SignedUrl                  string
    21  	ActualSignedRequestHeaders http.Header
    22  }
    23  
    24  // CreateBrowserBasedSignatureInput is the input parameter of CreateBrowserBasedSignature function.
    25  type CreateBrowserBasedSignatureInput struct {
    26  	Bucket     string
    27  	Key        string
    28  	Expires    int
    29  	FormParams map[string]string
    30  }
    31  
    32  // CreateBrowserBasedSignatureOutput is the result of CreateBrowserBasedSignature function.
    33  type CreateBrowserBasedSignatureOutput struct {
    34  	OriginPolicy string
    35  	Policy       string
    36  	Algorithm    string
    37  	Credential   string
    38  	Date         string
    39  	Signature    string
    40  }