mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2026-01-24 14:14:21 +00:00
* feat: add custom analyzer management capability Introduced the ability to manage custom analyzers in the K8sGPT application, enabling users to add, deploy, and configure custom analyzers from various sources. This enhancement supports extending the application's analytical capabilities by integrating external analysis tools, thus offering more flexibility and customization options to meet specific user needs. Signed-off-by: Matthis Holleville <matthish29@gmail.com> * feat: enhance custom analyzer management with removal functionality Introduced the ability to remove custom analyzers, streamlining the management process and ensuring flexibility in custom analyzer configuration. This enhancement addresses the need for dynamic customization and maintenance of analyzer setups, facilitating easier updates and modifications to the analysis environment. Signed-off-by: Matthis Holleville <matthish29@gmail.com> * feat: add list command to customAnalyzer for displaying configured analyzers Implemented a new list command within the customAnalyzer module to enable users to view all configured custom analyzers. This enhancement aims to improve usability by providing a straightforward method for users to inspect their custom analyzer configurations directly from the command line. Signed-off-by: Matthis Holleville <matthish29@gmail.com> * feat: add support for listing, adding, and removing custom analyzers This update introduces commands to manage custom analyzers in the k8sgpt tool, enhancing flexibility and control over analyzer configurations without the need for direct installation or docker dependency. Signed-off-by: Matthis Holleville <matthish29@gmail.com> * feat: support private docker image authentication for custom analyzers Added authentication support for pulling private Docker images when adding custom analyzers, enhancing security and access control. Signed-off-by: Matthis Holleville <matthish29@gmail.com> * feat: remove Docker custom analyzer installation Removed the installation and deployment functionality for custom analyzers, streamlining the process of adding analyzers. This change focuses on simplifying the configuration by eliminating the need for specifying installation types, package URLs, and authentication details for Docker images. The goal is to enhance user experience by making the addition of custom analyzers more straightforward and less error-prone. Signed-off-by: Matthis Holleville <matthish29@gmail.com> * fix: remove unused packageUrl Signed-off-by: Matthis Holleville <matthish29@gmail.com> * feat: update add command description to reflect broader functionality Signed-off-by: Matthis Holleville <matthish29@gmail.com> * feat: Add name validation for custom analyzer creation To ensure the integrity and consistency of analyzer names, we introduced a validation step that checks the format of the name against a predefined regex pattern. This change aims to prevent the creation of analyzers with invalid names, enhancing the system's reliability and usability. Signed-off-by: Matthis Holleville <matthish29@gmail.com> * feat: refactor customAnalyzer package for consistent naming Refactored the customAnalyzer package and its references to use consistent snake_case naming for improved code readability and alignment with Go naming conventions. Signed-off-by: Matthis Holleville <matthish29@gmail.com> --------- Signed-off-by: Matthis Holleville <matthish29@gmail.com> Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
269 lines
13 KiB
Modula-2
269 lines
13 KiB
Modula-2
module github.com/k8sgpt-ai/k8sgpt
|
|
|
|
go 1.22.0
|
|
|
|
toolchain go1.22.4
|
|
|
|
require (
|
|
github.com/aquasecurity/trivy-operator v0.17.1
|
|
github.com/fatih/color v1.17.0
|
|
github.com/kedacore/keda/v2 v2.11.2
|
|
github.com/magiconair/properties v1.8.7
|
|
github.com/mittwald/go-helm-client v0.12.10
|
|
github.com/ollama/ollama v0.1.48
|
|
github.com/sashabaranov/go-openai v1.23.0
|
|
github.com/schollz/progressbar/v3 v3.14.5
|
|
github.com/spf13/cobra v1.8.1
|
|
github.com/spf13/viper v1.18.2
|
|
github.com/stretchr/testify v1.9.0
|
|
golang.org/x/term v0.22.0
|
|
helm.sh/helm/v3 v3.15.2
|
|
k8s.io/api v0.30.2
|
|
k8s.io/apimachinery v0.30.2
|
|
k8s.io/client-go v0.30.2
|
|
k8s.io/kubectl v0.30.2 // indirect
|
|
|
|
)
|
|
|
|
require github.com/adrg/xdg v0.4.0
|
|
|
|
require (
|
|
buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc-ecosystem/gateway/v2 v2.20.0-20240406062209-1cc152efbf5c.1
|
|
buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc/go v1.4.0-20240720172138-1b9bcd834f17.2
|
|
buf.build/gen/go/k8sgpt-ai/k8sgpt/protocolbuffers/go v1.34.2-20240720172138-1b9bcd834f17.2
|
|
cloud.google.com/go/storage v1.43.0
|
|
cloud.google.com/go/vertexai v0.7.1
|
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.6.0
|
|
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.2
|
|
github.com/IBM/watsonx-go v1.0.1
|
|
github.com/aws/aws-sdk-go v1.53.21
|
|
github.com/cohere-ai/cohere-go/v2 v2.7.3
|
|
github.com/go-logr/zapr v1.3.0
|
|
github.com/google/generative-ai-go v0.11.0
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0
|
|
github.com/hupe1980/go-huggingface v0.0.15
|
|
github.com/kyverno/policy-reporter-kyverno-plugin v1.6.3
|
|
github.com/olekukonko/tablewriter v0.0.5
|
|
github.com/oracle/oci-go-sdk/v65 v65.65.1
|
|
github.com/prometheus/prometheus v0.53.1
|
|
github.com/pterm/pterm v0.12.79
|
|
google.golang.org/api v0.187.0
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
sigs.k8s.io/controller-runtime v0.18.4
|
|
sigs.k8s.io/gateway-api v1.0.0
|
|
)
|
|
|
|
require (
|
|
atomicgo.dev/cursor v0.2.0 // indirect
|
|
atomicgo.dev/keyboard v0.2.9 // indirect
|
|
atomicgo.dev/schedule v0.1.0 // indirect
|
|
cloud.google.com/go v0.115.0 // indirect
|
|
cloud.google.com/go/ai v0.3.5-0.20240409161017-ce55ad694f21 // indirect
|
|
cloud.google.com/go/aiplatform v1.68.0 // indirect
|
|
cloud.google.com/go/auth v0.6.1 // indirect
|
|
cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect
|
|
cloud.google.com/go/compute/metadata v0.3.0 // indirect
|
|
cloud.google.com/go/iam v1.1.8 // indirect
|
|
cloud.google.com/go/longrunning v0.5.7 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.8.0 // indirect
|
|
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
|
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
|
github.com/Microsoft/hcsshim v0.12.4 // indirect
|
|
github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 // indirect
|
|
github.com/anchore/go-struct-converter v0.0.0-20230627203149-c72ef8859ca9 // indirect
|
|
github.com/blang/semver/v4 v4.0.0 // indirect
|
|
github.com/containerd/console v1.0.3 // indirect
|
|
github.com/containerd/errdefs v0.1.0 // indirect
|
|
github.com/containerd/log v0.1.0 // indirect
|
|
github.com/distribution/reference v0.6.0 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/go-kit/log v0.2.1 // indirect
|
|
github.com/go-logfmt/logfmt v0.6.0 // indirect
|
|
github.com/gofrs/flock v0.8.1 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
|
|
github.com/google/s2a-go v0.1.7 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
|
|
github.com/googleapis/gax-go/v2 v2.12.5 // indirect
|
|
github.com/gookit/color v1.5.4 // indirect
|
|
github.com/gorilla/websocket v1.5.2 // indirect
|
|
github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/jpillora/backoff v1.0.0 // indirect
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
github.com/lithammer/fuzzysearch v1.1.8 // indirect
|
|
github.com/moby/docker-image-spec v1.3.1 // indirect
|
|
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
|
|
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
|
github.com/prometheus/common/sigv4 v0.1.0 // indirect
|
|
github.com/sagikazarmark/locafero v0.4.0 // indirect
|
|
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
|
|
github.com/segmentio/fasthash v1.0.3 // indirect
|
|
github.com/sony/gobreaker v0.5.0 // indirect
|
|
github.com/sourcegraph/conc v0.3.0 // indirect
|
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
|
go.opencensus.io v0.24.0 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.27.0 // indirect
|
|
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
|
|
google.golang.org/genproto v0.0.0-20240624140628-dc46fd24d27d // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20240617180043-68d350f18fd4 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20240624140628-dc46fd24d27d // indirect
|
|
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
knative.dev/pkg v0.0.0-20230616134650-eb63a40adfb0 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
|
|
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
|
|
github.com/BurntSushi/toml v1.4.0 // indirect
|
|
github.com/MakeNowJust/heredoc v1.0.0 // indirect
|
|
github.com/Masterminds/goutils v1.1.1 // indirect
|
|
github.com/Masterminds/semver/v3 v3.2.1 // indirect
|
|
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
|
|
github.com/Masterminds/squirrel v1.5.4 // indirect
|
|
github.com/aquasecurity/defsec v0.93.1 // indirect
|
|
github.com/aquasecurity/go-dep-parser v0.0.0-20231030050624-4548cca9a5c9 // indirect
|
|
github.com/aquasecurity/table v1.8.0 // indirect
|
|
github.com/aquasecurity/tml v0.6.1 // indirect
|
|
github.com/aquasecurity/trivy v0.47.0 // indirect
|
|
github.com/aquasecurity/trivy-db v0.0.0-20231020043206-3770774790ce // indirect
|
|
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/chai2010/gettext-go v1.0.3 // indirect
|
|
github.com/containerd/containerd v1.7.18 // indirect
|
|
github.com/cyphar/filepath-securejoin v0.2.5 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/docker/cli v26.1.4+incompatible // indirect
|
|
github.com/docker/distribution v2.8.3+incompatible // indirect
|
|
github.com/docker/docker v27.0.0+incompatible
|
|
github.com/docker/docker-credential-helpers v0.8.2 // indirect
|
|
github.com/docker/go-connections v0.5.0
|
|
github.com/docker/go-metrics v0.0.1 // indirect
|
|
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
|
|
github.com/evanphx/json-patch v5.9.0+incompatible // indirect
|
|
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
|
|
github.com/fsnotify/fsnotify v1.7.0 // indirect
|
|
github.com/go-errors/errors v1.5.1 // indirect
|
|
github.com/go-gorp/gorp/v3 v3.1.0 // indirect
|
|
github.com/go-logr/logr v1.4.2 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-openapi/jsonpointer v0.21.0 // indirect
|
|
github.com/go-openapi/jsonreference v0.21.0 // indirect
|
|
github.com/go-openapi/swag v0.23.0 // indirect
|
|
github.com/gobwas/glob v0.2.3 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/protobuf v1.5.4 // indirect
|
|
github.com/google/btree v1.1.2 // indirect
|
|
github.com/google/gnostic v0.7.0
|
|
github.com/google/go-cmp v0.6.0 // indirect
|
|
github.com/google/go-containerregistry v0.17.0 // indirect
|
|
github.com/google/gofuzz v1.2.0 // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/gorilla/mux v1.8.1 // indirect
|
|
github.com/gosuri/uitable v0.0.4 // indirect
|
|
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
github.com/huandu/xstrings v1.5.0 // indirect
|
|
github.com/imdario/mergo v0.3.16 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/jmoiron/sqlx v1.4.0 // indirect
|
|
github.com/josharian/intern v1.0.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/klauspost/compress v1.17.9 // indirect
|
|
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
|
|
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
|
|
github.com/lib/pq v1.10.9 // indirect
|
|
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
|
github.com/masahiro331/go-xfs-filesystem v0.0.0-20230608043311-a335f4599b70 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-runewidth v0.0.15 // indirect
|
|
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
|
|
github.com/mitchellh/copystructure v1.2.0 // indirect
|
|
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
|
github.com/moby/locker v1.0.1 // indirect
|
|
github.com/moby/spdystream v0.2.0 // indirect
|
|
github.com/moby/term v0.5.0 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.1.0 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
|
|
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/prometheus/client_golang v1.19.1
|
|
github.com/prometheus/client_model v0.6.1 // indirect
|
|
github.com/prometheus/common v0.54.0 // indirect
|
|
github.com/prometheus/procfs v0.15.1 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/robfig/cron/v3 v3.0.1
|
|
github.com/rubenv/sql-migrate v1.6.1 // indirect
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/samber/lo v1.38.1 // indirect
|
|
github.com/shopspring/decimal v1.4.0 // indirect
|
|
github.com/sirupsen/logrus v1.9.3 // indirect
|
|
github.com/spdx/tools-golang v0.5.3 // indirect
|
|
github.com/spf13/afero v1.11.0 // indirect
|
|
github.com/spf13/cast v1.6.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/subosito/gotenv v1.6.0 // indirect
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
|
github.com/xlab/treeprint v1.2.0 // indirect
|
|
go.opentelemetry.io/otel v1.27.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.27.0 // indirect
|
|
go.starlark.net v0.0.0-20240520160348-046347dcd104 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
go.uber.org/zap v1.27.0
|
|
golang.org/x/crypto v0.24.0 // indirect
|
|
golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect
|
|
golang.org/x/net v0.26.0
|
|
golang.org/x/oauth2 v0.21.0 // indirect
|
|
golang.org/x/sync v0.7.0 // indirect
|
|
golang.org/x/sys v0.22.0 // indirect
|
|
golang.org/x/text v0.16.0 // indirect
|
|
golang.org/x/time v0.5.0 // indirect
|
|
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
|
|
google.golang.org/grpc v1.64.1
|
|
google.golang.org/protobuf v1.34.2 // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
k8s.io/apiextensions-apiserver v0.30.2
|
|
k8s.io/apiserver v0.30.2 // indirect
|
|
k8s.io/cli-runtime v0.30.2 // indirect
|
|
k8s.io/component-base v0.30.2 // indirect
|
|
k8s.io/klog/v2 v2.120.1 // indirect
|
|
k8s.io/kube-openapi v0.0.0-20240521193020-835d969ad83a // indirect
|
|
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
|
|
oras.land/oras-go v1.2.5 // indirect
|
|
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
|
|
sigs.k8s.io/kustomize/api v0.17.2 // indirect
|
|
sigs.k8s.io/kustomize/kyaml v0.17.1 // indirect
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
|
|
sigs.k8s.io/yaml v1.4.0 // indirect
|
|
)
|
|
|
|
// v1.2.0 is taken from github.com/open-policy-agent/opa v0.42.0
|
|
// v1.2.0 incompatible with github.com/docker/docker v23.0.0-rc.1+incompatible
|
|
//replace oras.land/oras-go => oras.land/oras-go v1.2.4
|
|
replace github.com/docker/docker => github.com/docker/docker v27.1.1+incompatible
|