Documentation ¶
Index ¶
- Variables
- func AppNameFromFlagOrConfig() (string, error)
- func ErrorAPINotFound(apiName string) error
- func ErrorAPINotReady(apiName string, status string) error
- func ErrorCliAlreadyInAppDir(dirPath string) error
- func ErrorCliNotInAppDir() error
- func ErrorFailedConnectURL(url url.URL) error
- func ErrorFailedToConnectOperator(urlStr string) error
- func Execute()
- func HTTPGet(endpoint string, qParams ...map[string]string) ([]byte, error)
- func HTTPPostJSON(endpoint string, jsonRequestData []byte, qParams ...map[string]string) ([]byte, error)
- func HTTPPostJSONData(endpoint string, requestData interface{}, qParams ...map[string]string) ([]byte, error)
- func HTTPUpload(endpoint string, input *HTTPUploadInput, qParams ...map[string]string) ([]byte, error)
- func HTTPUploadZip(endpoint string, zipInput *zip.Input, fileName string, ...) ([]byte, error)
- func IsAppNameSpecified() bool
- func StatusStr(statuses []resource.Status) string
- func StreamLogs(appName string, resourceName string, resourceType string) error
- type CLIConfig
- type Error
- type ErrorKind
- type HTTPUploadInput
- type SupportRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxProjectSize = 1024 * 1024 * 50
Functions ¶
func AppNameFromFlagOrConfig ¶
func ErrorAPINotFound ¶ added in v0.4.0
func ErrorAPINotReady ¶ added in v0.4.0
func ErrorCliAlreadyInAppDir ¶ added in v0.4.0
func ErrorCliNotInAppDir ¶ added in v0.4.0
func ErrorCliNotInAppDir() error
func ErrorFailedConnectURL ¶ added in v0.9.0
func ErrorFailedToConnectOperator ¶ added in v0.9.0
func HTTPPostJSON ¶
func HTTPPostJSONData ¶
func HTTPUpload ¶
func HTTPUploadZip ¶
func IsAppNameSpecified ¶ added in v0.7.0
func IsAppNameSpecified() bool
Types ¶
type Error ¶ added in v0.4.0
type Error struct { Kind ErrorKind // contains filtered or unexported fields }
type ErrorKind ¶ added in v0.4.0
type ErrorKind int
func (ErrorKind) MarshalBinary ¶ added in v0.4.0
MarshalBinary satisfies BinaryMarshaler
func (ErrorKind) MarshalText ¶ added in v0.4.0
MarshalText satisfies TextMarshaler
func (*ErrorKind) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary satisfies BinaryUnmarshaler Needed for msgpack
func (*ErrorKind) UnmarshalText ¶ added in v0.4.0
UnmarshalText satisfies TextUnmarshaler
type HTTPUploadInput ¶
Click to show internal directories.
Click to hide internal directories.