-
Notifications
You must be signed in to change notification settings - Fork 1
/
types.go
87 lines (76 loc) · 1.66 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
package main
import sysl "github.com/anz-bank/sysl/src/proto"
type Visitor interface {
Visit(Element) error
}
type Element interface {
Accept(Visitor) error
}
type EndpointLabelerParam struct {
EndpointName string
Human string
HumanSender string
NeedsInt string
Args string
Patterns string
Controls string
Attrs map[string]*sysl.Attribute
}
type EndpointLabeler interface {
LabelEndpoint(*EndpointLabelerParam) string
}
type AppLabeler interface {
LabelApp(appName, controls string, attrs map[string]*sysl.Attribute) string
}
type VarManager interface {
UniqueVarForAppName(appName string) string
}
type CmdContextParamCodegen struct {
rootModel *string
model *string
rootTransform *string
transform *string
grammar *string
start *string
outDir *string
isVerbose *bool
loglevel *string
}
type CmdContextParamPbgen struct {
root *string
output *string
mode *string
modules *string
isVerbose *bool
loglevel *string
}
type CmdContextParamSeqgen struct {
root *string
endpointFormat *string
appFormat *string
title *string
output *string
modulesFlag *string
endpointsFlag *[]string
appsFlag *[]string
blackboxesFlag *map[string]string
blackboxes *[][]string
plantuml *string
loglevel *string
isVerbose *bool
group *string
}
type CmdContextParamIntgen struct {
root *string
title *string
output *string
project *string
filter *string
modules *string
exclude *[]string
clustered *bool
epa *bool
plantuml *string
isVerbose *bool
loglevel *string
}