Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/IBM/sarama
/ Disable
Method
Disable
internal/toxiproxy/proxy.go:67–71 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
}
66
67
func
(p *Proxy) Disable() error {
68
p.Enabled = false
69
_, err := p.Save()
70
return
err
71
}
72
73
func
(p *Proxy) Save() (*Proxy, error) {
74
var
b bytes.Buffer
Callers
2
TestFuncProducingIdempotentWithBrokerFailure
Function · 0.80
TestAsyncProducerRemoteBrokerClosed
Function · 0.80
Calls
1
Save
Method · 0.95
Tested by
2
TestFuncProducingIdempotentWithBrokerFailure
Function · 0.64
TestAsyncProducerRemoteBrokerClosed
Function · 0.64