Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockContext
- func (m *MockContext) AbsoluteURI(arg0 string) string
- func (m *MockContext) AddHandler(arg0 ...context.Handler)
- func (m *MockContext) Application() context.Application
- func (m *MockContext) BeginRequest(arg0 http.ResponseWriter, arg1 *http.Request)
- func (m *MockContext) BeginTransaction(arg0 func(*context.Transaction))
- func (m *MockContext) Binary(arg0 []byte) (int, error)
- func (m *MockContext) CheckIfModifiedSince(arg0 time.Time) (bool, error)
- func (m *MockContext) ClientSupportsGzip() bool
- func (m *MockContext) ContentType(arg0 string)
- func (m *MockContext) Do(arg0 context.Handlers)
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) EndRequest()
- func (m *MockContext) Exec(arg0, arg1 string)
- func (m *MockContext) FindClosest(arg0 int) []string
- func (m *MockContext) FormFile(arg0 string) (multipart.File, *multipart.FileHeader, error)
- func (m *MockContext) FormValue(arg0 string) string
- func (m *MockContext) FormValueDefault(arg0, arg1 string) string
- func (m *MockContext) FormValues() map[string][]string
- func (m *MockContext) FullRequestURI() string
- func (m *MockContext) GetBody() ([]byte, error)
- func (m *MockContext) GetContentLength() int64
- func (m *MockContext) GetContentType() string
- func (m *MockContext) GetContentTypeRequested() string
- func (m *MockContext) GetCookie(arg0 string, arg1 ...context.CookieOption) string
- func (m *MockContext) GetCurrentRoute() context.RouteReadOnly
- func (m *MockContext) GetHeader(arg0 string) string
- func (m *MockContext) GetLocale() context.Locale
- func (m *MockContext) GetReferrer() context.Referrer
- func (m *MockContext) GetStatusCode() int
- func (m *MockContext) GetViewData() map[string]interface{}
- func (m *MockContext) Gzip(arg0 bool)
- func (m *MockContext) GzipResponseWriter() *context.GzipResponseWriter
- func (m *MockContext) HTML(arg0 string, arg1 ...interface{}) (int, error)
- func (m *MockContext) HandlerFileLine() (string, int)
- func (m *MockContext) HandlerIndex(arg0 int) int
- func (m *MockContext) HandlerName() string
- func (m *MockContext) Handlers() context.Handlers
- func (m *MockContext) Header(arg0, arg1 string)
- func (m *MockContext) Host() string
- func (m *MockContext) IsAjax() bool
- func (m *MockContext) IsMobile() bool
- func (m *MockContext) IsRecording() (*context.ResponseRecorder, bool)
- func (m *MockContext) IsScript() bool
- func (m *MockContext) IsStopped() bool
- func (m *MockContext) IsWWW() bool
- func (m *MockContext) JSON(arg0 interface{}, arg1 ...context.JSON) (int, error)
- func (m *MockContext) JSONP(arg0 interface{}, arg1 ...context.JSONP) (int, error)
- func (m *MockContext) Markdown(arg0 []byte, arg1 ...context.Markdown) (int, error)
- func (m *MockContext) MaxAge() int64
- func (m *MockContext) Method() string
- func (m *MockContext) Negotiate(arg0 interface{}) (int, error)
- func (m *MockContext) Negotiation() *context.NegotiationBuilder
- func (m *MockContext) Next()
- func (m *MockContext) NextHandler() context.Handler
- func (m *MockContext) NextOr(arg0 ...context.Handler) bool
- func (m *MockContext) NextOrNotFound() bool
- func (m *MockContext) NotFound()
- func (m *MockContext) OnClose(arg0 func())
- func (m *MockContext) OnConnectionClose(arg0 func()) bool
- func (m *MockContext) Params() *context.RequestParams
- func (m *MockContext) Path() string
- func (m *MockContext) PostValue(arg0 string) string
- func (m *MockContext) PostValueBool(arg0 string) (bool, error)
- func (m *MockContext) PostValueDefault(arg0, arg1 string) string
- func (m *MockContext) PostValueFloat64(arg0 string) (float64, error)
- func (m *MockContext) PostValueFloat64Default(arg0 string, arg1 float64) float64
- func (m *MockContext) PostValueInt(arg0 string) (int, error)
- func (m *MockContext) PostValueInt64(arg0 string) (int64, error)
- func (m *MockContext) PostValueInt64Default(arg0 string, arg1 int64) int64
- func (m *MockContext) PostValueIntDefault(arg0 string, arg1 int) int
- func (m *MockContext) PostValueTrim(arg0 string) string
- func (m *MockContext) PostValues(arg0 string) []string
- func (m *MockContext) Problem(arg0 interface{}, arg1 ...context.ProblemOptions) (int, error)
- func (m *MockContext) Proceed(arg0 context.Handler) bool
- func (m *MockContext) ReadForm(arg0 interface{}) error
- func (m *MockContext) ReadJSON(arg0 interface{}) error
- func (m *MockContext) ReadQuery(arg0 interface{}) error
- func (m *MockContext) ReadXML(arg0 interface{}) error
- func (m *MockContext) ReadYAML(arg0 interface{}) error
- func (m *MockContext) Record()
- func (m *MockContext) Recorder() *context.ResponseRecorder
- func (m *MockContext) Redirect(arg0 string, arg1 ...int)
- func (m *MockContext) ReflectValue() []reflect.Value
- func (m *MockContext) RemoteAddr() string
- func (m *MockContext) RemoveCookie(arg0 string, arg1 ...context.CookieOption)
- func (m *MockContext) Request() *http.Request
- func (m *MockContext) RequestPath(arg0 bool) string
- func (m *MockContext) ResetRequest(arg0 *http.Request)
- func (m *MockContext) ResetResponseWriter(arg0 context.ResponseWriter)
- func (m *MockContext) ResponseWriter() context.ResponseWriter
- func (m *MockContext) RouteExists(arg0, arg1 string) bool
- func (m *MockContext) RouteName() string
- func (m *MockContext) SendFile(arg0, arg1 string) error
- func (m *MockContext) ServeContent(arg0 io.ReadSeeker, arg1 string, arg2 time.Time, arg3 bool) error
- func (m *MockContext) ServeFile(arg0 string, arg1 bool) error
- func (m *MockContext) SetCookie(arg0 *http.Cookie, arg1 ...context.CookieOption)
- func (m *MockContext) SetCookieKV(arg0, arg1 string, arg2 ...context.CookieOption)
- func (m *MockContext) SetCurrentRouteName(arg0 string)
- func (m *MockContext) SetHandlers(arg0 context.Handlers)
- func (m *MockContext) SetLastModified(arg0 time.Time)
- func (m *MockContext) SetMaxRequestBodySize(arg0 int64)
- func (m *MockContext) Skip()
- func (m *MockContext) SkipTransactions()
- func (m *MockContext) StatusCode(arg0 int)
- func (m *MockContext) StopExecution()
- func (m *MockContext) StreamWriter(arg0 func(io.Writer) bool)
- func (m *MockContext) String() string
- func (m *MockContext) Subdomain() string
- func (m *MockContext) Text(arg0 string, arg1 ...interface{}) (int, error)
- func (m *MockContext) Tr(arg0 string, arg1 ...interface{}) string
- func (m *MockContext) TransactionsSkipped() bool
- func (m *MockContext) TryWriteGzip(arg0 []byte) (int, error)
- func (m *MockContext) URLParam(arg0 string) string
- func (m *MockContext) URLParamBool(arg0 string) (bool, error)
- func (m *MockContext) URLParamDefault(arg0, arg1 string) string
- func (m *MockContext) URLParamEscape(arg0 string) string
- func (m *MockContext) URLParamExists(arg0 string) bool
- func (m *MockContext) URLParamFloat64(arg0 string) (float64, error)
- func (m *MockContext) URLParamFloat64Default(arg0 string, arg1 float64) float64
- func (m *MockContext) URLParamInt(arg0 string) (int, error)
- func (m *MockContext) URLParamInt32Default(arg0 string, arg1 int32) int32
- func (m *MockContext) URLParamInt64(arg0 string) (int64, error)
- func (m *MockContext) URLParamInt64Default(arg0 string, arg1 int64) int64
- func (m *MockContext) URLParamIntDefault(arg0 string, arg1 int) int
- func (m *MockContext) URLParamTrim(arg0 string) string
- func (m *MockContext) URLParams() map[string]string
- func (m *MockContext) UnmarshalBody(arg0 interface{}, arg1 context.Unmarshaler) error
- func (m *MockContext) UploadFormFiles(arg0 string, arg1 ...func(context.Context, *multipart.FileHeader)) (int64, error)
- func (m *MockContext) Values() *memstore.Store
- func (m *MockContext) View(arg0 string, arg1 ...interface{}) error
- func (m *MockContext) ViewData(arg0 string, arg1 interface{})
- func (m *MockContext) ViewLayout(arg0 string)
- func (m *MockContext) VisitAllCookies(arg0 func(string, string))
- func (m *MockContext) Write(arg0 []byte) (int, error)
- func (m *MockContext) WriteGzip(arg0 []byte) (int, error)
- func (m *MockContext) WriteNotModified()
- func (m *MockContext) WriteString(arg0 string) (int, error)
- func (m *MockContext) WriteWithExpiration(arg0 []byte, arg1 time.Time) (int, error)
- func (m *MockContext) Writef(arg0 string, arg1 ...interface{}) (int, error)
- func (m *MockContext) XML(arg0 interface{}, arg1 ...context.XML) (int, error)
- func (m *MockContext) YAML(arg0 interface{}) (int, error)
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) AbsoluteURI(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) AddHandler(arg0 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Application() *gomock.Call
- func (mr *MockContextMockRecorder) BeginRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) BeginTransaction(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Binary(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) CheckIfModifiedSince(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ClientSupportsGzip() *gomock.Call
- func (mr *MockContextMockRecorder) ContentType(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Do(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) EndRequest() *gomock.Call
- func (mr *MockContextMockRecorder) Exec(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) FindClosest(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) FormFile(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) FormValue(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) FormValueDefault(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) FormValues() *gomock.Call
- func (mr *MockContextMockRecorder) FullRequestURI() *gomock.Call
- func (mr *MockContextMockRecorder) GetBody() *gomock.Call
- func (mr *MockContextMockRecorder) GetContentLength() *gomock.Call
- func (mr *MockContextMockRecorder) GetContentType() *gomock.Call
- func (mr *MockContextMockRecorder) GetContentTypeRequested() *gomock.Call
- func (mr *MockContextMockRecorder) GetCookie(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) GetCurrentRoute() *gomock.Call
- func (mr *MockContextMockRecorder) GetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) GetLocale() *gomock.Call
- func (mr *MockContextMockRecorder) GetReferrer() *gomock.Call
- func (mr *MockContextMockRecorder) GetStatusCode() *gomock.Call
- func (mr *MockContextMockRecorder) GetViewData() *gomock.Call
- func (mr *MockContextMockRecorder) Gzip(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) GzipResponseWriter() *gomock.Call
- func (mr *MockContextMockRecorder) HTML(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) HandlerFileLine() *gomock.Call
- func (mr *MockContextMockRecorder) HandlerIndex(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) HandlerName() *gomock.Call
- func (mr *MockContextMockRecorder) Handlers() *gomock.Call
- func (mr *MockContextMockRecorder) Header(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Host() *gomock.Call
- func (mr *MockContextMockRecorder) IsAjax() *gomock.Call
- func (mr *MockContextMockRecorder) IsMobile() *gomock.Call
- func (mr *MockContextMockRecorder) IsRecording() *gomock.Call
- func (mr *MockContextMockRecorder) IsScript() *gomock.Call
- func (mr *MockContextMockRecorder) IsStopped() *gomock.Call
- func (mr *MockContextMockRecorder) IsWWW() *gomock.Call
- func (mr *MockContextMockRecorder) JSON(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) JSONP(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Markdown(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) MaxAge() *gomock.Call
- func (mr *MockContextMockRecorder) Method() *gomock.Call
- func (mr *MockContextMockRecorder) Negotiate(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Negotiation() *gomock.Call
- func (mr *MockContextMockRecorder) Next() *gomock.Call
- func (mr *MockContextMockRecorder) NextHandler() *gomock.Call
- func (mr *MockContextMockRecorder) NextOr(arg0 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) NextOrNotFound() *gomock.Call
- func (mr *MockContextMockRecorder) NotFound() *gomock.Call
- func (mr *MockContextMockRecorder) OnClose(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) OnConnectionClose(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Params() *gomock.Call
- func (mr *MockContextMockRecorder) Path() *gomock.Call
- func (mr *MockContextMockRecorder) PostValue(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PostValueBool(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PostValueDefault(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PostValueFloat64(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PostValueFloat64Default(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PostValueInt(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PostValueInt64(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PostValueInt64Default(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PostValueIntDefault(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PostValueTrim(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PostValues(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Problem(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Proceed(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ReadForm(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ReadJSON(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ReadQuery(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ReadXML(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ReadYAML(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Record() *gomock.Call
- func (mr *MockContextMockRecorder) Recorder() *gomock.Call
- func (mr *MockContextMockRecorder) Redirect(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ReflectValue() *gomock.Call
- func (mr *MockContextMockRecorder) RemoteAddr() *gomock.Call
- func (mr *MockContextMockRecorder) RemoveCookie(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Request() *gomock.Call
- func (mr *MockContextMockRecorder) RequestPath(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ResetRequest(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ResetResponseWriter(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ResponseWriter() *gomock.Call
- func (mr *MockContextMockRecorder) RouteExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) RouteName() *gomock.Call
- func (mr *MockContextMockRecorder) SendFile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ServeContent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ServeFile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetCookie(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetCookieKV(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetCurrentRouteName(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetHandlers(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetLastModified(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetMaxRequestBodySize(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Skip() *gomock.Call
- func (mr *MockContextMockRecorder) SkipTransactions() *gomock.Call
- func (mr *MockContextMockRecorder) StatusCode(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) StopExecution() *gomock.Call
- func (mr *MockContextMockRecorder) StreamWriter(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) String() *gomock.Call
- func (mr *MockContextMockRecorder) Subdomain() *gomock.Call
- func (mr *MockContextMockRecorder) Text(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Tr(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) TransactionsSkipped() *gomock.Call
- func (mr *MockContextMockRecorder) TryWriteGzip(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParam(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamBool(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamDefault(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamEscape(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamExists(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamFloat64(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamFloat64Default(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamInt(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamInt32Default(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamInt64(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamInt64Default(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamIntDefault(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParamTrim(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) URLParams() *gomock.Call
- func (mr *MockContextMockRecorder) UnmarshalBody(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) UploadFormFiles(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Values() *gomock.Call
- func (mr *MockContextMockRecorder) View(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ViewData(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ViewLayout(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) VisitAllCookies(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Write(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) WriteGzip(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) WriteNotModified() *gomock.Call
- func (mr *MockContextMockRecorder) WriteString(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) WriteWithExpiration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Writef(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) XML(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) YAML(arg0 interface{}) *gomock.Call
- type MockRepo
- func (m *MockRepo) AddOnChangeHandler(handler configrepo.OnChangeHandler)
- func (m *MockRepo) EXPECT() *MockRepoMockRecorder
- func (m *MockRepo) Fetch() error
- func (m *MockRepo) GetAppsVersions() map[string][]*version.Version
- func (m *MockRepo) GetFile(app *configrepo.ApplicationVersion, path string) (*configrepo.RepoFile, error)
- func (m *MockRepo) GetLastFetch() *time.Time
- func (m *MockRepo) Init() error
- func (m *MockRepo) StartFetchingEvery(period time.Duration) error
- func (m *MockRepo) StopFetching()
- type MockRepoMockRecorder
- func (mr *MockRepoMockRecorder) AddOnChangeHandler(handler interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) Fetch() *gomock.Call
- func (mr *MockRepoMockRecorder) GetAppsVersions() *gomock.Call
- func (mr *MockRepoMockRecorder) GetFile(app, path interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) GetLastFetch() *gomock.Call
- func (mr *MockRepoMockRecorder) Init() *gomock.Call
- func (mr *MockRepoMockRecorder) StartFetchingEvery(period interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) StopFetching() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContext ¶
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface
func NewMockContext ¶
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance
func (*MockContext) AbsoluteURI ¶
func (m *MockContext) AbsoluteURI(arg0 string) string
AbsoluteURI mocks base method
func (*MockContext) AddHandler ¶
func (m *MockContext) AddHandler(arg0 ...context.Handler)
AddHandler mocks base method
func (*MockContext) Application ¶
func (m *MockContext) Application() context.Application
Application mocks base method
func (*MockContext) BeginRequest ¶
func (m *MockContext) BeginRequest(arg0 http.ResponseWriter, arg1 *http.Request)
BeginRequest mocks base method
func (*MockContext) BeginTransaction ¶
func (m *MockContext) BeginTransaction(arg0 func(*context.Transaction))
BeginTransaction mocks base method
func (*MockContext) Binary ¶
func (m *MockContext) Binary(arg0 []byte) (int, error)
Binary mocks base method
func (*MockContext) CheckIfModifiedSince ¶
func (m *MockContext) CheckIfModifiedSince(arg0 time.Time) (bool, error)
CheckIfModifiedSince mocks base method
func (*MockContext) ClientSupportsGzip ¶
func (m *MockContext) ClientSupportsGzip() bool
ClientSupportsGzip mocks base method
func (*MockContext) ContentType ¶
func (m *MockContext) ContentType(arg0 string)
ContentType mocks base method
func (*MockContext) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContext) FindClosest ¶
func (m *MockContext) FindClosest(arg0 int) []string
FindClosest mocks base method
func (*MockContext) FormFile ¶
func (m *MockContext) FormFile(arg0 string) (multipart.File, *multipart.FileHeader, error)
FormFile mocks base method
func (*MockContext) FormValue ¶
func (m *MockContext) FormValue(arg0 string) string
FormValue mocks base method
func (*MockContext) FormValueDefault ¶
func (m *MockContext) FormValueDefault(arg0, arg1 string) string
FormValueDefault mocks base method
func (*MockContext) FormValues ¶
func (m *MockContext) FormValues() map[string][]string
FormValues mocks base method
func (*MockContext) FullRequestURI ¶
func (m *MockContext) FullRequestURI() string
FullRequestURI mocks base method
func (*MockContext) GetBody ¶
func (m *MockContext) GetBody() ([]byte, error)
GetBody mocks base method
func (*MockContext) GetContentLength ¶
func (m *MockContext) GetContentLength() int64
GetContentLength mocks base method
func (*MockContext) GetContentType ¶
func (m *MockContext) GetContentType() string
GetContentType mocks base method
func (*MockContext) GetContentTypeRequested ¶
func (m *MockContext) GetContentTypeRequested() string
GetContentTypeRequested mocks base method
func (*MockContext) GetCookie ¶
func (m *MockContext) GetCookie(arg0 string, arg1 ...context.CookieOption) string
GetCookie mocks base method
func (*MockContext) GetCurrentRoute ¶
func (m *MockContext) GetCurrentRoute() context.RouteReadOnly
GetCurrentRoute mocks base method
func (*MockContext) GetHeader ¶
func (m *MockContext) GetHeader(arg0 string) string
GetHeader mocks base method
func (*MockContext) GetLocale ¶
func (m *MockContext) GetLocale() context.Locale
GetLocale mocks base method
func (*MockContext) GetReferrer ¶
func (m *MockContext) GetReferrer() context.Referrer
GetReferrer mocks base method
func (*MockContext) GetStatusCode ¶
func (m *MockContext) GetStatusCode() int
GetStatusCode mocks base method
func (*MockContext) GetViewData ¶
func (m *MockContext) GetViewData() map[string]interface{}
GetViewData mocks base method
func (*MockContext) GzipResponseWriter ¶
func (m *MockContext) GzipResponseWriter() *context.GzipResponseWriter
GzipResponseWriter mocks base method
func (*MockContext) HTML ¶
func (m *MockContext) HTML(arg0 string, arg1 ...interface{}) (int, error)
HTML mocks base method
func (*MockContext) HandlerFileLine ¶
func (m *MockContext) HandlerFileLine() (string, int)
HandlerFileLine mocks base method
func (*MockContext) HandlerIndex ¶
func (m *MockContext) HandlerIndex(arg0 int) int
HandlerIndex mocks base method
func (*MockContext) HandlerName ¶
func (m *MockContext) HandlerName() string
HandlerName mocks base method
func (*MockContext) Handlers ¶
func (m *MockContext) Handlers() context.Handlers
Handlers mocks base method
func (*MockContext) Header ¶
func (m *MockContext) Header(arg0, arg1 string)
Header mocks base method
func (*MockContext) IsRecording ¶
func (m *MockContext) IsRecording() (*context.ResponseRecorder, bool)
IsRecording mocks base method
func (*MockContext) JSON ¶
func (m *MockContext) JSON(arg0 interface{}, arg1 ...context.JSON) (int, error)
JSON mocks base method
func (*MockContext) JSONP ¶
func (m *MockContext) JSONP(arg0 interface{}, arg1 ...context.JSONP) (int, error)
JSONP mocks base method
func (*MockContext) Negotiate ¶
func (m *MockContext) Negotiate(arg0 interface{}) (int, error)
Negotiate mocks base method
func (*MockContext) Negotiation ¶
func (m *MockContext) Negotiation() *context.NegotiationBuilder
Negotiation mocks base method
func (*MockContext) NextHandler ¶
func (m *MockContext) NextHandler() context.Handler
NextHandler mocks base method
func (*MockContext) NextOr ¶
func (m *MockContext) NextOr(arg0 ...context.Handler) bool
NextOr mocks base method
func (*MockContext) NextOrNotFound ¶
func (m *MockContext) NextOrNotFound() bool
NextOrNotFound mocks base method
func (*MockContext) OnConnectionClose ¶
func (m *MockContext) OnConnectionClose(arg0 func()) bool
OnConnectionClose mocks base method
func (*MockContext) Params ¶
func (m *MockContext) Params() *context.RequestParams
Params mocks base method
func (*MockContext) PostValue ¶
func (m *MockContext) PostValue(arg0 string) string
PostValue mocks base method
func (*MockContext) PostValueBool ¶
func (m *MockContext) PostValueBool(arg0 string) (bool, error)
PostValueBool mocks base method
func (*MockContext) PostValueDefault ¶
func (m *MockContext) PostValueDefault(arg0, arg1 string) string
PostValueDefault mocks base method
func (*MockContext) PostValueFloat64 ¶
func (m *MockContext) PostValueFloat64(arg0 string) (float64, error)
PostValueFloat64 mocks base method
func (*MockContext) PostValueFloat64Default ¶
func (m *MockContext) PostValueFloat64Default(arg0 string, arg1 float64) float64
PostValueFloat64Default mocks base method
func (*MockContext) PostValueInt ¶
func (m *MockContext) PostValueInt(arg0 string) (int, error)
PostValueInt mocks base method
func (*MockContext) PostValueInt64 ¶
func (m *MockContext) PostValueInt64(arg0 string) (int64, error)
PostValueInt64 mocks base method
func (*MockContext) PostValueInt64Default ¶
func (m *MockContext) PostValueInt64Default(arg0 string, arg1 int64) int64
PostValueInt64Default mocks base method
func (*MockContext) PostValueIntDefault ¶
func (m *MockContext) PostValueIntDefault(arg0 string, arg1 int) int
PostValueIntDefault mocks base method
func (*MockContext) PostValueTrim ¶
func (m *MockContext) PostValueTrim(arg0 string) string
PostValueTrim mocks base method
func (*MockContext) PostValues ¶
func (m *MockContext) PostValues(arg0 string) []string
PostValues mocks base method
func (*MockContext) Problem ¶
func (m *MockContext) Problem(arg0 interface{}, arg1 ...context.ProblemOptions) (int, error)
Problem mocks base method
func (*MockContext) Proceed ¶
func (m *MockContext) Proceed(arg0 context.Handler) bool
Proceed mocks base method
func (*MockContext) ReadForm ¶
func (m *MockContext) ReadForm(arg0 interface{}) error
ReadForm mocks base method
func (*MockContext) ReadJSON ¶
func (m *MockContext) ReadJSON(arg0 interface{}) error
ReadJSON mocks base method
func (*MockContext) ReadQuery ¶
func (m *MockContext) ReadQuery(arg0 interface{}) error
ReadQuery mocks base method
func (*MockContext) ReadXML ¶
func (m *MockContext) ReadXML(arg0 interface{}) error
ReadXML mocks base method
func (*MockContext) ReadYAML ¶
func (m *MockContext) ReadYAML(arg0 interface{}) error
ReadYAML mocks base method
func (*MockContext) Recorder ¶
func (m *MockContext) Recorder() *context.ResponseRecorder
Recorder mocks base method
func (*MockContext) Redirect ¶
func (m *MockContext) Redirect(arg0 string, arg1 ...int)
Redirect mocks base method
func (*MockContext) ReflectValue ¶
func (m *MockContext) ReflectValue() []reflect.Value
ReflectValue mocks base method
func (*MockContext) RemoteAddr ¶
func (m *MockContext) RemoteAddr() string
RemoteAddr mocks base method
func (*MockContext) RemoveCookie ¶
func (m *MockContext) RemoveCookie(arg0 string, arg1 ...context.CookieOption)
RemoveCookie mocks base method
func (*MockContext) Request ¶
func (m *MockContext) Request() *http.Request
Request mocks base method
func (*MockContext) RequestPath ¶
func (m *MockContext) RequestPath(arg0 bool) string
RequestPath mocks base method
func (*MockContext) ResetRequest ¶
func (m *MockContext) ResetRequest(arg0 *http.Request)
ResetRequest mocks base method
func (*MockContext) ResetResponseWriter ¶
func (m *MockContext) ResetResponseWriter(arg0 context.ResponseWriter)
ResetResponseWriter mocks base method
func (*MockContext) ResponseWriter ¶
func (m *MockContext) ResponseWriter() context.ResponseWriter
ResponseWriter mocks base method
func (*MockContext) RouteExists ¶
func (m *MockContext) RouteExists(arg0, arg1 string) bool
RouteExists mocks base method
func (*MockContext) RouteName ¶
func (m *MockContext) RouteName() string
RouteName mocks base method
func (*MockContext) SendFile ¶
func (m *MockContext) SendFile(arg0, arg1 string) error
SendFile mocks base method
func (*MockContext) ServeContent ¶
func (m *MockContext) ServeContent(arg0 io.ReadSeeker, arg1 string, arg2 time.Time, arg3 bool) error
ServeContent mocks base method
func (*MockContext) ServeFile ¶
func (m *MockContext) ServeFile(arg0 string, arg1 bool) error
ServeFile mocks base method
func (*MockContext) SetCookie ¶
func (m *MockContext) SetCookie(arg0 *http.Cookie, arg1 ...context.CookieOption)
SetCookie mocks base method
func (*MockContext) SetCookieKV ¶
func (m *MockContext) SetCookieKV(arg0, arg1 string, arg2 ...context.CookieOption)
SetCookieKV mocks base method
func (*MockContext) SetCurrentRouteName ¶
func (m *MockContext) SetCurrentRouteName(arg0 string)
SetCurrentRouteName mocks base method
func (*MockContext) SetHandlers ¶
func (m *MockContext) SetHandlers(arg0 context.Handlers)
SetHandlers mocks base method
func (*MockContext) SetLastModified ¶
func (m *MockContext) SetLastModified(arg0 time.Time)
SetLastModified mocks base method
func (*MockContext) SetMaxRequestBodySize ¶
func (m *MockContext) SetMaxRequestBodySize(arg0 int64)
SetMaxRequestBodySize mocks base method
func (*MockContext) SkipTransactions ¶
func (m *MockContext) SkipTransactions()
SkipTransactions mocks base method
func (*MockContext) StatusCode ¶
func (m *MockContext) StatusCode(arg0 int)
StatusCode mocks base method
func (*MockContext) StopExecution ¶
func (m *MockContext) StopExecution()
StopExecution mocks base method
func (*MockContext) StreamWriter ¶
func (m *MockContext) StreamWriter(arg0 func(io.Writer) bool)
StreamWriter mocks base method
func (*MockContext) Subdomain ¶
func (m *MockContext) Subdomain() string
Subdomain mocks base method
func (*MockContext) Text ¶
func (m *MockContext) Text(arg0 string, arg1 ...interface{}) (int, error)
Text mocks base method
func (*MockContext) Tr ¶
func (m *MockContext) Tr(arg0 string, arg1 ...interface{}) string
Tr mocks base method
func (*MockContext) TransactionsSkipped ¶
func (m *MockContext) TransactionsSkipped() bool
TransactionsSkipped mocks base method
func (*MockContext) TryWriteGzip ¶
func (m *MockContext) TryWriteGzip(arg0 []byte) (int, error)
TryWriteGzip mocks base method
func (*MockContext) URLParam ¶
func (m *MockContext) URLParam(arg0 string) string
URLParam mocks base method
func (*MockContext) URLParamBool ¶
func (m *MockContext) URLParamBool(arg0 string) (bool, error)
URLParamBool mocks base method
func (*MockContext) URLParamDefault ¶
func (m *MockContext) URLParamDefault(arg0, arg1 string) string
URLParamDefault mocks base method
func (*MockContext) URLParamEscape ¶
func (m *MockContext) URLParamEscape(arg0 string) string
URLParamEscape mocks base method
func (*MockContext) URLParamExists ¶
func (m *MockContext) URLParamExists(arg0 string) bool
URLParamExists mocks base method
func (*MockContext) URLParamFloat64 ¶
func (m *MockContext) URLParamFloat64(arg0 string) (float64, error)
URLParamFloat64 mocks base method
func (*MockContext) URLParamFloat64Default ¶
func (m *MockContext) URLParamFloat64Default(arg0 string, arg1 float64) float64
URLParamFloat64Default mocks base method
func (*MockContext) URLParamInt ¶
func (m *MockContext) URLParamInt(arg0 string) (int, error)
URLParamInt mocks base method
func (*MockContext) URLParamInt32Default ¶
func (m *MockContext) URLParamInt32Default(arg0 string, arg1 int32) int32
URLParamInt32Default mocks base method
func (*MockContext) URLParamInt64 ¶
func (m *MockContext) URLParamInt64(arg0 string) (int64, error)
URLParamInt64 mocks base method
func (*MockContext) URLParamInt64Default ¶
func (m *MockContext) URLParamInt64Default(arg0 string, arg1 int64) int64
URLParamInt64Default mocks base method
func (*MockContext) URLParamIntDefault ¶
func (m *MockContext) URLParamIntDefault(arg0 string, arg1 int) int
URLParamIntDefault mocks base method
func (*MockContext) URLParamTrim ¶
func (m *MockContext) URLParamTrim(arg0 string) string
URLParamTrim mocks base method
func (*MockContext) URLParams ¶
func (m *MockContext) URLParams() map[string]string
URLParams mocks base method
func (*MockContext) UnmarshalBody ¶
func (m *MockContext) UnmarshalBody(arg0 interface{}, arg1 context.Unmarshaler) error
UnmarshalBody mocks base method
func (*MockContext) UploadFormFiles ¶
func (m *MockContext) UploadFormFiles(arg0 string, arg1 ...func(context.Context, *multipart.FileHeader)) (int64, error)
UploadFormFiles mocks base method
func (*MockContext) Values ¶
func (m *MockContext) Values() *memstore.Store
Values mocks base method
func (*MockContext) View ¶
func (m *MockContext) View(arg0 string, arg1 ...interface{}) error
View mocks base method
func (*MockContext) ViewData ¶
func (m *MockContext) ViewData(arg0 string, arg1 interface{})
ViewData mocks base method
func (*MockContext) ViewLayout ¶
func (m *MockContext) ViewLayout(arg0 string)
ViewLayout mocks base method
func (*MockContext) VisitAllCookies ¶
func (m *MockContext) VisitAllCookies(arg0 func(string, string))
VisitAllCookies mocks base method
func (*MockContext) Write ¶
func (m *MockContext) Write(arg0 []byte) (int, error)
Write mocks base method
func (*MockContext) WriteGzip ¶
func (m *MockContext) WriteGzip(arg0 []byte) (int, error)
WriteGzip mocks base method
func (*MockContext) WriteNotModified ¶
func (m *MockContext) WriteNotModified()
WriteNotModified mocks base method
func (*MockContext) WriteString ¶
func (m *MockContext) WriteString(arg0 string) (int, error)
WriteString mocks base method
func (*MockContext) WriteWithExpiration ¶
WriteWithExpiration mocks base method
func (*MockContext) Writef ¶
func (m *MockContext) Writef(arg0 string, arg1 ...interface{}) (int, error)
Writef mocks base method
func (*MockContext) XML ¶
func (m *MockContext) XML(arg0 interface{}, arg1 ...context.XML) (int, error)
XML mocks base method
func (*MockContext) YAML ¶
func (m *MockContext) YAML(arg0 interface{}) (int, error)
YAML mocks base method
type MockContextMockRecorder ¶
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext
func (*MockContextMockRecorder) AbsoluteURI ¶
func (mr *MockContextMockRecorder) AbsoluteURI(arg0 interface{}) *gomock.Call
AbsoluteURI indicates an expected call of AbsoluteURI
func (*MockContextMockRecorder) AddHandler ¶
func (mr *MockContextMockRecorder) AddHandler(arg0 ...interface{}) *gomock.Call
AddHandler indicates an expected call of AddHandler
func (*MockContextMockRecorder) Application ¶
func (mr *MockContextMockRecorder) Application() *gomock.Call
Application indicates an expected call of Application
func (*MockContextMockRecorder) BeginRequest ¶
func (mr *MockContextMockRecorder) BeginRequest(arg0, arg1 interface{}) *gomock.Call
BeginRequest indicates an expected call of BeginRequest
func (*MockContextMockRecorder) BeginTransaction ¶
func (mr *MockContextMockRecorder) BeginTransaction(arg0 interface{}) *gomock.Call
BeginTransaction indicates an expected call of BeginTransaction
func (*MockContextMockRecorder) Binary ¶
func (mr *MockContextMockRecorder) Binary(arg0 interface{}) *gomock.Call
Binary indicates an expected call of Binary
func (*MockContextMockRecorder) CheckIfModifiedSince ¶
func (mr *MockContextMockRecorder) CheckIfModifiedSince(arg0 interface{}) *gomock.Call
CheckIfModifiedSince indicates an expected call of CheckIfModifiedSince
func (*MockContextMockRecorder) ClientSupportsGzip ¶
func (mr *MockContextMockRecorder) ClientSupportsGzip() *gomock.Call
ClientSupportsGzip indicates an expected call of ClientSupportsGzip
func (*MockContextMockRecorder) ContentType ¶
func (mr *MockContextMockRecorder) ContentType(arg0 interface{}) *gomock.Call
ContentType indicates an expected call of ContentType
func (*MockContextMockRecorder) Do ¶
func (mr *MockContextMockRecorder) Do(arg0 interface{}) *gomock.Call
Do indicates an expected call of Do
func (*MockContextMockRecorder) EndRequest ¶
func (mr *MockContextMockRecorder) EndRequest() *gomock.Call
EndRequest indicates an expected call of EndRequest
func (*MockContextMockRecorder) Exec ¶
func (mr *MockContextMockRecorder) Exec(arg0, arg1 interface{}) *gomock.Call
Exec indicates an expected call of Exec
func (*MockContextMockRecorder) FindClosest ¶
func (mr *MockContextMockRecorder) FindClosest(arg0 interface{}) *gomock.Call
FindClosest indicates an expected call of FindClosest
func (*MockContextMockRecorder) FormFile ¶
func (mr *MockContextMockRecorder) FormFile(arg0 interface{}) *gomock.Call
FormFile indicates an expected call of FormFile
func (*MockContextMockRecorder) FormValue ¶
func (mr *MockContextMockRecorder) FormValue(arg0 interface{}) *gomock.Call
FormValue indicates an expected call of FormValue
func (*MockContextMockRecorder) FormValueDefault ¶
func (mr *MockContextMockRecorder) FormValueDefault(arg0, arg1 interface{}) *gomock.Call
FormValueDefault indicates an expected call of FormValueDefault
func (*MockContextMockRecorder) FormValues ¶
func (mr *MockContextMockRecorder) FormValues() *gomock.Call
FormValues indicates an expected call of FormValues
func (*MockContextMockRecorder) FullRequestURI ¶
func (mr *MockContextMockRecorder) FullRequestURI() *gomock.Call
FullRequestURI indicates an expected call of FullRequestURI
func (*MockContextMockRecorder) GetBody ¶
func (mr *MockContextMockRecorder) GetBody() *gomock.Call
GetBody indicates an expected call of GetBody
func (*MockContextMockRecorder) GetContentLength ¶
func (mr *MockContextMockRecorder) GetContentLength() *gomock.Call
GetContentLength indicates an expected call of GetContentLength
func (*MockContextMockRecorder) GetContentType ¶
func (mr *MockContextMockRecorder) GetContentType() *gomock.Call
GetContentType indicates an expected call of GetContentType
func (*MockContextMockRecorder) GetContentTypeRequested ¶
func (mr *MockContextMockRecorder) GetContentTypeRequested() *gomock.Call
GetContentTypeRequested indicates an expected call of GetContentTypeRequested
func (*MockContextMockRecorder) GetCookie ¶
func (mr *MockContextMockRecorder) GetCookie(arg0 interface{}, arg1 ...interface{}) *gomock.Call
GetCookie indicates an expected call of GetCookie
func (*MockContextMockRecorder) GetCurrentRoute ¶
func (mr *MockContextMockRecorder) GetCurrentRoute() *gomock.Call
GetCurrentRoute indicates an expected call of GetCurrentRoute
func (*MockContextMockRecorder) GetHeader ¶
func (mr *MockContextMockRecorder) GetHeader(arg0 interface{}) *gomock.Call
GetHeader indicates an expected call of GetHeader
func (*MockContextMockRecorder) GetLocale ¶
func (mr *MockContextMockRecorder) GetLocale() *gomock.Call
GetLocale indicates an expected call of GetLocale
func (*MockContextMockRecorder) GetReferrer ¶
func (mr *MockContextMockRecorder) GetReferrer() *gomock.Call
GetReferrer indicates an expected call of GetReferrer
func (*MockContextMockRecorder) GetStatusCode ¶
func (mr *MockContextMockRecorder) GetStatusCode() *gomock.Call
GetStatusCode indicates an expected call of GetStatusCode
func (*MockContextMockRecorder) GetViewData ¶
func (mr *MockContextMockRecorder) GetViewData() *gomock.Call
GetViewData indicates an expected call of GetViewData
func (*MockContextMockRecorder) Gzip ¶
func (mr *MockContextMockRecorder) Gzip(arg0 interface{}) *gomock.Call
Gzip indicates an expected call of Gzip
func (*MockContextMockRecorder) GzipResponseWriter ¶
func (mr *MockContextMockRecorder) GzipResponseWriter() *gomock.Call
GzipResponseWriter indicates an expected call of GzipResponseWriter
func (*MockContextMockRecorder) HTML ¶
func (mr *MockContextMockRecorder) HTML(arg0 interface{}, arg1 ...interface{}) *gomock.Call
HTML indicates an expected call of HTML
func (*MockContextMockRecorder) HandlerFileLine ¶
func (mr *MockContextMockRecorder) HandlerFileLine() *gomock.Call
HandlerFileLine indicates an expected call of HandlerFileLine
func (*MockContextMockRecorder) HandlerIndex ¶
func (mr *MockContextMockRecorder) HandlerIndex(arg0 interface{}) *gomock.Call
HandlerIndex indicates an expected call of HandlerIndex
func (*MockContextMockRecorder) HandlerName ¶
func (mr *MockContextMockRecorder) HandlerName() *gomock.Call
HandlerName indicates an expected call of HandlerName
func (*MockContextMockRecorder) Handlers ¶
func (mr *MockContextMockRecorder) Handlers() *gomock.Call
Handlers indicates an expected call of Handlers
func (*MockContextMockRecorder) Header ¶
func (mr *MockContextMockRecorder) Header(arg0, arg1 interface{}) *gomock.Call
Header indicates an expected call of Header
func (*MockContextMockRecorder) Host ¶
func (mr *MockContextMockRecorder) Host() *gomock.Call
Host indicates an expected call of Host
func (*MockContextMockRecorder) IsAjax ¶
func (mr *MockContextMockRecorder) IsAjax() *gomock.Call
IsAjax indicates an expected call of IsAjax
func (*MockContextMockRecorder) IsMobile ¶
func (mr *MockContextMockRecorder) IsMobile() *gomock.Call
IsMobile indicates an expected call of IsMobile
func (*MockContextMockRecorder) IsRecording ¶
func (mr *MockContextMockRecorder) IsRecording() *gomock.Call
IsRecording indicates an expected call of IsRecording
func (*MockContextMockRecorder) IsScript ¶
func (mr *MockContextMockRecorder) IsScript() *gomock.Call
IsScript indicates an expected call of IsScript
func (*MockContextMockRecorder) IsStopped ¶
func (mr *MockContextMockRecorder) IsStopped() *gomock.Call
IsStopped indicates an expected call of IsStopped
func (*MockContextMockRecorder) IsWWW ¶
func (mr *MockContextMockRecorder) IsWWW() *gomock.Call
IsWWW indicates an expected call of IsWWW
func (*MockContextMockRecorder) JSON ¶
func (mr *MockContextMockRecorder) JSON(arg0 interface{}, arg1 ...interface{}) *gomock.Call
JSON indicates an expected call of JSON
func (*MockContextMockRecorder) JSONP ¶
func (mr *MockContextMockRecorder) JSONP(arg0 interface{}, arg1 ...interface{}) *gomock.Call
JSONP indicates an expected call of JSONP
func (*MockContextMockRecorder) Markdown ¶
func (mr *MockContextMockRecorder) Markdown(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Markdown indicates an expected call of Markdown
func (*MockContextMockRecorder) MaxAge ¶
func (mr *MockContextMockRecorder) MaxAge() *gomock.Call
MaxAge indicates an expected call of MaxAge
func (*MockContextMockRecorder) Method ¶
func (mr *MockContextMockRecorder) Method() *gomock.Call
Method indicates an expected call of Method
func (*MockContextMockRecorder) Negotiate ¶
func (mr *MockContextMockRecorder) Negotiate(arg0 interface{}) *gomock.Call
Negotiate indicates an expected call of Negotiate
func (*MockContextMockRecorder) Negotiation ¶
func (mr *MockContextMockRecorder) Negotiation() *gomock.Call
Negotiation indicates an expected call of Negotiation
func (*MockContextMockRecorder) Next ¶
func (mr *MockContextMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next
func (*MockContextMockRecorder) NextHandler ¶
func (mr *MockContextMockRecorder) NextHandler() *gomock.Call
NextHandler indicates an expected call of NextHandler
func (*MockContextMockRecorder) NextOr ¶
func (mr *MockContextMockRecorder) NextOr(arg0 ...interface{}) *gomock.Call
NextOr indicates an expected call of NextOr
func (*MockContextMockRecorder) NextOrNotFound ¶
func (mr *MockContextMockRecorder) NextOrNotFound() *gomock.Call
NextOrNotFound indicates an expected call of NextOrNotFound
func (*MockContextMockRecorder) NotFound ¶
func (mr *MockContextMockRecorder) NotFound() *gomock.Call
NotFound indicates an expected call of NotFound
func (*MockContextMockRecorder) OnClose ¶
func (mr *MockContextMockRecorder) OnClose(arg0 interface{}) *gomock.Call
OnClose indicates an expected call of OnClose
func (*MockContextMockRecorder) OnConnectionClose ¶
func (mr *MockContextMockRecorder) OnConnectionClose(arg0 interface{}) *gomock.Call
OnConnectionClose indicates an expected call of OnConnectionClose
func (*MockContextMockRecorder) Params ¶
func (mr *MockContextMockRecorder) Params() *gomock.Call
Params indicates an expected call of Params
func (*MockContextMockRecorder) Path ¶
func (mr *MockContextMockRecorder) Path() *gomock.Call
Path indicates an expected call of Path
func (*MockContextMockRecorder) PostValue ¶
func (mr *MockContextMockRecorder) PostValue(arg0 interface{}) *gomock.Call
PostValue indicates an expected call of PostValue
func (*MockContextMockRecorder) PostValueBool ¶
func (mr *MockContextMockRecorder) PostValueBool(arg0 interface{}) *gomock.Call
PostValueBool indicates an expected call of PostValueBool
func (*MockContextMockRecorder) PostValueDefault ¶
func (mr *MockContextMockRecorder) PostValueDefault(arg0, arg1 interface{}) *gomock.Call
PostValueDefault indicates an expected call of PostValueDefault
func (*MockContextMockRecorder) PostValueFloat64 ¶
func (mr *MockContextMockRecorder) PostValueFloat64(arg0 interface{}) *gomock.Call
PostValueFloat64 indicates an expected call of PostValueFloat64
func (*MockContextMockRecorder) PostValueFloat64Default ¶
func (mr *MockContextMockRecorder) PostValueFloat64Default(arg0, arg1 interface{}) *gomock.Call
PostValueFloat64Default indicates an expected call of PostValueFloat64Default
func (*MockContextMockRecorder) PostValueInt ¶
func (mr *MockContextMockRecorder) PostValueInt(arg0 interface{}) *gomock.Call
PostValueInt indicates an expected call of PostValueInt
func (*MockContextMockRecorder) PostValueInt64 ¶
func (mr *MockContextMockRecorder) PostValueInt64(arg0 interface{}) *gomock.Call
PostValueInt64 indicates an expected call of PostValueInt64
func (*MockContextMockRecorder) PostValueInt64Default ¶
func (mr *MockContextMockRecorder) PostValueInt64Default(arg0, arg1 interface{}) *gomock.Call
PostValueInt64Default indicates an expected call of PostValueInt64Default
func (*MockContextMockRecorder) PostValueIntDefault ¶
func (mr *MockContextMockRecorder) PostValueIntDefault(arg0, arg1 interface{}) *gomock.Call
PostValueIntDefault indicates an expected call of PostValueIntDefault
func (*MockContextMockRecorder) PostValueTrim ¶
func (mr *MockContextMockRecorder) PostValueTrim(arg0 interface{}) *gomock.Call
PostValueTrim indicates an expected call of PostValueTrim
func (*MockContextMockRecorder) PostValues ¶
func (mr *MockContextMockRecorder) PostValues(arg0 interface{}) *gomock.Call
PostValues indicates an expected call of PostValues
func (*MockContextMockRecorder) Problem ¶
func (mr *MockContextMockRecorder) Problem(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Problem indicates an expected call of Problem
func (*MockContextMockRecorder) Proceed ¶
func (mr *MockContextMockRecorder) Proceed(arg0 interface{}) *gomock.Call
Proceed indicates an expected call of Proceed
func (*MockContextMockRecorder) ReadForm ¶
func (mr *MockContextMockRecorder) ReadForm(arg0 interface{}) *gomock.Call
ReadForm indicates an expected call of ReadForm
func (*MockContextMockRecorder) ReadJSON ¶
func (mr *MockContextMockRecorder) ReadJSON(arg0 interface{}) *gomock.Call
ReadJSON indicates an expected call of ReadJSON
func (*MockContextMockRecorder) ReadQuery ¶
func (mr *MockContextMockRecorder) ReadQuery(arg0 interface{}) *gomock.Call
ReadQuery indicates an expected call of ReadQuery
func (*MockContextMockRecorder) ReadXML ¶
func (mr *MockContextMockRecorder) ReadXML(arg0 interface{}) *gomock.Call
ReadXML indicates an expected call of ReadXML
func (*MockContextMockRecorder) ReadYAML ¶
func (mr *MockContextMockRecorder) ReadYAML(arg0 interface{}) *gomock.Call
ReadYAML indicates an expected call of ReadYAML
func (*MockContextMockRecorder) Record ¶
func (mr *MockContextMockRecorder) Record() *gomock.Call
Record indicates an expected call of Record
func (*MockContextMockRecorder) Recorder ¶
func (mr *MockContextMockRecorder) Recorder() *gomock.Call
Recorder indicates an expected call of Recorder
func (*MockContextMockRecorder) Redirect ¶
func (mr *MockContextMockRecorder) Redirect(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Redirect indicates an expected call of Redirect
func (*MockContextMockRecorder) ReflectValue ¶
func (mr *MockContextMockRecorder) ReflectValue() *gomock.Call
ReflectValue indicates an expected call of ReflectValue
func (*MockContextMockRecorder) RemoteAddr ¶
func (mr *MockContextMockRecorder) RemoteAddr() *gomock.Call
RemoteAddr indicates an expected call of RemoteAddr
func (*MockContextMockRecorder) RemoveCookie ¶
func (mr *MockContextMockRecorder) RemoveCookie(arg0 interface{}, arg1 ...interface{}) *gomock.Call
RemoveCookie indicates an expected call of RemoveCookie
func (*MockContextMockRecorder) Request ¶
func (mr *MockContextMockRecorder) Request() *gomock.Call
Request indicates an expected call of Request
func (*MockContextMockRecorder) RequestPath ¶
func (mr *MockContextMockRecorder) RequestPath(arg0 interface{}) *gomock.Call
RequestPath indicates an expected call of RequestPath
func (*MockContextMockRecorder) ResetRequest ¶
func (mr *MockContextMockRecorder) ResetRequest(arg0 interface{}) *gomock.Call
ResetRequest indicates an expected call of ResetRequest
func (*MockContextMockRecorder) ResetResponseWriter ¶
func (mr *MockContextMockRecorder) ResetResponseWriter(arg0 interface{}) *gomock.Call
ResetResponseWriter indicates an expected call of ResetResponseWriter
func (*MockContextMockRecorder) ResponseWriter ¶
func (mr *MockContextMockRecorder) ResponseWriter() *gomock.Call
ResponseWriter indicates an expected call of ResponseWriter
func (*MockContextMockRecorder) RouteExists ¶
func (mr *MockContextMockRecorder) RouteExists(arg0, arg1 interface{}) *gomock.Call
RouteExists indicates an expected call of RouteExists
func (*MockContextMockRecorder) RouteName ¶
func (mr *MockContextMockRecorder) RouteName() *gomock.Call
RouteName indicates an expected call of RouteName
func (*MockContextMockRecorder) SendFile ¶
func (mr *MockContextMockRecorder) SendFile(arg0, arg1 interface{}) *gomock.Call
SendFile indicates an expected call of SendFile
func (*MockContextMockRecorder) ServeContent ¶
func (mr *MockContextMockRecorder) ServeContent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ServeContent indicates an expected call of ServeContent
func (*MockContextMockRecorder) ServeFile ¶
func (mr *MockContextMockRecorder) ServeFile(arg0, arg1 interface{}) *gomock.Call
ServeFile indicates an expected call of ServeFile
func (*MockContextMockRecorder) SetCookie ¶
func (mr *MockContextMockRecorder) SetCookie(arg0 interface{}, arg1 ...interface{}) *gomock.Call
SetCookie indicates an expected call of SetCookie
func (*MockContextMockRecorder) SetCookieKV ¶
func (mr *MockContextMockRecorder) SetCookieKV(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SetCookieKV indicates an expected call of SetCookieKV
func (*MockContextMockRecorder) SetCurrentRouteName ¶
func (mr *MockContextMockRecorder) SetCurrentRouteName(arg0 interface{}) *gomock.Call
SetCurrentRouteName indicates an expected call of SetCurrentRouteName
func (*MockContextMockRecorder) SetHandlers ¶
func (mr *MockContextMockRecorder) SetHandlers(arg0 interface{}) *gomock.Call
SetHandlers indicates an expected call of SetHandlers
func (*MockContextMockRecorder) SetLastModified ¶
func (mr *MockContextMockRecorder) SetLastModified(arg0 interface{}) *gomock.Call
SetLastModified indicates an expected call of SetLastModified
func (*MockContextMockRecorder) SetMaxRequestBodySize ¶
func (mr *MockContextMockRecorder) SetMaxRequestBodySize(arg0 interface{}) *gomock.Call
SetMaxRequestBodySize indicates an expected call of SetMaxRequestBodySize
func (*MockContextMockRecorder) Skip ¶
func (mr *MockContextMockRecorder) Skip() *gomock.Call
Skip indicates an expected call of Skip
func (*MockContextMockRecorder) SkipTransactions ¶
func (mr *MockContextMockRecorder) SkipTransactions() *gomock.Call
SkipTransactions indicates an expected call of SkipTransactions
func (*MockContextMockRecorder) StatusCode ¶
func (mr *MockContextMockRecorder) StatusCode(arg0 interface{}) *gomock.Call
StatusCode indicates an expected call of StatusCode
func (*MockContextMockRecorder) StopExecution ¶
func (mr *MockContextMockRecorder) StopExecution() *gomock.Call
StopExecution indicates an expected call of StopExecution
func (*MockContextMockRecorder) StreamWriter ¶
func (mr *MockContextMockRecorder) StreamWriter(arg0 interface{}) *gomock.Call
StreamWriter indicates an expected call of StreamWriter
func (*MockContextMockRecorder) String ¶
func (mr *MockContextMockRecorder) String() *gomock.Call
String indicates an expected call of String
func (*MockContextMockRecorder) Subdomain ¶
func (mr *MockContextMockRecorder) Subdomain() *gomock.Call
Subdomain indicates an expected call of Subdomain
func (*MockContextMockRecorder) Text ¶
func (mr *MockContextMockRecorder) Text(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Text indicates an expected call of Text
func (*MockContextMockRecorder) Tr ¶
func (mr *MockContextMockRecorder) Tr(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Tr indicates an expected call of Tr
func (*MockContextMockRecorder) TransactionsSkipped ¶
func (mr *MockContextMockRecorder) TransactionsSkipped() *gomock.Call
TransactionsSkipped indicates an expected call of TransactionsSkipped
func (*MockContextMockRecorder) TryWriteGzip ¶
func (mr *MockContextMockRecorder) TryWriteGzip(arg0 interface{}) *gomock.Call
TryWriteGzip indicates an expected call of TryWriteGzip
func (*MockContextMockRecorder) URLParam ¶
func (mr *MockContextMockRecorder) URLParam(arg0 interface{}) *gomock.Call
URLParam indicates an expected call of URLParam
func (*MockContextMockRecorder) URLParamBool ¶
func (mr *MockContextMockRecorder) URLParamBool(arg0 interface{}) *gomock.Call
URLParamBool indicates an expected call of URLParamBool
func (*MockContextMockRecorder) URLParamDefault ¶
func (mr *MockContextMockRecorder) URLParamDefault(arg0, arg1 interface{}) *gomock.Call
URLParamDefault indicates an expected call of URLParamDefault
func (*MockContextMockRecorder) URLParamEscape ¶
func (mr *MockContextMockRecorder) URLParamEscape(arg0 interface{}) *gomock.Call
URLParamEscape indicates an expected call of URLParamEscape
func (*MockContextMockRecorder) URLParamExists ¶
func (mr *MockContextMockRecorder) URLParamExists(arg0 interface{}) *gomock.Call
URLParamExists indicates an expected call of URLParamExists
func (*MockContextMockRecorder) URLParamFloat64 ¶
func (mr *MockContextMockRecorder) URLParamFloat64(arg0 interface{}) *gomock.Call
URLParamFloat64 indicates an expected call of URLParamFloat64
func (*MockContextMockRecorder) URLParamFloat64Default ¶
func (mr *MockContextMockRecorder) URLParamFloat64Default(arg0, arg1 interface{}) *gomock.Call
URLParamFloat64Default indicates an expected call of URLParamFloat64Default
func (*MockContextMockRecorder) URLParamInt ¶
func (mr *MockContextMockRecorder) URLParamInt(arg0 interface{}) *gomock.Call
URLParamInt indicates an expected call of URLParamInt
func (*MockContextMockRecorder) URLParamInt32Default ¶
func (mr *MockContextMockRecorder) URLParamInt32Default(arg0, arg1 interface{}) *gomock.Call
URLParamInt32Default indicates an expected call of URLParamInt32Default
func (*MockContextMockRecorder) URLParamInt64 ¶
func (mr *MockContextMockRecorder) URLParamInt64(arg0 interface{}) *gomock.Call
URLParamInt64 indicates an expected call of URLParamInt64
func (*MockContextMockRecorder) URLParamInt64Default ¶
func (mr *MockContextMockRecorder) URLParamInt64Default(arg0, arg1 interface{}) *gomock.Call
URLParamInt64Default indicates an expected call of URLParamInt64Default
func (*MockContextMockRecorder) URLParamIntDefault ¶
func (mr *MockContextMockRecorder) URLParamIntDefault(arg0, arg1 interface{}) *gomock.Call
URLParamIntDefault indicates an expected call of URLParamIntDefault
func (*MockContextMockRecorder) URLParamTrim ¶
func (mr *MockContextMockRecorder) URLParamTrim(arg0 interface{}) *gomock.Call
URLParamTrim indicates an expected call of URLParamTrim
func (*MockContextMockRecorder) URLParams ¶
func (mr *MockContextMockRecorder) URLParams() *gomock.Call
URLParams indicates an expected call of URLParams
func (*MockContextMockRecorder) UnmarshalBody ¶
func (mr *MockContextMockRecorder) UnmarshalBody(arg0, arg1 interface{}) *gomock.Call
UnmarshalBody indicates an expected call of UnmarshalBody
func (*MockContextMockRecorder) UploadFormFiles ¶
func (mr *MockContextMockRecorder) UploadFormFiles(arg0 interface{}, arg1 ...interface{}) *gomock.Call
UploadFormFiles indicates an expected call of UploadFormFiles
func (*MockContextMockRecorder) Values ¶
func (mr *MockContextMockRecorder) Values() *gomock.Call
Values indicates an expected call of Values
func (*MockContextMockRecorder) View ¶
func (mr *MockContextMockRecorder) View(arg0 interface{}, arg1 ...interface{}) *gomock.Call
View indicates an expected call of View
func (*MockContextMockRecorder) ViewData ¶
func (mr *MockContextMockRecorder) ViewData(arg0, arg1 interface{}) *gomock.Call
ViewData indicates an expected call of ViewData
func (*MockContextMockRecorder) ViewLayout ¶
func (mr *MockContextMockRecorder) ViewLayout(arg0 interface{}) *gomock.Call
ViewLayout indicates an expected call of ViewLayout
func (*MockContextMockRecorder) VisitAllCookies ¶
func (mr *MockContextMockRecorder) VisitAllCookies(arg0 interface{}) *gomock.Call
VisitAllCookies indicates an expected call of VisitAllCookies
func (*MockContextMockRecorder) Write ¶
func (mr *MockContextMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
func (*MockContextMockRecorder) WriteGzip ¶
func (mr *MockContextMockRecorder) WriteGzip(arg0 interface{}) *gomock.Call
WriteGzip indicates an expected call of WriteGzip
func (*MockContextMockRecorder) WriteNotModified ¶
func (mr *MockContextMockRecorder) WriteNotModified() *gomock.Call
WriteNotModified indicates an expected call of WriteNotModified
func (*MockContextMockRecorder) WriteString ¶
func (mr *MockContextMockRecorder) WriteString(arg0 interface{}) *gomock.Call
WriteString indicates an expected call of WriteString
func (*MockContextMockRecorder) WriteWithExpiration ¶
func (mr *MockContextMockRecorder) WriteWithExpiration(arg0, arg1 interface{}) *gomock.Call
WriteWithExpiration indicates an expected call of WriteWithExpiration
func (*MockContextMockRecorder) Writef ¶
func (mr *MockContextMockRecorder) Writef(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Writef indicates an expected call of Writef
func (*MockContextMockRecorder) XML ¶
func (mr *MockContextMockRecorder) XML(arg0 interface{}, arg1 ...interface{}) *gomock.Call
XML indicates an expected call of XML
func (*MockContextMockRecorder) YAML ¶
func (mr *MockContextMockRecorder) YAML(arg0 interface{}) *gomock.Call
YAML indicates an expected call of YAML
type MockRepo ¶
type MockRepo struct {
// contains filtered or unexported fields
}
MockRepo is a mock of Repo interface
func NewMockRepo ¶
func NewMockRepo(ctrl *gomock.Controller) *MockRepo
NewMockRepo creates a new mock instance
func (*MockRepo) AddOnChangeHandler ¶
func (m *MockRepo) AddOnChangeHandler(handler configrepo.OnChangeHandler)
AddOnChangeHandler mocks base method
func (*MockRepo) EXPECT ¶
func (m *MockRepo) EXPECT() *MockRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepo) GetAppsVersions ¶
GetAppsVersions mocks base method
func (*MockRepo) GetFile ¶
func (m *MockRepo) GetFile(app *configrepo.ApplicationVersion, path string) (*configrepo.RepoFile, error)
GetFile mocks base method
func (*MockRepo) GetLastFetch ¶
GetLastFetch mocks base method
func (*MockRepo) StartFetchingEvery ¶
StartFetchingEvery mocks base method
type MockRepoMockRecorder ¶
type MockRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoMockRecorder is the mock recorder for MockRepo
func (*MockRepoMockRecorder) AddOnChangeHandler ¶
func (mr *MockRepoMockRecorder) AddOnChangeHandler(handler interface{}) *gomock.Call
AddOnChangeHandler indicates an expected call of AddOnChangeHandler
func (*MockRepoMockRecorder) Fetch ¶
func (mr *MockRepoMockRecorder) Fetch() *gomock.Call
Fetch indicates an expected call of Fetch
func (*MockRepoMockRecorder) GetAppsVersions ¶
func (mr *MockRepoMockRecorder) GetAppsVersions() *gomock.Call
GetAppsVersions indicates an expected call of GetAppsVersions
func (*MockRepoMockRecorder) GetFile ¶
func (mr *MockRepoMockRecorder) GetFile(app, path interface{}) *gomock.Call
GetFile indicates an expected call of GetFile
func (*MockRepoMockRecorder) GetLastFetch ¶
func (mr *MockRepoMockRecorder) GetLastFetch() *gomock.Call
GetLastFetch indicates an expected call of GetLastFetch
func (*MockRepoMockRecorder) Init ¶
func (mr *MockRepoMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init
func (*MockRepoMockRecorder) StartFetchingEvery ¶
func (mr *MockRepoMockRecorder) StartFetchingEvery(period interface{}) *gomock.Call
StartFetchingEvery indicates an expected call of StartFetchingEvery
func (*MockRepoMockRecorder) StopFetching ¶
func (mr *MockRepoMockRecorder) StopFetching() *gomock.Call
StopFetching indicates an expected call of StopFetching