istio: Index | Files

package mcpserver

import ""


Package Files

mcpserver.go native.go

type Instance Uses

type Instance interface {
    Address() string
    GetCollectionStateOrFail(t test.Failer, collection string) []*sink.Object

Instance is a new mcpserver instance. MCP Server is a generic MCP server implementation for testing purposes.

func NewSink Uses

func NewSink(ctx resource.Context, cfg SinkConfig) (i Instance, err error)

NewSink returns a new instance of MCP Server in Sink mode.

func NewSinkOrFail Uses

func NewSinkOrFail(t test.Failer, c resource.Context, cfg SinkConfig) Instance

NewSinkOrFail returns a new instance of MCP server in Sink mode or fails.

type SinkConfig Uses

type SinkConfig struct {
    Collections []string

SinkConfig is configuration for the mcpserver for sink mode.

Package mcpserver imports 13 packages (graph). Updated 2019-06-12. Refresh now. Tools for package owners.