Documentation ¶
Index ¶
- type FunctionDiscoveryFactory
- type UpstreamFunctionDiscovery
- func (f *UpstreamFunctionDiscovery) DetectFunctions(ctx context.Context, url *url.URL, _ func() fds.Dependencies, ...) error
- func (f *UpstreamFunctionDiscovery) DetectFunctionsOnce(ctx context.Context, url *url.URL, updatecb func(fds.UpstreamMutator) error) error
- func (f *UpstreamFunctionDiscovery) DetectType(ctx context.Context, url *url.URL) (*plugins.ServiceSpec, error)
- func (f *UpstreamFunctionDiscovery) IsFunctional() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionDiscoveryFactory ¶
type FunctionDiscoveryFactory struct { // TODO: yuval-k: integrate backoff stuff here DetectionTimeout time.Duration DetectionRetryBase time.Duration FunctionPollTime time.Duration // TODO: move over to ArtifactClient Artifacts v1.ArtifactClient }
ilackarms: this is the root object
func (*FunctionDiscoveryFactory) NewFunctionDiscovery ¶
func (f *FunctionDiscoveryFactory) NewFunctionDiscovery(u *v1.Upstream) fds.UpstreamFunctionDiscovery
type UpstreamFunctionDiscovery ¶
type UpstreamFunctionDiscovery struct {
// contains filtered or unexported fields
}
func (*UpstreamFunctionDiscovery) DetectFunctions ¶
func (f *UpstreamFunctionDiscovery) DetectFunctions(ctx context.Context, url *url.URL, _ func() fds.Dependencies, updatecb func(fds.UpstreamMutator) error) error
func (*UpstreamFunctionDiscovery) DetectFunctionsOnce ¶
func (f *UpstreamFunctionDiscovery) DetectFunctionsOnce(ctx context.Context, url *url.URL, updatecb func(fds.UpstreamMutator) error) error
func (*UpstreamFunctionDiscovery) DetectType ¶
func (f *UpstreamFunctionDiscovery) DetectType(ctx context.Context, url *url.URL) (*plugins.ServiceSpec, error)
func (*UpstreamFunctionDiscovery) IsFunctional ¶
func (f *UpstreamFunctionDiscovery) IsFunctional() bool
Click to show internal directories.
Click to hide internal directories.