sources

package
v0.40.3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 23

Documentation

Index

Constants

View Source
const (
	// ApiServerSourceAddEventType is the ApiServerSource CloudEvent type for adds.
	ApiServerSourceAddEventType = "dev.knative.apiserver.resource.add"
	// ApiServerSourceUpdateEventType is the ApiServerSource CloudEvent type for updates.
	ApiServerSourceUpdateEventType = "dev.knative.apiserver.resource.update"
	// ApiServerSourceDeleteEventType is the ApiServerSource CloudEvent type for deletions.
	ApiServerSourceDeleteEventType = "dev.knative.apiserver.resource.delete"

	// ApiServerSourceAddRefEventType is the ApiServerSource CloudEvent type for ref adds.
	ApiServerSourceAddRefEventType = "dev.knative.apiserver.ref.add"
	// ApiServerSourceUpdateRefEventType is the ApiServerSource CloudEvent type for ref updates.
	ApiServerSourceUpdateRefEventType = "dev.knative.apiserver.ref.update"
	// ApiServerSourceDeleteRefEventType is the ApiServerSource CloudEvent type for ref deletions.
	ApiServerSourceDeleteRefEventType = "dev.knative.apiserver.ref.delete"
)
View Source
const (
	GroupName = "sources.knative.dev"

	// SourceDuckLabelKey is the label key to indicate
	// whether the CRD is a Source duck type.
	// Valid values: "true" or "false"
	SourceDuckLabelKey = duck.GroupName + "/source"

	// SourceDuckLabelValue is the label value to indicate
	// the CRD is a Source duck type.
	SourceDuckLabelValue = "true"

	//OIDCLabelKey is used to filter out all the informers that related to OIDC work
	OIDCLabelKey = "oidc"

	// OIDCTokenRoleLabelSelector is the label selector for the OIDC token creator role and rolebinding informers
	OIDCTokenRoleLabelSelector = OIDCLabelKey
)

Variables

View Source
var (
	// ApiServerSourceResource respresents a Knative Eventing Sources ApiServerSource
	ApiServerSourceResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "apiserversources",
	}
	// PingSourceResource respresents a Knative Eventing Sources PingSource
	PingSourceResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "pingsources",
	}
	// SinkBindingResource respresents a Knative Eventing Sources SinkBinding
	SinkBindingResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "sinkbindings",
	}

	// ContainerSourceResource respresents a Knative Eventing Sources ContainerSource
	ContainerSourceResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "containersources",
	}
)

ApiServerSourceEventReferenceModeTypes is the list of CloudEvent types the ApiServerSource with EventMode of ReferenceMode emits.

ApiServerSourceEventResourceModeTypes is the list of CloudEvent types the ApiServerSource with EventMode of ResourceMode emits.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package v1 contains API Schema definitions for the sources v1 API group.
Package v1 contains API Schema definitions for the sources v1 API group.
Package v1beta2 contains API Schema definitions for the sources v1beta2 API group.
Package v1beta2 contains API Schema definitions for the sources v1beta2 API group.

Jump to

Keyboard shortcuts

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