Documentation ¶
Index ¶
- Constants
- Variables
- func BogusBrokerConfig() *corev1.ConfigMap
- func BootstrapServers(bootstrapServers []string) func(obj duckv1.KRShaped)
- func BrokerAddressable(env *config.Env) func(broker *eventing.Broker)
- func BrokerConfig(bootstrapServers string, numPartitions, replicationFactor int, ...) *corev1.ConfigMap
- func BrokerConfigMapAnnotations() reconcilertesting.BrokerOption
- func BrokerConfigMapSecretAnnotation(name string) reconcilertesting.BrokerOption
- func BrokerDLSResolved(uri string) func(broker *eventing.Broker)
- func BrokerDispatcherPod(namespace string, annotations map[string]string) runtime.Object
- func BrokerDispatcherPodUpdate(namespace string, annotations map[string]string) clientgotesting.UpdateActionImpl
- func BrokerReady(broker *eventing.Broker)
- func BrokerReceiverPod(namespace string, annotations map[string]string) runtime.Object
- func BrokerReceiverPodUpdate(namespace string, annotations map[string]string) clientgotesting.UpdateActionImpl
- func BrokerReference() *contract.Reference
- func BrokerSecretWithFinalizer(ns, name, finalizerName string) *corev1.Secret
- func BrokerTopic() string
- func ChannelAddressable(env *config.Env) func(obj duckv1.KRShaped)
- func ChannelAsOwnerReference() metav1.OwnerReference
- func ChannelDispatcherPod(namespace string, annotations map[string]string) runtime.Object
- func ChannelDispatcherPodUpdate(namespace string, annotations map[string]string) clientgotesting.UpdateActionImpl
- func ChannelReceiverPod(namespace string, annotations map[string]string) runtime.Object
- func ChannelReceiverPodUpdate(namespace string, annotations map[string]string) clientgotesting.UpdateActionImpl
- func ChannelReference() *contract.Reference
- func ChannelTopic() string
- func ConfigMapUpdate(namespace string, name string, format string, contract *contract.Contract, ...) clientgotesting.UpdateActionImpl
- func ConfigmapOwnerReferenceBroker(uid types.UID, name string, controller bool) reconcilertesting.ConfigMapOption
- func ConsumerGroupAsOwnerRef() metav1.OwnerReference
- func ConsumerGroupReady(cg *kafkainternals.ConsumerGroup)
- func ConsumerNoReply() *kafkainternals.ReplyStrategy
- func ConsumerTopicReply() *kafkainternals.ReplyStrategy
- func DataPlaneConfigInitialOffset(key string, offset sources.Offset) reconcilertesting.ConfigMapOption
- func DataPlaneConfigMap(namespace, name, key string, options ...reconcilertesting.ConfigMapOption) *corev1.ConfigMap
- func DeploymentOwnerReferenceBroker(uid types.UID, name string, controller bool) func(d *appsv1.Deployment)
- func DispatcherPodAsOwnerReference(name string) reconcilertesting.ConfigMapOption
- func ErrorAssertOrNil(e interface{}) error
- func GetSubscriberSpec(s *SubscriberInfo) *eventingduckv1.SubscriberSpec
- func InitSinkConditions(obj duckv1.KRShaped)
- func InitSourceConditions(obj duckv1.KRShaped)
- func KReference(configMap *corev1.ConfigMap) *duckv1.KReference
- func NamespacedBrokerAddressable(env *config.Env) func(broker *eventing.Broker)
- func NewBroker(options ...reconcilertesting.BrokerOption) runtime.Object
- func NewChannel(options ...KRShapedOption) *messagingv1beta1.KafkaChannel
- func NewClusterRole(name string, cro ...ClusterRoleOption) *rbacv1.ClusterRole
- func NewClusterRoleBinding(name string, mutations ...func(account *rbacv1.ClusterRoleBinding)) *rbacv1.ClusterRoleBinding
- func NewConfigMapFromContract(contract *contract.Contract, namespace string, name string, format string, ...) runtime.Object
- func NewConfigMapWithBinaryData(namespace string, name string, data []byte, ...) runtime.Object
- func NewConfigMapWithTextData(namespace, name string, data map[string]string, ...) runtime.Object
- func NewConsumer(ordinal int, opts ...ConsumerOption) *kafkainternals.Consumer
- func NewConsumerGroup(opts ...ConsumerGroupOption) *kafkainternals.ConsumerGroup
- func NewConsumerSpec(opts ...ConsumerSpecOption) kafkainternals.ConsumerSpec
- func NewConsumerSpecAuth() *kafkainternals.Auth
- func NewConsumerSpecDelivery(order internals.DeliveryOrdering, options ...DeliverySpecOption) *kafkainternals.DeliverySpec
- func NewConsumerSpecFilters() *kafkainternals.Filters
- func NewConsumerSpecSubscriber(uri string) duckv1.Destination
- func NewDeletedBroker(options ...reconcilertesting.BrokerOption) runtime.Object
- func NewDeletedBrokerWithoutConfigMapAnnotations(options ...reconcilertesting.BrokerOption) runtime.Object
- func NewDeletedChannel(options ...KRShapedOption) runtime.Object
- func NewDeletedConsumeGroup(opts ...ConsumerGroupOption) runtime.Object
- func NewDeletedSink(options ...KRShapedOption) runtime.Object
- func NewDeletedSource(options ...KRShapedOption) runtime.Object
- func NewDispatcherPod(name string, options ...PodOption) *corev1.Pod
- func NewFactory(env *config.Env, ctor Ctor) Factory
- func NewKedaSecret(ns, name string) *corev1.Secret
- func NewLegacySASLSSLSecret(ns, name string) *corev1.Secret
- func NewLegacySASLSecret(ns, name string) *corev1.Secret
- func NewLegacySSLSecret(ns, name string) *corev1.Secret
- func NewNamespacedBroker(options ...reconcilertesting.BrokerOption) runtime.Object
- func NewPerChannelService(env *config.Env) *corev1.Service
- func NewRoleBinding(namespace string, name string, mutations ...func(account *rbacv1.RoleBinding)) *rbacv1.RoleBinding
- func NewSASLSSLSecret(ns, name string) *corev1.Secret
- func NewSSLSecret(ns, name string) *corev1.Secret
- func NewService(mutations ...func(*corev1.Service)) *corev1.Service
- func NewService2(mutations ...func(*corev1.Service)) *corev1.Service
- func NewServiceAccount(namespace string, name string, ...) *corev1.ServiceAccount
- func NewSink(options ...KRShapedOption) runtime.Object
- func NewSource(options ...KRShapedOption) *sources.KafkaSource
- func NewSourceSink2Reference() duckv1.Destination
- func NewSourceSinkObject() *corev1.Service
- func NewSourceSinkReference() duckv1.Destination
- func ReactorKEDAEnabled() clientgotesting.ReactionFunc
- func RoleBindingOwnerReferenceBroker(uid types.UID, name string, controller bool) func(rb *rbacv1.RoleBinding)
- func ServiceAccountOwnerReferenceBroker(uid types.UID, name string, controller bool) func(account *corev1.ServiceAccount)
- func ServiceOwnerReferenceBroker(uid types.UID, name string, controller bool) func(d *corev1.Service)
- func ServiceURLDestination(ns, name string) *duckv1.Destination
- func ServiceURLFrom(ns, name string) string
- func SinkAddressable(configs *config.Env) func(obj duckv1.KRShaped)
- func SinkAuthSecretRef(name string) func(obj duckv1.KRShaped)
- func SinkReceiverPod(namespace string, annotations map[string]string) runtime.Object
- func SinkReceiverPodUpdate(namespace string, annotations map[string]string) clientgotesting.UpdateActionImpl
- func SinkReference() *contract.Reference
- func SinkTopic() string
- func SourceAsOwnerReference() metav1.OwnerReference
- func SourceDispatcherPod(namespace string, annotations map[string]string) runtime.Object
- func SourceReference() *contract.Reference
- func StatusBrokerConfigMapUpdatedReady(env *config.Env) func(broker *eventing.Broker)
- func StatusBrokerConfigNotParsed(reason string) func(broker *eventing.Broker)
- func StatusBrokerConfigParsed(broker *eventing.Broker)
- func StatusBrokerDataPlaneAvailable(broker *eventing.Broker)
- func StatusBrokerDataPlaneNotAvailable(broker *eventing.Broker)
- func StatusBrokerFailedToCreateTopic(broker *eventing.Broker)
- func StatusBrokerProbeFailed(status prober.Status) reconcilertesting.BrokerOption
- func StatusBrokerProbeSucceeded(broker *eventing.Broker)
- func StatusBrokerTopicReady(broker *eventing.Broker)
- func StatusConfigMapNotUpdatedReady(reason, message string) func(obj duckv1.KRShaped)
- func StatusConfigMapUpdatedReady(env *config.Env) func(obj duckv1.KRShaped)
- func StatusConfigNotParsed(reason string) func(obj duckv1.KRShaped)
- func StatusConfigParsed(obj duckv1.KRShaped)
- func StatusControllerOwnsTopic(topicOwner string) func(obj duckv1.KRShaped)
- func StatusDataPlaneAvailable(obj duckv1.KRShaped)
- func StatusDataPlaneNotAvailable(obj duckv1.KRShaped)
- func StatusExternalBrokerTopicNotPresentOrInvalid(topicname string) func(broker *eventing.Broker)
- func StatusExternalBrokerTopicReady(topic string) func(broker *eventing.Broker)
- func StatusFailedToCreateTopic(topicName string) func(obj duckv1.KRShaped)
- func StatusInitialOffsetsCommitted(obj duckv1.KRShaped)
- func StatusProbeFailed(status prober.Status) func(obj duckv1.KRShaped)
- func StatusProbeSucceeded(obj duckv1.KRShaped)
- func StatusTopicNotPresentErr(topic string, err error) func(obj duckv1.KRShaped)
- func StatusTopicNotPresentOrInvalid(topicName string) func(obj duckv1.KRShaped)
- func StatusTopicReadyWithName(topic string) func(obj duckv1.KRShaped)
- func StatusTopicReadyWithOwner(topic, owner string) func(obj duckv1.KRShaped)
- func ToUnstructured(t *testing.T, obj runtime.Object, mutators ...UnstructuredMutator) runtime.Object
- func ToUnstructuredList(t *testing.T, objs []runtime.Object) (us []runtime.Object)
- func TriggerReference() *contract.Reference
- func WithAutoscalingAnnotationsSubscription() subscriptionv1.SubscriptionOption
- func WithAutoscalingAnnotationsTrigger() reconcilertesting.TriggerOption
- func WithBootstrapServerStatusAnnotation(servers string) reconcilertesting.BrokerOption
- func WithBrokerConfig(reference *duckv1.KReference) func(*eventing.Broker)
- func WithClusterRoleBindingRoleRef(roleName string) func(account *rbacv1.ClusterRoleBinding)
- func WithClusterRoleBindingSubjectServiceAccount(saNamespace, saName string) func(account *rbacv1.ClusterRoleBinding)
- func WithConfigmapOwnerRef(ownerref *metav1.OwnerReference) reconcilertesting.ConfigMapOption
- func WithDeadLetterSinkURI(uri string) func(cg *kafkainternals.ConsumerGroup)
- func WithDeletedTimeStamp(obj duckv1.KRShaped)
- func WithDeletedTimeStampConsumeGroup(cg *kafkainternals.ConsumerGroup)
- func WithDelivery(mutations ...func(spec *eventingduck.DeliverySpec)) func(*eventing.Broker)
- func WithExternalTopic(topic string) func(*eventing.Broker)
- func WithFreshSubscriber(sub *SubscriberInfo)
- func WithInitKafkaChannelConditions(obj duckv1.KRShaped)
- func WithNoDeadLetterSinkNamespace(spec *eventingduck.DeliverySpec)
- func WithNoSubscriberURI(sub *SubscriberInfo)
- func WithRetry(retry *int32, policy *eventingduck.BackoffPolicyType, delay *string) func(*eventing.Broker)
- func WithRoleBindingClusterRoleRef(roleName string) func(account *rbacv1.RoleBinding)
- func WithRoleBindingSubjectServiceAccount(saNamespace, saName string) func(account *rbacv1.RoleBinding)
- func WithSecretStatusAnnotation(name string) reconcilertesting.BrokerOption
- func WithServiceNamespace(ns string) func(s *corev1.Service)
- func WithSubscribers(subscribers ...*SubscriberInfo) func(obj duckv1.KRShaped)
- func WithTopicStatusAnnotation(topic string) reconcilertesting.BrokerOption
- func WithUnknownSubscriber(sub *SubscriberInfo)
- func WithUnreadySubscriber(sub *SubscriberInfo)
- type CMOption
- type ClusterRoleOption
- type ConsumerConfigsOption
- type ConsumerGroupOption
- func ConsumerForTrigger() ConsumerGroupOption
- func ConsumerGroupConsumerSpec(spec kafkainternals.ConsumerSpec) ConsumerGroupOption
- func ConsumerGroupOwnerRef(reference metav1.OwnerReference) ConsumerGroupOption
- func ConsumerGroupReplicas(replicas int32) ConsumerGroupOption
- func ConsumerGroupReplicasStatus(replicas int32) ConsumerGroupOption
- func ConsumerGroupSelector(selector map[string]string) ConsumerGroupOption
- func ConsumerGroupStatusReplicas(replicas int32) ConsumerGroupOption
- func ConsumerGroupSubscriber(d duckv1.Destination) ConsumerGroupOption
- func WithConsumerGroupAnnotations(annots map[string]string) ConsumerGroupOption
- func WithConsumerGroupFailed(reason string, msg string) ConsumerGroupOption
- func WithConsumerGroupLabels(labels map[string]string) ConsumerGroupOption
- func WithConsumerGroupMetaLabels(labels map[string]string) ConsumerGroupOption
- func WithConsumerGroupName(name string) ConsumerGroupOption
- func WithConsumerGroupNamespace(namespace string) ConsumerGroupOption
- func WithConsumerGroupOwnerRef(ownerref *metav1.OwnerReference) ConsumerGroupOption
- type ConsumerOption
- func ConsumerDeletedTimeStamp() ConsumerOption
- func ConsumerNotReady() ConsumerOption
- func ConsumerOwnerRef(reference metav1.OwnerReference) ConsumerOption
- func ConsumerReady() ConsumerOption
- func ConsumerSpec(spec kafkainternals.ConsumerSpec) ConsumerOption
- func ConsumerUID(uid string) ConsumerOption
- type ConsumerSpecOption
- func ConsumerAuth(auth *kafkainternals.Auth) ConsumerSpecOption
- func ConsumerCloudEventOverrides(ce *duckv1.CloudEventOverrides) ConsumerSpecOption
- func ConsumerConfigs(opts ...ConsumerConfigsOption) ConsumerSpecOption
- func ConsumerDelivery(delivery *kafkainternals.DeliverySpec) ConsumerSpecOption
- func ConsumerFilters(filters *kafkainternals.Filters) ConsumerSpecOption
- func ConsumerPlacement(pb kafkainternals.PodBind) ConsumerSpecOption
- func ConsumerReply(s *kafkainternals.ReplyStrategy) ConsumerSpecOption
- func ConsumerSubscriber(dest duckv1.Destination) ConsumerSpecOption
- func ConsumerTopics(topics ...string) ConsumerSpecOption
- func ConsumerVReplicas(vreplicas int32) ConsumerSpecOption
- type Ctor
- type DeliverySpecOption
- func ConsumerInitialOffset(offset sources.Offset) DeliverySpecOption
- func NewConsumerBackoffDelay(delay string) DeliverySpecOption
- func NewConsumerBackoffPolicy(policy eventingduck.BackoffPolicyType) DeliverySpecOption
- func NewConsumerRetry(r int32) DeliverySpecOption
- func NewConsumerSpecDeliveryDeadLetterSink() DeliverySpecOption
- func NewConsumerTimeout(timeout string) DeliverySpecOption
- type KRShapedOption
- func SinkContentMode(cm string) KRShapedOption
- func StatusSourceSinkNotResolved(err string) KRShapedOption
- func StatusSourceSinkResolved(uri string) KRShapedOption
- func WithAutoscalingAnnotationsSource() KRShapedOption
- func WithChannelDeadLetterSinkURI(uri string) KRShapedOption
- func WithChannelDelivery(d *eventingduckv1.DeliverySpec) KRShapedOption
- func WithCloudEventOverrides(overrides *duckv1.CloudEventOverrides) KRShapedOption
- func WithDeliverySpec() KRShapedOption
- func WithInitialOffset(offset sources.Offset) KRShapedOption
- func WithKeyType(keyType string) KRShapedOption
- func WithNumPartitions(np int32) KRShapedOption
- func WithReplicationFactor(rp int16) KRShapedOption
- func WithRetentionDuration(rd string) KRShapedOption
- func WithSourceConsumers(replicas int32) KRShapedOption
- func WithSourceSink(d duckv1.Destination) KRShapedOption
- type Listers
- func (l *Listers) GetAllObjects() []runtime.Object
- func (l *Listers) GetBrokerLister() eventinglisters.BrokerLister
- func (l *Listers) GetClusterRoleBindingLister() rbaclisters.ClusterRoleBindingLister
- func (l *Listers) GetConfigMapLister() corelisters.ConfigMapLister
- func (l *Listers) GetConsumerGroupLister() consumerlisters.ConsumerGroupLister
- func (l *Listers) GetConsumerLister() consumerlisters.ConsumerLister
- func (l *Listers) GetDeploymentLister() appslisters.DeploymentLister
- func (l *Listers) GetEventingKafkaBrokerObjects() []runtime.Object
- func (l *Listers) GetEventingObjects() []runtime.Object
- func (l *Listers) GetKafkaChannelLister() eventingkafkachannelslisters.KafkaChannelLister
- func (l *Listers) GetKafkaInternalsObjects() []runtime.Object
- func (l *Listers) GetKafkaSinkLister() eventingkafkabrokerlisters.KafkaSinkLister
- func (l *Listers) GetKafkaSourceLister() eventingkafkasourceslisters.KafkaSourceLister
- func (l *Listers) GetKubeObjects() []runtime.Object
- func (l *Listers) GetNamespaceLister() corelisters.NamespaceLister
- func (l *Listers) GetPodLister() corelisters.PodLister
- func (l *Listers) GetSecretLister() corelisters.SecretLister
- func (l *Listers) GetServiceAccountLister() corelisters.ServiceAccountLister
- func (l *Listers) GetServiceLister() corelisters.ServiceLister
- func (l *Listers) GetSubscriptionLister() messaginglisters.SubscriptionLister
- func (l *Listers) GetTriggerLister() eventinglisters.TriggerLister
- type PodOption
- type SubscriberInfo
- type UnstructuredMutator
Constants ¶
const ( BrokerUUID = "e7185016-5d98-4b54-84e8-3b1cd4acc6b4" BrokerNamespaceUUID = "d1234567-8910-1234-5678-901234567890" BrokerNamespace = "test-namespace" BrokerName = "test-broker" ExternalTopicName = "test-topic" SecretFinalizerName = "kafka.eventing/" + BrokerUUID TriggerName = "test-trigger" TriggerNamespace = "test-namespace" )
const ( ChannelName = "kc" ChannelNamespace = "test-nc" ChannelUUID = "c1234567-8901-2345-6789-123456789101" ChannelBootstrapServers = "kafka-1:9092,kafka-2:9093" ChannelServiceName = "kc-kn-channel" Subscription1Name = "sub-1" Subscription2Name = "sub-2" Subscription1UUID = "2f9b5e8e-deb6-11e8-9f32-f2801f1b9fd1" Subscription2UUID = "34c5aec8-deb6-11e8-9f32-f2801f1b9fd1" Subscription1URI = "sub-1-uri" Subscription2URI = "sub-2-uri" Subscription1ReplyURI = "sub-1-reply-uri" )
const ( ConfigMapNamespace = "test-namespace-config-map" ConfigMapName = "test-config-cm" ServiceNamespace = "test-service-namespace" ServiceName = "test-service" Service2Name = "test-service-2" TriggerUUID = "e7185016-5d98-4b54-84e8-3b1cd4acc6b5" SecretResourceVersion = "1234" SecretUUID = "a7185016-5d98-4b54-84e8-3b1cd4acc6b6" SystemNamespace = "knative-eventing" DispatcherPodUUID = "a7185016-5d98-4b54-84e8-3b1cd4acc6bp" )
const ( ConsumerNamePrefix = "test-cg" ConsumerNamespace = "test-cg-ns" SecretName = "secret-name" SecretNamespace = SystemNamespace )
const ( ConsumerGroupName = "test-cg" ConsumerGroupNamespace = "test-cg-ns" ConsumerGroupTestKey = ConsumerGroupNamespace + "/" + ConsumerGroupName )
const ( SinkUUID = "e7185016-5d98-4b54-84e8-3b1cd4acc6b5" SinkNamespace = "sink-namespace" SinkName = "sink-name" SinkNumPartitions = 10 SinkReplicationFactor = 3 SinkNotPresentErrFormat = "failed to describe topics %v: %v" )
const ( SourceName = "ks" SourceNamespace = "test-ns" SourceConsumerGroup = "ks-group" SourceUUID = "uuid" SourceBootstrapServers = "kafka:9092" SourceDeliverySpecRetry = 3 SourceDeliverySpecBackoffPolicy = eventingduck.BackoffPolicyExponential SourceDeliverySpecBackoffDelay = "PT5S" SourceDeliverySpecTimeout = "PT24H" )
Variables ¶
var ( Formats = []string{base.Protobuf, base.Json} ServiceURL = ServiceURLFrom(ServiceNamespace, ServiceName) ServiceDestination = ServiceURLDestination(ServiceNamespace, ServiceName) )
var ( ConsumerUUID = "c1234567-8901-2345-6789-123456789102" ConsumerName = fmt.Sprintf("%s-%d", ConsumerNamePrefix, 1) ConsumerSubscriberURI = apis.HTTP("localhost") ConsumerDeadLetterSinkURI = apis.HTTP("dls.com") )
var ( ConsumerLabels = map[string]string{"c": "C"} ConsumerSourceLabel = map[string]string{ kafkainternals.ConsumerLabelSelector: SourceUUID, } ConsumerTriggerLabel = map[string]string{ kafkainternals.ConsumerLabelSelector: TriggerUUID, } ConsumerSubscription1Label = map[string]string{ kafkainternals.ConsumerLabelSelector: Subscription1UUID, } ConsumerSubscription2Label = map[string]string{ kafkainternals.ConsumerLabelSelector: Subscription2UUID, } OwnerAsTriggerLabel = map[string]string{ kafkainternals.UserFacingResourceLabelSelector: "trigger", } OwnerAsSourceLabel = map[string]string{ kafkainternals.UserFacingResourceLabelSelector: "kafkasource", } OwnerAsChannelLabel = map[string]string{ kafkainternals.UserFacingResourceLabelSelector: "kafkachannel", kafkainternals.KafkaChannelNameLabel: ChannelName, } ConsumerGroupAnnotations = map[string]string{ autoscaler.AutoscalingClassAnnotation: keda.AutoscalerClass, autoscaler.AutoscalingMinScaleAnnotation: "0", autoscaler.AutoscalingMaxScaleAnnotation: "5", autoscaler.AutoscalingPollingIntervalAnnotation: "30", autoscaler.AutoscalingCooldownPeriodAnnotation: "300", autoscaler.AutoscalingLagThreshold: "10", autoscaler.AutoscalingActivationLagThreshold: "1", } )
var (
BrokerTopics = []string{fmt.Sprintf("%s%s-%s", TopicPrefix, BrokerNamespace, BrokerName)}
)
var (
SourceTopics = []string{"t1", "t2"}
)
Functions ¶
func BogusBrokerConfig ¶ added in v0.36.0
func BootstrapServers ¶ added in v0.18.0
func BrokerAddressable ¶ added in v0.18.0
func BrokerConfig ¶
func BrokerConfigMapAnnotations ¶ added in v0.29.4
func BrokerConfigMapAnnotations() reconcilertesting.BrokerOption
func BrokerConfigMapSecretAnnotation ¶ added in v0.29.4
func BrokerConfigMapSecretAnnotation(name string) reconcilertesting.BrokerOption
func BrokerDLSResolved ¶ added in v0.27.0
func BrokerDispatcherPod ¶ added in v0.18.0
func BrokerDispatcherPodUpdate ¶ added in v0.18.0
func BrokerDispatcherPodUpdate(namespace string, annotations map[string]string) clientgotesting.UpdateActionImpl
func BrokerReady ¶
func BrokerReceiverPod ¶ added in v0.18.0
func BrokerReceiverPodUpdate ¶ added in v0.18.0
func BrokerReceiverPodUpdate(namespace string, annotations map[string]string) clientgotesting.UpdateActionImpl
func BrokerReference ¶ added in v0.29.0
func BrokerSecretWithFinalizer ¶ added in v0.32.4
func BrokerTopic ¶ added in v0.18.0
func BrokerTopic() string
func ChannelAddressable ¶ added in v0.28.0
func ChannelAsOwnerReference ¶ added in v0.31.0
func ChannelAsOwnerReference() metav1.OwnerReference
func ChannelDispatcherPod ¶ added in v0.28.0
func ChannelDispatcherPodUpdate ¶ added in v0.28.0
func ChannelDispatcherPodUpdate(namespace string, annotations map[string]string) clientgotesting.UpdateActionImpl
func ChannelReceiverPod ¶ added in v0.28.0
func ChannelReceiverPodUpdate ¶ added in v0.28.0
func ChannelReceiverPodUpdate(namespace string, annotations map[string]string) clientgotesting.UpdateActionImpl
func ChannelReference ¶ added in v0.29.0
func ChannelTopic ¶ added in v0.28.0
func ChannelTopic() string
func ConfigMapUpdate ¶
func ConfigMapUpdate(namespace string, name string, format string, contract *contract.Contract, options ...reconcilertesting.ConfigMapOption) clientgotesting.UpdateActionImpl
func ConfigmapOwnerReferenceBroker ¶ added in v0.34.0
func ConfigmapOwnerReferenceBroker(uid types.UID, name string, controller bool) reconcilertesting.ConfigMapOption
func ConsumerGroupAsOwnerRef ¶ added in v0.30.0
func ConsumerGroupAsOwnerRef() metav1.OwnerReference
func ConsumerGroupReady ¶ added in v0.29.0
func ConsumerGroupReady(cg *kafkainternals.ConsumerGroup)
func ConsumerNoReply ¶ added in v0.30.0
func ConsumerNoReply() *kafkainternals.ReplyStrategy
func ConsumerTopicReply ¶ added in v0.30.0
func ConsumerTopicReply() *kafkainternals.ReplyStrategy
func DataPlaneConfigInitialOffset ¶ added in v0.35.0
func DataPlaneConfigInitialOffset(key string, offset sources.Offset) reconcilertesting.ConfigMapOption
func DataPlaneConfigMap ¶ added in v0.35.0
func DataPlaneConfigMap(namespace, name, key string, options ...reconcilertesting.ConfigMapOption) *corev1.ConfigMap
func DeploymentOwnerReferenceBroker ¶ added in v0.34.0
func DispatcherPodAsOwnerReference ¶ added in v0.30.0
func DispatcherPodAsOwnerReference(name string) reconcilertesting.ConfigMapOption
func ErrorAssertOrNil ¶ added in v0.35.5
func ErrorAssertOrNil(e interface{}) error
ErrorAssertOrNil returns an error given an interface{} variable
func GetSubscriberSpec ¶ added in v0.30.0
func GetSubscriberSpec(s *SubscriberInfo) *eventingduckv1.SubscriberSpec
func InitSinkConditions ¶ added in v0.18.0
func InitSourceConditions ¶ added in v0.28.0
func KReference ¶
func KReference(configMap *corev1.ConfigMap) *duckv1.KReference
func NamespacedBrokerAddressable ¶ added in v0.35.5
func NewBroker ¶
func NewBroker(options ...reconcilertesting.BrokerOption) runtime.Object
NewBroker creates a new Broker with broker class equals to kafka.BrokerClass.
func NewChannel ¶ added in v0.28.0
func NewChannel(options ...KRShapedOption) *messagingv1beta1.KafkaChannel
func NewClusterRole ¶ added in v0.36.2
func NewClusterRole(name string, cro ...ClusterRoleOption) *rbacv1.ClusterRole
func NewClusterRoleBinding ¶ added in v0.35.5
func NewClusterRoleBinding(name string, mutations ...func(account *rbacv1.ClusterRoleBinding)) *rbacv1.ClusterRoleBinding
func NewConfigMapFromContract ¶ added in v0.18.0
func NewConfigMapFromContract(contract *contract.Contract, namespace string, name string, format string, options ...reconcilertesting.ConfigMapOption) runtime.Object
func NewConfigMapWithBinaryData ¶ added in v0.28.0
func NewConfigMapWithBinaryData(namespace string, name string, data []byte, options ...reconcilertesting.ConfigMapOption) runtime.Object
func NewConfigMapWithTextData ¶ added in v0.28.0
func NewConfigMapWithTextData(namespace, name string, data map[string]string, options ...reconcilertesting.ConfigMapOption) runtime.Object
func NewConsumer ¶ added in v0.29.0
func NewConsumer(ordinal int, opts ...ConsumerOption) *kafkainternals.Consumer
func NewConsumerGroup ¶ added in v0.28.0
func NewConsumerGroup(opts ...ConsumerGroupOption) *kafkainternals.ConsumerGroup
func NewConsumerSpec ¶ added in v0.29.0
func NewConsumerSpec(opts ...ConsumerSpecOption) kafkainternals.ConsumerSpec
func NewConsumerSpecAuth ¶ added in v0.29.0
func NewConsumerSpecAuth() *kafkainternals.Auth
func NewConsumerSpecDelivery ¶ added in v0.29.0
func NewConsumerSpecDelivery(order internals.DeliveryOrdering, options ...DeliverySpecOption) *kafkainternals.DeliverySpec
func NewConsumerSpecFilters ¶ added in v0.29.0
func NewConsumerSpecFilters() *kafkainternals.Filters
func NewConsumerSpecSubscriber ¶ added in v0.30.0
func NewConsumerSpecSubscriber(uri string) duckv1.Destination
func NewDeletedBroker ¶
func NewDeletedBroker(options ...reconcilertesting.BrokerOption) runtime.Object
func NewDeletedBrokerWithoutConfigMapAnnotations ¶ added in v0.33.7
func NewDeletedBrokerWithoutConfigMapAnnotations(options ...reconcilertesting.BrokerOption) runtime.Object
func NewDeletedChannel ¶ added in v0.31.0
func NewDeletedChannel(options ...KRShapedOption) runtime.Object
func NewDeletedConsumeGroup ¶ added in v0.32.0
func NewDeletedConsumeGroup(opts ...ConsumerGroupOption) runtime.Object
func NewDeletedSink ¶ added in v0.18.0
func NewDeletedSink(options ...KRShapedOption) runtime.Object
func NewDeletedSource ¶ added in v0.27.0
func NewDeletedSource(options ...KRShapedOption) runtime.Object
func NewFactory ¶
func NewKedaSecret ¶ added in v0.35.0
func NewLegacySASLSSLSecret ¶ added in v0.31.2
func NewLegacySASLSecret ¶ added in v0.31.2
func NewLegacySSLSecret ¶ added in v0.31.2
func NewNamespacedBroker ¶ added in v0.34.0
func NewNamespacedBroker(options ...reconcilertesting.BrokerOption) runtime.Object
NewNamespacedBroker creates a new Broker with broker class equals to kafka.NamespacedBrokerClass.
func NewPerChannelService ¶ added in v0.31.0
func NewRoleBinding ¶ added in v0.34.0
func NewRoleBinding(namespace string, name string, mutations ...func(account *rbacv1.RoleBinding)) *rbacv1.RoleBinding
func NewSASLSSLSecret ¶ added in v0.31.0
func NewSSLSecret ¶ added in v0.21.0
func NewService2 ¶ added in v0.30.0
func NewServiceAccount ¶ added in v0.34.0
func NewServiceAccount(namespace string, name string, mutations ...func(account *corev1.ServiceAccount)) *corev1.ServiceAccount
func NewSink ¶ added in v0.18.0
func NewSink(options ...KRShapedOption) runtime.Object
func NewSource ¶ added in v0.27.0
func NewSource(options ...KRShapedOption) *sources.KafkaSource
func NewSourceSink2Reference ¶ added in v0.30.0
func NewSourceSink2Reference() duckv1.Destination
func NewSourceSinkObject ¶ added in v0.27.0
func NewSourceSinkReference ¶ added in v0.27.0
func NewSourceSinkReference() duckv1.Destination
func ReactorKEDAEnabled ¶ added in v0.36.0
func ReactorKEDAEnabled() clientgotesting.ReactionFunc
func RoleBindingOwnerReferenceBroker ¶ added in v0.34.0
func ServiceAccountOwnerReferenceBroker ¶ added in v0.34.0
func ServiceOwnerReferenceBroker ¶ added in v0.34.0
func ServiceURLDestination ¶ added in v0.30.3
func ServiceURLDestination(ns, name string) *duckv1.Destination
func ServiceURLFrom ¶ added in v0.25.2
func SinkAddressable ¶ added in v0.18.0
func SinkAuthSecretRef ¶ added in v0.21.0
func SinkReceiverPod ¶ added in v0.18.0
func SinkReceiverPodUpdate ¶ added in v0.18.0
func SinkReceiverPodUpdate(namespace string, annotations map[string]string) clientgotesting.UpdateActionImpl
func SinkReference ¶ added in v0.29.0
func SourceAsOwnerReference ¶ added in v0.30.0
func SourceAsOwnerReference() metav1.OwnerReference
func SourceDispatcherPod ¶ added in v0.27.0
func SourceReference ¶ added in v0.29.0
func StatusBrokerConfigMapUpdatedReady ¶ added in v0.28.0
func StatusBrokerConfigNotParsed ¶ added in v0.28.0
func StatusBrokerConfigParsed ¶ added in v0.28.0
func StatusBrokerDataPlaneAvailable ¶ added in v0.28.0
func StatusBrokerDataPlaneNotAvailable ¶ added in v0.28.0
func StatusBrokerFailedToCreateTopic ¶ added in v0.28.0
func StatusBrokerProbeFailed ¶ added in v0.28.0
func StatusBrokerProbeFailed(status prober.Status) reconcilertesting.BrokerOption
func StatusBrokerProbeSucceeded ¶ added in v0.28.0
func StatusBrokerTopicReady ¶ added in v0.28.0
func StatusConfigMapNotUpdatedReady ¶ added in v0.28.0
func StatusConfigMapUpdatedReady ¶ added in v0.28.0
func StatusConfigNotParsed ¶ added in v0.28.0
func StatusConfigParsed ¶ added in v0.28.0
func StatusControllerOwnsTopic ¶ added in v0.28.0
func StatusDataPlaneAvailable ¶ added in v0.28.0
func StatusDataPlaneNotAvailable ¶ added in v0.28.0
func StatusExternalBrokerTopicNotPresentOrInvalid ¶ added in v0.32.0
func StatusExternalBrokerTopicReady ¶ added in v0.32.0
func StatusFailedToCreateTopic ¶ added in v0.28.0
func StatusInitialOffsetsCommitted ¶ added in v0.28.0
func StatusProbeFailed ¶ added in v0.28.0
func StatusProbeSucceeded ¶ added in v0.28.0
func StatusTopicNotPresentErr ¶ added in v0.28.0
func StatusTopicNotPresentOrInvalid ¶ added in v0.32.0
func StatusTopicReadyWithName ¶ added in v0.28.0
func StatusTopicReadyWithOwner ¶ added in v0.28.0
func ToUnstructured ¶ added in v0.18.0
func ToUnstructured(t *testing.T, obj runtime.Object, mutators ...UnstructuredMutator) runtime.Object
ToUnstructured takes a single k8s resource and converts it to Unstructured object.
func ToUnstructuredList ¶ added in v0.35.5
ToUnstructuredList takes a list of k8s resources and converts them to Unstructured objects. We must pass objects as Unstructured to the dynamic client fake, or it won't handle them properly.
func TriggerReference ¶ added in v0.29.0
func WithAutoscalingAnnotationsSubscription ¶ added in v0.36.0
func WithAutoscalingAnnotationsSubscription() subscriptionv1.SubscriptionOption
func WithAutoscalingAnnotationsTrigger ¶ added in v0.36.0
func WithAutoscalingAnnotationsTrigger() reconcilertesting.TriggerOption
func WithBootstrapServerStatusAnnotation ¶ added in v0.35.0
func WithBootstrapServerStatusAnnotation(servers string) reconcilertesting.BrokerOption
func WithBrokerConfig ¶
func WithBrokerConfig(reference *duckv1.KReference) func(*eventing.Broker)
func WithClusterRoleBindingRoleRef ¶ added in v0.35.5
func WithClusterRoleBindingRoleRef(roleName string) func(account *rbacv1.ClusterRoleBinding)
func WithClusterRoleBindingSubjectServiceAccount ¶ added in v0.35.5
func WithClusterRoleBindingSubjectServiceAccount(saNamespace, saName string) func(account *rbacv1.ClusterRoleBinding)
func WithConfigmapOwnerRef ¶ added in v0.35.5
func WithConfigmapOwnerRef(ownerref *metav1.OwnerReference) reconcilertesting.ConfigMapOption
func WithDeadLetterSinkURI ¶ added in v0.29.0
func WithDeadLetterSinkURI(uri string) func(cg *kafkainternals.ConsumerGroup)
func WithDeletedTimeStamp ¶ added in v0.28.0
func WithDeletedTimeStampConsumeGroup ¶ added in v0.32.0
func WithDeletedTimeStampConsumeGroup(cg *kafkainternals.ConsumerGroup)
func WithDelivery ¶
func WithDelivery(mutations ...func(spec *eventingduck.DeliverySpec)) func(*eventing.Broker)
func WithExternalTopic ¶ added in v0.32.0
func WithFreshSubscriber ¶ added in v0.28.0
func WithFreshSubscriber(sub *SubscriberInfo)
func WithInitKafkaChannelConditions ¶ added in v0.28.0
func WithNoDeadLetterSinkNamespace ¶ added in v0.25.2
func WithNoDeadLetterSinkNamespace(spec *eventingduck.DeliverySpec)
func WithNoSubscriberURI ¶ added in v0.29.3
func WithNoSubscriberURI(sub *SubscriberInfo)
func WithRetry ¶ added in v0.19.0
func WithRetry(retry *int32, policy *eventingduck.BackoffPolicyType, delay *string) func(*eventing.Broker)
func WithRoleBindingClusterRoleRef ¶ added in v0.35.5
func WithRoleBindingClusterRoleRef(roleName string) func(account *rbacv1.RoleBinding)
func WithRoleBindingSubjectServiceAccount ¶ added in v0.35.5
func WithRoleBindingSubjectServiceAccount(saNamespace, saName string) func(account *rbacv1.RoleBinding)
func WithSecretStatusAnnotation ¶ added in v0.36.0
func WithSecretStatusAnnotation(name string) reconcilertesting.BrokerOption
func WithServiceNamespace ¶ added in v0.25.2
func WithSubscribers ¶ added in v0.28.0
func WithSubscribers(subscribers ...*SubscriberInfo) func(obj duckv1.KRShaped)
func WithTopicStatusAnnotation ¶ added in v0.35.0
func WithTopicStatusAnnotation(topic string) reconcilertesting.BrokerOption
func WithUnknownSubscriber ¶ added in v0.30.0
func WithUnknownSubscriber(sub *SubscriberInfo)
func WithUnreadySubscriber ¶ added in v0.28.0
func WithUnreadySubscriber(sub *SubscriberInfo)
Types ¶
type CMOption ¶ added in v0.21.0
func BrokerAuthConfig ¶ added in v0.21.0
func WithConfigMapNamespace ¶ added in v0.35.5
type ClusterRoleOption ¶ added in v0.36.2
type ClusterRoleOption func(role *rbacv1.ClusterRole)
ClusterRoleOption enables further configuration of a ClusterRole.
func WithClusterRoleLabel ¶ added in v0.36.2
func WithClusterRoleLabel(key, value string) ClusterRoleOption
WithClusterRoleLabel is a ClusterRoleOption that adds the given labels to the ClusterRole.
func WithClusterRoleRules ¶ added in v0.36.2
func WithClusterRoleRules(rules ...rbacv1.PolicyRule) ClusterRoleOption
WithClusterRoleRules is a ClusterRoleOption that adds the given rules to the ClusterRole.
type ConsumerConfigsOption ¶ added in v0.29.0
type ConsumerConfigsOption func(configs *kafkainternals.ConsumerConfigs)
func ConsumerBootstrapServersConfig ¶ added in v0.29.0
func ConsumerBootstrapServersConfig(s string) ConsumerConfigsOption
func ConsumerGroupIdConfig ¶ added in v0.29.0
func ConsumerGroupIdConfig(s string) ConsumerConfigsOption
func ConsumerKeyTypeConfig ¶ added in v0.33.0
func ConsumerKeyTypeConfig(s string) ConsumerConfigsOption
type ConsumerGroupOption ¶ added in v0.29.0
type ConsumerGroupOption func(cg *kafkainternals.ConsumerGroup)
func ConsumerForTrigger ¶ added in v0.29.0
func ConsumerForTrigger() ConsumerGroupOption
func ConsumerGroupConsumerSpec ¶ added in v0.29.0
func ConsumerGroupConsumerSpec(spec kafkainternals.ConsumerSpec) ConsumerGroupOption
func ConsumerGroupOwnerRef ¶ added in v0.30.0
func ConsumerGroupOwnerRef(reference metav1.OwnerReference) ConsumerGroupOption
func ConsumerGroupReplicas ¶ added in v0.29.0
func ConsumerGroupReplicas(replicas int32) ConsumerGroupOption
func ConsumerGroupReplicasStatus ¶ added in v0.29.0
func ConsumerGroupReplicasStatus(replicas int32) ConsumerGroupOption
func ConsumerGroupSelector ¶ added in v0.29.0
func ConsumerGroupSelector(selector map[string]string) ConsumerGroupOption
func ConsumerGroupStatusReplicas ¶ added in v0.30.0
func ConsumerGroupStatusReplicas(replicas int32) ConsumerGroupOption
func ConsumerGroupSubscriber ¶ added in v0.30.0
func ConsumerGroupSubscriber(d duckv1.Destination) ConsumerGroupOption
func WithConsumerGroupAnnotations ¶ added in v0.35.0
func WithConsumerGroupAnnotations(annots map[string]string) ConsumerGroupOption
func WithConsumerGroupFailed ¶ added in v0.29.0
func WithConsumerGroupFailed(reason string, msg string) ConsumerGroupOption
func WithConsumerGroupLabels ¶ added in v0.29.0
func WithConsumerGroupLabels(labels map[string]string) ConsumerGroupOption
func WithConsumerGroupMetaLabels ¶ added in v0.30.0
func WithConsumerGroupMetaLabels(labels map[string]string) ConsumerGroupOption
func WithConsumerGroupName ¶ added in v0.29.0
func WithConsumerGroupName(name string) ConsumerGroupOption
func WithConsumerGroupNamespace ¶ added in v0.29.0
func WithConsumerGroupNamespace(namespace string) ConsumerGroupOption
func WithConsumerGroupOwnerRef ¶ added in v0.29.0
func WithConsumerGroupOwnerRef(ownerref *metav1.OwnerReference) ConsumerGroupOption
type ConsumerOption ¶ added in v0.29.0
type ConsumerOption func(cg *kafkainternals.Consumer)
func ConsumerDeletedTimeStamp ¶ added in v0.35.6
func ConsumerDeletedTimeStamp() ConsumerOption
func ConsumerNotReady ¶ added in v0.34.0
func ConsumerNotReady() ConsumerOption
func ConsumerOwnerRef ¶ added in v0.30.0
func ConsumerOwnerRef(reference metav1.OwnerReference) ConsumerOption
func ConsumerReady ¶ added in v0.30.0
func ConsumerReady() ConsumerOption
func ConsumerSpec ¶ added in v0.29.0
func ConsumerSpec(spec kafkainternals.ConsumerSpec) ConsumerOption
func ConsumerUID ¶ added in v0.30.0
func ConsumerUID(uid string) ConsumerOption
type ConsumerSpecOption ¶ added in v0.29.0
type ConsumerSpecOption func(c *kafkainternals.ConsumerSpec)
func ConsumerAuth ¶ added in v0.29.0
func ConsumerAuth(auth *kafkainternals.Auth) ConsumerSpecOption
func ConsumerCloudEventOverrides ¶ added in v0.29.0
func ConsumerCloudEventOverrides(ce *duckv1.CloudEventOverrides) ConsumerSpecOption
func ConsumerConfigs ¶ added in v0.29.0
func ConsumerConfigs(opts ...ConsumerConfigsOption) ConsumerSpecOption
func ConsumerDelivery ¶ added in v0.29.0
func ConsumerDelivery(delivery *kafkainternals.DeliverySpec) ConsumerSpecOption
func ConsumerFilters ¶ added in v0.29.0
func ConsumerFilters(filters *kafkainternals.Filters) ConsumerSpecOption
func ConsumerPlacement ¶ added in v0.29.0
func ConsumerPlacement(pb kafkainternals.PodBind) ConsumerSpecOption
func ConsumerReply ¶ added in v0.30.0
func ConsumerReply(s *kafkainternals.ReplyStrategy) ConsumerSpecOption
func ConsumerSubscriber ¶ added in v0.29.0
func ConsumerSubscriber(dest duckv1.Destination) ConsumerSpecOption
func ConsumerTopics ¶ added in v0.29.0
func ConsumerTopics(topics ...string) ConsumerSpecOption
func ConsumerVReplicas ¶ added in v0.29.0
func ConsumerVReplicas(vreplicas int32) ConsumerSpecOption
type Ctor ¶
type Ctor func(ctx context.Context, listers *Listers, env *config.Env, row *TableRow) pkgcontroller.Reconciler
Ctor functions create a k8s controller with given params.
type DeliverySpecOption ¶ added in v0.30.0
type DeliverySpecOption func(spec *kafkainternals.DeliverySpec)
func ConsumerInitialOffset ¶ added in v0.31.0
func ConsumerInitialOffset(offset sources.Offset) DeliverySpecOption
func NewConsumerBackoffDelay ¶ added in v0.30.0
func NewConsumerBackoffDelay(delay string) DeliverySpecOption
func NewConsumerBackoffPolicy ¶ added in v0.30.0
func NewConsumerBackoffPolicy(policy eventingduck.BackoffPolicyType) DeliverySpecOption
func NewConsumerRetry ¶ added in v0.30.0
func NewConsumerRetry(r int32) DeliverySpecOption
func NewConsumerSpecDeliveryDeadLetterSink ¶ added in v0.30.0
func NewConsumerSpecDeliveryDeadLetterSink() DeliverySpecOption
func NewConsumerTimeout ¶ added in v0.30.0
func NewConsumerTimeout(timeout string) DeliverySpecOption
type KRShapedOption ¶ added in v0.28.0
func SinkContentMode ¶ added in v0.33.1
func SinkContentMode(cm string) KRShapedOption
func StatusSourceSinkNotResolved ¶ added in v0.28.0
func StatusSourceSinkNotResolved(err string) KRShapedOption
func StatusSourceSinkResolved ¶ added in v0.28.0
func StatusSourceSinkResolved(uri string) KRShapedOption
func WithAutoscalingAnnotationsSource ¶ added in v0.35.0
func WithAutoscalingAnnotationsSource() KRShapedOption
func WithChannelDeadLetterSinkURI ¶ added in v0.30.3
func WithChannelDeadLetterSinkURI(uri string) KRShapedOption
func WithChannelDelivery ¶ added in v0.30.3
func WithChannelDelivery(d *eventingduckv1.DeliverySpec) KRShapedOption
func WithCloudEventOverrides ¶ added in v0.27.0
func WithCloudEventOverrides(overrides *duckv1.CloudEventOverrides) KRShapedOption
func WithDeliverySpec ¶ added in v0.37.0
func WithDeliverySpec() KRShapedOption
func WithInitialOffset ¶ added in v0.36.2
func WithInitialOffset(offset sources.Offset) KRShapedOption
func WithKeyType ¶ added in v0.27.0
func WithKeyType(keyType string) KRShapedOption
func WithNumPartitions ¶ added in v0.28.0
func WithNumPartitions(np int32) KRShapedOption
func WithReplicationFactor ¶ added in v0.28.0
func WithReplicationFactor(rp int16) KRShapedOption
func WithRetentionDuration ¶ added in v0.28.0
func WithRetentionDuration(rd string) KRShapedOption
func WithSourceConsumers ¶ added in v0.35.0
func WithSourceConsumers(replicas int32) KRShapedOption
func WithSourceSink ¶ added in v0.30.0
func WithSourceSink(d duckv1.Destination) KRShapedOption
type Listers ¶
type Listers struct {
// contains filtered or unexported fields
}
func (*Listers) GetAllObjects ¶
func (*Listers) GetBrokerLister ¶
func (l *Listers) GetBrokerLister() eventinglisters.BrokerLister
func (*Listers) GetClusterRoleBindingLister ¶ added in v0.35.5
func (l *Listers) GetClusterRoleBindingLister() rbaclisters.ClusterRoleBindingLister
func (*Listers) GetConfigMapLister ¶
func (l *Listers) GetConfigMapLister() corelisters.ConfigMapLister
func (*Listers) GetConsumerGroupLister ¶ added in v0.28.0
func (l *Listers) GetConsumerGroupLister() consumerlisters.ConsumerGroupLister
func (*Listers) GetConsumerLister ¶ added in v0.28.0
func (l *Listers) GetConsumerLister() consumerlisters.ConsumerLister
func (*Listers) GetDeploymentLister ¶ added in v0.35.5
func (l *Listers) GetDeploymentLister() appslisters.DeploymentLister
func (*Listers) GetEventingKafkaBrokerObjects ¶ added in v0.27.0
func (*Listers) GetEventingObjects ¶
func (*Listers) GetKafkaChannelLister ¶ added in v0.28.0
func (l *Listers) GetKafkaChannelLister() eventingkafkachannelslisters.KafkaChannelLister
func (*Listers) GetKafkaInternalsObjects ¶ added in v0.29.0
func (*Listers) GetKafkaSinkLister ¶ added in v0.18.0
func (l *Listers) GetKafkaSinkLister() eventingkafkabrokerlisters.KafkaSinkLister
func (*Listers) GetKafkaSourceLister ¶ added in v0.27.0
func (l *Listers) GetKafkaSourceLister() eventingkafkasourceslisters.KafkaSourceLister
func (*Listers) GetKubeObjects ¶
func (*Listers) GetNamespaceLister ¶ added in v0.36.2
func (l *Listers) GetNamespaceLister() corelisters.NamespaceLister
func (*Listers) GetPodLister ¶
func (l *Listers) GetPodLister() corelisters.PodLister
func (*Listers) GetSecretLister ¶ added in v0.21.0
func (l *Listers) GetSecretLister() corelisters.SecretLister
func (*Listers) GetServiceAccountLister ¶ added in v0.35.5
func (l *Listers) GetServiceAccountLister() corelisters.ServiceAccountLister
func (*Listers) GetServiceLister ¶ added in v0.31.0
func (l *Listers) GetServiceLister() corelisters.ServiceLister
func (*Listers) GetSubscriptionLister ¶ added in v0.29.0
func (l *Listers) GetSubscriptionLister() messaginglisters.SubscriptionLister
func (*Listers) GetTriggerLister ¶
func (l *Listers) GetTriggerLister() eventinglisters.TriggerLister
type PodOption ¶ added in v0.30.0
func PodAnnotations ¶ added in v0.30.0
func PodPending ¶ added in v0.35.4
func PodPending() PodOption
func PodRunning ¶ added in v0.30.0
func PodRunning() PodOption
type SubscriberInfo ¶ added in v0.28.0
type SubscriberInfo struct {
// contains filtered or unexported fields
}
func Subscriber1 ¶ added in v0.28.0
func Subscriber1(options ...subscriberInfoOption) *SubscriberInfo
func Subscriber2 ¶ added in v0.28.0
func Subscriber2(options ...subscriberInfoOption) *SubscriberInfo
type UnstructuredMutator ¶ added in v0.35.5
type UnstructuredMutator func(u *unstructured.Unstructured)