-
Notifications
You must be signed in to change notification settings - Fork 8
/
main.go
147 lines (144 loc) · 4.98 KB
/
main.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
// A programming model for composable configuration
package constructs
import (
"reflect"
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
)
func init() {
_jsii_.RegisterClass(
"constructs.Construct",
reflect.TypeOf((*Construct)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "onPrepare", GoMethod: "OnPrepare"},
_jsii_.MemberMethod{JsiiMethod: "onSynthesize", GoMethod: "OnSynthesize"},
_jsii_.MemberMethod{JsiiMethod: "onValidate", GoMethod: "OnValidate"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
},
func() interface{} {
j := jsiiProxy_Construct{}
_jsii_.InitJsiiProxy(&j.jsiiProxy_IConstruct)
return &j
},
)
_jsii_.RegisterClass(
"constructs.ConstructMetadata",
reflect.TypeOf((*ConstructMetadata)(nil)).Elem(),
nil, // no members
func() interface{} {
return &jsiiProxy_ConstructMetadata{}
},
)
_jsii_.RegisterStruct(
"constructs.ConstructOptions",
reflect.TypeOf((*ConstructOptions)(nil)).Elem(),
)
_jsii_.RegisterEnum(
"constructs.ConstructOrder",
reflect.TypeOf((*ConstructOrder)(nil)).Elem(),
map[string]interface{}{
"PREORDER": ConstructOrder_PREORDER,
"POSTORDER": ConstructOrder_POSTORDER,
},
)
_jsii_.RegisterStruct(
"constructs.Dependency",
reflect.TypeOf((*Dependency)(nil)).Elem(),
)
_jsii_.RegisterInterface(
"constructs.IAspect",
reflect.TypeOf((*IAspect)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "visit", GoMethod: "Visit"},
},
func() interface{} {
return &jsiiProxy_IAspect{}
},
)
_jsii_.RegisterInterface(
"constructs.IConstruct",
reflect.TypeOf((*IConstruct)(nil)).Elem(),
nil, // no members
func() interface{} {
return &jsiiProxy_IConstruct{}
},
)
_jsii_.RegisterInterface(
"constructs.INodeFactory",
reflect.TypeOf((*INodeFactory)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "createNode", GoMethod: "CreateNode"},
},
func() interface{} {
return &jsiiProxy_INodeFactory{}
},
)
_jsii_.RegisterInterface(
"constructs.ISynthesisSession",
reflect.TypeOf((*ISynthesisSession)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberProperty{JsiiProperty: "outdir", GoGetter: "Outdir"},
},
func() interface{} {
return &jsiiProxy_ISynthesisSession{}
},
)
_jsii_.RegisterInterface(
"constructs.IValidation",
reflect.TypeOf((*IValidation)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "validate", GoMethod: "Validate"},
},
func() interface{} {
return &jsiiProxy_IValidation{}
},
)
_jsii_.RegisterStruct(
"constructs.MetadataEntry",
reflect.TypeOf((*MetadataEntry)(nil)).Elem(),
)
_jsii_.RegisterClass(
"constructs.Node",
reflect.TypeOf((*Node)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "addDependency", GoMethod: "AddDependency"},
_jsii_.MemberMethod{JsiiMethod: "addError", GoMethod: "AddError"},
_jsii_.MemberMethod{JsiiMethod: "addInfo", GoMethod: "AddInfo"},
_jsii_.MemberMethod{JsiiMethod: "addMetadata", GoMethod: "AddMetadata"},
_jsii_.MemberProperty{JsiiProperty: "addr", GoGetter: "Addr"},
_jsii_.MemberMethod{JsiiMethod: "addValidation", GoMethod: "AddValidation"},
_jsii_.MemberMethod{JsiiMethod: "addWarning", GoMethod: "AddWarning"},
_jsii_.MemberMethod{JsiiMethod: "applyAspect", GoMethod: "ApplyAspect"},
_jsii_.MemberProperty{JsiiProperty: "children", GoGetter: "Children"},
_jsii_.MemberProperty{JsiiProperty: "defaultChild", GoGetter: "DefaultChild"},
_jsii_.MemberProperty{JsiiProperty: "dependencies", GoGetter: "Dependencies"},
_jsii_.MemberMethod{JsiiMethod: "findAll", GoMethod: "FindAll"},
_jsii_.MemberMethod{JsiiMethod: "findChild", GoMethod: "FindChild"},
_jsii_.MemberProperty{JsiiProperty: "id", GoGetter: "Id"},
_jsii_.MemberProperty{JsiiProperty: "locked", GoGetter: "Locked"},
_jsii_.MemberProperty{JsiiProperty: "metadata", GoGetter: "Metadata"},
_jsii_.MemberProperty{JsiiProperty: "path", GoGetter: "Path"},
_jsii_.MemberMethod{JsiiMethod: "prepare", GoMethod: "Prepare"},
_jsii_.MemberProperty{JsiiProperty: "root", GoGetter: "Root"},
_jsii_.MemberProperty{JsiiProperty: "scope", GoGetter: "Scope"},
_jsii_.MemberProperty{JsiiProperty: "scopes", GoGetter: "Scopes"},
_jsii_.MemberMethod{JsiiMethod: "setContext", GoMethod: "SetContext"},
_jsii_.MemberMethod{JsiiMethod: "synthesize", GoMethod: "Synthesize"},
_jsii_.MemberMethod{JsiiMethod: "tryFindChild", GoMethod: "TryFindChild"},
_jsii_.MemberMethod{JsiiMethod: "tryGetContext", GoMethod: "TryGetContext"},
_jsii_.MemberMethod{JsiiMethod: "tryRemoveChild", GoMethod: "TryRemoveChild"},
_jsii_.MemberProperty{JsiiProperty: "uniqueId", GoGetter: "UniqueId"},
_jsii_.MemberMethod{JsiiMethod: "validate", GoMethod: "Validate"},
},
func() interface{} {
return &jsiiProxy_Node{}
},
)
_jsii_.RegisterStruct(
"constructs.SynthesisOptions",
reflect.TypeOf((*SynthesisOptions)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"constructs.ValidationError",
reflect.TypeOf((*ValidationError)(nil)).Elem(),
)
}