package rest

import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/aws/aws-sdk-go/internal/protocol/rest"

Package rest provides RESTful serialization of AWS requests and responses.

Index

Constants

const RFC822 = "Mon, 2 Jan 2006 15:04:05 GMT"

RFC822 returns an RFC822 formatted timestamp for AWS protocols

Functions

func Build

func Build(r *request.Request)

Build builds the REST component of a service request.

func EscapePath

func EscapePath(path string, encodeSep bool) string

EscapePath escapes part of a URL path in Amazon style

func PayloadMember

func PayloadMember(i interface{}) interface{}

PayloadMember returns the payload field member of i if there is one, or nil.

func PayloadType

func PayloadType(i interface{}) string

PayloadType returns the type of a payload field member of i if there is one, or "".

func Unmarshal

func Unmarshal(r *request.Request)

Unmarshal unmarshals the REST component of a response in a REST service.

func UnmarshalMeta

func UnmarshalMeta(r *request.Request)

UnmarshalMeta unmarshals the REST metadata of a response in a REST service

Source Files

build.go payload.go unmarshal.go

Version
v1.1.5
Published
Jan 23, 2016
Platform
linux/amd64
Imports
15 packages
Last checked
24 seconds ago

Tools for package owners.