crawlindex

package module
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: 1 Imported by: 1

README

Package cloudeng.io/glean/crawlindex

import cloudeng.io/glean/crawlindex

Types

Type Auth
type Auth []struct {
	Domain string `yaml:"domain" cmd:"domain name of the glean instance"`
	Auth   struct {
		BearerToken       string `yaml:"indexing_token" cmd:"indexing token for the glean instance"`
		ClientBearerToken string `yaml:"client_token" cmd:"client bearer token for the glean instance"`
	}
}
Methods
func (a Auth) TokensForDomain(domain string) (indexingToken, clientToken *apitokens.T)
Type AuthFileFlag
type AuthFileFlag struct {
	AuthFile string `subcmd:"glean-auth,$HOME/.glean-auth.yaml,'file containing authentication tokens for glean instances'"`
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth []struct {
	Name string `yaml:"name" cmd:"name of the glean token instance"`
	Auth struct {
		BearerToken       string `yaml:"indexing_token" cmd:"indexing token for the glean instance"`
		ClientBearerToken string `yaml:"client_token" cmd:"client bearer token for the glean instance"`
	}
}

func (Auth) TokensForName

func (a Auth) TokensForName(name, domain string) (indexingToken, clientToken *apitokens.T)

type AuthFileFlag

type AuthFileFlag struct {
	AuthFile string `subcmd:"glean-auth,$HOME/.glean-auth.yaml,'file containing authentication tokens for glean instances'"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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