Skip to content

Commit 96a5887

Browse files
committed
chore: regenerate api
1 parent 6790bca commit 96a5887

File tree

417 files changed

+22
-54737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

417 files changed

+22
-54737
lines changed

go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ require (
1616
k8s.io/apimachinery v0.32.2
1717
k8s.io/client-go v0.32.2
1818
knative.dev/eventing v0.44.1-0.20250218063550-9a7c6d5633c5
19-
knative.dev/eventing-github v0.44.0
2019
knative.dev/hack v0.0.0-20250217122557-ce4c934f30e5
2120
knative.dev/pkg v0.0.0-20250218011850-c925de2a3f07
2221
knative.dev/serving v0.44.1-0.20250218133651-6da3d87e4d86
@@ -254,7 +253,6 @@ require (
254253
github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed // indirect
255254
github.com/google/gnostic-models v0.6.9 // indirect
256255
github.com/google/go-containerregistry v0.20.3 // indirect
257-
github.com/google/go-github/v31 v31.0.0 // indirect
258256
github.com/google/go-github/v69 v69.0.0 // indirect
259257
github.com/google/go-querystring v1.1.0 // indirect
260258
github.com/google/gofuzz v1.2.0 // indirect
@@ -512,7 +510,6 @@ require (
512510
gopkg.in/yaml.v3 v3.0.1 // indirect
513511
honnef.co/go/tools v0.6.0 // indirect
514512
k8s.io/apiextensions-apiserver v0.32.1 // indirect
515-
k8s.io/apiserver v0.32.1 // indirect
516513
k8s.io/code-generator v0.32.2 // indirect
517514
k8s.io/gengo/v2 v2.0.0-20240911193312-2b36238f13e9 // indirect
518515
k8s.io/klog/v2 v2.130.1 // indirect

go.sum

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -688,11 +688,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
688688
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
689689
github.com/google/go-containerregistry v0.20.3 h1:oNx7IdTI936V8CQRveCjaxOiegWwvM7kqkbXTpyiovI=
690690
github.com/google/go-containerregistry v0.20.3/go.mod h1:w00pIgBRDVUDFM6bq+Qx8lwNWK+cxgCuX1vd3PIBDNI=
691-
github.com/google/go-github/v31 v31.0.0 h1:JJUxlP9lFK+ziXKimTCprajMApV1ecWD4NB6CCb0plo=
692-
github.com/google/go-github/v31 v31.0.0/go.mod h1:NQPZol8/1sMoWYGN2yaALIBytu17gAWfhbweiEed3pM=
693691
github.com/google/go-github/v69 v69.0.0 h1:YnFvZ3pEIZF8KHmI8xyQQe3mYACdkhnaTV2hr7CP2/w=
694692
github.com/google/go-github/v69 v69.0.0/go.mod h1:xne4jymxLR6Uj9b7J7PyTpkMYstEMMwGZa0Aehh1azM=
695-
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
696693
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
697694
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
698695
github.com/google/go-replayers/grpcreplay v1.3.0 h1:1Keyy0m1sIpqstQmgz307zhiJ1pV4uIlFds5weTmxbo=
@@ -1951,8 +1948,6 @@ k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJ
19511948
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
19521949
knative.dev/eventing v0.44.1-0.20250218063550-9a7c6d5633c5 h1:NU2DQmEYNSPR3Vm8TMMEVh2CwS5ZBFDNr3uasA/f424=
19531950
knative.dev/eventing v0.44.1-0.20250218063550-9a7c6d5633c5/go.mod h1:vxRh6bvbXxPtoafihN420NCTZfy/dVuKBkQBCIITDIo=
1954-
knative.dev/eventing-github v0.44.0 h1:F6vaUWuPmmvEWtPBXpBoDm0eUu26f996AeWIjqWTP8s=
1955-
knative.dev/eventing-github v0.44.0/go.mod h1:gOzPGCmZnNxrmwroPrQMNnadTT2wk2CgcY63tLeqEzQ=
19561951
knative.dev/hack v0.0.0-20250217122557-ce4c934f30e5 h1:BIkxsbG01S563JJ68n4SIeIpizDlAcf1vgss6b1QAhE=
19571952
knative.dev/hack v0.0.0-20250217122557-ce4c934f30e5/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
19581953
knative.dev/networking v0.0.0-20250217154350-2cde4327c6c8 h1:3KfFspdja6AYVQu/XZy1ZQLE+ZGLMtDOaqCNmitQRH4=

pkg/adapter/adapter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ func (a *Adapter) Start(ctx context.Context) error {
6060
select {
6161
case <-time.After(a.interval):
6262
event := a.newEvent()
63+
6364
a.logger.Infow("Sending new event", zap.String("event", event.String()))
6465
if result := a.client.Send(ctx, event); !cloudevents.IsACK(result) {
6566
a.logger.Infow("failed to send event", zap.String("event", event.String()), zap.Error(result))

pkg/apis/sources/v1alpha1/samplesource_types.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ type SampleSource struct {
4141
// Status communicates the observed state of the SampleSource (from the controller).
4242
// +optional
4343
Status SampleSourceStatus `json:"status,omitempty"`
44+
45+
// inherits duck/v1 SourceSpec, which currently provides:
46+
// * Sink - a reference to an object that will resolve to a domain name or
47+
// a URI directly to use as the sink.
48+
// * CloudEventOverrides - defines overrides to control the output format
49+
// and modifications of the event sent to the sink.
50+
duckv1.SourceSpec `json:",inline"`
4451
}
4552

4653
// GetGroupVersionKind returns the GroupVersionKind.

pkg/apis/sources/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/samplesource.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
apiVersion: sources.eventing.zeiss.com/v1alpha1
2-
kind: SampleSource
3-
metadata:
4-
name: samplesource-sample
5-
spec:
6-
sink:
7-
ref:
8-
apiVersion: messaging.knative.dev/v1
9-
kind: InMemoryChannel
10-
name: samplechannel
11-
12-
---
13-
141
apiVersion: messaging.knative.dev/v1
152
kind: InMemoryChannel
163
metadata:
@@ -51,3 +38,16 @@ spec:
5138
apiVersion: serving.knative.dev/v1
5239
kind: Service
5340
name: event-display
41+
42+
---
43+
44+
apiVersion: sources.eventing.zeiss.com/v1alpha1
45+
kind: SampleSource
46+
metadata:
47+
name: samplesource-sample
48+
spec:
49+
sink:
50+
ref:
51+
apiVersion: messaging.knative.dev/v1
52+
kind: InMemoryChannel
53+
name: samplechannel

test/OWNERS

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

test/lib/listers.go

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

test/lib/resources/github.go

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

vendor/cel.dev/expr/BUILD.bazel

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

0 commit comments

Comments
 (0)