formatter

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProviderHeader = []string{"namespace", "name", "version", "os", "arch"}
)

Functions

This section is empty.

Types

type CSVFormatter

type CSVFormatter struct{}

func (*CSVFormatter) Format

func (f *CSVFormatter) Format(providers []*terraform.Provider) ([]byte, error)

type JSONFormatter

type JSONFormatter struct{}

func (*JSONFormatter) Format

func (f *JSONFormatter) Format(providers []*terraform.Provider) ([]byte, error)

type OutputFormatter

type OutputFormatter interface {
	Format(providers []*terraform.Provider) ([]byte, error)
}

func NewFormatter

func NewFormatter(outputFormat string) (OutputFormatter, error)

type TableFormatter

type TableFormatter struct{}

func (*TableFormatter) Format

func (f *TableFormatter) Format(providers []*terraform.Provider) ([]byte, error)

type TextFormatter

type TextFormatter struct{}

func (*TextFormatter) Format

func (f *TextFormatter) Format(providers []*terraform.Provider) ([]byte, error)

Jump to

Keyboard shortcuts

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