Documentation ¶
Index ¶
- func FormatError(err error) (string, error)
- func GetKubeConfigPath() string
- func GetPort() (string, error)
- func KillMountProcess() 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 GetKubeConfigPath ¶ added in v0.21.0
func GetKubeConfigPath() string
func KillMountProcess ¶ added in v0.19.1
func KillMountProcess() error
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.