Documentation
¶
Index ¶
- Constants
- func ContentIsUnmodified(onDisk []byte) bool
- func ExcludeFlowPipelines(report *Report, names []string)
- func ReadNFlowSource(path string) (string, error)
- func RenderEnhancedReport(report *Report, actionFilter string) string
- func RenderSummaryTable(report *Report, actionFilter string) string
- func StampContent(content []byte, path string) []byte
- type ActionContract
- type Analyzer
- type DSLConfig
- type Diagnostic
- type DiagnosticSeverity
- type EnumDefinition
- type EnumValue
- type FieldContract
- type FlowHTTPRoute
- type GeneratedFile
- type PackageInfo
- type Report
- type ReportStats
- type StoreCluster
- type StructDefinition
- type StructKey
- type TransportBinding
- type TypeRef
Constants ¶
const ( SeverityError = core.SeverityError SeverityWarning = core.SeverityWarning )
Variables ¶
This section is empty.
Functions ¶
func ContentIsUnmodified ¶
func ExcludeFlowPipelines ¶ added in v0.2.0
ExcludeFlowPipelines removes named NFlow pipelines and their route-derived action contracts from an analysis report. This is useful when runtime flags conditionally mount a development pipeline that is not part of the default production API surface.
func ReadNFlowSource ¶
ReadNFlowSource is an exported helper used by the SDK generation command's integration tests to exercise the exact Flow preprocessing path.
func RenderEnhancedReport ¶
func RenderSummaryTable ¶
func StampContent ¶
Types ¶
type ActionContract ¶
type ActionContract = core.ActionContract
type Analyzer ¶
func (*Analyzer) ScanFlowFiles ¶
type Diagnostic ¶
type Diagnostic = core.Diagnostic
func ValidatePublicAPI ¶ added in v0.2.0
func ValidatePublicAPI(report *Report) []Diagnostic
type DiagnosticSeverity ¶
type DiagnosticSeverity = core.DiagnosticSeverity
type EnumDefinition ¶
type EnumDefinition = core.EnumDefinition
type FieldContract ¶
type FieldContract = core.FieldContract
type FlowHTTPRoute ¶
type FlowHTTPRoute = core.FlowHTTPRoute
type GeneratedFile ¶
type GeneratedFile = core.GeneratedFile
func GenerateTypeScriptAPISDK ¶ added in v0.2.0
func GenerateTypeScriptAPISDK(report *Report) []GeneratedFile
func GenerateTypeScriptSDK ¶
func GenerateTypeScriptSDK(report *Report) []GeneratedFile
type PackageInfo ¶
type PackageInfo = core.PackageInfo
type Report ¶
func AnalyzeAll ¶
AnalyzeAll analyzes Go contracts and merges Flow DSL and NFlow inputs.
type ReportStats ¶
type ReportStats = core.ReportStats
type StoreCluster ¶
type StoreCluster = core.StoreCluster
type StructDefinition ¶
type StructDefinition = core.StructDefinition
type TransportBinding ¶
type TransportBinding = core.TransportBinding
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package core analyzes Go AST contracts and generates SDK artifacts without parsing Flow source or embedded DSL manifests.
|
Package core analyzes Go AST contracts and generates SDK artifacts without parsing Flow source or embedded DSL manifests. |
|
Package dsl contains OPS's compatibility parser for older action-oriented route manifests.
|
Package dsl contains OPS's compatibility parser for older action-oriented route manifests. |