Documentation ¶
Index ¶
- func NewService(t *eventingv1alpha1.Trigger) *corev1.Service
- func NewSubscription(t *eventingv1alpha1.Trigger, ...) *eventingv1alpha1.Subscription
- func NewVirtualService(t *eventingv1alpha1.Trigger, svc *corev1.Service) *istiov1alpha3.VirtualService
- func ServiceLabels(t *eventingv1alpha1.Trigger) map[string]string
- func SubscriptionLabels(t *eventingv1alpha1.Trigger) map[string]string
- func VirtualServiceLabels(t *eventingv1alpha1.Trigger) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(t *eventingv1alpha1.Trigger) *corev1.Service
NewService returns a K8s placeholder service for trigger 't'.
func NewSubscription ¶
func NewSubscription(t *eventingv1alpha1.Trigger, brokerTrigger, brokerIngress *eventingv1alpha1.Channel, svc *corev1.Service) *eventingv1alpha1.Subscription
NewSubscription returns a placeholder subscription for trigger 't', from brokerTrigger to 'svc' replying to brokerIngress.
func NewVirtualService ¶
func NewVirtualService(t *eventingv1alpha1.Trigger, svc *corev1.Service) *istiov1alpha3.VirtualService
NewVirtualService returns a placeholder virtual service object for trigger 't' and service 'svc'.
func ServiceLabels ¶
func ServiceLabels(t *eventingv1alpha1.Trigger) map[string]string
func SubscriptionLabels ¶
func SubscriptionLabels(t *eventingv1alpha1.Trigger) map[string]string
func VirtualServiceLabels ¶
func VirtualServiceLabels(t *eventingv1alpha1.Trigger) map[string]string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.