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