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

Method Marshal

pkg/ruler/ruler.pb.go:1268–1276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1266}
1267
1268func (m *LivenessCheckResponse) Marshal() (dAtA []byte, err error) {
1269 size := m.Size()
1270 dAtA = make([]byte, size)
1271 n, err := m.MarshalToSizedBuffer(dAtA[:size])
1272 if err != nil {
1273 return nil, err
1274 }
1275 return dAtA[:n], nil
1276}
1277
1278func (m *LivenessCheckResponse) MarshalTo(dAtA []byte) (int, error) {
1279 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected