@kumori/kdsl 0.0.50 → 0.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,19 @@
1
+ import "kumori"
2
+
3
+ builtin ApiServer {
4
+ id {
5
+ name "apiserver"
6
+ kind "service"
7
+ domain "kumori.systems"
8
+ module "builtins/apiserver"
9
+ version "0.0.1"
10
+ }
11
+
12
+ srv {
13
+ server { api "http" }
14
+ }
15
+
16
+ config {}
17
+
18
+ resource {}
19
+ }
@@ -15,6 +15,14 @@ builtin HTTPInbound {
15
15
 
16
16
  config {
17
17
  type "https"
18
+ websocket?: bool = false
19
+ remoteaddressheader?: string = ""
20
+ cleanxforwardedfor?: bool = false
21
+
22
+ accesspolicies?: kumori.AccessPolicies
23
+
24
+ requestHeaders?: kumori.StringMap = {}
25
+ responseHeaders?: kumori.StringMap = {}
18
26
  }
19
27
 
20
28
  resource {
@@ -8,4 +8,11 @@ alias Links struct {
8
8
 
9
9
  alias Channel "udp" | "tcp" | "http" | "grpc"
10
10
  alias Client Channel
11
- alias Server Channel | struct { protocol Channel, port number }
11
+ alias Server Channel | struct { protocol Channel, port number }
12
+
13
+ alias AccessPolicies struct {
14
+ allowediplist?: []string
15
+ deniediplist?: []string
16
+ }
17
+
18
+ alias StringMap struct open[string]
@@ -0,0 +1,19 @@
1
+ import "kumori"
2
+
3
+ builtin ApiServer {
4
+ id {
5
+ name "apiserver"
6
+ kind "service"
7
+ domain "kumori.systems"
8
+ module "builtins/apiserver"
9
+ version "0.0.1"
10
+ }
11
+
12
+ srv {
13
+ server { api "http" }
14
+ }
15
+
16
+ config {}
17
+
18
+ resource {}
19
+ }
@@ -15,6 +15,14 @@ builtin HTTPInbound {
15
15
 
16
16
  config {
17
17
  type "https"
18
+ websocket?: bool = false
19
+ remoteaddressheader?: string = ""
20
+ cleanxforwardedfor?: bool = false
21
+
22
+ accesspolicies?: kumori.AccessPolicies
23
+
24
+ requestHeaders?: kumori.StringMap = {}
25
+ responseHeaders?: kumori.StringMap = {}
18
26
  }
19
27
 
20
28
  resource {
@@ -8,4 +8,11 @@ alias Links struct {
8
8
 
9
9
  alias Channel "udp" | "tcp" | "http" | "grpc"
10
10
  alias Client Channel
11
- alias Server Channel | struct { protocol Channel, port number }
11
+ alias Server Channel | struct { protocol Channel, port number }
12
+
13
+ alias AccessPolicies struct {
14
+ allowediplist?: []string
15
+ deniediplist?: []string
16
+ }
17
+
18
+ alias StringMap struct open[string]