Documentation ¶
Index ¶
- func CaptureStdout(c callback) string
- func CleanCommitCreatedAt(createdAt time.Time) string
- func CleanCommitMessage(msg string) string
- func ConvertCommitHashToShort(hash string) string
- func Exists(filePath string) bool
- func GetAppHash(app wego.Application) (string, error)
- func GetCommitMessage() string
- func GetOwnerFromUrl(url string) (string, error)
- func PrintTable(writer io.Writer, header []string, rows [][]string)
- func SanitizeRepoUrl(url string) string
- func SetCommmitMessage(msg string)
- func SetCommmitMessageFromArgs(cmd string, url, path, name string)
- func UrlToRepoName(url string) string
- func ValidateNamespace(ns string) error
- func WaitUntil(out io.Writer, poll, timeout time.Duration, checkDone func() error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureStdout ¶ added in v0.1.0
func CaptureStdout(c callback) string
func CleanCommitCreatedAt ¶ added in v0.2.3
func CleanCommitMessage ¶ added in v0.2.3
func ConvertCommitHashToShort ¶ added in v0.2.3
func GetAppHash ¶ added in v0.2.0
func GetAppHash(app wego.Application) (string, error)
func GetCommitMessage ¶ added in v0.2.0
func GetCommitMessage() string
func GetOwnerFromUrl ¶ added in v0.2.3
func PrintTable ¶ added in v0.2.3
func SanitizeRepoUrl ¶ added in v0.2.3
SanitizeRepoUrl accepts a url like git@github.com:someuser/podinfo.git and converts it into a string like ssh://git@github.com/someuser/podinfo.git. This helps standardize the different user inputs that might be provided.
func SetCommmitMessage ¶ added in v0.2.3
func SetCommmitMessage(msg string)
func SetCommmitMessageFromArgs ¶ added in v0.2.0
func UrlToRepoName ¶ added in v0.2.3
func ValidateNamespace ¶ added in v0.2.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.