Skip to content

Commit c253589

Browse files
committed
Support GHC 8.8 and 8.10
Also includes: * Drop support for GHC 8.2 and 8.4. * Commit kubernetes-client.cabal as recommended by latest versions of stack. * Upgrade jsonpath to 0.2.0.0 in default stack.yaml.
1 parent ddc20d4 commit c253589

11 files changed

+240
-31
lines changed

kubernetes-client/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ dist-newstyle
66
cabal.project.local
77
.cabal-sandbox
88
cabal.sandbox.config
9-
*.cabal
Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
cabal-version: 1.12
2+
3+
-- This file has been generated from package.yaml by hpack version 0.33.0.
4+
--
5+
-- see: https://github.com/sol/hpack
6+
--
7+
-- hash: 114671d4f1b4c78c3a32487c9b8589f61d433f2a32488b3ed9e4372614f3972b
8+
9+
name: kubernetes-client
10+
version: 0.3.2.0
11+
synopsis: Client library for Kubernetes
12+
description: Client library for interacting with a Kubernetes cluster.
13+
.
14+
This package contains hand-written code while kubernetes-client-core contains code auto-generated from the OpenAPI spec.
15+
category: Web
16+
maintainer: Shimin Guo <[email protected]>,
17+
Akshay Mankar <[email protected]>
18+
license: Apache-2.0
19+
license-file: LICENSE
20+
build-type: Simple
21+
extra-source-files:
22+
test/testdata/certs/certificate.pem
23+
test/testdata/certs/private-key.pem
24+
test/testdata/kubeconfig.yaml
25+
test/testdata/tokens/token1
26+
test/testdata/tokens/token2
27+
README.md
28+
29+
library
30+
exposed-modules:
31+
Kubernetes.Client
32+
Kubernetes.Client.Auth.Basic
33+
Kubernetes.Client.Auth.ClientCert
34+
Kubernetes.Client.Auth.GCP
35+
Kubernetes.Client.Auth.Internal.Types
36+
Kubernetes.Client.Auth.OIDC
37+
Kubernetes.Client.Auth.Token
38+
Kubernetes.Client.Auth.TokenFile
39+
Kubernetes.Client.Config
40+
Kubernetes.Client.Internal.TLSUtils
41+
Kubernetes.Client.KubeConfig
42+
Kubernetes.Client.Watch
43+
Kubernetes.Data.K8sJSONPath
44+
other-modules:
45+
Paths_kubernetes_client
46+
hs-source-dirs:
47+
src
48+
ghc-options: -Wall
49+
build-depends:
50+
aeson >=1.2 && <1.6
51+
, attoparsec >=0.13 && <0.14
52+
, base >=4.7 && <5.0
53+
, base64-bytestring
54+
, bytestring >=0.10 && <0.11
55+
, connection >=0.2
56+
, containers >=0.5
57+
, data-default-class >=0.1
58+
, either >=5.0
59+
, filepath >=1.4
60+
, hoauth2 >=1.11
61+
, http-client >=0.5 && <0.7
62+
, http-client-tls >=0.3
63+
, jose-jwt >=0.8
64+
, jsonpath >=0.1 && <0.3
65+
, kubernetes-client-core ==0.3.1.0
66+
, microlens >=0.4 && <0.5
67+
, mtl >=2.2
68+
, oidc-client >=0.4
69+
, pem >=0.2
70+
, safe-exceptions >=0.1.0.0
71+
, stm >=2.4
72+
, streaming-bytestring >=0.1 && <0.3
73+
, text >=0.11 && <1.3
74+
, time >=1.8
75+
, timerep >=2.0
76+
, tls >=1.4.1
77+
, typed-process >=0.2
78+
, uri-bytestring >=0.3
79+
, x509 >=1.7
80+
, x509-store >=1.6
81+
, x509-system >=1.6
82+
, x509-validation >=1.6
83+
, yaml >=0.8.32
84+
default-language: Haskell2010
85+
86+
test-suite example
87+
type: exitcode-stdio-1.0
88+
main-is: App.hs
89+
other-modules:
90+
Paths_kubernetes_client
91+
hs-source-dirs:
92+
example
93+
build-depends:
94+
aeson >=1.2 && <1.6
95+
, attoparsec >=0.13 && <0.14
96+
, base >=4.7 && <5.0
97+
, base64-bytestring
98+
, bytestring >=0.10 && <0.11
99+
, connection >=0.2
100+
, containers >=0.5
101+
, data-default-class >=0.1
102+
, either >=5.0
103+
, filepath >=1.4
104+
, hoauth2 >=1.11
105+
, http-client >=0.5 && <0.7
106+
, http-client-tls >=0.3
107+
, jose-jwt >=0.8
108+
, jsonpath >=0.1 && <0.3
109+
, kubernetes-client
110+
, kubernetes-client-core ==0.3.1.0
111+
, microlens >=0.4 && <0.5
112+
, mtl >=2.2
113+
, oidc-client >=0.4
114+
, pem >=0.2
115+
, safe-exceptions >=0.1.0.0
116+
, stm >=2.4
117+
, streaming-bytestring >=0.1 && <0.3
118+
, text >=0.11 && <1.3
119+
, time >=1.8
120+
, timerep >=2.0
121+
, tls >=1.4.1
122+
, typed-process >=0.2
123+
, uri-bytestring >=0.3
124+
, x509 >=1.7
125+
, x509-store >=1.6
126+
, x509-system >=1.6
127+
, x509-validation >=1.6
128+
, yaml >=0.8.32
129+
default-language: Haskell2010
130+
131+
test-suite spec
132+
type: exitcode-stdio-1.0
133+
main-is: Spec.hs
134+
other-modules:
135+
Kubernetes.Client.Auth.BasicSpec
136+
Kubernetes.Client.Auth.ClientCertSpec
137+
Kubernetes.Client.Auth.TokenFileSpec
138+
Kubernetes.Client.KubeConfigSpec
139+
Kubernetes.Data.K8sJSONPathSpec
140+
Paths_kubernetes_client
141+
hs-source-dirs:
142+
test
143+
build-depends:
144+
aeson >=1.2 && <1.6
145+
, attoparsec >=0.13 && <0.14
146+
, base >=4.7 && <5.0
147+
, base64-bytestring
148+
, bytestring >=0.10 && <0.11
149+
, connection >=0.2
150+
, containers >=0.5
151+
, data-default-class >=0.1
152+
, either >=5.0
153+
, file-embed
154+
, filepath >=1.4
155+
, hoauth2 >=1.11
156+
, hspec
157+
, hspec-attoparsec
158+
, http-client >=0.5 && <0.7
159+
, http-client-tls >=0.3
160+
, jose-jwt >=0.8
161+
, jsonpath >=0.1 && <0.3
162+
, kubernetes-client
163+
, kubernetes-client-core ==0.3.1.0
164+
, microlens >=0.4 && <0.5
165+
, mtl >=2.2
166+
, oidc-client >=0.4
167+
, pem >=0.2
168+
, safe-exceptions >=0.1.0.0
169+
, stm >=2.4
170+
, streaming-bytestring >=0.1 && <0.3
171+
, text >=0.11 && <1.3
172+
, time >=1.8
173+
, timerep >=2.0
174+
, tls >=1.4.1
175+
, typed-process >=0.2
176+
, uri-bytestring >=0.3
177+
, x509 >=1.7
178+
, x509-store >=1.6
179+
, x509-system >=1.6
180+
, x509-validation >=1.6
181+
, yaml
182+
default-language: Haskell2010

