MCPcopy
hub / github.com/IBM/sarama / SetAuthBytes

Method SetAuthBytes

mockresponses.go:1159–1162  ·  view source on GitHub ↗
(saslAuthBytes []byte)

Source from the content-addressed store, hash-verified

1157}
1158
1159func (msar *MockSaslAuthenticateResponse) SetAuthBytes(saslAuthBytes []byte) *MockSaslAuthenticateResponse {
1160 msar.saslAuthBytes = saslAuthBytes
1161 return msar
1162}
1163
1164func (msar *MockSaslAuthenticateResponse) SetSessionLifetimeMs(sessionLifetimeMs int64) *MockSaslAuthenticateResponse {
1165 msar.sessionLifetimeMs = sessionLifetimeMs

Callers 6

TestSASLOAuthBearerFunction · 0.80
TestSASLSCRAMSHAXXXFunction · 0.80
TestSASLPlainAuthFunction · 0.80
TestSASLReadTimeoutFunction · 0.80

Calls

no outgoing calls

Tested by 6

TestSASLOAuthBearerFunction · 0.64
TestSASLSCRAMSHAXXXFunction · 0.64
TestSASLPlainAuthFunction · 0.64
TestSASLReadTimeoutFunction · 0.64