Documentation ¶
Index ¶
- func DispatcherLabels(brokerName string) map[string]string
- func DispatcherName(brokerName string) string
- func IngressLabels(brokerName string) map[string]string
- func MakeDispatcherDeployment(args *DispatcherArgs) *appsv1.Deployment
- func MakeIngressDeployment(args *IngressArgs) *appsv1.Deployment
- func MakeIngressService(b *eventingv1.Broker) *corev1.Service
- type DispatcherArgs
- type IngressArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DispatcherLabels ¶ added in v0.19.0
DispatcherLabels generates the labels present on all resources representing the dispatcher of the given Broker.
func DispatcherName ¶ added in v0.19.0
func IngressLabels ¶
IngressLabels generates the labels present on all resources representing the ingress of the given Broker.
func MakeDispatcherDeployment ¶ added in v0.19.0
func MakeDispatcherDeployment(args *DispatcherArgs) *appsv1.Deployment
MakeDispatcherDeployment creates the in-memory representation of the Broker's Dispatcher Deployment.
func MakeIngressDeployment ¶
func MakeIngressDeployment(args *IngressArgs) *appsv1.Deployment
MakeIngressDeployment creates the in-memory representation of the Broker's ingress Deployment.
func MakeIngressService ¶
func MakeIngressService(b *eventingv1.Broker) *corev1.Service
MakeIngressService creates the in-memory representation of the Broker's ingress Service.
Types ¶
type DispatcherArgs ¶ added in v0.19.0
type DispatcherArgs struct { Delivery *eventingduckv1.DeliverySpec Broker *eventingv1.Broker Image string //ServiceAccountName string RabbitMQHost string RabbitMQSecretName string RabbitMQCASecretName string QueueName string BrokerUrlSecretKey string BrokerIngressURL *apis.URL Subscriber *apis.URL Configs reconcilersource.ConfigAccessor ResourceRequirements corev1.ResourceRequirements }
DispatcherArgs are the arguments to create a Broker's Dispatcher Deployment that handles DeadLetterSink deliveries.
type IngressArgs ¶
type IngressArgs struct { Broker *eventingv1.Broker Image string //ServiceAccountName string RabbitMQSecretName string RabbitMQCASecretName string BrokerUrlSecretKey string Configs reconcilersource.ConfigAccessor ResourceRequirements corev1.ResourceRequirements }
IngressArgs are the arguments to create a Broker's ingress Deployment.