testingdata

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 14 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 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

type BrokerCellObjects added in v0.21.0

type BrokerCellObjects struct {
	BrokersToTriggers map[*brokerv1.Broker][]*brokerv1.Trigger
	Channels          []*v1beta1.Channel
}

Jump to

Keyboard shortcuts

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