Documentation
¶
Index ¶
- Constants
- func APIVersionCheckMiddleware(next http.Handler) http.Handler
- func AuthMiddleware(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 ErrorPathParamRequired(param string) error
- func ErrorQueryParamRequired(param string) error
- func GetAPI(w http.ResponseWriter, r *http.Request)
- func GetAPIs(w http.ResponseWriter, r *http.Request)
- func Info(w http.ResponseWriter, r *http.Request)
- func PanicMiddleware(next http.Handler) http.Handler
- func ReadLogs(w http.ResponseWriter, r *http.Request)
- func Refresh(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" ErrAuthInvalid = "endpoints.auth_invalid" ErrAuthOtherAccount = "endpoints.auth_other_account" ErrFormFileMustBeProvided = "endpoints.form_file_must_be_provided" ErrQueryParamRequired = "endpoints.query_param_required" ErrPathParamRequired = "endpoints.path_param_required" ErrAnyQueryParamRequired = "endpoints.any_query_param_required" ErrAnyPathParamRequired = "endpoints.any_path_param_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 ErrorPathParamRequired ¶ added in v0.4.0
func ErrorQueryParamRequired ¶ added in v0.4.0
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.