Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPipelineEndpoint ¶
CheckPipelineEndpoint checks if the endpoint is a valid Pipeline endpoint. It returns the server cert's sha256 fingerprint if the endpoint is valid. If the endpoint is valid, but the TLS validation failed, it returns the fingerprint of the server certificate, the original x509 error, and a nil-error. Returns empty hash and TLS error if endpoint is not TLS.
func LogAPIError ¶
LogAPIError logs API request errors.
Types ¶
type Cli ¶
type Cli interface { Out() io.Writer Color() bool Interactive() bool Client() *pipeline.APIClient RoundTripper() http.RoundTripper CloudinfoClient() *cloudinfo.APIClient TelescopesClient() *telescopes.APIClient Context() Context OutputFormat() string Home() string // Home is the path to the .banzai directory of the user Version() string }
Click to show internal directories.
Click to hide internal directories.