arch

package
v0.0.0-...-0e75cad Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Allow

type Allow struct {
	DepOnAnyVendor common.Referable[bool]
	DeepScan       common.Referable[bool]
}

type Component

type Component struct {
	Name                  common.Referable[string]
	DeepScan              common.Referable[bool]
	ResolvedPaths         []common.Referable[models.ResolvedPath]
	AllowedProjectImports []common.Referable[models.ResolvedPath]
	AllowedVendorGlobs    []common.Referable[models.Glob]
	MayDependOn           []common.Referable[string]
	CanUse                []common.Referable[string]
	SpecialFlags          SpecialFlags
}

type Integrity

type Integrity struct {
	DocumentNotices []Notice
	Suggestions     []Notice
}

type Notice

type Notice struct {
	Notice error
	Ref    common.Reference
}

type Spec

type Spec struct {
	RootDirectory       common.Referable[string]
	WorkingDirectory    common.Referable[string]
	ModuleName          common.Referable[string]
	Allow               Allow
	Components          []Component
	Exclude             []common.Referable[models.ResolvedPath]
	ExcludeFilesMatcher []common.Referable[*regexp.Regexp]
	Integrity           Integrity
}

type SpecialFlags

type SpecialFlags struct {
	AllowAllProjectDeps common.Referable[bool]
	AllowAllVendorDeps  common.Referable[bool]
}

Jump to

Keyboard shortcuts

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