internal

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package internal contains Dial settings and helpers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DialSettings

type DialSettings struct {
	GRPCConnPoolSize   int
	GRPCConn           *grpc.ClientConn
	RetryOpts          []retry.CallOption
	GRPCDialOpts       []grpc.DialOption
	TLSConfig          *tls.Config
	Insecure           bool
	TokenSource        oauth2.TokenSource
	CredentialsLoaders []config.CredentialsLoader
	Endpoint           string
	//
	UserAgent string
	TraceName string

	TelemetryDisabled bool
	// True if the credential is for configuration service.
	ServiceAccount bool
	// contains filtered or unexported fields
}

DialSettings holds information needed to establish a connection with a service. nolint:govet

func (*DialSettings) Build

Build validates the settings and builds the client configurations.

Jump to

Keyboard shortcuts

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