Documentation ¶
Index ¶
- func FlagsValuesUsage(prefix string, candidates interface{}) string
- func GenerateRandomStr(length int) string
- func HttpGet(url string) (string, *http.Response, error)
- func NewLogWriter(log *logrus.Entry, level logrus.Level, prefix string) io.Writer
- func UpdateCommandDefaultLog(cmd *exec.Cmd, logLevel logrus.Level) *exec.Cmd
- func UpdateCommandDefaultLogWithInfo(cmd *exec.Cmd) *exec.Cmd
- type GithubInfoer
- type LogWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlagsValuesUsage ¶
func GenerateRandomStr ¶ added in v0.3.4
func NewLogWriter ¶
func UpdateCommandDefaultLog ¶
Types ¶
type GithubInfoer ¶ added in v0.2.0
type GithubInfoer struct {
// contains filtered or unexported fields
}
func NewGithubInfoer ¶ added in v0.2.0
func NewGithubInfoer(token string) *GithubInfoer
func (*GithubInfoer) GetLatestVersion ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.