Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Authorization Headers SdcSignature = "Signature keyId=\"/%s/keys/%s\",algorithm=\"%s\" %s" MantaSignature = "Signature keyId=\"/%s/keys/%s\",algorithm=\"%s\",signature=\"%s\"" )
Variables ¶
This section is empty.
Functions ¶
func GetSignature ¶
The GetSignature method signs the specified key according to http://apidocs.joyent.com/cloudapi/#issuing-requests and http://apidocs.joyent.com/manta/api.html#authentication. DELME
Types ¶
type Credentials ¶
type Credentials struct { UserAuthentication *Auth //SdcKeyId string //DELME //SdcEndpoint Endpoint //DELME ApiEndpoint Endpoint VirtDatacenter string // virtual datacenter for executing all funcions }
func (*Credentials) Region ¶
func (cred *Credentials) Region() string
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.