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 DeleteProjectProjectNameNoContent
- 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 GetProject
- type GetProjectDefault
- func (o *GetProjectDefault) SetPayload(payload *models.Error)
- func (o *GetProjectDefault) SetStatusCode(code int)
- func (o *GetProjectDefault) WithPayload(payload *models.Error) *GetProjectDefault
- func (o *GetProjectDefault) WithStatusCode(code int) *GetProjectDefault
- func (o *GetProjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectHandler
- type GetProjectHandlerFunc
- type GetProjectOK
- type GetProjectParams
- type GetProjectProjectName
- type GetProjectProjectNameDefault
- func (o *GetProjectProjectNameDefault) SetPayload(payload *models.Error)
- func (o *GetProjectProjectNameDefault) SetStatusCode(code int)
- func (o *GetProjectProjectNameDefault) WithPayload(payload *models.Error) *GetProjectProjectNameDefault
- func (o *GetProjectProjectNameDefault) WithStatusCode(code int) *GetProjectProjectNameDefault
- func (o *GetProjectProjectNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectProjectNameHandler
- type GetProjectProjectNameHandlerFunc
- type GetProjectProjectNameNotFound
- type GetProjectProjectNameOK
- type GetProjectProjectNameParams
- type GetProjectProjectNameURL
- func (o *GetProjectProjectNameURL) Build() (*url.URL, error)
- func (o *GetProjectProjectNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetProjectProjectNameURL) Must(u *url.URL, err error) *url.URL
- func (o *GetProjectProjectNameURL) SetBasePath(bp string)
- func (o *GetProjectProjectNameURL) String() string
- func (o *GetProjectProjectNameURL) StringFull(scheme, host string) string
- func (o *GetProjectProjectNameURL) WithBasePath(bp string) *GetProjectProjectNameURL
- 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 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 PostProjectNoContent
- 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
- type PutProjectProjectName
- type PutProjectProjectNameBadRequest
- type PutProjectProjectNameDefault
- func (o *PutProjectProjectNameDefault) SetPayload(payload *models.Error)
- func (o *PutProjectProjectNameDefault) SetStatusCode(code int)
- func (o *PutProjectProjectNameDefault) WithPayload(payload *models.Error) *PutProjectProjectNameDefault
- func (o *PutProjectProjectNameDefault) WithStatusCode(code int) *PutProjectProjectNameDefault
- func (o *PutProjectProjectNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutProjectProjectNameHandler
- type PutProjectProjectNameHandlerFunc
- type PutProjectProjectNameNoContent
- type PutProjectProjectNameParams
- type PutProjectProjectNameURL
- func (o *PutProjectProjectNameURL) Build() (*url.URL, error)
- func (o *PutProjectProjectNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutProjectProjectNameURL) Must(u *url.URL, err error) *url.URL
- func (o *PutProjectProjectNameURL) SetBasePath(bp string)
- func (o *PutProjectProjectNameURL) String() string
- func (o *PutProjectProjectNameURL) StringFull(scheme, host string) string
- func (o *PutProjectProjectNameURL) WithBasePath(bp string) *PutProjectProjectNameURL
Constants ¶
const DeleteProjectProjectNameBadRequestCode int = 400
DeleteProjectProjectNameBadRequestCode is the HTTP code returned for type DeleteProjectProjectNameBadRequest
const DeleteProjectProjectNameNoContentCode int = 204
DeleteProjectProjectNameNoContentCode is the HTTP code returned for type DeleteProjectProjectNameNoContent
const GetProjectOKCode int = 200
GetProjectOKCode is the HTTP code returned for type GetProjectOK
const GetProjectProjectNameNotFoundCode int = 404
GetProjectProjectNameNotFoundCode is the HTTP code returned for type GetProjectProjectNameNotFound
const GetProjectProjectNameOKCode int = 200
GetProjectProjectNameOKCode is the HTTP code returned for type GetProjectProjectNameOK
const PostProjectBadRequestCode int = 400
PostProjectBadRequestCode is the HTTP code returned for type PostProjectBadRequest
const PostProjectNoContentCode int = 204
PostProjectNoContentCode is the HTTP code returned for type PostProjectNoContent
const PutProjectProjectNameBadRequestCode int = 400
PutProjectProjectNameBadRequestCode is the HTTP code returned for type PutProjectProjectNameBadRequest
const PutProjectProjectNameNoContentCode int = 204
PutProjectProjectNameNoContentCode is the HTTP code returned for type PutProjectProjectNameNoContent
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
INTERNAL Endpoint: Delete 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) middleware.Responder
}
DeleteProjectProjectNameHandler interface for that can handle valid delete project project name params
type DeleteProjectProjectNameHandlerFunc ¶
type DeleteProjectProjectNameHandlerFunc func(DeleteProjectProjectNameParams) 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) middleware.Responder
Handle executing the request and returning a response
type DeleteProjectProjectNameNoContent ¶
type DeleteProjectProjectNameNoContent struct { }
DeleteProjectProjectNameNoContent Success. Project has been deleted. Response does not have a body.
swagger:response deleteProjectProjectNameNoContent
func NewDeleteProjectProjectNameNoContent ¶
func NewDeleteProjectProjectNameNoContent() *DeleteProjectProjectNameNoContent
NewDeleteProjectProjectNameNoContent creates DeleteProjectProjectNameNoContent with default headers values
func (*DeleteProjectProjectNameNoContent) WriteResponse ¶
func (o *DeleteProjectProjectNameNoContent) 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 GetProject ¶
type GetProject struct { Context *middleware.Context Handler GetProjectHandler }
GetProject swagger:route GET /project Project getProject
Get list of projects
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 GetProjectDefault ¶
type GetProjectDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetProjectDefault Error
swagger:response getProjectDefault
func NewGetProjectDefault ¶
func NewGetProjectDefault(code int) *GetProjectDefault
NewGetProjectDefault creates GetProjectDefault with default headers values
func (*GetProjectDefault) SetPayload ¶
func (o *GetProjectDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get project default response
func (*GetProjectDefault) SetStatusCode ¶
func (o *GetProjectDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get project default response
func (*GetProjectDefault) WithPayload ¶
func (o *GetProjectDefault) WithPayload(payload *models.Error) *GetProjectDefault
WithPayload adds the payload to the get project default response
func (*GetProjectDefault) WithStatusCode ¶
func (o *GetProjectDefault) WithStatusCode(code int) *GetProjectDefault
WithStatusCode adds the status to the get project default response
func (*GetProjectDefault) WriteResponse ¶
func (o *GetProjectDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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.ExpandedProjects `json:"body,omitempty"` }
GetProjectOK Success
swagger:response getProjectOK
func NewGetProjectOK ¶
func NewGetProjectOK() *GetProjectOK
NewGetProjectOK creates GetProjectOK with default headers values
func (*GetProjectOK) SetPayload ¶
func (o *GetProjectOK) SetPayload(payload *models.ExpandedProjects)
SetPayload sets the payload to the get project o k response
func (*GetProjectOK) WithPayload ¶
func (o *GetProjectOK) WithPayload(payload *models.ExpandedProjects) *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:"-"` /*Disable sync of upstream repo before reading content In: query Default: false */ DisableUpstreamSync *bool /*Pointer to the next set of items In: query */ NextPageKey *string /*The number of items to return Maximum: 50 Minimum: 1 In: query Default: 20 */ PageSize *int64 }
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 with the default values initialized.
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 GetProjectProjectName ¶
type GetProjectProjectName struct { Context *middleware.Context Handler GetProjectProjectNameHandler }
GetProjectProjectName swagger:route GET /project/{projectName} Project getProjectProjectName
Get the specified project
func NewGetProjectProjectName ¶
func NewGetProjectProjectName(ctx *middleware.Context, handler GetProjectProjectNameHandler) *GetProjectProjectName
NewGetProjectProjectName creates a new http.Handler for the get project project name operation
func (*GetProjectProjectName) ServeHTTP ¶
func (o *GetProjectProjectName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetProjectProjectNameDefault ¶
type GetProjectProjectNameDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetProjectProjectNameDefault Error
swagger:response getProjectProjectNameDefault
func NewGetProjectProjectNameDefault ¶
func NewGetProjectProjectNameDefault(code int) *GetProjectProjectNameDefault
NewGetProjectProjectNameDefault creates GetProjectProjectNameDefault with default headers values
func (*GetProjectProjectNameDefault) SetPayload ¶
func (o *GetProjectProjectNameDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get project project name default response
func (*GetProjectProjectNameDefault) SetStatusCode ¶
func (o *GetProjectProjectNameDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get project project name default response
func (*GetProjectProjectNameDefault) WithPayload ¶
func (o *GetProjectProjectNameDefault) WithPayload(payload *models.Error) *GetProjectProjectNameDefault
WithPayload adds the payload to the get project project name default response
func (*GetProjectProjectNameDefault) WithStatusCode ¶
func (o *GetProjectProjectNameDefault) WithStatusCode(code int) *GetProjectProjectNameDefault
WithStatusCode adds the status to the get project project name default response
func (*GetProjectProjectNameDefault) WriteResponse ¶
func (o *GetProjectProjectNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectProjectNameHandler ¶
type GetProjectProjectNameHandler interface {
Handle(GetProjectProjectNameParams) middleware.Responder
}
GetProjectProjectNameHandler interface for that can handle valid get project project name params
type GetProjectProjectNameHandlerFunc ¶
type GetProjectProjectNameHandlerFunc func(GetProjectProjectNameParams) middleware.Responder
GetProjectProjectNameHandlerFunc turns a function with the right signature into a get project project name handler
func (GetProjectProjectNameHandlerFunc) Handle ¶
func (fn GetProjectProjectNameHandlerFunc) Handle(params GetProjectProjectNameParams) middleware.Responder
Handle executing the request and returning a response
type GetProjectProjectNameNotFound ¶
type GetProjectProjectNameNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetProjectProjectNameNotFound Failed. Project could not be found.
swagger:response getProjectProjectNameNotFound
func NewGetProjectProjectNameNotFound ¶
func NewGetProjectProjectNameNotFound() *GetProjectProjectNameNotFound
NewGetProjectProjectNameNotFound creates GetProjectProjectNameNotFound with default headers values
func (*GetProjectProjectNameNotFound) SetPayload ¶
func (o *GetProjectProjectNameNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get project project name not found response
func (*GetProjectProjectNameNotFound) WithPayload ¶
func (o *GetProjectProjectNameNotFound) WithPayload(payload *models.Error) *GetProjectProjectNameNotFound
WithPayload adds the payload to the get project project name not found response
func (*GetProjectProjectNameNotFound) WriteResponse ¶
func (o *GetProjectProjectNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectProjectNameOK ¶
type GetProjectProjectNameOK struct { /* In: Body */ Payload *models.ExpandedProject `json:"body,omitempty"` }
GetProjectProjectNameOK Success
swagger:response getProjectProjectNameOK
func NewGetProjectProjectNameOK ¶
func NewGetProjectProjectNameOK() *GetProjectProjectNameOK
NewGetProjectProjectNameOK creates GetProjectProjectNameOK with default headers values
func (*GetProjectProjectNameOK) SetPayload ¶
func (o *GetProjectProjectNameOK) SetPayload(payload *models.ExpandedProject)
SetPayload sets the payload to the get project project name o k response
func (*GetProjectProjectNameOK) WithPayload ¶
func (o *GetProjectProjectNameOK) WithPayload(payload *models.ExpandedProject) *GetProjectProjectNameOK
WithPayload adds the payload to the get project project name o k response
func (*GetProjectProjectNameOK) WriteResponse ¶
func (o *GetProjectProjectNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectProjectNameParams ¶
type GetProjectProjectNameParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Name of the project Required: true In: path */ ProjectName string }
GetProjectProjectNameParams contains all the bound params for the get project project name operation typically these are obtained from a http.Request
swagger:parameters GetProjectProjectName
func NewGetProjectProjectNameParams ¶
func NewGetProjectProjectNameParams() GetProjectProjectNameParams
NewGetProjectProjectNameParams creates a new GetProjectProjectNameParams object no default values defined in spec.
func (*GetProjectProjectNameParams) BindRequest ¶
func (o *GetProjectProjectNameParams) 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 NewGetProjectProjectNameParams() beforehand.
type GetProjectProjectNameURL ¶
type GetProjectProjectNameURL struct { ProjectName string // contains filtered or unexported fields }
GetProjectProjectNameURL generates an URL for the get project project name operation
func (*GetProjectProjectNameURL) Build ¶
func (o *GetProjectProjectNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetProjectProjectNameURL) BuildFull ¶
func (o *GetProjectProjectNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetProjectProjectNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetProjectProjectNameURL) SetBasePath ¶
func (o *GetProjectProjectNameURL) 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 (*GetProjectProjectNameURL) String ¶
func (o *GetProjectProjectNameURL) String() string
String returns the string representation of the path with query string
func (*GetProjectProjectNameURL) StringFull ¶
func (o *GetProjectProjectNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetProjectProjectNameURL) WithBasePath ¶
func (o *GetProjectProjectNameURL) WithBasePath(bp string) *GetProjectProjectNameURL
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 GetProjectURL ¶
type GetProjectURL struct { DisableUpstreamSync *bool NextPageKey *string PageSize *int64 // 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 PostProject ¶
type PostProject struct { Context *middleware.Context Handler PostProjectHandler }
PostProject swagger:route POST /project Project postProject
INTERNAL Endpoint: Create a new project by project name
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) 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 PostProjectNoContent ¶
type PostProjectNoContent struct { }
PostProjectNoContent Success. Project has been created. Response does not have a body.
swagger:response postProjectNoContent
func NewPostProjectNoContent ¶
func NewPostProjectNoContent() *PostProjectNoContent
NewPostProjectNoContent creates PostProjectNoContent with default headers values
func (*PostProjectNoContent) WriteResponse ¶
func (o *PostProjectNoContent) 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
type PutProjectProjectName ¶
type PutProjectProjectName struct { Context *middleware.Context Handler PutProjectProjectNameHandler }
PutProjectProjectName swagger:route PUT /project/{projectName} Project putProjectProjectName
INTERNAL Endpoint: Update the specified project
func NewPutProjectProjectName ¶
func NewPutProjectProjectName(ctx *middleware.Context, handler PutProjectProjectNameHandler) *PutProjectProjectName
NewPutProjectProjectName creates a new http.Handler for the put project project name operation
func (*PutProjectProjectName) ServeHTTP ¶
func (o *PutProjectProjectName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutProjectProjectNameBadRequest ¶
type PutProjectProjectNameBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutProjectProjectNameBadRequest Failed. Project could not be updated.
swagger:response putProjectProjectNameBadRequest
func NewPutProjectProjectNameBadRequest ¶
func NewPutProjectProjectNameBadRequest() *PutProjectProjectNameBadRequest
NewPutProjectProjectNameBadRequest creates PutProjectProjectNameBadRequest with default headers values
func (*PutProjectProjectNameBadRequest) SetPayload ¶
func (o *PutProjectProjectNameBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the put project project name bad request response
func (*PutProjectProjectNameBadRequest) WithPayload ¶
func (o *PutProjectProjectNameBadRequest) WithPayload(payload *models.Error) *PutProjectProjectNameBadRequest
WithPayload adds the payload to the put project project name bad request response
func (*PutProjectProjectNameBadRequest) WriteResponse ¶
func (o *PutProjectProjectNameBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutProjectProjectNameDefault ¶
type PutProjectProjectNameDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PutProjectProjectNameDefault Error
swagger:response putProjectProjectNameDefault
func NewPutProjectProjectNameDefault ¶
func NewPutProjectProjectNameDefault(code int) *PutProjectProjectNameDefault
NewPutProjectProjectNameDefault creates PutProjectProjectNameDefault with default headers values
func (*PutProjectProjectNameDefault) SetPayload ¶
func (o *PutProjectProjectNameDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the put project project name default response
func (*PutProjectProjectNameDefault) SetStatusCode ¶
func (o *PutProjectProjectNameDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put project project name default response
func (*PutProjectProjectNameDefault) WithPayload ¶
func (o *PutProjectProjectNameDefault) WithPayload(payload *models.Error) *PutProjectProjectNameDefault
WithPayload adds the payload to the put project project name default response
func (*PutProjectProjectNameDefault) WithStatusCode ¶
func (o *PutProjectProjectNameDefault) WithStatusCode(code int) *PutProjectProjectNameDefault
WithStatusCode adds the status to the put project project name default response
func (*PutProjectProjectNameDefault) WriteResponse ¶
func (o *PutProjectProjectNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutProjectProjectNameHandler ¶
type PutProjectProjectNameHandler interface {
Handle(PutProjectProjectNameParams) middleware.Responder
}
PutProjectProjectNameHandler interface for that can handle valid put project project name params
type PutProjectProjectNameHandlerFunc ¶
type PutProjectProjectNameHandlerFunc func(PutProjectProjectNameParams) middleware.Responder
PutProjectProjectNameHandlerFunc turns a function with the right signature into a put project project name handler
func (PutProjectProjectNameHandlerFunc) Handle ¶
func (fn PutProjectProjectNameHandlerFunc) Handle(params PutProjectProjectNameParams) middleware.Responder
Handle executing the request and returning a response
type PutProjectProjectNameNoContent ¶
type PutProjectProjectNameNoContent struct { }
PutProjectProjectNameNoContent Success. Project has been updated. Response does not have a body.
swagger:response putProjectProjectNameNoContent
func NewPutProjectProjectNameNoContent ¶
func NewPutProjectProjectNameNoContent() *PutProjectProjectNameNoContent
NewPutProjectProjectNameNoContent creates PutProjectProjectNameNoContent with default headers values
func (*PutProjectProjectNameNoContent) WriteResponse ¶
func (o *PutProjectProjectNameNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutProjectProjectNameParams ¶
type PutProjectProjectNameParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Project entity In: body */ Project *models.Project /*Name of the project Required: true In: path */ ProjectName string }
PutProjectProjectNameParams contains all the bound params for the put project project name operation typically these are obtained from a http.Request
swagger:parameters PutProjectProjectName
func NewPutProjectProjectNameParams ¶
func NewPutProjectProjectNameParams() PutProjectProjectNameParams
NewPutProjectProjectNameParams creates a new PutProjectProjectNameParams object no default values defined in spec.
func (*PutProjectProjectNameParams) BindRequest ¶
func (o *PutProjectProjectNameParams) 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 NewPutProjectProjectNameParams() beforehand.
type PutProjectProjectNameURL ¶
type PutProjectProjectNameURL struct { ProjectName string // contains filtered or unexported fields }
PutProjectProjectNameURL generates an URL for the put project project name operation
func (*PutProjectProjectNameURL) Build ¶
func (o *PutProjectProjectNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutProjectProjectNameURL) BuildFull ¶
func (o *PutProjectProjectNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutProjectProjectNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutProjectProjectNameURL) SetBasePath ¶
func (o *PutProjectProjectNameURL) 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 (*PutProjectProjectNameURL) String ¶
func (o *PutProjectProjectNameURL) String() string
String returns the string representation of the path with query string
func (*PutProjectProjectNameURL) StringFull ¶
func (o *PutProjectProjectNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutProjectProjectNameURL) WithBasePath ¶
func (o *PutProjectProjectNameURL) WithBasePath(bp string) *PutProjectProjectNameURL
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_project_name.go
- delete_project_project_name_parameters.go
- delete_project_project_name_responses.go
- delete_project_project_name_urlbuilder.go
- get_project.go
- get_project_parameters.go
- get_project_project_name.go
- get_project_project_name_parameters.go
- get_project_project_name_responses.go
- get_project_project_name_urlbuilder.go
- get_project_responses.go
- get_project_urlbuilder.go
- post_project.go
- post_project_parameters.go
- post_project_responses.go
- post_project_urlbuilder.go
- put_project_project_name.go
- put_project_project_name_parameters.go
- put_project_project_name_responses.go
- put_project_project_name_urlbuilder.go