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",
}
)
View Source
var ApiServerSourceEventReferenceModeTypes = []string{
ApiServerSourceAddRefEventType,
ApiServerSourceDeleteRefEventType,
ApiServerSourceUpdateRefEventType,
}
ApiServerSourceEventReferenceModeTypes is the list of CloudEvent types the ApiServerSource with EventMode of ReferenceMode emits.
View Source
var ApiServerSourceEventResourceModeTypes = []string{
ApiServerSourceAddEventType,
ApiServerSourceDeleteEventType,
ApiServerSourceUpdateEventType,
}
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. |
Click to show internal directories.
Click to hide internal directories.