client

package
v0.0.0-...-e2f6afb Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerCallClient

type ControllerCallClient struct {
	// contains filtered or unexported fields
}

func NewControllerCallClient

func NewControllerCallClient(controllerClient controller.ControllerInterface,
	funcletClient client.FuncletInterface,
	opt *options.ControllerOptions) *ControllerCallClient

func (*ControllerCallClient) Invoke

func (mc *ControllerCallClient) Invoke(ir *api.InvokeRequest) (response *api.InvokeResponse, err error)

type ControllerClient

type ControllerClient struct {
	// contains filtered or unexported fields
}

func NewControllerClient

func NewControllerClient(runOptions *ControllerClientOptions) (c *ControllerClient, err error)

func (*ControllerClient) Invoke

func (c *ControllerClient) Invoke(ir *api.InvokeRequest) (response *api.InvokeResponse, err error)

type ControllerClientInterface

type ControllerClientInterface interface {
	Invoke(ir *api.InvokeRequest) (response *api.InvokeResponse, err error)
}

type ControllerClientOptions

type ControllerClientOptions struct {
	Host string
}

func NewControllerClientOptions

func NewControllerClientOptions() *ControllerClientOptions

func (*ControllerClientOptions) AddFlags

func (o *ControllerClientOptions) AddFlags(fs *pflag.FlagSet)

type InvaildConfigError

type InvaildConfigError struct {
	Reason string
}

func (InvaildConfigError) Error

func (e InvaildConfigError) Error() string

Jump to

Keyboard shortcuts

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