Documentation ¶
Overview ¶
Provides interfaces and adapters for the NodeResolver service
Generated code. Do not modify by hand.
Index ¶
Constants ¶
View Source
const (
Type = "NodeResolver"
)
Variables ¶
View Source
var PluginClient catalog.PluginClient = pluginClient{}
PluginClient is a catalog PluginClient implementation for the NodeResolver plugin.
Functions ¶
func PluginServer ¶
func PluginServer(server NodeResolverServer) catalog.PluginServer
PluginServer returns a catalog PluginServer implementation for the NodeResolver plugin.
Types ¶
type NodeResolver ¶
type NodeResolver interface {
Resolve(context.Context, *ResolveRequest) (*ResolveResponse, error)
}
NodeResolver is the client interface for the service type NodeResolver interface.
func AdaptPluginClient ¶
func AdaptPluginClient(client NodeResolverClient) NodeResolver
type NodeResolverClient ¶
type NodeResolverClient = noderesolver.NodeResolverClient //nolint: golint
type NodeResolverServer ¶
type NodeResolverServer = noderesolver.NodeResolverServer //nolint: golint
type Plugin ¶
type Plugin interface { Configure(context.Context, *spi.ConfigureRequest) (*spi.ConfigureResponse, error) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error) Resolve(context.Context, *ResolveRequest) (*ResolveResponse, error) }
Plugin is the client interface for the service with the plugin related methods used by the catalog to initialize the plugin.
type ResolveRequest ¶
type ResolveRequest = noderesolver.ResolveRequest //nolint: golint
type ResolveResponse ¶
type ResolveResponse = noderesolver.ResolveResponse //nolint: golint
type UnimplementedNodeResolverServer ¶
type UnimplementedNodeResolverServer = noderesolver.UnimplementedNodeResolverServer //nolint: golint
type UnsafeNodeResolverServer ¶ added in v0.12.0
type UnsafeNodeResolverServer = noderesolver.UnsafeNodeResolverServer //nolint: golint
Click to show internal directories.
Click to hide internal directories.