Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFunctionDiscoveryFactory ¶ added in v1.9.25
func NewFunctionDiscoveryFactory() fds.FunctionDiscoveryFactory
Types ¶
type SwaggerFunctionDiscovery ¶
type SwaggerFunctionDiscovery struct {
// contains filtered or unexported fields
}
func (*SwaggerFunctionDiscovery) DetectFunctions ¶
func (f *SwaggerFunctionDiscovery) DetectFunctions(ctx context.Context, _ *url.URL, _ func() fds.Dependencies, updatecb func(fds.UpstreamMutator) error) error
func (*SwaggerFunctionDiscovery) DetectType ¶
func (f *SwaggerFunctionDiscovery) DetectType(ctx context.Context, baseurl *url.URL) (*plugins.ServiceSpec, error)
func (*SwaggerFunctionDiscovery) IsFunctional ¶
func (f *SwaggerFunctionDiscovery) IsFunctional() bool
type SwaggerFunctionDiscoveryFactory ¶
type SwaggerFunctionDiscoveryFactory struct { DetectionTimeout time.Duration FunctionPollTime time.Duration SwaggerUrisToTry []string GraphqlClient v1alpha1.GraphQLSchemaClient }
func (*SwaggerFunctionDiscoveryFactory) NewFunctionDiscovery ¶
func (f *SwaggerFunctionDiscoveryFactory) NewFunctionDiscovery(u *v1.Upstream, _ fds.AdditionalClients) fds.UpstreamFunctionDiscovery
Click to show internal directories.
Click to hide internal directories.