Documentation ¶
Overview ¶
Code generated by mockery v1.0.0. DO NOT EDIT.
Index ¶
- type ServerRequestContext
- func (_m *ServerRequestContext) BasicAuthentication() (string, error)
- func (_m *ServerRequestContext) CanActOnType(_a0 string) error
- func (_m *ServerRequestContext) ChunksToDeliver(_a0 string) (int, error)
- func (_m *ServerRequestContext) ContainsAffiliation(_a0 string) error
- func (_m *ServerRequestContext) GetBoolQueryParm(name string) (bool, error)
- func (_m *ServerRequestContext) GetCaller() (spi.User, error)
- func (_m *ServerRequestContext) GetCertificates(_a0 server.CertificateRequest, _a1 string) (*sqlx.Rows, error)
- func (_m *ServerRequestContext) GetQueryParm(name string) string
- func (_m *ServerRequestContext) GetReq() *http.Request
- func (_m *ServerRequestContext) GetResp() http.ResponseWriter
- func (_m *ServerRequestContext) HasRole(role string) error
- func (_m *ServerRequestContext) IsLDAPEnabled() bool
- func (_m *ServerRequestContext) ReadBody(_a0 interface{}) error
- func (_m *ServerRequestContext) TokenAuthentication() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerRequestContext ¶
ServerRequestContext is an autogenerated mock type for the ServerRequestContext type
func (*ServerRequestContext) BasicAuthentication ¶
func (_m *ServerRequestContext) BasicAuthentication() (string, error)
BasicAuthentication provides a mock function with given fields:
func (*ServerRequestContext) CanActOnType ¶ added in v1.3.0
func (_m *ServerRequestContext) CanActOnType(_a0 string) error
CanActOnType provides a mock function with given fields: _a0
func (*ServerRequestContext) ChunksToDeliver ¶
func (_m *ServerRequestContext) ChunksToDeliver(_a0 string) (int, error)
ChunksToDeliver provides a mock function with given fields: _a0
func (*ServerRequestContext) ContainsAffiliation ¶ added in v1.3.0
func (_m *ServerRequestContext) ContainsAffiliation(_a0 string) error
ContainsAffiliation provides a mock function with given fields: _a0
func (*ServerRequestContext) GetBoolQueryParm ¶
func (_m *ServerRequestContext) GetBoolQueryParm(name string) (bool, error)
GetBoolQueryParm provides a mock function with given fields: name
func (*ServerRequestContext) GetCaller ¶
func (_m *ServerRequestContext) GetCaller() (spi.User, error)
GetCaller provides a mock function with given fields:
func (*ServerRequestContext) GetCertificates ¶
func (_m *ServerRequestContext) GetCertificates(_a0 server.CertificateRequest, _a1 string) (*sqlx.Rows, error)
GetCertificates provides a mock function with given fields: _a0, _a1
func (*ServerRequestContext) GetQueryParm ¶
func (_m *ServerRequestContext) GetQueryParm(name string) string
GetQueryParm provides a mock function with given fields: name
func (*ServerRequestContext) GetReq ¶
func (_m *ServerRequestContext) GetReq() *http.Request
GetReq provides a mock function with given fields:
func (*ServerRequestContext) GetResp ¶
func (_m *ServerRequestContext) GetResp() http.ResponseWriter
GetResp provides a mock function with given fields:
func (*ServerRequestContext) HasRole ¶
func (_m *ServerRequestContext) HasRole(role string) error
HasRole provides a mock function with given fields: role
func (*ServerRequestContext) IsLDAPEnabled ¶ added in v1.3.0
func (_m *ServerRequestContext) IsLDAPEnabled() bool
IsLDAPEnabled provides a mock function with given fields:
func (*ServerRequestContext) ReadBody ¶ added in v1.3.0
func (_m *ServerRequestContext) ReadBody(_a0 interface{}) error
ReadBody provides a mock function with given fields: _a0
func (*ServerRequestContext) TokenAuthentication ¶
func (_m *ServerRequestContext) TokenAuthentication() (string, error)
TokenAuthentication provides a mock function with given fields: