testtransformer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbstractResourceHandlerExamples

func AbstractResourceHandlerExamples() *transform.AbstractResourceGetExamplesOutput

func AbstractResourceHandlerSchema

func AbstractResourceHandlerSchema() *provider.ResourceDefinitionsSchema

AbstractResourceHandlerSchema returns a stub spec definition for the Handler resource.

func AbstractResourceHandlerValidateOutput

func AbstractResourceHandlerValidateOutput() *transform.AbstractResourceValidateOutput

AbstractResourceHandlerValidateOutput returns a stub validation output for the Handler abstract resource.

func NewTransformer

func NewTransformer() transform.SpecTransformer

NewTransformer creates a new instance of the test Celerity transformer that contains the supported abstract resources for the stub Celerity transformer. This is purely for testing purposes.

func StartPluginServer

func StartPluginServer(
	serviceClient pluginservicev1.ServiceClient,
	failingPlugin bool,
) (transformerserverv1.TransformerClient, func())

StartPluginServer starts the test transformer plugin server to run in the same process as the test suite.

func TestTransformerConfigDefinition

func TestTransformerConfigDefinition() *core.ConfigDefinition

TestTransformerConfigDefinition creates the config definition for the test Celerity transformer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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