proxydns

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 14 Imported by: 3

Documentation

Overview

Package proxydns provides default chain for stateless proxy registries based on DNS

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(ctx context.Context, tokenGenerator token.GeneratorFunc, dnsResolver dnsresolve.Resolver, options ...Option) registry.Registry

NewServer creates new stateless registry server that proxies queries to the second registries by DNS domains

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

Jump to

Keyboard shortcuts

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