Documentation ¶
Index ¶
- Variables
- func CheckDir()
- func GenerateCConfig(token string)
- func IsRunningInContainer() bool
- func IsUserCancellation(err error) bool
- func MutuallyExclusive(message string, conditions ...bool) error
- func Packages() string
- func PrintError(out io.Writer, err error, cmd *cobra.Command, debug bool)
- func RemoveConfig()
- func SetupTokensInDocker()
- func ToYaml(d interface{}) []byte
- type FlagError
Constants ¶
This section is empty.
Variables ¶
View Source
var CancelError = errors.New("CancelError")
CancelError signals user-initiated cancellation
View Source
var SilentError = errors.New("SilentError")
SilentError is an error that triggers exit code 1 without any error messaging
Functions ¶
func GenerateCConfig ¶ added in v0.1.9
func GenerateCConfig(token string)
func IsRunningInContainer ¶ added in v0.1.82
func IsRunningInContainer() bool
func IsUserCancellation ¶
func MutuallyExclusive ¶
func RemoveConfig ¶ added in v0.1.4
func RemoveConfig()
func SetupTokensInDocker ¶ added in v0.1.4
func SetupTokensInDocker()
Types ¶
Click to show internal directories.
Click to hide internal directories.