Documentation ¶
Index ¶
- func NewODataSource(ctx context.Context, _ backend.DataSourceInstanceSettings) (instancemgmt.Instance, error)
- func TimeRangeToFilter(timeRange backend.TimeRange, timeProperty *property) []filterCondition
- type DatasourceSettings
- type ODataClient
- type ODataClientImpl
- type ODataSource
- func (ds *ODataSource) CallResource(ctx context.Context, req *backend.CallResourceRequest, ...) error
- func (ds *ODataSource) CheckHealth(ctx context.Context, req *backend.CheckHealthRequest) (*backend.CheckHealthResult, error)
- func (ds *ODataSource) QueryData(ctx context.Context, req *backend.QueryDataRequest) (*backend.QueryDataResponse, error)
- type ODataSourceInstance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewODataSource ¶
func NewODataSource(ctx context.Context, _ backend.DataSourceInstanceSettings) (instancemgmt.Instance, error)
func TimeRangeToFilter ¶ added in v1.1.0
Types ¶
type DatasourceSettings ¶ added in v1.1.0
type DatasourceSettings struct {
URLSpaceEncoding string `json:"urlSpaceEncoding"`
}
type ODataClient ¶
type ODataClientImpl ¶
type ODataClientImpl struct {
// contains filtered or unexported fields
}
func (*ODataClientImpl) Get ¶
func (client *ODataClientImpl) Get(entitySet string, properties []property, filterConditions []filterCondition) (*http.Response, error)
func (*ODataClientImpl) GetMetadata ¶
func (client *ODataClientImpl) GetMetadata() (*http.Response, error)
func (*ODataClientImpl) GetServiceRoot ¶
func (client *ODataClientImpl) GetServiceRoot() (*http.Response, error)
type ODataSource ¶
type ODataSource struct {
// contains filtered or unexported fields
}
func (*ODataSource) CallResource ¶
func (ds *ODataSource) CallResource(ctx context.Context, req *backend.CallResourceRequest, sender backend.CallResourceResponseSender) error
func (*ODataSource) CheckHealth ¶
func (ds *ODataSource) CheckHealth(ctx context.Context, req *backend.CheckHealthRequest) (*backend.CheckHealthResult, error)
func (*ODataSource) QueryData ¶
func (ds *ODataSource) QueryData(ctx context.Context, req *backend.QueryDataRequest) (*backend.QueryDataResponse, error)
type ODataSourceInstance ¶
type ODataSourceInstance struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.