Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsecutiveEngine ¶ added in v0.8.0
type ConsecutiveEngine struct { LineSepCharacter string Formatter yamlfmt.Formatter Quiet bool ContinueOnError bool OutputFormat EngineOutputFormat }
Engine that will process each file one by one consecutively.
func (*ConsecutiveEngine) DryRun ¶ added in v0.8.0
func (e *ConsecutiveEngine) DryRun(paths []string) (fmt.Stringer, error)
func (*ConsecutiveEngine) Format ¶ added in v0.8.0
func (e *ConsecutiveEngine) Format(paths []string) (fmt.Stringer, error)
func (*ConsecutiveEngine) FormatContent ¶ added in v0.8.0
func (e *ConsecutiveEngine) FormatContent(content []byte) ([]byte, error)
type EngineOutputFormat ¶ added in v0.12.0
type EngineOutputFormat string
const ( EngineOutputDefault EngineOutputFormat = "default" EngineOutputSingeLine EngineOutputFormat = "line" )
type FormatError ¶ added in v0.8.0
type FormatError struct {
// contains filtered or unexported fields
}
func (*FormatError) Error ¶ added in v0.8.0
func (e *FormatError) Error() string
type FormatErrors ¶ added in v0.8.0
type FormatErrors []*FormatError
func (FormatErrors) Error ¶ added in v0.8.0
func (e FormatErrors) Error() string
Click to show internal directories.
Click to hide internal directories.