Documentation ¶
Index ¶
- Constants
- type CreateExecution
- type CreateExecutionHandler
- type CreateExecutionHandlerFunc
- type CreateExecutionOK
- type CreateExecutionOKBody
- type CreateExecutionParams
- type CreateExecutionURL
- func (o *CreateExecutionURL) Build() (*url.URL, error)
- func (o *CreateExecutionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateExecutionURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateExecutionURL) SetBasePath(bp string)
- func (o *CreateExecutionURL) String() string
- func (o *CreateExecutionURL) StringFull(scheme, host string) string
- func (o *CreateExecutionURL) WithBasePath(bp string) *CreateExecutionURL
- type CreateProject
- type CreateProjectCreated
- type CreateProjectHandler
- type CreateProjectHandlerFunc
- type CreateProjectParams
- type CreateProjectURL
- func (o *CreateProjectURL) Build() (*url.URL, error)
- func (o *CreateProjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateProjectURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateProjectURL) SetBasePath(bp string)
- func (o *CreateProjectURL) String() string
- func (o *CreateProjectURL) StringFull(scheme, host string) string
- func (o *CreateProjectURL) WithBasePath(bp string) *CreateProjectURL
- type CreateScript
- type CreateScriptCreated
- type CreateScriptHandler
- type CreateScriptHandlerFunc
- type CreateScriptParams
- type CreateScriptURL
- func (o *CreateScriptURL) Build() (*url.URL, error)
- func (o *CreateScriptURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateScriptURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateScriptURL) SetBasePath(bp string)
- func (o *CreateScriptURL) String() string
- func (o *CreateScriptURL) StringFull(scheme, host string) string
- func (o *CreateScriptURL) WithBasePath(bp string) *CreateScriptURL
- type DeleteExecution
- type DeleteExecutionHandler
- type DeleteExecutionHandlerFunc
- type DeleteExecutionNoContent
- type DeleteExecutionParams
- type DeleteExecutionURL
- func (o *DeleteExecutionURL) Build() (*url.URL, error)
- func (o *DeleteExecutionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteExecutionURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteExecutionURL) SetBasePath(bp string)
- func (o *DeleteExecutionURL) String() string
- func (o *DeleteExecutionURL) StringFull(scheme, host string) string
- func (o *DeleteExecutionURL) WithBasePath(bp string) *DeleteExecutionURL
- type DeleteProject
- type DeleteProjectHandler
- type DeleteProjectHandlerFunc
- type DeleteProjectNoContent
- type DeleteProjectParams
- type DeleteProjectURL
- func (o *DeleteProjectURL) Build() (*url.URL, error)
- func (o *DeleteProjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteProjectURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteProjectURL) SetBasePath(bp string)
- func (o *DeleteProjectURL) String() string
- func (o *DeleteProjectURL) StringFull(scheme, host string) string
- func (o *DeleteProjectURL) WithBasePath(bp string) *DeleteProjectURL
- type DeleteScript
- type DeleteScriptData
- type DeleteScriptDataHandler
- type DeleteScriptDataHandlerFunc
- type DeleteScriptDataNoContent
- type DeleteScriptDataParams
- type DeleteScriptDataURL
- func (o *DeleteScriptDataURL) Build() (*url.URL, error)
- func (o *DeleteScriptDataURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteScriptDataURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteScriptDataURL) SetBasePath(bp string)
- func (o *DeleteScriptDataURL) String() string
- func (o *DeleteScriptDataURL) StringFull(scheme, host string) string
- func (o *DeleteScriptDataURL) WithBasePath(bp string) *DeleteScriptDataURL
- type DeleteScriptHandler
- type DeleteScriptHandlerFunc
- type DeleteScriptNoContent
- type DeleteScriptParams
- type DeleteScriptURL
- func (o *DeleteScriptURL) Build() (*url.URL, error)
- func (o *DeleteScriptURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteScriptURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteScriptURL) SetBasePath(bp string)
- func (o *DeleteScriptURL) String() string
- func (o *DeleteScriptURL) StringFull(scheme, host string) string
- func (o *DeleteScriptURL) WithBasePath(bp string) *DeleteScriptURL
- type FerretServerAPI
- func (o *FerretServerAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *FerretServerAPI) Authorizer() runtime.Authorizer
- func (o *FerretServerAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *FerretServerAPI) Context() *middleware.Context
- func (o *FerretServerAPI) DefaultConsumes() string
- func (o *FerretServerAPI) DefaultProduces() string
- func (o *FerretServerAPI) Formats() strfmt.Registry
- func (o *FerretServerAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *FerretServerAPI) Init()
- func (o *FerretServerAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *FerretServerAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
- func (o *FerretServerAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *FerretServerAPI) RegisterProducer(mediaType string, producer runtime.Producer)
- func (o *FerretServerAPI) Serve(builder middleware.Builder) http.Handler
- func (o *FerretServerAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *FerretServerAPI) SetDefaultConsumes(mediaType string)
- func (o *FerretServerAPI) SetDefaultProduces(mediaType string)
- func (o *FerretServerAPI) SetSpec(spec *loads.Document)
- func (o *FerretServerAPI) Validate() error
- type FindExecutions
- type FindExecutionsHandler
- type FindExecutionsHandlerFunc
- type FindExecutionsOK
- type FindExecutionsOKBody
- func (o *FindExecutionsOKBody) MarshalBinary() ([]byte, error)
- func (o FindExecutionsOKBody) MarshalJSON() ([]byte, error)
- func (o *FindExecutionsOKBody) UnmarshalBinary(b []byte) error
- func (o *FindExecutionsOKBody) UnmarshalJSON(raw []byte) error
- func (o *FindExecutionsOKBody) Validate(formats strfmt.Registry) error
- type FindExecutionsParams
- type FindExecutionsURL
- func (o *FindExecutionsURL) Build() (*url.URL, error)
- func (o *FindExecutionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *FindExecutionsURL) Must(u *url.URL, err error) *url.URL
- func (o *FindExecutionsURL) SetBasePath(bp string)
- func (o *FindExecutionsURL) String() string
- func (o *FindExecutionsURL) StringFull(scheme, host string) string
- func (o *FindExecutionsURL) WithBasePath(bp string) *FindExecutionsURL
- type FindProjectData
- type FindProjectDataHandler
- type FindProjectDataHandlerFunc
- type FindProjectDataOK
- type FindProjectDataOKBody
- func (o *FindProjectDataOKBody) MarshalBinary() ([]byte, error)
- func (o FindProjectDataOKBody) MarshalJSON() ([]byte, error)
- func (o *FindProjectDataOKBody) UnmarshalBinary(b []byte) error
- func (o *FindProjectDataOKBody) UnmarshalJSON(raw []byte) error
- func (o *FindProjectDataOKBody) Validate(formats strfmt.Registry) error
- type FindProjectDataParams
- type FindProjectDataURL
- func (o *FindProjectDataURL) Build() (*url.URL, error)
- func (o *FindProjectDataURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *FindProjectDataURL) Must(u *url.URL, err error) *url.URL
- func (o *FindProjectDataURL) SetBasePath(bp string)
- func (o *FindProjectDataURL) String() string
- func (o *FindProjectDataURL) StringFull(scheme, host string) string
- func (o *FindProjectDataURL) WithBasePath(bp string) *FindProjectDataURL
- type FindProjects
- type FindProjectsHandler
- type FindProjectsHandlerFunc
- type FindProjectsOK
- type FindProjectsOKBody
- func (o *FindProjectsOKBody) MarshalBinary() ([]byte, error)
- func (o FindProjectsOKBody) MarshalJSON() ([]byte, error)
- func (o *FindProjectsOKBody) UnmarshalBinary(b []byte) error
- func (o *FindProjectsOKBody) UnmarshalJSON(raw []byte) error
- func (o *FindProjectsOKBody) Validate(formats strfmt.Registry) error
- type FindProjectsParams
- type FindProjectsURL
- func (o *FindProjectsURL) Build() (*url.URL, error)
- func (o *FindProjectsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *FindProjectsURL) Must(u *url.URL, err error) *url.URL
- func (o *FindProjectsURL) SetBasePath(bp string)
- func (o *FindProjectsURL) String() string
- func (o *FindProjectsURL) StringFull(scheme, host string) string
- func (o *FindProjectsURL) WithBasePath(bp string) *FindProjectsURL
- type FindScriptData
- type FindScriptDataHandler
- type FindScriptDataHandlerFunc
- type FindScriptDataOK
- type FindScriptDataOKBody
- func (o *FindScriptDataOKBody) MarshalBinary() ([]byte, error)
- func (o FindScriptDataOKBody) MarshalJSON() ([]byte, error)
- func (o *FindScriptDataOKBody) UnmarshalBinary(b []byte) error
- func (o *FindScriptDataOKBody) UnmarshalJSON(raw []byte) error
- func (o *FindScriptDataOKBody) Validate(formats strfmt.Registry) error
- type FindScriptDataParams
- type FindScriptDataURL
- func (o *FindScriptDataURL) Build() (*url.URL, error)
- func (o *FindScriptDataURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *FindScriptDataURL) Must(u *url.URL, err error) *url.URL
- func (o *FindScriptDataURL) SetBasePath(bp string)
- func (o *FindScriptDataURL) String() string
- func (o *FindScriptDataURL) StringFull(scheme, host string) string
- func (o *FindScriptDataURL) WithBasePath(bp string) *FindScriptDataURL
- type FindScripts
- type FindScriptsHandler
- type FindScriptsHandlerFunc
- type FindScriptsOK
- type FindScriptsOKBody
- func (o *FindScriptsOKBody) MarshalBinary() ([]byte, error)
- func (o FindScriptsOKBody) MarshalJSON() ([]byte, error)
- func (o *FindScriptsOKBody) UnmarshalBinary(b []byte) error
- func (o *FindScriptsOKBody) UnmarshalJSON(raw []byte) error
- func (o *FindScriptsOKBody) Validate(formats strfmt.Registry) error
- type FindScriptsParams
- type FindScriptsURL
- func (o *FindScriptsURL) Build() (*url.URL, error)
- func (o *FindScriptsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *FindScriptsURL) Must(u *url.URL, err error) *url.URL
- func (o *FindScriptsURL) SetBasePath(bp string)
- func (o *FindScriptsURL) String() string
- func (o *FindScriptsURL) StringFull(scheme, host string) string
- func (o *FindScriptsURL) WithBasePath(bp string) *FindScriptsURL
- type GetExecution
- type GetExecutionHandler
- type GetExecutionHandlerFunc
- type GetExecutionOK
- type GetExecutionParams
- type GetExecutionURL
- func (o *GetExecutionURL) Build() (*url.URL, error)
- func (o *GetExecutionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetExecutionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetExecutionURL) SetBasePath(bp string)
- func (o *GetExecutionURL) String() string
- func (o *GetExecutionURL) StringFull(scheme, host string) string
- func (o *GetExecutionURL) WithBasePath(bp string) *GetExecutionURL
- type GetProject
- type GetProjectHandler
- type GetProjectHandlerFunc
- type GetProjectOK
- type GetProjectParams
- type GetProjectURL
- func (o *GetProjectURL) Build() (*url.URL, error)
- func (o *GetProjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetProjectURL) Must(u *url.URL, err error) *url.URL
- func (o *GetProjectURL) SetBasePath(bp string)
- func (o *GetProjectURL) String() string
- func (o *GetProjectURL) StringFull(scheme, host string) string
- func (o *GetProjectURL) WithBasePath(bp string) *GetProjectURL
- type GetScript
- type GetScriptData
- type GetScriptDataHandler
- type GetScriptDataHandlerFunc
- type GetScriptDataOK
- type GetScriptDataParams
- type GetScriptDataURL
- func (o *GetScriptDataURL) Build() (*url.URL, error)
- func (o *GetScriptDataURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetScriptDataURL) Must(u *url.URL, err error) *url.URL
- func (o *GetScriptDataURL) SetBasePath(bp string)
- func (o *GetScriptDataURL) String() string
- func (o *GetScriptDataURL) StringFull(scheme, host string) string
- func (o *GetScriptDataURL) WithBasePath(bp string) *GetScriptDataURL
- type GetScriptHandler
- type GetScriptHandlerFunc
- type GetScriptOK
- type GetScriptParams
- type GetScriptURL
- func (o *GetScriptURL) Build() (*url.URL, error)
- func (o *GetScriptURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetScriptURL) Must(u *url.URL, err error) *url.URL
- func (o *GetScriptURL) SetBasePath(bp string)
- func (o *GetScriptURL) String() string
- func (o *GetScriptURL) StringFull(scheme, host string) string
- func (o *GetScriptURL) WithBasePath(bp string) *GetScriptURL
- type UpdateProject
- type UpdateProjectHandler
- type UpdateProjectHandlerFunc
- type UpdateProjectOK
- type UpdateProjectParams
- type UpdateProjectURL
- func (o *UpdateProjectURL) Build() (*url.URL, error)
- func (o *UpdateProjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateProjectURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateProjectURL) SetBasePath(bp string)
- func (o *UpdateProjectURL) String() string
- func (o *UpdateProjectURL) StringFull(scheme, host string) string
- func (o *UpdateProjectURL) WithBasePath(bp string) *UpdateProjectURL
- type UpdateScript
- type UpdateScriptData
- type UpdateScriptDataHandler
- type UpdateScriptDataHandlerFunc
- type UpdateScriptDataOK
- type UpdateScriptDataParams
- type UpdateScriptDataURL
- func (o *UpdateScriptDataURL) Build() (*url.URL, error)
- func (o *UpdateScriptDataURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateScriptDataURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateScriptDataURL) SetBasePath(bp string)
- func (o *UpdateScriptDataURL) String() string
- func (o *UpdateScriptDataURL) StringFull(scheme, host string) string
- func (o *UpdateScriptDataURL) WithBasePath(bp string) *UpdateScriptDataURL
- type UpdateScriptHandler
- type UpdateScriptHandlerFunc
- type UpdateScriptOK
- type UpdateScriptParams
- type UpdateScriptURL
- func (o *UpdateScriptURL) Build() (*url.URL, error)
- func (o *UpdateScriptURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateScriptURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateScriptURL) SetBasePath(bp string)
- func (o *UpdateScriptURL) String() string
- func (o *UpdateScriptURL) StringFull(scheme, host string) string
- func (o *UpdateScriptURL) WithBasePath(bp string) *UpdateScriptURL
Constants ¶
const CreateExecutionOKCode int = 200
CreateExecutionOKCode is the HTTP code returned for type CreateExecutionOK
const CreateProjectCreatedCode int = 201
CreateProjectCreatedCode is the HTTP code returned for type CreateProjectCreated
const CreateScriptCreatedCode int = 201
CreateScriptCreatedCode is the HTTP code returned for type CreateScriptCreated
const DeleteExecutionNoContentCode int = 204
DeleteExecutionNoContentCode is the HTTP code returned for type DeleteExecutionNoContent
const DeleteProjectNoContentCode int = 204
DeleteProjectNoContentCode is the HTTP code returned for type DeleteProjectNoContent
const DeleteScriptDataNoContentCode int = 204
DeleteScriptDataNoContentCode is the HTTP code returned for type DeleteScriptDataNoContent
const DeleteScriptNoContentCode int = 204
DeleteScriptNoContentCode is the HTTP code returned for type DeleteScriptNoContent
const FindExecutionsOKCode int = 200
FindExecutionsOKCode is the HTTP code returned for type FindExecutionsOK
const FindProjectDataOKCode int = 200
FindProjectDataOKCode is the HTTP code returned for type FindProjectDataOK
const FindProjectsOKCode int = 200
FindProjectsOKCode is the HTTP code returned for type FindProjectsOK
const FindScriptDataOKCode int = 200
FindScriptDataOKCode is the HTTP code returned for type FindScriptDataOK
const FindScriptsOKCode int = 200
FindScriptsOKCode is the HTTP code returned for type FindScriptsOK
const GetExecutionOKCode int = 200
GetExecutionOKCode is the HTTP code returned for type GetExecutionOK
const GetProjectOKCode int = 200
GetProjectOKCode is the HTTP code returned for type GetProjectOK
const GetScriptDataOKCode int = 200
GetScriptDataOKCode is the HTTP code returned for type GetScriptDataOK
const GetScriptOKCode int = 200
GetScriptOKCode is the HTTP code returned for type GetScriptOK
const UpdateProjectOKCode int = 200
UpdateProjectOKCode is the HTTP code returned for type UpdateProjectOK
const UpdateScriptDataOKCode int = 200
UpdateScriptDataOKCode is the HTTP code returned for type UpdateScriptDataOK
const UpdateScriptOKCode int = 200
UpdateScriptOKCode is the HTTP code returned for type UpdateScriptOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateExecution ¶
type CreateExecution struct { Context *middleware.Context Handler CreateExecutionHandler }
CreateExecution swagger:route POST /projects/{projectId}/exec createExecution
Create Execution
func NewCreateExecution ¶
func NewCreateExecution(ctx *middleware.Context, handler CreateExecutionHandler) *CreateExecution
NewCreateExecution creates a new http.Handler for the create execution operation
func (*CreateExecution) ServeHTTP ¶
func (o *CreateExecution) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateExecutionHandler ¶
type CreateExecutionHandler interface {
Handle(CreateExecutionParams) middleware.Responder
}
CreateExecutionHandler interface for that can handle valid create execution params
type CreateExecutionHandlerFunc ¶
type CreateExecutionHandlerFunc func(CreateExecutionParams) middleware.Responder
CreateExecutionHandlerFunc turns a function with the right signature into a create execution handler
func (CreateExecutionHandlerFunc) Handle ¶
func (fn CreateExecutionHandlerFunc) Handle(params CreateExecutionParams) middleware.Responder
Handle executing the request and returning a response
type CreateExecutionOK ¶
type CreateExecutionOK struct { /* In: Body */ Payload *CreateExecutionOKBody `json:"body,omitempty"` }
CreateExecutionOK create execution o k
swagger:response createExecutionOK
func NewCreateExecutionOK ¶
func NewCreateExecutionOK() *CreateExecutionOK
NewCreateExecutionOK creates CreateExecutionOK with default headers values
func (*CreateExecutionOK) SetPayload ¶
func (o *CreateExecutionOK) SetPayload(payload *CreateExecutionOKBody)
SetPayload sets the payload to the create execution o k response
func (*CreateExecutionOK) WithPayload ¶
func (o *CreateExecutionOK) WithPayload(payload *CreateExecutionOKBody) *CreateExecutionOK
WithPayload adds the payload to the create execution o k response
func (*CreateExecutionOK) WriteResponse ¶
func (o *CreateExecutionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateExecutionOKBody ¶
type CreateExecutionOKBody struct { // job Id // Required: true JobID *string `json:"jobId"` }
CreateExecutionOKBody create execution o k body swagger:model CreateExecutionOKBody
func (*CreateExecutionOKBody) MarshalBinary ¶
func (o *CreateExecutionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateExecutionOKBody) UnmarshalBinary ¶
func (o *CreateExecutionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateExecutionParams ¶
type CreateExecutionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *models.ExecutionInput /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string }
CreateExecutionParams contains all the bound params for the create execution operation typically these are obtained from a http.Request
swagger:parameters createExecution
func NewCreateExecutionParams ¶
func NewCreateExecutionParams() CreateExecutionParams
NewCreateExecutionParams creates a new CreateExecutionParams object no default values defined in spec.
func (*CreateExecutionParams) BindRequest ¶
func (o *CreateExecutionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateExecutionParams() beforehand.
type CreateExecutionURL ¶
type CreateExecutionURL struct { ProjectID string // contains filtered or unexported fields }
CreateExecutionURL generates an URL for the create execution operation
func (*CreateExecutionURL) Build ¶
func (o *CreateExecutionURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateExecutionURL) BuildFull ¶
func (o *CreateExecutionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateExecutionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateExecutionURL) SetBasePath ¶
func (o *CreateExecutionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateExecutionURL) String ¶
func (o *CreateExecutionURL) String() string
String returns the string representation of the path with query string
func (*CreateExecutionURL) StringFull ¶
func (o *CreateExecutionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateExecutionURL) WithBasePath ¶
func (o *CreateExecutionURL) WithBasePath(bp string) *CreateExecutionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateProject ¶
type CreateProject struct { Context *middleware.Context Handler CreateProjectHandler }
CreateProject swagger:route POST /projects createProject
Create Project
func NewCreateProject ¶
func NewCreateProject(ctx *middleware.Context, handler CreateProjectHandler) *CreateProject
NewCreateProject creates a new http.Handler for the create project operation
func (*CreateProject) ServeHTTP ¶
func (o *CreateProject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateProjectCreated ¶
CreateProjectCreated create project created
swagger:response createProjectCreated
func NewCreateProjectCreated ¶
func NewCreateProjectCreated() *CreateProjectCreated
NewCreateProjectCreated creates CreateProjectCreated with default headers values
func (*CreateProjectCreated) SetPayload ¶
func (o *CreateProjectCreated) SetPayload(payload *models.Entity)
SetPayload sets the payload to the create project created response
func (*CreateProjectCreated) WithPayload ¶
func (o *CreateProjectCreated) WithPayload(payload *models.Entity) *CreateProjectCreated
WithPayload adds the payload to the create project created response
func (*CreateProjectCreated) WriteResponse ¶
func (o *CreateProjectCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProjectHandler ¶
type CreateProjectHandler interface {
Handle(CreateProjectParams) middleware.Responder
}
CreateProjectHandler interface for that can handle valid create project params
type CreateProjectHandlerFunc ¶
type CreateProjectHandlerFunc func(CreateProjectParams) middleware.Responder
CreateProjectHandlerFunc turns a function with the right signature into a create project handler
func (CreateProjectHandlerFunc) Handle ¶
func (fn CreateProjectHandlerFunc) Handle(params CreateProjectParams) middleware.Responder
Handle executing the request and returning a response
type CreateProjectParams ¶
type CreateProjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body models.ProjectCreate }
CreateProjectParams contains all the bound params for the create project operation typically these are obtained from a http.Request
swagger:parameters createProject
func NewCreateProjectParams ¶
func NewCreateProjectParams() CreateProjectParams
NewCreateProjectParams creates a new CreateProjectParams object no default values defined in spec.
func (*CreateProjectParams) BindRequest ¶
func (o *CreateProjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateProjectParams() beforehand.
type CreateProjectURL ¶
type CreateProjectURL struct {
// contains filtered or unexported fields
}
CreateProjectURL generates an URL for the create project operation
func (*CreateProjectURL) Build ¶
func (o *CreateProjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateProjectURL) BuildFull ¶
func (o *CreateProjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateProjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateProjectURL) SetBasePath ¶
func (o *CreateProjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateProjectURL) String ¶
func (o *CreateProjectURL) String() string
String returns the string representation of the path with query string
func (*CreateProjectURL) StringFull ¶
func (o *CreateProjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateProjectURL) WithBasePath ¶
func (o *CreateProjectURL) WithBasePath(bp string) *CreateProjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateScript ¶
type CreateScript struct { Context *middleware.Context Handler CreateScriptHandler }
CreateScript swagger:route POST /projects/{projectId}/scripts createScript
Create Script
func NewCreateScript ¶
func NewCreateScript(ctx *middleware.Context, handler CreateScriptHandler) *CreateScript
NewCreateScript creates a new http.Handler for the create script operation
func (*CreateScript) ServeHTTP ¶
func (o *CreateScript) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateScriptCreated ¶
CreateScriptCreated create script created
swagger:response createScriptCreated
func NewCreateScriptCreated ¶
func NewCreateScriptCreated() *CreateScriptCreated
NewCreateScriptCreated creates CreateScriptCreated with default headers values
func (*CreateScriptCreated) SetPayload ¶
func (o *CreateScriptCreated) SetPayload(payload *models.Entity)
SetPayload sets the payload to the create script created response
func (*CreateScriptCreated) WithPayload ¶
func (o *CreateScriptCreated) WithPayload(payload *models.Entity) *CreateScriptCreated
WithPayload adds the payload to the create script created response
func (*CreateScriptCreated) WriteResponse ¶
func (o *CreateScriptCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateScriptHandler ¶
type CreateScriptHandler interface {
Handle(CreateScriptParams) middleware.Responder
}
CreateScriptHandler interface for that can handle valid create script params
type CreateScriptHandlerFunc ¶
type CreateScriptHandlerFunc func(CreateScriptParams) middleware.Responder
CreateScriptHandlerFunc turns a function with the right signature into a create script handler
func (CreateScriptHandlerFunc) Handle ¶
func (fn CreateScriptHandlerFunc) Handle(params CreateScriptParams) middleware.Responder
Handle executing the request and returning a response
type CreateScriptParams ¶
type CreateScriptParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body models.ScriptCreate /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string }
CreateScriptParams contains all the bound params for the create script operation typically these are obtained from a http.Request
swagger:parameters createScript
func NewCreateScriptParams ¶
func NewCreateScriptParams() CreateScriptParams
NewCreateScriptParams creates a new CreateScriptParams object no default values defined in spec.
func (*CreateScriptParams) BindRequest ¶
func (o *CreateScriptParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateScriptParams() beforehand.
type CreateScriptURL ¶
type CreateScriptURL struct { ProjectID string // contains filtered or unexported fields }
CreateScriptURL generates an URL for the create script operation
func (*CreateScriptURL) Build ¶
func (o *CreateScriptURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateScriptURL) BuildFull ¶
func (o *CreateScriptURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateScriptURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateScriptURL) SetBasePath ¶
func (o *CreateScriptURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateScriptURL) String ¶
func (o *CreateScriptURL) String() string
String returns the string representation of the path with query string
func (*CreateScriptURL) StringFull ¶
func (o *CreateScriptURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateScriptURL) WithBasePath ¶
func (o *CreateScriptURL) WithBasePath(bp string) *CreateScriptURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteExecution ¶
type DeleteExecution struct { Context *middleware.Context Handler DeleteExecutionHandler }
DeleteExecution swagger:route DELETE /projects/{projectId}/exec/{jobID} deleteExecution
Cancel Execution
func NewDeleteExecution ¶
func NewDeleteExecution(ctx *middleware.Context, handler DeleteExecutionHandler) *DeleteExecution
NewDeleteExecution creates a new http.Handler for the delete execution operation
func (*DeleteExecution) ServeHTTP ¶
func (o *DeleteExecution) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteExecutionHandler ¶
type DeleteExecutionHandler interface {
Handle(DeleteExecutionParams) middleware.Responder
}
DeleteExecutionHandler interface for that can handle valid delete execution params
type DeleteExecutionHandlerFunc ¶
type DeleteExecutionHandlerFunc func(DeleteExecutionParams) middleware.Responder
DeleteExecutionHandlerFunc turns a function with the right signature into a delete execution handler
func (DeleteExecutionHandlerFunc) Handle ¶
func (fn DeleteExecutionHandlerFunc) Handle(params DeleteExecutionParams) middleware.Responder
Handle executing the request and returning a response
type DeleteExecutionNoContent ¶
type DeleteExecutionNoContent struct { }
DeleteExecutionNoContent delete execution no content
swagger:response deleteExecutionNoContent
func NewDeleteExecutionNoContent ¶
func NewDeleteExecutionNoContent() *DeleteExecutionNoContent
NewDeleteExecutionNoContent creates DeleteExecutionNoContent with default headers values
func (*DeleteExecutionNoContent) WriteResponse ¶
func (o *DeleteExecutionNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteExecutionParams ¶
type DeleteExecutionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ JobID string /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string }
DeleteExecutionParams contains all the bound params for the delete execution operation typically these are obtained from a http.Request
swagger:parameters deleteExecution
func NewDeleteExecutionParams ¶
func NewDeleteExecutionParams() DeleteExecutionParams
NewDeleteExecutionParams creates a new DeleteExecutionParams object no default values defined in spec.
func (*DeleteExecutionParams) BindRequest ¶
func (o *DeleteExecutionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteExecutionParams() beforehand.
type DeleteExecutionURL ¶
type DeleteExecutionURL struct { JobID string ProjectID string // contains filtered or unexported fields }
DeleteExecutionURL generates an URL for the delete execution operation
func (*DeleteExecutionURL) Build ¶
func (o *DeleteExecutionURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteExecutionURL) BuildFull ¶
func (o *DeleteExecutionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteExecutionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteExecutionURL) SetBasePath ¶
func (o *DeleteExecutionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteExecutionURL) String ¶
func (o *DeleteExecutionURL) String() string
String returns the string representation of the path with query string
func (*DeleteExecutionURL) StringFull ¶
func (o *DeleteExecutionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteExecutionURL) WithBasePath ¶
func (o *DeleteExecutionURL) WithBasePath(bp string) *DeleteExecutionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteProject ¶
type DeleteProject struct { Context *middleware.Context Handler DeleteProjectHandler }
DeleteProject swagger:route DELETE /projects/{projectId} deleteProject
Delete Project
func NewDeleteProject ¶
func NewDeleteProject(ctx *middleware.Context, handler DeleteProjectHandler) *DeleteProject
NewDeleteProject creates a new http.Handler for the delete project operation
func (*DeleteProject) ServeHTTP ¶
func (o *DeleteProject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteProjectHandler ¶
type DeleteProjectHandler interface {
Handle(DeleteProjectParams) middleware.Responder
}
DeleteProjectHandler interface for that can handle valid delete project params
type DeleteProjectHandlerFunc ¶
type DeleteProjectHandlerFunc func(DeleteProjectParams) middleware.Responder
DeleteProjectHandlerFunc turns a function with the right signature into a delete project handler
func (DeleteProjectHandlerFunc) Handle ¶
func (fn DeleteProjectHandlerFunc) Handle(params DeleteProjectParams) middleware.Responder
Handle executing the request and returning a response
type DeleteProjectNoContent ¶
type DeleteProjectNoContent struct { }
DeleteProjectNoContent delete project no content
swagger:response deleteProjectNoContent
func NewDeleteProjectNoContent ¶
func NewDeleteProjectNoContent() *DeleteProjectNoContent
NewDeleteProjectNoContent creates DeleteProjectNoContent with default headers values
func (*DeleteProjectNoContent) WriteResponse ¶
func (o *DeleteProjectNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectParams ¶
type DeleteProjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string }
DeleteProjectParams contains all the bound params for the delete project operation typically these are obtained from a http.Request
swagger:parameters deleteProject
func NewDeleteProjectParams ¶
func NewDeleteProjectParams() DeleteProjectParams
NewDeleteProjectParams creates a new DeleteProjectParams object no default values defined in spec.
func (*DeleteProjectParams) BindRequest ¶
func (o *DeleteProjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteProjectParams() beforehand.
type DeleteProjectURL ¶
type DeleteProjectURL struct { ProjectID string // contains filtered or unexported fields }
DeleteProjectURL generates an URL for the delete project operation
func (*DeleteProjectURL) Build ¶
func (o *DeleteProjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteProjectURL) BuildFull ¶
func (o *DeleteProjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteProjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteProjectURL) SetBasePath ¶
func (o *DeleteProjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteProjectURL) String ¶
func (o *DeleteProjectURL) String() string
String returns the string representation of the path with query string
func (*DeleteProjectURL) StringFull ¶
func (o *DeleteProjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteProjectURL) WithBasePath ¶
func (o *DeleteProjectURL) WithBasePath(bp string) *DeleteProjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteScript ¶
type DeleteScript struct { Context *middleware.Context Handler DeleteScriptHandler }
DeleteScript swagger:route DELETE /projects/{projectId}/scripts/{scriptId} deleteScript
Delete Script
func NewDeleteScript ¶
func NewDeleteScript(ctx *middleware.Context, handler DeleteScriptHandler) *DeleteScript
NewDeleteScript creates a new http.Handler for the delete script operation
func (*DeleteScript) ServeHTTP ¶
func (o *DeleteScript) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteScriptData ¶
type DeleteScriptData struct { Context *middleware.Context Handler DeleteScriptDataHandler }
DeleteScriptData swagger:route DELETE /projects/{projectId}/data/{scriptId}/{dataId} deleteScriptData
Delete Data
func NewDeleteScriptData ¶
func NewDeleteScriptData(ctx *middleware.Context, handler DeleteScriptDataHandler) *DeleteScriptData
NewDeleteScriptData creates a new http.Handler for the delete script data operation
func (*DeleteScriptData) ServeHTTP ¶
func (o *DeleteScriptData) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteScriptDataHandler ¶
type DeleteScriptDataHandler interface {
Handle(DeleteScriptDataParams) middleware.Responder
}
DeleteScriptDataHandler interface for that can handle valid delete script data params
type DeleteScriptDataHandlerFunc ¶
type DeleteScriptDataHandlerFunc func(DeleteScriptDataParams) middleware.Responder
DeleteScriptDataHandlerFunc turns a function with the right signature into a delete script data handler
func (DeleteScriptDataHandlerFunc) Handle ¶
func (fn DeleteScriptDataHandlerFunc) Handle(params DeleteScriptDataParams) middleware.Responder
Handle executing the request and returning a response
type DeleteScriptDataNoContent ¶
type DeleteScriptDataNoContent struct { }
DeleteScriptDataNoContent delete script data no content
swagger:response deleteScriptDataNoContent
func NewDeleteScriptDataNoContent ¶
func NewDeleteScriptDataNoContent() *DeleteScriptDataNoContent
NewDeleteScriptDataNoContent creates DeleteScriptDataNoContent with default headers values
func (*DeleteScriptDataNoContent) WriteResponse ¶
func (o *DeleteScriptDataNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteScriptDataParams ¶
type DeleteScriptDataParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ DataID string /* Required: true In: path */ ProjectID string /* Required: true In: path */ ScriptID string }
DeleteScriptDataParams contains all the bound params for the delete script data operation typically these are obtained from a http.Request
swagger:parameters deleteScriptData
func NewDeleteScriptDataParams ¶
func NewDeleteScriptDataParams() DeleteScriptDataParams
NewDeleteScriptDataParams creates a new DeleteScriptDataParams object no default values defined in spec.
func (*DeleteScriptDataParams) BindRequest ¶
func (o *DeleteScriptDataParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteScriptDataParams() beforehand.
type DeleteScriptDataURL ¶
type DeleteScriptDataURL struct { DataID string ProjectID string ScriptID string // contains filtered or unexported fields }
DeleteScriptDataURL generates an URL for the delete script data operation
func (*DeleteScriptDataURL) Build ¶
func (o *DeleteScriptDataURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteScriptDataURL) BuildFull ¶
func (o *DeleteScriptDataURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteScriptDataURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteScriptDataURL) SetBasePath ¶
func (o *DeleteScriptDataURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteScriptDataURL) String ¶
func (o *DeleteScriptDataURL) String() string
String returns the string representation of the path with query string
func (*DeleteScriptDataURL) StringFull ¶
func (o *DeleteScriptDataURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteScriptDataURL) WithBasePath ¶
func (o *DeleteScriptDataURL) WithBasePath(bp string) *DeleteScriptDataURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteScriptHandler ¶
type DeleteScriptHandler interface {
Handle(DeleteScriptParams) middleware.Responder
}
DeleteScriptHandler interface for that can handle valid delete script params
type DeleteScriptHandlerFunc ¶
type DeleteScriptHandlerFunc func(DeleteScriptParams) middleware.Responder
DeleteScriptHandlerFunc turns a function with the right signature into a delete script handler
func (DeleteScriptHandlerFunc) Handle ¶
func (fn DeleteScriptHandlerFunc) Handle(params DeleteScriptParams) middleware.Responder
Handle executing the request and returning a response
type DeleteScriptNoContent ¶
type DeleteScriptNoContent struct { }
DeleteScriptNoContent delete script no content
swagger:response deleteScriptNoContent
func NewDeleteScriptNoContent ¶
func NewDeleteScriptNoContent() *DeleteScriptNoContent
NewDeleteScriptNoContent creates DeleteScriptNoContent with default headers values
func (*DeleteScriptNoContent) WriteResponse ¶
func (o *DeleteScriptNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteScriptParams ¶
type DeleteScriptParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ScriptID string }
DeleteScriptParams contains all the bound params for the delete script operation typically these are obtained from a http.Request
swagger:parameters deleteScript
func NewDeleteScriptParams ¶
func NewDeleteScriptParams() DeleteScriptParams
NewDeleteScriptParams creates a new DeleteScriptParams object no default values defined in spec.
func (*DeleteScriptParams) BindRequest ¶
func (o *DeleteScriptParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteScriptParams() beforehand.
type DeleteScriptURL ¶
type DeleteScriptURL struct { ProjectID string ScriptID string // contains filtered or unexported fields }
DeleteScriptURL generates an URL for the delete script operation
func (*DeleteScriptURL) Build ¶
func (o *DeleteScriptURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteScriptURL) BuildFull ¶
func (o *DeleteScriptURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteScriptURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteScriptURL) SetBasePath ¶
func (o *DeleteScriptURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteScriptURL) String ¶
func (o *DeleteScriptURL) String() string
String returns the string representation of the path with query string
func (*DeleteScriptURL) StringFull ¶
func (o *DeleteScriptURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteScriptURL) WithBasePath ¶
func (o *DeleteScriptURL) WithBasePath(bp string) *DeleteScriptURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type FerretServerAPI ¶
type FerretServerAPI struct { Middleware func(middleware.Builder) http.Handler // BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator // APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator // BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator // JSONConsumer registers a consumer for a "application/json" mime type JSONConsumer runtime.Consumer // JSONProducer registers a producer for a "application/json" mime type JSONProducer runtime.Producer // CreateExecutionHandler sets the operation handler for the create execution operation CreateExecutionHandler CreateExecutionHandler // CreateProjectHandler sets the operation handler for the create project operation CreateProjectHandler CreateProjectHandler // CreateScriptHandler sets the operation handler for the create script operation CreateScriptHandler CreateScriptHandler // DeleteExecutionHandler sets the operation handler for the delete execution operation DeleteExecutionHandler DeleteExecutionHandler // DeleteProjectHandler sets the operation handler for the delete project operation DeleteProjectHandler DeleteProjectHandler // DeleteScriptHandler sets the operation handler for the delete script operation DeleteScriptHandler DeleteScriptHandler // DeleteScriptDataHandler sets the operation handler for the delete script data operation DeleteScriptDataHandler DeleteScriptDataHandler // FindExecutionsHandler sets the operation handler for the find executions operation FindExecutionsHandler FindExecutionsHandler // FindProjectDataHandler sets the operation handler for the find project data operation FindProjectDataHandler FindProjectDataHandler // FindProjectsHandler sets the operation handler for the find projects operation FindProjectsHandler FindProjectsHandler // FindScriptDataHandler sets the operation handler for the find script data operation FindScriptDataHandler FindScriptDataHandler // FindScriptsHandler sets the operation handler for the find scripts operation FindScriptsHandler FindScriptsHandler // GetExecutionHandler sets the operation handler for the get execution operation GetExecutionHandler GetExecutionHandler // GetProjectHandler sets the operation handler for the get project operation GetProjectHandler GetProjectHandler // GetScriptHandler sets the operation handler for the get script operation GetScriptHandler GetScriptHandler // GetScriptDataHandler sets the operation handler for the get script data operation GetScriptDataHandler GetScriptDataHandler // UpdateProjectHandler sets the operation handler for the update project operation UpdateProjectHandler UpdateProjectHandler // UpdateScriptHandler sets the operation handler for the update script operation UpdateScriptHandler UpdateScriptHandler // UpdateScriptDataHandler sets the operation handler for the update script data operation UpdateScriptDataHandler UpdateScriptDataHandler // ServeError is called when an error is received, there is a default handler // but you can set your own with this ServeError func(http.ResponseWriter, *http.Request, error) // ServerShutdown is called when the HTTP(S) server is shut down and done // handling all active connections and does not accept connections any more ServerShutdown func() // Custom command line argument groups with their descriptions CommandLineOptionsGroups []swag.CommandLineOptionsGroup // User defined logger function. Logger func(string, ...interface{}) // contains filtered or unexported fields }
FerretServerAPI API of Ferret Server
func NewFerretServerAPI ¶
func NewFerretServerAPI(spec *loads.Document) *FerretServerAPI
NewFerretServerAPI creates a new FerretServer instance
func (*FerretServerAPI) AuthenticatorsFor ¶
func (o *FerretServerAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
AuthenticatorsFor gets the authenticators for the specified security schemes
func (*FerretServerAPI) Authorizer ¶
func (o *FerretServerAPI) Authorizer() runtime.Authorizer
Authorizer returns the registered authorizer
func (*FerretServerAPI) ConsumersFor ¶
func (o *FerretServerAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
ConsumersFor gets the consumers for the specified media types
func (*FerretServerAPI) Context ¶
func (o *FerretServerAPI) Context() *middleware.Context
Context returns the middleware context for the ferret server API
func (*FerretServerAPI) DefaultConsumes ¶
func (o *FerretServerAPI) DefaultConsumes() string
DefaultConsumes returns the default consumes media type
func (*FerretServerAPI) DefaultProduces ¶
func (o *FerretServerAPI) DefaultProduces() string
DefaultProduces returns the default produces media type
func (*FerretServerAPI) Formats ¶
func (o *FerretServerAPI) Formats() strfmt.Registry
Formats returns the registered string formats
func (*FerretServerAPI) HandlerFor ¶
func (o *FerretServerAPI) HandlerFor(method, path string) (http.Handler, bool)
HandlerFor gets a http.Handler for the provided operation method and path
func (*FerretServerAPI) Init ¶
func (o *FerretServerAPI) Init()
Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit
func (*FerretServerAPI) ProducersFor ¶
func (o *FerretServerAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
ProducersFor gets the producers for the specified media types
func (*FerretServerAPI) RegisterConsumer ¶
func (o *FerretServerAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
RegisterConsumer allows you to add (or override) a consumer for a media type.
func (*FerretServerAPI) RegisterFormat ¶
func (o *FerretServerAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
RegisterFormat registers a custom format validator
func (*FerretServerAPI) RegisterProducer ¶
func (o *FerretServerAPI) RegisterProducer(mediaType string, producer runtime.Producer)
RegisterProducer allows you to add (or override) a producer for a media type.
func (*FerretServerAPI) Serve ¶
func (o *FerretServerAPI) Serve(builder middleware.Builder) http.Handler
Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))
func (*FerretServerAPI) ServeErrorFor ¶
func (o *FerretServerAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
ServeErrorFor gets a error handler for a given operation id
func (*FerretServerAPI) SetDefaultConsumes ¶
func (o *FerretServerAPI) SetDefaultConsumes(mediaType string)
SetDefaultConsumes returns the default consumes media type
func (*FerretServerAPI) SetDefaultProduces ¶
func (o *FerretServerAPI) SetDefaultProduces(mediaType string)
SetDefaultProduces sets the default produces media type
func (*FerretServerAPI) SetSpec ¶
func (o *FerretServerAPI) SetSpec(spec *loads.Document)
SetSpec sets a spec that will be served for the clients.
func (*FerretServerAPI) Validate ¶
func (o *FerretServerAPI) Validate() error
Validate validates the registrations in the FerretServerAPI
type FindExecutions ¶
type FindExecutions struct { Context *middleware.Context Handler FindExecutionsHandler }
FindExecutions swagger:route GET /projects/{projectId}/exec findExecutions
List Execution
func NewFindExecutions ¶
func NewFindExecutions(ctx *middleware.Context, handler FindExecutionsHandler) *FindExecutions
NewFindExecutions creates a new http.Handler for the find executions operation
func (*FindExecutions) ServeHTTP ¶
func (o *FindExecutions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type FindExecutionsHandler ¶
type FindExecutionsHandler interface {
Handle(FindExecutionsParams) middleware.Responder
}
FindExecutionsHandler interface for that can handle valid find executions params
type FindExecutionsHandlerFunc ¶
type FindExecutionsHandlerFunc func(FindExecutionsParams) middleware.Responder
FindExecutionsHandlerFunc turns a function with the right signature into a find executions handler
func (FindExecutionsHandlerFunc) Handle ¶
func (fn FindExecutionsHandlerFunc) Handle(params FindExecutionsParams) middleware.Responder
Handle executing the request and returning a response
type FindExecutionsOK ¶
type FindExecutionsOK struct { /* In: Body */ Payload *FindExecutionsOKBody `json:"body,omitempty"` }
FindExecutionsOK find executions o k
swagger:response findExecutionsOK
func NewFindExecutionsOK ¶
func NewFindExecutionsOK() *FindExecutionsOK
NewFindExecutionsOK creates FindExecutionsOK with default headers values
func (*FindExecutionsOK) SetPayload ¶
func (o *FindExecutionsOK) SetPayload(payload *FindExecutionsOKBody)
SetPayload sets the payload to the find executions o k response
func (*FindExecutionsOK) WithPayload ¶
func (o *FindExecutionsOK) WithPayload(payload *FindExecutionsOKBody) *FindExecutionsOK
WithPayload adds the payload to the find executions o k response
func (*FindExecutionsOK) WriteResponse ¶
func (o *FindExecutionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FindExecutionsOKBody ¶
type FindExecutionsOKBody struct { models.SearchResult // data Data []*models.ExecutionOutput `json:"data"` }
FindExecutionsOKBody find executions o k body swagger:model FindExecutionsOKBody
func (*FindExecutionsOKBody) MarshalBinary ¶
func (o *FindExecutionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (FindExecutionsOKBody) MarshalJSON ¶
func (o FindExecutionsOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*FindExecutionsOKBody) UnmarshalBinary ¶
func (o *FindExecutionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*FindExecutionsOKBody) UnmarshalJSON ¶
func (o *FindExecutionsOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type FindExecutionsParams ¶
type FindExecutionsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Script execution cause In: query */ Cause *string /*Count of items to return Maximum: 100 Minimum: 1 In: query Default: 10 */ Count *int32 /*Pagination cursor In: query */ Cursor *string /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string /* In: query */ Status *string }
FindExecutionsParams contains all the bound params for the find executions operation typically these are obtained from a http.Request
swagger:parameters findExecutions
func NewFindExecutionsParams ¶
func NewFindExecutionsParams() FindExecutionsParams
NewFindExecutionsParams creates a new FindExecutionsParams object with the default values initialized.
func (*FindExecutionsParams) BindRequest ¶
func (o *FindExecutionsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewFindExecutionsParams() beforehand.
type FindExecutionsURL ¶
type FindExecutionsURL struct { ProjectID string Cause *string Count *int32 Cursor *string Status *string // contains filtered or unexported fields }
FindExecutionsURL generates an URL for the find executions operation
func (*FindExecutionsURL) Build ¶
func (o *FindExecutionsURL) Build() (*url.URL, error)
Build a url path and query string
func (*FindExecutionsURL) BuildFull ¶
func (o *FindExecutionsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*FindExecutionsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*FindExecutionsURL) SetBasePath ¶
func (o *FindExecutionsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*FindExecutionsURL) String ¶
func (o *FindExecutionsURL) String() string
String returns the string representation of the path with query string
func (*FindExecutionsURL) StringFull ¶
func (o *FindExecutionsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*FindExecutionsURL) WithBasePath ¶
func (o *FindExecutionsURL) WithBasePath(bp string) *FindExecutionsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type FindProjectData ¶
type FindProjectData struct { Context *middleware.Context Handler FindProjectDataHandler }
FindProjectData swagger:route GET /projects/{projectId}/data findProjectData
List Data
func NewFindProjectData ¶
func NewFindProjectData(ctx *middleware.Context, handler FindProjectDataHandler) *FindProjectData
NewFindProjectData creates a new http.Handler for the find project data operation
func (*FindProjectData) ServeHTTP ¶
func (o *FindProjectData) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type FindProjectDataHandler ¶
type FindProjectDataHandler interface {
Handle(FindProjectDataParams) middleware.Responder
}
FindProjectDataHandler interface for that can handle valid find project data params
type FindProjectDataHandlerFunc ¶
type FindProjectDataHandlerFunc func(FindProjectDataParams) middleware.Responder
FindProjectDataHandlerFunc turns a function with the right signature into a find project data handler
func (FindProjectDataHandlerFunc) Handle ¶
func (fn FindProjectDataHandlerFunc) Handle(params FindProjectDataParams) middleware.Responder
Handle executing the request and returning a response
type FindProjectDataOK ¶
type FindProjectDataOK struct { /* In: Body */ Payload *FindProjectDataOKBody `json:"body,omitempty"` }
FindProjectDataOK find project data o k
swagger:response findProjectDataOK
func NewFindProjectDataOK ¶
func NewFindProjectDataOK() *FindProjectDataOK
NewFindProjectDataOK creates FindProjectDataOK with default headers values
func (*FindProjectDataOK) SetPayload ¶
func (o *FindProjectDataOK) SetPayload(payload *FindProjectDataOKBody)
SetPayload sets the payload to the find project data o k response
func (*FindProjectDataOK) WithPayload ¶
func (o *FindProjectDataOK) WithPayload(payload *FindProjectDataOKBody) *FindProjectDataOK
WithPayload adds the payload to the find project data o k response
func (*FindProjectDataOK) WriteResponse ¶
func (o *FindProjectDataOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FindProjectDataOKBody ¶
type FindProjectDataOKBody struct { models.SearchResult // data Data []*models.DataOutput `json:"data"` }
FindProjectDataOKBody find project data o k body swagger:model FindProjectDataOKBody
func (*FindProjectDataOKBody) MarshalBinary ¶
func (o *FindProjectDataOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (FindProjectDataOKBody) MarshalJSON ¶
func (o FindProjectDataOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*FindProjectDataOKBody) UnmarshalBinary ¶
func (o *FindProjectDataOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*FindProjectDataOKBody) UnmarshalJSON ¶
func (o *FindProjectDataOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type FindProjectDataParams ¶
type FindProjectDataParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Count of items to return Maximum: 100 Minimum: 1 In: query Default: 10 */ Count *int32 /*Pagination cursor In: query */ Cursor *string /* Required: true In: path */ ProjectID string }
FindProjectDataParams contains all the bound params for the find project data operation typically these are obtained from a http.Request
swagger:parameters findProjectData
func NewFindProjectDataParams ¶
func NewFindProjectDataParams() FindProjectDataParams
NewFindProjectDataParams creates a new FindProjectDataParams object with the default values initialized.
func (*FindProjectDataParams) BindRequest ¶
func (o *FindProjectDataParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewFindProjectDataParams() beforehand.
type FindProjectDataURL ¶
type FindProjectDataURL struct { ProjectID string Count *int32 Cursor *string // contains filtered or unexported fields }
FindProjectDataURL generates an URL for the find project data operation
func (*FindProjectDataURL) Build ¶
func (o *FindProjectDataURL) Build() (*url.URL, error)
Build a url path and query string
func (*FindProjectDataURL) BuildFull ¶
func (o *FindProjectDataURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*FindProjectDataURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*FindProjectDataURL) SetBasePath ¶
func (o *FindProjectDataURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*FindProjectDataURL) String ¶
func (o *FindProjectDataURL) String() string
String returns the string representation of the path with query string
func (*FindProjectDataURL) StringFull ¶
func (o *FindProjectDataURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*FindProjectDataURL) WithBasePath ¶
func (o *FindProjectDataURL) WithBasePath(bp string) *FindProjectDataURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type FindProjects ¶
type FindProjects struct { Context *middleware.Context Handler FindProjectsHandler }
FindProjects swagger:route GET /projects findProjects
List Project
func NewFindProjects ¶
func NewFindProjects(ctx *middleware.Context, handler FindProjectsHandler) *FindProjects
NewFindProjects creates a new http.Handler for the find projects operation
func (*FindProjects) ServeHTTP ¶
func (o *FindProjects) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type FindProjectsHandler ¶
type FindProjectsHandler interface {
Handle(FindProjectsParams) middleware.Responder
}
FindProjectsHandler interface for that can handle valid find projects params
type FindProjectsHandlerFunc ¶
type FindProjectsHandlerFunc func(FindProjectsParams) middleware.Responder
FindProjectsHandlerFunc turns a function with the right signature into a find projects handler
func (FindProjectsHandlerFunc) Handle ¶
func (fn FindProjectsHandlerFunc) Handle(params FindProjectsParams) middleware.Responder
Handle executing the request and returning a response
type FindProjectsOK ¶
type FindProjectsOK struct { /* In: Body */ Payload *FindProjectsOKBody `json:"body,omitempty"` }
FindProjectsOK find projects o k
swagger:response findProjectsOK
func NewFindProjectsOK ¶
func NewFindProjectsOK() *FindProjectsOK
NewFindProjectsOK creates FindProjectsOK with default headers values
func (*FindProjectsOK) SetPayload ¶
func (o *FindProjectsOK) SetPayload(payload *FindProjectsOKBody)
SetPayload sets the payload to the find projects o k response
func (*FindProjectsOK) WithPayload ¶
func (o *FindProjectsOK) WithPayload(payload *FindProjectsOKBody) *FindProjectsOK
WithPayload adds the payload to the find projects o k response
func (*FindProjectsOK) WriteResponse ¶
func (o *FindProjectsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FindProjectsOKBody ¶
type FindProjectsOKBody struct { models.SearchResult // data // Required: true Data []*models.ProjectOutput `json:"data"` }
FindProjectsOKBody find projects o k body swagger:model FindProjectsOKBody
func (*FindProjectsOKBody) MarshalBinary ¶
func (o *FindProjectsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (FindProjectsOKBody) MarshalJSON ¶
func (o FindProjectsOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*FindProjectsOKBody) UnmarshalBinary ¶
func (o *FindProjectsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*FindProjectsOKBody) UnmarshalJSON ¶
func (o *FindProjectsOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type FindProjectsParams ¶
type FindProjectsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Count of items to return Maximum: 100 Minimum: 1 In: query Default: 10 */ Count *int32 /*Pagination cursor In: query */ Cursor *string }
FindProjectsParams contains all the bound params for the find projects operation typically these are obtained from a http.Request
swagger:parameters findProjects
func NewFindProjectsParams ¶
func NewFindProjectsParams() FindProjectsParams
NewFindProjectsParams creates a new FindProjectsParams object with the default values initialized.
func (*FindProjectsParams) BindRequest ¶
func (o *FindProjectsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewFindProjectsParams() beforehand.
type FindProjectsURL ¶
type FindProjectsURL struct { Count *int32 Cursor *string // contains filtered or unexported fields }
FindProjectsURL generates an URL for the find projects operation
func (*FindProjectsURL) Build ¶
func (o *FindProjectsURL) Build() (*url.URL, error)
Build a url path and query string
func (*FindProjectsURL) BuildFull ¶
func (o *FindProjectsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*FindProjectsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*FindProjectsURL) SetBasePath ¶
func (o *FindProjectsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*FindProjectsURL) String ¶
func (o *FindProjectsURL) String() string
String returns the string representation of the path with query string
func (*FindProjectsURL) StringFull ¶
func (o *FindProjectsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*FindProjectsURL) WithBasePath ¶
func (o *FindProjectsURL) WithBasePath(bp string) *FindProjectsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type FindScriptData ¶
type FindScriptData struct { Context *middleware.Context Handler FindScriptDataHandler }
FindScriptData swagger:route GET /projects/{projectId}/data/{scriptId} findScriptData
List Script Data
func NewFindScriptData ¶
func NewFindScriptData(ctx *middleware.Context, handler FindScriptDataHandler) *FindScriptData
NewFindScriptData creates a new http.Handler for the find script data operation
func (*FindScriptData) ServeHTTP ¶
func (o *FindScriptData) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type FindScriptDataHandler ¶
type FindScriptDataHandler interface {
Handle(FindScriptDataParams) middleware.Responder
}
FindScriptDataHandler interface for that can handle valid find script data params
type FindScriptDataHandlerFunc ¶
type FindScriptDataHandlerFunc func(FindScriptDataParams) middleware.Responder
FindScriptDataHandlerFunc turns a function with the right signature into a find script data handler
func (FindScriptDataHandlerFunc) Handle ¶
func (fn FindScriptDataHandlerFunc) Handle(params FindScriptDataParams) middleware.Responder
Handle executing the request and returning a response
type FindScriptDataOK ¶
type FindScriptDataOK struct { /* In: Body */ Payload *FindScriptDataOKBody `json:"body,omitempty"` }
FindScriptDataOK find script data o k
swagger:response findScriptDataOK
func NewFindScriptDataOK ¶
func NewFindScriptDataOK() *FindScriptDataOK
NewFindScriptDataOK creates FindScriptDataOK with default headers values
func (*FindScriptDataOK) SetPayload ¶
func (o *FindScriptDataOK) SetPayload(payload *FindScriptDataOKBody)
SetPayload sets the payload to the find script data o k response
func (*FindScriptDataOK) WithPayload ¶
func (o *FindScriptDataOK) WithPayload(payload *FindScriptDataOKBody) *FindScriptDataOK
WithPayload adds the payload to the find script data o k response
func (*FindScriptDataOK) WriteResponse ¶
func (o *FindScriptDataOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FindScriptDataOKBody ¶
type FindScriptDataOKBody struct { models.SearchResult // data Data []*models.DataOutput `json:"data"` }
FindScriptDataOKBody find script data o k body swagger:model FindScriptDataOKBody
func (*FindScriptDataOKBody) MarshalBinary ¶
func (o *FindScriptDataOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (FindScriptDataOKBody) MarshalJSON ¶
func (o FindScriptDataOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*FindScriptDataOKBody) UnmarshalBinary ¶
func (o *FindScriptDataOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*FindScriptDataOKBody) UnmarshalJSON ¶
func (o *FindScriptDataOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type FindScriptDataParams ¶
type FindScriptDataParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Count of items to return Maximum: 100 Minimum: 1 In: query Default: 10 */ Count *int32 /*Pagination cursor In: query */ Cursor *string /* Required: true In: path */ ProjectID string /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ScriptID string }
FindScriptDataParams contains all the bound params for the find script data operation typically these are obtained from a http.Request
swagger:parameters findScriptData
func NewFindScriptDataParams ¶
func NewFindScriptDataParams() FindScriptDataParams
NewFindScriptDataParams creates a new FindScriptDataParams object with the default values initialized.
func (*FindScriptDataParams) BindRequest ¶
func (o *FindScriptDataParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewFindScriptDataParams() beforehand.
type FindScriptDataURL ¶
type FindScriptDataURL struct { ProjectID string ScriptID string Count *int32 Cursor *string // contains filtered or unexported fields }
FindScriptDataURL generates an URL for the find script data operation
func (*FindScriptDataURL) Build ¶
func (o *FindScriptDataURL) Build() (*url.URL, error)
Build a url path and query string
func (*FindScriptDataURL) BuildFull ¶
func (o *FindScriptDataURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*FindScriptDataURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*FindScriptDataURL) SetBasePath ¶
func (o *FindScriptDataURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*FindScriptDataURL) String ¶
func (o *FindScriptDataURL) String() string
String returns the string representation of the path with query string
func (*FindScriptDataURL) StringFull ¶
func (o *FindScriptDataURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*FindScriptDataURL) WithBasePath ¶
func (o *FindScriptDataURL) WithBasePath(bp string) *FindScriptDataURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type FindScripts ¶
type FindScripts struct { Context *middleware.Context Handler FindScriptsHandler }
FindScripts swagger:route GET /projects/{projectId}/scripts findScripts
List Script
func NewFindScripts ¶
func NewFindScripts(ctx *middleware.Context, handler FindScriptsHandler) *FindScripts
NewFindScripts creates a new http.Handler for the find scripts operation
func (*FindScripts) ServeHTTP ¶
func (o *FindScripts) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type FindScriptsHandler ¶
type FindScriptsHandler interface {
Handle(FindScriptsParams) middleware.Responder
}
FindScriptsHandler interface for that can handle valid find scripts params
type FindScriptsHandlerFunc ¶
type FindScriptsHandlerFunc func(FindScriptsParams) middleware.Responder
FindScriptsHandlerFunc turns a function with the right signature into a find scripts handler
func (FindScriptsHandlerFunc) Handle ¶
func (fn FindScriptsHandlerFunc) Handle(params FindScriptsParams) middleware.Responder
Handle executing the request and returning a response
type FindScriptsOK ¶
type FindScriptsOK struct { /* In: Body */ Payload *FindScriptsOKBody `json:"body,omitempty"` }
FindScriptsOK find scripts o k
swagger:response findScriptsOK
func NewFindScriptsOK ¶
func NewFindScriptsOK() *FindScriptsOK
NewFindScriptsOK creates FindScriptsOK with default headers values
func (*FindScriptsOK) SetPayload ¶
func (o *FindScriptsOK) SetPayload(payload *FindScriptsOKBody)
SetPayload sets the payload to the find scripts o k response
func (*FindScriptsOK) WithPayload ¶
func (o *FindScriptsOK) WithPayload(payload *FindScriptsOKBody) *FindScriptsOK
WithPayload adds the payload to the find scripts o k response
func (*FindScriptsOK) WriteResponse ¶
func (o *FindScriptsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FindScriptsOKBody ¶
type FindScriptsOKBody struct { models.SearchResult // data Data []*models.ScriptOutput `json:"data"` }
FindScriptsOKBody find scripts o k body swagger:model FindScriptsOKBody
func (*FindScriptsOKBody) MarshalBinary ¶
func (o *FindScriptsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (FindScriptsOKBody) MarshalJSON ¶
func (o FindScriptsOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*FindScriptsOKBody) UnmarshalBinary ¶
func (o *FindScriptsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*FindScriptsOKBody) UnmarshalJSON ¶
func (o *FindScriptsOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type FindScriptsParams ¶
type FindScriptsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Count of items to return Maximum: 100 Minimum: 1 In: query Default: 10 */ Count *int32 /*Pagination cursor In: query */ Cursor *string /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string }
FindScriptsParams contains all the bound params for the find scripts operation typically these are obtained from a http.Request
swagger:parameters findScripts
func NewFindScriptsParams ¶
func NewFindScriptsParams() FindScriptsParams
NewFindScriptsParams creates a new FindScriptsParams object with the default values initialized.
func (*FindScriptsParams) BindRequest ¶
func (o *FindScriptsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewFindScriptsParams() beforehand.
type FindScriptsURL ¶
type FindScriptsURL struct { ProjectID string Count *int32 Cursor *string // contains filtered or unexported fields }
FindScriptsURL generates an URL for the find scripts operation
func (*FindScriptsURL) Build ¶
func (o *FindScriptsURL) Build() (*url.URL, error)
Build a url path and query string
func (*FindScriptsURL) BuildFull ¶
func (o *FindScriptsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*FindScriptsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*FindScriptsURL) SetBasePath ¶
func (o *FindScriptsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*FindScriptsURL) String ¶
func (o *FindScriptsURL) String() string
String returns the string representation of the path with query string
func (*FindScriptsURL) StringFull ¶
func (o *FindScriptsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*FindScriptsURL) WithBasePath ¶
func (o *FindScriptsURL) WithBasePath(bp string) *FindScriptsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetExecution ¶
type GetExecution struct { Context *middleware.Context Handler GetExecutionHandler }
GetExecution swagger:route GET /projects/{projectId}/exec/{jobID} getExecution
Get Status of Execution
func NewGetExecution ¶
func NewGetExecution(ctx *middleware.Context, handler GetExecutionHandler) *GetExecution
NewGetExecution creates a new http.Handler for the get execution operation
func (*GetExecution) ServeHTTP ¶
func (o *GetExecution) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetExecutionHandler ¶
type GetExecutionHandler interface {
Handle(GetExecutionParams) middleware.Responder
}
GetExecutionHandler interface for that can handle valid get execution params
type GetExecutionHandlerFunc ¶
type GetExecutionHandlerFunc func(GetExecutionParams) middleware.Responder
GetExecutionHandlerFunc turns a function with the right signature into a get execution handler
func (GetExecutionHandlerFunc) Handle ¶
func (fn GetExecutionHandlerFunc) Handle(params GetExecutionParams) middleware.Responder
Handle executing the request and returning a response
type GetExecutionOK ¶
type GetExecutionOK struct { /* In: Body */ Payload *models.ExecutionOutputDetailed `json:"body,omitempty"` }
GetExecutionOK get execution o k
swagger:response getExecutionOK
func NewGetExecutionOK ¶
func NewGetExecutionOK() *GetExecutionOK
NewGetExecutionOK creates GetExecutionOK with default headers values
func (*GetExecutionOK) SetPayload ¶
func (o *GetExecutionOK) SetPayload(payload *models.ExecutionOutputDetailed)
SetPayload sets the payload to the get execution o k response
func (*GetExecutionOK) WithPayload ¶
func (o *GetExecutionOK) WithPayload(payload *models.ExecutionOutputDetailed) *GetExecutionOK
WithPayload adds the payload to the get execution o k response
func (*GetExecutionOK) WriteResponse ¶
func (o *GetExecutionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetExecutionParams ¶
type GetExecutionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ JobID string /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string }
GetExecutionParams contains all the bound params for the get execution operation typically these are obtained from a http.Request
swagger:parameters getExecution
func NewGetExecutionParams ¶
func NewGetExecutionParams() GetExecutionParams
NewGetExecutionParams creates a new GetExecutionParams object no default values defined in spec.
func (*GetExecutionParams) BindRequest ¶
func (o *GetExecutionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetExecutionParams() beforehand.
type GetExecutionURL ¶
type GetExecutionURL struct { JobID string ProjectID string // contains filtered or unexported fields }
GetExecutionURL generates an URL for the get execution operation
func (*GetExecutionURL) Build ¶
func (o *GetExecutionURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetExecutionURL) BuildFull ¶
func (o *GetExecutionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetExecutionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetExecutionURL) SetBasePath ¶
func (o *GetExecutionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetExecutionURL) String ¶
func (o *GetExecutionURL) String() string
String returns the string representation of the path with query string
func (*GetExecutionURL) StringFull ¶
func (o *GetExecutionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetExecutionURL) WithBasePath ¶
func (o *GetExecutionURL) WithBasePath(bp string) *GetExecutionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetProject ¶
type GetProject struct { Context *middleware.Context Handler GetProjectHandler }
GetProject swagger:route GET /projects/{projectId} getProject
Get Project
func NewGetProject ¶
func NewGetProject(ctx *middleware.Context, handler GetProjectHandler) *GetProject
NewGetProject creates a new http.Handler for the get project operation
func (*GetProject) ServeHTTP ¶
func (o *GetProject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetProjectHandler ¶
type GetProjectHandler interface {
Handle(GetProjectParams) middleware.Responder
}
GetProjectHandler interface for that can handle valid get project params
type GetProjectHandlerFunc ¶
type GetProjectHandlerFunc func(GetProjectParams) middleware.Responder
GetProjectHandlerFunc turns a function with the right signature into a get project handler
func (GetProjectHandlerFunc) Handle ¶
func (fn GetProjectHandlerFunc) Handle(params GetProjectParams) middleware.Responder
Handle executing the request and returning a response
type GetProjectOK ¶
type GetProjectOK struct { /* In: Body */ Payload *models.ProjectOutputDetailed `json:"body,omitempty"` }
GetProjectOK get project o k
swagger:response getProjectOK
func NewGetProjectOK ¶
func NewGetProjectOK() *GetProjectOK
NewGetProjectOK creates GetProjectOK with default headers values
func (*GetProjectOK) SetPayload ¶
func (o *GetProjectOK) SetPayload(payload *models.ProjectOutputDetailed)
SetPayload sets the payload to the get project o k response
func (*GetProjectOK) WithPayload ¶
func (o *GetProjectOK) WithPayload(payload *models.ProjectOutputDetailed) *GetProjectOK
WithPayload adds the payload to the get project o k response
func (*GetProjectOK) WriteResponse ¶
func (o *GetProjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectParams ¶
type GetProjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string }
GetProjectParams contains all the bound params for the get project operation typically these are obtained from a http.Request
swagger:parameters getProject
func NewGetProjectParams ¶
func NewGetProjectParams() GetProjectParams
NewGetProjectParams creates a new GetProjectParams object no default values defined in spec.
func (*GetProjectParams) BindRequest ¶
func (o *GetProjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetProjectParams() beforehand.
type GetProjectURL ¶
type GetProjectURL struct { ProjectID string // contains filtered or unexported fields }
GetProjectURL generates an URL for the get project operation
func (*GetProjectURL) Build ¶
func (o *GetProjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetProjectURL) BuildFull ¶
func (o *GetProjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetProjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetProjectURL) SetBasePath ¶
func (o *GetProjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetProjectURL) String ¶
func (o *GetProjectURL) String() string
String returns the string representation of the path with query string
func (*GetProjectURL) StringFull ¶
func (o *GetProjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetProjectURL) WithBasePath ¶
func (o *GetProjectURL) WithBasePath(bp string) *GetProjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetScript ¶
type GetScript struct { Context *middleware.Context Handler GetScriptHandler }
GetScript swagger:route GET /projects/{projectId}/scripts/{scriptId} getScript
Get Script
func NewGetScript ¶
func NewGetScript(ctx *middleware.Context, handler GetScriptHandler) *GetScript
NewGetScript creates a new http.Handler for the get script operation
type GetScriptData ¶
type GetScriptData struct { Context *middleware.Context Handler GetScriptDataHandler }
GetScriptData swagger:route GET /projects/{projectId}/data/{scriptId}/{dataId} getScriptData
Get Data
func NewGetScriptData ¶
func NewGetScriptData(ctx *middleware.Context, handler GetScriptDataHandler) *GetScriptData
NewGetScriptData creates a new http.Handler for the get script data operation
func (*GetScriptData) ServeHTTP ¶
func (o *GetScriptData) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetScriptDataHandler ¶
type GetScriptDataHandler interface {
Handle(GetScriptDataParams) middleware.Responder
}
GetScriptDataHandler interface for that can handle valid get script data params
type GetScriptDataHandlerFunc ¶
type GetScriptDataHandlerFunc func(GetScriptDataParams) middleware.Responder
GetScriptDataHandlerFunc turns a function with the right signature into a get script data handler
func (GetScriptDataHandlerFunc) Handle ¶
func (fn GetScriptDataHandlerFunc) Handle(params GetScriptDataParams) middleware.Responder
Handle executing the request and returning a response
type GetScriptDataOK ¶
type GetScriptDataOK struct { /* In: Body */ Payload *models.DataOutputDetailed `json:"body,omitempty"` }
GetScriptDataOK get script data o k
swagger:response getScriptDataOK
func NewGetScriptDataOK ¶
func NewGetScriptDataOK() *GetScriptDataOK
NewGetScriptDataOK creates GetScriptDataOK with default headers values
func (*GetScriptDataOK) SetPayload ¶
func (o *GetScriptDataOK) SetPayload(payload *models.DataOutputDetailed)
SetPayload sets the payload to the get script data o k response
func (*GetScriptDataOK) WithPayload ¶
func (o *GetScriptDataOK) WithPayload(payload *models.DataOutputDetailed) *GetScriptDataOK
WithPayload adds the payload to the get script data o k response
func (*GetScriptDataOK) WriteResponse ¶
func (o *GetScriptDataOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetScriptDataParams ¶
type GetScriptDataParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ DataID string /* Required: true In: path */ ProjectID string /* Required: true In: path */ ScriptID string }
GetScriptDataParams contains all the bound params for the get script data operation typically these are obtained from a http.Request
swagger:parameters getScriptData
func NewGetScriptDataParams ¶
func NewGetScriptDataParams() GetScriptDataParams
NewGetScriptDataParams creates a new GetScriptDataParams object no default values defined in spec.
func (*GetScriptDataParams) BindRequest ¶
func (o *GetScriptDataParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetScriptDataParams() beforehand.
type GetScriptDataURL ¶
type GetScriptDataURL struct { DataID string ProjectID string ScriptID string // contains filtered or unexported fields }
GetScriptDataURL generates an URL for the get script data operation
func (*GetScriptDataURL) Build ¶
func (o *GetScriptDataURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetScriptDataURL) BuildFull ¶
func (o *GetScriptDataURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetScriptDataURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetScriptDataURL) SetBasePath ¶
func (o *GetScriptDataURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetScriptDataURL) String ¶
func (o *GetScriptDataURL) String() string
String returns the string representation of the path with query string
func (*GetScriptDataURL) StringFull ¶
func (o *GetScriptDataURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetScriptDataURL) WithBasePath ¶
func (o *GetScriptDataURL) WithBasePath(bp string) *GetScriptDataURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetScriptHandler ¶
type GetScriptHandler interface {
Handle(GetScriptParams) middleware.Responder
}
GetScriptHandler interface for that can handle valid get script params
type GetScriptHandlerFunc ¶
type GetScriptHandlerFunc func(GetScriptParams) middleware.Responder
GetScriptHandlerFunc turns a function with the right signature into a get script handler
func (GetScriptHandlerFunc) Handle ¶
func (fn GetScriptHandlerFunc) Handle(params GetScriptParams) middleware.Responder
Handle executing the request and returning a response
type GetScriptOK ¶
type GetScriptOK struct { /* In: Body */ Payload *models.ScriptOutputDetailed `json:"body,omitempty"` }
GetScriptOK get script o k
swagger:response getScriptOK
func NewGetScriptOK ¶
func NewGetScriptOK() *GetScriptOK
NewGetScriptOK creates GetScriptOK with default headers values
func (*GetScriptOK) SetPayload ¶
func (o *GetScriptOK) SetPayload(payload *models.ScriptOutputDetailed)
SetPayload sets the payload to the get script o k response
func (*GetScriptOK) WithPayload ¶
func (o *GetScriptOK) WithPayload(payload *models.ScriptOutputDetailed) *GetScriptOK
WithPayload adds the payload to the get script o k response
func (*GetScriptOK) WriteResponse ¶
func (o *GetScriptOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetScriptParams ¶
type GetScriptParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ScriptID string }
GetScriptParams contains all the bound params for the get script operation typically these are obtained from a http.Request
swagger:parameters getScript
func NewGetScriptParams ¶
func NewGetScriptParams() GetScriptParams
NewGetScriptParams creates a new GetScriptParams object no default values defined in spec.
func (*GetScriptParams) BindRequest ¶
func (o *GetScriptParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetScriptParams() beforehand.
type GetScriptURL ¶
type GetScriptURL struct { ProjectID string ScriptID string // contains filtered or unexported fields }
GetScriptURL generates an URL for the get script operation
func (*GetScriptURL) Build ¶
func (o *GetScriptURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetScriptURL) BuildFull ¶
func (o *GetScriptURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetScriptURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetScriptURL) SetBasePath ¶
func (o *GetScriptURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetScriptURL) String ¶
func (o *GetScriptURL) String() string
String returns the string representation of the path with query string
func (*GetScriptURL) StringFull ¶
func (o *GetScriptURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetScriptURL) WithBasePath ¶
func (o *GetScriptURL) WithBasePath(bp string) *GetScriptURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateProject ¶
type UpdateProject struct { Context *middleware.Context Handler UpdateProjectHandler }
UpdateProject swagger:route PUT /projects/{projectId} updateProject
Update Project
func NewUpdateProject ¶
func NewUpdateProject(ctx *middleware.Context, handler UpdateProjectHandler) *UpdateProject
NewUpdateProject creates a new http.Handler for the update project operation
func (*UpdateProject) ServeHTTP ¶
func (o *UpdateProject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateProjectHandler ¶
type UpdateProjectHandler interface {
Handle(UpdateProjectParams) middleware.Responder
}
UpdateProjectHandler interface for that can handle valid update project params
type UpdateProjectHandlerFunc ¶
type UpdateProjectHandlerFunc func(UpdateProjectParams) middleware.Responder
UpdateProjectHandlerFunc turns a function with the right signature into a update project handler
func (UpdateProjectHandlerFunc) Handle ¶
func (fn UpdateProjectHandlerFunc) Handle(params UpdateProjectParams) middleware.Responder
Handle executing the request and returning a response
type UpdateProjectOK ¶
UpdateProjectOK update project o k
swagger:response updateProjectOK
func NewUpdateProjectOK ¶
func NewUpdateProjectOK() *UpdateProjectOK
NewUpdateProjectOK creates UpdateProjectOK with default headers values
func (*UpdateProjectOK) SetPayload ¶
func (o *UpdateProjectOK) SetPayload(payload *models.Entity)
SetPayload sets the payload to the update project o k response
func (*UpdateProjectOK) WithPayload ¶
func (o *UpdateProjectOK) WithPayload(payload *models.Entity) *UpdateProjectOK
WithPayload adds the payload to the update project o k response
func (*UpdateProjectOK) WriteResponse ¶
func (o *UpdateProjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProjectParams ¶
type UpdateProjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body models.ProjectUpdate /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string }
UpdateProjectParams contains all the bound params for the update project operation typically these are obtained from a http.Request
swagger:parameters updateProject
func NewUpdateProjectParams ¶
func NewUpdateProjectParams() UpdateProjectParams
NewUpdateProjectParams creates a new UpdateProjectParams object no default values defined in spec.
func (*UpdateProjectParams) BindRequest ¶
func (o *UpdateProjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateProjectParams() beforehand.
type UpdateProjectURL ¶
type UpdateProjectURL struct { ProjectID string // contains filtered or unexported fields }
UpdateProjectURL generates an URL for the update project operation
func (*UpdateProjectURL) Build ¶
func (o *UpdateProjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateProjectURL) BuildFull ¶
func (o *UpdateProjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateProjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateProjectURL) SetBasePath ¶
func (o *UpdateProjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateProjectURL) String ¶
func (o *UpdateProjectURL) String() string
String returns the string representation of the path with query string
func (*UpdateProjectURL) StringFull ¶
func (o *UpdateProjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateProjectURL) WithBasePath ¶
func (o *UpdateProjectURL) WithBasePath(bp string) *UpdateProjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateScript ¶
type UpdateScript struct { Context *middleware.Context Handler UpdateScriptHandler }
UpdateScript swagger:route PUT /projects/{projectId}/scripts/{scriptId} updateScript
Update Script
func NewUpdateScript ¶
func NewUpdateScript(ctx *middleware.Context, handler UpdateScriptHandler) *UpdateScript
NewUpdateScript creates a new http.Handler for the update script operation
func (*UpdateScript) ServeHTTP ¶
func (o *UpdateScript) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateScriptData ¶
type UpdateScriptData struct { Context *middleware.Context Handler UpdateScriptDataHandler }
UpdateScriptData swagger:route PUT /projects/{projectId}/data/{scriptId}/{dataId} updateScriptData
Update Data
func NewUpdateScriptData ¶
func NewUpdateScriptData(ctx *middleware.Context, handler UpdateScriptDataHandler) *UpdateScriptData
NewUpdateScriptData creates a new http.Handler for the update script data operation
func (*UpdateScriptData) ServeHTTP ¶
func (o *UpdateScriptData) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateScriptDataHandler ¶
type UpdateScriptDataHandler interface {
Handle(UpdateScriptDataParams) middleware.Responder
}
UpdateScriptDataHandler interface for that can handle valid update script data params
type UpdateScriptDataHandlerFunc ¶
type UpdateScriptDataHandlerFunc func(UpdateScriptDataParams) middleware.Responder
UpdateScriptDataHandlerFunc turns a function with the right signature into a update script data handler
func (UpdateScriptDataHandlerFunc) Handle ¶
func (fn UpdateScriptDataHandlerFunc) Handle(params UpdateScriptDataParams) middleware.Responder
Handle executing the request and returning a response
type UpdateScriptDataOK ¶
UpdateScriptDataOK update script data o k
swagger:response updateScriptDataOK
func NewUpdateScriptDataOK ¶
func NewUpdateScriptDataOK() *UpdateScriptDataOK
NewUpdateScriptDataOK creates UpdateScriptDataOK with default headers values
func (*UpdateScriptDataOK) SetPayload ¶
func (o *UpdateScriptDataOK) SetPayload(payload *models.Entity)
SetPayload sets the payload to the update script data o k response
func (*UpdateScriptDataOK) WithPayload ¶
func (o *UpdateScriptDataOK) WithPayload(payload *models.Entity) *UpdateScriptDataOK
WithPayload adds the payload to the update script data o k response
func (*UpdateScriptDataOK) WriteResponse ¶
func (o *UpdateScriptDataOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateScriptDataParams ¶
type UpdateScriptDataParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *models.DataUpdate /* Required: true In: path */ DataID string /* Required: true In: path */ ProjectID string /* Required: true In: path */ ScriptID string }
UpdateScriptDataParams contains all the bound params for the update script data operation typically these are obtained from a http.Request
swagger:parameters updateScriptData
func NewUpdateScriptDataParams ¶
func NewUpdateScriptDataParams() UpdateScriptDataParams
NewUpdateScriptDataParams creates a new UpdateScriptDataParams object no default values defined in spec.
func (*UpdateScriptDataParams) BindRequest ¶
func (o *UpdateScriptDataParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateScriptDataParams() beforehand.
type UpdateScriptDataURL ¶
type UpdateScriptDataURL struct { DataID string ProjectID string ScriptID string // contains filtered or unexported fields }
UpdateScriptDataURL generates an URL for the update script data operation
func (*UpdateScriptDataURL) Build ¶
func (o *UpdateScriptDataURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateScriptDataURL) BuildFull ¶
func (o *UpdateScriptDataURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateScriptDataURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateScriptDataURL) SetBasePath ¶
func (o *UpdateScriptDataURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateScriptDataURL) String ¶
func (o *UpdateScriptDataURL) String() string
String returns the string representation of the path with query string
func (*UpdateScriptDataURL) StringFull ¶
func (o *UpdateScriptDataURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateScriptDataURL) WithBasePath ¶
func (o *UpdateScriptDataURL) WithBasePath(bp string) *UpdateScriptDataURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateScriptHandler ¶
type UpdateScriptHandler interface {
Handle(UpdateScriptParams) middleware.Responder
}
UpdateScriptHandler interface for that can handle valid update script params
type UpdateScriptHandlerFunc ¶
type UpdateScriptHandlerFunc func(UpdateScriptParams) middleware.Responder
UpdateScriptHandlerFunc turns a function with the right signature into a update script handler
func (UpdateScriptHandlerFunc) Handle ¶
func (fn UpdateScriptHandlerFunc) Handle(params UpdateScriptParams) middleware.Responder
Handle executing the request and returning a response
type UpdateScriptOK ¶
UpdateScriptOK update script o k
swagger:response updateScriptOK
func NewUpdateScriptOK ¶
func NewUpdateScriptOK() *UpdateScriptOK
NewUpdateScriptOK creates UpdateScriptOK with default headers values
func (*UpdateScriptOK) SetPayload ¶
func (o *UpdateScriptOK) SetPayload(payload *models.Entity)
SetPayload sets the payload to the update script o k response
func (*UpdateScriptOK) WithPayload ¶
func (o *UpdateScriptOK) WithPayload(payload *models.Entity) *UpdateScriptOK
WithPayload adds the payload to the update script o k response
func (*UpdateScriptOK) WriteResponse ¶
func (o *UpdateScriptOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateScriptParams ¶
type UpdateScriptParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body models.ScriptCreate /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ProjectID string /* Required: true Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} In: path */ ScriptID string }
UpdateScriptParams contains all the bound params for the update script operation typically these are obtained from a http.Request
swagger:parameters updateScript
func NewUpdateScriptParams ¶
func NewUpdateScriptParams() UpdateScriptParams
NewUpdateScriptParams creates a new UpdateScriptParams object no default values defined in spec.
func (*UpdateScriptParams) BindRequest ¶
func (o *UpdateScriptParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateScriptParams() beforehand.
type UpdateScriptURL ¶
type UpdateScriptURL struct { ProjectID string ScriptID string // contains filtered or unexported fields }
UpdateScriptURL generates an URL for the update script operation
func (*UpdateScriptURL) Build ¶
func (o *UpdateScriptURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateScriptURL) BuildFull ¶
func (o *UpdateScriptURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateScriptURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateScriptURL) SetBasePath ¶
func (o *UpdateScriptURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateScriptURL) String ¶
func (o *UpdateScriptURL) String() string
String returns the string representation of the path with query string
func (*UpdateScriptURL) StringFull ¶
func (o *UpdateScriptURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateScriptURL) WithBasePath ¶
func (o *UpdateScriptURL) WithBasePath(bp string) *UpdateScriptURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- create_execution.go
- create_execution_parameters.go
- create_execution_responses.go
- create_execution_urlbuilder.go
- create_project.go
- create_project_parameters.go
- create_project_responses.go
- create_project_urlbuilder.go
- create_script.go
- create_script_parameters.go
- create_script_responses.go
- create_script_urlbuilder.go
- delete_execution.go
- delete_execution_parameters.go
- delete_execution_responses.go
- delete_execution_urlbuilder.go
- delete_project.go
- delete_project_parameters.go
- delete_project_responses.go
- delete_project_urlbuilder.go
- delete_script.go
- delete_script_data.go
- delete_script_data_parameters.go
- delete_script_data_responses.go
- delete_script_data_urlbuilder.go
- delete_script_parameters.go
- delete_script_responses.go
- delete_script_urlbuilder.go
- ferret_server_api.go
- find_executions.go
- find_executions_parameters.go
- find_executions_responses.go
- find_executions_urlbuilder.go
- find_project_data.go
- find_project_data_parameters.go
- find_project_data_responses.go
- find_project_data_urlbuilder.go
- find_projects.go
- find_projects_parameters.go
- find_projects_responses.go
- find_projects_urlbuilder.go
- find_script_data.go
- find_script_data_parameters.go
- find_script_data_responses.go
- find_script_data_urlbuilder.go
- find_scripts.go
- find_scripts_parameters.go
- find_scripts_responses.go
- find_scripts_urlbuilder.go
- get_execution.go
- get_execution_parameters.go
- get_execution_responses.go
- get_execution_urlbuilder.go
- get_project.go
- get_project_parameters.go
- get_project_responses.go
- get_project_urlbuilder.go
- get_script.go
- get_script_data.go
- get_script_data_parameters.go
- get_script_data_responses.go
- get_script_data_urlbuilder.go
- get_script_parameters.go
- get_script_responses.go
- get_script_urlbuilder.go
- update_project.go
- update_project_parameters.go
- update_project_responses.go
- update_project_urlbuilder.go
- update_script.go
- update_script_data.go
- update_script_data_parameters.go
- update_script_data_responses.go
- update_script_data_urlbuilder.go
- update_script_parameters.go
- update_script_responses.go
- update_script_urlbuilder.go