formatter

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockFormatter

type BlockFormatter interface {
	Format() (string, error)
}

BlockFormatter is an interface of formatting Block. This is an abstraction layer for separating data structure and output format.

func NewBlockFormatter

func NewBlockFormatter(b *tfschema.Block, format string) (BlockFormatter, error)

NewBlockFormatter is a factory method which returns a BlockFormatter interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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