Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEmptyReference ¶
Types ¶
type Allow ¶
type Allow struct {
DepOnAnyVendor ReferableBool
}
type Component ¶
type Component struct { Name ReferableString ResolvedPaths []ReferableResolvedPath AllowedImports []ReferableResolvedPath MayDependOn []ReferableString CanUse []ReferableString SpecialFlags SpecialFlags }
type ReferableBool ¶
type ReferableBool struct {
// contains filtered or unexported fields
}
func NewEmptyReferableBool ¶
func NewEmptyReferableBool(value bool) ReferableBool
func NewReferableBool ¶
func NewReferableBool(value bool, ref models.Reference) ReferableBool
func (ReferableBool) Reference ¶
func (s ReferableBool) Reference() models.Reference
func (ReferableBool) Value ¶
func (s ReferableBool) Value() bool
type ReferableInt ¶
type ReferableInt struct {
// contains filtered or unexported fields
}
func NewEmptyReferableInt ¶
func NewEmptyReferableInt(value int) ReferableInt
func NewReferableInt ¶
func NewReferableInt(value int, ref models.Reference) ReferableInt
func (ReferableInt) Reference ¶
func (s ReferableInt) Reference() models.Reference
func (ReferableInt) Value ¶
func (s ReferableInt) Value() int
type ReferableRegExp ¶
type ReferableRegExp struct {
// contains filtered or unexported fields
}
func NewEmptyReferableRegExp ¶
func NewEmptyReferableRegExp(value *regexp.Regexp) ReferableRegExp
func NewReferableRegExp ¶
func NewReferableRegExp(value *regexp.Regexp, ref models.Reference) ReferableRegExp
func (ReferableRegExp) Reference ¶
func (s ReferableRegExp) Reference() models.Reference
func (ReferableRegExp) Value ¶
func (s ReferableRegExp) Value() *regexp.Regexp
type ReferableResolvedPath ¶
type ReferableResolvedPath struct {
// contains filtered or unexported fields
}
func NewEmptyReferableResolvedPath ¶
func NewEmptyReferableResolvedPath(value models.ResolvedPath) ReferableResolvedPath
func NewReferableResolvedPath ¶
func NewReferableResolvedPath(value models.ResolvedPath, ref models.Reference) ReferableResolvedPath
func (ReferableResolvedPath) Reference ¶
func (s ReferableResolvedPath) Reference() models.Reference
func (ReferableResolvedPath) Value ¶
func (s ReferableResolvedPath) Value() models.ResolvedPath
type ReferableString ¶
type ReferableString struct {
// contains filtered or unexported fields
}
func NewEmptyReferableString ¶
func NewEmptyReferableString(value string) ReferableString
func NewReferableString ¶
func NewReferableString(value string, ref models.Reference) ReferableString
func (ReferableString) Reference ¶
func (s ReferableString) Reference() models.Reference
func (ReferableString) Value ¶
func (s ReferableString) Value() string
type Spec ¶
type Spec struct { RootDirectory ReferableString WorkingDirectory ReferableString ModuleName ReferableString Allow Allow Components []Component Exclude []ReferableResolvedPath ExcludeFilesMatcher []ReferableRegExp Integrity Integrity }
type SpecialFlags ¶
type SpecialFlags struct { AllowAllProjectDeps ReferableBool AllowAllVendorDeps ReferableBool }
Click to show internal directories.
Click to hide internal directories.