Documentation ¶
Overview ¶
Package testingdata creates data plane resources used by tests by reading YAML files. This reduces the cubersome of creating those resources in go code. The YAML files are also easier to read.
Index ¶
- func Config(t *testing.T, bc *intv1alpha1.BrokerCell, broker *brokerv1beta1.Broker, ...) *corev1.ConfigMap
- func EmptyConfig(t *testing.T, bc *intv1alpha1.BrokerCell) *corev1.ConfigMap
- func FanoutDeployment(t *testing.T) *appsv1.Deployment
- func FanoutDeploymentWithStatus(t *testing.T) *appsv1.Deployment
- func FanoutHPA(t *testing.T) *hpav2beta2.HorizontalPodAutoscaler
- func IngressDeployment(t *testing.T) *appsv1.Deployment
- func IngressDeploymentWithStatus(t *testing.T) *appsv1.Deployment
- func IngressHPA(t *testing.T) *hpav2beta2.HorizontalPodAutoscaler
- func IngressService(t *testing.T) *corev1.Service
- func IngressServiceWithStatus(t *testing.T) *corev1.Service
- func RetryDeployment(t *testing.T) *appsv1.Deployment
- func RetryDeploymentWithStatus(t *testing.T) *appsv1.Deployment
- func RetryHPA(t *testing.T) *hpav2beta2.HorizontalPodAutoscaler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Config ¶
func Config(t *testing.T, bc *intv1alpha1.BrokerCell, broker *brokerv1beta1.Broker, triggers ...*brokerv1beta1.Trigger) *corev1.ConfigMap
func EmptyConfig ¶
func EmptyConfig(t *testing.T, bc *intv1alpha1.BrokerCell) *corev1.ConfigMap
func FanoutDeployment ¶
func FanoutDeployment(t *testing.T) *appsv1.Deployment
func FanoutDeploymentWithStatus ¶
func FanoutDeploymentWithStatus(t *testing.T) *appsv1.Deployment
func FanoutHPA ¶
func FanoutHPA(t *testing.T) *hpav2beta2.HorizontalPodAutoscaler
func IngressDeployment ¶
func IngressDeployment(t *testing.T) *appsv1.Deployment
func IngressDeploymentWithStatus ¶
func IngressDeploymentWithStatus(t *testing.T) *appsv1.Deployment
func IngressHPA ¶
func IngressHPA(t *testing.T) *hpav2beta2.HorizontalPodAutoscaler
func RetryDeployment ¶
func RetryDeployment(t *testing.T) *appsv1.Deployment
func RetryDeploymentWithStatus ¶
func RetryDeploymentWithStatus(t *testing.T) *appsv1.Deployment
func RetryHPA ¶
func RetryHPA(t *testing.T) *hpav2beta2.HorizontalPodAutoscaler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.