Documentation ¶
Index ¶
- type APIKeyRepository
- type Context
- func (_m *Context) Attachment(file string, name string) error
- func (_m *Context) Bind(i interface{}) error
- func (_m *Context) Blob(code int, contentType string, b []byte) error
- func (_m *Context) Cookie(name string) (*http.Cookie, error)
- func (_m *Context) Cookies() []*http.Cookie
- func (_m *Context) Echo() *echo.Echo
- func (_m *Context) Error(err error)
- func (_m *Context) File(file string) error
- func (_m *Context) FormFile(name string) (*multipart.FileHeader, error)
- func (_m *Context) FormParams() (url.Values, error)
- func (_m *Context) FormValue(name string) string
- func (_m *Context) Get(key string) interface{}
- func (_m *Context) HTML(code int, html string) error
- func (_m *Context) HTMLBlob(code int, b []byte) error
- func (_m *Context) Handler() echo.HandlerFunc
- func (_m *Context) Inline(file string, name string) error
- func (_m *Context) IsTLS() bool
- func (_m *Context) IsWebSocket() bool
- func (_m *Context) JSON(code int, i interface{}) error
- func (_m *Context) JSONBlob(code int, b []byte) error
- func (_m *Context) JSONP(code int, callback string, i interface{}) error
- func (_m *Context) JSONPBlob(code int, callback string, b []byte) error
- func (_m *Context) JSONPretty(code int, i interface{}, indent string) error
- func (_m *Context) Logger() echo.Logger
- func (_m *Context) MultipartForm() (*multipart.Form, error)
- func (_m *Context) NoContent(code int) error
- func (_m *Context) Param(name string) string
- func (_m *Context) ParamNames() []string
- func (_m *Context) ParamValues() []string
- func (_m *Context) Path() string
- func (_m *Context) QueryParam(name string) string
- func (_m *Context) QueryParams() url.Values
- func (_m *Context) QueryString() string
- func (_m *Context) RealIP() string
- func (_m *Context) Redirect(code int, _a1 string) error
- func (_m *Context) Render(code int, name string, data interface{}) error
- func (_m *Context) Request() *http.Request
- func (_m *Context) Reset(r *http.Request, w http.ResponseWriter)
- func (_m *Context) Response() *echo.Response
- func (_m *Context) Scheme() string
- func (_m *Context) Set(key string, val interface{})
- func (_m *Context) SetCookie(cookie *http.Cookie)
- func (_m *Context) SetHandler(h echo.HandlerFunc)
- func (_m *Context) SetLogger(l echo.Logger)
- func (_m *Context) SetParamNames(names ...string)
- func (_m *Context) SetParamValues(values ...string)
- func (_m *Context) SetPath(p string)
- func (_m *Context) SetRequest(r *http.Request)
- func (_m *Context) SetResponse(r *echo.Response)
- func (_m *Context) Stream(code int, contentType string, r io.Reader) error
- func (_m *Context) String(code int, s string) error
- func (_m *Context) Validate(i interface{}) error
- func (_m *Context) XML(code int, i interface{}) error
- func (_m *Context) XMLBlob(code int, b []byte) error
- func (_m *Context) XMLPretty(code int, i interface{}, indent string) error
- type Runnable
- type ServerInterface
- func (_m *ServerInterface) CreateProject(ctx echo.Context) error
- func (_m *ServerInterface) CreateScenario(ctx echo.Context, projectId uuid.UUID) error
- func (_m *ServerInterface) ListProjects(ctx echo.Context, params api.ListProjectsParams) error
- func (_m *ServerInterface) ListRunsForProject(ctx echo.Context, id uuid.UUID, params api.ListRunsForProjectParams) error
- func (_m *ServerInterface) ListScenariosForProject(ctx echo.Context, projectId uuid.UUID, ...) error
- func (_m *ServerInterface) RunProject(ctx echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKeyRepository ¶
APIKeyRepository is an autogenerated mock type for the APIKeyRepository type
func NewAPIKeyRepository ¶
func NewAPIKeyRepository(t interface { mock.TestingT Cleanup(func()) }) *APIKeyRepository
NewAPIKeyRepository creates a new instance of APIKeyRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type Context ¶
Context is an autogenerated mock type for the Context type
func NewContext ¶
NewContext creates a new instance of Context. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Context) Attachment ¶
Attachment provides a mock function with given fields: file, name
func (*Context) FormFile ¶
func (_m *Context) FormFile(name string) (*multipart.FileHeader, error)
FormFile provides a mock function with given fields: name
func (*Context) FormParams ¶
FormParams provides a mock function with given fields:
func (*Context) Handler ¶
func (_m *Context) Handler() echo.HandlerFunc
Handler provides a mock function with given fields:
func (*Context) IsWebSocket ¶
IsWebSocket provides a mock function with given fields:
func (*Context) JSONPretty ¶
JSONPretty provides a mock function with given fields: code, i, indent
func (*Context) MultipartForm ¶
MultipartForm provides a mock function with given fields:
func (*Context) ParamNames ¶
ParamNames provides a mock function with given fields:
func (*Context) ParamValues ¶
ParamValues provides a mock function with given fields:
func (*Context) QueryParam ¶
QueryParam provides a mock function with given fields: name
func (*Context) QueryParams ¶
QueryParams provides a mock function with given fields:
func (*Context) QueryString ¶
QueryString provides a mock function with given fields:
func (*Context) Reset ¶
func (_m *Context) Reset(r *http.Request, w http.ResponseWriter)
Reset provides a mock function with given fields: r, w
func (*Context) SetHandler ¶
func (_m *Context) SetHandler(h echo.HandlerFunc)
SetHandler provides a mock function with given fields: h
func (*Context) SetParamNames ¶
SetParamNames provides a mock function with given fields: names
func (*Context) SetParamValues ¶
SetParamValues provides a mock function with given fields: values
func (*Context) SetRequest ¶
SetRequest provides a mock function with given fields: r
func (*Context) SetResponse ¶
SetResponse provides a mock function with given fields: r
type Runnable ¶
Runnable is an autogenerated mock type for the Runnable type
func NewRunnable ¶
NewRunnable creates a new instance of Runnable. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type ServerInterface ¶
ServerInterface is an autogenerated mock type for the ServerInterface type
func NewServerInterface ¶
func NewServerInterface(t interface { mock.TestingT Cleanup(func()) }) *ServerInterface
NewServerInterface creates a new instance of ServerInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServerInterface) CreateProject ¶
func (_m *ServerInterface) CreateProject(ctx echo.Context) error
CreateProject provides a mock function with given fields: ctx
func (*ServerInterface) CreateScenario ¶
CreateScenario provides a mock function with given fields: ctx, projectId
func (*ServerInterface) ListProjects ¶
func (_m *ServerInterface) ListProjects(ctx echo.Context, params api.ListProjectsParams) error
ListProjects provides a mock function with given fields: ctx, params
func (*ServerInterface) ListRunsForProject ¶
func (_m *ServerInterface) ListRunsForProject(ctx echo.Context, id uuid.UUID, params api.ListRunsForProjectParams) error
ListRunsForProject provides a mock function with given fields: ctx, id, params
func (*ServerInterface) ListScenariosForProject ¶
func (_m *ServerInterface) ListScenariosForProject(ctx echo.Context, projectId uuid.UUID, params api.ListScenariosForProjectParams) error
ListScenariosForProject provides a mock function with given fields: ctx, projectId, params
func (*ServerInterface) RunProject ¶
func (_m *ServerInterface) RunProject(ctx echo.Context) error
RunProject provides a mock function with given fields: ctx