testingdata

package
v0.19.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config added in v0.16.0

func Config(t *testing.T, bc *intv1alpha1.BrokerCell, broker *brokerv1beta1.Broker, triggers ...*brokerv1beta1.Trigger) *corev1.ConfigMap

func EmptyConfig added in v0.16.0

func EmptyConfig(t *testing.T, bc *intv1alpha1.BrokerCell) *corev1.ConfigMap

func FanoutDeployment

func FanoutDeployment(t *testing.T) *appsv1.Deployment

func FanoutDeploymentWithRestartAnnotation added in v0.17.6

func FanoutDeploymentWithRestartAnnotation(t *testing.T) *appsv1.Deployment

func FanoutDeploymentWithStatus

func FanoutDeploymentWithStatus(t *testing.T) *appsv1.Deployment

func FanoutHPA added in v0.16.0

func IngressDeployment

func IngressDeployment(t *testing.T) *appsv1.Deployment

func IngressDeploymentWithFilteringAnnotation added in v0.19.0

func IngressDeploymentWithFilteringAnnotation(t *testing.T) *appsv1.Deployment

TODO(1804): remove this function when ingress filtering is enabled by default.

func IngressDeploymentWithRestartAnnotation added in v0.17.6

func IngressDeploymentWithRestartAnnotation(t *testing.T) *appsv1.Deployment

func IngressDeploymentWithStatus

func IngressDeploymentWithStatus(t *testing.T) *appsv1.Deployment

func IngressHPA added in v0.16.0

func IngressService

func IngressService(t *testing.T) *corev1.Service

func IngressServiceWithStatus

func IngressServiceWithStatus(t *testing.T) *corev1.Service

func RetryDeployment

func RetryDeployment(t *testing.T) *appsv1.Deployment

func RetryDeploymentWithRestartAnnotation added in v0.17.6

func RetryDeploymentWithRestartAnnotation(t *testing.T) *appsv1.Deployment

func RetryDeploymentWithStatus

func RetryDeploymentWithStatus(t *testing.T) *appsv1.Deployment

func RetryHPA added in v0.16.0

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL