MCPcopy Create free account
hub / github.com/cortexproject/cortex / Marshal

Method Marshal

pkg/ingester/client/ingester.pb.go:3760–3768  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3758}
3759
3760func (m *LabelValuesRequest) Marshal() (dAtA []byte, err error) {
3761 size := m.Size()
3762 dAtA = make([]byte, size)
3763 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3764 if err != nil {
3765 return nil, err
3766 }
3767 return dAtA[:n], nil
3768}
3769
3770func (m *LabelValuesRequest) MarshalTo(dAtA []byte) (int, error) {
3771 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected