Documentation ¶
Index ¶
- func FormatError(err error) (string, error)
- func MarshallError(errMsg, service, version string) ([]byte, error)
- func MaybePrintKubectlDownloadMsg(goos string, out io.Writer)
- func MaybeReportErrorAndExit(errToReport error)
- func PromptUserForAccept(r io.Reader) bool
- func ReportError(err error, url string) error
- func UploadError(b []byte, url string) error
- type LookPath
- type Message
- type ServiceContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatError ¶
func MarshallError ¶
func MaybePrintKubectlDownloadMsg ¶ added in v0.13.0
func MaybeReportErrorAndExit ¶
func MaybeReportErrorAndExit(errToReport error)
func PromptUserForAccept ¶
func ReportError ¶
func UploadError ¶
Types ¶
type Message ¶
type Message struct { Message string `json:"message"` ServiceContext `json:"serviceContext"` }
type ServiceContext ¶
Click to show internal directories.
Click to hide internal directories.