You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+105-1Lines changed: 105 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -455,7 +455,111 @@ The values for the __probes__, are calculated to help you to prevent Kubernetes
455
455
You must use them and be sure they are correctly set in your CR or all the work done will be useless.
456
456
457
457
Resources are the cpu/memory dimension you should set. You will always have a LIMIT and a REQUEST for the resources. Keep in mind that whatever will push your pod above the memory limit will IMMEDIATELY trigger the OOM killer :) not a nice thing to have.
458
-
458
+
459
+
# Module
460
+
MySQLOperatorCalculator is also available as module.
461
+
This is it you can include it in your code and query it directly getting back objects to browse or Json.
462
+
The example directory contains a very simple example of code on how to do it, but mainly you have to:
463
+
```go
464
+
import (
465
+
"bytes"
466
+
"encoding/json"
467
+
"fmt"
468
+
MO"github.com/Tusamarco/mysqloperatorcalculator/src/mysqloperatorcalculator"<----------- Import the module
0 commit comments