protocolsio

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

README

Package cloudeng.io/glean/extensions/protocolsio

import cloudeng.io/glean/extensions/protocolsio

Variables

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

Functions

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

Types

Type CommonFlags
type CommonFlags struct {
	config.FileFlags
	AuthFile string `subcmd:"protocolsio-auth,$HOME/.protocolsio.yaml,'protocols.io auth config file'"`
}
Type CrawlFlags
type CrawlFlags struct {
	protocolsiocmd.CrawlFlags
	CommonFlags
}
Type GetFlags
type GetFlags struct {
	protocolsiocmd.GetFlags
	config.DatasourceName
	CommonFlags
}
Type ScanFlags
type ScanFlags struct {
	protocolsiocmd.ScanFlags
	CommonFlags
}

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func AddExtension

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

func NewDocumentConverter

func NewDocumentConverter() converters.Document

Types

type CommonFlags

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

type CrawlFlags

type CrawlFlags struct {
	protocolsiocmd.CrawlFlags
	CommonFlags
}

type ScanFlags

type ScanFlags struct {
	protocolsiocmd.ScanFlags
	CommonFlags
}

Jump to

Keyboard shortcuts

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