Documentation ¶
Overview ¶
Package proxydns provides default chain for stateless proxy registries based on DNS
Index ¶
- func NewServer(ctx context.Context, tokenGenerator token.GeneratorFunc, ...) registry.Registry
- type Option
- func WithAuthorizeNSERegistryClient(authorizeNSERegistryClient registryapi.NetworkServiceEndpointRegistryClient) Option
- func WithAuthorizeNSERegistryServer(authorizeNSERegistryServer registryapi.NetworkServiceEndpointRegistryServer) Option
- func WithAuthorizeNSRegistryClient(authorizeNSRegistryClient registryapi.NetworkServiceRegistryClient) Option
- func WithAuthorizeNSRegistryServer(authorizeNSRegistryServer registryapi.NetworkServiceRegistryServer) Option
- func WithDialOptions(dialOptions ...grpc.DialOption) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v1.7.0
type Option func(o *serverOptions)
Option modifies server option value
func WithAuthorizeNSERegistryClient ¶ added in v1.7.0
func WithAuthorizeNSERegistryClient(authorizeNSERegistryClient registryapi.NetworkServiceEndpointRegistryClient) Option
WithAuthorizeNSERegistryClient sets authorization NetworkServiceEndpointRegistry chain element
func WithAuthorizeNSERegistryServer ¶ added in v1.7.0
func WithAuthorizeNSERegistryServer(authorizeNSERegistryServer registryapi.NetworkServiceEndpointRegistryServer) Option
WithAuthorizeNSERegistryServer sets authorization NetworkServiceEndpointRegistry chain element
func WithAuthorizeNSRegistryClient ¶ added in v1.7.0
func WithAuthorizeNSRegistryClient(authorizeNSRegistryClient registryapi.NetworkServiceRegistryClient) Option
WithAuthorizeNSRegistryClient sets authorization NetworkServiceRegistry chain element
func WithAuthorizeNSRegistryServer ¶ added in v1.7.0
func WithAuthorizeNSRegistryServer(authorizeNSRegistryServer registryapi.NetworkServiceRegistryServer) Option
WithAuthorizeNSRegistryServer sets authorization NetworkServiceRegistry chain element
func WithDialOptions ¶ added in v1.7.0
func WithDialOptions(dialOptions ...grpc.DialOption) Option
WithDialOptions sets grpc.DialOptions for the server
Click to show internal directories.
Click to hide internal directories.