docgen

package
v0.0.0-...-c93b885 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocsGenerator

type DocsGenerator interface {
	GenerateForPackage(ctx context.Context, libId string, verId string, pkgId string) error
}

func NewDocsGenerator

func NewDocsGenerator(lc library.Client) DocsGenerator

type Kind

type Kind string
const (
	KindInput     Kind = "input"
	KindOutput    Kind = "output"
	KindCache     Kind = "cache"
	KindBuffer    Kind = "buffer"
	KindProcessor Kind = "processor"
	KindRateLimit Kind = "rate_limit"
	KindTracer    Kind = "tracer"
	KindScanner   Kind = "scanner"
	KindMetric    Kind = "metric"

	KindFunction Kind = "function"
	KindMethod   Kind = "method"
)

type Snapshot

type Snapshot struct {
	Inputs     map[string]struct{}
	Outputs    map[string]struct{}
	Caches     map[string]struct{}
	Buffers    map[string]struct{}
	Processors map[string]struct{}
	RateLimits map[string]struct{}
	Tracers    map[string]struct{}
	Scanners   map[string]struct{}
	Metrics    map[string]struct{}

	Functions map[string]struct{}
	Methods   map[string]struct{}
}

func NewSnapshot

func NewSnapshot() *Snapshot

func (*Snapshot) WalkDelta

func (s *Snapshot) WalkDelta(fn func(doc *library.DocView))

Jump to

Keyboard shortcuts

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