Documentation
¶
Index ¶
Constants ¶
View Source
const ModelsDataSourceType = "models-data-source"
Variables ¶
This section is empty.
Functions ¶
func ModelDataSourceFactory ¶
func ModelDataSourceFactory(name string, parameters *json.Decoder, _ plugin.Handle) (plugin.Plugin, error)
ModelDataSourceFactory is a factory function used to instantiate data layer's models data source plugins specified in a configuration.
func NewHTTPModelsDataSource ¶
func NewHTTPModelsDataSource(scheme, path, name string) (*http.HTTPDataSource[*extmodels.ModelResponse], error)
NewHTTPModelsDataSource constructs a ModelsDataSource with the given scheme and path. InsecureSkipVerify defaults to true (matching the factory default). Use this function directly in tests to bypass JSON parameter marshaling.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.