Discover Packages
github.com/josedonizetti/kubernetes
pkg
conversion
queryparams
package
Version:
v1.3.0-beta.3
Opens a new window with list of versions in this module.
Published: Jul 1, 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.