Documentation ¶
Index ¶
- func BootstrapUpdates(status string) (err error)
- func BuildUpdates(status string) (err error)
- func Connect(tags []string, handle func(Log)) (client mistClient.Client, err error)
- func DeployUpdates(status string) (err error)
- func ImageUpdates(status string) (err error)
- func Listen(tags []string, handle func(string) error) error
- func PrintLogStream(log Log)
- func ProcessLog(log Log)
- func ProcessLogStream(log Log)
- func Stream(tags []string, handle func(Log))
- type Log
- type Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildUpdates ¶
BuildUpdates receives a status update from mist.go and determines what to do based on the status. By default it will return, indicating to mist to stop listening.
func Connect ¶ added in v0.17.1
func Connect(tags []string, handle func(Log)) (client mistClient.Client, err error)
Connect is the same as stream however it go routines the stream internally and returns the client
func ProcessLog ¶
func ProcessLog(log Log)
ProcessLog takes a Logvac or Stormpack log and breaks it apart into pieces that are then reconstructed in a 'digestible' way, colorized, and output to the terminal
func ProcessLogStream ¶
func ProcessLogStream(log Log)
ProcessLogStream processes a log before printing it; if the CLI is silenced don't process any logs
Types ¶
Click to show internal directories.
Click to hide internal directories.