Eventing API
Packages:
- duck.knative.dev/v1
- duck.knative.dev/v1alpha1
- duck.knative.dev/v1beta1
- eventing.knative.dev/v1
- eventing.knative.dev/v1alpha1
- eventing.knative.dev/v1beta1
- eventing.knative.dev/v1beta2
- eventing.knative.dev/v1beta3
- flows.knative.dev/v1
- messaging.knative.dev/v1
- sinks.knative.dev/v1alpha1
- sources.knative.dev/v1
- sources.knative.dev/v1alpha1
- sources.knative.dev/v1beta2
duck.knative.dev/v1
Package v1 is the v1 version of the API.
Resource Types:
AppliedEventPoliciesStatus
(Appears on:ChannelableStatus, BrokerStatus, RequestReplyStatus, ParallelStatus, SequenceStatus, IntegrationSinkStatus, JobSinkStatus)
AppliedEventPoliciesStatus contains the list of policies which apply to a resource. This type is intended to be embedded into a status struct.
| Field | Description |
|---|---|
policies[]AppliedEventPolicyRef |
(Optional)
Policies holds the list of applied EventPolicies |
AppliedEventPolicyRef
(Appears on:AppliedEventPoliciesStatus)
AppliedEventPolicyRef is the reference to an EventPolicy
| Field | Description |
|---|---|
apiVersionstring |
APIVersion of the applied EventPolicy. This indicates, which version of EventPolicy is supported by the resource. |
namestring |
Name of the applied EventPolicy |
BackoffPolicyType
(string alias)
(Appears on:DeliverySpec)
BackoffPolicyType is the type for backoff policies
| Value | Description |
|---|---|
"exponential" |
Exponential backoff policy |
"linear" |
Linear backoff policy |
Channelable
Channelable is a skeleton type wrapping Subscribable and Addressable in the manner we expect resource writers defining compatible resources to embed it. We will typically use this type to deserialize Channelable ObjectReferences and access their subscription and address data. This is not a real resource.
| Field | Description | ||||
|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
specChannelableSpec |
Spec is the part where the Channelable fulfills the Subscribable contract.
|
||||
statusChannelableStatus |
ChannelableSpec
(Appears on:Channelable, ChannelSpec, InMemoryChannelSpec)
ChannelableSpec contains Spec of the Channelable object
| Field | Description |
|---|---|
SubscribableSpecSubscribableSpec |
(Members of |
deliveryDeliverySpec |
(Optional)
DeliverySpec contains the default delivery spec for each subscription to this Channelable. Each subscription delivery spec, if any, overrides this global delivery spec. |
ChannelableStatus
(Appears on:Channelable, ChannelStatus, InMemoryChannelStatus)
ChannelableStatus contains the Status of a Channelable object.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
AddressStatusknative.dev/pkg/apis/duck/v1.AddressStatus |
(Members of AddressStatus is the part where the Channelable fulfills the Addressable contract. |
SubscribableStatusSubscribableStatus |
(Members of Subscribers is populated with the statuses of each of the Channelable’s subscribers. |
DeliveryStatusDeliveryStatus |
(Members of DeliveryStatus contains a resolved URL to the dead letter sink address, and any other resolved delivery options. |
AppliedEventPoliciesStatusAppliedEventPoliciesStatus |
(Members of AppliedEventPoliciesStatus contains the list of EventPolicies which apply to this Channel |
DeliverySpec
(Appears on:ChannelableSpec, SubscriberSpec, BrokerSpec, TriggerSpec, RequestReplySpec, ParallelBranch, SequenceStep, SubscriptionSpec)
DeliverySpec contains the delivery options for event senders, such as channelable and source.
| Field | Description |
|---|---|
deadLetterSinkknative.dev/pkg/apis/duck/v1.Destination |
(Optional)
DeadLetterSink is the sink receiving event that could not be sent to a destination. |
retryint32 |
(Optional)
Retry is the minimum number of retries the sender should attempt when sending an event before moving it to the dead letter sink. |
timeoutstring |
(Optional)
Timeout is the timeout of each single request. The value must be greater than 0. More information on Duration format: - https://www.iso.org/iso-8601-date-and-time-format.html - https://en.wikipedia.org/wiki/ISO_8601 Note: This API is EXPERIMENTAL and might break anytime. For more details: https://github.com/knative/eventing/issues/5148 |
backoffPolicyBackoffPolicyType |
(Optional)
BackoffPolicy is the retry backoff policy (linear, exponential). |
backoffDelaystring |
(Optional)
BackoffDelay is the delay before retrying. More information on Duration format: - https://www.iso.org/iso-8601-date-and-time-format.html - https://en.wikipedia.org/wiki/ISO_8601 For linear policy, backoff delay is backoffDelay* |
retryAfterMaxstring |
(Optional)
RetryAfterMax provides an optional upper bound on the duration specified in a “Retry-After” header when calculating backoff times for retrying 429 and 503 response codes. Setting the value to zero (“PT0S”) can be used to opt-out of respecting “Retry-After” header values altogether. This value only takes effect if “Retry” is configured, and also depends on specific implementations (Channels, Sources, etc.) choosing to provide this capability. Note: This API is EXPERIMENTAL and might be changed at anytime. While this experimental feature is in the Alpha/Beta stage, you must provide a valid value to opt-in for supporting “Retry-After” headers. When the feature becomes Stable/GA “Retry-After” headers will be respected by default, and you can choose to specify “PT0S” to opt-out of supporting “Retry-After” headers. For more details: https://github.com/knative/eventing/issues/5811 More information on Duration format: - https://www.iso.org/iso-8601-date-and-time-format.html - https://en.wikipedia.org/wiki/ISO_8601 |
formatFormatType |
(Optional)
format specifies the desired event format for the cloud event. It can be one of the following values: - nil: default value, no specific format required. - “JSON”: indicates the event should be in structured mode. - “binary”: indicates the event should be in binary mode. |
DeliveryStatus
(Appears on:ChannelableStatus, BrokerStatus, TriggerStatus, SubscriptionStatusPhysicalSubscription)
DeliveryStatus contains the Status of an object supporting delivery options. This type is intended to be embedded into a status struct.
| Field | Description |
|---|---|
deadLetterSinkUriknative.dev/pkg/apis.URL |
(Optional)
DeadLetterSink is a KReference that is the reference to the native, platform specific channel where failed events are sent to. |
deadLetterSinkCACertsstring |
(Optional)
DeadLetterSinkCACerts are Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468. |
deadLetterSinkAudiencestring |
(Optional)
DeadLetterSinkAudience is the OIDC audience of the DeadLetterSink |
FormatType
(string alias)
(Appears on:DeliverySpec)
FormatType is the type for delivery format
| Value | Description |
|---|---|
"binary" |
|
"json" |
Subscribable
Subscribable is a skeleton type wrapping Subscribable in the manner we expect resource writers defining compatible resources to embed it. We will typically use this type to deserialize SubscribableType ObjectReferences and access the Subscription data. This is not a real resource.
| Field | Description | ||
|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
specSubscribableSpec |
SubscribableSpec is the part where Subscribable object is configured as to be compatible with Subscribable contract.
|
||
statusSubscribableStatus |
SubscribableStatus is the part where SubscribableStatus object is configured as to be compatible with Subscribable contract. |
SubscribableSpec
(Appears on:ChannelableSpec, Subscribable)
SubscribableSpec shows how we expect folks to embed Subscribable in their Spec field.
| Field | Description |
|---|---|
subscribers[]SubscriberSpec |
This is the list of subscriptions for this subscribable. |
SubscribableStatus
(Appears on:ChannelableStatus, Subscribable)
SubscribableStatus is the schema for the subscribable’s status portion of the status section of the resource.
| Field | Description |
|---|---|
subscribers[]SubscriberStatus |
This is the list of subscription’s statuses for this channel. |
SubscriberSpec
(Appears on:SubscribableSpec)
SubscriberSpec defines a single subscriber to a Subscribable.
At least one of SubscriberURI and ReplyURI must be present
| Field | Description |
|---|---|
namestring |
(Optional)
Name is used to identify the original subscription object. |
uidk8s.io/apimachinery/pkg/types.UID |
(Optional)
UID is used to understand the origin of the subscriber. |
generationint64 |
(Optional)
Generation of the origin of the subscriber with uid:UID. |
subscriberUriknative.dev/pkg/apis.URL |
(Optional)
SubscriberURI is the endpoint for the subscriber |
subscriberCACertsstring |
(Optional)
SubscriberCACerts is the Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468 for the subscriberUri |
subscriberAudiencestring |
(Optional)
SubscriberAudience is the OIDC audience for the subscriberUri. |
replyUriknative.dev/pkg/apis.URL |
(Optional)
ReplyURI is the endpoint for the reply |
replyCACertsstring |
(Optional)
ReplyCACerts is the Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468 for the replyUri. |
replyAudiencestring |
(Optional)
ReplyAudience is the OIDC audience for the replyUri. |
deliveryDeliverySpec |
(Optional)
DeliverySpec contains options controlling the event delivery |
authknative.dev/pkg/apis/duck/v1.AuthStatus |
(Optional)
Auth contains the service account name for the subscription |
SubscriberStatus
(Appears on:SubscribableStatus)
SubscriberStatus defines the status of a single subscriber to a Channel.
| Field | Description |
|---|---|
uidk8s.io/apimachinery/pkg/types.UID |
(Optional)
UID is used to understand the origin of the subscriber. |
observedGenerationint64 |
(Optional)
Generation of the origin of the subscriber with uid:UID. |
readyKubernetes core/v1.ConditionStatus |
Status of the subscriber. |
messagestring |
(Optional)
A human readable message indicating details of Ready status. |
authknative.dev/pkg/apis/duck/v1.AuthStatus |
(Optional)
Auth provides the relevant information for OIDC authentication. |
duck.knative.dev/v1alpha1
Resource Types:
Placeable
(Appears on:PlaceableStatus)
Placeable is a list of podName and virtual replicas pairs. Each pair represents the assignment of virtual replicas to a pod
| Field | Description |
|---|---|
maxAllowedVReplicasint32 |
|
placements[]Placement |
PlaceableStatus
(Appears on:PlaceableType)
| Field | Description |
|---|---|
PlaceablePlaceable |
(Members of |
PlaceableType
PlaceableType is a skeleton type wrapping Placeable in the manner we expect resource writers defining compatible resources to embed it. We will typically use this type to deserialize Placeable ObjectReferences and access the Placeable data. This is not a real resource.
| Field | Description |
|---|---|
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
statusPlaceableStatus |
Placement
(Appears on:Placeable)
| Field | Description |
|---|---|
podNamestring |
PodName is the name of the pod where the resource is placed |
vreplicasint32 |
VReplicas is the number of virtual replicas assigned to in the pod |
duck.knative.dev/v1beta1
Package v1beta1 is the v1beta1 version of the API.
Resource Types:
BackoffPolicyType
(string alias)
(Appears on:DeliverySpec)
BackoffPolicyType is the type for backoff policies
| Value | Description |
|---|---|
"exponential" |
Exponential backoff policy |
"linear" |
Linear backoff policy |
Channelable
Channelable is a skeleton type wrapping Subscribable and Addressable in the manner we expect resource writers defining compatible resources to embed it. We will typically use this type to deserialize Channelable ObjectReferences and access their subscription and address data. This is not a real resource.
| Field | Description | ||||
|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
specChannelableSpec |
Spec is the part where the Channelable fulfills the Subscribable contract.
|
||||
statusChannelableStatus |
ChannelableSpec
(Appears on:Channelable)
ChannelableSpec contains Spec of the Channelable object
| Field | Description |
|---|---|
SubscribableSpecSubscribableSpec |
(Members of |
deliveryDeliverySpec |
(Optional)
DeliverySpec contains options controlling the event delivery |
ChannelableStatus
(Appears on:Channelable)
ChannelableStatus contains the Status of a Channelable object.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
AddressStatusknative.dev/pkg/apis/duck/v1.AddressStatus |
(Members of AddressStatus is the part where the Channelable fulfills the Addressable contract. |
SubscribableStatusSubscribableStatus |
(Members of Subscribers is populated with the statuses of each of the Channelable’s subscribers. |
deadLetterChannelknative.dev/pkg/apis/duck/v1.KReference |
(Optional)
DeadLetterChannel is a KReference and is set by the channel when it supports native error handling via a channel Failed messages are delivered here. |
DeliverySpec
(Appears on:ChannelableSpec, SubscriberSpec)
DeliverySpec contains the delivery options for event senders, such as channelable and source.
| Field | Description |
|---|---|
deadLetterSinkknative.dev/pkg/apis/duck/v1.Destination |
(Optional)
DeadLetterSink is the sink receiving event that could not be sent to a destination. |
retryint32 |
(Optional)
Retry is the minimum number of retries the sender should attempt when sending an event before moving it to the dead letter sink. |
timeoutstring |
Timeout is the timeout of each single request. More information on Duration format: - https://www.iso.org/iso-8601-date-and-time-format.html - https://en.wikipedia.org/wiki/ISO_8601 |
backoffPolicyBackoffPolicyType |
(Optional)
BackoffPolicy is the retry backoff policy (linear, exponential). |
backoffDelaystring |
(Optional)
BackoffDelay is the delay before retrying. More information on Duration format: - https://www.iso.org/iso-8601-date-and-time-format.html - https://en.wikipedia.org/wiki/ISO_8601 For linear policy, backoff delay is backoffDelay* |
DeliveryStatus
DeliveryStatus contains the Status of an object supporting delivery options.
| Field | Description |
|---|---|
deadLetterChannelknative.dev/pkg/apis/duck/v1.KReference |
(Optional)
DeadLetterChannel is a KReference that is the reference to the native, platform specific channel where failed events are sent to. |
Subscribable
Subscribable is a skeleton type wrapping Subscribable in the manner we expect resource writers defining compatible resources to embed it. We will typically use this type to deserialize SubscribableType ObjectReferences and access the Subscription data. This is not a real resource.
| Field | Description | ||
|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
specSubscribableSpec |
SubscribableSpec is the part where Subscribable object is configured as to be compatible with Subscribable contract.
|
||
statusSubscribableStatus |
SubscribableStatus is the part where SubscribableStatus object is configured as to be compatible with Subscribable contract. |
SubscribableSpec
(Appears on:ChannelableSpec, Subscribable)
SubscribableSpec shows how we expect folks to embed Subscribable in their Spec field.
| Field | Description |
|---|---|
subscribers[]SubscriberSpec |
This is the list of subscriptions for this subscribable. |
SubscribableStatus
(Appears on:ChannelableStatus, Subscribable)
SubscribableStatus is the schema for the subscribable’s status portion of the status section of the resource.
| Field | Description |
|---|---|
subscribers[]SubscriberStatus |
This is the list of subscription’s statuses for this channel. |
SubscriberSpec
(Appears on:SubscribableSpec)
SubscriberSpec defines a single subscriber to a Subscribable.
At least one of SubscriberURI and ReplyURI must be present
| Field | Description |
|---|---|
uidk8s.io/apimachinery/pkg/types.UID |
(Optional)
UID is used to understand the origin of the subscriber. |
generationint64 |
(Optional)
Generation of the origin of the subscriber with uid:UID. |
subscriberUriknative.dev/pkg/apis.URL |
(Optional)
SubscriberURI is the endpoint for the subscriber |
replyUriknative.dev/pkg/apis.URL |
(Optional)
ReplyURI is the endpoint for the reply |
deliveryDeliverySpec |
(Optional)
DeliverySpec contains options controlling the event delivery |
SubscriberStatus
(Appears on:SubscribableStatus)
SubscriberStatus defines the status of a single subscriber to a Channel.
| Field | Description |
|---|---|
uidk8s.io/apimachinery/pkg/types.UID |
(Optional)
UID is used to understand the origin of the subscriber. |
observedGenerationint64 |
(Optional)
Generation of the origin of the subscriber with uid:UID. |
readyKubernetes core/v1.ConditionStatus |
Status of the subscriber. |
messagestring |
(Optional)
A human readable message indicating details of Ready status. |
eventing.knative.dev/v1
Package v1 is the v1 version of the API.
Resource Types:
Broker
Broker collects a pool of events that are consumable using Triggers. Brokers provide a well-known endpoint for event delivery that senders can use with minimal knowledge of the event routing strategy. Subscribers use Triggers to request delivery of events from a Broker’s pool to a specific URL or Addressable endpoint.
| Field | Description | ||||
|---|---|---|---|---|---|
apiVersionstring |
eventing.knative.dev/v1
|
||||
kindstring |
Broker |
||||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
specBrokerSpec |
Spec defines the desired state of the Broker.
|
||||
statusBrokerStatus |
(Optional)
Status represents the current state of the Broker. This data may be out of date. |
Trigger
Trigger represents a request to have events delivered to a subscriber from a Broker’s event pool.
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
eventing.knative.dev/v1
|
||||||||||||
kindstring |
Trigger |
||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||
specTriggerSpec |
Spec defines the desired state of the Trigger.
|
||||||||||||
statusTriggerStatus |
(Optional)
Status represents the current state of the Trigger. This data may be out of date. |
BrokerSpec
(Appears on:Broker)
| Field | Description |
|---|---|
configknative.dev/pkg/apis/duck/v1.KReference |
(Optional)
Config is a KReference to the configuration that specifies configuration options for this Broker. For example, this could be a pointer to a ConfigMap. |
deliveryDeliverySpec |
(Optional)
Delivery contains the delivery spec for each trigger to this Broker. Each trigger delivery spec, if any, overrides this global delivery spec. |
BrokerStatus
(Appears on:Broker)
BrokerStatus represents the current state of a Broker.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Broker that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
AddressStatusknative.dev/pkg/apis/duck/v1.AddressStatus |
(Members of AddressStatus is the part where the Broker fulfills the Addressable contract. It exposes the endpoint as an URI to get events delivered into the Broker mesh. |
DeliveryStatusDeliveryStatus |
(Members of DeliveryStatus contains a resolved URL to the dead letter sink address, and any other resolved delivery options. |
AppliedEventPoliciesStatusAppliedEventPoliciesStatus |
(Members of AppliedEventPoliciesStatus contains the list of EventPolicies which apply to this Broker |
SubscriptionsAPIFilter
(Appears on:SubscriptionsAPIFilter, TriggerSpec, EventPolicySpec, ApiServerSourceSpec)
SubscriptionsAPIFilter allows defining a filter expression using CloudEvents Subscriptions API. If multiple filters are specified, then the same semantics of SubscriptionsAPIFilter.All is applied. If no filter dialect or empty object is specified, then the filter always accept the events.
| Field | Description |
|---|---|
all[]SubscriptionsAPIFilter |
(Optional)
All evaluates to true if all the nested expressions evaluate to true. It must contain at least one filter expression. |
any[]SubscriptionsAPIFilter |
(Optional)
Any evaluates to true if at least one of the nested expressions evaluates to true. It must contain at least one filter expression. |
notSubscriptionsAPIFilter |
(Optional)
Not evaluates to true if the nested expression evaluates to false. |
exactmap[string]string |
(Optional)
Exact evaluates to true if the values of the matching CloudEvents attributes MUST all exactly match with the associated value String specified (case-sensitive). The keys are the names of the CloudEvents attributes to be matched, and their values are the String values to use in the comparison. The attribute name and value specified in the filter express MUST NOT be empty strings. |
prefixmap[string]string |
(Optional)
Prefix evaluates to true if the values of the matching CloudEvents attributes MUST all start with the associated value String specified (case sensitive). The keys are the names of the CloudEvents attributes to be matched, and their values are the String values to use in the comparison. The attribute name and value specified in the filter express MUST NOT be empty strings. |
suffixmap[string]string |
(Optional)
Suffix evaluates to true if the values of the matching CloudEvents attributes MUST all end with the associated value String specified (case sensitive). The keys are the names of the CloudEvents attributes to be matched, and their values are the String values to use in the comparison. The attribute name and value specified in the filter express MUST NOT be empty strings. |
cesqlstring |
(Optional)
CESQL is a CloudEvents SQL expression that will be evaluated to true or false against each CloudEvent. |
TriggerFilter
(Appears on:TriggerSpec)
| Field | Description |
|---|---|
attributesTriggerFilterAttributes |
(Optional)
Attributes filters events by exact match on event context attributes. Each key in the map is compared with the equivalent key in the event context. An event passes the filter if all values are equal to the specified values. Nested context attributes are not supported as keys. Only string values are supported. |
TriggerFilterAttributes
(map[string]string alias)
(Appears on:TriggerFilter)
TriggerFilterAttributes is a map of context attribute names to values for filtering by equality. Only exact matches will pass the filter. You can use the value ” to indicate all strings match.
TriggerSpec
(Appears on:Trigger)
| Field | Description |
|---|---|
brokerstring |
Broker is the broker that this trigger receives events from. |
brokerRefknative.dev/pkg/apis/duck/v1.KReference |
BrokerRef is the broker that is used for cross-namespace referencing. |
filterTriggerFilter |
(Optional)
Filter is the filter to apply against all events from the Broker. Only events that pass this filter will be sent to the Subscriber. If not specified, will default to allowing all events. |
filters[]SubscriptionsAPIFilter |
(Optional)
Filters is an experimental field that conforms to the CNCF CloudEvents Subscriptions API. It’s an array of filter expressions that evaluate to true or false. If any filter expression in the array evaluates to false, the event MUST NOT be sent to the Subscriber. If all the filter expressions in the array evaluate to true, the event MUST be attempted to be delivered. Absence of a filter or empty array implies a value of true. In the event of users specifying both Filter and Filters, then the latter will override the former. This will allow users to try out the effect of the new Filters field without compromising the existing attribute-based Filter and try it out on existing Trigger objects. |
subscriberknative.dev/pkg/apis/duck/v1.Destination |
Subscriber is the addressable that receives events from the Broker that pass the Filter. It is required. |
deliveryDeliverySpec |
(Optional)
Delivery contains the delivery spec for this specific trigger. |
TriggerStatus
(Appears on:Trigger)
TriggerStatus represents the current state of a Trigger.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Trigger that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
subscriberUriknative.dev/pkg/apis.URL |
(Optional)
SubscriberURI is the resolved URI of the receiver for this Trigger. |
subscriberCACertsstring |
(Optional)
SubscriberCACerts is the Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468 of the receiver for this Trigger. |
subscriberAudiencestring |
(Optional)
SubscriberAudience is the OIDC audience of the subscriber. |
DeliveryStatusDeliveryStatus |
(Members of DeliveryStatus contains a resolved URL to the dead letter sink address, and any other resolved delivery options. |
authknative.dev/pkg/apis/duck/v1.AuthStatus |
(Optional)
Auth provides the relevant information for OIDC authentication. |
eventing.knative.dev/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Resource Types:
EventPolicy
EventPolicy represents a policy for addressable resources (Broker, Channel, sinks).
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
apiVersionstring |
eventing.knative.dev/v1alpha1
|
||||||
kindstring |
EventPolicy |
||||||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||
specEventPolicySpec |
Spec defines the desired state of the EventPolicy.
|
||||||
statusEventPolicyStatus |
(Optional)
Status represents the current state of the EventPolicy. This data may be out of date. |
RequestReply
RequestRepluy represents synchronous interface to sending and receiving events from a Broker.
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
eventing.knative.dev/v1alpha1
|
||||||||||||
kindstring |
RequestReply |
||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||
specRequestReplySpec |
Spec defines the desired state of the EventPolicy.
|
||||||||||||
statusRequestReplyStatus |
(Optional)
Status represents the current state of the EventPolicy. This data may be out of date. |
EventPolicyFromReference
(Appears on:EventPolicySpecFrom)
| Field | Description |
|---|---|
apiVersionstring |
API version of the referent. |
kindstring |
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
namestring |
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
namespacestring |
(Optional)
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ This is optional field, it gets defaulted to the object holding it if left out. |
EventPolicySelector
(Appears on:EventPolicySpecTo)
| Field | Description |
|---|---|
LabelSelectorKubernetes meta/v1.LabelSelector |
(Members of |
EventPolicySpec
(Appears on:EventPolicy)
| Field | Description |
|---|---|
to[]EventPolicySpecTo |
(Optional)
To lists all resources for which this policy applies. Resources in this list must act like an ingress and have an audience. The resources are part of the same namespace as the EventPolicy. An empty list means it applies to all resources in the EventPolicies namespace |
from[]EventPolicySpecFrom |
From is the list of sources or oidc identities, which are allowed to send events to the targets (.spec.to). |
filters[]SubscriptionsAPIFilter |
(Optional)
Filters is the list of SubscriptoinsApi filters which determine whether or not the event is accepted. It is an array of filter expressions that evaluate to true or false. If any filter expression in the array evaluates to false, the event will not pass the target resource’s ingress. Absence of any filters implies that the filters always evaluate to true. |
EventPolicySpecFrom
(Appears on:EventPolicySpec)
| Field | Description |
|---|---|
refEventPolicyFromReference |
(Optional)
Ref contains a direct reference to a resource which is allowed to send events to the target. |
substring |
(Optional)
Sub sets the OIDC identity name to be allowed to send events to the target. It is also possible to set a glob-like pattern to match any suffix. |
EventPolicySpecTo
(Appears on:EventPolicySpec)
| Field | Description |
|---|---|
refEventPolicyToReference |
(Optional)
Ref contains the direct reference to a target |
selectorEventPolicySelector |
(Optional)
Selector contains a selector to group targets |
EventPolicyStatus
(Appears on:EventPolicy)
EventPolicyStatus represents the current state of a EventPolicy.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
from[]string |
From is the list of resolved oidc identities from .spec.from |
EventPolicyToReference
(Appears on:EventPolicySpecTo)
| Field | Description |
|---|---|
apiVersionstring |
API version of the referent. |
kindstring |
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
namestring |
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
RequestReplySpec
(Appears on:RequestReply)
| Field | Description |
|---|---|
brokerRefknative.dev/pkg/apis/duck/v1.KReference |
BrokerRef contains the reference to the broker the RequestReply sends events to. |
correlationAttributestring |
|
replyAttributestring |
|
timeoutstring |
|
deliveryDeliverySpec |
|
secrets[]string |
RequestReplyStatus
(Appears on:RequestReply)
RequestReplyStatus represents the current state of a RequestReply.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
AddressStatusknative.dev/pkg/apis/duck/v1.AddressStatus |
(Members of AddressStatus is the part where the RequestReply fulfills the Addressable contract. It exposes the endpoint as an URI to get events delivered. |
AppliedEventPoliciesStatusAppliedEventPoliciesStatus |
(Members of AppliedEventPoliciesStatus contains the list of EventPolicies which apply to this Broker. |
eventing.knative.dev/v1beta1
Package v1beta1 is the v1beta1 version of the API.
Resource Types:
EventType
EventType represents a type of event that can be consumed from a Broker. Deprecated: use v1beta2.EventType instead.
| Field | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
eventing.knative.dev/v1beta1
|
||||||||||||||
kindstring |
EventType |
||||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||
specEventTypeSpec |
Spec defines the desired state of the EventType.
|
||||||||||||||
statusEventTypeStatus |
(Optional)
Status represents the current state of the EventType. This data may be out of date. |
EventTypeSpec
(Appears on:EventType)
| Field | Description |
|---|---|
typestring |
Type represents the CloudEvents type. It is authoritative. |
sourceknative.dev/pkg/apis.URL |
(Optional)
Source is a URI, it represents the CloudEvents source. |
schemaknative.dev/pkg/apis.URL |
(Optional)
Schema is a URI, it represents the CloudEvents schemaurl extension attribute. It may be a JSON schema, a protobuf schema, etc. It is optional. |
schemaDatastring |
(Optional)
SchemaData allows the CloudEvents schema to be stored directly in the EventType. Content is dependent on the encoding. Optional attribute. The contents are not validated or manipulated by the system. |
brokerstring |
(Optional)
Broker refers to the Broker that can provide the EventType. |
referenceknative.dev/pkg/apis/duck/v1.KReference |
(Optional)
Reference is a KReference to the belonging addressable. For example, this could be a pointer to a Broker. |
descriptionstring |
(Optional)
Description is an optional field used to describe the EventType, in any meaningful way. |
EventTypeStatus
(Appears on:EventType)
EventTypeStatus represents the current state of a EventType.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
eventing.knative.dev/v1beta2
Package v1beta2 is the v1beta2 version of the API.
Resource Types:
EventType
EventType represents a type of event that can be consumed from a Broker.
| Field | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
eventing.knative.dev/v1beta2
|
||||||||||||||
kindstring |
EventType |
||||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||
specEventTypeSpec |
Spec defines the desired state of the EventType.
|
||||||||||||||
statusEventTypeStatus |
(Optional)
Status represents the current state of the EventType. This data may be out of date. |
EventTypeSpec
(Appears on:EventType)
| Field | Description |
|---|---|
typestring |
Type represents the CloudEvents type. It is authoritative. |
sourceknative.dev/pkg/apis.URL |
(Optional)
Source is a URI, it represents the CloudEvents source. |
schemaknative.dev/pkg/apis.URL |
(Optional)
Schema is a URI, it represents the CloudEvents schemaurl extension attribute. It may be a JSON schema, a protobuf schema, etc. It is optional. |
schemaDatastring |
(Optional)
SchemaData allows the CloudEvents schema to be stored directly in the EventType. Content is dependent on the encoding. Optional attribute. The contents are not validated or manipulated by the system. |
brokerstring |
(Optional)
Broker refers to the Broker that can provide the EventType. Deprecated: This field is deprecated and will be removed in a future release. |
referenceknative.dev/pkg/apis/duck/v1.KReference |
(Optional)
Reference is a KReference to the belonging addressable. For example, this could be a pointer to a Broker. |
descriptionstring |
(Optional)
Description is an optional field used to describe the EventType, in any meaningful way. |
EventTypeStatus
(Appears on:EventType)
EventTypeStatus represents the current state of a EventType.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
eventing.knative.dev/v1beta3
Package v1beta3 is the v1beta3 version of the API.
Resource Types:
EventType
EventType represents a type of event that can be consumed from a Broker.
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
apiVersionstring |
eventing.knative.dev/v1beta3
|
||||||
kindstring |
EventType |
||||||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||
specEventTypeSpec |
Spec defines the desired state of the EventType.
|
||||||
statusEventTypeStatus |
(Optional)
Status represents the current state of the EventType. This data may be out of date. |
EventAttributeDefinition
(Appears on:EventTypeSpec)
| Field | Description |
|---|---|
namestring |
Name is the name of the CloudEvents attribute. |
requiredbool |
Required determines whether this attribute must be set on corresponding CloudEvents. |
valuestring |
Value is a string representing the allowable values for the EventType attribute. It may be a single value such as “/apis/v1/namespaces/default/pingsource/ps”, or it could be a template for the allowed values, such as “/apis/v1/namespaces/{namespace}/pingsource/{sourceName}. To specify a section of the string value which may change between different CloudEvents you can use curly brackets {} and optionally a variable name between them. |
EventTypeSpec
(Appears on:EventType)
| Field | Description |
|---|---|
referenceknative.dev/pkg/apis/duck/v1.KReference |
(Optional)
Reference is a KReference to the belonging addressable. For example, this could be a pointer to a Broker. |
descriptionstring |
(Optional)
Description is an optional field used to describe the EventType, in any meaningful way. |
attributes[]EventAttributeDefinition |
Attributes is an array of CloudEvent attributes and extension attributes. |
EventTypeStatus
(Appears on:EventType)
EventTypeStatus represents the current state of a EventType.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
flows.knative.dev/v1
Package v1 is the v1 version of the API.
Resource Types:
Parallel
Parallel defines conditional branches that will be wired in series through Channels and Subscriptions.
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||
specParallelSpec |
Spec defines the desired state of the Parallel.
|
||||||
statusParallelStatus |
(Optional)
Status represents the current state of the Parallel. This data may be out of date. |
ParallelBranch
(Appears on:ParallelSpec)
| Field | Description |
|---|---|
filterknative.dev/pkg/apis/duck/v1.Destination |
(Optional)
Filter is the expression guarding the branch |
subscriberknative.dev/pkg/apis/duck/v1.Destination |
Subscriber receiving the event when the filter passes |
replyknative.dev/pkg/apis/duck/v1.Destination |
(Optional)
Reply is a Reference to where the result of Subscriber of this case gets sent to. If not specified, sent the result to the Parallel Reply |
deliveryDeliverySpec |
(Optional)
Delivery is the delivery specification for events to the subscriber This includes things like retries, DLS, etc. |
ParallelBranchStatus
(Appears on:ParallelStatus)
ParallelBranchStatus represents the current state of a Parallel branch
| Field | Description |
|---|---|
filterSubscriptionStatusParallelSubscriptionStatus |
FilterSubscriptionStatus corresponds to the filter subscription status. |
filterChannelStatusParallelChannelStatus |
FilterChannelStatus corresponds to the filter channel status. |
subscriberSubscriptionStatusParallelSubscriptionStatus |
SubscriptionStatus corresponds to the subscriber subscription status. |
ParallelChannelStatus
(Appears on:ParallelBranchStatus, ParallelStatus)
| Field | Description |
|---|---|
channelKubernetes core/v1.ObjectReference |
Channel is the reference to the underlying channel. |
readyknative.dev/pkg/apis.Condition |
ReadyCondition indicates whether the Channel is ready or not. |
ParallelSpec
(Appears on:Parallel)
| Field | Description |
|---|---|
branches[]ParallelBranch |
Branches is the list of Filter/Subscribers pairs. |
channelTemplateChannelTemplateSpec |
(Optional)
ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD for the namespace (or cluster, in case there are no defaults for the namespace). |
replyknative.dev/pkg/apis/duck/v1.Destination |
(Optional)
Reply is a Reference to where the result of a case Subscriber gets sent to when the case does not have a Reply |
ParallelStatus
(Appears on:Parallel)
ParallelStatus represents the current state of a Parallel.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
ingressChannelStatusParallelChannelStatus |
IngressChannelStatus corresponds to the ingress channel status. |
branchStatuses[]ParallelBranchStatus |
BranchStatuses is an array of corresponding to branch statuses. Matches the Spec.Branches array in the order. |
AddressStatusknative.dev/pkg/apis/duck/v1.AddressStatus |
(Members of AddressStatus is the starting point to this Parallel. Sending to this will target the first subscriber. It generally has the form {channel}.{namespace}.svc.{cluster domain name} |
authknative.dev/pkg/apis/duck/v1.AuthStatus |
(Optional)
Auth provides the relevant information for OIDC authentication. |
AppliedEventPoliciesStatusAppliedEventPoliciesStatus |
(Members of AppliedEventPoliciesStatus contains the list of EventPolicies which apply to this Broker |
ParallelSubscriptionStatus
(Appears on:ParallelBranchStatus)
| Field | Description |
|---|---|
subscriptionKubernetes core/v1.ObjectReference |
Subscription is the reference to the underlying Subscription. |
readyknative.dev/pkg/apis.Condition |
ReadyCondition indicates whether the Subscription is ready or not. |
Sequence
Sequence defines a sequence of Subscribers that will be wired in series through Channels and Subscriptions.
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||
specSequenceSpec |
Spec defines the desired state of the Sequence.
|
||||||
statusSequenceStatus |
(Optional)
Status represents the current state of the Sequence. This data may be out of date. |
SequenceChannelStatus
(Appears on:SequenceStatus)
| Field | Description |
|---|---|
channelKubernetes core/v1.ObjectReference |
Channel is the reference to the underlying channel. |
readyknative.dev/pkg/apis.Condition |
ReadyCondition indicates whether the Channel is ready or not. |
SequenceSpec
(Appears on:Sequence)
| Field | Description |
|---|---|
steps[]SequenceStep |
Steps is the list of Destinations (processors / functions) that will be called in the order provided. Each step has its own delivery options |
channelTemplateChannelTemplateSpec |
(Optional)
ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD for the namespace (or cluster, in case there are no defaults for the namespace). |
replyknative.dev/pkg/apis/duck/v1.Destination |
(Optional)
Reply is a Reference to where the result of the last Subscriber gets sent to. |
SequenceStatus
(Appears on:Sequence)
SequenceStatus represents the current state of a Sequence.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
subscriptionStatuses[]SequenceSubscriptionStatus |
(Optional)
SubscriptionStatuses is an array of corresponding Subscription statuses. Matches the Spec.Steps array in the order. |
channelStatuses[]SequenceChannelStatus |
(Optional)
ChannelStatuses is an array of corresponding Channel statuses. Matches the Spec.Steps array in the order. |
addressknative.dev/pkg/apis/duck/v1.Addressable |
(Optional)
Address is the starting point to this Sequence. Sending to this will target the first subscriber. It generally has the form {channel}.{namespace}.svc.{cluster domain name} |
authknative.dev/pkg/apis/duck/v1.AuthStatus |
(Optional)
Auth provides the relevant information for OIDC authentication. |
AppliedEventPoliciesStatusAppliedEventPoliciesStatus |
(Members of AppliedEventPoliciesStatus contains the list of EventPolicies which apply to this Broker |
SequenceStep
(Appears on:SequenceSpec)
| Field | Description |
|---|---|
Destinationknative.dev/pkg/apis/duck/v1.Destination |
(Members of Subscriber receiving the step event |
deliveryDeliverySpec |
(Optional)
Delivery is the delivery specification for events to the subscriber This includes things like retries, DLS, etc. |
SequenceSubscriptionStatus
(Appears on:SequenceStatus)
| Field | Description |
|---|---|
subscriptionKubernetes core/v1.ObjectReference |
Subscription is the reference to the underlying Subscription. |
readyknative.dev/pkg/apis.Condition |
ReadyCondition indicates whether the Subscription is ready or not. |
messaging.knative.dev/v1
Package v1 is the v1 version of the API.
Resource Types:
Channel
Channel represents a generic Channel. It is normally used when we want a Channel, but do not need a specific Channel implementation.
| Field | Description | ||||
|---|---|---|---|---|---|
apiVersionstring |
messaging.knative.dev/v1
|
||||
kindstring |
Channel |
||||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
specChannelSpec |
Spec defines the desired state of the Channel.
|
||||
statusChannelStatus |
(Optional)
Status represents the current state of the Channel. This data may be out of date. |
InMemoryChannel
InMemoryChannel is a resource representing an in memory channel
| Field | Description | ||
|---|---|---|---|
apiVersionstring |
messaging.knative.dev/v1
|
||
kindstring |
InMemoryChannel |
||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
specInMemoryChannelSpec |
Spec defines the desired state of the Channel.
|
||
statusInMemoryChannelStatus |
(Optional)
Status represents the current state of the Channel. This data may be out of date. |
Subscription
Subscription routes events received on a Channel to a DNS name and corresponds to the subscriptions.channels.knative.dev CRD.
| Field | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
messaging.knative.dev/v1
|
||||||||
kindstring |
Subscription |
||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||
specSubscriptionSpec |
|
||||||||
statusSubscriptionStatus |
ChannelDefaulter
ChannelDefaulter sets the default Channel CRD and Arguments on Channels that do not specify any implementation.
ChannelSpec
(Appears on:Channel)
ChannelSpec defines which subscribers have expressed interest in receiving events from this Channel. It also defines the ChannelTemplate to use in order to create the CRD Channel backing this Channel.
| Field | Description |
|---|---|
channelTemplateChannelTemplateSpec |
(Optional)
ChannelTemplate specifies which Channel CRD to use to create the CRD Channel backing this Channel. This is immutable after creation. Normally this is set by the Channel defaulter, not directly by the user. |
ChannelableSpecChannelableSpec |
(Members of Channel conforms to ChannelableSpec |
ChannelStatus
(Appears on:Channel)
ChannelStatus represents the current state of a Channel.
| Field | Description |
|---|---|
ChannelableStatusChannelableStatus |
(Members of Channel conforms to ChannelableStatus |
channelknative.dev/pkg/apis/duck/v1.KReference |
(Optional)
Channel is an KReference to the Channel CRD backing this Channel. |
ChannelTemplateSpec
(Appears on:ParallelSpec, SequenceSpec, ChannelSpec)
| Field | Description |
|---|---|
speck8s.io/apimachinery/pkg/runtime.RawExtension |
(Optional)
Spec defines the Spec to use for each channel created. Passed in verbatim to the Channel CRD as Spec section. |
ChannelTemplateSpecOption
ChannelTemplateSpecOption is an optional function for ChannelTemplateSpec.
InMemoryChannelSpec
(Appears on:InMemoryChannel)
InMemoryChannelSpec defines which subscribers have expressed interest in receiving events from this InMemoryChannel. arguments for a Channel.
| Field | Description |
|---|---|
ChannelableSpecChannelableSpec |
(Members of Channel conforms to Duck type Channelable. |
InMemoryChannelStatus
(Appears on:InMemoryChannel)
ChannelStatus represents the current state of a Channel.
| Field | Description |
|---|---|
ChannelableStatusChannelableStatus |
(Members of Channel conforms to Duck type ChannelableStatus. |
SubscriptionSpec
(Appears on:Subscription)
SubscriptionSpec specifies the Channel for incoming events, a Subscriber target for processing those events and where to put the result of the processing. Only From (where the events are coming from) is always required. You can optionally only Process the events (results in no output events) by leaving out the Reply. You can also perform an identity transformation on the incoming events by leaving out the Subscriber and only specifying Reply.
The following are all valid specifications: channel –[subscriber]–> reply Sink, no outgoing events: channel – subscriber no-op function (identity transformation): channel –> reply
| Field | Description |
|---|---|
channelknative.dev/pkg/apis/duck/v1.KReference |
Reference to a channel that will be used to create the subscription You can specify only the following fields of the KReference: - Kind - APIVersion - Name - Namespace The resource pointed by this KReference must meet the contract to the ChannelableSpec duck type. If the resource does not meet this contract it will be reflected in the Subscription’s status. This field is immutable. We have no good answer on what happens to the events that are currently in the channel being consumed from and what the semantics there should be. For now, you can always delete the Subscription and recreate it to point to a different channel, giving the user more control over what semantics should be used (drain the channel first, possibly have events dropped, etc.) |
subscriberknative.dev/pkg/apis/duck/v1.Destination |
Subscriber is reference to function for processing events. Events from the Channel will be delivered here and replies are sent to a Destination as specified by the Reply. |
replyknative.dev/pkg/apis/duck/v1.Destination |
(Optional)
Reply specifies (optionally) how to handle events returned from the Subscriber target. |
deliveryDeliverySpec |
(Optional)
Delivery configuration |
SubscriptionStatus
(Appears on:Subscription)
SubscriptionStatus (computed) for a subscription
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of inherits duck/v1 Status, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. |
physicalSubscriptionSubscriptionStatusPhysicalSubscription |
PhysicalSubscription is the fully resolved values that this Subscription represents. |
authknative.dev/pkg/apis/duck/v1.AuthStatus |
(Optional)
Auth provides the relevant information for OIDC authentication. |
SubscriptionStatusPhysicalSubscription
(Appears on:SubscriptionStatus)
SubscriptionStatusPhysicalSubscription represents the fully resolved values for this Subscription.
| Field | Description |
|---|---|
subscriberUriknative.dev/pkg/apis.URL |
(Optional)
SubscriberURI is the fully resolved URI for spec.subscriber. |
subscriberCACertsstring |
(Optional)
SubscriberCACerts is the Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468 for the resolved URI for spec.subscriber. |
subscriberAudiencestring |
(Optional)
SubscriberAudience is the OIDC audience for the the resolved URI for spec.subscriber. |
replyUriknative.dev/pkg/apis.URL |
(Optional)
ReplyURI is the fully resolved URI for the spec.reply. |
replyCACertsstring |
(Optional)
ReplyCACerts is the Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468 for the resolved URI for the spec.reply. |
replyAudiencestring |
(Optional)
ReplyAudience is the OIDC audience for the the resolved URI for spec.reply. |
DeliveryStatusDeliveryStatus |
(Members of DeliveryStatus contains a resolved URL to the dead letter sink address, and any other resolved delivery options. |
sinks.knative.dev/v1alpha1
Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group.
Resource Types:
IntegrationSink
IntegrationSink is the Schema for the IntegrationSink API.
| Field | Description | ||||
|---|---|---|---|---|---|
apiVersionstring |
sinks.knative.dev/v1alpha1
|
||||
kindstring |
IntegrationSink |
||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
specIntegrationSinkSpec |
|
||||
statusIntegrationSinkStatus |
JobSink
JobSink is the Schema for the JobSink API.
| Field | Description | ||
|---|---|---|---|
apiVersionstring |
sinks.knative.dev/v1alpha1
|
||
kindstring |
JobSink |
||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
specJobSinkSpec |
|
||
statusJobSinkStatus |
Aws
(Appears on:IntegrationSinkSpec)
| Field | Description |
|---|---|
s3knative.dev/eventing/pkg/apis/common/integration/v1alpha1.AWSS3 |
|
sqsknative.dev/eventing/pkg/apis/common/integration/v1alpha1.AWSSQS |
S3 source configuration |
snsknative.dev/eventing/pkg/apis/common/integration/v1alpha1.AWSSNS |
SQS source configuration |
authknative.dev/eventing/pkg/apis/common/integration/v1alpha1.Auth |
SNS source configuration |
ExecutionMode
(string alias)
| Value | Description |
|---|---|
"batch" |
IntegrationSinkSpec
(Appears on:IntegrationSink)
| Field | Description |
|---|---|
awsAws |
|
logLog |
AWS source configuration |
IntegrationSinkStatus
(Appears on:IntegrationSink)
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of |
AddressStatusknative.dev/pkg/apis/duck/v1.AddressStatus |
(Members of AddressStatus is the part where the JobSink fulfills the Addressable contract. It exposes the endpoint as an URI to get events delivered. |
AppliedEventPoliciesStatusAppliedEventPoliciesStatus |
(Members of AppliedEventPoliciesStatus contains the list of EventPolicies which apply to this JobSink |
JobSinkSpec
(Appears on:JobSink)
JobSinkSpec defines the desired state of the JobSink.
| Field | Description |
|---|---|
jobKubernetes batch/v1.Job |
(Optional)
Job to run when an event occur. |
JobSinkStatus
(Appears on:JobSink)
JobSinkStatus defines the observed state of JobSink.
| Field | Description |
|---|---|
Statusknative.dev/pkg/apis/duck/v1.Status |
(Members of |
AddressStatusknative.dev/pkg/apis/duck/v1.AddressStatus |
(Members of AddressStatus is the part where the JobSink fulfills the Addressable contract. It exposes the endpoint as an URI to get events delivered. |
jobJobStatus |
(Optional) |
AppliedEventPoliciesStatusAppliedEventPoliciesStatus |
(Members of AppliedEventPoliciesStatus contains the list of EventPolicies which apply to this JobSink |
JobStatus
(Appears on:JobSinkStatus)
| Field | Description |
|---|---|
selectorstring |
Log
(Appears on:IntegrationSinkSpec)
| Field | Description |
|---|---|
loggerNamestring |
|
levelstring |
Name of the logging category to use |
logMaskbool |
Logging level to use |
markerstring |
Mask sensitive information in the log |
multilinebool |
An optional Marker name to use |
showAllPropertiesbool |
If enabled, outputs each information on a newline |
showBodybool |
Show all of the exchange properties (both internal and custom) |
showBodyTypebool |
Show the message body |
showExchangePatternbool |
Show the body Java type |
showHeadersbool |
Show the Message Exchange Pattern (MEP) |
showPropertiesbool |
Show the headers received |
showStreamsbool |
Show the exchange properties (only custom) |
showCachedStreamsbool |
Show the stream bodies |
sources.knative.dev/v1
Package v1 contains API Schema definitions for the sources v1 API group.
Resource Types:
ApiServerSource
ApiServerSource is the Schema for the apiserversources API
| Field | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
sources.knative.dev/v1
|
||||||||||||||
kindstring |
ApiServerSource |
||||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||
specApiServerSourceSpec |
|
||||||||||||||
statusApiServerSourceStatus |
ContainerSource
ContainerSource is the Schema for the containersources API
| Field | Description | ||||
|---|---|---|---|---|---|
apiVersionstring |
sources.knative.dev/v1
|
||||
kindstring |
ContainerSource |
||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
specContainerSourceSpec |
|
||||
statusContainerSourceStatus |
PingSource
PingSource is the Schema for the PingSources API.
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
sources.knative.dev/v1
|
||||||||||||
kindstring |
PingSource |
||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||
specPingSourceSpec |
|
||||||||||||
statusPingSourceStatus |
SinkBinding
SinkBinding describes a Binding that is also a Source.
The sink (from the Source duck) is resolved to a URL and
then projected into the subject by augmenting the runtime
contract of the referenced containers to have a K_SINK
environment variable holding the endpoint to which to send
cloud events.
| Field | Description | ||||
|---|---|---|---|---|---|
apiVersionstring |
sources.knative.dev/v1
|
||||
kindstring |
SinkBinding |
||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
specSinkBindingSpec |
|
||||
statusSinkBindingStatus |
APIVersionKind
(Appears on:ApiServerSourceSpec)
APIVersionKind is an APIVersion and Kind tuple.
| Field | Description |
|---|---|
apiVersionstring |
APIVersion - the API version of the resource to watch. |
kindstring |
Kind of the resource to watch. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
APIVersionKindSelector
(Appears on:ApiServerSourceSpec)
APIVersionKindSelector is an APIVersion Kind tuple with a LabelSelector.
| Field | Description |
|---|---|
apiVersionstring |
APIVersion - the API version of the resource to watch. |
kindstring |
Kind of the resource to watch. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
selectorKubernetes meta/v1.LabelSelector |
(Optional)
LabelSelector filters this source to objects to those resources pass the label selector. More info: http://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors |
ApiServerSourceSpec
(Appears on:ApiServerSource)
ApiServerSourceSpec defines the desired state of ApiServerSource
| Field | Description |
|---|---|
SourceSpecknative.dev/pkg/apis/duck/v1.SourceSpec |
(Members of inherits duck/v1 SourceSpec, which currently provides: * Sink - a reference to an object that will resolve to a domain name or a URI directly to use as the sink. * CloudEventOverrides - defines overrides to control the output format and modifications of the event sent to the sink. |
resources[]APIVersionKindSelector |
Resource are the resources this source will track and send related lifecycle events from the Kubernetes ApiServer, with an optional label selector to help filter. |
ownerAPIVersionKind |
(Optional)
ResourceOwner is an additional filter to only track resources that are owned by a specific resource type. If ResourceOwner matches Resources[n] then Resources[n] is allowed to pass the ResourceOwner filter. |
modestring |
(Optional)
EventMode controls the format of the event.
|
serviceAccountNamestring |
(Optional)
ServiceAccountName is the name of the ServiceAccount to use to run this source. Defaults to default if not set. |
namespaceSelectorKubernetes meta/v1.LabelSelector |
(Optional)
NamespaceSelector is a label selector to capture the namespaces that should be watched by the source. |
filters[]SubscriptionsAPIFilter |
(Optional)
Filters is an experimental field that conforms to the CNCF CloudEvents Subscriptions API. It’s an array of filter expressions that evaluate to true or false. If any filter expression in the array evaluates to false, the event MUST NOT be sent to the Sink. If all the filter expressions in the array evaluate to true, the event MUST be attempted to be delivered. Absence of a filter or empty array implies a value of true. |
ApiServerSourceStatus
(Appears on:ApiServerSource)
ApiServerSourceStatus defines the observed state of ApiServerSource
| Field | Description |
|---|---|
SourceStatusknative.dev/pkg/apis/duck/v1.SourceStatus |
(Members of inherits duck/v1 SourceStatus, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. * SinkURI - the current active sink URI that has been configured for the Source. |
namespaces[]string |
Namespaces show the namespaces currently watched by the ApiServerSource |
ContainerSourceSpec
(Appears on:ContainerSource)
ContainerSourceSpec defines the desired state of ContainerSource
| Field | Description |
|---|---|
SourceSpecknative.dev/pkg/apis/duck/v1.SourceSpec |
(Members of inherits duck/v1 SourceSpec, which currently provides: * Sink - a reference to an object that will resolve to a domain name or a URI directly to use as the sink. * CloudEventOverrides - defines overrides to control the output format and modifications of the event sent to the sink. |
templateKubernetes core/v1.PodTemplateSpec |
Template describes the pods that will be created |
ContainerSourceStatus
(Appears on:ContainerSource)
ContainerSourceStatus defines the observed state of ContainerSource
| Field | Description |
|---|---|
SourceStatusknative.dev/pkg/apis/duck/v1.SourceStatus |
(Members of inherits duck/v1 SourceStatus, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. * SinkURI - the current active sink URI that has been configured for the Source. |
PingSourceSpec
(Appears on:PingSource)
PingSourceSpec defines the desired state of the PingSource.
| Field | Description |
|---|---|
SourceSpecknative.dev/pkg/apis/duck/v1.SourceSpec |
(Members of inherits duck/v1 SourceSpec, which currently provides: * Sink - a reference to an object that will resolve to a domain name or a URI directly to use as the sink. * CloudEventOverrides - defines overrides to control the output format and modifications of the event sent to the sink. |
schedulestring |
(Optional)
Schedule is the cron schedule. Defaults to |
timezonestring |
Timezone modifies the actual time relative to the specified timezone. Defaults to the system time zone. More general information about time zones: https://www.iana.org/time-zones List of valid timezone values: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones |
contentTypestring |
(Optional)
ContentType is the media type of Data or DataBase64. Default is empty. |
datastring |
(Optional)
Data is data used as the body of the event posted to the sink. Default is empty. Mutually exclusive with DataBase64. |
dataBase64string |
(Optional)
DataBase64 is the base64-encoded string of the actual event’s body posted to the sink. Default is empty. Mutually exclusive with Data. |
PingSourceStatus
(Appears on:PingSource)
PingSourceStatus defines the observed state of PingSource.
| Field | Description |
|---|---|
SourceStatusknative.dev/pkg/apis/duck/v1.SourceStatus |
(Members of inherits duck/v1 SourceStatus, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. * SinkURI - the current active sink URI that has been configured for the Source. |
SinkBindingSpec
(Appears on:SinkBinding)
SinkBindingSpec holds the desired state of the SinkBinding (from the client).
| Field | Description |
|---|---|
SourceSpecknative.dev/pkg/apis/duck/v1.SourceSpec |
(Members of inherits duck/v1 SourceSpec, which currently provides: * Sink - a reference to an object that will resolve to a domain name or a URI directly to use as the sink. * CloudEventOverrides - defines overrides to control the output format and modifications of the event sent to the sink. |
BindingSpecknative.dev/pkg/apis/duck/v1.BindingSpec |
(Members of inherits duck/v1 BindingSpec, which currently provides: * Subject - Subject references the resource(s) whose “runtime contract” should be augmented by Binding implementations. |
SinkBindingStatus
(Appears on:SinkBinding)
SinkBindingStatus communicates the observed state of the SinkBinding (from the controller).
| Field | Description |
|---|---|
SourceStatusknative.dev/pkg/apis/duck/v1.SourceStatus |
(Members of inherits duck/v1 SourceStatus, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. * SinkURI - the current active sink URI that has been configured for the Source. |
oidcTokenSecretNamestring |
OIDCTokenSecretName is the name of the secret containing the token for this SinkBindings OIDC authentication |
sources.knative.dev/v1alpha1
Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group.
Resource Types:
IntegrationSource
IntegrationSource is the Schema for the Integrationsources API
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
apiVersionstring |
sources.knative.dev/v1alpha1
|
||||||
kindstring |
IntegrationSource |
||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||
specIntegrationSourceSpec |
|
||||||
statusIntegrationSourceStatus |
Aws
(Appears on:IntegrationSourceSpec)
| Field | Description |
|---|---|
s3knative.dev/eventing/pkg/apis/common/integration/v1alpha1.AWSS3 |
|
sqsknative.dev/eventing/pkg/apis/common/integration/v1alpha1.AWSSQS |
S3 source configuration |
ddbStreamsknative.dev/eventing/pkg/apis/common/integration/v1alpha1.AWSDDBStreams |
SQS source configuration |
authknative.dev/eventing/pkg/apis/common/integration/v1alpha1.Auth |
DynamoDB Streams source configuration |
IntegrationSourceSpec
(Appears on:IntegrationSource)
IntegrationSourceSpec defines the desired state of IntegrationSource
| Field | Description |
|---|---|
SourceSpecknative.dev/pkg/apis/duck/v1.SourceSpec |
(Members of inherits duck/v1 SourceSpec, which currently provides: * Sink - a reference to an object that will resolve to a domain name or a URI directly to use as the sink. * CloudEventOverrides - defines overrides to control the output format and modifications of the event sent to the sink. |
awsAws |
|
timerTimer |
AWS source configuration |
IntegrationSourceStatus
(Appears on:IntegrationSource)
IntegrationSourceStatus defines the observed state of IntegrationSource
| Field | Description |
|---|---|
SourceStatusknative.dev/pkg/apis/duck/v1.SourceStatus |
(Members of inherits duck/v1 SourceStatus, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. * SinkURI - the current active sink URI that has been configured for the Source. |
Timer
(Appears on:IntegrationSourceSpec)
| Field | Description |
|---|---|
periodint |
|
messagestring |
Interval (in milliseconds) between producing messages |
contentTypestring |
Message to generate |
repeatCountint |
Content type of generated message |
sources.knative.dev/v1beta2
Package v1beta2 contains API Schema definitions for the sources v1beta2 API group.
Resource Types:
PingSource
PingSource is the Schema for the PingSources API.
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
sources.knative.dev/v1beta2
|
||||||||||||
kindstring |
PingSource |
||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||
specPingSourceSpec |
|
||||||||||||
statusPingSourceStatus |
PingSourceSpec
(Appears on:PingSource)
PingSourceSpec defines the desired state of the PingSource.
| Field | Description |
|---|---|
SourceSpecknative.dev/pkg/apis/duck/v1.SourceSpec |
(Members of inherits duck/v1 SourceSpec, which currently provides: * Sink - a reference to an object that will resolve to a domain name or a URI directly to use as the sink. * CloudEventOverrides - defines overrides to control the output format and modifications of the event sent to the sink. |
schedulestring |
(Optional)
Schedule is the cron schedule. Defaults to |
timezonestring |
Timezone modifies the actual time relative to the specified timezone. Defaults to the system time zone. More general information about time zones: https://www.iana.org/time-zones List of valid timezone values: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones |
contentTypestring |
(Optional)
ContentType is the media type of Data or DataBase64. Default is empty. |
datastring |
(Optional)
Data is data used as the body of the event posted to the sink. Default is empty. Mutually exclusive with DataBase64. |
dataBase64string |
(Optional)
DataBase64 is the base64-encoded string of the actual event’s body posted to the sink. Default is empty. Mutually exclusive with Data. |
PingSourceStatus
(Appears on:PingSource)
PingSourceStatus defines the observed state of PingSource.
| Field | Description |
|---|---|
SourceStatusknative.dev/pkg/apis/duck/v1.SourceStatus |
(Members of inherits duck/v1 SourceStatus, which currently provides: * ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. * Conditions - the latest available observations of a resource’s current state. * SinkURI - the current active sink URI that has been configured for the Source. |
Generated with gen-crd-api-reference-docs
.