Documentation ¶
Index ¶
- func NewRuntimeURLsMiddleware(gatewayBaseURL, lookupConfigPath string, ...) *runtimeURLsMiddleware
- func NewTokenResolverMiddleware(tokenManager tokens.Manager, extenderConstructor ExtenderConstructor) *tokenResolverMiddleware
- type ExtenderConstructor
- type GraphQLLookupService
- type Headers
- type LookUpConfig
- type LookupService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRuntimeURLsMiddleware ¶
func NewRuntimeURLsMiddleware(gatewayBaseURL, lookupConfigPath string, lookupEnabled clientcontext.LookupEnabledType, extractor clientcontext.ApplicationContextExtractor, lookupService LookupService) *runtimeURLsMiddleware
func NewTokenResolverMiddleware ¶
func NewTokenResolverMiddleware(tokenManager tokens.Manager, extenderConstructor ExtenderConstructor) *tokenResolverMiddleware
Types ¶
type ExtenderConstructor ¶
type ExtenderConstructor func() clientcontext.ContextExtender
type GraphQLLookupService ¶
type GraphQLLookupService struct{}
func NewGraphQLLookupService ¶
func NewGraphQLLookupService() *GraphQLLookupService
func (*GraphQLLookupService) Fetch ¶
func (ls *GraphQLLookupService) Fetch(context clientcontext.ApplicationContext, configFilePath string) (string, error)
type LookUpConfig ¶
type LookupService ¶
type LookupService interface {
Fetch(context clientcontext.ApplicationContext, configFilePath string) (string, error)
}
Click to show internal directories.
Click to hide internal directories.