package
0.0.0-20210521071907-109015077e08
Repository: https://github.com/vonng/pigsty-cli.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
GetConfigHandler will serve config file.
GetConfigHandler will serve config file.
GetLatestLogHandler.
Get log by job id.
InitDefaultServer will init default pigsty singleton.
ListJobHandler will serve config file.
ListLogHandler will iter log directory and return log(job) list.
*************************************************** * Log Info /****************************************************/ MakeDataDir will make sure data dir exists.
NewPigstyServer will create new server.
PostConfigHandler will update default configuration file with posted content TODO: convenient but dangerous!!!.
PostJobHandler will create new job.
No description provided by the author
No description provided by the author
WithStdout will set stdout.
No description provided by the author

# Variables

*************************************************** * Pigsty Server /****************************************************/ PS is the default PigstyServer.
*************************************************** * Embed Resources /****************************************************/go:embed gui.

# Structs

LogInfo Hold log name, size, mtime info of job logs.
PigstyServer holds required information.

# Type aliases

ServerOpt will configure pigsty server.