Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance interface { Address() string GetCollectionStateOrFail(t *testing.T, collection string) []*sink.Object }
Instance is a new mcpserver instance. MCP Server is a generic MCP server implementation for testing purposes.
func NewSink ¶
func NewSink(ctx resource.Context, cfg SinkConfig) (i Instance, err error)
NewSink returns a new instance of MCP Server in Sink mode.
func NewSinkOrFail ¶
NewSinkOrFail returns a new instance of MCP server in Sink mode or fails.
type SinkConfig ¶
type SinkConfig struct {
Collections []string
}
SinkConfig is configuration for the mcpserver for sink mode.
Click to show internal directories.
Click to hide internal directories.