Documentation
¶
Index ¶
- func AppNameFromFlagOrConfig() (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 StatusStr(statuses []resource.Status) string
- func StreamLogs(appName string, resourceName string, resourceType string, verbose bool) error
- type ClassificationPrediction
- type CliConfig
- type HTTPUploadInput
- type PredictResponse
- type RegressionPrediction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppNameFromFlagOrConfig ¶
func HTTPPostJSON ¶
func HTTPPostJSONData ¶
func HTTPUpload ¶
func HTTPUploadZip ¶
Types ¶
type HTTPUploadInput ¶
type PredictResponse ¶
type PredictResponse struct {
ResourceID string `json:"resource_id"`
ClassificationPredictions []ClassificationPrediction `json:"classification_predictions"`
RegressionPredictions []RegressionPrediction `json:"regression_predictions"`
}
type RegressionPrediction ¶
type RegressionPrediction struct {
PredictedValue float64 `json:"predicted_value"`
PredictedValueReversed interface{} `json:"predicted_value_reversed"`
}
Click to show internal directories.
Click to hide internal directories.