kubernetes-client/package.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ dependencies:
3737
- base >=4.7 && <5.0
3838
- base64-bytestring
3939
- bytestring >=0.10 && <0.11
40-
- aeson >=1.2 && <1.5
40+
- aeson >=1.2 && <1.6
4141
- attoparsec >=0.13 && <0.14
42-
- jsonpath >=0.1 && <0.2
42+
- jsonpath >=0.1 && <0.3
4343
- connection >=0.2
4444
- containers >= 0.5
4545
- data-default-class >=0.1
@@ -56,7 +56,7 @@ dependencies:
5656
- pem >=0.2
5757
- safe-exceptions >=0.1.0.0
5858
- stm >=2.4
59-
- streaming-bytestring >= 0.1 && < 0.2.0
59+
- streaming-bytestring >= 0.1 && < 0.3
6060
- text >=0.11 && <1.3
6161
- time >=1.8
6262
- timerep >=2.0

stack-8.10.2.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
resolver: nightly-2020-12-06
2+
extra-deps:
3+
- oidc-client-0.4.0.0
4+
packages:
5+
- kubernetes
6+
- kubernetes-client

stack-8.10.2.yaml.lock

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This file was autogenerated by Stack.
2+
# You should not edit this file by hand.
3+
# For more information, please see the documentation at:
4+
# https://docs.haskellstack.org/en/stable/lock_files
5+
6+
packages:
7+
- completed:
8+
hackage: oidc-client-0.4.0.0@sha256:f72a496ab27d9a5071be44e750718c539118ac52c2f1535a5fb3dde7f9874a55,3306
9+
pantry-tree:
10+
size: 1153
11+
sha256: 68c285c6365360975d50bbb18cb07755d5ef19af8bf0e998d3ea46d35ef4a4e1
12+
original:
13+
hackage: oidc-client-0.4.0.0
14+
snapshots:
15+
- completed:
16+
size: 556330
17+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2020/12/6.yaml
18+
sha256: 53a2f3fe06fcac029ccf4fd54b5bb1745dc52451d9f023ef94721839bf991d8e
19+
original: nightly-2020-12-06

stack-8.2.2.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

stack-8.4.4.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

stack-8.8.4.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
resolver: lts-16.24
2+
extra-deps:
3+
- oidc-client-0.4.0.0
4+
packages:
5+
- kubernetes
6+
- kubernetes-client

stack-8.8.4.yaml.lock

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This file was autogenerated by Stack.
2+
# You should not edit this file by hand.
3+
# For more information, please see the documentation at:
4+
# https://docs.haskellstack.org/en/stable/lock_files
5+
6+
packages:
7+
- completed:
8+
hackage: oidc-client-0.4.0.0@sha256:f72a496ab27d9a5071be44e750718c539118ac52c2f1535a5fb3dde7f9874a55,3306
9+
pantry-tree:
10+
size: 1153
11+
sha256: 68c285c6365360975d50bbb18cb07755d5ef19af8bf0e998d3ea46d35ef4a4e1
12+
original:
13+
hackage: oidc-client-0.4.0.0
14+
snapshots:
15+
- completed:
16+
size: 532835
17+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/24.yaml
18+
sha256: cf2b52420b2262fe9cf0f6744929120131abd6675b1c3fb2d8b155a47f80d103
19+
original: lts-16.24

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
resolver: lts-14.7
22
extra-deps:
3-
- jsonpath-0.1.0.1
3+
- jsonpath-0.2.0.0
44
- jwt-0.10.0
55
- oidc-client-0.4.0.0
66
- hoauth2-1.16.0

0 commit comments

Comments
 (0)