Documentation ¶
Index ¶
- Constants
- type DeleteUsersID
- type DeleteUsersIDForbidden
- type DeleteUsersIDHandler
- type DeleteUsersIDHandlerFunc
- type DeleteUsersIDInternalServerError
- func (o *DeleteUsersIDInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *DeleteUsersIDInternalServerError) WithPayload(payload *models.ResponseBody500) *DeleteUsersIDInternalServerError
- func (o *DeleteUsersIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteUsersIDNotFound
- type DeleteUsersIDOK
- type DeleteUsersIDParams
- type DeleteUsersIDURL
- func (o *DeleteUsersIDURL) Build() (*url.URL, error)
- func (o *DeleteUsersIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteUsersIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteUsersIDURL) SetBasePath(bp string)
- func (o *DeleteUsersIDURL) String() string
- func (o *DeleteUsersIDURL) StringFull(scheme, host string) string
- func (o *DeleteUsersIDURL) WithBasePath(bp string) *DeleteUsersIDURL
- type FilerGatewayAPI
- func (o *FilerGatewayAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
- func (o *FilerGatewayAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *FilerGatewayAPI) Authorizer() runtime.Authorizer
- func (o *FilerGatewayAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *FilerGatewayAPI) Context() *middleware.Context
- func (o *FilerGatewayAPI) DefaultConsumes() string
- func (o *FilerGatewayAPI) DefaultProduces() string
- func (o *FilerGatewayAPI) Formats() strfmt.Registry
- func (o *FilerGatewayAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *FilerGatewayAPI) Init()
- func (o *FilerGatewayAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *FilerGatewayAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
- func (o *FilerGatewayAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *FilerGatewayAPI) RegisterProducer(mediaType string, producer runtime.Producer)
- func (o *FilerGatewayAPI) Serve(builder middleware.Builder) http.Handler
- func (o *FilerGatewayAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *FilerGatewayAPI) SetDefaultConsumes(mediaType string)
- func (o *FilerGatewayAPI) SetDefaultProduces(mediaType string)
- func (o *FilerGatewayAPI) SetSpec(spec *loads.Document)
- func (o *FilerGatewayAPI) UseRedoc()
- func (o *FilerGatewayAPI) UseSwaggerUI()
- func (o *FilerGatewayAPI) Validate() error
- type GetMetrics
- type GetMetricsHandler
- type GetMetricsHandlerFunc
- type GetMetricsOK
- type GetMetricsParams
- type GetMetricsURL
- func (o *GetMetricsURL) Build() (*url.URL, error)
- func (o *GetMetricsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetMetricsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetMetricsURL) SetBasePath(bp string)
- func (o *GetMetricsURL) String() string
- func (o *GetMetricsURL) StringFull(scheme, host string) string
- func (o *GetMetricsURL) WithBasePath(bp string) *GetMetricsURL
- type GetPing
- type GetPingHandler
- type GetPingHandlerFunc
- type GetPingInternalServerError
- type GetPingOK
- type GetPingParams
- type GetPingURL
- func (o *GetPingURL) Build() (*url.URL, error)
- func (o *GetPingURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPingURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPingURL) SetBasePath(bp string)
- func (o *GetPingURL) String() string
- func (o *GetPingURL) StringFull(scheme, host string) string
- func (o *GetPingURL) WithBasePath(bp string) *GetPingURL
- type GetProjects
- type GetProjectsHandler
- type GetProjectsHandlerFunc
- type GetProjectsID
- type GetProjectsIDBadRequest
- type GetProjectsIDHandler
- type GetProjectsIDHandlerFunc
- type GetProjectsIDInternalServerError
- func (o *GetProjectsIDInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *GetProjectsIDInternalServerError) WithPayload(payload *models.ResponseBody500) *GetProjectsIDInternalServerError
- func (o *GetProjectsIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectsIDNotFound
- type GetProjectsIDOK
- type GetProjectsIDParams
- type GetProjectsIDURL
- func (o *GetProjectsIDURL) Build() (*url.URL, error)
- func (o *GetProjectsIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetProjectsIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetProjectsIDURL) SetBasePath(bp string)
- func (o *GetProjectsIDURL) String() string
- func (o *GetProjectsIDURL) StringFull(scheme, host string) string
- func (o *GetProjectsIDURL) WithBasePath(bp string) *GetProjectsIDURL
- type GetProjectsInternalServerError
- func (o *GetProjectsInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *GetProjectsInternalServerError) WithPayload(payload *models.ResponseBody500) *GetProjectsInternalServerError
- func (o *GetProjectsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- 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 GetTasksTypeID
- type GetTasksTypeIDBadRequest
- type GetTasksTypeIDHandler
- type GetTasksTypeIDHandlerFunc
- type GetTasksTypeIDInternalServerError
- func (o *GetTasksTypeIDInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *GetTasksTypeIDInternalServerError) WithPayload(payload *models.ResponseBody500) *GetTasksTypeIDInternalServerError
- func (o *GetTasksTypeIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTasksTypeIDNotFound
- type GetTasksTypeIDOK
- type GetTasksTypeIDParams
- type GetTasksTypeIDURL
- func (o *GetTasksTypeIDURL) Build() (*url.URL, error)
- func (o *GetTasksTypeIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTasksTypeIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTasksTypeIDURL) SetBasePath(bp string)
- func (o *GetTasksTypeIDURL) String() string
- func (o *GetTasksTypeIDURL) StringFull(scheme, host string) string
- func (o *GetTasksTypeIDURL) WithBasePath(bp string) *GetTasksTypeIDURL
- type GetUsers
- type GetUsersHandler
- type GetUsersHandlerFunc
- type GetUsersID
- type GetUsersIDBadRequest
- type GetUsersIDHandler
- type GetUsersIDHandlerFunc
- type GetUsersIDInternalServerError
- func (o *GetUsersIDInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *GetUsersIDInternalServerError) WithPayload(payload *models.ResponseBody500) *GetUsersIDInternalServerError
- func (o *GetUsersIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetUsersIDNotFound
- type GetUsersIDOK
- type GetUsersIDParams
- type GetUsersIDURL
- func (o *GetUsersIDURL) Build() (*url.URL, error)
- func (o *GetUsersIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUsersIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUsersIDURL) SetBasePath(bp string)
- func (o *GetUsersIDURL) String() string
- func (o *GetUsersIDURL) StringFull(scheme, host string) string
- func (o *GetUsersIDURL) WithBasePath(bp string) *GetUsersIDURL
- type GetUsersInternalServerError
- type GetUsersOK
- type GetUsersParams
- type GetUsersURL
- func (o *GetUsersURL) Build() (*url.URL, error)
- func (o *GetUsersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUsersURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUsersURL) SetBasePath(bp string)
- func (o *GetUsersURL) String() string
- func (o *GetUsersURL) StringFull(scheme, host string) string
- func (o *GetUsersURL) WithBasePath(bp string) *GetUsersURL
- type PatchProjectsID
- type PatchProjectsIDBadRequest
- type PatchProjectsIDHandler
- type PatchProjectsIDHandlerFunc
- type PatchProjectsIDInternalServerError
- func (o *PatchProjectsIDInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *PatchProjectsIDInternalServerError) WithPayload(payload *models.ResponseBody500) *PatchProjectsIDInternalServerError
- func (o *PatchProjectsIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchProjectsIDNoContent
- type PatchProjectsIDNotFound
- type PatchProjectsIDOK
- type PatchProjectsIDParams
- type PatchProjectsIDURL
- func (o *PatchProjectsIDURL) Build() (*url.URL, error)
- func (o *PatchProjectsIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchProjectsIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchProjectsIDURL) SetBasePath(bp string)
- func (o *PatchProjectsIDURL) String() string
- func (o *PatchProjectsIDURL) StringFull(scheme, host string) string
- func (o *PatchProjectsIDURL) WithBasePath(bp string) *PatchProjectsIDURL
- type PatchUsersID
- type PatchUsersIDBadRequest
- type PatchUsersIDHandler
- type PatchUsersIDHandlerFunc
- type PatchUsersIDInternalServerError
- func (o *PatchUsersIDInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *PatchUsersIDInternalServerError) WithPayload(payload *models.ResponseBody500) *PatchUsersIDInternalServerError
- func (o *PatchUsersIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchUsersIDNoContent
- type PatchUsersIDNotFound
- type PatchUsersIDOK
- type PatchUsersIDParams
- type PatchUsersIDURL
- func (o *PatchUsersIDURL) Build() (*url.URL, error)
- func (o *PatchUsersIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchUsersIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchUsersIDURL) SetBasePath(bp string)
- func (o *PatchUsersIDURL) String() string
- func (o *PatchUsersIDURL) StringFull(scheme, host string) string
- func (o *PatchUsersIDURL) WithBasePath(bp string) *PatchUsersIDURL
- type PostProjects
- type PostProjectsBadRequest
- type PostProjectsHandler
- type PostProjectsHandlerFunc
- type PostProjectsInternalServerError
- func (o *PostProjectsInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *PostProjectsInternalServerError) WithPayload(payload *models.ResponseBody500) *PostProjectsInternalServerError
- func (o *PostProjectsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostProjectsOK
- type PostProjectsParams
- type PostProjectsURL
- func (o *PostProjectsURL) Build() (*url.URL, error)
- func (o *PostProjectsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostProjectsURL) Must(u *url.URL, err error) *url.URL
- func (o *PostProjectsURL) SetBasePath(bp string)
- func (o *PostProjectsURL) String() string
- func (o *PostProjectsURL) StringFull(scheme, host string) string
- func (o *PostProjectsURL) WithBasePath(bp string) *PostProjectsURL
- type PostUsers
- type PostUsersBadRequest
- type PostUsersHandler
- type PostUsersHandlerFunc
- type PostUsersInternalServerError
- func (o *PostUsersInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *PostUsersInternalServerError) WithPayload(payload *models.ResponseBody500) *PostUsersInternalServerError
- func (o *PostUsersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostUsersOK
- type PostUsersParams
- type PostUsersURL
- func (o *PostUsersURL) Build() (*url.URL, error)
- func (o *PostUsersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostUsersURL) Must(u *url.URL, err error) *url.URL
- func (o *PostUsersURL) SetBasePath(bp string)
- func (o *PostUsersURL) String() string
- func (o *PostUsersURL) StringFull(scheme, host string) string
- func (o *PostUsersURL) WithBasePath(bp string) *PostUsersURL
Constants ¶
const DeleteUsersIDForbiddenCode int = 403
DeleteUsersIDForbiddenCode is the HTTP code returned for type DeleteUsersIDForbidden
const DeleteUsersIDInternalServerErrorCode int = 500
DeleteUsersIDInternalServerErrorCode is the HTTP code returned for type DeleteUsersIDInternalServerError
const DeleteUsersIDNotFoundCode int = 404
DeleteUsersIDNotFoundCode is the HTTP code returned for type DeleteUsersIDNotFound
const DeleteUsersIDOKCode int = 200
DeleteUsersIDOKCode is the HTTP code returned for type DeleteUsersIDOK
const GetMetricsOKCode int = 200
GetMetricsOKCode is the HTTP code returned for type GetMetricsOK
const GetPingInternalServerErrorCode int = 500
GetPingInternalServerErrorCode is the HTTP code returned for type GetPingInternalServerError
const GetPingOKCode int = 200
GetPingOKCode is the HTTP code returned for type GetPingOK
const GetProjectsIDBadRequestCode int = 400
GetProjectsIDBadRequestCode is the HTTP code returned for type GetProjectsIDBadRequest
const GetProjectsIDInternalServerErrorCode int = 500
GetProjectsIDInternalServerErrorCode is the HTTP code returned for type GetProjectsIDInternalServerError
const GetProjectsIDNotFoundCode int = 404
GetProjectsIDNotFoundCode is the HTTP code returned for type GetProjectsIDNotFound
const GetProjectsIDOKCode int = 200
GetProjectsIDOKCode is the HTTP code returned for type GetProjectsIDOK
const GetProjectsInternalServerErrorCode int = 500
GetProjectsInternalServerErrorCode is the HTTP code returned for type GetProjectsInternalServerError
const GetProjectsOKCode int = 200
GetProjectsOKCode is the HTTP code returned for type GetProjectsOK
const GetTasksTypeIDBadRequestCode int = 400
GetTasksTypeIDBadRequestCode is the HTTP code returned for type GetTasksTypeIDBadRequest
const GetTasksTypeIDInternalServerErrorCode int = 500
GetTasksTypeIDInternalServerErrorCode is the HTTP code returned for type GetTasksTypeIDInternalServerError
const GetTasksTypeIDNotFoundCode int = 404
GetTasksTypeIDNotFoundCode is the HTTP code returned for type GetTasksTypeIDNotFound
const GetTasksTypeIDOKCode int = 200
GetTasksTypeIDOKCode is the HTTP code returned for type GetTasksTypeIDOK
const GetUsersIDBadRequestCode int = 400
GetUsersIDBadRequestCode is the HTTP code returned for type GetUsersIDBadRequest
const GetUsersIDInternalServerErrorCode int = 500
GetUsersIDInternalServerErrorCode is the HTTP code returned for type GetUsersIDInternalServerError
const GetUsersIDNotFoundCode int = 404
GetUsersIDNotFoundCode is the HTTP code returned for type GetUsersIDNotFound
const GetUsersIDOKCode int = 200
GetUsersIDOKCode is the HTTP code returned for type GetUsersIDOK
const GetUsersInternalServerErrorCode int = 500
GetUsersInternalServerErrorCode is the HTTP code returned for type GetUsersInternalServerError
const GetUsersOKCode int = 200
GetUsersOKCode is the HTTP code returned for type GetUsersOK
const PatchProjectsIDBadRequestCode int = 400
PatchProjectsIDBadRequestCode is the HTTP code returned for type PatchProjectsIDBadRequest
const PatchProjectsIDInternalServerErrorCode int = 500
PatchProjectsIDInternalServerErrorCode is the HTTP code returned for type PatchProjectsIDInternalServerError
const PatchProjectsIDNoContentCode int = 204
PatchProjectsIDNoContentCode is the HTTP code returned for type PatchProjectsIDNoContent
const PatchProjectsIDNotFoundCode int = 404
PatchProjectsIDNotFoundCode is the HTTP code returned for type PatchProjectsIDNotFound
const PatchProjectsIDOKCode int = 200
PatchProjectsIDOKCode is the HTTP code returned for type PatchProjectsIDOK
const PatchUsersIDBadRequestCode int = 400
PatchUsersIDBadRequestCode is the HTTP code returned for type PatchUsersIDBadRequest
const PatchUsersIDInternalServerErrorCode int = 500
PatchUsersIDInternalServerErrorCode is the HTTP code returned for type PatchUsersIDInternalServerError
const PatchUsersIDNoContentCode int = 204
PatchUsersIDNoContentCode is the HTTP code returned for type PatchUsersIDNoContent
const PatchUsersIDNotFoundCode int = 404
PatchUsersIDNotFoundCode is the HTTP code returned for type PatchUsersIDNotFound
const PatchUsersIDOKCode int = 200
PatchUsersIDOKCode is the HTTP code returned for type PatchUsersIDOK
const PostProjectsBadRequestCode int = 400
PostProjectsBadRequestCode is the HTTP code returned for type PostProjectsBadRequest
const PostProjectsInternalServerErrorCode int = 500
PostProjectsInternalServerErrorCode is the HTTP code returned for type PostProjectsInternalServerError
const PostProjectsOKCode int = 200
PostProjectsOKCode is the HTTP code returned for type PostProjectsOK
const PostUsersBadRequestCode int = 400
PostUsersBadRequestCode is the HTTP code returned for type PostUsersBadRequest
const PostUsersInternalServerErrorCode int = 500
PostUsersInternalServerErrorCode is the HTTP code returned for type PostUsersInternalServerError
const PostUsersOKCode int = 200
PostUsersOKCode is the HTTP code returned for type PostUsersOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteUsersID ¶
type DeleteUsersID struct { Context *middleware.Context Handler DeleteUsersIDHandler }
DeleteUsersID swagger:route DELETE /users/{id} deleteUsersId
delete home directory of an existing user.
func NewDeleteUsersID ¶
func NewDeleteUsersID(ctx *middleware.Context, handler DeleteUsersIDHandler) *DeleteUsersID
NewDeleteUsersID creates a new http.Handler for the delete users ID operation
func (*DeleteUsersID) ServeHTTP ¶
func (o *DeleteUsersID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteUsersIDForbidden ¶
type DeleteUsersIDForbidden struct { /* In: Body */ Payload *models.ResponseBody403 `json:"body,omitempty"` }
DeleteUsersIDForbidden home directory deletion is rejected by the server due to, for example, home directory is not empty
swagger:response deleteUsersIdForbidden
func NewDeleteUsersIDForbidden ¶
func NewDeleteUsersIDForbidden() *DeleteUsersIDForbidden
NewDeleteUsersIDForbidden creates DeleteUsersIDForbidden with default headers values
func (*DeleteUsersIDForbidden) SetPayload ¶
func (o *DeleteUsersIDForbidden) SetPayload(payload *models.ResponseBody403)
SetPayload sets the payload to the delete users Id forbidden response
func (*DeleteUsersIDForbidden) WithPayload ¶
func (o *DeleteUsersIDForbidden) WithPayload(payload *models.ResponseBody403) *DeleteUsersIDForbidden
WithPayload adds the payload to the delete users Id forbidden response
func (*DeleteUsersIDForbidden) WriteResponse ¶
func (o *DeleteUsersIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUsersIDHandler ¶
type DeleteUsersIDHandler interface {
Handle(DeleteUsersIDParams, *models.Principle) middleware.Responder
}
DeleteUsersIDHandler interface for that can handle valid delete users ID params
type DeleteUsersIDHandlerFunc ¶
type DeleteUsersIDHandlerFunc func(DeleteUsersIDParams, *models.Principle) middleware.Responder
DeleteUsersIDHandlerFunc turns a function with the right signature into a delete users ID handler
func (DeleteUsersIDHandlerFunc) Handle ¶
func (fn DeleteUsersIDHandlerFunc) Handle(params DeleteUsersIDParams, principal *models.Principle) middleware.Responder
Handle executing the request and returning a response
type DeleteUsersIDInternalServerError ¶
type DeleteUsersIDInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
DeleteUsersIDInternalServerError failure
swagger:response deleteUsersIdInternalServerError
func NewDeleteUsersIDInternalServerError ¶
func NewDeleteUsersIDInternalServerError() *DeleteUsersIDInternalServerError
NewDeleteUsersIDInternalServerError creates DeleteUsersIDInternalServerError with default headers values
func (*DeleteUsersIDInternalServerError) SetPayload ¶
func (o *DeleteUsersIDInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the delete users Id internal server error response
func (*DeleteUsersIDInternalServerError) WithPayload ¶
func (o *DeleteUsersIDInternalServerError) WithPayload(payload *models.ResponseBody500) *DeleteUsersIDInternalServerError
WithPayload adds the payload to the delete users Id internal server error response
func (*DeleteUsersIDInternalServerError) WriteResponse ¶
func (o *DeleteUsersIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUsersIDNotFound ¶
type DeleteUsersIDNotFound struct { /* In: Body */ Payload string `json:"body,omitempty"` }
DeleteUsersIDNotFound user or user's home directory not found
swagger:response deleteUsersIdNotFound
func NewDeleteUsersIDNotFound ¶
func NewDeleteUsersIDNotFound() *DeleteUsersIDNotFound
NewDeleteUsersIDNotFound creates DeleteUsersIDNotFound with default headers values
func (*DeleteUsersIDNotFound) SetPayload ¶
func (o *DeleteUsersIDNotFound) SetPayload(payload string)
SetPayload sets the payload to the delete users Id not found response
func (*DeleteUsersIDNotFound) WithPayload ¶
func (o *DeleteUsersIDNotFound) WithPayload(payload string) *DeleteUsersIDNotFound
WithPayload adds the payload to the delete users Id not found response
func (*DeleteUsersIDNotFound) WriteResponse ¶
func (o *DeleteUsersIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUsersIDOK ¶
type DeleteUsersIDOK struct { /* In: Body */ Payload *models.ResponseBodyTaskResource `json:"body,omitempty"` }
DeleteUsersIDOK success
swagger:response deleteUsersIdOK
func NewDeleteUsersIDOK ¶
func NewDeleteUsersIDOK() *DeleteUsersIDOK
NewDeleteUsersIDOK creates DeleteUsersIDOK with default headers values
func (*DeleteUsersIDOK) SetPayload ¶
func (o *DeleteUsersIDOK) SetPayload(payload *models.ResponseBodyTaskResource)
SetPayload sets the payload to the delete users Id o k response
func (*DeleteUsersIDOK) WithPayload ¶
func (o *DeleteUsersIDOK) WithPayload(payload *models.ResponseBodyTaskResource) *DeleteUsersIDOK
WithPayload adds the payload to the delete users Id o k response
func (*DeleteUsersIDOK) WriteResponse ¶
func (o *DeleteUsersIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUsersIDParams ¶
type DeleteUsersIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*user identifier Required: true In: path */ ID string }
DeleteUsersIDParams contains all the bound params for the delete users ID operation typically these are obtained from a http.Request
swagger:parameters DeleteUsersID
func NewDeleteUsersIDParams ¶
func NewDeleteUsersIDParams() DeleteUsersIDParams
NewDeleteUsersIDParams creates a new DeleteUsersIDParams object
There are no default values defined in the spec.
func (*DeleteUsersIDParams) BindRequest ¶
func (o *DeleteUsersIDParams) 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 NewDeleteUsersIDParams() beforehand.
type DeleteUsersIDURL ¶
type DeleteUsersIDURL struct { ID string // contains filtered or unexported fields }
DeleteUsersIDURL generates an URL for the delete users ID operation
func (*DeleteUsersIDURL) Build ¶
func (o *DeleteUsersIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteUsersIDURL) BuildFull ¶
func (o *DeleteUsersIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteUsersIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteUsersIDURL) SetBasePath ¶
func (o *DeleteUsersIDURL) 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 (*DeleteUsersIDURL) String ¶
func (o *DeleteUsersIDURL) String() string
String returns the string representation of the path with query string
func (*DeleteUsersIDURL) StringFull ¶
func (o *DeleteUsersIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteUsersIDURL) WithBasePath ¶
func (o *DeleteUsersIDURL) WithBasePath(bp string) *DeleteUsersIDURL
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 FilerGatewayAPI ¶
type FilerGatewayAPI 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 the following mime types: // - application/json JSONConsumer runtime.Consumer // JSONProducer registers a producer for the following mime types: // - application/json JSONProducer runtime.Producer // APIKeyHeaderAuth registers a function that takes a token and returns a principal // it performs authentication based on an api key X-API-Key provided in the header APIKeyHeaderAuth func(string) (*models.Principle, error) // BasicAuthAuth registers a function that takes username and password and returns a principal // it performs authentication with basic auth BasicAuthAuth func(string, string) (*models.Principle, error) // Oauth2Auth registers a function that takes an access token and a collection of required scopes and returns a principal // it performs authentication based on an oauth2 bearer token provided in the request Oauth2Auth func(string, []string) (*models.Principle, error) // APIAuthorizer provides access control (ACL/RBAC/ABAC) by providing access to the request and authenticated principal APIAuthorizer runtime.Authorizer // DeleteUsersIDHandler sets the operation handler for the delete users ID operation DeleteUsersIDHandler DeleteUsersIDHandler // GetMetricsHandler sets the operation handler for the get metrics operation GetMetricsHandler GetMetricsHandler // GetPingHandler sets the operation handler for the get ping operation GetPingHandler GetPingHandler // GetProjectsHandler sets the operation handler for the get projects operation GetProjectsHandler GetProjectsHandler // GetProjectsIDHandler sets the operation handler for the get projects ID operation GetProjectsIDHandler GetProjectsIDHandler // GetTasksTypeIDHandler sets the operation handler for the get tasks type ID operation GetTasksTypeIDHandler GetTasksTypeIDHandler // GetUsersHandler sets the operation handler for the get users operation GetUsersHandler GetUsersHandler // GetUsersIDHandler sets the operation handler for the get users ID operation GetUsersIDHandler GetUsersIDHandler // PatchProjectsIDHandler sets the operation handler for the patch projects ID operation PatchProjectsIDHandler PatchProjectsIDHandler // PatchUsersIDHandler sets the operation handler for the patch users ID operation PatchUsersIDHandler PatchUsersIDHandler // PostProjectsHandler sets the operation handler for the post projects operation PostProjectsHandler PostProjectsHandler // PostUsersHandler sets the operation handler for the post users operation PostUsersHandler PostUsersHandler // 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) // PreServerShutdown is called before the HTTP(S) server is shutdown // This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic PreServerShutdown func() // 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 }
FilerGatewayAPI filer gateway APIs
func NewFilerGatewayAPI ¶
func NewFilerGatewayAPI(spec *loads.Document) *FilerGatewayAPI
NewFilerGatewayAPI creates a new FilerGateway instance
func (*FilerGatewayAPI) AddMiddlewareFor ¶
func (o *FilerGatewayAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
AddMiddlewareFor adds a http middleware to existing handler
func (*FilerGatewayAPI) AuthenticatorsFor ¶
func (o *FilerGatewayAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
AuthenticatorsFor gets the authenticators for the specified security schemes
func (*FilerGatewayAPI) Authorizer ¶
func (o *FilerGatewayAPI) Authorizer() runtime.Authorizer
Authorizer returns the registered authorizer
func (*FilerGatewayAPI) ConsumersFor ¶
func (o *FilerGatewayAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.
func (*FilerGatewayAPI) Context ¶
func (o *FilerGatewayAPI) Context() *middleware.Context
Context returns the middleware context for the filer gateway API
func (*FilerGatewayAPI) DefaultConsumes ¶
func (o *FilerGatewayAPI) DefaultConsumes() string
DefaultConsumes returns the default consumes media type
func (*FilerGatewayAPI) DefaultProduces ¶
func (o *FilerGatewayAPI) DefaultProduces() string
DefaultProduces returns the default produces media type
func (*FilerGatewayAPI) Formats ¶
func (o *FilerGatewayAPI) Formats() strfmt.Registry
Formats returns the registered string formats
func (*FilerGatewayAPI) HandlerFor ¶
func (o *FilerGatewayAPI) HandlerFor(method, path string) (http.Handler, bool)
HandlerFor gets a http.Handler for the provided operation method and path
func (*FilerGatewayAPI) Init ¶
func (o *FilerGatewayAPI) Init()
Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit
func (*FilerGatewayAPI) ProducersFor ¶
func (o *FilerGatewayAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.
func (*FilerGatewayAPI) RegisterConsumer ¶
func (o *FilerGatewayAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
RegisterConsumer allows you to add (or override) a consumer for a media type.
func (*FilerGatewayAPI) RegisterFormat ¶
func (o *FilerGatewayAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
RegisterFormat registers a custom format validator
func (*FilerGatewayAPI) RegisterProducer ¶
func (o *FilerGatewayAPI) RegisterProducer(mediaType string, producer runtime.Producer)
RegisterProducer allows you to add (or override) a producer for a media type.
func (*FilerGatewayAPI) Serve ¶
func (o *FilerGatewayAPI) 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 (*FilerGatewayAPI) ServeErrorFor ¶
func (o *FilerGatewayAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
ServeErrorFor gets a error handler for a given operation id
func (*FilerGatewayAPI) SetDefaultConsumes ¶
func (o *FilerGatewayAPI) SetDefaultConsumes(mediaType string)
SetDefaultConsumes returns the default consumes media type
func (*FilerGatewayAPI) SetDefaultProduces ¶
func (o *FilerGatewayAPI) SetDefaultProduces(mediaType string)
SetDefaultProduces sets the default produces media type
func (*FilerGatewayAPI) SetSpec ¶
func (o *FilerGatewayAPI) SetSpec(spec *loads.Document)
SetSpec sets a spec that will be served for the clients.
func (*FilerGatewayAPI) UseRedoc ¶
func (o *FilerGatewayAPI) UseRedoc()
UseRedoc for documentation at /docs
func (*FilerGatewayAPI) UseSwaggerUI ¶
func (o *FilerGatewayAPI) UseSwaggerUI()
UseSwaggerUI for documentation at /docs
func (*FilerGatewayAPI) Validate ¶
func (o *FilerGatewayAPI) Validate() error
Validate validates the registrations in the FilerGatewayAPI
type GetMetrics ¶
type GetMetrics struct { Context *middleware.Context Handler GetMetricsHandler }
GetMetrics swagger:route GET /metrics getMetrics
Prometheus metrics
func NewGetMetrics ¶
func NewGetMetrics(ctx *middleware.Context, handler GetMetricsHandler) *GetMetrics
NewGetMetrics creates a new http.Handler for the get metrics operation
func (*GetMetrics) ServeHTTP ¶
func (o *GetMetrics) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetMetricsHandler ¶
type GetMetricsHandler interface {
Handle(GetMetricsParams) middleware.Responder
}
GetMetricsHandler interface for that can handle valid get metrics params
type GetMetricsHandlerFunc ¶
type GetMetricsHandlerFunc func(GetMetricsParams) middleware.Responder
GetMetricsHandlerFunc turns a function with the right signature into a get metrics handler
func (GetMetricsHandlerFunc) Handle ¶
func (fn GetMetricsHandlerFunc) Handle(params GetMetricsParams) middleware.Responder
Handle executing the request and returning a response
type GetMetricsOK ¶
type GetMetricsOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetMetricsOK ok
swagger:response getMetricsOK
func NewGetMetricsOK ¶
func NewGetMetricsOK() *GetMetricsOK
NewGetMetricsOK creates GetMetricsOK with default headers values
func (*GetMetricsOK) SetPayload ¶
func (o *GetMetricsOK) SetPayload(payload string)
SetPayload sets the payload to the get metrics o k response
func (*GetMetricsOK) WithPayload ¶
func (o *GetMetricsOK) WithPayload(payload string) *GetMetricsOK
WithPayload adds the payload to the get metrics o k response
func (*GetMetricsOK) WriteResponse ¶
func (o *GetMetricsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMetricsParams ¶
GetMetricsParams contains all the bound params for the get metrics operation typically these are obtained from a http.Request
swagger:parameters GetMetrics
func NewGetMetricsParams ¶
func NewGetMetricsParams() GetMetricsParams
NewGetMetricsParams creates a new GetMetricsParams object
There are no default values defined in the spec.
func (*GetMetricsParams) BindRequest ¶
func (o *GetMetricsParams) 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 NewGetMetricsParams() beforehand.
type GetMetricsURL ¶
type GetMetricsURL struct {
// contains filtered or unexported fields
}
GetMetricsURL generates an URL for the get metrics operation
func (*GetMetricsURL) Build ¶
func (o *GetMetricsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetMetricsURL) BuildFull ¶
func (o *GetMetricsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetMetricsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetMetricsURL) SetBasePath ¶
func (o *GetMetricsURL) 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 (*GetMetricsURL) String ¶
func (o *GetMetricsURL) String() string
String returns the string representation of the path with query string
func (*GetMetricsURL) StringFull ¶
func (o *GetMetricsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetMetricsURL) WithBasePath ¶
func (o *GetMetricsURL) WithBasePath(bp string) *GetMetricsURL
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 GetPing ¶
type GetPing struct { Context *middleware.Context Handler GetPingHandler }
GetPing swagger:route GET /ping getPing
endpoint for API server health check.
func NewGetPing ¶
func NewGetPing(ctx *middleware.Context, handler GetPingHandler) *GetPing
NewGetPing creates a new http.Handler for the get ping operation
type GetPingHandler ¶
type GetPingHandler interface {
Handle(GetPingParams, *models.Principle) middleware.Responder
}
GetPingHandler interface for that can handle valid get ping params
type GetPingHandlerFunc ¶
type GetPingHandlerFunc func(GetPingParams, *models.Principle) middleware.Responder
GetPingHandlerFunc turns a function with the right signature into a get ping handler
func (GetPingHandlerFunc) Handle ¶
func (fn GetPingHandlerFunc) Handle(params GetPingParams, principal *models.Principle) middleware.Responder
Handle executing the request and returning a response
type GetPingInternalServerError ¶
type GetPingInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetPingInternalServerError failure
swagger:response getPingInternalServerError
func NewGetPingInternalServerError ¶
func NewGetPingInternalServerError() *GetPingInternalServerError
NewGetPingInternalServerError creates GetPingInternalServerError with default headers values
func (*GetPingInternalServerError) SetPayload ¶
func (o *GetPingInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get ping internal server error response
func (*GetPingInternalServerError) WithPayload ¶
func (o *GetPingInternalServerError) WithPayload(payload *models.ResponseBody500) *GetPingInternalServerError
WithPayload adds the payload to the get ping internal server error response
func (*GetPingInternalServerError) WriteResponse ¶
func (o *GetPingInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPingOK ¶
type GetPingOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetPingOK success
swagger:response getPingOK
func NewGetPingOK ¶
func NewGetPingOK() *GetPingOK
NewGetPingOK creates GetPingOK with default headers values
func (*GetPingOK) SetPayload ¶
SetPayload sets the payload to the get ping o k response
func (*GetPingOK) WithPayload ¶
WithPayload adds the payload to the get ping o k response
func (*GetPingOK) WriteResponse ¶
func (o *GetPingOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPingParams ¶
GetPingParams contains all the bound params for the get ping operation typically these are obtained from a http.Request
swagger:parameters GetPing
func NewGetPingParams ¶
func NewGetPingParams() GetPingParams
NewGetPingParams creates a new GetPingParams object
There are no default values defined in the spec.
func (*GetPingParams) BindRequest ¶
func (o *GetPingParams) 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 NewGetPingParams() beforehand.
type GetPingURL ¶
type GetPingURL struct {
// contains filtered or unexported fields
}
GetPingURL generates an URL for the get ping operation
func (*GetPingURL) Build ¶
func (o *GetPingURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPingURL) BuildFull ¶
func (o *GetPingURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPingURL) SetBasePath ¶
func (o *GetPingURL) 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 (*GetPingURL) String ¶
func (o *GetPingURL) String() string
String returns the string representation of the path with query string
func (*GetPingURL) StringFull ¶
func (o *GetPingURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPingURL) WithBasePath ¶
func (o *GetPingURL) WithBasePath(bp string) *GetPingURL
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 getProjects
get filer resources of all 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 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 GetProjectsID ¶
type GetProjectsID struct { Context *middleware.Context Handler GetProjectsIDHandler }
GetProjectsID swagger:route GET /projects/{id} getProjectsId
get filer resource for an existing project.
func NewGetProjectsID ¶
func NewGetProjectsID(ctx *middleware.Context, handler GetProjectsIDHandler) *GetProjectsID
NewGetProjectsID creates a new http.Handler for the get projects ID operation
func (*GetProjectsID) ServeHTTP ¶
func (o *GetProjectsID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetProjectsIDBadRequest ¶
type GetProjectsIDBadRequest struct { /* In: Body */ Payload *models.ResponseBody400 `json:"body,omitempty"` }
GetProjectsIDBadRequest bad request
swagger:response getProjectsIdBadRequest
func NewGetProjectsIDBadRequest ¶
func NewGetProjectsIDBadRequest() *GetProjectsIDBadRequest
NewGetProjectsIDBadRequest creates GetProjectsIDBadRequest with default headers values
func (*GetProjectsIDBadRequest) SetPayload ¶
func (o *GetProjectsIDBadRequest) SetPayload(payload *models.ResponseBody400)
SetPayload sets the payload to the get projects Id bad request response
func (*GetProjectsIDBadRequest) WithPayload ¶
func (o *GetProjectsIDBadRequest) WithPayload(payload *models.ResponseBody400) *GetProjectsIDBadRequest
WithPayload adds the payload to the get projects Id bad request response
func (*GetProjectsIDBadRequest) WriteResponse ¶
func (o *GetProjectsIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectsIDHandler ¶
type GetProjectsIDHandler interface {
Handle(GetProjectsIDParams) middleware.Responder
}
GetProjectsIDHandler interface for that can handle valid get projects ID params
type GetProjectsIDHandlerFunc ¶
type GetProjectsIDHandlerFunc func(GetProjectsIDParams) middleware.Responder
GetProjectsIDHandlerFunc turns a function with the right signature into a get projects ID handler
func (GetProjectsIDHandlerFunc) Handle ¶
func (fn GetProjectsIDHandlerFunc) Handle(params GetProjectsIDParams) middleware.Responder
Handle executing the request and returning a response
type GetProjectsIDInternalServerError ¶
type GetProjectsIDInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetProjectsIDInternalServerError failure
swagger:response getProjectsIdInternalServerError
func NewGetProjectsIDInternalServerError ¶
func NewGetProjectsIDInternalServerError() *GetProjectsIDInternalServerError
NewGetProjectsIDInternalServerError creates GetProjectsIDInternalServerError with default headers values
func (*GetProjectsIDInternalServerError) SetPayload ¶
func (o *GetProjectsIDInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get projects Id internal server error response
func (*GetProjectsIDInternalServerError) WithPayload ¶
func (o *GetProjectsIDInternalServerError) WithPayload(payload *models.ResponseBody500) *GetProjectsIDInternalServerError
WithPayload adds the payload to the get projects Id internal server error response
func (*GetProjectsIDInternalServerError) WriteResponse ¶
func (o *GetProjectsIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectsIDNotFound ¶
type GetProjectsIDNotFound struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetProjectsIDNotFound project not found
swagger:response getProjectsIdNotFound
func NewGetProjectsIDNotFound ¶
func NewGetProjectsIDNotFound() *GetProjectsIDNotFound
NewGetProjectsIDNotFound creates GetProjectsIDNotFound with default headers values
func (*GetProjectsIDNotFound) SetPayload ¶
func (o *GetProjectsIDNotFound) SetPayload(payload string)
SetPayload sets the payload to the get projects Id not found response
func (*GetProjectsIDNotFound) WithPayload ¶
func (o *GetProjectsIDNotFound) WithPayload(payload string) *GetProjectsIDNotFound
WithPayload adds the payload to the get projects Id not found response
func (*GetProjectsIDNotFound) WriteResponse ¶
func (o *GetProjectsIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectsIDOK ¶
type GetProjectsIDOK struct { /* In: Body */ Payload *models.ResponseBodyProjectResource `json:"body,omitempty"` }
GetProjectsIDOK success
swagger:response getProjectsIdOK
func NewGetProjectsIDOK ¶
func NewGetProjectsIDOK() *GetProjectsIDOK
NewGetProjectsIDOK creates GetProjectsIDOK with default headers values
func (*GetProjectsIDOK) SetPayload ¶
func (o *GetProjectsIDOK) SetPayload(payload *models.ResponseBodyProjectResource)
SetPayload sets the payload to the get projects Id o k response
func (*GetProjectsIDOK) WithPayload ¶
func (o *GetProjectsIDOK) WithPayload(payload *models.ResponseBodyProjectResource) *GetProjectsIDOK
WithPayload adds the payload to the get projects Id o k response
func (*GetProjectsIDOK) WriteResponse ¶
func (o *GetProjectsIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectsIDParams ¶
type GetProjectsIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*project identifier Required: true In: path */ ID string }
GetProjectsIDParams contains all the bound params for the get projects ID operation typically these are obtained from a http.Request
swagger:parameters GetProjectsID
func NewGetProjectsIDParams ¶
func NewGetProjectsIDParams() GetProjectsIDParams
NewGetProjectsIDParams creates a new GetProjectsIDParams object
There are no default values defined in the spec.
func (*GetProjectsIDParams) BindRequest ¶
func (o *GetProjectsIDParams) 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 NewGetProjectsIDParams() beforehand.
type GetProjectsIDURL ¶
type GetProjectsIDURL struct { ID string // contains filtered or unexported fields }
GetProjectsIDURL generates an URL for the get projects ID operation
func (*GetProjectsIDURL) Build ¶
func (o *GetProjectsIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetProjectsIDURL) BuildFull ¶
func (o *GetProjectsIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetProjectsIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetProjectsIDURL) SetBasePath ¶
func (o *GetProjectsIDURL) 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 (*GetProjectsIDURL) String ¶
func (o *GetProjectsIDURL) String() string
String returns the string representation of the path with query string
func (*GetProjectsIDURL) StringFull ¶
func (o *GetProjectsIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetProjectsIDURL) WithBasePath ¶
func (o *GetProjectsIDURL) WithBasePath(bp string) *GetProjectsIDURL
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 GetProjectsInternalServerError ¶
type GetProjectsInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetProjectsInternalServerError failure
swagger:response getProjectsInternalServerError
func NewGetProjectsInternalServerError ¶
func NewGetProjectsInternalServerError() *GetProjectsInternalServerError
NewGetProjectsInternalServerError creates GetProjectsInternalServerError with default headers values
func (*GetProjectsInternalServerError) SetPayload ¶
func (o *GetProjectsInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get projects internal server error response
func (*GetProjectsInternalServerError) WithPayload ¶
func (o *GetProjectsInternalServerError) WithPayload(payload *models.ResponseBody500) *GetProjectsInternalServerError
WithPayload adds the payload to the get projects internal server error response
func (*GetProjectsInternalServerError) WriteResponse ¶
func (o *GetProjectsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectsOK ¶
type GetProjectsOK struct { /* In: Body */ Payload *models.ResponseBodyProjects `json:"body,omitempty"` }
GetProjectsOK success
swagger:response getProjectsOK
func NewGetProjectsOK ¶
func NewGetProjectsOK() *GetProjectsOK
NewGetProjectsOK creates GetProjectsOK with default headers values
func (*GetProjectsOK) SetPayload ¶
func (o *GetProjectsOK) SetPayload(payload *models.ResponseBodyProjects)
SetPayload sets the payload to the get projects o k response
func (*GetProjectsOK) WithPayload ¶
func (o *GetProjectsOK) WithPayload(payload *models.ResponseBodyProjects) *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
There are no default values defined in the spec.
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.
To ensure default values, the struct must have been initialized with NewGetProjectsParams() beforehand.
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 GetTasksTypeID ¶
type GetTasksTypeID struct { Context *middleware.Context Handler GetTasksTypeIDHandler }
GetTasksTypeID swagger:route GET /tasks/{type}/{id} getTasksTypeId
query background task status
func NewGetTasksTypeID ¶
func NewGetTasksTypeID(ctx *middleware.Context, handler GetTasksTypeIDHandler) *GetTasksTypeID
NewGetTasksTypeID creates a new http.Handler for the get tasks type ID operation
func (*GetTasksTypeID) ServeHTTP ¶
func (o *GetTasksTypeID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTasksTypeIDBadRequest ¶
type GetTasksTypeIDBadRequest struct { /* In: Body */ Payload *models.ResponseBody400 `json:"body,omitempty"` }
GetTasksTypeIDBadRequest bad request
swagger:response getTasksTypeIdBadRequest
func NewGetTasksTypeIDBadRequest ¶
func NewGetTasksTypeIDBadRequest() *GetTasksTypeIDBadRequest
NewGetTasksTypeIDBadRequest creates GetTasksTypeIDBadRequest with default headers values
func (*GetTasksTypeIDBadRequest) SetPayload ¶
func (o *GetTasksTypeIDBadRequest) SetPayload(payload *models.ResponseBody400)
SetPayload sets the payload to the get tasks type Id bad request response
func (*GetTasksTypeIDBadRequest) WithPayload ¶
func (o *GetTasksTypeIDBadRequest) WithPayload(payload *models.ResponseBody400) *GetTasksTypeIDBadRequest
WithPayload adds the payload to the get tasks type Id bad request response
func (*GetTasksTypeIDBadRequest) WriteResponse ¶
func (o *GetTasksTypeIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTasksTypeIDHandler ¶
type GetTasksTypeIDHandler interface {
Handle(GetTasksTypeIDParams) middleware.Responder
}
GetTasksTypeIDHandler interface for that can handle valid get tasks type ID params
type GetTasksTypeIDHandlerFunc ¶
type GetTasksTypeIDHandlerFunc func(GetTasksTypeIDParams) middleware.Responder
GetTasksTypeIDHandlerFunc turns a function with the right signature into a get tasks type ID handler
func (GetTasksTypeIDHandlerFunc) Handle ¶
func (fn GetTasksTypeIDHandlerFunc) Handle(params GetTasksTypeIDParams) middleware.Responder
Handle executing the request and returning a response
type GetTasksTypeIDInternalServerError ¶
type GetTasksTypeIDInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetTasksTypeIDInternalServerError failure
swagger:response getTasksTypeIdInternalServerError
func NewGetTasksTypeIDInternalServerError ¶
func NewGetTasksTypeIDInternalServerError() *GetTasksTypeIDInternalServerError
NewGetTasksTypeIDInternalServerError creates GetTasksTypeIDInternalServerError with default headers values
func (*GetTasksTypeIDInternalServerError) SetPayload ¶
func (o *GetTasksTypeIDInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get tasks type Id internal server error response
func (*GetTasksTypeIDInternalServerError) WithPayload ¶
func (o *GetTasksTypeIDInternalServerError) WithPayload(payload *models.ResponseBody500) *GetTasksTypeIDInternalServerError
WithPayload adds the payload to the get tasks type Id internal server error response
func (*GetTasksTypeIDInternalServerError) WriteResponse ¶
func (o *GetTasksTypeIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTasksTypeIDNotFound ¶
type GetTasksTypeIDNotFound struct { }
GetTasksTypeIDNotFound task not found
swagger:response getTasksTypeIdNotFound
func NewGetTasksTypeIDNotFound ¶
func NewGetTasksTypeIDNotFound() *GetTasksTypeIDNotFound
NewGetTasksTypeIDNotFound creates GetTasksTypeIDNotFound with default headers values
func (*GetTasksTypeIDNotFound) WriteResponse ¶
func (o *GetTasksTypeIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTasksTypeIDOK ¶
type GetTasksTypeIDOK struct { /* In: Body */ Payload *models.ResponseBodyTaskResource `json:"body,omitempty"` }
GetTasksTypeIDOK success
swagger:response getTasksTypeIdOK
func NewGetTasksTypeIDOK ¶
func NewGetTasksTypeIDOK() *GetTasksTypeIDOK
NewGetTasksTypeIDOK creates GetTasksTypeIDOK with default headers values
func (*GetTasksTypeIDOK) SetPayload ¶
func (o *GetTasksTypeIDOK) SetPayload(payload *models.ResponseBodyTaskResource)
SetPayload sets the payload to the get tasks type Id o k response
func (*GetTasksTypeIDOK) WithPayload ¶
func (o *GetTasksTypeIDOK) WithPayload(payload *models.ResponseBodyTaskResource) *GetTasksTypeIDOK
WithPayload adds the payload to the get tasks type Id o k response
func (*GetTasksTypeIDOK) WriteResponse ¶
func (o *GetTasksTypeIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTasksTypeIDParams ¶
type GetTasksTypeIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*task identifier Required: true In: path */ ID string /*task type Required: true In: path */ Type string }
GetTasksTypeIDParams contains all the bound params for the get tasks type ID operation typically these are obtained from a http.Request
swagger:parameters GetTasksTypeID
func NewGetTasksTypeIDParams ¶
func NewGetTasksTypeIDParams() GetTasksTypeIDParams
NewGetTasksTypeIDParams creates a new GetTasksTypeIDParams object
There are no default values defined in the spec.
func (*GetTasksTypeIDParams) BindRequest ¶
func (o *GetTasksTypeIDParams) 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 NewGetTasksTypeIDParams() beforehand.
type GetTasksTypeIDURL ¶
GetTasksTypeIDURL generates an URL for the get tasks type ID operation
func (*GetTasksTypeIDURL) Build ¶
func (o *GetTasksTypeIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTasksTypeIDURL) BuildFull ¶
func (o *GetTasksTypeIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTasksTypeIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTasksTypeIDURL) SetBasePath ¶
func (o *GetTasksTypeIDURL) 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 (*GetTasksTypeIDURL) String ¶
func (o *GetTasksTypeIDURL) String() string
String returns the string representation of the path with query string
func (*GetTasksTypeIDURL) StringFull ¶
func (o *GetTasksTypeIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTasksTypeIDURL) WithBasePath ¶
func (o *GetTasksTypeIDURL) WithBasePath(bp string) *GetTasksTypeIDURL
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 GetUsers ¶
type GetUsers struct { Context *middleware.Context Handler GetUsersHandler }
GetUsers swagger:route GET /users getUsers
get filer resources of all users.
func NewGetUsers ¶
func NewGetUsers(ctx *middleware.Context, handler GetUsersHandler) *GetUsers
NewGetUsers creates a new http.Handler for the get users operation
type GetUsersHandler ¶
type GetUsersHandler interface {
Handle(GetUsersParams) middleware.Responder
}
GetUsersHandler interface for that can handle valid get users params
type GetUsersHandlerFunc ¶
type GetUsersHandlerFunc func(GetUsersParams) middleware.Responder
GetUsersHandlerFunc turns a function with the right signature into a get users handler
func (GetUsersHandlerFunc) Handle ¶
func (fn GetUsersHandlerFunc) Handle(params GetUsersParams) middleware.Responder
Handle executing the request and returning a response
type GetUsersID ¶
type GetUsersID struct { Context *middleware.Context Handler GetUsersIDHandler }
GetUsersID swagger:route GET /users/{id} getUsersId
get filer resource for an existing user.
func NewGetUsersID ¶
func NewGetUsersID(ctx *middleware.Context, handler GetUsersIDHandler) *GetUsersID
NewGetUsersID creates a new http.Handler for the get users ID operation
func (*GetUsersID) ServeHTTP ¶
func (o *GetUsersID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetUsersIDBadRequest ¶
type GetUsersIDBadRequest struct { /* In: Body */ Payload *models.ResponseBody400 `json:"body,omitempty"` }
GetUsersIDBadRequest bad request
swagger:response getUsersIdBadRequest
func NewGetUsersIDBadRequest ¶
func NewGetUsersIDBadRequest() *GetUsersIDBadRequest
NewGetUsersIDBadRequest creates GetUsersIDBadRequest with default headers values
func (*GetUsersIDBadRequest) SetPayload ¶
func (o *GetUsersIDBadRequest) SetPayload(payload *models.ResponseBody400)
SetPayload sets the payload to the get users Id bad request response
func (*GetUsersIDBadRequest) WithPayload ¶
func (o *GetUsersIDBadRequest) WithPayload(payload *models.ResponseBody400) *GetUsersIDBadRequest
WithPayload adds the payload to the get users Id bad request response
func (*GetUsersIDBadRequest) WriteResponse ¶
func (o *GetUsersIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUsersIDHandler ¶
type GetUsersIDHandler interface {
Handle(GetUsersIDParams) middleware.Responder
}
GetUsersIDHandler interface for that can handle valid get users ID params
type GetUsersIDHandlerFunc ¶
type GetUsersIDHandlerFunc func(GetUsersIDParams) middleware.Responder
GetUsersIDHandlerFunc turns a function with the right signature into a get users ID handler
func (GetUsersIDHandlerFunc) Handle ¶
func (fn GetUsersIDHandlerFunc) Handle(params GetUsersIDParams) middleware.Responder
Handle executing the request and returning a response
type GetUsersIDInternalServerError ¶
type GetUsersIDInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetUsersIDInternalServerError failure
swagger:response getUsersIdInternalServerError
func NewGetUsersIDInternalServerError ¶
func NewGetUsersIDInternalServerError() *GetUsersIDInternalServerError
NewGetUsersIDInternalServerError creates GetUsersIDInternalServerError with default headers values
func (*GetUsersIDInternalServerError) SetPayload ¶
func (o *GetUsersIDInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get users Id internal server error response
func (*GetUsersIDInternalServerError) WithPayload ¶
func (o *GetUsersIDInternalServerError) WithPayload(payload *models.ResponseBody500) *GetUsersIDInternalServerError
WithPayload adds the payload to the get users Id internal server error response
func (*GetUsersIDInternalServerError) WriteResponse ¶
func (o *GetUsersIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUsersIDNotFound ¶
type GetUsersIDNotFound struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetUsersIDNotFound user not found
swagger:response getUsersIdNotFound
func NewGetUsersIDNotFound ¶
func NewGetUsersIDNotFound() *GetUsersIDNotFound
NewGetUsersIDNotFound creates GetUsersIDNotFound with default headers values
func (*GetUsersIDNotFound) SetPayload ¶
func (o *GetUsersIDNotFound) SetPayload(payload string)
SetPayload sets the payload to the get users Id not found response
func (*GetUsersIDNotFound) WithPayload ¶
func (o *GetUsersIDNotFound) WithPayload(payload string) *GetUsersIDNotFound
WithPayload adds the payload to the get users Id not found response
func (*GetUsersIDNotFound) WriteResponse ¶
func (o *GetUsersIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUsersIDOK ¶
type GetUsersIDOK struct { /* In: Body */ Payload *models.ResponseBodyUserResource `json:"body,omitempty"` }
GetUsersIDOK success
swagger:response getUsersIdOK
func NewGetUsersIDOK ¶
func NewGetUsersIDOK() *GetUsersIDOK
NewGetUsersIDOK creates GetUsersIDOK with default headers values
func (*GetUsersIDOK) SetPayload ¶
func (o *GetUsersIDOK) SetPayload(payload *models.ResponseBodyUserResource)
SetPayload sets the payload to the get users Id o k response
func (*GetUsersIDOK) WithPayload ¶
func (o *GetUsersIDOK) WithPayload(payload *models.ResponseBodyUserResource) *GetUsersIDOK
WithPayload adds the payload to the get users Id o k response
func (*GetUsersIDOK) WriteResponse ¶
func (o *GetUsersIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUsersIDParams ¶
type GetUsersIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*user identifier Required: true In: path */ ID string }
GetUsersIDParams contains all the bound params for the get users ID operation typically these are obtained from a http.Request
swagger:parameters GetUsersID
func NewGetUsersIDParams ¶
func NewGetUsersIDParams() GetUsersIDParams
NewGetUsersIDParams creates a new GetUsersIDParams object
There are no default values defined in the spec.
func (*GetUsersIDParams) BindRequest ¶
func (o *GetUsersIDParams) 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 NewGetUsersIDParams() beforehand.
type GetUsersIDURL ¶
type GetUsersIDURL struct { ID string // contains filtered or unexported fields }
GetUsersIDURL generates an URL for the get users ID operation
func (*GetUsersIDURL) Build ¶
func (o *GetUsersIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetUsersIDURL) BuildFull ¶
func (o *GetUsersIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetUsersIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetUsersIDURL) SetBasePath ¶
func (o *GetUsersIDURL) 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 (*GetUsersIDURL) String ¶
func (o *GetUsersIDURL) String() string
String returns the string representation of the path with query string
func (*GetUsersIDURL) StringFull ¶
func (o *GetUsersIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetUsersIDURL) WithBasePath ¶
func (o *GetUsersIDURL) WithBasePath(bp string) *GetUsersIDURL
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 GetUsersInternalServerError ¶
type GetUsersInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetUsersInternalServerError failure
swagger:response getUsersInternalServerError
func NewGetUsersInternalServerError ¶
func NewGetUsersInternalServerError() *GetUsersInternalServerError
NewGetUsersInternalServerError creates GetUsersInternalServerError with default headers values
func (*GetUsersInternalServerError) SetPayload ¶
func (o *GetUsersInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get users internal server error response
func (*GetUsersInternalServerError) WithPayload ¶
func (o *GetUsersInternalServerError) WithPayload(payload *models.ResponseBody500) *GetUsersInternalServerError
WithPayload adds the payload to the get users internal server error response
func (*GetUsersInternalServerError) WriteResponse ¶
func (o *GetUsersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUsersOK ¶
type GetUsersOK struct { /* In: Body */ Payload *models.ResponseBodyUsers `json:"body,omitempty"` }
GetUsersOK success
swagger:response getUsersOK
func NewGetUsersOK ¶
func NewGetUsersOK() *GetUsersOK
NewGetUsersOK creates GetUsersOK with default headers values
func (*GetUsersOK) SetPayload ¶
func (o *GetUsersOK) SetPayload(payload *models.ResponseBodyUsers)
SetPayload sets the payload to the get users o k response
func (*GetUsersOK) WithPayload ¶
func (o *GetUsersOK) WithPayload(payload *models.ResponseBodyUsers) *GetUsersOK
WithPayload adds the payload to the get users o k response
func (*GetUsersOK) WriteResponse ¶
func (o *GetUsersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUsersParams ¶
GetUsersParams contains all the bound params for the get users operation typically these are obtained from a http.Request
swagger:parameters GetUsers
func NewGetUsersParams ¶
func NewGetUsersParams() GetUsersParams
NewGetUsersParams creates a new GetUsersParams object
There are no default values defined in the spec.
func (*GetUsersParams) BindRequest ¶
func (o *GetUsersParams) 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 NewGetUsersParams() beforehand.
type GetUsersURL ¶
type GetUsersURL struct {
// contains filtered or unexported fields
}
GetUsersURL generates an URL for the get users operation
func (*GetUsersURL) Build ¶
func (o *GetUsersURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetUsersURL) BuildFull ¶
func (o *GetUsersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetUsersURL) SetBasePath ¶
func (o *GetUsersURL) 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 (*GetUsersURL) String ¶
func (o *GetUsersURL) String() string
String returns the string representation of the path with query string
func (*GetUsersURL) StringFull ¶
func (o *GetUsersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetUsersURL) WithBasePath ¶
func (o *GetUsersURL) WithBasePath(bp string) *GetUsersURL
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 PatchProjectsID ¶
type PatchProjectsID struct { Context *middleware.Context Handler PatchProjectsIDHandler }
PatchProjectsID swagger:route PATCH /projects/{id} patchProjectsId
update filer resource for an existing project.
func NewPatchProjectsID ¶
func NewPatchProjectsID(ctx *middleware.Context, handler PatchProjectsIDHandler) *PatchProjectsID
NewPatchProjectsID creates a new http.Handler for the patch projects ID operation
func (*PatchProjectsID) ServeHTTP ¶
func (o *PatchProjectsID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchProjectsIDBadRequest ¶
type PatchProjectsIDBadRequest struct { /* In: Body */ Payload *models.ResponseBody400 `json:"body,omitempty"` }
PatchProjectsIDBadRequest bad request
swagger:response patchProjectsIdBadRequest
func NewPatchProjectsIDBadRequest ¶
func NewPatchProjectsIDBadRequest() *PatchProjectsIDBadRequest
NewPatchProjectsIDBadRequest creates PatchProjectsIDBadRequest with default headers values
func (*PatchProjectsIDBadRequest) SetPayload ¶
func (o *PatchProjectsIDBadRequest) SetPayload(payload *models.ResponseBody400)
SetPayload sets the payload to the patch projects Id bad request response
func (*PatchProjectsIDBadRequest) WithPayload ¶
func (o *PatchProjectsIDBadRequest) WithPayload(payload *models.ResponseBody400) *PatchProjectsIDBadRequest
WithPayload adds the payload to the patch projects Id bad request response
func (*PatchProjectsIDBadRequest) WriteResponse ¶
func (o *PatchProjectsIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchProjectsIDHandler ¶
type PatchProjectsIDHandler interface {
Handle(PatchProjectsIDParams, *models.Principle) middleware.Responder
}
PatchProjectsIDHandler interface for that can handle valid patch projects ID params
type PatchProjectsIDHandlerFunc ¶
type PatchProjectsIDHandlerFunc func(PatchProjectsIDParams, *models.Principle) middleware.Responder
PatchProjectsIDHandlerFunc turns a function with the right signature into a patch projects ID handler
func (PatchProjectsIDHandlerFunc) Handle ¶
func (fn PatchProjectsIDHandlerFunc) Handle(params PatchProjectsIDParams, principal *models.Principle) middleware.Responder
Handle executing the request and returning a response
type PatchProjectsIDInternalServerError ¶
type PatchProjectsIDInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
PatchProjectsIDInternalServerError failure
swagger:response patchProjectsIdInternalServerError
func NewPatchProjectsIDInternalServerError ¶
func NewPatchProjectsIDInternalServerError() *PatchProjectsIDInternalServerError
NewPatchProjectsIDInternalServerError creates PatchProjectsIDInternalServerError with default headers values
func (*PatchProjectsIDInternalServerError) SetPayload ¶
func (o *PatchProjectsIDInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the patch projects Id internal server error response
func (*PatchProjectsIDInternalServerError) WithPayload ¶
func (o *PatchProjectsIDInternalServerError) WithPayload(payload *models.ResponseBody500) *PatchProjectsIDInternalServerError
WithPayload adds the payload to the patch projects Id internal server error response
func (*PatchProjectsIDInternalServerError) WriteResponse ¶
func (o *PatchProjectsIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchProjectsIDNoContent ¶
type PatchProjectsIDNoContent struct { }
PatchProjectsIDNoContent no content
swagger:response patchProjectsIdNoContent
func NewPatchProjectsIDNoContent ¶
func NewPatchProjectsIDNoContent() *PatchProjectsIDNoContent
NewPatchProjectsIDNoContent creates PatchProjectsIDNoContent with default headers values
func (*PatchProjectsIDNoContent) WriteResponse ¶
func (o *PatchProjectsIDNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchProjectsIDNotFound ¶
type PatchProjectsIDNotFound struct { /* In: Body */ Payload string `json:"body,omitempty"` }
PatchProjectsIDNotFound project not found
swagger:response patchProjectsIdNotFound
func NewPatchProjectsIDNotFound ¶
func NewPatchProjectsIDNotFound() *PatchProjectsIDNotFound
NewPatchProjectsIDNotFound creates PatchProjectsIDNotFound with default headers values
func (*PatchProjectsIDNotFound) SetPayload ¶
func (o *PatchProjectsIDNotFound) SetPayload(payload string)
SetPayload sets the payload to the patch projects Id not found response
func (*PatchProjectsIDNotFound) WithPayload ¶
func (o *PatchProjectsIDNotFound) WithPayload(payload string) *PatchProjectsIDNotFound
WithPayload adds the payload to the patch projects Id not found response
func (*PatchProjectsIDNotFound) WriteResponse ¶
func (o *PatchProjectsIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchProjectsIDOK ¶
type PatchProjectsIDOK struct { /* In: Body */ Payload *models.ResponseBodyTaskResource `json:"body,omitempty"` }
PatchProjectsIDOK success
swagger:response patchProjectsIdOK
func NewPatchProjectsIDOK ¶
func NewPatchProjectsIDOK() *PatchProjectsIDOK
NewPatchProjectsIDOK creates PatchProjectsIDOK with default headers values
func (*PatchProjectsIDOK) SetPayload ¶
func (o *PatchProjectsIDOK) SetPayload(payload *models.ResponseBodyTaskResource)
SetPayload sets the payload to the patch projects Id o k response
func (*PatchProjectsIDOK) WithPayload ¶
func (o *PatchProjectsIDOK) WithPayload(payload *models.ResponseBodyTaskResource) *PatchProjectsIDOK
WithPayload adds the payload to the patch projects Id o k response
func (*PatchProjectsIDOK) WriteResponse ¶
func (o *PatchProjectsIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchProjectsIDParams ¶
type PatchProjectsIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*project identifier Required: true In: path */ ID string /*data for project update Required: true In: body */ ProjectUpdateData *models.RequestBodyProjectResource }
PatchProjectsIDParams contains all the bound params for the patch projects ID operation typically these are obtained from a http.Request
swagger:parameters PatchProjectsID
func NewPatchProjectsIDParams ¶
func NewPatchProjectsIDParams() PatchProjectsIDParams
NewPatchProjectsIDParams creates a new PatchProjectsIDParams object
There are no default values defined in the spec.
func (*PatchProjectsIDParams) BindRequest ¶
func (o *PatchProjectsIDParams) 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 NewPatchProjectsIDParams() beforehand.
type PatchProjectsIDURL ¶
type PatchProjectsIDURL struct { ID string // contains filtered or unexported fields }
PatchProjectsIDURL generates an URL for the patch projects ID operation
func (*PatchProjectsIDURL) Build ¶
func (o *PatchProjectsIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchProjectsIDURL) BuildFull ¶
func (o *PatchProjectsIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchProjectsIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchProjectsIDURL) SetBasePath ¶
func (o *PatchProjectsIDURL) 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 (*PatchProjectsIDURL) String ¶
func (o *PatchProjectsIDURL) String() string
String returns the string representation of the path with query string
func (*PatchProjectsIDURL) StringFull ¶
func (o *PatchProjectsIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchProjectsIDURL) WithBasePath ¶
func (o *PatchProjectsIDURL) WithBasePath(bp string) *PatchProjectsIDURL
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 PatchUsersID ¶
type PatchUsersID struct { Context *middleware.Context Handler PatchUsersIDHandler }
PatchUsersID swagger:route PATCH /users/{id} patchUsersId
update filer resource for an existing user.
func NewPatchUsersID ¶
func NewPatchUsersID(ctx *middleware.Context, handler PatchUsersIDHandler) *PatchUsersID
NewPatchUsersID creates a new http.Handler for the patch users ID operation
func (*PatchUsersID) ServeHTTP ¶
func (o *PatchUsersID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchUsersIDBadRequest ¶
type PatchUsersIDBadRequest struct { /* In: Body */ Payload *models.ResponseBody400 `json:"body,omitempty"` }
PatchUsersIDBadRequest bad request
swagger:response patchUsersIdBadRequest
func NewPatchUsersIDBadRequest ¶
func NewPatchUsersIDBadRequest() *PatchUsersIDBadRequest
NewPatchUsersIDBadRequest creates PatchUsersIDBadRequest with default headers values
func (*PatchUsersIDBadRequest) SetPayload ¶
func (o *PatchUsersIDBadRequest) SetPayload(payload *models.ResponseBody400)
SetPayload sets the payload to the patch users Id bad request response
func (*PatchUsersIDBadRequest) WithPayload ¶
func (o *PatchUsersIDBadRequest) WithPayload(payload *models.ResponseBody400) *PatchUsersIDBadRequest
WithPayload adds the payload to the patch users Id bad request response
func (*PatchUsersIDBadRequest) WriteResponse ¶
func (o *PatchUsersIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchUsersIDHandler ¶
type PatchUsersIDHandler interface {
Handle(PatchUsersIDParams, *models.Principle) middleware.Responder
}
PatchUsersIDHandler interface for that can handle valid patch users ID params
type PatchUsersIDHandlerFunc ¶
type PatchUsersIDHandlerFunc func(PatchUsersIDParams, *models.Principle) middleware.Responder
PatchUsersIDHandlerFunc turns a function with the right signature into a patch users ID handler
func (PatchUsersIDHandlerFunc) Handle ¶
func (fn PatchUsersIDHandlerFunc) Handle(params PatchUsersIDParams, principal *models.Principle) middleware.Responder
Handle executing the request and returning a response
type PatchUsersIDInternalServerError ¶
type PatchUsersIDInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
PatchUsersIDInternalServerError failure
swagger:response patchUsersIdInternalServerError
func NewPatchUsersIDInternalServerError ¶
func NewPatchUsersIDInternalServerError() *PatchUsersIDInternalServerError
NewPatchUsersIDInternalServerError creates PatchUsersIDInternalServerError with default headers values
func (*PatchUsersIDInternalServerError) SetPayload ¶
func (o *PatchUsersIDInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the patch users Id internal server error response
func (*PatchUsersIDInternalServerError) WithPayload ¶
func (o *PatchUsersIDInternalServerError) WithPayload(payload *models.ResponseBody500) *PatchUsersIDInternalServerError
WithPayload adds the payload to the patch users Id internal server error response
func (*PatchUsersIDInternalServerError) WriteResponse ¶
func (o *PatchUsersIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchUsersIDNoContent ¶
type PatchUsersIDNoContent struct { }
PatchUsersIDNoContent no content
swagger:response patchUsersIdNoContent
func NewPatchUsersIDNoContent ¶
func NewPatchUsersIDNoContent() *PatchUsersIDNoContent
NewPatchUsersIDNoContent creates PatchUsersIDNoContent with default headers values
func (*PatchUsersIDNoContent) WriteResponse ¶
func (o *PatchUsersIDNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchUsersIDNotFound ¶
type PatchUsersIDNotFound struct { /* In: Body */ Payload string `json:"body,omitempty"` }
PatchUsersIDNotFound user not found
swagger:response patchUsersIdNotFound
func NewPatchUsersIDNotFound ¶
func NewPatchUsersIDNotFound() *PatchUsersIDNotFound
NewPatchUsersIDNotFound creates PatchUsersIDNotFound with default headers values
func (*PatchUsersIDNotFound) SetPayload ¶
func (o *PatchUsersIDNotFound) SetPayload(payload string)
SetPayload sets the payload to the patch users Id not found response
func (*PatchUsersIDNotFound) WithPayload ¶
func (o *PatchUsersIDNotFound) WithPayload(payload string) *PatchUsersIDNotFound
WithPayload adds the payload to the patch users Id not found response
func (*PatchUsersIDNotFound) WriteResponse ¶
func (o *PatchUsersIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchUsersIDOK ¶
type PatchUsersIDOK struct { /* In: Body */ Payload *models.ResponseBodyTaskResource `json:"body,omitempty"` }
PatchUsersIDOK success
swagger:response patchUsersIdOK
func NewPatchUsersIDOK ¶
func NewPatchUsersIDOK() *PatchUsersIDOK
NewPatchUsersIDOK creates PatchUsersIDOK with default headers values
func (*PatchUsersIDOK) SetPayload ¶
func (o *PatchUsersIDOK) SetPayload(payload *models.ResponseBodyTaskResource)
SetPayload sets the payload to the patch users Id o k response
func (*PatchUsersIDOK) WithPayload ¶
func (o *PatchUsersIDOK) WithPayload(payload *models.ResponseBodyTaskResource) *PatchUsersIDOK
WithPayload adds the payload to the patch users Id o k response
func (*PatchUsersIDOK) WriteResponse ¶
func (o *PatchUsersIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchUsersIDParams ¶
type PatchUsersIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*user identifier Required: true In: path */ ID string /*data for user update Required: true In: body */ UserUpdateData *models.RequestBodyUserResource }
PatchUsersIDParams contains all the bound params for the patch users ID operation typically these are obtained from a http.Request
swagger:parameters PatchUsersID
func NewPatchUsersIDParams ¶
func NewPatchUsersIDParams() PatchUsersIDParams
NewPatchUsersIDParams creates a new PatchUsersIDParams object
There are no default values defined in the spec.
func (*PatchUsersIDParams) BindRequest ¶
func (o *PatchUsersIDParams) 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 NewPatchUsersIDParams() beforehand.
type PatchUsersIDURL ¶
type PatchUsersIDURL struct { ID string // contains filtered or unexported fields }
PatchUsersIDURL generates an URL for the patch users ID operation
func (*PatchUsersIDURL) Build ¶
func (o *PatchUsersIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchUsersIDURL) BuildFull ¶
func (o *PatchUsersIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchUsersIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchUsersIDURL) SetBasePath ¶
func (o *PatchUsersIDURL) 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 (*PatchUsersIDURL) String ¶
func (o *PatchUsersIDURL) String() string
String returns the string representation of the path with query string
func (*PatchUsersIDURL) StringFull ¶
func (o *PatchUsersIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchUsersIDURL) WithBasePath ¶
func (o *PatchUsersIDURL) WithBasePath(bp string) *PatchUsersIDURL
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 PostProjects ¶
type PostProjects struct { Context *middleware.Context Handler PostProjectsHandler }
PostProjects swagger:route POST /projects postProjects
provision filer resource for a new project.
func NewPostProjects ¶
func NewPostProjects(ctx *middleware.Context, handler PostProjectsHandler) *PostProjects
NewPostProjects creates a new http.Handler for the post projects operation
func (*PostProjects) ServeHTTP ¶
func (o *PostProjects) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostProjectsBadRequest ¶
type PostProjectsBadRequest struct { /* In: Body */ Payload *models.ResponseBody400 `json:"body,omitempty"` }
PostProjectsBadRequest bad request
swagger:response postProjectsBadRequest
func NewPostProjectsBadRequest ¶
func NewPostProjectsBadRequest() *PostProjectsBadRequest
NewPostProjectsBadRequest creates PostProjectsBadRequest with default headers values
func (*PostProjectsBadRequest) SetPayload ¶
func (o *PostProjectsBadRequest) SetPayload(payload *models.ResponseBody400)
SetPayload sets the payload to the post projects bad request response
func (*PostProjectsBadRequest) WithPayload ¶
func (o *PostProjectsBadRequest) WithPayload(payload *models.ResponseBody400) *PostProjectsBadRequest
WithPayload adds the payload to the post projects bad request response
func (*PostProjectsBadRequest) WriteResponse ¶
func (o *PostProjectsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectsHandler ¶
type PostProjectsHandler interface {
Handle(PostProjectsParams, *models.Principle) middleware.Responder
}
PostProjectsHandler interface for that can handle valid post projects params
type PostProjectsHandlerFunc ¶
type PostProjectsHandlerFunc func(PostProjectsParams, *models.Principle) middleware.Responder
PostProjectsHandlerFunc turns a function with the right signature into a post projects handler
func (PostProjectsHandlerFunc) Handle ¶
func (fn PostProjectsHandlerFunc) Handle(params PostProjectsParams, principal *models.Principle) middleware.Responder
Handle executing the request and returning a response
type PostProjectsInternalServerError ¶
type PostProjectsInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
PostProjectsInternalServerError failure
swagger:response postProjectsInternalServerError
func NewPostProjectsInternalServerError ¶
func NewPostProjectsInternalServerError() *PostProjectsInternalServerError
NewPostProjectsInternalServerError creates PostProjectsInternalServerError with default headers values
func (*PostProjectsInternalServerError) SetPayload ¶
func (o *PostProjectsInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the post projects internal server error response
func (*PostProjectsInternalServerError) WithPayload ¶
func (o *PostProjectsInternalServerError) WithPayload(payload *models.ResponseBody500) *PostProjectsInternalServerError
WithPayload adds the payload to the post projects internal server error response
func (*PostProjectsInternalServerError) WriteResponse ¶
func (o *PostProjectsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectsOK ¶
type PostProjectsOK struct { /* In: Body */ Payload *models.ResponseBodyTaskResource `json:"body,omitempty"` }
PostProjectsOK success
swagger:response postProjectsOK
func NewPostProjectsOK ¶
func NewPostProjectsOK() *PostProjectsOK
NewPostProjectsOK creates PostProjectsOK with default headers values
func (*PostProjectsOK) SetPayload ¶
func (o *PostProjectsOK) SetPayload(payload *models.ResponseBodyTaskResource)
SetPayload sets the payload to the post projects o k response
func (*PostProjectsOK) WithPayload ¶
func (o *PostProjectsOK) WithPayload(payload *models.ResponseBodyTaskResource) *PostProjectsOK
WithPayload adds the payload to the post projects o k response
func (*PostProjectsOK) WriteResponse ¶
func (o *PostProjectsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectsParams ¶
type PostProjectsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*data for project provisioning Required: true In: body */ ProjectProvisionData *models.RequestBodyProjectProvision }
PostProjectsParams contains all the bound params for the post projects operation typically these are obtained from a http.Request
swagger:parameters PostProjects
func NewPostProjectsParams ¶
func NewPostProjectsParams() PostProjectsParams
NewPostProjectsParams creates a new PostProjectsParams object
There are no default values defined in the spec.
func (*PostProjectsParams) BindRequest ¶
func (o *PostProjectsParams) 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 NewPostProjectsParams() beforehand.
type PostProjectsURL ¶
type PostProjectsURL struct {
// contains filtered or unexported fields
}
PostProjectsURL generates an URL for the post projects operation
func (*PostProjectsURL) Build ¶
func (o *PostProjectsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostProjectsURL) BuildFull ¶
func (o *PostProjectsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostProjectsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostProjectsURL) SetBasePath ¶
func (o *PostProjectsURL) 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 (*PostProjectsURL) String ¶
func (o *PostProjectsURL) String() string
String returns the string representation of the path with query string
func (*PostProjectsURL) StringFull ¶
func (o *PostProjectsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostProjectsURL) WithBasePath ¶
func (o *PostProjectsURL) WithBasePath(bp string) *PostProjectsURL
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 PostUsers ¶
type PostUsers struct { Context *middleware.Context Handler PostUsersHandler }
PostUsers swagger:route POST /users postUsers
provision filer resource for a new user.
func NewPostUsers ¶
func NewPostUsers(ctx *middleware.Context, handler PostUsersHandler) *PostUsers
NewPostUsers creates a new http.Handler for the post users operation
type PostUsersBadRequest ¶
type PostUsersBadRequest struct { /* In: Body */ Payload *models.ResponseBody400 `json:"body,omitempty"` }
PostUsersBadRequest bad request
swagger:response postUsersBadRequest
func NewPostUsersBadRequest ¶
func NewPostUsersBadRequest() *PostUsersBadRequest
NewPostUsersBadRequest creates PostUsersBadRequest with default headers values
func (*PostUsersBadRequest) SetPayload ¶
func (o *PostUsersBadRequest) SetPayload(payload *models.ResponseBody400)
SetPayload sets the payload to the post users bad request response
func (*PostUsersBadRequest) WithPayload ¶
func (o *PostUsersBadRequest) WithPayload(payload *models.ResponseBody400) *PostUsersBadRequest
WithPayload adds the payload to the post users bad request response
func (*PostUsersBadRequest) WriteResponse ¶
func (o *PostUsersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostUsersHandler ¶
type PostUsersHandler interface {
Handle(PostUsersParams, *models.Principle) middleware.Responder
}
PostUsersHandler interface for that can handle valid post users params
type PostUsersHandlerFunc ¶
type PostUsersHandlerFunc func(PostUsersParams, *models.Principle) middleware.Responder
PostUsersHandlerFunc turns a function with the right signature into a post users handler
func (PostUsersHandlerFunc) Handle ¶
func (fn PostUsersHandlerFunc) Handle(params PostUsersParams, principal *models.Principle) middleware.Responder
Handle executing the request and returning a response
type PostUsersInternalServerError ¶
type PostUsersInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
PostUsersInternalServerError failure
swagger:response postUsersInternalServerError
func NewPostUsersInternalServerError ¶
func NewPostUsersInternalServerError() *PostUsersInternalServerError
NewPostUsersInternalServerError creates PostUsersInternalServerError with default headers values
func (*PostUsersInternalServerError) SetPayload ¶
func (o *PostUsersInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the post users internal server error response
func (*PostUsersInternalServerError) WithPayload ¶
func (o *PostUsersInternalServerError) WithPayload(payload *models.ResponseBody500) *PostUsersInternalServerError
WithPayload adds the payload to the post users internal server error response
func (*PostUsersInternalServerError) WriteResponse ¶
func (o *PostUsersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostUsersOK ¶
type PostUsersOK struct { /* In: Body */ Payload *models.ResponseBodyTaskResource `json:"body,omitempty"` }
PostUsersOK success
swagger:response postUsersOK
func NewPostUsersOK ¶
func NewPostUsersOK() *PostUsersOK
NewPostUsersOK creates PostUsersOK with default headers values
func (*PostUsersOK) SetPayload ¶
func (o *PostUsersOK) SetPayload(payload *models.ResponseBodyTaskResource)
SetPayload sets the payload to the post users o k response
func (*PostUsersOK) WithPayload ¶
func (o *PostUsersOK) WithPayload(payload *models.ResponseBodyTaskResource) *PostUsersOK
WithPayload adds the payload to the post users o k response
func (*PostUsersOK) WriteResponse ¶
func (o *PostUsersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostUsersParams ¶
type PostUsersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*data for user provisioning Required: true In: body */ UserProvisionData *models.RequestBodyUserProvision }
PostUsersParams contains all the bound params for the post users operation typically these are obtained from a http.Request
swagger:parameters PostUsers
func NewPostUsersParams ¶
func NewPostUsersParams() PostUsersParams
NewPostUsersParams creates a new PostUsersParams object
There are no default values defined in the spec.
func (*PostUsersParams) BindRequest ¶
func (o *PostUsersParams) 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 NewPostUsersParams() beforehand.
type PostUsersURL ¶
type PostUsersURL struct {
// contains filtered or unexported fields
}
PostUsersURL generates an URL for the post users operation
func (*PostUsersURL) Build ¶
func (o *PostUsersURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostUsersURL) BuildFull ¶
func (o *PostUsersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostUsersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostUsersURL) SetBasePath ¶
func (o *PostUsersURL) 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 (*PostUsersURL) String ¶
func (o *PostUsersURL) String() string
String returns the string representation of the path with query string
func (*PostUsersURL) StringFull ¶
func (o *PostUsersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostUsersURL) WithBasePath ¶
func (o *PostUsersURL) WithBasePath(bp string) *PostUsersURL
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_users_id.go
- delete_users_id_parameters.go
- delete_users_id_responses.go
- delete_users_id_urlbuilder.go
- filer_gateway_api.go
- get_metrics.go
- get_metrics_parameters.go
- get_metrics_responses.go
- get_metrics_urlbuilder.go
- get_ping.go
- get_ping_parameters.go
- get_ping_responses.go
- get_ping_urlbuilder.go
- get_projects.go
- get_projects_id.go
- get_projects_id_parameters.go
- get_projects_id_responses.go
- get_projects_id_urlbuilder.go
- get_projects_parameters.go
- get_projects_responses.go
- get_projects_urlbuilder.go
- get_tasks_type_id.go
- get_tasks_type_id_parameters.go
- get_tasks_type_id_responses.go
- get_tasks_type_id_urlbuilder.go
- get_users.go
- get_users_id.go
- get_users_id_parameters.go
- get_users_id_responses.go
- get_users_id_urlbuilder.go
- get_users_parameters.go
- get_users_responses.go
- get_users_urlbuilder.go
- patch_projects_id.go
- patch_projects_id_parameters.go
- patch_projects_id_responses.go
- patch_projects_id_urlbuilder.go
- patch_users_id.go
- patch_users_id_parameters.go
- patch_users_id_responses.go
- patch_users_id_urlbuilder.go
- post_projects.go
- post_projects_parameters.go
- post_projects_responses.go
- post_projects_urlbuilder.go
- post_users.go
- post_users_parameters.go
- post_users_responses.go
- post_users_urlbuilder.go