client

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInterface added in v1.20.0

type ClientInterface interface {
	GetServiceForFunction(ctx context.Context, fn *fv1.Function) (string, error)
	TapService(fnMeta metav1.ObjectMeta, executorType fv1.ExecutorType, serviceURL url.URL)
	UnTapService(ctx context.Context, fnMeta metav1.ObjectMeta, executorType fv1.ExecutorType, serviceURL *url.URL) error
}

ClientInterface is the interface for executor client.

func MakeClient

func MakeClient(logger *zap.Logger, executorURL string) ClientInterface

MakeClient initializes and returns a Client instance.

type TapServiceRequest added in v1.7.0

type TapServiceRequest struct {
	FnMetadata     metav1.ObjectMeta
	FnExecutorType fv1.ExecutorType
	ServiceURL     string
}

TapServiceRequest represents

Jump to

Keyboard shortcuts

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