arch

package
v1.11.7 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 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 added in v1.9.0

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 added in v1.9.0

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

type Notice added in v1.9.0

type Notice struct {
	Notice error
	Ref    common.Reference
}

type Spec added in v1.9.0

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 added in v1.9.0

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