Skip to content

Commit 126c05f

Browse files
committed
Check in kubernetes-api-client.cabal and update stack.yaml resolver
1 parent 0ac9de5 commit 126c05f

File tree

3 files changed

+223
-6
lines changed

3 files changed

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

stack.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
resolver: nightly-2024-06-12
1+
resolver: lts-23.7
22

33
# This repo contains multiple versions of kubernetes-api, in the
44
# kubernetes-api-* directories.
55
# You should use exactly one to build kubernetes-client against, or
66
# else Stack will get confused.
77
packages:
8-
- kubernetes-api-1.20
8+
- kubernetes-api-1.30
99
- kubernetes-api-client
1010

1111
extra-deps:

stack.yaml.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ packages:
1717
git: https://github.com/codedownio/haskell-oidc-client
1818
snapshots:
1919
- completed:
20-
sha256: d14d2743bfd6881cef22f855af7038797db5cc55798feb0ef2923d20cbc022db
21-
size: 649141
22-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2024/6/12.yaml
23-
original: nightly-2024-06-12
20+
sha256: 4ef79c30b9efcf07335cb3de532983a7ac4c5a4180bc17f6212a86b09ce2ff75
21+
size: 680777
22+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/23/7.yaml
23+
original: lts-23.7

0 commit comments

Comments
 (0)