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

Method Marshal

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

Source from the content-addressed store, hash-verified

3879}
3880
3881func (m *LabelNamesRequest) Marshal() (dAtA []byte, err error) {
3882 size := m.Size()
3883 dAtA = make([]byte, size)
3884 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3885 if err != nil {
3886 return nil, err
3887 }
3888 return dAtA[:n], nil
3889}
3890
3891func (m *LabelNamesRequest) MarshalTo(dAtA []byte) (int, error) {
3892 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected