Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SubaccountKey is used as URL parameter SubaccountKey = "subaccount_id" // LocationHeaderKey is used in the async API calls LocationHeaderKey = "Location" // LabelsQueryKey is used as URL parameter for Service Manager label querying LabelsQueryKey = "labelQuery" )
Variables ¶
This section is empty.
Functions ¶
func NewCallerProvider ¶
func NewCallerProvider() *callerProvider
NewCallerProvider creates new callerProvider
func NewClient ¶
func NewClient(cfg config.Config, callerProvider ExternalSvcCallerProvider) *client
NewClient creates a new client
Types ¶
type ExternalSvcCaller ¶
ExternalSvcCaller is used to call external services with given authentication
type ExternalSvcCallerProvider ¶
type ExternalSvcCallerProvider interface {
GetCaller(cfg config.Config, region string) (ExternalSvcCaller, error)
}
ExternalSvcCallerProvider provides ExternalSvcCaller based on the provided config and region
Click to show internal directories.
Click to hide internal directories.