resolver

package
v1.6.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package resolver implements gRPC resolvers.

Index

Constants

View Source
const RoundRobinResolverScheme = "talosroundrobin"

RoundRobinResolverScheme is a scheme to use in grpc.Dial for the round-robin gRPC resolver. This resolver requires that all endpoints have a port appended. To ensure this, use EnsureEndpointsHavePorts before constructing a connection string.

Variables

This section is empty.

Functions

func EnsureEndpointsHavePorts

func EnsureEndpointsHavePorts(endpoints []string, defaultPort int) []string

EnsureEndpointsHavePorts returns the list of endpoints with default port appended to those addresses that don't have a port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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