Documentation ¶
Index ¶
- func GetEvaluatorPluginOptions(opt *EvaluatorPluginOption) (cmd_contrib.LoggerOptioner, cmd_contrib.ServiceOptioner, ...)
- func LoadEvaluatorPluginOption(path string) func() (*EvaluatorPluginOption, error)
- func NewCaller(o *EvaluatorPluginOption, cli_fty *client_helper.ClientFactory, ...) (dsdk.Caller, error)
- func NewDataStorage(o *EvaluatorPluginOption, logger log.FieldLogger) (dssdk.DataStorage, error)
- func NewEvaluatorPluginService(cfg string) (*service.EvaluatorPluginService, error)
- func NewEvaluatorPluginServiceOption(p NewEvaluatorPluginOptionParams) (*service.EvaluatorPluginServiceOption, error)
- func NewFlow(o *EvaluatorPluginOption, cli_fty *client_helper.ClientFactory, ...) (dsdk.Flow, error)
- func NewSimpleStorage(o *EvaluatorPluginOption, cli_fty *client_helper.ClientFactory, ...) (dsdk.SimpleStorage, error)
- func NewTaskStorage(p NewTaskStorageParams) (evaluatord_storage.TaskStorage, error)
- type EvaluatorPluginOption
- type NewEvaluatorPluginOptionParams
- type NewTaskStorageParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEvaluatorPluginOptions ¶
func GetEvaluatorPluginOptions(opt *EvaluatorPluginOption) ( cmd_contrib.LoggerOptioner, cmd_contrib.ServiceOptioner, cmd_contrib.CredentialOptioner, cmd_contrib.ServiceEndpointsOptioner, cmd_contrib.OpentracingOptioner, )
func LoadEvaluatorPluginOption ¶
func LoadEvaluatorPluginOption(path string) func() (*EvaluatorPluginOption, error)
func NewCaller ¶ added in v1.1.27
func NewCaller(o *EvaluatorPluginOption, cli_fty *client_helper.ClientFactory, logger log.FieldLogger) (dsdk.Caller, error)
func NewDataStorage ¶ added in v1.1.26
func NewDataStorage(o *EvaluatorPluginOption, logger log.FieldLogger) (dssdk.DataStorage, error)
func NewEvaluatorPluginService ¶
func NewEvaluatorPluginService(cfg string) (*service.EvaluatorPluginService, error)
func NewEvaluatorPluginServiceOption ¶
func NewEvaluatorPluginServiceOption(p NewEvaluatorPluginOptionParams) (*service.EvaluatorPluginServiceOption, error)
func NewFlow ¶ added in v1.2.3
func NewFlow(o *EvaluatorPluginOption, cli_fty *client_helper.ClientFactory, logger log.FieldLogger) (dsdk.Flow, error)
func NewSimpleStorage ¶ added in v1.1.26
func NewSimpleStorage(o *EvaluatorPluginOption, cli_fty *client_helper.ClientFactory, logger log.FieldLogger) (dsdk.SimpleStorage, error)
func NewTaskStorage ¶ added in v1.1.28
func NewTaskStorage(p NewTaskStorageParams) (evaluatord_storage.TaskStorage, error)
Types ¶
type EvaluatorPluginOption ¶
type EvaluatorPluginOption struct { cmd_contrib.ServiceBaseOption `mapstructure:",squash"` Evaluator struct { Endpoint string } Server struct { Name string } DataStorage map[string]interface{} SimpleStorage map[string]interface{} Flow map[string]interface{} TaskStorage map[string]interface{} Callback map[string]interface{} Caller map[string]interface{} SmsSender map[string]interface{} }
func NewEvaluatorPluginOption ¶
func NewEvaluatorPluginOption() *EvaluatorPluginOption
type NewEvaluatorPluginOptionParams ¶ added in v1.1.28
type NewEvaluatorPluginOptionParams struct { fx.In Tracer opentracing.Tracer `name:"opentracing_tracer"` Option *EvaluatorPluginOption }
type NewTaskStorageParams ¶ added in v1.1.28
type NewTaskStorageParams struct { fx.In Option *EvaluatorPluginOption Logger log.FieldLogger Tracer opentracing.Tracer `name:"opentracing_tracer" optional:"true"` }
Click to show internal directories.
Click to hide internal directories.