Skip to content

Commit

Permalink
Deprecate EventType v1b1 API (#7303)
Browse files Browse the repository at this point in the history
* 💄 Deprecate EventType v1b1 API

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

* update codegen

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

---------

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
  • Loading branch information
matzew authored Nov 16, 2023
1 parent a9320dc commit 8ebe869
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/eventing-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2417,7 +2417,8 @@ Resource Types:
<h3 id="eventing.knative.dev/v1beta1.EventType">EventType
</h3>
<p>
<p>EventType represents a type of event that can be consumed from a Broker.</p>
<p>EventType represents a type of event that can be consumed from a Broker.
Deprecated: use v1beta2.EventType instead.</p>
</p>
<table>
<thead>
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/eventing/v1beta1/eventtype_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// EventType represents a type of event that can be consumed from a Broker.
// Deprecated: use v1beta2.EventType instead.
type EventType struct {
metav1.TypeMeta `json:",inline"`
// +optional
Expand Down

0 comments on commit 8ebe869

Please sign in to comment.