fixtures

package
v0.0.0-...-11b31ba Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldManager             = "eventing-tests"
	NamespaceName            = "kyma-system"
	ManagerDeploymentName    = "eventing-manager"
	CRName                   = "eventing"
	ManagerContainerName     = "manager"
	PublisherContainerName   = "eventing-publisher-proxy"
	EventMeshSecretNamespace = "kyma-system"
	EventMeshSecretName      = "eventing-backend"
	EventOriginalTypeHeader  = "originaltype"
)

Variables

This section is empty.

Functions

func AppendMsgToError

func AppendMsgToError(err error, msg string) error

func ConvertSelectorLabelsToString

func ConvertSelectorLabelsToString(labels map[string]string) string

func EventingCR

func EventingCR(backendType operatorv1alpha1.BackendType) *operatorv1alpha1.Eventing

func EventingEventMeshCR

func EventingEventMeshCR() *operatorv1alpha1.Eventing

func EventingNATSCR

func EventingNATSCR() *operatorv1alpha1.Eventing

func FindContainerInPod

func FindContainerInPod(pod kcorev1.Pod, name string) *kcorev1.Container

func Namespace

func Namespace(name string) *kcorev1.Namespace

func NewSinkDeployment

func NewSinkDeployment(name, namespace, image string) *kappsv1.Deployment

func NewSinkService

func NewSinkService(name, namespace string) *kcorev1.Service

func PeerAuthenticationGVR

func PeerAuthenticationGVR() schema.GroupVersionResource

func PublisherSpec

func PublisherSpec() operatorv1alpha1.Publisher

func V1Alpha2SubscriptionsToTest

func V1Alpha2SubscriptionsToTest() []eventing.TestSubscriptionInfo

Types

type SubscriptionCRVersion

type SubscriptionCRVersion string
const (
	V1Alpha2SubscriptionCRVersion SubscriptionCRVersion = "v1alpha2"
)

Jump to

Keyboard shortcuts

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