Documentation ¶
Index ¶
- Constants
- type DeleteProjectByID
- type DeleteProjectByIDHandler
- type DeleteProjectByIDHandlerFunc
- type DeleteProjectByIDNoContent
- type DeleteProjectByIDNotFound
- type DeleteProjectByIDParams
- type DeleteProjectByIDURL
- func (o *DeleteProjectByIDURL) Build() (*url.URL, error)
- func (o *DeleteProjectByIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteProjectByIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteProjectByIDURL) SetBasePath(bp string)
- func (o *DeleteProjectByIDURL) String() string
- func (o *DeleteProjectByIDURL) StringFull(scheme, host string) string
- func (o *DeleteProjectByIDURL) WithBasePath(bp string) *DeleteProjectByIDURL
- type GetProjectByID
- type GetProjectByIDHandler
- type GetProjectByIDHandlerFunc
- type GetProjectByIDNotFound
- type GetProjectByIDOK
- type GetProjectByIDParams
- type GetProjectByIDURL
- func (o *GetProjectByIDURL) Build() (*url.URL, error)
- func (o *GetProjectByIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetProjectByIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetProjectByIDURL) SetBasePath(bp string)
- func (o *GetProjectByIDURL) String() string
- func (o *GetProjectByIDURL) StringFull(scheme, host string) string
- func (o *GetProjectByIDURL) WithBasePath(bp string) *GetProjectByIDURL
- type GetProjects
- type GetProjectsBadRequest
- type GetProjectsHandler
- type GetProjectsHandlerFunc
- type GetProjectsOK
- type GetProjectsParams
- type GetProjectsURL
- func (o *GetProjectsURL) Build() (*url.URL, error)
- func (o *GetProjectsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetProjectsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetProjectsURL) SetBasePath(bp string)
- func (o *GetProjectsURL) String() string
- func (o *GetProjectsURL) StringFull(scheme, host string) string
- func (o *GetProjectsURL) WithBasePath(bp string) *GetProjectsURL
- type PostProject
- type PostProjectBadRequest
- type PostProjectCreated
- type PostProjectHandler
- type PostProjectHandlerFunc
- type PostProjectParams
- type PostProjectURL
- func (o *PostProjectURL) Build() (*url.URL, error)
- func (o *PostProjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostProjectURL) Must(u *url.URL, err error) *url.URL
- func (o *PostProjectURL) SetBasePath(bp string)
- func (o *PostProjectURL) String() string
- func (o *PostProjectURL) StringFull(scheme, host string) string
- func (o *PostProjectURL) WithBasePath(bp string) *PostProjectURL
Constants ¶
const DeleteProjectByIDNoContentCode int = 204
DeleteProjectByIDNoContentCode is the HTTP code returned for type DeleteProjectByIDNoContent
const DeleteProjectByIDNotFoundCode int = 404
DeleteProjectByIDNotFoundCode is the HTTP code returned for type DeleteProjectByIDNotFound
const GetProjectByIDNotFoundCode int = 404
GetProjectByIDNotFoundCode is the HTTP code returned for type GetProjectByIDNotFound
const GetProjectByIDOKCode int = 200
GetProjectByIDOKCode is the HTTP code returned for type GetProjectByIDOK
const GetProjectsBadRequestCode int = 400
GetProjectsBadRequestCode is the HTTP code returned for type GetProjectsBadRequest
const GetProjectsOKCode int = 200
GetProjectsOKCode is the HTTP code returned for type GetProjectsOK
const PostProjectBadRequestCode int = 400
PostProjectBadRequestCode is the HTTP code returned for type PostProjectBadRequest
const PostProjectCreatedCode int = 201
PostProjectCreatedCode is the HTTP code returned for type PostProjectCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteProjectByID ¶
type DeleteProjectByID struct { Context *middleware.Context Handler DeleteProjectByIDHandler }
DeleteProjectByID swagger:route DELETE /projects/{projectID} projects deleteProjectById
Delete the project by ID ¶
Delete the project object.
func NewDeleteProjectByID ¶
func NewDeleteProjectByID(ctx *middleware.Context, handler DeleteProjectByIDHandler) *DeleteProjectByID
NewDeleteProjectByID creates a new http.Handler for the delete project by ID operation
func (*DeleteProjectByID) ServeHTTP ¶
func (o *DeleteProjectByID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteProjectByIDHandler ¶
type DeleteProjectByIDHandler interface {
Handle(DeleteProjectByIDParams) middleware.Responder
}
DeleteProjectByIDHandler interface for that can handle valid delete project by ID params
type DeleteProjectByIDHandlerFunc ¶
type DeleteProjectByIDHandlerFunc func(DeleteProjectByIDParams) middleware.Responder
DeleteProjectByIDHandlerFunc turns a function with the right signature into a delete project by ID handler
func (DeleteProjectByIDHandlerFunc) Handle ¶
func (fn DeleteProjectByIDHandlerFunc) Handle(params DeleteProjectByIDParams) middleware.Responder
Handle executing the request and returning a response
type DeleteProjectByIDNoContent ¶
type DeleteProjectByIDNoContent struct { }
DeleteProjectByIDNoContent successful operation
swagger:response deleteProjectByIdNoContent
func NewDeleteProjectByIDNoContent ¶
func NewDeleteProjectByIDNoContent() *DeleteProjectByIDNoContent
NewDeleteProjectByIDNoContent creates DeleteProjectByIDNoContent with default headers values
func (*DeleteProjectByIDNoContent) WriteResponse ¶
func (o *DeleteProjectByIDNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectByIDNotFound ¶
type DeleteProjectByIDNotFound struct { }
DeleteProjectByIDNotFound Project not found
swagger:response deleteProjectByIdNotFound
func NewDeleteProjectByIDNotFound ¶
func NewDeleteProjectByIDNotFound() *DeleteProjectByIDNotFound
NewDeleteProjectByIDNotFound creates DeleteProjectByIDNotFound with default headers values
func (*DeleteProjectByIDNotFound) WriteResponse ¶
func (o *DeleteProjectByIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectByIDParams ¶
type DeleteProjectByIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of project to delete Required: true In: path */ ProjectID string }
DeleteProjectByIDParams contains all the bound params for the delete project by ID operation typically these are obtained from a http.Request
swagger:parameters deleteProjectByID
func NewDeleteProjectByIDParams ¶
func NewDeleteProjectByIDParams() DeleteProjectByIDParams
NewDeleteProjectByIDParams creates a new DeleteProjectByIDParams object with the default values initialized.
func (*DeleteProjectByIDParams) BindRequest ¶
func (o *DeleteProjectByIDParams) 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
type DeleteProjectByIDURL ¶
type DeleteProjectByIDURL struct { ProjectID string // contains filtered or unexported fields }
DeleteProjectByIDURL generates an URL for the delete project by ID operation
func (*DeleteProjectByIDURL) Build ¶
func (o *DeleteProjectByIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteProjectByIDURL) BuildFull ¶
func (o *DeleteProjectByIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteProjectByIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteProjectByIDURL) SetBasePath ¶
func (o *DeleteProjectByIDURL) 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 (*DeleteProjectByIDURL) String ¶
func (o *DeleteProjectByIDURL) String() string
String returns the string representation of the path with query string
func (*DeleteProjectByIDURL) StringFull ¶
func (o *DeleteProjectByIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteProjectByIDURL) WithBasePath ¶
func (o *DeleteProjectByIDURL) WithBasePath(bp string) *DeleteProjectByIDURL
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 GetProjectByID ¶
type GetProjectByID struct { Context *middleware.Context Handler GetProjectByIDHandler }
GetProjectByID swagger:route GET /projects/{projectID} projects getProjectById
gets the project from ID
getting project object
func NewGetProjectByID ¶
func NewGetProjectByID(ctx *middleware.Context, handler GetProjectByIDHandler) *GetProjectByID
NewGetProjectByID creates a new http.Handler for the get project by ID operation
func (*GetProjectByID) ServeHTTP ¶
func (o *GetProjectByID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetProjectByIDHandler ¶
type GetProjectByIDHandler interface {
Handle(GetProjectByIDParams) middleware.Responder
}
GetProjectByIDHandler interface for that can handle valid get project by ID params
type GetProjectByIDHandlerFunc ¶
type GetProjectByIDHandlerFunc func(GetProjectByIDParams) middleware.Responder
GetProjectByIDHandlerFunc turns a function with the right signature into a get project by ID handler
func (GetProjectByIDHandlerFunc) Handle ¶
func (fn GetProjectByIDHandlerFunc) Handle(params GetProjectByIDParams) middleware.Responder
Handle executing the request and returning a response
type GetProjectByIDNotFound ¶
type GetProjectByIDNotFound struct { }
GetProjectByIDNotFound Project not found
swagger:response getProjectByIdNotFound
func NewGetProjectByIDNotFound ¶
func NewGetProjectByIDNotFound() *GetProjectByIDNotFound
NewGetProjectByIDNotFound creates GetProjectByIDNotFound with default headers values
func (*GetProjectByIDNotFound) WriteResponse ¶
func (o *GetProjectByIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectByIDOK ¶
GetProjectByIDOK successful operation
swagger:response getProjectByIdOK
func NewGetProjectByIDOK ¶
func NewGetProjectByIDOK() *GetProjectByIDOK
NewGetProjectByIDOK creates GetProjectByIDOK with default headers values
func (*GetProjectByIDOK) SetPayload ¶
func (o *GetProjectByIDOK) SetPayload(payload *models.Project)
SetPayload sets the payload to the get project by Id o k response
func (*GetProjectByIDOK) WithPayload ¶
func (o *GetProjectByIDOK) WithPayload(payload *models.Project) *GetProjectByIDOK
WithPayload adds the payload to the get project by Id o k response
func (*GetProjectByIDOK) WriteResponse ¶
func (o *GetProjectByIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectByIDParams ¶
type GetProjectByIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of project to return Required: true In: path */ ProjectID string }
GetProjectByIDParams contains all the bound params for the get project by ID operation typically these are obtained from a http.Request
swagger:parameters getProjectByID
func NewGetProjectByIDParams ¶
func NewGetProjectByIDParams() GetProjectByIDParams
NewGetProjectByIDParams creates a new GetProjectByIDParams object with the default values initialized.
func (*GetProjectByIDParams) BindRequest ¶
func (o *GetProjectByIDParams) 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
type GetProjectByIDURL ¶
type GetProjectByIDURL struct { ProjectID string // contains filtered or unexported fields }
GetProjectByIDURL generates an URL for the get project by ID operation
func (*GetProjectByIDURL) Build ¶
func (o *GetProjectByIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetProjectByIDURL) BuildFull ¶
func (o *GetProjectByIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetProjectByIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetProjectByIDURL) SetBasePath ¶
func (o *GetProjectByIDURL) 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 (*GetProjectByIDURL) String ¶
func (o *GetProjectByIDURL) String() string
String returns the string representation of the path with query string
func (*GetProjectByIDURL) StringFull ¶
func (o *GetProjectByIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetProjectByIDURL) WithBasePath ¶
func (o *GetProjectByIDURL) WithBasePath(bp string) *GetProjectByIDURL
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 GetProjects ¶
type GetProjects struct { Context *middleware.Context Handler GetProjectsHandler }
GetProjects swagger:route GET /projects projects getProjects
Returns all the projects.
func NewGetProjects ¶
func NewGetProjects(ctx *middleware.Context, handler GetProjectsHandler) *GetProjects
NewGetProjects creates a new http.Handler for the get projects operation
func (*GetProjects) ServeHTTP ¶
func (o *GetProjects) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetProjectsBadRequest ¶
type GetProjectsBadRequest struct { }
GetProjectsBadRequest Bad Request
swagger:response getProjectsBadRequest
func NewGetProjectsBadRequest ¶
func NewGetProjectsBadRequest() *GetProjectsBadRequest
NewGetProjectsBadRequest creates GetProjectsBadRequest with default headers values
func (*GetProjectsBadRequest) WriteResponse ¶
func (o *GetProjectsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectsHandler ¶
type GetProjectsHandler interface {
Handle(GetProjectsParams) middleware.Responder
}
GetProjectsHandler interface for that can handle valid get projects params
type GetProjectsHandlerFunc ¶
type GetProjectsHandlerFunc func(GetProjectsParams) middleware.Responder
GetProjectsHandlerFunc turns a function with the right signature into a get projects handler
func (GetProjectsHandlerFunc) Handle ¶
func (fn GetProjectsHandlerFunc) Handle(params GetProjectsParams) middleware.Responder
Handle executing the request and returning a response
type GetProjectsOK ¶
GetProjectsOK The list of current projects
swagger:response getProjectsOK
func NewGetProjectsOK ¶
func NewGetProjectsOK() *GetProjectsOK
NewGetProjectsOK creates GetProjectsOK with default headers values
func (*GetProjectsOK) SetPayload ¶
func (o *GetProjectsOK) SetPayload(payload models.Projects)
SetPayload sets the payload to the get projects o k response
func (*GetProjectsOK) WithPayload ¶
func (o *GetProjectsOK) WithPayload(payload models.Projects) *GetProjectsOK
WithPayload adds the payload to the get projects o k response
func (*GetProjectsOK) WriteResponse ¶
func (o *GetProjectsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectsParams ¶
GetProjectsParams contains all the bound params for the get projects operation typically these are obtained from a http.Request
swagger:parameters getProjects
func NewGetProjectsParams ¶
func NewGetProjectsParams() GetProjectsParams
NewGetProjectsParams creates a new GetProjectsParams object with the default values initialized.
func (*GetProjectsParams) BindRequest ¶
func (o *GetProjectsParams) 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
type GetProjectsURL ¶
type GetProjectsURL struct {
// contains filtered or unexported fields
}
GetProjectsURL generates an URL for the get projects operation
func (*GetProjectsURL) Build ¶
func (o *GetProjectsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetProjectsURL) BuildFull ¶
func (o *GetProjectsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetProjectsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetProjectsURL) SetBasePath ¶
func (o *GetProjectsURL) 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 (*GetProjectsURL) String ¶
func (o *GetProjectsURL) String() string
String returns the string representation of the path with query string
func (*GetProjectsURL) StringFull ¶
func (o *GetProjectsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetProjectsURL) WithBasePath ¶
func (o *GetProjectsURL) WithBasePath(bp string) *GetProjectsURL
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 PostProject ¶
type PostProject struct { Context *middleware.Context Handler PostProjectHandler }
PostProject swagger:route POST /projects projects postProject
Adds a project configuration ¶
Post a new project config
func NewPostProject ¶
func NewPostProject(ctx *middleware.Context, handler PostProjectHandler) *PostProject
NewPostProject creates a new http.Handler for the post project operation
func (*PostProject) ServeHTTP ¶
func (o *PostProject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostProjectBadRequest ¶
type PostProjectBadRequest struct { }
PostProjectBadRequest Bad Request
swagger:response postProjectBadRequest
func NewPostProjectBadRequest ¶
func NewPostProjectBadRequest() *PostProjectBadRequest
NewPostProjectBadRequest creates PostProjectBadRequest with default headers values
func (*PostProjectBadRequest) WriteResponse ¶
func (o *PostProjectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectCreated ¶
PostProjectCreated Created
swagger:response postProjectCreated
func NewPostProjectCreated ¶
func NewPostProjectCreated() *PostProjectCreated
NewPostProjectCreated creates PostProjectCreated with default headers values
func (*PostProjectCreated) SetPayload ¶
func (o *PostProjectCreated) SetPayload(payload *models.Project)
SetPayload sets the payload to the post project created response
func (*PostProjectCreated) WithPayload ¶
func (o *PostProjectCreated) WithPayload(payload *models.Project) *PostProjectCreated
WithPayload adds the payload to the post project created response
func (*PostProjectCreated) WriteResponse ¶
func (o *PostProjectCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectHandler ¶
type PostProjectHandler interface {
Handle(PostProjectParams) middleware.Responder
}
PostProjectHandler interface for that can handle valid post project params
type PostProjectHandlerFunc ¶
type PostProjectHandlerFunc func(PostProjectParams) middleware.Responder
PostProjectHandlerFunc turns a function with the right signature into a post project handler
func (PostProjectHandlerFunc) Handle ¶
func (fn PostProjectHandlerFunc) Handle(params PostProjectParams) middleware.Responder
Handle executing the request and returning a response
type PostProjectParams ¶
type PostProjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Project definition Required: true In: body */ Body *models.Project }
PostProjectParams contains all the bound params for the post project operation typically these are obtained from a http.Request
swagger:parameters postProject
func NewPostProjectParams ¶
func NewPostProjectParams() PostProjectParams
NewPostProjectParams creates a new PostProjectParams object with the default values initialized.
func (*PostProjectParams) BindRequest ¶
func (o *PostProjectParams) 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
type PostProjectURL ¶
type PostProjectURL struct {
// contains filtered or unexported fields
}
PostProjectURL generates an URL for the post project operation
func (*PostProjectURL) Build ¶
func (o *PostProjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostProjectURL) BuildFull ¶
func (o *PostProjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostProjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostProjectURL) SetBasePath ¶
func (o *PostProjectURL) 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 (*PostProjectURL) String ¶
func (o *PostProjectURL) String() string
String returns the string representation of the path with query string
func (*PostProjectURL) StringFull ¶
func (o *PostProjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostProjectURL) WithBasePath ¶
func (o *PostProjectURL) WithBasePath(bp string) *PostProjectURL
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 ¶
- delete_project_by_id.go
- delete_project_by_id_parameters.go
- delete_project_by_id_responses.go
- delete_project_by_id_urlbuilder.go
- get_project_by_id.go
- get_project_by_id_parameters.go
- get_project_by_id_responses.go
- get_project_by_id_urlbuilder.go
- get_projects.go
- get_projects_parameters.go
- get_projects_responses.go
- get_projects_urlbuilder.go
- post_project.go
- post_project_parameters.go
- post_project_responses.go
- post_project_urlbuilder.go