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 ¶
func (ds *DialSettings) Build(ctx context.Context) ([]grpc.DialOption, *config.CredentialsConfig, error)
Build validates the settings and builds the client configurations.
Click to show internal directories.
Click to hide internal directories.