benchling

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

README

Package cloudeng.io/glean/extensions/benchling

import cloudeng.io/glean/extensions/benchling

Variables

ExtensionSpec
ExtensionSpec = extensions.ExtensionSpec{
	Name:       cmdName,
	CmdSpec:    cmdSpec,
	AuthCfg:    extensions.APIKey{},
	ServiceCfg: benchlingcmd.Service{},
	AddFunc:    AddExtension,
}

Functions

Func AddExtension
func AddExtension(extension extensions.Extension, cmdSet *subcmd.CommandSetYAML, parents []string) error
Func NewDocumentConverter
func NewDocumentConverter() converters.Document
Func NewUserConverter
func NewUserConverter() converters.User

Types

Type CommonFlags
type CommonFlags struct {
	config.FileFlags
	AuthFile string `subcmd:"benchling-auth,$HOME/.benchling.yaml,'benchling.io auth config file'"`
}
Type CrawlFlags
type CrawlFlags struct {
	CommonFlags
	benchlingcmd.CrawlFlags
	Entities string `subcmd:"entities,'users,entries,folders,projects','comma separated list of entities to crawl: users, entries, folders, projects'"`
}
Type IndexFlags
type IndexFlags struct {
	CommonFlags
	benchlingcmd.IndexFlags
}

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExtensionSpec = extensions.ExtensionSpec{
	Name:       cmdName,
	CmdSpec:    cmdSpec,
	AuthCfg:    extensions.APIKey{},
	ServiceCfg: benchlingcmd.Service{},
	AddFunc:    AddExtension,
}

Functions

func AddExtension

func AddExtension(extension extensions.Extension, cmdSet *subcmd.CommandSetYAML, parents []string) error

func NewDocumentConverter

func NewDocumentConverter() converters.Document

func NewUserConverter

func NewUserConverter() converters.User

Types

type CommonFlags

type CommonFlags struct {
	config.FileFlags
	AuthFile string `subcmd:"benchling-auth,$HOME/.benchling.yaml,'benchling.io auth config file'"`
}

type CrawlFlags

type CrawlFlags struct {
	CommonFlags
	benchlingcmd.CrawlFlags
	Entities string `` /* 129-byte string literal not displayed */
}

type IndexFlags

type IndexFlags struct {
	CommonFlags
	benchlingcmd.IndexFlags
}

Jump to

Keyboard shortcuts

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