Package: endpoint-discovery

import "../ibm-cos-sdk-go-v2/service/internal/endpoint-discovery"

Type Summary collapse

Type Details

DiscoverEndpoint struct

DiscoverEndpoint is a finalize step middleware used to discover endpoint for an API operation.

Structure Fields:

Options []func(*DiscoverEndpointOptions)

Options provides optional settings used with Discover Endpoint operation.

EndpointDiscoveryEnableState aws.EndpointDiscoveryEnableState

EndpointDiscoveryEnableState represents the customer configuration for endpoint discovery feature.

EndpointDiscoveryRequired bool

EndpointDiscoveryRequired states if an operation requires to perform endpoint discovery.

Region string

The client region

DiscoverEndpointOptions struct

DiscoverEndpointOptions are optionals used with DiscoverEndpoint operation.

Structure Fields:

EndpointResolverUsedForDiscovery interface{}

EndpointResolverUsedForDiscovery is the endpoint resolver used to resolve an endpoint for discovery api call.

DisableHTTPS bool

DisableHTTPS will disable tls for endpoint discovery call and subsequent discovered endpoint if service did not return an endpoint scheme.

Logger logging.Logger

Logger to log warnings or debug statements.