Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/discovery sdk #42

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ jobs:
with:
fetch-depth: 0

- name: Remove non-semver tags (from helmchart) for goreleaser to work properly
run: |
git tag -d $(git tag -l | grep -v "^v[0-9]*.[0-9]*.[0-9]*")

- uses: actions/setup-go@v4
with:
go-version: '1.21'
Expand Down Expand Up @@ -75,10 +71,6 @@ jobs:
with:
fetch-depth: 0

- name: Remove non-semver tags (from helmchart) for goreleaser to work properly
run: |
git tag -d $(git tag -l | grep -v "^v[0-9]*.[0-9]*.[0-9]*")

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand Down Expand Up @@ -134,10 +126,6 @@ jobs:
with:
fetch-depth: 0

- name: Remove non-semver tags (from helmchart) for goreleaser to work properly
run: |
git tag -d $(git tag -l | grep -v "^v[0-9]*.[0-9]*.[0-9]*")

- uses: actions/setup-go@v4
with:
go-version: '1.21'
Expand Down
5 changes: 5 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ before:

release:
prerelease: "false"

git:
ignore_tags:
- steadybit-extension-datadog-*

builds:
- binary: extension-datadog
env:
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ run: tidy build
## container: build the container image
.PHONY: container
container:
git tag -d $$(git tag -l | grep -v "^v[0-9]*.[0-9]*.[0-9]*") # delete all tags locally that are not semver
docker buildx build --build-arg BUILD_WITH_COVERAGE="true" -t extension-datadog:latest --output=type=docker .

## linuxpkg: build the linux packages
Expand Down
2 changes: 1 addition & 1 deletion e2e/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func validateDiscovery(t *testing.T, _ *e2e.Minikube, e *e2e.Extension) {
}

func testDiscovery(t *testing.T, m *e2e.Minikube, e *e2e.Extension) {
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second)
defer cancel()

