marshaler

package
v2.1.6+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PromqlMarshaler

type PromqlMarshaler struct {
	// contains filtered or unexported fields
}

func NewPromqlMarshaler

func NewPromqlMarshaler(fallback runtime.Marshaler) *PromqlMarshaler

func (*PromqlMarshaler) ContentType

func (m *PromqlMarshaler) ContentType() string

func (*PromqlMarshaler) Marshal

func (m *PromqlMarshaler) Marshal(v interface{}) ([]byte, error)

func (*PromqlMarshaler) NewDecoder

func (m *PromqlMarshaler) NewDecoder(r io.Reader) runtime.Decoder

func (*PromqlMarshaler) NewEncoder

func (m *PromqlMarshaler) NewEncoder(w io.Writer) runtime.Encoder

func (*PromqlMarshaler) Unmarshal

func (m *PromqlMarshaler) Unmarshal(data []byte, v interface{}) error

The special marshaling for PromQL results is currently only implemented for encoding.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL