next

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 7

Documentation

Overview

Package next provides a mechanism for chained registry.{Registry,Discovery}{Server,Client}s to call the next element in the chain.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NetworkServiceEndpointRegistryClient

func NetworkServiceEndpointRegistryClient(ctx context.Context) registry.NetworkServiceEndpointRegistryClient

NetworkServiceEndpointRegistryClient -

Returns the NetworkServiceEndpointRegistryClient registry.NetworkServiceEndpointRegistryClientWrapper to be called in the chain from the context.Context

func NetworkServiceEndpointRegistryServer

func NetworkServiceEndpointRegistryServer(ctx context.Context) registry.NetworkServiceEndpointRegistryServer

NetworkServiceEndpointRegistryServer -

Returns the NetworkServiceEndpointRegistryServer registry.NetworkServiceEndpointRegistryServer to be called in the chain from the context.Context

func NetworkServiceRegistryClient

func NetworkServiceRegistryClient(ctx context.Context) registry.NetworkServiceRegistryClient

NetworkServiceRegistryClient -

Returns the NetworkServiceRegistryClient registry.NetworkServiceRegistryClientWrapper to be called in the chain from the context.Context

func NetworkServiceRegistryServer

func NetworkServiceRegistryServer(ctx context.Context) registry.NetworkServiceRegistryServer

NetworkServiceRegistryServer -

Returns the NetworkServiceRegistryServer registry.NetworkServiceRegistryServer to be called in the chain from the context.Context

func NewNetworkServiceEndpointRegistryClient

func NewNetworkServiceEndpointRegistryClient(clients ...registry.NetworkServiceEndpointRegistryClient) registry.NetworkServiceEndpointRegistryClient

NewNetworkServiceEndpointRegistryClient - creates a chain of servers

func NewNetworkServiceEndpointRegistryServer

func NewNetworkServiceEndpointRegistryServer(servers ...registry.NetworkServiceEndpointRegistryServer) registry.NetworkServiceEndpointRegistryServer

NewNetworkServiceEndpointRegistryServer - creates a chain of servers

func NewNetworkServiceRegistryClient

func NewNetworkServiceRegistryClient(clients ...registry.NetworkServiceRegistryClient) registry.NetworkServiceRegistryClient

NewNetworkServiceRegistryClient - creates a chain of servers

func NewNetworkServiceRegistryServer

func NewNetworkServiceRegistryServer(servers ...registry.NetworkServiceRegistryServer) registry.NetworkServiceRegistryServer

NewNetworkServiceRegistryServer - creates a chain of servers

func NewWrappedNetworkServiceEndpointRegistryClient

NewWrappedNetworkServiceEndpointRegistryClient - creates a chain of servers with each one wrapped in wrapper

func NewWrappedNetworkServiceEndpointRegistryServer

NewWrappedNetworkServiceEndpointRegistryServer - creates a chain of servers with each one wrapped in wrapper

func NewWrappedNetworkServiceRegistryClient

NewWrappedNetworkServiceRegistryClient - creates a chain of servers with each one wrapped in wrapper

func NewWrappedNetworkServiceRegistryServer

NewWrappedNetworkServiceRegistryServer - creates a chain of servers with each one wrapped in wrapper

Types

type NetworkServiceEndpointRegistryClientChainer

type NetworkServiceEndpointRegistryClientChainer func(clients ...registry.NetworkServiceEndpointRegistryClient) registry.NetworkServiceEndpointRegistryClient

NetworkServiceEndpointRegistryClientChainer - function that chains registry servers

type NetworkServiceEndpointRegistryClientWrapper

type NetworkServiceEndpointRegistryClientWrapper func(client registry.NetworkServiceEndpointRegistryClient) registry.NetworkServiceEndpointRegistryClient

NetworkServiceEndpointRegistryClientWrapper - function that wraps a registry server

type NetworkServiceEndpointRegistryServerChainer

type NetworkServiceEndpointRegistryServerChainer func(servers ...registry.NetworkServiceEndpointRegistryServer) registry.NetworkServiceEndpointRegistryServer

NetworkServiceEndpointRegistryServerChainer - function that chains registry servers

type NetworkServiceEndpointRegistryServerWrapper

type NetworkServiceEndpointRegistryServerWrapper func(server registry.NetworkServiceEndpointRegistryServer) registry.NetworkServiceEndpointRegistryServer

NetworkServiceEndpointRegistryServerWrapper - function that wraps a registry server

type NetworkServiceRegistryClientChainer

type NetworkServiceRegistryClientChainer func(clients ...registry.NetworkServiceRegistryClient) registry.NetworkServiceRegistryClient

NetworkServiceRegistryClientChainer - function that chains registry servers

type NetworkServiceRegistryClientWrapper

type NetworkServiceRegistryClientWrapper func(client registry.NetworkServiceRegistryClient) registry.NetworkServiceRegistryClient

NetworkServiceRegistryClientWrapper - function that wraps a registry server

type NetworkServiceRegistryServerChainer

type NetworkServiceRegistryServerChainer func(servers ...registry.NetworkServiceRegistryServer) registry.NetworkServiceRegistryServer

NetworkServiceRegistryServerChainer - function that chains registry servers

type NetworkServiceRegistryServerWrapper

type NetworkServiceRegistryServerWrapper func(server registry.NetworkServiceRegistryServer) registry.NetworkServiceRegistryServer

NetworkServiceRegistryServerWrapper - function that wraps a registry server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL