-
Notifications
You must be signed in to change notification settings - Fork 8
/
main.go
125 lines (122 loc) · 4.14 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
// A programming model for software-defined state
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_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
},
func() interface{} {
j := jsiiProxy_Construct{}
_jsii_.InitJsiiProxy(&j.jsiiProxy_IConstruct)
return &j
},
)
_jsii_.RegisterEnum(
"constructs.ConstructOrder",
reflect.TypeOf((*ConstructOrder)(nil)).Elem(),
map[string]interface{}{
"PREORDER": ConstructOrder_PREORDER,
"POSTORDER": ConstructOrder_POSTORDER,
},
)
_jsii_.RegisterClass(
"constructs.Dependable",
reflect.TypeOf((*Dependable)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberProperty{JsiiProperty: "dependencyRoots", GoGetter: "DependencyRoots"},
},
func() interface{} {
return &jsiiProxy_Dependable{}
},
)
_jsii_.RegisterClass(
"constructs.DependencyGroup",
reflect.TypeOf((*DependencyGroup)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "add", GoMethod: "Add"},
},
func() interface{} {
j := jsiiProxy_DependencyGroup{}
_jsii_.InitJsiiProxy(&j.jsiiProxy_IDependable)
return &j
},
)
_jsii_.RegisterInterface(
"constructs.IConstruct",
reflect.TypeOf((*IConstruct)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
},
func() interface{} {
j := jsiiProxy_IConstruct{}
_jsii_.InitJsiiProxy(&j.jsiiProxy_IDependable)
return &j
},
)
_jsii_.RegisterInterface(
"constructs.IDependable",
reflect.TypeOf((*IDependable)(nil)).Elem(),
nil, // no members
func() interface{} {
return &jsiiProxy_IDependable{}
},
)
_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_.RegisterStruct(
"constructs.MetadataOptions",
reflect.TypeOf((*MetadataOptions)(nil)).Elem(),
)
_jsii_.RegisterClass(
"constructs.Node",
reflect.TypeOf((*Node)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "addDependency", GoMethod: "AddDependency"},
_jsii_.MemberMethod{JsiiMethod: "addMetadata", GoMethod: "AddMetadata"},
_jsii_.MemberProperty{JsiiProperty: "addr", GoGetter: "Addr"},
_jsii_.MemberMethod{JsiiMethod: "addValidation", GoMethod: "AddValidation"},
_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_.MemberMethod{JsiiMethod: "getAllContext", GoMethod: "GetAllContext"},
_jsii_.MemberMethod{JsiiMethod: "getContext", GoMethod: "GetContext"},
_jsii_.MemberProperty{JsiiProperty: "id", GoGetter: "Id"},
_jsii_.MemberMethod{JsiiMethod: "lock", GoMethod: "Lock"},
_jsii_.MemberProperty{JsiiProperty: "locked", GoGetter: "Locked"},
_jsii_.MemberProperty{JsiiProperty: "metadata", GoGetter: "Metadata"},
_jsii_.MemberProperty{JsiiProperty: "path", GoGetter: "Path"},
_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: "tryFindChild", GoMethod: "TryFindChild"},
_jsii_.MemberMethod{JsiiMethod: "tryGetContext", GoMethod: "TryGetContext"},
_jsii_.MemberMethod{JsiiMethod: "tryRemoveChild", GoMethod: "TryRemoveChild"},
_jsii_.MemberMethod{JsiiMethod: "validate", GoMethod: "Validate"},
},
func() interface{} {
return &jsiiProxy_Node{}
},
)
}