Documentation ¶
Index ¶
- func BinExists(name string) bool
- func GetCommit() (string, error)
- func GetGitUserEmail() (string, error)
- func GetGitUserName() (string, error)
- func GetTag() (string, error)
- func InRepo() bool
- func IsDirty() (bool, string)
- func Normalize(output string) string
- func PrintDiff(out io.Writer, filename, old, new string)
- func RunCommand(name string, args ...string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinExists ¶
BinExists is a helper function which checks if a given binary exists somewhere on the PATH.
func GetGitUserEmail ¶
GetGitUserEmail gets the email address of the git user, as specified in the git config.
func GetGitUserName ¶
GetGitUserName gets the name of the git user, as specified in the git config.
func InRepo ¶
func InRepo() bool
InRepo checks whether the directory which chart-release is run from is a git repository.
func Normalize ¶
Normalize is a helper function which strips a given []byte of any return characters (\r\n).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.