kubernetes/staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert.go

type Marshaler

type Unmarshaler

func jsonTag(field reflect.StructField) (string, bool) {}

func isPointerKind(kind reflect.Kind) bool {}

func isStructKind(kind reflect.Kind) bool {}

func isValueKind(kind reflect.Kind) bool {}

func zeroValue(value reflect.Value) bool {}

func customMarshalValue(value reflect.Value) (reflect.Value, bool) {}

func addParam(values url.Values, tag string, omitempty bool, value reflect.Value) {}

func addListOfParams(values url.Values, tag string, omitempty bool, list reflect.Value) {}

// 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.
func Convert(obj interface{}

func convertStruct(result url.Values, st reflect.Type, sv reflect.Value) {}