Documentation ¶
Index ¶
- Constants
- Variables
- func FormatSource(filename string, content []byte, fmtrName string, config interface{}, ...) ([]byte, error)
- func Info(which string) (err error)
- func Init() error
- func Pull(fmtr string) error
- func Run(args []string, rflags flags.RootPflagpole, cflags flags.FmtFlagpole) (err error)
- func Start(fmtr string, replace bool) error
- func Stop(fmtr string) error
- type Formatter
Constants ¶
View Source
const ContainerPrefix = "hof-fmt-"
Variables ¶
View Source
var CONTAINER_REPO = "ghcr.io/hofstadter-io"
(CONSIDER) make this comma separated, so we can have fallback?
View Source
var DOCKER_FORMAT_DISABLED = false
View Source
var FORMAT_DISABLED = false
Functions ¶
func FormatSource ¶
func Run ¶
func Run(args []string, rflags flags.RootPflagpole, cflags flags.FmtFlagpole) (err error)
Types ¶
type Formatter ¶
type Formatter struct { // name, same as tools/% Name string Version string Available []string // Info Status string Running bool Ready bool Port string Container *types.Container Images []*types.ImageSummary Config interface{} Default interface{} }
func (*Formatter) WaitForReady ¶ added in v0.6.8
Click to show internal directories.
Click to hide internal directories.