package cloudfront
import "github.com/docker/distribution/Godeps/_workspace/src/github.com/AdRoll/goamz/cloudfront"
Index ¶
- type CloudFront
- func New(baseurl string, key *rsa.PrivateKey, keyPairId string) *CloudFront
- func NewKeyLess(auth aws.Auth, baseurl string) *CloudFront
- func (cf *CloudFront) CannedSignedURL(path, queryString string, expires time.Time) (string, error)
- func (cloudfront *CloudFront) SignedURL(path, querystrings string, expires time.Time) string
Types ¶
type CloudFront ¶
type CloudFront struct { BaseURL string // contains filtered or unexported fields }
func New ¶
func New(baseurl string, key *rsa.PrivateKey, keyPairId string) *CloudFront
func NewKeyLess ¶
func NewKeyLess(auth aws.Auth, baseurl string) *CloudFront
func (*CloudFront) CannedSignedURL ¶
Creates a signed url using RSAwithSHA1 as specified by http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.html#private-content-canned-policy-creating-signature
func (*CloudFront) SignedURL ¶
func (cloudfront *CloudFront) SignedURL(path, querystrings string, expires time.Time) string
Source Files ¶
- Version
- v2.0.0-rc.1+incompatible
- Published
- Apr 7, 2015
- Platform
- linux/amd64
- Imports
- 11 packages
- Last checked
- 17 hours ago –
Tools for package owners.