sources

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 2 Imported by: 25

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"
)

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