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

Function NewFSReconcile

fs/runtime/grpc/grpc_func.go:70–78  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

68}
69
70func NewFSReconcile(ctx context.Context) *FSSReconcileServer {
71 return &FSSReconcileServer{
72 ctx: ctx,
73 readyCh: make(chan struct{}),
74 reconcile: make(chan *proto.FunctionStatus, 100),
75 functions: make(map[string]*FuncRuntime),
76 log: slog.With(slog.String("component", "grpc-reconcile-server")),
77 }
78}
79
80func (s *FSSReconcileServer) WaitForReady() <-chan struct{} {
81 return s.readyCh

Callers 1

TestFMWithGRPCRuntimeFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by 1

TestFMWithGRPCRuntimeFunction · 0.68