This repository was archived by the owner on Sep 9, 2020. It is now read-only.
File tree Expand file treeCollapse file tree 29 files changed+361
-168
lines changedFilter options
+361
-168
lines changed Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@
50
50
51
51
[[constraint]]
52
52
name = "github.com/ksonnet/ksonnet-lib"
53
-
version = "v0.1.3"
53
+
version = "v0.1.5"
54
54
55
55
[[constraint]]
56
56
name = "github.com/mattn/go-isatty"
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
1
-
local params = {
2
-
};
1
+
local params = {};
3
2
4
3
params + {
5
4
components+: {
6
5
foo+: {
7
-
replicas: 1,
8
-
},
9
-
},
6
+
replicas: 1
7
+
}
8
+
}
10
9
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
1
-
local params = {
2
-
};
1
+
local params = {};
3
2
4
3
params {
5
4
components+: {
6
5
foo+: {
7
-
replicas: 1,
8
-
},
9
-
},
6
+
replicas: 1
7
+
}
8
+
}
10
9
}
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ func Test_initCmd(t *testing.T) {
37
37
"--namespace", "new-namespace",
38
38
"--server", "http://127.0.0.1",
39
39
"--env", "env-name",
40
+
"--api-spec", "version:v1.8.0",
40
41
},
41
42
action: actionInit,
42
43
expected: map[string]interface{}{
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
1
1
local params = import "../../components/params.libsonnet";
2
2
3
3
params {
4
-
components+: {
5
-
},
4
+
components+: {}
6
5
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
1
1
{
2
-
global: {
3
-
},
2
+
global: {},
4
3
components: {
5
4
// Component-level parameters, defined initially from 'ks prototype use ...'
6
5
// Each object below should correspond to a component in the components/ directory
@@ -9,10 +8,10 @@
9
8
image: "gcr.io/heptio-images/ks-guestbook-demo:0.1",
10
9
name: "guiroot",
11
10
obj: {
12
-
a: "b",
11
+
a: "b"
13
12
},
14
13
servicePort: 80,
15
-
type: "ClusterIP",
16
-
},
17
-
},
14
+
type: "ClusterIP"
15
+
}
16
+
}
18
17
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
1
1
{
2
-
global: {
3
-
},
2
+
global: {},
4
3
components: {
5
4
// Component-level parameters, defined initially from 'ks prototype use ...'
6
5
// Each object below should correspond to a component in the components/ directory
@@ -9,11 +8,11 @@
9
8
image: "gcr.io/heptio-images/ks-guestbook-demo:0.1",
10
9
name: "guiroot",
11
10
obj: {
12
-
a: "b",
11
+
a: "b"
13
12
},
14
13
replicas: 4,
15
14
servicePort: 80,
16
-
type: "ClusterIP",
17
-
},
18
-
},
15
+
type: "ClusterIP"
16
+
}
17
+
}
19
18
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
1
1
{
2
-
global: {
3
-
},
2
+
global: {},
4
3
components: {
5
4
// Component-level parameters, defined initially from 'ks prototype use ...'
6
5
// Each object below should correspond to a component in the components/ directory
7
6
"certificate-crd": {
8
-
spec: {
9
-
},
10
-
},
11
-
},
7
+
spec: {}
8
+
}
9
+
}
12
10
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
1
1
{
2
-
global: {
3
-
},
2
+
global: {},
4
3
components: {
5
4
a: {
6
5
other: 1,
7
6
metadata: {
8
7
labels: {
9
-
locala: "local",
10
-
},
11
-
},
12
-
},
13
-
},
8
+
locala: "local"
9
+
}
10
+
}
11
+
}
12
+
}
14
13
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4