Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Type name for rpc trigger
Type = "eventgateway"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct { *operators.BaseOperator // configured TappingInterval time.Duration // shared by concrete funcinst FuncinstLister rflistersv1.FuncinstLister // contains filtered or unexported fields }
Operator creates http based rpc trigger automatically for every funcs
func NewOperator ¶
func NewOperator( cfg *rest.Config, rclient refunc.Interface, rfInformers informers.SharedInformerFactory, handler transport.OperatorHandler, creds credsyncer.Provider, ) (*Operator, error)
NewOperator creates a new rpc trigger operator
func (*Operator) GetFuncInstance ¶
GetFuncInstance returns or creates a refunc instance from trigger
Click to show internal directories.
Click to hide internal directories.