builders

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOutput

type MockOutput struct {
	mock.Mock
}

func NewMockOutput

func NewMockOutput() *MockOutput

func (*MockOutput) Output

func (o *MockOutput) Output(list []*builder.Builder) error

type PlainOutput

type PlainOutput struct {
	// contains filtered or unexported fields
}

PlainOutput is an output for the builders

func NewPlainOutput

func NewPlainOutput(options ...PlainOutputOptionsFunc) *PlainOutput

NewPlainOutput creates a new Output

func (*PlainOutput) Options

func (o *PlainOutput) Options(opts ...PlainOutputOptionsFunc)

Options configure the service

func (*PlainOutput) Output

func (o *PlainOutput) Output(list []*builder.Builder) error

Output writes into writer the builders from a list in plain format

type PlainOutputOptionsFunc

type PlainOutputOptionsFunc func(*PlainOutput)

PlainOutputOptionsFunc is a function used to configure the service

Jump to

Keyboard shortcuts

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