config

package module
v1.0.0-preview.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveServiceBaseEndpoint

func ResolveServiceBaseEndpoint(ctx context.Context, sdkID string, configs []config.Config) (value string, found bool, err error)

ResolveServiceBaseEndpoint is used to retrieve service endpoints from configured sources while allowing for configured endpoints to be disabled.

Types

type ServiceBaseEndpointProvider

type ServiceBaseEndpointProvider interface {
	GetServiceBaseEndpoint(ctx context.Context, sdkID string) (string, bool, error)
}

ServiceBaseEndpointProvider is needed to search for all providers that provide a configured service endpoint.

Jump to

Keyboard shortcuts

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