Documentation ¶
Index ¶
- Constants
- func ConfigurePrivilegedServiceAccount() error
- func CreateEventProxySidecar(nodeName string) (err error)
- func CreateServiceSidecar() error
- func DeleteService(namespace, name string)
- func DeleteTestSidecarNamespace() error
- func Enable() bool
- func GetCloudEventProxyImageFromPod() (image string, err error)
- func InitEvents(fullConfig *testconfig.TestConfig, localHttpServerPort, localPortFoward int, ...)
- func IsDeployConsumerSidecar() (deployConsumerSidecar bool)
Constants ¶
View Source
const ( ConsumerSidecarTestNamespace = "ptp-event-framework-test" ProviderSidecarTestNamespace = "openshift-ptp" TestSidecarName = "cloud-proxy-sidecar" TestSidecarContainerName = "sidecar" TestSidecarSaName = "sidecar-sa" TestServiceName = "consumer-events-subscription-service" TestSidecarSuccessLogString = "rest service returned healthy status" CustomerCloudEventProxyPort = 8089 ProviderCloudEventProxyPort = 9085 )
View Source
const DeleteBackground = "deleteBackground"
View Source
const DeleteForeground = "deleteForeground"
Variables ¶
This section is empty.
Functions ¶
func ConfigurePrivilegedServiceAccount ¶
func ConfigurePrivilegedServiceAccount() error
func CreateEventProxySidecar ¶
create ptp-events sidecar
func DeleteTestSidecarNamespace ¶
func DeleteTestSidecarNamespace() error
delete consumer sidecar pod and associated service
func GetCloudEventProxyImageFromPod ¶
gets the cloud-event-proxy sidecar image from the ptp-operator pods
func InitEvents ¶
func InitEvents(fullConfig *testconfig.TestConfig, localHttpServerPort, localPortFoward int, useSideCar bool)
initialized the event listening framework to start listening for all supported events
func IsDeployConsumerSidecar ¶
func IsDeployConsumerSidecar() (deployConsumerSidecar bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.