grpc

package
v1.8.0-beta10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2021 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

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

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 (*UpstreamFunctionDiscovery) IsFunctional

func (f *UpstreamFunctionDiscovery) IsFunctional() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL