Discover Packages
github.com/stackpointcloud/kubernetes
pkg
conversion
queryparams
package
Version:
v1.3.2-beta.0
Opens a new window with list of versions in this module.
Published: Jul 15, 2016
License: 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.