This repository has been archived by the owner on Jun 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update knative.dev/eventing. * Use TypeMeta rather than a string. * update-deps.sh * Update knative.dev/eventing.
- Loading branch information
1 parent
6d1a908
commit 25c4ff2
Showing
39 changed files
with
347 additions
and
82 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/apiserver_receive_adapter/kodata/HEAD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../.git/HEAD |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/apiserver_receive_adapter/kodata/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../LICENSE |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/apiserver_receive_adapter/kodata/VENDOR-LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../third_party/VENDOR-LICENSE |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/apiserver_receive_adapter/kodata/refs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../.git/refs |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/cronjob_receive_adapter/kodata/HEAD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../.git/HEAD |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/cronjob_receive_adapter/kodata/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../LICENSE |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/cronjob_receive_adapter/kodata/VENDOR-LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../third_party/VENDOR-LICENSE |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/cronjob_receive_adapter/kodata/refs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../.git/refs |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/in_memory/channel_controller/kodata/HEAD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../.git/HEAD |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/in_memory/channel_controller/kodata/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../LICENSE |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/in_memory/channel_controller/kodata/VENDOR-LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../third_party/VENDOR-LICENSE |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/in_memory/channel_controller/kodata/refs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../.git/refs |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/in_memory/channel_dispatcher/kodata/HEAD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../.git/HEAD |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/in_memory/channel_dispatcher/kodata/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../LICENSE |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/in_memory/channel_dispatcher/kodata/VENDOR-LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../third_party/VENDOR-LICENSE |
1 change: 1 addition & 0 deletions
1
vendor/knative.dev/eventing/cmd/in_memory/channel_dispatcher/kodata/refs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../.git/refs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
vendor/knative.dev/eventing/pkg/apis/duck/v1alpha1/delivery_types.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
Copyright 2019 The Knative Authors | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
package v1alpha1 | ||
|
||
import ( | ||
corev1 "k8s.io/api/core/v1" | ||
apisv1alpha1 "knative.dev/pkg/apis/v1alpha1" | ||
) | ||
|
||
// DeliverySpec contains the delivery options for event senders, | ||
// such as channelable and source. | ||
type DeliverySpec struct { | ||
// DeadLetterSink is the sink receiving event that couldn't be sent to | ||
// a destination. | ||
// +optional | ||
DeadLetterSink *apisv1alpha1.Destination `json:"deadLetterSink,omitempty"` | ||
|
||
// Retry is the minimum number of retries the sender should attempt when | ||
// sending an event before moving it to the dead letter sink. | ||
// +optional | ||
Retry *int32 `json:"retry,omitempty"` | ||
|
||
// BackoffPolicy is the retry backoff policy (linear, exponential) | ||
// +optional | ||
BackoffPolicy *BackoffPolicyType `json:"backoffPolicy,omitempty"` | ||
|
||
// BackoffDelay is the delay before retrying. | ||
// More information on Duration format: https://www.ietf.org/rfc/rfc3339.txt | ||
// | ||
// For linear policy, backoff delay is the time interval between retries. | ||
// For exponential policy , backoff delay is backoffDelay*2^<numberOfRetries> | ||
// +optional | ||
BackoffDelay *string | ||
} | ||
|
||
// BackoffPolicyType is the type for backoff policies | ||
type BackoffPolicyType string | ||
|
||
const ( | ||
// Linear backoff policy | ||
BackoffPolicyLinear BackoffPolicyType = "linear" | ||
|
||
// Exponential backoff policy | ||
BackoffPolicyExponential BackoffPolicyType = "exponential" | ||
) | ||
|
||
// DeliveryStatus contains the Status of an object supporting delivery options. | ||
type DeliveryStatus struct { | ||
// DeadLetterChannel is the reference to the native, platform specific channel | ||
// where failed events are sent to. | ||
// +optional | ||
DeadLetterChannel *corev1.ObjectReference `json:"deadLetterChannel,omitempty"` | ||
} |
68 changes: 68 additions & 0 deletions
68
vendor/knative.dev/eventing/pkg/apis/duck/v1alpha1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.