eventing

package
v0.40.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 61

Documentation

Index

Constants

View Source
const (
	GroupName = "eventing.knative.dev"

	// BrokerLabelKey is the label key on Triggers and Subscriptions
	// to indicate to which Broker they belong to.
	BrokerLabelKey = GroupName + "/broker"

	// BrokerClassKey is the annotation key on Brokers to indicate
	// which Controller is responsible for them.
	BrokerClassKey = GroupName + "/broker.class"

	// MTChannelBrokerClassValue is the value we use to specify the
	// Broker using channels, but the resources (ingress,filter) run
	// in the system namespace. As in Broker from this repository
	// pkg/reconciler/broker
	MTChannelBrokerClassValue = "MTChannelBasedBroker"

	// ScopeAnnotationKey is the annotation key to indicate
	// the scope of the component handling a given resource.
	// Valid values are: cluster, namespace, resource.
	ScopeAnnotationKey = GroupName + "/scope"

	// ScopeResource indicates that the resource
	// must be handled by a dedicated component
	ScopeResource = "resource"

	// ScopeNamespace indicates that the resource
	// must be handled by the namespace-scoped component
	ScopeNamespace = "namespace"

	// ScopeCluster indicates the resource must be
	// handled by the cluster-scoped component
	ScopeCluster = "cluster"

	// EventTypesAnnotationKey is the annotation key to specify
	// if a Source has event types defines in its CRD.
	EventTypesAnnotationKey = "registry.knative.dev/eventTypes"

	// BrokerChannelAddressStatusAnnotationKey is the broker status
	// annotation key used to specify the address of its channel.
	BrokerChannelAddressStatusAnnotationKey = "knative.dev/channelAddress"

	// BrokerChannelCACertsStatusAnnotationKey is the broker status annotation
	// key used to specify the channels Certification Authority (CA)
	// certificates in PEM format according to
	// https://www.rfc-editor.org/rfc/rfc7468
	BrokerChannelCACertsStatusAnnotationKey = "knative.dev/channelCACerts"

	// BrokerChannelAudienceStatusAnnotationKey is the broker status annotation
	// key used to specify the channels OIDC audience.
	BrokerChannelAudienceStatusAnnotationKey = "knative.dev/channelAudience"

	// BrokerChannelAPIVersionStatusAnnotationKey is the broker status
	// annotation key used to specify the APIVersion of the channel for
	// the triggers to subscribe to.
	BrokerChannelAPIVersionStatusAnnotationKey = "knative.dev/channelAPIVersion"

	// BrokerChannelKindStatusAnnotationKey is the broker status
	// annotation key used to specify the Kind of the channel for
	// the triggers to subscribe to.
	BrokerChannelKindStatusAnnotationKey = "knative.dev/channelKind"

	// BrokerChannelNameStatusAnnotationKey is the broker status
	// annotation key used to specify the name of the channel for
	// the triggers to subscribe to.
	BrokerChannelNameStatusAnnotationKey = "knative.dev/channelName"
)

Variables

View Source
var (
	// TriggersResource represents a Knative Trigger
	TriggersResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "triggers",
	}
	// BrokersResource represents a Knative Broker
	BrokersResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "brokers",
	}
	// EventTypesResource represents a Knative EventType
	EventTypesResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "eventtypes",
	}
)

Functions

func DefaultBrokerClassIfUnset added in v0.14.0

func DefaultBrokerClassIfUnset(ctx context.Context, obj *metav1.ObjectMeta)

DefaultBrokerClassIfUnset sets default broker class annotation if unset.

Types

This section is empty.

Directories

Path Synopsis
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
Package v1beta1 is the v1beta1 version of the API.
Package v1beta1 is the v1beta1 version of the API.
Package v1beta2 is the v1beta2 version of the API.
Package v1beta2 is the v1beta2 version of the API.
Package v1beta3 is the v1beta3 version of the API.
Package v1beta3 is the v1beta3 version of the API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL