-
Notifications
You must be signed in to change notification settings - Fork 630
[WIP]Cleanup before adding E2E test for KafkaChannel #1319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
6dcfca7
bebf9d3
2bace45
a4dfe83
c750a41
b578679
3593eaf
6d6416f
34f41bb
f7e5385
daa4632
ca5fe7b
249cfb9
c46916a
18e9316
33602f6
07abd21
9e2cd0a
b6098da
23e787b
bc78004
c272c6e
48f1f27
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| /* | ||
| Copyright 2019 The Knative Authors | ||
|
|
||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
|
|
||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| */ | ||
|
|
||
| package base | ||
|
|
||
| import "github.com/knative/eventing/pkg/reconciler/namespace/resources" | ||
|
|
||
| const ( | ||
| // DefaultBrokerName is the name of the Broker that is automatically created after the current namespace is labeled. | ||
| DefaultBrokerName = resources.DefaultBrokerName | ||
|
|
||
| // InMemoryProvisioner is the in-memory provisioner, which is also the default one. | ||
| InMemoryProvisioner = "in-memory" | ||
| // GCPPubSubProvisioner is the gcp-pubsub provisioner, which is under contrib/gcppubsub. | ||
| GCPPubSubProvisioner = "gcp-pubsub" | ||
| // KafkaProvisioner is the kafka provisioner, which is under contrib/kafka. | ||
| KafkaProvisioner = "kafka" | ||
| // NatssProvisioner is the natss provisioner, which is under contrib/natss | ||
| NatssProvisioner = "natss" | ||
| ) | ||
|
|
||
| // API versions for the resources. | ||
| const ( | ||
| EventingAPIVersion = "eventing.knative.dev/v1alpha1" | ||
| SourcesAPIVersion = "sources.eventing.knative.dev/v1alpha1" | ||
| MessagingAPIVersion = "messaging.knative.dev/v1alpha1" | ||
| ) | ||
|
|
||
| // kind for eventing resources. | ||
| const ( | ||
| // ChannelKind is the kind for Channel. | ||
| ChannelKind string = "Channel" | ||
| // SubscriptionKind is the kind for Subscription. | ||
| SubscriptionKind string = "Subscription" | ||
| // ClusterChannelProvisionerKind is the kind for ClusterChannelProvisioner. | ||
| ClusterChannelProvisionerKind string = "ClusterChannelProvisioner" | ||
|
|
||
| // BrokerKind is the kind for Broker. | ||
| BrokerKind string = "Broker" | ||
| // TriggerKind is the kind for Trigger. | ||
| TriggerKind string = "Trigger" | ||
| ) | ||
|
|
||
| // kind for messaging resources. | ||
| const ( | ||
| // InMemoryChannelKind is the kind for InMemoryChannel. | ||
| InMemoryChannelKind string = "InMemoryChannel" | ||
| // KafkaChannelKind is the kind for KafkaChannel. | ||
| KafkaChannelKind string = "KafkaChannel" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can still select that the e2e tests run on a set of given channels ? E.g. just kafka and in-mem >?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. The flag will still be named as |
||
| // NatssChannelKind string = "NatssChannel" | ||
| // GCPPubSubChannelKind string = "GCPPubSubChannel" | ||
| ) | ||
|
|
||
| // kind for sources resources. | ||
| const ( | ||
| // CronJobSourceKind is the kind for CronJobSource. | ||
| CronJobSourceKind string = "CronJobSource" | ||
| // ContainerSourceKind is the kind for ContainerSource. | ||
| ContainerSourceKind string = "ContainerSource" | ||
| // ApiServerSourceKind is the kind for ApiServerSource. | ||
| ApiServerSourceKind string = "ApiServerSource" | ||
| ) | ||
Uh oh!
There was an error while loading. Please reload this page.