internal

package
v0.0.0-...-a1bc676 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

README

Package cloudeng.io/glean/crawlindex/internal

import cloudeng.io/glean/crawlindex/internal

Functions

Func NewClient
func NewClient(ctx context.Context, domain string, token *apitokens.T) (context.Context, *gleanclientsdk.APIClient)
Func NewIndexingClient
func NewIndexingClient(ctx context.Context, domain string, token *apitokens.T) (context.Context, *gleansdk.APIClient)
Func ParseGleanError
func ParseGleanError(r *http.Response, err error) error

ParseGleanError parses the error returned by the glean API and returns a more useful error message.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context, domain string, token *apitokens.T) (context.Context, *gleanclientsdk.APIClient)

func NewIndexingClient

func NewIndexingClient(ctx context.Context, domain string, token *apitokens.T) (context.Context, *gleansdk.APIClient)

func ParseGleanError

func ParseGleanError(r *http.Response, err error) error

ParseGleanError parses the error returned by the glean API and returns a more useful error message.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL