fmt

package
v0.6.5-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: BSD-3-Clause Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const ContainerPrefix = "hof-fmt-"

Variables

This section is empty.

Functions

func FormatSource

func FormatSource(filename string, content []byte, fmtrName string, config interface{}) ([]byte, error)

func GracefulInit

func GracefulInit()

func Info

func Info(which string) (err error)

func Pull

func Pull(fmtr string) error

func Run

func Run(args []string) error

func Start

func Start(fmtr string) error

func Stop

func Stop(fmtr string) error

Types

type Formatter

type Formatter struct {
	// name, same as tools/%
	Name      string
	Version   string
	Available []string

	// Info
	Running   bool
	Port      string
	Container *types.Container
	Images    []*types.ImageSummary

	Config  interface{}
	Default interface{}
}

Jump to

Keyboard shortcuts

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