Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultFormat string = "%s Service"
DefaultFormat is the default format string used to compute the name of the model container from the service name.
Variables ¶
View Source
var DefaultExcluded []string = []string{"database", "external", "thirdparty"}
DefaultExcluded specifies a list of default exclusion tags. Containers that have any of these tags will be excluded from the check.
Functions ¶
Types ¶
type RootExpr ¶
type RootExpr struct { // ModelPkgPath is the path to the directory containing the model files. ModelPkgPath string // SystemName is the name of the system to be validated. SystemName string // ContainerNameFormat is the format string used to compute the name of // the model container from the service name. ContainerNameFormat string // ExcludedTags specifies a list of tags. Containers that have any of these // tags will be excluded from the check. ExcludedTags []string // Complete is true if all containers have a corresponding service. Complete bool // ServiceContainer maps service names to container names. ServiceContainer map[string]string }
RootExpr keeps track of the Model package path defined in the design.
var Root *RootExpr
Root is the design root expression.
Click to show internal directories.
Click to hide internal directories.