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

Method MarshalTo

pkg/ruler/ruler.pb.go:1153–1156  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

1151}
1152
1153func (m *RulesRequest) MarshalTo(dAtA []byte) (int, error) {
1154 size := m.Size()
1155 return m.MarshalToSizedBuffer(dAtA[:size])
1156}
1157
1158func (m *RulesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1159 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected