Documentation ¶
Index ¶
- Constants
- func Logger(h http.Handler) http.Handler
- func NewEventActivation(name string, namespace string, sourceEnvironment string, ...) *eaApis.EventActivation
- func NewSubscriberDeployment(sbscrImg string) *appsv1.Deployment
- func NewSubscriberServerV1() *httptest.Server
- func NewSubscriberServerV2() *httptest.Server
- func NewSubscriberServerWithPort(port int, stop chan bool) *http.Server
- func NewSubscriberService() *apiv1.Service
- func NewSubscription(name string, namespace string, subscriberEventEndpointURL string, ...) *apiv1.Subscription
Constants ¶
View Source
const ( SubServer1EventsPath = "/v1/events" SubServer1StatusPath = "/v1/status" SubServer1ResultsPath = "/v1/results" SubServer2EventsPath = "/v2/events" SubServer2StatusPath = "/v2/status" SubServer2ResultsPath = "/v2/results" )
Subscribers Servers API paths
View Source
const (
SubscriberName = "test-core-event-bus-subscriber"
)
Variables ¶
This section is empty.
Functions ¶
func NewEventActivation ¶
func NewEventActivation(name string, namespace string, sourceEnvironment string, sourceNamespace string, sourceType string) *eaApis.EventActivation
NewEventActivation creates a new event activation
func NewSubscriberDeployment ¶
func NewSubscriberDeployment(sbscrImg string) *appsv1.Deployment
func NewSubscriberServerV1 ¶
NewSubscriberServerV1 ...
func NewSubscriberServerV2 ¶
NewSubscriberServerV2 ...
func NewSubscriberServerWithPort ¶
NewSubscriberServerWithPort ...
func NewSubscriberService ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.