Documentation
¶
Index ¶
- Constants
- type DeleteProjectProjectName
- type DeleteProjectProjectNameBadRequest
- func (o *DeleteProjectProjectNameBadRequest) SetPayload(payload *models.Error)
- func (o *DeleteProjectProjectNameBadRequest) WithPayload(payload *models.Error) *DeleteProjectProjectNameBadRequest
- func (o *DeleteProjectProjectNameBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProjectProjectNameDefault
- func (o *DeleteProjectProjectNameDefault) SetPayload(payload *models.Error)
- func (o *DeleteProjectProjectNameDefault) SetStatusCode(code int)
- func (o *DeleteProjectProjectNameDefault) WithPayload(payload *models.Error) *DeleteProjectProjectNameDefault
- func (o *DeleteProjectProjectNameDefault) WithStatusCode(code int) *DeleteProjectProjectNameDefault
- func (o *DeleteProjectProjectNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProjectProjectNameHandler
- type DeleteProjectProjectNameHandlerFunc
- type DeleteProjectProjectNameOK
- type DeleteProjectProjectNameParams
- type DeleteProjectProjectNameURL
- func (o *DeleteProjectProjectNameURL) Build() (*url.URL, error)
- func (o *DeleteProjectProjectNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteProjectProjectNameURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteProjectProjectNameURL) SetBasePath(bp string)
- func (o *DeleteProjectProjectNameURL) String() string
- func (o *DeleteProjectProjectNameURL) StringFull(scheme, host string) string
- func (o *DeleteProjectProjectNameURL) WithBasePath(bp string) *DeleteProjectProjectNameURL
- type PostProject
- type PostProjectBadRequest
- type PostProjectDefault
- func (o *PostProjectDefault) SetPayload(payload *models.Error)
- func (o *PostProjectDefault) SetStatusCode(code int)
- func (o *PostProjectDefault) WithPayload(payload *models.Error) *PostProjectDefault
- func (o *PostProjectDefault) WithStatusCode(code int) *PostProjectDefault
- func (o *PostProjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostProjectHandler
- type PostProjectHandlerFunc
- type PostProjectOK
- 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 DeleteProjectProjectNameBadRequestCode int = 400
DeleteProjectProjectNameBadRequestCode is the HTTP code returned for type DeleteProjectProjectNameBadRequest
const DeleteProjectProjectNameOKCode int = 200
DeleteProjectProjectNameOKCode is the HTTP code returned for type DeleteProjectProjectNameOK
const PostProjectBadRequestCode int = 400
PostProjectBadRequestCode is the HTTP code returned for type PostProjectBadRequest
const PostProjectOKCode int = 200
PostProjectOKCode is the HTTP code returned for type PostProjectOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteProjectProjectName ¶
type DeleteProjectProjectName struct { Context *middleware.Context Handler DeleteProjectProjectNameHandler }
DeleteProjectProjectName swagger:route DELETE /project/{projectName} Project deleteProjectProjectName
Deletes the specified project
func NewDeleteProjectProjectName ¶
func NewDeleteProjectProjectName(ctx *middleware.Context, handler DeleteProjectProjectNameHandler) *DeleteProjectProjectName
NewDeleteProjectProjectName creates a new http.Handler for the delete project project name operation
func (*DeleteProjectProjectName) ServeHTTP ¶
func (o *DeleteProjectProjectName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteProjectProjectNameBadRequest ¶
type DeleteProjectProjectNameBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteProjectProjectNameBadRequest Failed. Project could not be deleted
swagger:response deleteProjectProjectNameBadRequest
func NewDeleteProjectProjectNameBadRequest ¶
func NewDeleteProjectProjectNameBadRequest() *DeleteProjectProjectNameBadRequest
NewDeleteProjectProjectNameBadRequest creates DeleteProjectProjectNameBadRequest with default headers values
func (*DeleteProjectProjectNameBadRequest) SetPayload ¶
func (o *DeleteProjectProjectNameBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete project project name bad request response
func (*DeleteProjectProjectNameBadRequest) WithPayload ¶
func (o *DeleteProjectProjectNameBadRequest) WithPayload(payload *models.Error) *DeleteProjectProjectNameBadRequest
WithPayload adds the payload to the delete project project name bad request response
func (*DeleteProjectProjectNameBadRequest) WriteResponse ¶
func (o *DeleteProjectProjectNameBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectProjectNameDefault ¶
type DeleteProjectProjectNameDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteProjectProjectNameDefault Error
swagger:response deleteProjectProjectNameDefault
func NewDeleteProjectProjectNameDefault ¶
func NewDeleteProjectProjectNameDefault(code int) *DeleteProjectProjectNameDefault
NewDeleteProjectProjectNameDefault creates DeleteProjectProjectNameDefault with default headers values
func (*DeleteProjectProjectNameDefault) SetPayload ¶
func (o *DeleteProjectProjectNameDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete project project name default response
func (*DeleteProjectProjectNameDefault) SetStatusCode ¶
func (o *DeleteProjectProjectNameDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete project project name default response
func (*DeleteProjectProjectNameDefault) WithPayload ¶
func (o *DeleteProjectProjectNameDefault) WithPayload(payload *models.Error) *DeleteProjectProjectNameDefault
WithPayload adds the payload to the delete project project name default response
func (*DeleteProjectProjectNameDefault) WithStatusCode ¶
func (o *DeleteProjectProjectNameDefault) WithStatusCode(code int) *DeleteProjectProjectNameDefault
WithStatusCode adds the status to the delete project project name default response
func (*DeleteProjectProjectNameDefault) WriteResponse ¶
func (o *DeleteProjectProjectNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectProjectNameHandler ¶
type DeleteProjectProjectNameHandler interface {
Handle(DeleteProjectProjectNameParams, *models.Principal) middleware.Responder
}
DeleteProjectProjectNameHandler interface for that can handle valid delete project project name params
type DeleteProjectProjectNameHandlerFunc ¶
type DeleteProjectProjectNameHandlerFunc func(DeleteProjectProjectNameParams, *models.Principal) middleware.Responder
DeleteProjectProjectNameHandlerFunc turns a function with the right signature into a delete project project name handler
func (DeleteProjectProjectNameHandlerFunc) Handle ¶
func (fn DeleteProjectProjectNameHandlerFunc) Handle(params DeleteProjectProjectNameParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteProjectProjectNameOK ¶
type DeleteProjectProjectNameOK struct { /* In: Body */ Payload *models.EventContext `json:"body,omitempty"` }
DeleteProjectProjectNameOK Deleting of project triggered
swagger:response deleteProjectProjectNameOK
func NewDeleteProjectProjectNameOK ¶
func NewDeleteProjectProjectNameOK() *DeleteProjectProjectNameOK
NewDeleteProjectProjectNameOK creates DeleteProjectProjectNameOK with default headers values
func (*DeleteProjectProjectNameOK) SetPayload ¶
func (o *DeleteProjectProjectNameOK) SetPayload(payload *models.EventContext)
SetPayload sets the payload to the delete project project name o k response
func (*DeleteProjectProjectNameOK) WithPayload ¶
func (o *DeleteProjectProjectNameOK) WithPayload(payload *models.EventContext) *DeleteProjectProjectNameOK
WithPayload adds the payload to the delete project project name o k response
func (*DeleteProjectProjectNameOK) WriteResponse ¶
func (o *DeleteProjectProjectNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectProjectNameParams ¶
type DeleteProjectProjectNameParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Name of the project Required: true In: path */ ProjectName string }
DeleteProjectProjectNameParams contains all the bound params for the delete project project name operation typically these are obtained from a http.Request
swagger:parameters DeleteProjectProjectName
func NewDeleteProjectProjectNameParams ¶
func NewDeleteProjectProjectNameParams() DeleteProjectProjectNameParams
NewDeleteProjectProjectNameParams creates a new DeleteProjectProjectNameParams object no default values defined in spec.
func (*DeleteProjectProjectNameParams) BindRequest ¶
func (o *DeleteProjectProjectNameParams) 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 NewDeleteProjectProjectNameParams() beforehand.
type DeleteProjectProjectNameURL ¶
type DeleteProjectProjectNameURL struct { ProjectName string // contains filtered or unexported fields }
DeleteProjectProjectNameURL generates an URL for the delete project project name operation
func (*DeleteProjectProjectNameURL) Build ¶
func (o *DeleteProjectProjectNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteProjectProjectNameURL) BuildFull ¶
func (o *DeleteProjectProjectNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteProjectProjectNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteProjectProjectNameURL) SetBasePath ¶
func (o *DeleteProjectProjectNameURL) 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 (*DeleteProjectProjectNameURL) String ¶
func (o *DeleteProjectProjectNameURL) String() string
String returns the string representation of the path with query string
func (*DeleteProjectProjectNameURL) StringFull ¶
func (o *DeleteProjectProjectNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteProjectProjectNameURL) WithBasePath ¶
func (o *DeleteProjectProjectNameURL) WithBasePath(bp string) *DeleteProjectProjectNameURL
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 /project Project postProject
Creates a new project
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 ¶
PostProjectBadRequest Failed. Project could not be created
swagger:response postProjectBadRequest
func NewPostProjectBadRequest ¶
func NewPostProjectBadRequest() *PostProjectBadRequest
NewPostProjectBadRequest creates PostProjectBadRequest with default headers values
func (*PostProjectBadRequest) SetPayload ¶
func (o *PostProjectBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the post project bad request response
func (*PostProjectBadRequest) WithPayload ¶
func (o *PostProjectBadRequest) WithPayload(payload *models.Error) *PostProjectBadRequest
WithPayload adds the payload to the post project bad request response
func (*PostProjectBadRequest) WriteResponse ¶
func (o *PostProjectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectDefault ¶
type PostProjectDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PostProjectDefault Error
swagger:response postProjectDefault
func NewPostProjectDefault ¶
func NewPostProjectDefault(code int) *PostProjectDefault
NewPostProjectDefault creates PostProjectDefault with default headers values
func (*PostProjectDefault) SetPayload ¶
func (o *PostProjectDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the post project default response
func (*PostProjectDefault) SetStatusCode ¶
func (o *PostProjectDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post project default response
func (*PostProjectDefault) WithPayload ¶
func (o *PostProjectDefault) WithPayload(payload *models.Error) *PostProjectDefault
WithPayload adds the payload to the post project default response
func (*PostProjectDefault) WithStatusCode ¶
func (o *PostProjectDefault) WithStatusCode(code int) *PostProjectDefault
WithStatusCode adds the status to the post project default response
func (*PostProjectDefault) WriteResponse ¶
func (o *PostProjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectHandler ¶
type PostProjectHandler interface {
Handle(PostProjectParams, *models.Principal) middleware.Responder
}
PostProjectHandler interface for that can handle valid post project params
type PostProjectHandlerFunc ¶
type PostProjectHandlerFunc func(PostProjectParams, *models.Principal) middleware.Responder
PostProjectHandlerFunc turns a function with the right signature into a post project handler
func (PostProjectHandlerFunc) Handle ¶
func (fn PostProjectHandlerFunc) Handle(params PostProjectParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PostProjectOK ¶
type PostProjectOK struct { /* In: Body */ Payload *models.EventContext `json:"body,omitempty"` }
PostProjectOK Creating of project triggered
swagger:response postProjectOK
func NewPostProjectOK ¶
func NewPostProjectOK() *PostProjectOK
NewPostProjectOK creates PostProjectOK with default headers values
func (*PostProjectOK) SetPayload ¶
func (o *PostProjectOK) SetPayload(payload *models.EventContext)
SetPayload sets the payload to the post project o k response
func (*PostProjectOK) WithPayload ¶
func (o *PostProjectOK) WithPayload(payload *models.EventContext) *PostProjectOK
WithPayload adds the payload to the post project o k response
func (*PostProjectOK) WriteResponse ¶
func (o *PostProjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectParams ¶
type PostProjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Project entity In: body */ Project *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 no default values defined in spec.
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.
To ensure default values, the struct must have been initialized with NewPostProjectParams() beforehand.
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