Documentation ¶
Overview ¶
Package static provides the set of builtin resources for a given instance of the Glean CLI.
Index ¶
- func APIExtensions(parents ...string) []extensions.Extension
- func Extensions(parents ...string) []extensions.Extension
- func LinkExtractors() map[content.Type]outlinks.Extractor
- func MustDocumentConverters() *content.Registry[converters.Document]
- func MustUserConverters() *content.Registry[converters.User]
- func New() extensions.StaticResources
- func NewHTML() converters.Document
- func TokenReaders() *apitokens.Readers
- type HTML
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIExtensions ¶
func APIExtensions(parents ...string) []extensions.Extension
APIExtensions returns the builtin API related commands.
func Extensions ¶
func Extensions(parents ...string) []extensions.Extension
Extensions returns any top-level commands.
func LinkExtractors ¶
LinkExtractors represents the set of available outlink extractors.
func MustDocumentConverters ¶
func MustDocumentConverters() *content.Registry[converters.Document]
MustDocumentConverters returns the available converters, it will panic on encountering an error.
func MustUserConverters ¶
func MustUserConverters() *content.Registry[converters.User]
MustUserConverters returns the available converters, it will panic on encountering an error.
func New ¶
func New() extensions.StaticResources
func TokenReaders ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.