Documentation
¶
Index ¶
- func AbstractLinkHandlerAPIAnnotations() map[string]*provider.LinkAnnotationDefinition
- func AbstractLinkHandlerAPITypeDescription() *transform.AbstractLinkGetTypeDescriptionOutput
- func AbstractResourceHandlerExamples() *transform.AbstractResourceGetExamplesOutput
- func AbstractResourceHandlerSchema() *provider.ResourceDefinitionsSchema
- func AbstractResourceHandlerTypeDescription() *transform.AbstractResourceGetTypeDescriptionOutput
- func AbstractResourceHandlerValidateOutput() *transform.AbstractResourceValidateOutput
- func NewTransformer() transform.SpecTransformer
- func StartPluginServer(serviceClient pluginservicev1.ServiceClient, failingPlugin bool) (transformerserverv1.TransformerClient, func())
- func TestTransformerConfigDefinition() *core.ConfigDefinition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbstractLinkHandlerAPIAnnotations ¶ added in v0.5.0
func AbstractLinkHandlerAPIAnnotations() map[string]*provider.LinkAnnotationDefinition
AbstractLinkHandlerAPIAnnotations returns the annotation definitions for the handler -> api abstract link.
func AbstractLinkHandlerAPITypeDescription ¶ added in v0.5.0
func AbstractLinkHandlerAPITypeDescription() *transform.AbstractLinkGetTypeDescriptionOutput
AbstractLinkHandlerAPITypeDescription returns the expected type description for the handler -> api abstract link.
func AbstractResourceHandlerExamples ¶
func AbstractResourceHandlerExamples() *transform.AbstractResourceGetExamplesOutput
func AbstractResourceHandlerSchema ¶
func AbstractResourceHandlerSchema() *provider.ResourceDefinitionsSchema
AbstractResourceHandlerSchema returns a stub spec definition for the Handler resource.
func AbstractResourceHandlerTypeDescription ¶
func AbstractResourceHandlerTypeDescription() *transform.AbstractResourceGetTypeDescriptionOutput
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.