target, err := e2e.PollForTarget(ctx, e, "com.steadybit.extension_datadog.monitor", func(target discovery_kit_api.Target) bool {
Expand Down
75 changes: 39 additions & 36 deletions extmonitor/monitor_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,41 @@ import (
"github.com/rs/zerolog/log"
"github.com/steadybit/discovery-kit/go/discovery_kit_api"
"github.com/steadybit/discovery-kit/go/discovery_kit_commons"
"github.com/steadybit/discovery-kit/go/discovery_kit_sdk"
"github.com/steadybit/extension-datadog/config"
"github.com/steadybit/extension-kit/extbuild"
"github.com/steadybit/extension-kit/exthttp"
"github.com/steadybit/extension-kit/extutil"
"net/http"
"strconv"
"time"
)

func RegisterMonitorDiscoveryHandlers() {
exthttp.RegisterHttpHandler("/monitor/discovery", exthttp.GetterAsHandler(getMonitorDiscoveryDescription))
exthttp.RegisterHttpHandler("/monitor/discovery/target-description", exthttp.GetterAsHandler(getMonitorTargetDescription))
exthttp.RegisterHttpHandler("/monitor/discovery/attribute-descriptions", exthttp.GetterAsHandler(getMonitorAttributeDescriptions))
exthttp.RegisterHttpHandler("/monitor/discovery/discovered-targets", getMonitorDiscoveryResults)
type monitorDiscovery struct {
}

func getMonitorDiscoveryDescription() discovery_kit_api.DiscoveryDescription {
var (
_ discovery_kit_sdk.TargetDescriber = (*monitorDiscovery)(nil)
_ discovery_kit_sdk.AttributeDescriber = (*monitorDiscovery)(nil)
)

func NewMonitorDiscovery() discovery_kit_sdk.TargetDiscovery {
discovery := &monitorDiscovery{}
return discovery_kit_sdk.NewCachedTargetDiscovery(discovery,
discovery_kit_sdk.WithRefreshTargetsNow(),
discovery_kit_sdk.WithRefreshTargetsInterval(context.Background(), 1*time.Minute),
)
}
func (d *monitorDiscovery) Describe() discovery_kit_api.DiscoveryDescription {
return discovery_kit_api.DiscoveryDescription{
Id: monitorTargetId,
RestrictTo: extutil.Ptr(discovery_kit_api.LEADER),
Discover: discovery_kit_api.DescribingEndpointReferenceWithCallInterval{
Method: "GET",
Path: "/monitor/discovery/discovered-targets",
CallInterval: extutil.Ptr("10m"),
CallInterval: extutil.Ptr("1m"),
},
}
}

func getMonitorTargetDescription() discovery_kit_api.TargetDescription {
func (d *monitorDiscovery) DescribeTarget() discovery_kit_api.TargetDescription {
return discovery_kit_api.TargetDescription{
Id: monitorTargetId,
Label: discovery_kit_api.PluralLabel{One: "Datadog monitor", Other: "Datadog monitors"},
Expand All @@ -60,42 +66,39 @@ func getMonitorTargetDescription() discovery_kit_api.TargetDescription {
}
}

func getMonitorAttributeDescriptions() discovery_kit_api.AttributeDescriptions {
return discovery_kit_api.AttributeDescriptions{
Attributes: []discovery_kit_api.AttributeDescription{
{
Attribute: "datadog.monitor.name",
Label: discovery_kit_api.PluralLabel{
One: "Datadog monitor name",
Other: "Datadog monitor names",
},
}, {
Attribute: "datadog.monitor.id",
Label: discovery_kit_api.PluralLabel{
One: "Datadog monitor ID",
Other: "Datadog monitor IDs",
},
}, {
Attribute: "datadog.monitor.tags",
Label: discovery_kit_api.PluralLabel{
One: "Datadog monitor tags",
Other: "Datadog monitor tags",
},
func (d *monitorDiscovery) DescribeAttributes() []discovery_kit_api.AttributeDescription {
return []discovery_kit_api.AttributeDescription{
{
Attribute: "datadog.monitor.name",
Label: discovery_kit_api.PluralLabel{
One: "Datadog monitor name",
Other: "Datadog monitor names",
},
}, {
Attribute: "datadog.monitor.id",
Label: discovery_kit_api.PluralLabel{
One: "Datadog monitor ID",
Other: "Datadog monitor IDs",
},
}, {
Attribute: "datadog.monitor.tags",
Label: discovery_kit_api.PluralLabel{
One: "Datadog monitor tags",
Other: "Datadog monitor tags",
},
},
}
}

func getMonitorDiscoveryResults(w http.ResponseWriter, r *http.Request, _ []byte) {
targets := GetAllMonitors(r.Context(), &config.Config, config.Config.SiteUrl)
exthttp.WriteBody(w, discovery_kit_api.DiscoveredTargets{Targets: targets})
func (d *monitorDiscovery) DiscoverTargets(ctx context.Context) ([]discovery_kit_api.Target, error) {
return getAllMonitors(ctx, &config.Config, config.Config.SiteUrl), nil
}

type ListMonitorsApi interface {
ListMonitors(ctx context.Context, params datadogV1.ListMonitorsOptionalParameters) ([]datadogV1.Monitor, *http.Response, error)
}

func GetAllMonitors(ctx context.Context, api ListMonitorsApi, siteUrl string) []discovery_kit_api.Target {
func getAllMonitors(ctx context.Context, api ListMonitorsApi, siteUrl string) []discovery_kit_api.Target {
result := make([]discovery_kit_api.Target, 0, 500)

parameters := datadogV1.NewListMonitorsOptionalParameters()
Expand Down
6 changes: 3 additions & 3 deletions extmonitor/monitor_discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func TestIterateThroughMonitorsResponses(t *testing.T) {
mockedApi.On("ListMonitors", mock.Anything, getPageMatcher(2)).Return(page3, &okResponse, nil)

// When
monitors := GetAllMonitors(context.Background(), mockedApi, "https://app.datadoghq.eu")
monitors := getAllMonitors(context.Background(), mockedApi, "https://app.datadoghq.eu")

// Then
require.Len(t, monitors, 2)
Expand Down Expand Up @@ -87,7 +87,7 @@ func TestErrorResponseReturnsIntermediateResult(t *testing.T) {
mockedApi.On("ListMonitors", mock.Anything, getPageMatcher(1)).Return([]datadogV1.Monitor{}, &okResponse, fmt.Errorf("Intentional Test error"))

// When
monitors := GetAllMonitors(context.Background(), mockedApi, "https://app.datadoghq.eu")
monitors := getAllMonitors(context.Background(), mockedApi, "https://app.datadoghq.eu")

// Then
require.Len(t, monitors, 1)
Expand Down Expand Up @@ -115,7 +115,7 @@ func TestExlcudeAttributes(t *testing.T) {
mockedApi.On("ListMonitors", mock.Anything, getPageMatcher(1)).Return(page2, &okResponse, nil)

// When
monitors := GetAllMonitors(context.Background(), mockedApi, "https://app.datadoghq.eu")
monitors := getAllMonitors(context.Background(), mockedApi, "https://app.datadoghq.eu")

// Then
require.Len(t, monitors, 1)
Expand Down
11 changes: 6 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ require (
github.com/rs/zerolog v1.31.0
github.com/steadybit/action-kit/go/action_kit_api/v2 v2.8.0
github.com/steadybit/action-kit/go/action_kit_sdk v1.1.8
github.com/steadybit/action-kit/go/action_kit_test v1.2.1
github.com/steadybit/action-kit/go/action_kit_test v1.2.4
github.com/steadybit/discovery-kit/go/discovery_kit_api v1.5.0
github.com/steadybit/discovery-kit/go/discovery_kit_commons v0.1.0
github.com/steadybit/discovery-kit/go/discovery_kit_sdk v1.0.0
github.com/steadybit/discovery-kit/go/discovery_kit_test v1.1.0
github.com/steadybit/event-kit/go/event_kit_api v1.3.1
github.com/steadybit/extension-kit v1.8.11
Expand Down Expand Up @@ -58,7 +59,6 @@ require (
github.com/golang/snappy v0.0.4 // indirect
github.com/gomarkdown/markdown v0.0.0-20231115200524-a660076da3fd // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/gorilla/css v1.0.1 // indirect
github.com/imdario/mergo v0.3.16 // indirect
Expand Down Expand Up @@ -96,8 +96,8 @@ require (
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/objx v0.5.1 // indirect
github.com/tdewolff/minify/v2 v2.20.6 // indirect
github.com/tdewolff/parse/v2 v2.7.4 // indirect
github.com/tdewolff/minify/v2 v2.20.7 // indirect
github.com/tdewolff/parse/v2 v2.7.5 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
Expand All @@ -106,6 +106,7 @@ require (
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0 // indirect
github.com/yosssi/ace v0.0.5 // indirect
github.com/zmwangx/debounce v1.0.0 // indirect
golang.org/x/arch v0.6.0 // indirect
golang.org/x/crypto v0.15.0 // indirect
golang.org/x/net v0.18.0 // indirect
Expand All @@ -124,7 +125,7 @@ require (
k8s.io/apimachinery v0.29.0-alpha.0 // indirect
k8s.io/client-go v0.29.0-alpha.0 // indirect
k8s.io/klog/v2 v2.100.1 // indirect
k8s.io/kube-openapi v0.0.0-20230905202853-d090da108d2f // indirect
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect
Expand Down
31 changes: 22 additions & 9 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ github.com/gomarkdown/markdown v0.0.0-20231115200524-a660076da3fd/go.mod h1:JDGc
github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I=
github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
Expand All @@ -114,6 +115,8 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJY
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4=
github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gopherjs/gopherjs v1.17.2 h1:fQnZVsXk8uxXIStYb0N4bGk7jeyTalG/wsZjQ25dO0g=
github.com/gopherjs/gopherjs v1.17.2/go.mod h1:pRRIvn/QzFLrKfvEz3qUuEhtE/zLCWfreZ6J5gM2i+k=
github.com/gorilla/css v1.0.1 h1:ntNaBIghp6JmvWnxbZKANoLyuXTPZ4cAMlo6RyhlbO8=
github.com/gorilla/css v1.0.1/go.mod h1:BvnYkspnSzMmwRK+b8/xgNPLiIuNZr6vbZBTPQ2A3b0=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
Expand All @@ -135,6 +138,8 @@ github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8Hm
github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=
github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
github.com/juju/gnuflag v0.0.0-20171113085948-2ce1bb71843d/go.mod h1:2PavIy+JPciBPrBUjwbNvtwB6RQlve+hkpll6QSNmOE=
github.com/kataras/blocks v0.0.8 h1:MrpVhoFTCR2v1iOOfGng5VJSILKeZZI+7NGfxEh3SUM=
github.com/kataras/blocks v0.0.8/go.mod h1:9Jm5zx6BB+06NwA+OhTbHW1xkMOYxahnqTN5DveZ2Yg=
Expand Down Expand Up @@ -229,19 +234,25 @@ github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAm
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/smartystreets/assertions v1.13.1 h1:Ef7KhSmjZcK6AVf9YbJdvPYG9avaF0ZxudX+ThRdWfU=
github.com/smartystreets/assertions v1.13.1/go.mod h1:cXr/IwVfSo/RbCSPhoAPv73p3hlSdrBH/b3SdnW/LMY=
github.com/smartystreets/goconvey v1.8.0 h1:Oi49ha/2MURE0WexF052Z0m+BNSGirfjg5RL+JXWq3w=
github.com/smartystreets/goconvey v1.8.0/go.mod h1:EdX8jtrTIj26jmjCOVNMVSIYAtgexqXKHOXW2Dx9JLg=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spkg/bom v0.0.0-20160624110644-59b7046e48ad/go.mod h1:qLr4V1qq6nMqFKkMo8ZTx3f+BZEkzsRUY10Xsm2mwU0=
github.com/steadybit/action-kit/go/action_kit_api/v2 v2.8.0 h1:mo+wf8we5LVnxgUuJvvN/DDVA42uZt6RLKCBJtkWL/4=
github.com/steadybit/action-kit/go/action_kit_api/v2 v2.8.0/go.mod h1:q9fyUhgf3LnhMRCzZ9tBjj8w2le5SUJi0vHw6A3PIKw=
github.com/steadybit/action-kit/go/action_kit_sdk v1.1.8 h1:kcpEVZw0iv5bIE7GNmjC54XRKxUlwPkDsvfMGeudIrQ=
github.com/steadybit/action-kit/go/action_kit_sdk v1.1.8/go.mod h1:h2E1gRdpIhWvfQy5XsRIfQi3AujlpdcXxt3tNU9829U=
github.com/steadybit/action-kit/go/action_kit_test v1.2.1 h1:eBELpUdYHrUz4WL6REq7TcF0zsVH0gpTmMv8Mu4JPjA=
github.com/steadybit/action-kit/go/action_kit_test v1.2.1/go.mod h1:hk7LFcPmCP+9KzPRdgLHov3f75/dZA+OLgxNGJKWc2s=
github.com/steadybit/action-kit/go/action_kit_test v1.2.4 h1:9jjdLvTez/Z0OfqdYL7TX529TqEvcoR7pAsooc5yk4w=
github.com/steadybit/action-kit/go/action_kit_test v1.2.4/go.mod h1:Ol2wBtUdeAZCQpsihQi9Cbcm0LygvgZvyu8TQ0ket0g=
github.com/steadybit/discovery-kit/go/discovery_kit_api v1.5.0 h1:kRDryl2fvjXiaVNvWtoN3JGQ+lVS59iR87OVSCTwtpc=
github.com/steadybit/discovery-kit/go/discovery_kit_api v1.5.0/go.mod h1:vAMfjAw7zpu55b8fdl0QRa4NszbuK4Pg8/nj1iHIO68=
github.com/steadybit/discovery-kit/go/discovery_kit_commons v0.1.0 h1:g4PjxmmUdHKJQ4FJ9evrIHKm5qgN2r3Rd8AJjiZZ2kI=
github.com/steadybit/discovery-kit/go/discovery_kit_commons v0.1.0/go.mod h1:Gg/S2hwxxZsYoXaFvyLkpqHmir2GVrN8nE7FWki9afQ=
github.com/steadybit/discovery-kit/go/discovery_kit_sdk v1.0.0 h1:6AF87IyHXhgB231pr7y/R91PPDECkH8J+zJXV/+6IFk=
github.com/steadybit/discovery-kit/go/discovery_kit_sdk v1.0.0/go.mod h1:Wef4foA1tlNP8oMKeGRWDp8iF7lipH6DLtYF6Dfc1uw=
github.com/steadybit/discovery-kit/go/discovery_kit_test v1.1.0 h1:hUfIZGRLpPC+ZACzmo8fWV9UOOmFQWA1egmlqO7LLKg=
github.com/steadybit/discovery-kit/go/discovery_kit_test v1.1.0/go.mod h1:DvvMXdE+SjOLDhTBhYkFupnEGQ0ZepP1ONR1xUIzqO4=
github.com/steadybit/event-kit/go/event_kit_api v1.3.1 h1:06H1UFxy6UD3E94euGhH3cpqYNkNLjIDNvh9hnJHErs=
Expand All @@ -262,10 +273,10 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/tdewolff/minify/v2 v2.20.6 h1:R4+Iw1ZqJxrqH52WWHtCpukMuhmO/EasY8YlDiSxphw=
github.com/tdewolff/minify/v2 v2.20.6/go.mod h1:9t0EY9xySGt1vrP8iscmJfywQwDCQyQBYN6ge+9GwP0=
github.com/tdewolff/parse/v2 v2.7.4 h1:zrUn2CFg9+5llbUZcsycctFlNRyV1D5gFBZRxuGzdzk=
github.com/tdewolff/parse/v2 v2.7.4/go.mod h1:3FbJWZp3XT9OWVN3Hmfp0p/a08v4h8J9W1aghka0soA=
github.com/tdewolff/minify/v2 v2.20.7 h1:NUkuzJ9dvQUNJjSdmmrfELa/ZpnMdyMR/ZKU2bw7N/E=
github.com/tdewolff/minify/v2 v2.20.7/go.mod h1:bj2NpP3zoUhsPzE4oM4JYwuUyVCU/uMaCYZ6/riEjIo=
github.com/tdewolff/parse/v2 v2.7.5 h1:RdcN3Ja6zAMSvnxxO047xRoWexX3RrXKi3H6EQHzXto=
github.com/tdewolff/parse/v2 v2.7.5/go.mod h1:3FbJWZp3XT9OWVN3Hmfp0p/a08v4h8J9W1aghka0soA=
github.com/tdewolff/test v1.0.11-0.20231101010635-f1265d231d52 h1:gAQliwn+zJrkjAHVcBEYW/RFvd2St4yYimisvozAYlA=
github.com/tdewolff/test v1.0.11-0.20231101010635-f1265d231d52/go.mod h1:6DAvZliBAAnD7rhVgwaM7DE5/d9NMOAJ09SqYqeK4QE=
github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
Expand Down Expand Up @@ -298,6 +309,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/zmwangx/debounce v1.0.0 h1:Dyf+WfLESjc2bqFKHgI1dZTW9oh6CJm8SBDkhXrwLB4=
github.com/zmwangx/debounce v1.0.0/go.mod h1:U+/QHt+bSMdUh8XKOb6U+MQV5Ew4eS8M3ua5WJ7Ns6I=
golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
golang.org/x/arch v0.6.0 h1:S0JTfE48HbRj80+4tbvZDYsJ3tGv6BUU3XxyZ7CirAc=
golang.org/x/arch v0.6.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys=
Expand Down Expand Up @@ -417,8 +430,8 @@ k8s.io/client-go v0.29.0-alpha.0 h1:PlJ1deDfJsBFw/s1Mu4mInfcpr/whkKjI/0QVzLU+hE=
k8s.io/client-go v0.29.0-alpha.0/go.mod h1:xyOOIROVCmzmrGdtA0t5PDvzZbH3HqzmJJP6L8T+cNw=
k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg=
k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
k8s.io/kube-openapi v0.0.0-20230905202853-d090da108d2f h1:eeEUOoGYWhOz7EyXqhlR2zHKNw2mNJ9vzJmub6YN6kk=
k8s.io/kube-openapi v0.0.0-20230905202853-d090da108d2f/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA=
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780=
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA=
k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI=
k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
moul.io/http2curl/v2 v2.3.0 h1:9r3JfDzWPcbIklMOs2TnIFzDYvfAZvjeavG6EzP7jYs=
Expand Down
Loading
Loading