Discover Packages
github.imxd.top/openshift/origin
Godeps
_workspace
src
k8s.io
kubernetes
pkg
conversion
queryparams
package
Version:
v1.1.6
Opens a new window with list of versions in this module.
Published: Apr 5, 2016
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package queryparams provides conversion from versioned
runtime objects to URL query values
Convert takes an object and converts it to a url.Values object using JSON tags as
parameter names. Only top-level simple values, arrays, and slices are serialized.
Embedded structs, maps, etc. will not be serialized.
type Marshaler interface {
MarshalQueryParameter() (string , error )
}
Marshaler converts an object to a query parameter string representation
type Unmarshaler interface {
UnmarshalQueryParameter(string ) error
}
Unmarshaler converts a string representation to an object
Source Files
¶
Click to show internal directories.
Click to hide internal directories.