Documentation
¶
Index ¶
- 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 ErrorAuthHeaderMalformed() error
- func ErrorAuthHeaderMissing() error
- func ErrorAuthInvalid() error
- func ErrorAuthOtherAccount() error
- func ErrorFormFileMustBeProvided(fileName 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)
- type Error
- type ErrorKind
Constants ¶
This section is empty.
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 ErrorAuthHeaderMalformed ¶
func ErrorAuthHeaderMalformed() error
func ErrorAuthHeaderMissing ¶
func ErrorAuthHeaderMissing() 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 ErrorPathParamRequired ¶ added in v0.4.0
func ErrorQueryParamRequired ¶ added in v0.4.0
Types ¶
type Error ¶ added in v0.2.0
type Error struct { Kind ErrorKind // contains filtered or unexported fields }
type ErrorKind ¶
type ErrorKind int
func (ErrorKind) MarshalBinary ¶
MarshalBinary satisfies BinaryMarshaler
func (ErrorKind) MarshalText ¶
MarshalText satisfies TextMarshaler
func (*ErrorKind) UnmarshalBinary ¶
UnmarshalBinary satisfies BinaryUnmarshaler Needed for msgpack
func (*ErrorKind) UnmarshalText ¶
UnmarshalText satisfies TextUnmarshaler
Click to show internal directories.
Click to hide internal directories.