kubernetes/vendor/gopkg.in/yaml.v2/encode.go

type jsonNumber

type encoder

func newEncoder() *encoder {}

func newEncoderWithWriter(w io.Writer) *encoder {}

func (e *encoder) init() {}

func (e *encoder) finish() {}

func (e *encoder) destroy() {}

func (e *encoder) emit() {}

func (e *encoder) must(ok bool) {}

func (e *encoder) marshalDoc(tag string, in reflect.Value) {}

func (e *encoder) marshal(tag string, in reflect.Value) {}

func (e *encoder) mapv(tag string, in reflect.Value) {}

func (e *encoder) itemsv(tag string, in reflect.Value) {}

func (e *encoder) structv(tag string, in reflect.Value) {}

func (e *encoder) mappingv(tag string, f func()) {}

func (e *encoder) slicev(tag string, in reflect.Value) {}

// isBase60 returns whether s is in base 60 notation as defined in YAML 1.1.
//
// The base 60 float notation in YAML 1.1 is a terrible idea and is unsupported
// in YAML 1.2 and by this package, but these should be marshalled quoted for
// the time being for compatibility with other parsers.
func isBase60Float(s string) (result bool) {}

var base60float

func (e *encoder) stringv(tag string, in reflect.Value) {}

func (e *encoder) boolv(tag string, in reflect.Value) {}

func (e *encoder) intv(tag string, in reflect.Value) {}

func (e *encoder) uintv(tag string, in reflect.Value) {}

func (e *encoder) timev(tag string, in reflect.Value) {}

func (e *encoder) floatv(tag string, in reflect.Value) {}

func (e *encoder) nilv() {}

func (e *encoder) emitScalar(value, anchor, tag string, style yaml_scalar_style_t) {}