MCPcopy Index your code
hub / github.com/FunctionStream/function-stream / WithStateStore

Function WithStateStore

fs/manager.go:118–124  ·  view source on GitHub ↗
(store api.StateStore)

Source from the content-addressed store, hash-verified

116}
117
118func WithStateStore(store api.StateStore) ManagerOption {
119 return managerOptionFunc(func(c *managerOptions) (*managerOptions, error) {
120 c.dontUseDefaultStateStore = true
121 c.stateStore = store
122 return c, nil
123 })
124}
125
126func WithLogger(log *logr.Logger) ManagerOption {
127 return managerOptionFunc(func(c *managerOptions) (*managerOptions, error) {

Callers 1

WithConfigFunction · 0.92

Calls 1

managerOptionFuncFuncType · 0.85

Tested by

no test coverage detected