static

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: MIT Imports: 11 Imported by: 1

Documentation

Overview

Package static uses static analysis to produce application and handler configurations directly from source code.

Index

Constants

PackagesLoadMode is the minimal packages.LoadMode required when loading packages for analysis by FromPackages.

Variables

This section is empty.

Functions

func FromDir added in v0.13.5

func FromDir(dir string) []configkit.Application

FromDir returns the configurations of the Dogma applications implemented within the packages in the given directory and its children.

func FromPackages

func FromPackages(pkgs []*packages.Package) []configkit.Application

FromPackages returns the configurations of the Dogma applications implemented within a set of packages.

It performs a static analysis to produce the configurations. The returned configurations may be invalid if portions of the application's configuration can not be deduced statically.

It ignores packages that can not be built.

Types

This section is empty.

Jump to

Keyboard shortcuts

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