Documentation ¶
Index ¶
- func ApplyAWSAuth(httpClient *http.Client, settings models.InfinitySettings) *http.Client
- func ApplyAcceptHeader(query models.Query, settings models.InfinitySettings, req *http.Request, ...) *http.Request
- func ApplyApiKeyAuth(settings models.InfinitySettings, req *http.Request, includeSect bool) *http.Request
- func ApplyBasicAuth(settings models.InfinitySettings, req *http.Request, includeSect bool) *http.Request
- func ApplyBearerToken(settings models.InfinitySettings, req *http.Request, includeSect bool) *http.Request
- func ApplyContentTypeHeader(query models.Query, settings models.InfinitySettings, req *http.Request, ...) *http.Request
- func ApplyDigestAuth(httpClient *http.Client, settings models.InfinitySettings) *http.Client
- func ApplyFilter(frame *data.Frame, filterExpression string) (*data.Frame, error)
- func ApplyForwardedOAuthIdentity(requestHeaders map[string]string, settings models.InfinitySettings, ...) *http.Request
- func ApplyHeadersFromQuery(query models.Query, settings models.InfinitySettings, req *http.Request, ...) *http.Request
- func ApplyHeadersFromSettings(settings models.InfinitySettings, req *http.Request, includeSect bool) *http.Request
- func ApplyOAuthClientCredentials(httpClient *http.Client, settings models.InfinitySettings) *http.Client
- func ApplyOAuthJWT(httpClient *http.Client, settings models.InfinitySettings) *http.Client
- func CanAllowURL(url string, allowedHosts []string) bool
- func CanParseAsJSON(queryType models.QueryType, responseHeaders http.Header) bool
- func GetCSVBackendResponse(responseString string, query models.Query) (*data.Frame, error)
- func GetDummyFrame(query models.Query) *data.Frame
- func GetFrameForInlineSources(query models.Query) (*data.Frame, error)
- func GetFrameForURLSources(ctx context.Context, query models.Query, infClient Client, ...) (*data.Frame, error)
- func GetFrameWithComputedColumns(frame *data.Frame, columns []models.InfinityColumn) (*data.Frame, error)
- func GetGoogleSheetsResponse(urlResponseObject any, query models.Query) (*data.Frame, error)
- func GetJSONBackendResponse(urlResponseObject any, query models.Query) (*data.Frame, error)
- func GetQueryBody(query models.Query) io.Reader
- func GetQueryURL(settings models.InfinitySettings, query models.Query, includeSect bool) (string, error)
- func GetRequest(settings models.InfinitySettings, body io.Reader, query models.Query, ...) (req *http.Request, err error)
- func GetSummarizeByFrame(frame *data.Frame, expression, by string) (*data.Frame, error)
- func GetSummaryFrame(frame *data.Frame, expression string, by string) (*data.Frame, error)
- func GetTLSConfigFromSettings(settings models.InfinitySettings) (*tls.Config, error)
- func GetXMLBackendResponse(inputString string, query models.Query) (*data.Frame, error)
- func NormalizeURL(u string) string
- func UpdateQueryWithReferenceData(ctx context.Context, query models.Query, settings models.InfinitySettings) (models.Query, error)
- func WrapMetaForInlineQuery(frame *data.Frame, err error, query models.Query) (*data.Frame, error)
- func WrapMetaForRemoteQuery(ctx context.Context, frame *data.Frame, err error, query models.Query) (*data.Frame, error)
- type CellData
- type Client
- type CustomMeta
- type GridData
- type RowData
- type Sheet
- type Spreadsheet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyAWSAuth ¶ added in v1.3.0
func ApplyAcceptHeader ¶ added in v1.0.0
func ApplyApiKeyAuth ¶ added in v0.8.4
func ApplyBasicAuth ¶ added in v0.8.4
func ApplyBearerToken ¶ added in v0.8.4
func ApplyContentTypeHeader ¶ added in v1.0.0
func ApplyDigestAuth ¶ added in v1.0.0
func ApplyFilter ¶ added in v1.1.0
func ApplyForwardedOAuthIdentity ¶ added in v0.8.4
func ApplyHeadersFromQuery ¶ added in v1.0.0
func ApplyHeadersFromSettings ¶ added in v1.0.0
func ApplyOAuthClientCredentials ¶ added in v0.8.4
func ApplyOAuthJWT ¶ added in v0.8.4
func CanAllowURL ¶ added in v0.8.4
func CanParseAsJSON ¶ added in v0.8.8
func GetCSVBackendResponse ¶ added in v1.1.0
func GetFrameForInlineSources ¶ added in v1.0.0
func GetFrameForURLSources ¶ added in v1.0.0
func GetFrameWithComputedColumns ¶ added in v1.1.0
func GetGoogleSheetsResponse ¶ added in v1.1.0
func GetJSONBackendResponse ¶ added in v1.0.0
func GetQueryURL ¶
func GetRequest ¶ added in v0.8.4
func GetSummarizeByFrame ¶ added in v1.1.0
func GetSummaryFrame ¶ added in v1.1.0
func GetTLSConfigFromSettings ¶
func GetTLSConfigFromSettings(settings models.InfinitySettings) (*tls.Config, error)
func GetXMLBackendResponse ¶ added in v1.2.0
func NormalizeURL ¶ added in v1.2.0
func UpdateQueryWithReferenceData ¶ added in v1.2.0
func WrapMetaForInlineQuery ¶ added in v1.1.0
Types ¶
type Client ¶
type Client struct { Settings models.InfinitySettings HttpClient *http.Client IsMock bool }
func (*Client) GetExecutedURL ¶ added in v0.8.4
type CustomMeta ¶ added in v1.0.0
type Spreadsheet ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.