internal

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 17 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 {
	GRPCConn           *grpc.ClientConn
	RetryOpts          []retry.CallOption
	GRPCDialOpts       []grpc.DialOption
	TLSConfig          *tls.Config
	TokenSource        oauth2.TokenSource
	CredentialsLoaders []config.CredentialsLoader
	Endpoint           string
	//
	UserAgent        string
	TraceName        string
	GRPCConnPoolSize int
	Insecure         bool

	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.

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