-
Notifications
You must be signed in to change notification settings - Fork 1
/
jsii.go
28 lines (22 loc) · 934 Bytes
/
jsii.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
// Package jsii contains the functionaility needed for jsii packages to
// initialize their dependencies and themselves. Users should never need to use this package
// directly. If you find you need to - please report a bug at
// https://github.com/aws/jsii/issues/new/choose
package jsii
import (
_ "embed"
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
constructs "github.com/aws/constructs-go/constructs/v10/jsii"
cdk8s "github.com/cdk8s-team/cdk8s-core-go/cdk8s/v2/jsii"
)
//go:embed cdk8s-plus-29-2.3.3.tgz
var tarball []byte
// Initialize loads the necessary packages in the @jsii/kernel to support the enclosing module.
// The implementation is idempotent (and hence safe to be called over and over).
func Initialize() {
// Ensure all dependencies are initialized
cdk8s.Initialize()
constructs.Initialize()
// Load this library into the kernel
_jsii_.Load("cdk8s-plus-29", "2.3.3", tarball)
}