summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-22 20:49:53 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-30 17:11:27 +0000
commita69fbebf1dcd12ee5aee009dceb5bdc292196b93 (patch)
tree9d4aa288211b2242845ecd79598cce4716f04b74
parent15f24d891cdf8b6e4b0e503b5cdd5da85f1ca40b (diff)
gnu: Add go-k8s-io-client-go.
* gnu/packages/golang-xyz.scm (go-k8s-io-client-go): New variable. Change-Id: I9313f85b13241d7602cc467e8b126b3b76058289 Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
-rw-r--r--gnu/packages/golang-xyz.scm60
1 files changed, 60 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 9642379c521..0c5de3c654d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -24241,6 +24241,66 @@ without direct type dependencies. Its first consumers are
@code{k8s.io/apiserver}.")
(license license:asl2.0)))
+(define-public go-k8s-io-client-go
+ (package
+ (name "go-k8s-io-client-go")
+ (version "0.34.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kubernetes/client-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1s3pfrqjk1zjg7hyn90ykgkn5ak5x1r5w5jfcr0sdlv9p42q0yqi"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "k8s.io/client-go"
+ #:test-flags
+ #~(list "-skip"
+ (string-join
+ ;; Two tests failed while setting up networking.
+ (list "TestFallbackClient_WebSocketHTTPSProxyNoFallback"
+ "TestWebSocketClient_ProxySucceeds")
+ "|"))))
+ (native-inputs
+ (list go-github-com-gogo-protobuf
+ go-github-com-google-go-cmp
+ go-github-com-stretchr-testify
+ go-go-uber-org-goleak
+ go-sigs-k8s-io-randfill))
+ (propagated-inputs
+ (list go-github-com-go-logr-logr
+ go-github-com-google-gnostic-models
+ go-github-com-google-uuid
+ go-github-com-gorilla-websocket
+ go-github-com-gregjones-httpcache
+ go-github-com-munnerz-goautoneg
+ go-github-com-peterbourgon-diskv
+ go-github-com-spf13-pflag
+ go-golang-org-x-net
+ go-golang-org-x-oauth2
+ go-golang-org-x-term
+ go-golang-org-x-time
+ go-google-golang-org-protobuf
+ go-gopkg-in-evanphx-json-patch-v4
+ go-k8s-io-api
+ go-k8s-io-apimachinery
+ go-k8s-io-klog-v2
+ go-k8s-io-kube-openapi
+ go-k8s-io-utils
+ go-sigs-k8s-io-json
+ go-sigs-k8s-io-structured-merge-diff-v6
+ go-sigs-k8s-io-yaml))
+ (home-page "https://k8s.io/client-go")
+ (synopsis "Golang client for Kubernetes")
+ (description
+ "This package provides Go clients for talking to a
+@url{http://kubernetes.io/,kubernetes} cluster.")
+ (license license:asl2.0)))
+
(define-public go-k8s-io-gengo-v2
(package
(name "go-k8s-io-gengo-v2")