Documentation ¶
Overview ¶
Package next provides a mechanism for chained registry.{Registry,Discovery}{Server,Client}s to call the next element in the chain.
Index ¶
- func NetworkServiceEndpointRegistryClient(ctx context.Context) registry.NetworkServiceEndpointRegistryClient
- func NetworkServiceEndpointRegistryServer(ctx context.Context) registry.NetworkServiceEndpointRegistryServer
- func NetworkServiceRegistryClient(ctx context.Context) registry.NetworkServiceRegistryClient
- func NetworkServiceRegistryServer(ctx context.Context) registry.NetworkServiceRegistryServer
- func NewNetworkServiceEndpointRegistryClient(clients ...registry.NetworkServiceEndpointRegistryClient) registry.NetworkServiceEndpointRegistryClient
- func NewNetworkServiceEndpointRegistryServer(servers ...registry.NetworkServiceEndpointRegistryServer) registry.NetworkServiceEndpointRegistryServer
- func NewNetworkServiceRegistryClient(clients ...registry.NetworkServiceRegistryClient) registry.NetworkServiceRegistryClient
- func NewNetworkServiceRegistryServer(servers ...registry.NetworkServiceRegistryServer) registry.NetworkServiceRegistryServer
- func NewWrappedNetworkServiceEndpointRegistryClient(wrapper NetworkServiceEndpointRegistryClientWrapper, ...) registry.NetworkServiceEndpointRegistryClient
- func NewWrappedNetworkServiceEndpointRegistryServer(wrapper NetworkServiceEndpointRegistryServerWrapper, ...) registry.NetworkServiceEndpointRegistryServer
- func NewWrappedNetworkServiceRegistryClient(wrapper NetworkServiceRegistryClientWrapper, ...) registry.NetworkServiceRegistryClient
- func NewWrappedNetworkServiceRegistryServer(wrapper NetworkServiceRegistryServerWrapper, ...) registry.NetworkServiceRegistryServer
- type NetworkServiceEndpointRegistryClientChainer
- type NetworkServiceEndpointRegistryClientWrapper
- type NetworkServiceEndpointRegistryServerChainer
- type NetworkServiceEndpointRegistryServerWrapper
- type NetworkServiceRegistryClientChainer
- type NetworkServiceRegistryClientWrapper
- type NetworkServiceRegistryServerChainer
- type NetworkServiceRegistryServerWrapper
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 ¶
func NewWrappedNetworkServiceEndpointRegistryClient(wrapper NetworkServiceEndpointRegistryClientWrapper, clients ...registry.NetworkServiceEndpointRegistryClient) registry.NetworkServiceEndpointRegistryClient
NewWrappedNetworkServiceEndpointRegistryClient - creates a chain of servers with each one wrapped in wrapper
func NewWrappedNetworkServiceEndpointRegistryServer ¶
func NewWrappedNetworkServiceEndpointRegistryServer(wrapper NetworkServiceEndpointRegistryServerWrapper, servers ...registry.NetworkServiceEndpointRegistryServer) registry.NetworkServiceEndpointRegistryServer
NewWrappedNetworkServiceEndpointRegistryServer - creates a chain of servers with each one wrapped in wrapper
func NewWrappedNetworkServiceRegistryClient ¶
func NewWrappedNetworkServiceRegistryClient(wrapper NetworkServiceRegistryClientWrapper, clients ...registry.NetworkServiceRegistryClient) registry.NetworkServiceRegistryClient
NewWrappedNetworkServiceRegistryClient - creates a chain of servers with each one wrapped in wrapper
func NewWrappedNetworkServiceRegistryServer ¶
func NewWrappedNetworkServiceRegistryServer(wrapper NetworkServiceRegistryServerWrapper, servers ...registry.NetworkServiceRegistryServer) registry.NetworkServiceRegistryServer
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