printer

package
v0.0.27 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONPrinter

type JSONPrinter struct{}

func (JSONPrinter) PrintReport

func (JSONPrinter) PrintReport(modules []tf.Module, writer io.Writer) error

type ModuleVersionPrinter

type ModuleVersionPrinter interface {
	// PrintReport receives a report, formats it and prints it to a writer.
	PrintReport([]tf.Module, io.Writer) error
}

ModuleVersionPrinter is an interface that knows how to print Module information

type TextPrinter

type TextPrinter struct{}

func (TextPrinter) PrintReport

func (TextPrinter) PrintReport(modules []tf.Module, writer io.Writer) error

Jump to

Keyboard shortcuts

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