client

package
v0.0.0-...-d691e2b Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultFuncletApiSocket = "/var/run/faas/.funcletapi.sock"

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncletClient

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

FuncletClient is used to comm with funclet

func (*FuncletClient) CoolDown

func (f *FuncletClient) CoolDown(input *api.FuncletClientCoolDownInput) (out *api.ResetResponse, err error)

func (*FuncletClient) IDEWarmUp

func (f *FuncletClient) IDEWarmUp(input *api.FuncletClientWarmUpInput) (out *api.WarmUpResponse, err error)

func (*FuncletClient) Info

func (*FuncletClient) List

func (*FuncletClient) NodeInfo

func (f *FuncletClient) NodeInfo(input *api.FuncletClientListNodeInput) (out *api.FuncletNodeInfo, err error)

func (*FuncletClient) Reborn

func (f *FuncletClient) Reborn(input *api.FuncletClientRebornInput) (out *api.ResetResponse, err error)

func (*FuncletClient) WarmUp

func (f *FuncletClient) WarmUp(input *api.FuncletClientWarmUpInput) (out *api.WarmUpResponse, err error)

type FuncletClientOptions

type FuncletClientOptions struct {
	ApiSock string
}

func NewFuncletClientOptions

func NewFuncletClientOptions() *FuncletClientOptions

func (*FuncletClientOptions) AddFuncletClientFlags

func (o *FuncletClientOptions) AddFuncletClientFlags(fs *pflag.FlagSet)

AddFunctionCacheFlags xxx

Jump to

Keyboard shortcuts

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