render

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FluentRender

type FluentRender struct {
	Out    io.Writer
	Indent int
}

func (*FluentRender) Render

func (f *FluentRender) Render(config types.FluentConfig) error

func (*FluentRender) RenderDirectives

func (f *FluentRender) RenderDirectives(directives []types.Directive, indent int) error

type PluginUnitTest

type PluginUnitTest struct {
	System       *types.SystemBuilder
	FluentConfig *types.System
	Test         *testing.T
	Prefix       string
}

func NewOutputPluginTest

func NewOutputPluginTest(t *testing.T, plugin plugins.DirectiveConverter) *PluginUnitTest

func (PluginUnitTest) DiffResult

func (p PluginUnitTest) DiffResult(expected string)

func (PluginUnitTest) Render

func (p PluginUnitTest) Render() string

type Renderer

type Renderer interface {
	Render(config types.FluentConfig) error
}

Jump to

Keyboard shortcuts

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