Documentation
¶
Index ¶
- type Client
- func (c *Client) GetServiceForFunction(ctx context.Context, fn *fv1.Function) (string, error)
- func (c *Client) TapService(fnMeta metav1.ObjectMeta, executorType fv1.ExecutorType, serviceURL *url.URL)
- func (c *Client) UnTapService(ctx context.Context, fnMeta metav1.ObjectMeta, executorType fv1.ExecutorType, ...) error
- type TapServiceRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is wrapper on a HTTP client.
func MakeClient ¶
MakeClient initializes and returns a Client instance.
func (*Client) GetServiceForFunction ¶
GetServiceForFunction returns the service name for a given function.
func (*Client) TapService ¶
func (c *Client) TapService(fnMeta metav1.ObjectMeta, executorType fv1.ExecutorType, serviceURL *url.URL)
TapService sends a TapServiceRequest over the request channel.
func (*Client) UnTapService ¶ added in v1.11.0
func (c *Client) UnTapService(ctx context.Context, fnMeta metav1.ObjectMeta, executorType fv1.ExecutorType, serviceURL *url.URL) error
UnTapService sends a request to /v2/unTapService.
type TapServiceRequest ¶ added in v1.7.0
type TapServiceRequest struct { FnMetadata metav1.ObjectMeta FnExecutorType fv1.ExecutorType ServiceURL string }
TapServiceRequest represents
Click to show internal directories.
Click to hide internal directories.