Documentation
¶
Index ¶
- Constants
- func APIVersionCheckMiddleware(next http.Handler) http.Handler
- func AWSAuthMiddleware(next http.Handler) http.Handler
- func ClientIDMiddleware(next http.Handler) http.Handler
- func Delete(w http.ResponseWriter, r *http.Request)
- func Deploy(w http.ResponseWriter, r *http.Request)
- func ErrorAPIVersionMismatch(operatorVersion string, clientVersion string) error
- func ErrorAnyPathParamRequired(param string, params ...string) error
- func ErrorAnyQueryParamRequired(param string, params ...string) error
- func ErrorAuthAPIError() error
- func ErrorAuthInvalid() error
- func ErrorAuthOtherAccount() error
- func ErrorFormFileMustBeProvided(fileName string) error
- func ErrorHeaderMalformed(header string) error
- func ErrorHeaderMissing(header string) error
- func ErrorLogsJobIDRequired(resource operator.DeployedResource) error
- func ErrorPathParamRequired(param string) error
- func ErrorQueryParamRequired(param string) error
- func GetAPI(w http.ResponseWriter, r *http.Request)
- func GetAPIByID(w http.ResponseWriter, r *http.Request)
- func GetAPIs(w http.ResponseWriter, r *http.Request)
- func GetBatchJob(w http.ResponseWriter, r *http.Request)
- func GetJobLogURL(w http.ResponseWriter, r *http.Request)
- func GetLogURL(w http.ResponseWriter, r *http.Request)
- func GetTaskJob(w http.ResponseWriter, r *http.Request)
- func Info(w http.ResponseWriter, r *http.Request)
- func PanicMiddleware(next http.Handler) http.Handler
- func ReadJobLogs(w http.ResponseWriter, r *http.Request)
- func ReadLogs(w http.ResponseWriter, r *http.Request)
- func Refresh(w http.ResponseWriter, r *http.Request)
- func StopBatchJob(w http.ResponseWriter, r *http.Request)
- func StopTaskJob(w http.ResponseWriter, r *http.Request)
- func SubmitBatchJob(w http.ResponseWriter, r *http.Request)
- func SubmitTaskJob(w http.ResponseWriter, r *http.Request)
- func VerifyCortex(w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const ( ErrAPIVersionMismatch = "endpoints.api_version_mismatch" ErrHeaderMissing = "endpoints.header_missing" ErrHeaderMalformed = "endpoints.header_malformed" ErrAuthAPIError = "endpoints.auth_api_error" ErrFormFileMustBeProvided = "endpoints.form_file_must_be_provided" ErrAuthInvalid = "endpoints.auth_invalid" ErrAuthOtherAccount = "endpoints.auth_other_account" ErrQueryParamRequired = "endpoints.query_param_required" ErrPathParamRequired = "endpoints.path_param_required" ErrAnyQueryParamRequired = "endpoints.any_query_param_required" ErrAnyPathParamRequired = "endpoints.any_path_param_required" ErrLogsJobIDRequired = "endpoints.logs_job_id_required" )
Variables ¶
This section is empty.
Functions ¶
func APIVersionCheckMiddleware ¶ added in v0.13.0
func ErrorAPIVersionMismatch ¶ added in v0.13.0
func ErrorAnyPathParamRequired ¶ added in v0.4.0
func ErrorAnyQueryParamRequired ¶ added in v0.4.0
func ErrorAuthAPIError ¶
func ErrorAuthAPIError() error
func ErrorAuthInvalid ¶ added in v0.10.0
func ErrorAuthInvalid() error
func ErrorAuthOtherAccount ¶ added in v0.10.0
func ErrorAuthOtherAccount() error
func ErrorFormFileMustBeProvided ¶ added in v0.4.0
func ErrorHeaderMalformed ¶ added in v0.16.0
func ErrorHeaderMissing ¶ added in v0.16.0
func ErrorLogsJobIDRequired ¶ added in v0.19.0
func ErrorLogsJobIDRequired(resource operator.DeployedResource) error
func ErrorPathParamRequired ¶ added in v0.4.0
func ErrorQueryParamRequired ¶ added in v0.4.0
func GetAPIByID ¶ added in v0.23.0
func GetAPIByID(w http.ResponseWriter, r *http.Request)
func GetBatchJob ¶ added in v0.27.0
func GetBatchJob(w http.ResponseWriter, r *http.Request)
func GetJobLogURL ¶ added in v0.36.0
func GetJobLogURL(w http.ResponseWriter, r *http.Request)
func GetTaskJob ¶ added in v0.27.0
func GetTaskJob(w http.ResponseWriter, r *http.Request)
func ReadJobLogs ¶ added in v0.19.0
func ReadJobLogs(w http.ResponseWriter, r *http.Request)
func StopBatchJob ¶ added in v0.27.0
func StopBatchJob(w http.ResponseWriter, r *http.Request)
func StopTaskJob ¶ added in v0.27.0
func StopTaskJob(w http.ResponseWriter, r *http.Request)
func SubmitBatchJob ¶ added in v0.27.0
func SubmitBatchJob(w http.ResponseWriter, r *http.Request)
func SubmitTaskJob ¶ added in v0.27.0
func SubmitTaskJob(w http.ResponseWriter, r *http.Request)
func VerifyCortex ¶ added in v0.15.0
func VerifyCortex(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.