resolver

package
v3.0.0-...-eac99ac Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Schema = "etcd-endpoints"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdManualResolver

type EtcdManualResolver struct {
	*manual.Resolver
	// contains filtered or unexported fields
}

EtcdManualResolver is a Resolver (and resolver.Builder) that can be updated using SetEndpoints.

func New

func New(endpoints ...string) *EtcdManualResolver

func (*EtcdManualResolver) Build

Build returns itself for Resolver, because it's both a builder and a resolver.

func (*EtcdManualResolver) SetEndpoints

func (r *EtcdManualResolver) SetEndpoints(endpoints []string)

Jump to

Keyboard shortcuts

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