testingdata

package
v0.0.0-...-d19fc40 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 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

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 IngressDeployment

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

func IngressDeploymentWithStatus

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

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 RetryDeploymentWithStatus

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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