Documentation
¶
Index ¶
- Constants
- type DeleteAction
- type DeleteActionBadRequest
- type DeleteActionConflict
- type DeleteActionForbidden
- type DeleteActionHandler
- type DeleteActionHandlerFunc
- type DeleteActionInPackage
- type DeleteActionInPackageBadRequest
- func (o *DeleteActionInPackageBadRequest) SetPayload(payload *models.ErrorMessage)
- func (o *DeleteActionInPackageBadRequest) WithPayload(payload *models.ErrorMessage) *DeleteActionInPackageBadRequest
- func (o *DeleteActionInPackageBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteActionInPackageConflict
- type DeleteActionInPackageForbidden
- func (o *DeleteActionInPackageForbidden) SetPayload(payload *models.ErrorMessage)
- func (o *DeleteActionInPackageForbidden) WithPayload(payload *models.ErrorMessage) *DeleteActionInPackageForbidden
- func (o *DeleteActionInPackageForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteActionInPackageHandler
- type DeleteActionInPackageHandlerFunc
- type DeleteActionInPackageInternalServerError
- func (o *DeleteActionInPackageInternalServerError) SetPayload(payload *models.ErrorMessage)
- func (o *DeleteActionInPackageInternalServerError) WithPayload(payload *models.ErrorMessage) *DeleteActionInPackageInternalServerError
- func (o *DeleteActionInPackageInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteActionInPackageNotFound
- type DeleteActionInPackageOK
- type DeleteActionInPackageParams
- type DeleteActionInPackageURL
- func (o *DeleteActionInPackageURL) Build() (*url.URL, error)
- func (o *DeleteActionInPackageURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteActionInPackageURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteActionInPackageURL) SetBasePath(bp string)
- func (o *DeleteActionInPackageURL) String() string
- func (o *DeleteActionInPackageURL) StringFull(scheme, host string) string
- func (o *DeleteActionInPackageURL) WithBasePath(bp string) *DeleteActionInPackageURL
- type DeleteActionInPackageUnauthorized
- func (o *DeleteActionInPackageUnauthorized) SetPayload(payload *models.ErrorMessage)
- func (o *DeleteActionInPackageUnauthorized) WithPayload(payload *models.ErrorMessage) *DeleteActionInPackageUnauthorized
- func (o *DeleteActionInPackageUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteActionInternalServerError
- func (o *DeleteActionInternalServerError) SetPayload(payload *models.ErrorMessage)
- func (o *DeleteActionInternalServerError) WithPayload(payload *models.ErrorMessage) *DeleteActionInternalServerError
- func (o *DeleteActionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteActionNotFound
- type DeleteActionOK
- type DeleteActionParams
- type DeleteActionURL
- func (o *DeleteActionURL) Build() (*url.URL, error)
- func (o *DeleteActionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteActionURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteActionURL) SetBasePath(bp string)
- func (o *DeleteActionURL) String() string
- func (o *DeleteActionURL) StringFull(scheme, host string) string
- func (o *DeleteActionURL) WithBasePath(bp string) *DeleteActionURL
- type DeleteActionUnauthorized
- type DeleteWebNamespacePackageNameActionNameExtension
- type DeleteWebNamespacePackageNameActionNameExtensionDefault
- func (o *DeleteWebNamespacePackageNameActionNameExtensionDefault) SetPayload(payload DeleteWebNamespacePackageNameActionNameExtensionDefaultBody)
- func (o *DeleteWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode(code int)
- func (o *DeleteWebNamespacePackageNameActionNameExtensionDefault) WithPayload(payload DeleteWebNamespacePackageNameActionNameExtensionDefaultBody) *DeleteWebNamespacePackageNameActionNameExtensionDefault
- func (o *DeleteWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode(code int) *DeleteWebNamespacePackageNameActionNameExtensionDefault
- func (o *DeleteWebNamespacePackageNameActionNameExtensionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteWebNamespacePackageNameActionNameExtensionDefaultBody
- type DeleteWebNamespacePackageNameActionNameExtensionHandler
- type DeleteWebNamespacePackageNameActionNameExtensionHandlerFunc
- type DeleteWebNamespacePackageNameActionNameExtensionParams
- type DeleteWebNamespacePackageNameActionNameExtensionURL
- func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) Build() (*url.URL, error)
- func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) SetBasePath(bp string)
- func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) String() string
- func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) StringFull(scheme, host string) string
- func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) WithBasePath(bp string) *DeleteWebNamespacePackageNameActionNameExtensionURL
- type GetActionByName
- type GetActionByNameForbidden
- type GetActionByNameHandler
- type GetActionByNameHandlerFunc
- type GetActionByNameInternalServerError
- func (o *GetActionByNameInternalServerError) SetPayload(payload *models.ErrorMessage)
- func (o *GetActionByNameInternalServerError) WithPayload(payload *models.ErrorMessage) *GetActionByNameInternalServerError
- func (o *GetActionByNameInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetActionByNameNotFound
- type GetActionByNameOK
- type GetActionByNameParams
- type GetActionByNameURL
- func (o *GetActionByNameURL) Build() (*url.URL, error)
- func (o *GetActionByNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetActionByNameURL) Must(u *url.URL, err error) *url.URL
- func (o *GetActionByNameURL) SetBasePath(bp string)
- func (o *GetActionByNameURL) String() string
- func (o *GetActionByNameURL) StringFull(scheme, host string) string
- func (o *GetActionByNameURL) WithBasePath(bp string) *GetActionByNameURL
- type GetActionByNameUnauthorized
- type GetActionInPackageByName
- type GetActionInPackageByNameForbidden
- func (o *GetActionInPackageByNameForbidden) SetPayload(payload *models.ErrorMessage)
- func (o *GetActionInPackageByNameForbidden) WithPayload(payload *models.ErrorMessage) *GetActionInPackageByNameForbidden
- func (o *GetActionInPackageByNameForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetActionInPackageByNameHandler
- type GetActionInPackageByNameHandlerFunc
- type GetActionInPackageByNameInternalServerError
- func (o *GetActionInPackageByNameInternalServerError) SetPayload(payload *models.ErrorMessage)
- func (o *GetActionInPackageByNameInternalServerError) WithPayload(payload *models.ErrorMessage) *GetActionInPackageByNameInternalServerError
- func (o *GetActionInPackageByNameInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetActionInPackageByNameNotFound
- func (o *GetActionInPackageByNameNotFound) SetPayload(payload *models.ErrorMessage)
- func (o *GetActionInPackageByNameNotFound) WithPayload(payload *models.ErrorMessage) *GetActionInPackageByNameNotFound
- func (o *GetActionInPackageByNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetActionInPackageByNameOK
- type GetActionInPackageByNameParams
- type GetActionInPackageByNameURL
- func (o *GetActionInPackageByNameURL) Build() (*url.URL, error)
- func (o *GetActionInPackageByNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetActionInPackageByNameURL) Must(u *url.URL, err error) *url.URL
- func (o *GetActionInPackageByNameURL) SetBasePath(bp string)
- func (o *GetActionInPackageByNameURL) String() string
- func (o *GetActionInPackageByNameURL) StringFull(scheme, host string) string
- func (o *GetActionInPackageByNameURL) WithBasePath(bp string) *GetActionInPackageByNameURL
- type GetActionInPackageByNameUnauthorized
- func (o *GetActionInPackageByNameUnauthorized) SetPayload(payload *models.ErrorMessage)
- func (o *GetActionInPackageByNameUnauthorized) WithPayload(payload *models.ErrorMessage) *GetActionInPackageByNameUnauthorized
- func (o *GetActionInPackageByNameUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAllActions
- type GetAllActionsHandler
- type GetAllActionsHandlerFunc
- type GetAllActionsInternalServerError
- func (o *GetAllActionsInternalServerError) SetPayload(payload *models.ErrorMessage)
- func (o *GetAllActionsInternalServerError) WithPayload(payload *models.ErrorMessage) *GetAllActionsInternalServerError
- func (o *GetAllActionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAllActionsOK
- type GetAllActionsParams
- type GetAllActionsURL
- func (o *GetAllActionsURL) Build() (*url.URL, error)
- func (o *GetAllActionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAllActionsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAllActionsURL) SetBasePath(bp string)
- func (o *GetAllActionsURL) String() string
- func (o *GetAllActionsURL) StringFull(scheme, host string) string
- func (o *GetAllActionsURL) WithBasePath(bp string) *GetAllActionsURL
- type GetAllActionsUnauthorized
- type GetWebNamespacePackageNameActionNameExtension
- type GetWebNamespacePackageNameActionNameExtensionDefault
- func (o *GetWebNamespacePackageNameActionNameExtensionDefault) SetPayload(payload GetWebNamespacePackageNameActionNameExtensionDefaultBody)
- func (o *GetWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode(code int)
- func (o *GetWebNamespacePackageNameActionNameExtensionDefault) WithPayload(payload GetWebNamespacePackageNameActionNameExtensionDefaultBody) *GetWebNamespacePackageNameActionNameExtensionDefault
- func (o *GetWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode(code int) *GetWebNamespacePackageNameActionNameExtensionDefault
- func (o *GetWebNamespacePackageNameActionNameExtensionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetWebNamespacePackageNameActionNameExtensionDefaultBody
- type GetWebNamespacePackageNameActionNameExtensionHandler
- type GetWebNamespacePackageNameActionNameExtensionHandlerFunc
- type GetWebNamespacePackageNameActionNameExtensionParams
- type GetWebNamespacePackageNameActionNameExtensionURL
- func (o *GetWebNamespacePackageNameActionNameExtensionURL) Build() (*url.URL, error)
- func (o *GetWebNamespacePackageNameActionNameExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetWebNamespacePackageNameActionNameExtensionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetWebNamespacePackageNameActionNameExtensionURL) SetBasePath(bp string)
- func (o *GetWebNamespacePackageNameActionNameExtensionURL) String() string
- func (o *GetWebNamespacePackageNameActionNameExtensionURL) StringFull(scheme, host string) string
- func (o *GetWebNamespacePackageNameActionNameExtensionURL) WithBasePath(bp string) *GetWebNamespacePackageNameActionNameExtensionURL
- type InvokeAction
- type InvokeActionAccepted
- type InvokeActionBadGateway
- type InvokeActionForbidden
- type InvokeActionHandler
- type InvokeActionHandlerFunc
- type InvokeActionInPackage
- type InvokeActionInPackageAccepted
- type InvokeActionInPackageBadGateway
- type InvokeActionInPackageForbidden
- func (o *InvokeActionInPackageForbidden) SetPayload(payload *models.ErrorMessage)
- func (o *InvokeActionInPackageForbidden) WithPayload(payload *models.ErrorMessage) *InvokeActionInPackageForbidden
- func (o *InvokeActionInPackageForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type InvokeActionInPackageHandler
- type InvokeActionInPackageHandlerFunc
- type InvokeActionInPackageInternalServerError
- func (o *InvokeActionInPackageInternalServerError) SetPayload(payload *models.ErrorMessage)
- func (o *InvokeActionInPackageInternalServerError) WithPayload(payload *models.ErrorMessage) *InvokeActionInPackageInternalServerError
- func (o *InvokeActionInPackageInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type InvokeActionInPackageNotFound
- type InvokeActionInPackageOK
- type InvokeActionInPackageParams
- type InvokeActionInPackageRequestTimeout
- type InvokeActionInPackageURL
- func (o *InvokeActionInPackageURL) Build() (*url.URL, error)
- func (o *InvokeActionInPackageURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *InvokeActionInPackageURL) Must(u *url.URL, err error) *url.URL
- func (o *InvokeActionInPackageURL) SetBasePath(bp string)
- func (o *InvokeActionInPackageURL) String() string
- func (o *InvokeActionInPackageURL) StringFull(scheme, host string) string
- func (o *InvokeActionInPackageURL) WithBasePath(bp string) *InvokeActionInPackageURL
- type InvokeActionInPackageUnauthorized
- func (o *InvokeActionInPackageUnauthorized) SetPayload(payload *models.ErrorMessage)
- func (o *InvokeActionInPackageUnauthorized) WithPayload(payload *models.ErrorMessage) *InvokeActionInPackageUnauthorized
- func (o *InvokeActionInPackageUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type InvokeActionInternalServerError
- func (o *InvokeActionInternalServerError) SetPayload(payload *models.ErrorMessage)
- func (o *InvokeActionInternalServerError) WithPayload(payload *models.ErrorMessage) *InvokeActionInternalServerError
- func (o *InvokeActionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type InvokeActionNotFound
- type InvokeActionOK
- type InvokeActionOKBody
- type InvokeActionParams
- type InvokeActionRequestTimeout
- type InvokeActionURL
- func (o *InvokeActionURL) Build() (*url.URL, error)
- func (o *InvokeActionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *InvokeActionURL) Must(u *url.URL, err error) *url.URL
- func (o *InvokeActionURL) SetBasePath(bp string)
- func (o *InvokeActionURL) String() string
- func (o *InvokeActionURL) StringFull(scheme, host string) string
- func (o *InvokeActionURL) WithBasePath(bp string) *InvokeActionURL
- type InvokeActionUnauthorized
- type PostWebNamespacePackageNameActionNameExtension
- type PostWebNamespacePackageNameActionNameExtensionDefault
- func (o *PostWebNamespacePackageNameActionNameExtensionDefault) SetPayload(payload PostWebNamespacePackageNameActionNameExtensionDefaultBody)
- func (o *PostWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode(code int)
- func (o *PostWebNamespacePackageNameActionNameExtensionDefault) WithPayload(payload PostWebNamespacePackageNameActionNameExtensionDefaultBody) *PostWebNamespacePackageNameActionNameExtensionDefault
- func (o *PostWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode(code int) *PostWebNamespacePackageNameActionNameExtensionDefault
- func (o *PostWebNamespacePackageNameActionNameExtensionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostWebNamespacePackageNameActionNameExtensionDefaultBody
- type PostWebNamespacePackageNameActionNameExtensionHandler
- type PostWebNamespacePackageNameActionNameExtensionHandlerFunc
- type PostWebNamespacePackageNameActionNameExtensionParams
- type PostWebNamespacePackageNameActionNameExtensionURL
- func (o *PostWebNamespacePackageNameActionNameExtensionURL) Build() (*url.URL, error)
- func (o *PostWebNamespacePackageNameActionNameExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostWebNamespacePackageNameActionNameExtensionURL) Must(u *url.URL, err error) *url.URL
- func (o *PostWebNamespacePackageNameActionNameExtensionURL) SetBasePath(bp string)
- func (o *PostWebNamespacePackageNameActionNameExtensionURL) String() string
- func (o *PostWebNamespacePackageNameActionNameExtensionURL) StringFull(scheme, host string) string
- func (o *PostWebNamespacePackageNameActionNameExtensionURL) WithBasePath(bp string) *PostWebNamespacePackageNameActionNameExtensionURL
- type PutWebNamespacePackageNameActionNameExtension
- type PutWebNamespacePackageNameActionNameExtensionDefault
- func (o *PutWebNamespacePackageNameActionNameExtensionDefault) SetPayload(payload PutWebNamespacePackageNameActionNameExtensionDefaultBody)
- func (o *PutWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode(code int)
- func (o *PutWebNamespacePackageNameActionNameExtensionDefault) WithPayload(payload PutWebNamespacePackageNameActionNameExtensionDefaultBody) *PutWebNamespacePackageNameActionNameExtensionDefault
- func (o *PutWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode(code int) *PutWebNamespacePackageNameActionNameExtensionDefault
- func (o *PutWebNamespacePackageNameActionNameExtensionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutWebNamespacePackageNameActionNameExtensionDefaultBody
- type PutWebNamespacePackageNameActionNameExtensionHandler
- type PutWebNamespacePackageNameActionNameExtensionHandlerFunc
- type PutWebNamespacePackageNameActionNameExtensionParams
- type PutWebNamespacePackageNameActionNameExtensionURL
- func (o *PutWebNamespacePackageNameActionNameExtensionURL) Build() (*url.URL, error)
- func (o *PutWebNamespacePackageNameActionNameExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutWebNamespacePackageNameActionNameExtensionURL) Must(u *url.URL, err error) *url.URL
- func (o *PutWebNamespacePackageNameActionNameExtensionURL) SetBasePath(bp string)
- func (o *PutWebNamespacePackageNameActionNameExtensionURL) String() string
- func (o *PutWebNamespacePackageNameActionNameExtensionURL) StringFull(scheme, host string) string
- func (o *PutWebNamespacePackageNameActionNameExtensionURL) WithBasePath(bp string) *PutWebNamespacePackageNameActionNameExtensionURL
- type UpdateAction
- type UpdateActionBadRequest
- type UpdateActionConflict
- type UpdateActionForbidden
- type UpdateActionHandler
- type UpdateActionHandlerFunc
- type UpdateActionInPackage
- type UpdateActionInPackageBadRequest
- func (o *UpdateActionInPackageBadRequest) SetPayload(payload *models.ErrorMessage)
- func (o *UpdateActionInPackageBadRequest) WithPayload(payload *models.ErrorMessage) *UpdateActionInPackageBadRequest
- func (o *UpdateActionInPackageBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateActionInPackageConflict
- type UpdateActionInPackageForbidden
- func (o *UpdateActionInPackageForbidden) SetPayload(payload *models.ErrorMessage)
- func (o *UpdateActionInPackageForbidden) WithPayload(payload *models.ErrorMessage) *UpdateActionInPackageForbidden
- func (o *UpdateActionInPackageForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateActionInPackageHandler
- type UpdateActionInPackageHandlerFunc
- type UpdateActionInPackageInternalServerError
- func (o *UpdateActionInPackageInternalServerError) SetPayload(payload *models.ErrorMessage)
- func (o *UpdateActionInPackageInternalServerError) WithPayload(payload *models.ErrorMessage) *UpdateActionInPackageInternalServerError
- func (o *UpdateActionInPackageInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateActionInPackageOK
- type UpdateActionInPackageParams
- type UpdateActionInPackageRequestEntityTooLarge
- func (o *UpdateActionInPackageRequestEntityTooLarge) SetPayload(payload *models.ErrorMessage)
- func (o *UpdateActionInPackageRequestEntityTooLarge) WithPayload(payload *models.ErrorMessage) *UpdateActionInPackageRequestEntityTooLarge
- func (o *UpdateActionInPackageRequestEntityTooLarge) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateActionInPackageURL
- func (o *UpdateActionInPackageURL) Build() (*url.URL, error)
- func (o *UpdateActionInPackageURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateActionInPackageURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateActionInPackageURL) SetBasePath(bp string)
- func (o *UpdateActionInPackageURL) String() string
- func (o *UpdateActionInPackageURL) StringFull(scheme, host string) string
- func (o *UpdateActionInPackageURL) WithBasePath(bp string) *UpdateActionInPackageURL
- type UpdateActionInPackageUnauthorized
- func (o *UpdateActionInPackageUnauthorized) SetPayload(payload *models.ErrorMessage)
- func (o *UpdateActionInPackageUnauthorized) WithPayload(payload *models.ErrorMessage) *UpdateActionInPackageUnauthorized
- func (o *UpdateActionInPackageUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateActionInternalServerError
- func (o *UpdateActionInternalServerError) SetPayload(payload *models.ErrorMessage)
- func (o *UpdateActionInternalServerError) WithPayload(payload *models.ErrorMessage) *UpdateActionInternalServerError
- func (o *UpdateActionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateActionOK
- type UpdateActionParams
- type UpdateActionRequestEntityTooLarge
- func (o *UpdateActionRequestEntityTooLarge) SetPayload(payload *models.ErrorMessage)
- func (o *UpdateActionRequestEntityTooLarge) WithPayload(payload *models.ErrorMessage) *UpdateActionRequestEntityTooLarge
- func (o *UpdateActionRequestEntityTooLarge) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateActionURL
- func (o *UpdateActionURL) Build() (*url.URL, error)
- func (o *UpdateActionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateActionURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateActionURL) SetBasePath(bp string)
- func (o *UpdateActionURL) String() string
- func (o *UpdateActionURL) StringFull(scheme, host string) string
- func (o *UpdateActionURL) WithBasePath(bp string) *UpdateActionURL
- type UpdateActionUnauthorized
Constants ¶
const DeleteActionBadRequestCode int = 400
DeleteActionBadRequestCode is the HTTP code returned for type DeleteActionBadRequest
const DeleteActionConflictCode int = 409
DeleteActionConflictCode is the HTTP code returned for type DeleteActionConflict
const DeleteActionForbiddenCode int = 403
DeleteActionForbiddenCode is the HTTP code returned for type DeleteActionForbidden
const DeleteActionInPackageBadRequestCode int = 400
DeleteActionInPackageBadRequestCode is the HTTP code returned for type DeleteActionInPackageBadRequest
const DeleteActionInPackageConflictCode int = 409
DeleteActionInPackageConflictCode is the HTTP code returned for type DeleteActionInPackageConflict
const DeleteActionInPackageForbiddenCode int = 403
DeleteActionInPackageForbiddenCode is the HTTP code returned for type DeleteActionInPackageForbidden
const DeleteActionInPackageInternalServerErrorCode int = 500
DeleteActionInPackageInternalServerErrorCode is the HTTP code returned for type DeleteActionInPackageInternalServerError
const DeleteActionInPackageNotFoundCode int = 404
DeleteActionInPackageNotFoundCode is the HTTP code returned for type DeleteActionInPackageNotFound
const DeleteActionInPackageOKCode int = 200
DeleteActionInPackageOKCode is the HTTP code returned for type DeleteActionInPackageOK
DeleteActionInPackageUnauthorizedCode is the HTTP code returned for type DeleteActionInPackageUnauthorized
const DeleteActionInternalServerErrorCode int = 500
DeleteActionInternalServerErrorCode is the HTTP code returned for type DeleteActionInternalServerError
const DeleteActionNotFoundCode int = 404
DeleteActionNotFoundCode is the HTTP code returned for type DeleteActionNotFound
const DeleteActionOKCode int = 200
DeleteActionOKCode is the HTTP code returned for type DeleteActionOK
DeleteActionUnauthorizedCode is the HTTP code returned for type DeleteActionUnauthorized
const GetActionByNameForbiddenCode int = 403
GetActionByNameForbiddenCode is the HTTP code returned for type GetActionByNameForbidden
const GetActionByNameInternalServerErrorCode int = 500
GetActionByNameInternalServerErrorCode is the HTTP code returned for type GetActionByNameInternalServerError
const GetActionByNameNotFoundCode int = 404
GetActionByNameNotFoundCode is the HTTP code returned for type GetActionByNameNotFound
const GetActionByNameOKCode int = 200
GetActionByNameOKCode is the HTTP code returned for type GetActionByNameOK
GetActionByNameUnauthorizedCode is the HTTP code returned for type GetActionByNameUnauthorized
const GetActionInPackageByNameForbiddenCode int = 403
GetActionInPackageByNameForbiddenCode is the HTTP code returned for type GetActionInPackageByNameForbidden
const GetActionInPackageByNameInternalServerErrorCode int = 500
GetActionInPackageByNameInternalServerErrorCode is the HTTP code returned for type GetActionInPackageByNameInternalServerError
const GetActionInPackageByNameNotFoundCode int = 404
GetActionInPackageByNameNotFoundCode is the HTTP code returned for type GetActionInPackageByNameNotFound
const GetActionInPackageByNameOKCode int = 200
GetActionInPackageByNameOKCode is the HTTP code returned for type GetActionInPackageByNameOK
GetActionInPackageByNameUnauthorizedCode is the HTTP code returned for type GetActionInPackageByNameUnauthorized
const GetAllActionsInternalServerErrorCode int = 500
GetAllActionsInternalServerErrorCode is the HTTP code returned for type GetAllActionsInternalServerError
const GetAllActionsOKCode int = 200
GetAllActionsOKCode is the HTTP code returned for type GetAllActionsOK
GetAllActionsUnauthorizedCode is the HTTP code returned for type GetAllActionsUnauthorized
const InvokeActionAcceptedCode int = 202
InvokeActionAcceptedCode is the HTTP code returned for type InvokeActionAccepted
const InvokeActionBadGatewayCode int = 502
InvokeActionBadGatewayCode is the HTTP code returned for type InvokeActionBadGateway
const InvokeActionForbiddenCode int = 403
InvokeActionForbiddenCode is the HTTP code returned for type InvokeActionForbidden
const InvokeActionInPackageAcceptedCode int = 202
InvokeActionInPackageAcceptedCode is the HTTP code returned for type InvokeActionInPackageAccepted
const InvokeActionInPackageBadGatewayCode int = 502
InvokeActionInPackageBadGatewayCode is the HTTP code returned for type InvokeActionInPackageBadGateway
const InvokeActionInPackageForbiddenCode int = 403
InvokeActionInPackageForbiddenCode is the HTTP code returned for type InvokeActionInPackageForbidden
const InvokeActionInPackageInternalServerErrorCode int = 500
InvokeActionInPackageInternalServerErrorCode is the HTTP code returned for type InvokeActionInPackageInternalServerError
const InvokeActionInPackageNotFoundCode int = 404
InvokeActionInPackageNotFoundCode is the HTTP code returned for type InvokeActionInPackageNotFound
const InvokeActionInPackageOKCode int = 200
InvokeActionInPackageOKCode is the HTTP code returned for type InvokeActionInPackageOK
const InvokeActionInPackageRequestTimeoutCode int = 408
InvokeActionInPackageRequestTimeoutCode is the HTTP code returned for type InvokeActionInPackageRequestTimeout
InvokeActionInPackageUnauthorizedCode is the HTTP code returned for type InvokeActionInPackageUnauthorized
const InvokeActionInternalServerErrorCode int = 500
InvokeActionInternalServerErrorCode is the HTTP code returned for type InvokeActionInternalServerError
const InvokeActionNotFoundCode int = 404
InvokeActionNotFoundCode is the HTTP code returned for type InvokeActionNotFound
const InvokeActionOKCode int = 200
InvokeActionOKCode is the HTTP code returned for type InvokeActionOK
const InvokeActionRequestTimeoutCode int = 408
InvokeActionRequestTimeoutCode is the HTTP code returned for type InvokeActionRequestTimeout
InvokeActionUnauthorizedCode is the HTTP code returned for type InvokeActionUnauthorized
const UpdateActionBadRequestCode int = 400
UpdateActionBadRequestCode is the HTTP code returned for type UpdateActionBadRequest
const UpdateActionConflictCode int = 409
UpdateActionConflictCode is the HTTP code returned for type UpdateActionConflict
const UpdateActionForbiddenCode int = 403
UpdateActionForbiddenCode is the HTTP code returned for type UpdateActionForbidden
const UpdateActionInPackageBadRequestCode int = 400
UpdateActionInPackageBadRequestCode is the HTTP code returned for type UpdateActionInPackageBadRequest
const UpdateActionInPackageConflictCode int = 409
UpdateActionInPackageConflictCode is the HTTP code returned for type UpdateActionInPackageConflict
const UpdateActionInPackageForbiddenCode int = 403
UpdateActionInPackageForbiddenCode is the HTTP code returned for type UpdateActionInPackageForbidden
const UpdateActionInPackageInternalServerErrorCode int = 500
UpdateActionInPackageInternalServerErrorCode is the HTTP code returned for type UpdateActionInPackageInternalServerError
const UpdateActionInPackageOKCode int = 200
UpdateActionInPackageOKCode is the HTTP code returned for type UpdateActionInPackageOK
const UpdateActionInPackageRequestEntityTooLargeCode int = 413
UpdateActionInPackageRequestEntityTooLargeCode is the HTTP code returned for type UpdateActionInPackageRequestEntityTooLarge
UpdateActionInPackageUnauthorizedCode is the HTTP code returned for type UpdateActionInPackageUnauthorized
const UpdateActionInternalServerErrorCode int = 500
UpdateActionInternalServerErrorCode is the HTTP code returned for type UpdateActionInternalServerError
const UpdateActionOKCode int = 200
UpdateActionOKCode is the HTTP code returned for type UpdateActionOK
const UpdateActionRequestEntityTooLargeCode int = 413
UpdateActionRequestEntityTooLargeCode is the HTTP code returned for type UpdateActionRequestEntityTooLarge
UpdateActionUnauthorizedCode is the HTTP code returned for type UpdateActionUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteAction ¶
type DeleteAction struct {
Context *middleware.Context
Handler DeleteActionHandler
}
DeleteAction swagger:route DELETE /namespaces/{namespace}/actions/{actionName} Actions deleteAction
Delete an action ¶
Delete an action
func NewDeleteAction ¶
func NewDeleteAction(ctx *middleware.Context, handler DeleteActionHandler) *DeleteAction
NewDeleteAction creates a new http.Handler for the delete action operation
func (*DeleteAction) ServeHTTP ¶
func (o *DeleteAction) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteActionBadRequest ¶
type DeleteActionBadRequest struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionBadRequest Bad request
swagger:response deleteActionBadRequest
func NewDeleteActionBadRequest ¶
func NewDeleteActionBadRequest() *DeleteActionBadRequest
NewDeleteActionBadRequest creates DeleteActionBadRequest with default headers values
func (*DeleteActionBadRequest) SetPayload ¶
func (o *DeleteActionBadRequest) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action bad request response
func (*DeleteActionBadRequest) WithPayload ¶
func (o *DeleteActionBadRequest) WithPayload(payload *models.ErrorMessage) *DeleteActionBadRequest
WithPayload adds the payload to the delete action bad request response
func (*DeleteActionBadRequest) WriteResponse ¶
func (o *DeleteActionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionConflict ¶
type DeleteActionConflict struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionConflict Conflicting item already exists
swagger:response deleteActionConflict
func NewDeleteActionConflict ¶
func NewDeleteActionConflict() *DeleteActionConflict
NewDeleteActionConflict creates DeleteActionConflict with default headers values
func (*DeleteActionConflict) SetPayload ¶
func (o *DeleteActionConflict) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action conflict response
func (*DeleteActionConflict) WithPayload ¶
func (o *DeleteActionConflict) WithPayload(payload *models.ErrorMessage) *DeleteActionConflict
WithPayload adds the payload to the delete action conflict response
func (*DeleteActionConflict) WriteResponse ¶
func (o *DeleteActionConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionForbidden ¶
type DeleteActionForbidden struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionForbidden Unauthorized request
swagger:response deleteActionForbidden
func NewDeleteActionForbidden ¶
func NewDeleteActionForbidden() *DeleteActionForbidden
NewDeleteActionForbidden creates DeleteActionForbidden with default headers values
func (*DeleteActionForbidden) SetPayload ¶
func (o *DeleteActionForbidden) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action forbidden response
func (*DeleteActionForbidden) WithPayload ¶
func (o *DeleteActionForbidden) WithPayload(payload *models.ErrorMessage) *DeleteActionForbidden
WithPayload adds the payload to the delete action forbidden response
func (*DeleteActionForbidden) WriteResponse ¶
func (o *DeleteActionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionHandler ¶
type DeleteActionHandler interface {
Handle(DeleteActionParams, *models.Principal) middleware.Responder
}
DeleteActionHandler interface for that can handle valid delete action params
type DeleteActionHandlerFunc ¶
type DeleteActionHandlerFunc func(DeleteActionParams, *models.Principal) middleware.Responder
DeleteActionHandlerFunc turns a function with the right signature into a delete action handler
func (DeleteActionHandlerFunc) Handle ¶
func (fn DeleteActionHandlerFunc) Handle(params DeleteActionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteActionInPackage ¶
type DeleteActionInPackage struct {
Context *middleware.Context
Handler DeleteActionInPackageHandler
}
DeleteActionInPackage swagger:route DELETE /namespaces/{namespace}/actions/{packageName}/{actionName} Actions deleteActionInPackage
Delete an action ¶
Delete an action
func NewDeleteActionInPackage ¶
func NewDeleteActionInPackage(ctx *middleware.Context, handler DeleteActionInPackageHandler) *DeleteActionInPackage
NewDeleteActionInPackage creates a new http.Handler for the delete action in package operation
func (*DeleteActionInPackage) ServeHTTP ¶
func (o *DeleteActionInPackage) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteActionInPackageBadRequest ¶
type DeleteActionInPackageBadRequest struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionInPackageBadRequest Bad request
swagger:response deleteActionInPackageBadRequest
func NewDeleteActionInPackageBadRequest ¶
func NewDeleteActionInPackageBadRequest() *DeleteActionInPackageBadRequest
NewDeleteActionInPackageBadRequest creates DeleteActionInPackageBadRequest with default headers values
func (*DeleteActionInPackageBadRequest) SetPayload ¶
func (o *DeleteActionInPackageBadRequest) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action in package bad request response
func (*DeleteActionInPackageBadRequest) WithPayload ¶
func (o *DeleteActionInPackageBadRequest) WithPayload(payload *models.ErrorMessage) *DeleteActionInPackageBadRequest
WithPayload adds the payload to the delete action in package bad request response
func (*DeleteActionInPackageBadRequest) WriteResponse ¶
func (o *DeleteActionInPackageBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionInPackageConflict ¶
type DeleteActionInPackageConflict struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionInPackageConflict Conflicting item already exists
swagger:response deleteActionInPackageConflict
func NewDeleteActionInPackageConflict ¶
func NewDeleteActionInPackageConflict() *DeleteActionInPackageConflict
NewDeleteActionInPackageConflict creates DeleteActionInPackageConflict with default headers values
func (*DeleteActionInPackageConflict) SetPayload ¶
func (o *DeleteActionInPackageConflict) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action in package conflict response
func (*DeleteActionInPackageConflict) WithPayload ¶
func (o *DeleteActionInPackageConflict) WithPayload(payload *models.ErrorMessage) *DeleteActionInPackageConflict
WithPayload adds the payload to the delete action in package conflict response
func (*DeleteActionInPackageConflict) WriteResponse ¶
func (o *DeleteActionInPackageConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionInPackageForbidden ¶
type DeleteActionInPackageForbidden struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionInPackageForbidden Unauthorized request
swagger:response deleteActionInPackageForbidden
func NewDeleteActionInPackageForbidden ¶
func NewDeleteActionInPackageForbidden() *DeleteActionInPackageForbidden
NewDeleteActionInPackageForbidden creates DeleteActionInPackageForbidden with default headers values
func (*DeleteActionInPackageForbidden) SetPayload ¶
func (o *DeleteActionInPackageForbidden) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action in package forbidden response
func (*DeleteActionInPackageForbidden) WithPayload ¶
func (o *DeleteActionInPackageForbidden) WithPayload(payload *models.ErrorMessage) *DeleteActionInPackageForbidden
WithPayload adds the payload to the delete action in package forbidden response
func (*DeleteActionInPackageForbidden) WriteResponse ¶
func (o *DeleteActionInPackageForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionInPackageHandler ¶
type DeleteActionInPackageHandler interface {
Handle(DeleteActionInPackageParams, *models.Principal) middleware.Responder
}
DeleteActionInPackageHandler interface for that can handle valid delete action in package params
type DeleteActionInPackageHandlerFunc ¶
type DeleteActionInPackageHandlerFunc func(DeleteActionInPackageParams, *models.Principal) middleware.Responder
DeleteActionInPackageHandlerFunc turns a function with the right signature into a delete action in package handler
func (DeleteActionInPackageHandlerFunc) Handle ¶
func (fn DeleteActionInPackageHandlerFunc) Handle(params DeleteActionInPackageParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteActionInPackageInternalServerError ¶
type DeleteActionInPackageInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionInPackageInternalServerError Server error
swagger:response deleteActionInPackageInternalServerError
func NewDeleteActionInPackageInternalServerError ¶
func NewDeleteActionInPackageInternalServerError() *DeleteActionInPackageInternalServerError
NewDeleteActionInPackageInternalServerError creates DeleteActionInPackageInternalServerError with default headers values
func (*DeleteActionInPackageInternalServerError) SetPayload ¶
func (o *DeleteActionInPackageInternalServerError) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action in package internal server error response
func (*DeleteActionInPackageInternalServerError) WithPayload ¶
func (o *DeleteActionInPackageInternalServerError) WithPayload(payload *models.ErrorMessage) *DeleteActionInPackageInternalServerError
WithPayload adds the payload to the delete action in package internal server error response
func (*DeleteActionInPackageInternalServerError) WriteResponse ¶
func (o *DeleteActionInPackageInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionInPackageNotFound ¶
type DeleteActionInPackageNotFound struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionInPackageNotFound Item not found
swagger:response deleteActionInPackageNotFound
func NewDeleteActionInPackageNotFound ¶
func NewDeleteActionInPackageNotFound() *DeleteActionInPackageNotFound
NewDeleteActionInPackageNotFound creates DeleteActionInPackageNotFound with default headers values
func (*DeleteActionInPackageNotFound) SetPayload ¶
func (o *DeleteActionInPackageNotFound) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action in package not found response
func (*DeleteActionInPackageNotFound) WithPayload ¶
func (o *DeleteActionInPackageNotFound) WithPayload(payload *models.ErrorMessage) *DeleteActionInPackageNotFound
WithPayload adds the payload to the delete action in package not found response
func (*DeleteActionInPackageNotFound) WriteResponse ¶
func (o *DeleteActionInPackageNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionInPackageOK ¶
type DeleteActionInPackageOK struct {
}
DeleteActionInPackageOK Deleted Item
swagger:response deleteActionInPackageOK
func NewDeleteActionInPackageOK ¶
func NewDeleteActionInPackageOK() *DeleteActionInPackageOK
NewDeleteActionInPackageOK creates DeleteActionInPackageOK with default headers values
func (*DeleteActionInPackageOK) WriteResponse ¶
func (o *DeleteActionInPackageOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionInPackageParams ¶
type DeleteActionInPackageParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Name of action to fetch
Required: true
In: path
*/
ActionName string
/*The entity namespace
Required: true
In: path
*/
Namespace string
/*Name of package that contains action
Required: true
In: path
*/
PackageName string
}
DeleteActionInPackageParams contains all the bound params for the delete action in package operation typically these are obtained from a http.Request
swagger:parameters deleteActionInPackage
func NewDeleteActionInPackageParams ¶
func NewDeleteActionInPackageParams() DeleteActionInPackageParams
NewDeleteActionInPackageParams creates a new DeleteActionInPackageParams object no default values defined in spec.
func (*DeleteActionInPackageParams) BindRequest ¶
func (o *DeleteActionInPackageParams) 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 NewDeleteActionInPackageParams() beforehand.
type DeleteActionInPackageURL ¶
type DeleteActionInPackageURL struct {
ActionName string
Namespace string
PackageName string
// contains filtered or unexported fields
}
DeleteActionInPackageURL generates an URL for the delete action in package operation
func (*DeleteActionInPackageURL) Build ¶
func (o *DeleteActionInPackageURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteActionInPackageURL) BuildFull ¶
func (o *DeleteActionInPackageURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteActionInPackageURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteActionInPackageURL) SetBasePath ¶
func (o *DeleteActionInPackageURL) 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 (*DeleteActionInPackageURL) String ¶
func (o *DeleteActionInPackageURL) String() string
String returns the string representation of the path with query string
func (*DeleteActionInPackageURL) StringFull ¶
func (o *DeleteActionInPackageURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteActionInPackageURL) WithBasePath ¶
func (o *DeleteActionInPackageURL) WithBasePath(bp string) *DeleteActionInPackageURL
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 DeleteActionInPackageUnauthorized ¶
type DeleteActionInPackageUnauthorized struct {
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionInPackageUnauthorized Unauthorized request
swagger:response deleteActionInPackageUnauthorized
func NewDeleteActionInPackageUnauthorized ¶
func NewDeleteActionInPackageUnauthorized() *DeleteActionInPackageUnauthorized
NewDeleteActionInPackageUnauthorized creates DeleteActionInPackageUnauthorized with default headers values
func (*DeleteActionInPackageUnauthorized) SetPayload ¶
func (o *DeleteActionInPackageUnauthorized) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action in package unauthorized response
func (*DeleteActionInPackageUnauthorized) WithPayload ¶
func (o *DeleteActionInPackageUnauthorized) WithPayload(payload *models.ErrorMessage) *DeleteActionInPackageUnauthorized
WithPayload adds the payload to the delete action in package unauthorized response
func (*DeleteActionInPackageUnauthorized) WriteResponse ¶
func (o *DeleteActionInPackageUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionInternalServerError ¶
type DeleteActionInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionInternalServerError Server error
swagger:response deleteActionInternalServerError
func NewDeleteActionInternalServerError ¶
func NewDeleteActionInternalServerError() *DeleteActionInternalServerError
NewDeleteActionInternalServerError creates DeleteActionInternalServerError with default headers values
func (*DeleteActionInternalServerError) SetPayload ¶
func (o *DeleteActionInternalServerError) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action internal server error response
func (*DeleteActionInternalServerError) WithPayload ¶
func (o *DeleteActionInternalServerError) WithPayload(payload *models.ErrorMessage) *DeleteActionInternalServerError
WithPayload adds the payload to the delete action internal server error response
func (*DeleteActionInternalServerError) WriteResponse ¶
func (o *DeleteActionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionNotFound ¶
type DeleteActionNotFound struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionNotFound Item not found
swagger:response deleteActionNotFound
func NewDeleteActionNotFound ¶
func NewDeleteActionNotFound() *DeleteActionNotFound
NewDeleteActionNotFound creates DeleteActionNotFound with default headers values
func (*DeleteActionNotFound) SetPayload ¶
func (o *DeleteActionNotFound) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action not found response
func (*DeleteActionNotFound) WithPayload ¶
func (o *DeleteActionNotFound) WithPayload(payload *models.ErrorMessage) *DeleteActionNotFound
WithPayload adds the payload to the delete action not found response
func (*DeleteActionNotFound) WriteResponse ¶
func (o *DeleteActionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionOK ¶
type DeleteActionOK struct {
}
DeleteActionOK Deleted Item
swagger:response deleteActionOK
func NewDeleteActionOK ¶
func NewDeleteActionOK() *DeleteActionOK
NewDeleteActionOK creates DeleteActionOK with default headers values
func (*DeleteActionOK) WriteResponse ¶
func (o *DeleteActionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteActionParams ¶
type DeleteActionParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Name of action to fetch
Required: true
In: path
*/
ActionName string
/*The entity namespace
Required: true
In: path
*/
Namespace string
}
DeleteActionParams contains all the bound params for the delete action operation typically these are obtained from a http.Request
swagger:parameters deleteAction
func NewDeleteActionParams ¶
func NewDeleteActionParams() DeleteActionParams
NewDeleteActionParams creates a new DeleteActionParams object no default values defined in spec.
func (*DeleteActionParams) BindRequest ¶
func (o *DeleteActionParams) 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 NewDeleteActionParams() beforehand.
type DeleteActionURL ¶
type DeleteActionURL struct {
ActionName string
Namespace string
// contains filtered or unexported fields
}
DeleteActionURL generates an URL for the delete action operation
func (*DeleteActionURL) Build ¶
func (o *DeleteActionURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteActionURL) BuildFull ¶
func (o *DeleteActionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteActionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteActionURL) SetBasePath ¶
func (o *DeleteActionURL) 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 (*DeleteActionURL) String ¶
func (o *DeleteActionURL) String() string
String returns the string representation of the path with query string
func (*DeleteActionURL) StringFull ¶
func (o *DeleteActionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteActionURL) WithBasePath ¶
func (o *DeleteActionURL) WithBasePath(bp string) *DeleteActionURL
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 DeleteActionUnauthorized ¶
type DeleteActionUnauthorized struct {
Payload *models.ErrorMessage `json:"body,omitempty"`
}
DeleteActionUnauthorized Unauthorized request
swagger:response deleteActionUnauthorized
func NewDeleteActionUnauthorized ¶
func NewDeleteActionUnauthorized() *DeleteActionUnauthorized
NewDeleteActionUnauthorized creates DeleteActionUnauthorized with default headers values
func (*DeleteActionUnauthorized) SetPayload ¶
func (o *DeleteActionUnauthorized) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the delete action unauthorized response
func (*DeleteActionUnauthorized) WithPayload ¶
func (o *DeleteActionUnauthorized) WithPayload(payload *models.ErrorMessage) *DeleteActionUnauthorized
WithPayload adds the payload to the delete action unauthorized response
func (*DeleteActionUnauthorized) WriteResponse ¶
func (o *DeleteActionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteWebNamespacePackageNameActionNameExtension ¶
type DeleteWebNamespacePackageNameActionNameExtension struct {
Context *middleware.Context
Handler DeleteWebNamespacePackageNameActionNameExtensionHandler
}
DeleteWebNamespacePackageNameActionNameExtension swagger:route DELETE /web/{namespace}/{packageName}/{actionName}.{extension} Actions deleteWebNamespacePackageNameActionNameExtension
DeleteWebNamespacePackageNameActionNameExtension delete web namespace package name action name extension API
func NewDeleteWebNamespacePackageNameActionNameExtension ¶
func NewDeleteWebNamespacePackageNameActionNameExtension(ctx *middleware.Context, handler DeleteWebNamespacePackageNameActionNameExtensionHandler) *DeleteWebNamespacePackageNameActionNameExtension
NewDeleteWebNamespacePackageNameActionNameExtension creates a new http.Handler for the delete web namespace package name action name extension operation
func (*DeleteWebNamespacePackageNameActionNameExtension) ServeHTTP ¶
func (o *DeleteWebNamespacePackageNameActionNameExtension) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteWebNamespacePackageNameActionNameExtensionDefault ¶
type DeleteWebNamespacePackageNameActionNameExtensionDefault struct {
/*
In: Body
*/
Payload DeleteWebNamespacePackageNameActionNameExtensionDefaultBody `json:"body,omitempty"`
// contains filtered or unexported fields
}
DeleteWebNamespacePackageNameActionNameExtensionDefault any response
swagger:response deleteWebNamespacePackageNameActionNameExtensionDefault
func NewDeleteWebNamespacePackageNameActionNameExtensionDefault ¶
func NewDeleteWebNamespacePackageNameActionNameExtensionDefault(code int) *DeleteWebNamespacePackageNameActionNameExtensionDefault
NewDeleteWebNamespacePackageNameActionNameExtensionDefault creates DeleteWebNamespacePackageNameActionNameExtensionDefault with default headers values
func (*DeleteWebNamespacePackageNameActionNameExtensionDefault) SetPayload ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionDefault) SetPayload(payload DeleteWebNamespacePackageNameActionNameExtensionDefaultBody)
SetPayload sets the payload to the delete web namespace package name action name extension default response
func (*DeleteWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete web namespace package name action name extension default response
func (*DeleteWebNamespacePackageNameActionNameExtensionDefault) WithPayload ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionDefault) WithPayload(payload DeleteWebNamespacePackageNameActionNameExtensionDefaultBody) *DeleteWebNamespacePackageNameActionNameExtensionDefault
WithPayload adds the payload to the delete web namespace package name action name extension default response
func (*DeleteWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode(code int) *DeleteWebNamespacePackageNameActionNameExtensionDefault
WithStatusCode adds the status to the delete web namespace package name action name extension default response
func (*DeleteWebNamespacePackageNameActionNameExtensionDefault) WriteResponse ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteWebNamespacePackageNameActionNameExtensionDefaultBody ¶
type DeleteWebNamespacePackageNameActionNameExtensionDefaultBody interface{}
DeleteWebNamespacePackageNameActionNameExtensionDefaultBody delete web namespace package name action name extension default body swagger:model DeleteWebNamespacePackageNameActionNameExtensionDefaultBody
type DeleteWebNamespacePackageNameActionNameExtensionHandler ¶
type DeleteWebNamespacePackageNameActionNameExtensionHandler interface {
Handle(DeleteWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
}
DeleteWebNamespacePackageNameActionNameExtensionHandler interface for that can handle valid delete web namespace package name action name extension params
type DeleteWebNamespacePackageNameActionNameExtensionHandlerFunc ¶
type DeleteWebNamespacePackageNameActionNameExtensionHandlerFunc func(DeleteWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
DeleteWebNamespacePackageNameActionNameExtensionHandlerFunc turns a function with the right signature into a delete web namespace package name action name extension handler
func (DeleteWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle ¶
func (fn DeleteWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle(params DeleteWebNamespacePackageNameActionNameExtensionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteWebNamespacePackageNameActionNameExtensionParams ¶
type DeleteWebNamespacePackageNameActionNameExtensionParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*
Required: true
In: path
*/
ActionName string
/*
Required: true
In: path
*/
Extension string
/*
Required: true
In: path
*/
Namespace string
/*
Required: true
In: path
*/
PackageName string
}
DeleteWebNamespacePackageNameActionNameExtensionParams contains all the bound params for the delete web namespace package name action name extension operation typically these are obtained from a http.Request
swagger:parameters DeleteWebNamespacePackageNameActionNameExtension
func NewDeleteWebNamespacePackageNameActionNameExtensionParams ¶
func NewDeleteWebNamespacePackageNameActionNameExtensionParams() DeleteWebNamespacePackageNameActionNameExtensionParams
NewDeleteWebNamespacePackageNameActionNameExtensionParams creates a new DeleteWebNamespacePackageNameActionNameExtensionParams object no default values defined in spec.
func (*DeleteWebNamespacePackageNameActionNameExtensionParams) BindRequest ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionParams) 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 NewDeleteWebNamespacePackageNameActionNameExtensionParams() beforehand.
type DeleteWebNamespacePackageNameActionNameExtensionURL ¶
type DeleteWebNamespacePackageNameActionNameExtensionURL struct {
ActionName string
Extension string
Namespace string
PackageName string
// contains filtered or unexported fields
}
DeleteWebNamespacePackageNameActionNameExtensionURL generates an URL for the delete web namespace package name action name extension operation
func (*DeleteWebNamespacePackageNameActionNameExtensionURL) Build ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteWebNamespacePackageNameActionNameExtensionURL) BuildFull ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteWebNamespacePackageNameActionNameExtensionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteWebNamespacePackageNameActionNameExtensionURL) SetBasePath ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) 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 (*DeleteWebNamespacePackageNameActionNameExtensionURL) String ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) String() string
String returns the string representation of the path with query string
func (*DeleteWebNamespacePackageNameActionNameExtensionURL) StringFull ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteWebNamespacePackageNameActionNameExtensionURL) WithBasePath ¶
func (o *DeleteWebNamespacePackageNameActionNameExtensionURL) WithBasePath(bp string) *DeleteWebNamespacePackageNameActionNameExtensionURL
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 GetActionByName ¶
type GetActionByName struct {
Context *middleware.Context
Handler GetActionByNameHandler
}
GetActionByName swagger:route GET /namespaces/{namespace}/actions/{actionName} Actions getActionByName
Get action information ¶
Get action information.
func NewGetActionByName ¶
func NewGetActionByName(ctx *middleware.Context, handler GetActionByNameHandler) *GetActionByName
NewGetActionByName creates a new http.Handler for the get action by name operation
func (*GetActionByName) ServeHTTP ¶
func (o *GetActionByName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetActionByNameForbidden ¶
type GetActionByNameForbidden struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
GetActionByNameForbidden Unauthorized request
swagger:response getActionByNameForbidden
func NewGetActionByNameForbidden ¶
func NewGetActionByNameForbidden() *GetActionByNameForbidden
NewGetActionByNameForbidden creates GetActionByNameForbidden with default headers values
func (*GetActionByNameForbidden) SetPayload ¶
func (o *GetActionByNameForbidden) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the get action by name forbidden response
func (*GetActionByNameForbidden) WithPayload ¶
func (o *GetActionByNameForbidden) WithPayload(payload *models.ErrorMessage) *GetActionByNameForbidden
WithPayload adds the payload to the get action by name forbidden response
func (*GetActionByNameForbidden) WriteResponse ¶
func (o *GetActionByNameForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetActionByNameHandler ¶
type GetActionByNameHandler interface {
Handle(GetActionByNameParams, *models.Principal) middleware.Responder
}
GetActionByNameHandler interface for that can handle valid get action by name params
type GetActionByNameHandlerFunc ¶
type GetActionByNameHandlerFunc func(GetActionByNameParams, *models.Principal) middleware.Responder
GetActionByNameHandlerFunc turns a function with the right signature into a get action by name handler
func (GetActionByNameHandlerFunc) Handle ¶
func (fn GetActionByNameHandlerFunc) Handle(params GetActionByNameParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetActionByNameInternalServerError ¶
type GetActionByNameInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
GetActionByNameInternalServerError Server error
swagger:response getActionByNameInternalServerError
func NewGetActionByNameInternalServerError ¶
func NewGetActionByNameInternalServerError() *GetActionByNameInternalServerError
NewGetActionByNameInternalServerError creates GetActionByNameInternalServerError with default headers values
func (*GetActionByNameInternalServerError) SetPayload ¶
func (o *GetActionByNameInternalServerError) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the get action by name internal server error response
func (*GetActionByNameInternalServerError) WithPayload ¶
func (o *GetActionByNameInternalServerError) WithPayload(payload *models.ErrorMessage) *GetActionByNameInternalServerError
WithPayload adds the payload to the get action by name internal server error response
func (*GetActionByNameInternalServerError) WriteResponse ¶
func (o *GetActionByNameInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetActionByNameNotFound ¶
type GetActionByNameNotFound struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
GetActionByNameNotFound Item not found
swagger:response getActionByNameNotFound
func NewGetActionByNameNotFound ¶
func NewGetActionByNameNotFound() *GetActionByNameNotFound
NewGetActionByNameNotFound creates GetActionByNameNotFound with default headers values
func (*GetActionByNameNotFound) SetPayload ¶
func (o *GetActionByNameNotFound) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the get action by name not found response
func (*GetActionByNameNotFound) WithPayload ¶
func (o *GetActionByNameNotFound) WithPayload(payload *models.ErrorMessage) *GetActionByNameNotFound
WithPayload adds the payload to the get action by name not found response
func (*GetActionByNameNotFound) WriteResponse ¶
func (o *GetActionByNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetActionByNameOK ¶
GetActionByNameOK Returned action
swagger:response getActionByNameOK
func NewGetActionByNameOK ¶
func NewGetActionByNameOK() *GetActionByNameOK
NewGetActionByNameOK creates GetActionByNameOK with default headers values
func (*GetActionByNameOK) SetPayload ¶
func (o *GetActionByNameOK) SetPayload(payload *models.Action)
SetPayload sets the payload to the get action by name o k response
func (*GetActionByNameOK) WithPayload ¶
func (o *GetActionByNameOK) WithPayload(payload *models.Action) *GetActionByNameOK
WithPayload adds the payload to the get action by name o k response
func (*GetActionByNameOK) WriteResponse ¶
func (o *GetActionByNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetActionByNameParams ¶
type GetActionByNameParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Name of action to fetch
Required: true
In: path
*/
ActionName string
/*Include action code in the result
In: query
*/
Code *bool
/*The entity namespace
Required: true
In: path
*/
Namespace string
}
GetActionByNameParams contains all the bound params for the get action by name operation typically these are obtained from a http.Request
swagger:parameters getActionByName
func NewGetActionByNameParams ¶
func NewGetActionByNameParams() GetActionByNameParams
NewGetActionByNameParams creates a new GetActionByNameParams object no default values defined in spec.
func (*GetActionByNameParams) BindRequest ¶
func (o *GetActionByNameParams) 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 NewGetActionByNameParams() beforehand.
type GetActionByNameURL ¶
type GetActionByNameURL struct {
ActionName string
Namespace string
Code *bool
// contains filtered or unexported fields
}
GetActionByNameURL generates an URL for the get action by name operation
func (*GetActionByNameURL) Build ¶
func (o *GetActionByNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetActionByNameURL) BuildFull ¶
func (o *GetActionByNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetActionByNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetActionByNameURL) SetBasePath ¶
func (o *GetActionByNameURL) 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 (*GetActionByNameURL) String ¶
func (o *GetActionByNameURL) String() string
String returns the string representation of the path with query string
func (*GetActionByNameURL) StringFull ¶
func (o *GetActionByNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetActionByNameURL) WithBasePath ¶
func (o *GetActionByNameURL) WithBasePath(bp string) *GetActionByNameURL
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 GetActionByNameUnauthorized ¶
type GetActionByNameUnauthorized struct {
Payload *models.ErrorMessage `json:"body,omitempty"`
}
GetActionByNameUnauthorized Unauthorized request
swagger:response getActionByNameUnauthorized
func NewGetActionByNameUnauthorized ¶
func NewGetActionByNameUnauthorized() *GetActionByNameUnauthorized
NewGetActionByNameUnauthorized creates GetActionByNameUnauthorized with default headers values
func (*GetActionByNameUnauthorized) SetPayload ¶
func (o *GetActionByNameUnauthorized) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the get action by name unauthorized response
func (*GetActionByNameUnauthorized) WithPayload ¶
func (o *GetActionByNameUnauthorized) WithPayload(payload *models.ErrorMessage) *GetActionByNameUnauthorized
WithPayload adds the payload to the get action by name unauthorized response
func (*GetActionByNameUnauthorized) WriteResponse ¶
func (o *GetActionByNameUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetActionInPackageByName ¶
type GetActionInPackageByName struct {
Context *middleware.Context
Handler GetActionInPackageByNameHandler
}
GetActionInPackageByName swagger:route GET /namespaces/{namespace}/actions/{packageName}/{actionName} Actions getActionInPackageByName
Get action information ¶
Get action information.
func NewGetActionInPackageByName ¶
func NewGetActionInPackageByName(ctx *middleware.Context, handler GetActionInPackageByNameHandler) *GetActionInPackageByName
NewGetActionInPackageByName creates a new http.Handler for the get action in package by name operation
func (*GetActionInPackageByName) ServeHTTP ¶
func (o *GetActionInPackageByName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetActionInPackageByNameForbidden ¶
type GetActionInPackageByNameForbidden struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
GetActionInPackageByNameForbidden Unauthorized request
swagger:response getActionInPackageByNameForbidden
func NewGetActionInPackageByNameForbidden ¶
func NewGetActionInPackageByNameForbidden() *GetActionInPackageByNameForbidden
NewGetActionInPackageByNameForbidden creates GetActionInPackageByNameForbidden with default headers values
func (*GetActionInPackageByNameForbidden) SetPayload ¶
func (o *GetActionInPackageByNameForbidden) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the get action in package by name forbidden response
func (*GetActionInPackageByNameForbidden) WithPayload ¶
func (o *GetActionInPackageByNameForbidden) WithPayload(payload *models.ErrorMessage) *GetActionInPackageByNameForbidden
WithPayload adds the payload to the get action in package by name forbidden response
func (*GetActionInPackageByNameForbidden) WriteResponse ¶
func (o *GetActionInPackageByNameForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetActionInPackageByNameHandler ¶
type GetActionInPackageByNameHandler interface {
Handle(GetActionInPackageByNameParams, *models.Principal) middleware.Responder
}
GetActionInPackageByNameHandler interface for that can handle valid get action in package by name params
type GetActionInPackageByNameHandlerFunc ¶
type GetActionInPackageByNameHandlerFunc func(GetActionInPackageByNameParams, *models.Principal) middleware.Responder
GetActionInPackageByNameHandlerFunc turns a function with the right signature into a get action in package by name handler
func (GetActionInPackageByNameHandlerFunc) Handle ¶
func (fn GetActionInPackageByNameHandlerFunc) Handle(params GetActionInPackageByNameParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetActionInPackageByNameInternalServerError ¶
type GetActionInPackageByNameInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
GetActionInPackageByNameInternalServerError Server error
swagger:response getActionInPackageByNameInternalServerError
func NewGetActionInPackageByNameInternalServerError ¶
func NewGetActionInPackageByNameInternalServerError() *GetActionInPackageByNameInternalServerError
NewGetActionInPackageByNameInternalServerError creates GetActionInPackageByNameInternalServerError with default headers values
func (*GetActionInPackageByNameInternalServerError) SetPayload ¶
func (o *GetActionInPackageByNameInternalServerError) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the get action in package by name internal server error response
func (*GetActionInPackageByNameInternalServerError) WithPayload ¶
func (o *GetActionInPackageByNameInternalServerError) WithPayload(payload *models.ErrorMessage) *GetActionInPackageByNameInternalServerError
WithPayload adds the payload to the get action in package by name internal server error response
func (*GetActionInPackageByNameInternalServerError) WriteResponse ¶
func (o *GetActionInPackageByNameInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetActionInPackageByNameNotFound ¶
type GetActionInPackageByNameNotFound struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
GetActionInPackageByNameNotFound Item not found
swagger:response getActionInPackageByNameNotFound
func NewGetActionInPackageByNameNotFound ¶
func NewGetActionInPackageByNameNotFound() *GetActionInPackageByNameNotFound
NewGetActionInPackageByNameNotFound creates GetActionInPackageByNameNotFound with default headers values
func (*GetActionInPackageByNameNotFound) SetPayload ¶
func (o *GetActionInPackageByNameNotFound) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the get action in package by name not found response
func (*GetActionInPackageByNameNotFound) WithPayload ¶
func (o *GetActionInPackageByNameNotFound) WithPayload(payload *models.ErrorMessage) *GetActionInPackageByNameNotFound
WithPayload adds the payload to the get action in package by name not found response
func (*GetActionInPackageByNameNotFound) WriteResponse ¶
func (o *GetActionInPackageByNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetActionInPackageByNameOK ¶
type GetActionInPackageByNameOK struct {
/*
In: Body
*/
Payload *models.Action `json:"body,omitempty"`
}
GetActionInPackageByNameOK Returned action
swagger:response getActionInPackageByNameOK
func NewGetActionInPackageByNameOK ¶
func NewGetActionInPackageByNameOK() *GetActionInPackageByNameOK
NewGetActionInPackageByNameOK creates GetActionInPackageByNameOK with default headers values
func (*GetActionInPackageByNameOK) SetPayload ¶
func (o *GetActionInPackageByNameOK) SetPayload(payload *models.Action)
SetPayload sets the payload to the get action in package by name o k response
func (*GetActionInPackageByNameOK) WithPayload ¶
func (o *GetActionInPackageByNameOK) WithPayload(payload *models.Action) *GetActionInPackageByNameOK
WithPayload adds the payload to the get action in package by name o k response
func (*GetActionInPackageByNameOK) WriteResponse ¶
func (o *GetActionInPackageByNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetActionInPackageByNameParams ¶
type GetActionInPackageByNameParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Name of action to fetch
Required: true
In: path
*/
ActionName string
/*Include action code in the result
In: query
*/
Code *bool
/*The entity namespace
Required: true
In: path
*/
Namespace string
/*Name of package that contains action
Required: true
In: path
*/
PackageName string
}
GetActionInPackageByNameParams contains all the bound params for the get action in package by name operation typically these are obtained from a http.Request
swagger:parameters getActionInPackageByName
func NewGetActionInPackageByNameParams ¶
func NewGetActionInPackageByNameParams() GetActionInPackageByNameParams
NewGetActionInPackageByNameParams creates a new GetActionInPackageByNameParams object no default values defined in spec.
func (*GetActionInPackageByNameParams) BindRequest ¶
func (o *GetActionInPackageByNameParams) 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 NewGetActionInPackageByNameParams() beforehand.
type GetActionInPackageByNameURL ¶
type GetActionInPackageByNameURL struct {
ActionName string
Namespace string
PackageName string
Code *bool
// contains filtered or unexported fields
}
GetActionInPackageByNameURL generates an URL for the get action in package by name operation
func (*GetActionInPackageByNameURL) Build ¶
func (o *GetActionInPackageByNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetActionInPackageByNameURL) BuildFull ¶
func (o *GetActionInPackageByNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetActionInPackageByNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetActionInPackageByNameURL) SetBasePath ¶
func (o *GetActionInPackageByNameURL) 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 (*GetActionInPackageByNameURL) String ¶
func (o *GetActionInPackageByNameURL) String() string
String returns the string representation of the path with query string
func (*GetActionInPackageByNameURL) StringFull ¶
func (o *GetActionInPackageByNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetActionInPackageByNameURL) WithBasePath ¶
func (o *GetActionInPackageByNameURL) WithBasePath(bp string) *GetActionInPackageByNameURL
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 GetActionInPackageByNameUnauthorized ¶
type GetActionInPackageByNameUnauthorized struct {
Payload *models.ErrorMessage `json:"body,omitempty"`
}
GetActionInPackageByNameUnauthorized Unauthorized request
swagger:response getActionInPackageByNameUnauthorized
func NewGetActionInPackageByNameUnauthorized ¶
func NewGetActionInPackageByNameUnauthorized() *GetActionInPackageByNameUnauthorized
NewGetActionInPackageByNameUnauthorized creates GetActionInPackageByNameUnauthorized with default headers values
func (*GetActionInPackageByNameUnauthorized) SetPayload ¶
func (o *GetActionInPackageByNameUnauthorized) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the get action in package by name unauthorized response
func (*GetActionInPackageByNameUnauthorized) WithPayload ¶
func (o *GetActionInPackageByNameUnauthorized) WithPayload(payload *models.ErrorMessage) *GetActionInPackageByNameUnauthorized
WithPayload adds the payload to the get action in package by name unauthorized response
func (*GetActionInPackageByNameUnauthorized) WriteResponse ¶
func (o *GetActionInPackageByNameUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAllActions ¶
type GetAllActions struct {
Context *middleware.Context
Handler GetAllActionsHandler
}
GetAllActions swagger:route GET /namespaces/{namespace}/actions Actions getAllActions
Get all actions ¶
Get all actions
func NewGetAllActions ¶
func NewGetAllActions(ctx *middleware.Context, handler GetAllActionsHandler) *GetAllActions
NewGetAllActions creates a new http.Handler for the get all actions operation
func (*GetAllActions) ServeHTTP ¶
func (o *GetAllActions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAllActionsHandler ¶
type GetAllActionsHandler interface {
Handle(GetAllActionsParams, *models.Principal) middleware.Responder
}
GetAllActionsHandler interface for that can handle valid get all actions params
type GetAllActionsHandlerFunc ¶
type GetAllActionsHandlerFunc func(GetAllActionsParams, *models.Principal) middleware.Responder
GetAllActionsHandlerFunc turns a function with the right signature into a get all actions handler
func (GetAllActionsHandlerFunc) Handle ¶
func (fn GetAllActionsHandlerFunc) Handle(params GetAllActionsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetAllActionsInternalServerError ¶
type GetAllActionsInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
GetAllActionsInternalServerError Server error
swagger:response getAllActionsInternalServerError
func NewGetAllActionsInternalServerError ¶
func NewGetAllActionsInternalServerError() *GetAllActionsInternalServerError
NewGetAllActionsInternalServerError creates GetAllActionsInternalServerError with default headers values
func (*GetAllActionsInternalServerError) SetPayload ¶
func (o *GetAllActionsInternalServerError) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the get all actions internal server error response
func (*GetAllActionsInternalServerError) WithPayload ¶
func (o *GetAllActionsInternalServerError) WithPayload(payload *models.ErrorMessage) *GetAllActionsInternalServerError
WithPayload adds the payload to the get all actions internal server error response
func (*GetAllActionsInternalServerError) WriteResponse ¶
func (o *GetAllActionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAllActionsOK ¶
GetAllActionsOK Actions response
swagger:response getAllActionsOK
func NewGetAllActionsOK ¶
func NewGetAllActionsOK() *GetAllActionsOK
NewGetAllActionsOK creates GetAllActionsOK with default headers values
func (*GetAllActionsOK) SetPayload ¶
func (o *GetAllActionsOK) SetPayload(payload []*models.Action)
SetPayload sets the payload to the get all actions o k response
func (*GetAllActionsOK) WithPayload ¶
func (o *GetAllActionsOK) WithPayload(payload []*models.Action) *GetAllActionsOK
WithPayload adds the payload to the get all actions o k response
func (*GetAllActionsOK) WriteResponse ¶
func (o *GetAllActionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAllActionsParams ¶
type GetAllActionsParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Number of entities to include in the result (0-200). The default limit is 30. A value of 0 sets the limit to the maximum.
In: query
*/
Limit *int64
/*The entity namespace
Required: true
In: path
*/
Namespace string
/*Number of entities to skip in the result.
In: query
*/
Skip *int64
}
GetAllActionsParams contains all the bound params for the get all actions operation typically these are obtained from a http.Request
swagger:parameters getAllActions
func NewGetAllActionsParams ¶
func NewGetAllActionsParams() GetAllActionsParams
NewGetAllActionsParams creates a new GetAllActionsParams object no default values defined in spec.
func (*GetAllActionsParams) BindRequest ¶
func (o *GetAllActionsParams) 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 NewGetAllActionsParams() beforehand.
type GetAllActionsURL ¶
type GetAllActionsURL struct {
Namespace string
Limit *int64
Skip *int64
// contains filtered or unexported fields
}
GetAllActionsURL generates an URL for the get all actions operation
func (*GetAllActionsURL) Build ¶
func (o *GetAllActionsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAllActionsURL) BuildFull ¶
func (o *GetAllActionsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAllActionsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAllActionsURL) SetBasePath ¶
func (o *GetAllActionsURL) 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 (*GetAllActionsURL) String ¶
func (o *GetAllActionsURL) String() string
String returns the string representation of the path with query string
func (*GetAllActionsURL) StringFull ¶
func (o *GetAllActionsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAllActionsURL) WithBasePath ¶
func (o *GetAllActionsURL) WithBasePath(bp string) *GetAllActionsURL
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 GetAllActionsUnauthorized ¶
type GetAllActionsUnauthorized struct {
Payload *models.ErrorMessage `json:"body,omitempty"`
}
GetAllActionsUnauthorized Unauthorized request
swagger:response getAllActionsUnauthorized
func NewGetAllActionsUnauthorized ¶
func NewGetAllActionsUnauthorized() *GetAllActionsUnauthorized
NewGetAllActionsUnauthorized creates GetAllActionsUnauthorized with default headers values
func (*GetAllActionsUnauthorized) SetPayload ¶
func (o *GetAllActionsUnauthorized) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the get all actions unauthorized response
func (*GetAllActionsUnauthorized) WithPayload ¶
func (o *GetAllActionsUnauthorized) WithPayload(payload *models.ErrorMessage) *GetAllActionsUnauthorized
WithPayload adds the payload to the get all actions unauthorized response
func (*GetAllActionsUnauthorized) WriteResponse ¶
func (o *GetAllActionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetWebNamespacePackageNameActionNameExtension ¶
type GetWebNamespacePackageNameActionNameExtension struct {
Context *middleware.Context
Handler GetWebNamespacePackageNameActionNameExtensionHandler
}
GetWebNamespacePackageNameActionNameExtension swagger:route GET /web/{namespace}/{packageName}/{actionName}.{extension} Actions getWebNamespacePackageNameActionNameExtension
GetWebNamespacePackageNameActionNameExtension get web namespace package name action name extension API
func NewGetWebNamespacePackageNameActionNameExtension ¶
func NewGetWebNamespacePackageNameActionNameExtension(ctx *middleware.Context, handler GetWebNamespacePackageNameActionNameExtensionHandler) *GetWebNamespacePackageNameActionNameExtension
NewGetWebNamespacePackageNameActionNameExtension creates a new http.Handler for the get web namespace package name action name extension operation
func (*GetWebNamespacePackageNameActionNameExtension) ServeHTTP ¶
func (o *GetWebNamespacePackageNameActionNameExtension) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetWebNamespacePackageNameActionNameExtensionDefault ¶
type GetWebNamespacePackageNameActionNameExtensionDefault struct {
/*
In: Body
*/
Payload GetWebNamespacePackageNameActionNameExtensionDefaultBody `json:"body,omitempty"`
// contains filtered or unexported fields
}
GetWebNamespacePackageNameActionNameExtensionDefault any response
swagger:response getWebNamespacePackageNameActionNameExtensionDefault
func NewGetWebNamespacePackageNameActionNameExtensionDefault ¶
func NewGetWebNamespacePackageNameActionNameExtensionDefault(code int) *GetWebNamespacePackageNameActionNameExtensionDefault
NewGetWebNamespacePackageNameActionNameExtensionDefault creates GetWebNamespacePackageNameActionNameExtensionDefault with default headers values
func (*GetWebNamespacePackageNameActionNameExtensionDefault) SetPayload ¶
func (o *GetWebNamespacePackageNameActionNameExtensionDefault) SetPayload(payload GetWebNamespacePackageNameActionNameExtensionDefaultBody)
SetPayload sets the payload to the get web namespace package name action name extension default response
func (*GetWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode ¶
func (o *GetWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get web namespace package name action name extension default response
func (*GetWebNamespacePackageNameActionNameExtensionDefault) WithPayload ¶
func (o *GetWebNamespacePackageNameActionNameExtensionDefault) WithPayload(payload GetWebNamespacePackageNameActionNameExtensionDefaultBody) *GetWebNamespacePackageNameActionNameExtensionDefault
WithPayload adds the payload to the get web namespace package name action name extension default response
func (*GetWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode ¶
func (o *GetWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode(code int) *GetWebNamespacePackageNameActionNameExtensionDefault
WithStatusCode adds the status to the get web namespace package name action name extension default response
func (*GetWebNamespacePackageNameActionNameExtensionDefault) WriteResponse ¶
func (o *GetWebNamespacePackageNameActionNameExtensionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetWebNamespacePackageNameActionNameExtensionDefaultBody ¶
type GetWebNamespacePackageNameActionNameExtensionDefaultBody interface{}
GetWebNamespacePackageNameActionNameExtensionDefaultBody get web namespace package name action name extension default body swagger:model GetWebNamespacePackageNameActionNameExtensionDefaultBody
type GetWebNamespacePackageNameActionNameExtensionHandler ¶
type GetWebNamespacePackageNameActionNameExtensionHandler interface {
Handle(GetWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
}
GetWebNamespacePackageNameActionNameExtensionHandler interface for that can handle valid get web namespace package name action name extension params
type GetWebNamespacePackageNameActionNameExtensionHandlerFunc ¶
type GetWebNamespacePackageNameActionNameExtensionHandlerFunc func(GetWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
GetWebNamespacePackageNameActionNameExtensionHandlerFunc turns a function with the right signature into a get web namespace package name action name extension handler
func (GetWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle ¶
func (fn GetWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle(params GetWebNamespacePackageNameActionNameExtensionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetWebNamespacePackageNameActionNameExtensionParams ¶
type GetWebNamespacePackageNameActionNameExtensionParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*
Required: true
In: path
*/
ActionName string
/*
Required: true
In: path
*/
Extension string
/*
Required: true
In: path
*/
Namespace string
/*
Required: true
In: path
*/
PackageName string
}
GetWebNamespacePackageNameActionNameExtensionParams contains all the bound params for the get web namespace package name action name extension operation typically these are obtained from a http.Request
swagger:parameters GetWebNamespacePackageNameActionNameExtension
func NewGetWebNamespacePackageNameActionNameExtensionParams ¶
func NewGetWebNamespacePackageNameActionNameExtensionParams() GetWebNamespacePackageNameActionNameExtensionParams
NewGetWebNamespacePackageNameActionNameExtensionParams creates a new GetWebNamespacePackageNameActionNameExtensionParams object no default values defined in spec.
func (*GetWebNamespacePackageNameActionNameExtensionParams) BindRequest ¶
func (o *GetWebNamespacePackageNameActionNameExtensionParams) 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 NewGetWebNamespacePackageNameActionNameExtensionParams() beforehand.
type GetWebNamespacePackageNameActionNameExtensionURL ¶
type GetWebNamespacePackageNameActionNameExtensionURL struct {
ActionName string
Extension string
Namespace string
PackageName string
// contains filtered or unexported fields
}
GetWebNamespacePackageNameActionNameExtensionURL generates an URL for the get web namespace package name action name extension operation
func (*GetWebNamespacePackageNameActionNameExtensionURL) Build ¶
func (o *GetWebNamespacePackageNameActionNameExtensionURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetWebNamespacePackageNameActionNameExtensionURL) BuildFull ¶
func (o *GetWebNamespacePackageNameActionNameExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetWebNamespacePackageNameActionNameExtensionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetWebNamespacePackageNameActionNameExtensionURL) SetBasePath ¶
func (o *GetWebNamespacePackageNameActionNameExtensionURL) 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 (*GetWebNamespacePackageNameActionNameExtensionURL) String ¶
func (o *GetWebNamespacePackageNameActionNameExtensionURL) String() string
String returns the string representation of the path with query string
func (*GetWebNamespacePackageNameActionNameExtensionURL) StringFull ¶
func (o *GetWebNamespacePackageNameActionNameExtensionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetWebNamespacePackageNameActionNameExtensionURL) WithBasePath ¶
func (o *GetWebNamespacePackageNameActionNameExtensionURL) WithBasePath(bp string) *GetWebNamespacePackageNameActionNameExtensionURL
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 InvokeAction ¶
type InvokeAction struct {
Context *middleware.Context
Handler InvokeActionHandler
}
InvokeAction swagger:route POST /namespaces/{namespace}/actions/{actionName} Actions invokeAction
Invoke an action ¶
Invoke an action
func NewInvokeAction ¶
func NewInvokeAction(ctx *middleware.Context, handler InvokeActionHandler) *InvokeAction
NewInvokeAction creates a new http.Handler for the invoke action operation
func (*InvokeAction) ServeHTTP ¶
func (o *InvokeAction) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type InvokeActionAccepted ¶
type InvokeActionAccepted struct {
/*
In: Body
*/
Payload *models.ActivationID `json:"body,omitempty"`
}
InvokeActionAccepted Accepted activation request
swagger:response invokeActionAccepted
func NewInvokeActionAccepted ¶
func NewInvokeActionAccepted() *InvokeActionAccepted
NewInvokeActionAccepted creates InvokeActionAccepted with default headers values
func (*InvokeActionAccepted) SetPayload ¶
func (o *InvokeActionAccepted) SetPayload(payload *models.ActivationID)
SetPayload sets the payload to the invoke action accepted response
func (*InvokeActionAccepted) WithPayload ¶
func (o *InvokeActionAccepted) WithPayload(payload *models.ActivationID) *InvokeActionAccepted
WithPayload adds the payload to the invoke action accepted response
func (*InvokeActionAccepted) WriteResponse ¶
func (o *InvokeActionAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionBadGateway ¶
type InvokeActionBadGateway struct {
}
InvokeActionBadGateway Activation produced an application error
swagger:response invokeActionBadGateway
func NewInvokeActionBadGateway ¶
func NewInvokeActionBadGateway() *InvokeActionBadGateway
NewInvokeActionBadGateway creates InvokeActionBadGateway with default headers values
func (*InvokeActionBadGateway) WriteResponse ¶
func (o *InvokeActionBadGateway) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionForbidden ¶
type InvokeActionForbidden struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
InvokeActionForbidden Unauthorized request
swagger:response invokeActionForbidden
func NewInvokeActionForbidden ¶
func NewInvokeActionForbidden() *InvokeActionForbidden
NewInvokeActionForbidden creates InvokeActionForbidden with default headers values
func (*InvokeActionForbidden) SetPayload ¶
func (o *InvokeActionForbidden) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the invoke action forbidden response
func (*InvokeActionForbidden) WithPayload ¶
func (o *InvokeActionForbidden) WithPayload(payload *models.ErrorMessage) *InvokeActionForbidden
WithPayload adds the payload to the invoke action forbidden response
func (*InvokeActionForbidden) WriteResponse ¶
func (o *InvokeActionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionHandler ¶
type InvokeActionHandler interface {
Handle(InvokeActionParams, *models.Principal) middleware.Responder
}
InvokeActionHandler interface for that can handle valid invoke action params
type InvokeActionHandlerFunc ¶
type InvokeActionHandlerFunc func(InvokeActionParams, *models.Principal) middleware.Responder
InvokeActionHandlerFunc turns a function with the right signature into a invoke action handler
func (InvokeActionHandlerFunc) Handle ¶
func (fn InvokeActionHandlerFunc) Handle(params InvokeActionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type InvokeActionInPackage ¶
type InvokeActionInPackage struct {
Context *middleware.Context
Handler InvokeActionInPackageHandler
}
InvokeActionInPackage swagger:route POST /namespaces/{namespace}/actions/{packageName}/{actionName} Actions invokeActionInPackage
Invoke an action ¶
Invoke an action
func NewInvokeActionInPackage ¶
func NewInvokeActionInPackage(ctx *middleware.Context, handler InvokeActionInPackageHandler) *InvokeActionInPackage
NewInvokeActionInPackage creates a new http.Handler for the invoke action in package operation
func (*InvokeActionInPackage) ServeHTTP ¶
func (o *InvokeActionInPackage) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type InvokeActionInPackageAccepted ¶
type InvokeActionInPackageAccepted struct {
/*
In: Body
*/
Payload *models.ActivationID `json:"body,omitempty"`
}
InvokeActionInPackageAccepted Accepted activation request
swagger:response invokeActionInPackageAccepted
func NewInvokeActionInPackageAccepted ¶
func NewInvokeActionInPackageAccepted() *InvokeActionInPackageAccepted
NewInvokeActionInPackageAccepted creates InvokeActionInPackageAccepted with default headers values
func (*InvokeActionInPackageAccepted) SetPayload ¶
func (o *InvokeActionInPackageAccepted) SetPayload(payload *models.ActivationID)
SetPayload sets the payload to the invoke action in package accepted response
func (*InvokeActionInPackageAccepted) WithPayload ¶
func (o *InvokeActionInPackageAccepted) WithPayload(payload *models.ActivationID) *InvokeActionInPackageAccepted
WithPayload adds the payload to the invoke action in package accepted response
func (*InvokeActionInPackageAccepted) WriteResponse ¶
func (o *InvokeActionInPackageAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionInPackageBadGateway ¶
type InvokeActionInPackageBadGateway struct {
}
InvokeActionInPackageBadGateway Activation produced an application error
swagger:response invokeActionInPackageBadGateway
func NewInvokeActionInPackageBadGateway ¶
func NewInvokeActionInPackageBadGateway() *InvokeActionInPackageBadGateway
NewInvokeActionInPackageBadGateway creates InvokeActionInPackageBadGateway with default headers values
func (*InvokeActionInPackageBadGateway) WriteResponse ¶
func (o *InvokeActionInPackageBadGateway) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionInPackageForbidden ¶
type InvokeActionInPackageForbidden struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
InvokeActionInPackageForbidden Unauthorized request
swagger:response invokeActionInPackageForbidden
func NewInvokeActionInPackageForbidden ¶
func NewInvokeActionInPackageForbidden() *InvokeActionInPackageForbidden
NewInvokeActionInPackageForbidden creates InvokeActionInPackageForbidden with default headers values
func (*InvokeActionInPackageForbidden) SetPayload ¶
func (o *InvokeActionInPackageForbidden) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the invoke action in package forbidden response
func (*InvokeActionInPackageForbidden) WithPayload ¶
func (o *InvokeActionInPackageForbidden) WithPayload(payload *models.ErrorMessage) *InvokeActionInPackageForbidden
WithPayload adds the payload to the invoke action in package forbidden response
func (*InvokeActionInPackageForbidden) WriteResponse ¶
func (o *InvokeActionInPackageForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionInPackageHandler ¶
type InvokeActionInPackageHandler interface {
Handle(InvokeActionInPackageParams, *models.Principal) middleware.Responder
}
InvokeActionInPackageHandler interface for that can handle valid invoke action in package params
type InvokeActionInPackageHandlerFunc ¶
type InvokeActionInPackageHandlerFunc func(InvokeActionInPackageParams, *models.Principal) middleware.Responder
InvokeActionInPackageHandlerFunc turns a function with the right signature into a invoke action in package handler
func (InvokeActionInPackageHandlerFunc) Handle ¶
func (fn InvokeActionInPackageHandlerFunc) Handle(params InvokeActionInPackageParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type InvokeActionInPackageInternalServerError ¶
type InvokeActionInPackageInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
InvokeActionInPackageInternalServerError Server error
swagger:response invokeActionInPackageInternalServerError
func NewInvokeActionInPackageInternalServerError ¶
func NewInvokeActionInPackageInternalServerError() *InvokeActionInPackageInternalServerError
NewInvokeActionInPackageInternalServerError creates InvokeActionInPackageInternalServerError with default headers values
func (*InvokeActionInPackageInternalServerError) SetPayload ¶
func (o *InvokeActionInPackageInternalServerError) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the invoke action in package internal server error response
func (*InvokeActionInPackageInternalServerError) WithPayload ¶
func (o *InvokeActionInPackageInternalServerError) WithPayload(payload *models.ErrorMessage) *InvokeActionInPackageInternalServerError
WithPayload adds the payload to the invoke action in package internal server error response
func (*InvokeActionInPackageInternalServerError) WriteResponse ¶
func (o *InvokeActionInPackageInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionInPackageNotFound ¶
type InvokeActionInPackageNotFound struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
InvokeActionInPackageNotFound Item not found
swagger:response invokeActionInPackageNotFound
func NewInvokeActionInPackageNotFound ¶
func NewInvokeActionInPackageNotFound() *InvokeActionInPackageNotFound
NewInvokeActionInPackageNotFound creates InvokeActionInPackageNotFound with default headers values
func (*InvokeActionInPackageNotFound) SetPayload ¶
func (o *InvokeActionInPackageNotFound) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the invoke action in package not found response
func (*InvokeActionInPackageNotFound) WithPayload ¶
func (o *InvokeActionInPackageNotFound) WithPayload(payload *models.ErrorMessage) *InvokeActionInPackageNotFound
WithPayload adds the payload to the invoke action in package not found response
func (*InvokeActionInPackageNotFound) WriteResponse ¶
func (o *InvokeActionInPackageNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionInPackageOK ¶
type InvokeActionInPackageOK struct {
}
InvokeActionInPackageOK Successful activation
swagger:response invokeActionInPackageOK
func NewInvokeActionInPackageOK ¶
func NewInvokeActionInPackageOK() *InvokeActionInPackageOK
NewInvokeActionInPackageOK creates InvokeActionInPackageOK with default headers values
func (*InvokeActionInPackageOK) WriteResponse ¶
func (o *InvokeActionInPackageOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionInPackageParams ¶
type InvokeActionInPackageParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Name of action to fetch
Required: true
In: path
*/
ActionName string
/*Blocking or non-blocking invocation. Default is non-blocking.
In: query
*/
Blocking *string
/*The entity namespace
Required: true
In: path
*/
Namespace string
/*Name of package that contains action
Required: true
In: path
*/
PackageName string
/*The parameters for the action being invoked
In: body
*/
Payload interface{}
/*Return only the result of a blocking activation. Default is false.
In: query
*/
Result *string
/*Wait no more than specified duration in milliseconds for a blocking response. Default value and max allowed timeout are 60000.
In: query
*/
Timeout *int64
}
InvokeActionInPackageParams contains all the bound params for the invoke action in package operation typically these are obtained from a http.Request
swagger:parameters invokeActionInPackage
func NewInvokeActionInPackageParams ¶
func NewInvokeActionInPackageParams() InvokeActionInPackageParams
NewInvokeActionInPackageParams creates a new InvokeActionInPackageParams object no default values defined in spec.
func (*InvokeActionInPackageParams) BindRequest ¶
func (o *InvokeActionInPackageParams) 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 NewInvokeActionInPackageParams() beforehand.
type InvokeActionInPackageRequestTimeout ¶
type InvokeActionInPackageRequestTimeout struct {
}
InvokeActionInPackageRequestTimeout Request timed out
swagger:response invokeActionInPackageRequestTimeout
func NewInvokeActionInPackageRequestTimeout ¶
func NewInvokeActionInPackageRequestTimeout() *InvokeActionInPackageRequestTimeout
NewInvokeActionInPackageRequestTimeout creates InvokeActionInPackageRequestTimeout with default headers values
func (*InvokeActionInPackageRequestTimeout) WriteResponse ¶
func (o *InvokeActionInPackageRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionInPackageURL ¶
type InvokeActionInPackageURL struct {
ActionName string
Namespace string
PackageName string
Blocking *string
Result *string
Timeout *int64
// contains filtered or unexported fields
}
InvokeActionInPackageURL generates an URL for the invoke action in package operation
func (*InvokeActionInPackageURL) Build ¶
func (o *InvokeActionInPackageURL) Build() (*url.URL, error)
Build a url path and query string
func (*InvokeActionInPackageURL) BuildFull ¶
func (o *InvokeActionInPackageURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*InvokeActionInPackageURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*InvokeActionInPackageURL) SetBasePath ¶
func (o *InvokeActionInPackageURL) 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 (*InvokeActionInPackageURL) String ¶
func (o *InvokeActionInPackageURL) String() string
String returns the string representation of the path with query string
func (*InvokeActionInPackageURL) StringFull ¶
func (o *InvokeActionInPackageURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*InvokeActionInPackageURL) WithBasePath ¶
func (o *InvokeActionInPackageURL) WithBasePath(bp string) *InvokeActionInPackageURL
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 InvokeActionInPackageUnauthorized ¶
type InvokeActionInPackageUnauthorized struct {
Payload *models.ErrorMessage `json:"body,omitempty"`
}
InvokeActionInPackageUnauthorized Unauthorized request
swagger:response invokeActionInPackageUnauthorized
func NewInvokeActionInPackageUnauthorized ¶
func NewInvokeActionInPackageUnauthorized() *InvokeActionInPackageUnauthorized
NewInvokeActionInPackageUnauthorized creates InvokeActionInPackageUnauthorized with default headers values
func (*InvokeActionInPackageUnauthorized) SetPayload ¶
func (o *InvokeActionInPackageUnauthorized) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the invoke action in package unauthorized response
func (*InvokeActionInPackageUnauthorized) WithPayload ¶
func (o *InvokeActionInPackageUnauthorized) WithPayload(payload *models.ErrorMessage) *InvokeActionInPackageUnauthorized
WithPayload adds the payload to the invoke action in package unauthorized response
func (*InvokeActionInPackageUnauthorized) WriteResponse ¶
func (o *InvokeActionInPackageUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionInternalServerError ¶
type InvokeActionInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
InvokeActionInternalServerError Server error
swagger:response invokeActionInternalServerError
func NewInvokeActionInternalServerError ¶
func NewInvokeActionInternalServerError() *InvokeActionInternalServerError
NewInvokeActionInternalServerError creates InvokeActionInternalServerError with default headers values
func (*InvokeActionInternalServerError) SetPayload ¶
func (o *InvokeActionInternalServerError) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the invoke action internal server error response
func (*InvokeActionInternalServerError) WithPayload ¶
func (o *InvokeActionInternalServerError) WithPayload(payload *models.ErrorMessage) *InvokeActionInternalServerError
WithPayload adds the payload to the invoke action internal server error response
func (*InvokeActionInternalServerError) WriteResponse ¶
func (o *InvokeActionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionNotFound ¶
type InvokeActionNotFound struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
InvokeActionNotFound Item not found
swagger:response invokeActionNotFound
func NewInvokeActionNotFound ¶
func NewInvokeActionNotFound() *InvokeActionNotFound
NewInvokeActionNotFound creates InvokeActionNotFound with default headers values
func (*InvokeActionNotFound) SetPayload ¶
func (o *InvokeActionNotFound) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the invoke action not found response
func (*InvokeActionNotFound) WithPayload ¶
func (o *InvokeActionNotFound) WithPayload(payload *models.ErrorMessage) *InvokeActionNotFound
WithPayload adds the payload to the invoke action not found response
func (*InvokeActionNotFound) WriteResponse ¶
func (o *InvokeActionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionOK ¶
type InvokeActionOK struct {
/*
In: Body
*/
Payload InvokeActionOKBody `json:"body,omitempty"`
}
InvokeActionOK Successful activation
swagger:response invokeActionOK
func NewInvokeActionOK ¶
func NewInvokeActionOK() *InvokeActionOK
NewInvokeActionOK creates InvokeActionOK with default headers values
func (*InvokeActionOK) SetPayload ¶
func (o *InvokeActionOK) SetPayload(payload InvokeActionOKBody)
SetPayload sets the payload to the invoke action o k response
func (*InvokeActionOK) WithPayload ¶
func (o *InvokeActionOK) WithPayload(payload InvokeActionOKBody) *InvokeActionOK
WithPayload adds the payload to the invoke action o k response
func (*InvokeActionOK) WriteResponse ¶
func (o *InvokeActionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionOKBody ¶
type InvokeActionOKBody interface{}
InvokeActionOKBody invoke action o k body swagger:model InvokeActionOKBody
type InvokeActionParams ¶
type InvokeActionParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Name of action to fetch
Required: true
In: path
*/
ActionName string
/*Blocking or non-blocking invocation. Default is non-blocking.
In: query
*/
Blocking *string
/*The entity namespace
Required: true
In: path
*/
Namespace string
/*The parameters for the action being invoked
In: body
*/
Payload interface{}
/*Return only the result of a blocking activation. Default is false.
In: query
*/
Result *string
/*Wait no more than specified duration in milliseconds for a blocking response. Default value and max allowed timeout are 60000.
In: query
*/
Timeout *int64
}
InvokeActionParams contains all the bound params for the invoke action operation typically these are obtained from a http.Request
swagger:parameters invokeAction
func NewInvokeActionParams ¶
func NewInvokeActionParams() InvokeActionParams
NewInvokeActionParams creates a new InvokeActionParams object no default values defined in spec.
func (*InvokeActionParams) BindRequest ¶
func (o *InvokeActionParams) 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 NewInvokeActionParams() beforehand.
type InvokeActionRequestTimeout ¶
type InvokeActionRequestTimeout struct {
}
InvokeActionRequestTimeout Request timed out
swagger:response invokeActionRequestTimeout
func NewInvokeActionRequestTimeout ¶
func NewInvokeActionRequestTimeout() *InvokeActionRequestTimeout
NewInvokeActionRequestTimeout creates InvokeActionRequestTimeout with default headers values
func (*InvokeActionRequestTimeout) WriteResponse ¶
func (o *InvokeActionRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InvokeActionURL ¶
type InvokeActionURL struct {
ActionName string
Namespace string
Blocking *string
Result *string
Timeout *int64
// contains filtered or unexported fields
}
InvokeActionURL generates an URL for the invoke action operation
func (*InvokeActionURL) Build ¶
func (o *InvokeActionURL) Build() (*url.URL, error)
Build a url path and query string
func (*InvokeActionURL) BuildFull ¶
func (o *InvokeActionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*InvokeActionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*InvokeActionURL) SetBasePath ¶
func (o *InvokeActionURL) 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 (*InvokeActionURL) String ¶
func (o *InvokeActionURL) String() string
String returns the string representation of the path with query string
func (*InvokeActionURL) StringFull ¶
func (o *InvokeActionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*InvokeActionURL) WithBasePath ¶
func (o *InvokeActionURL) WithBasePath(bp string) *InvokeActionURL
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 InvokeActionUnauthorized ¶
type InvokeActionUnauthorized struct {
Payload *models.ErrorMessage `json:"body,omitempty"`
}
InvokeActionUnauthorized Unauthorized request
swagger:response invokeActionUnauthorized
func NewInvokeActionUnauthorized ¶
func NewInvokeActionUnauthorized() *InvokeActionUnauthorized
NewInvokeActionUnauthorized creates InvokeActionUnauthorized with default headers values
func (*InvokeActionUnauthorized) SetPayload ¶
func (o *InvokeActionUnauthorized) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the invoke action unauthorized response
func (*InvokeActionUnauthorized) WithPayload ¶
func (o *InvokeActionUnauthorized) WithPayload(payload *models.ErrorMessage) *InvokeActionUnauthorized
WithPayload adds the payload to the invoke action unauthorized response
func (*InvokeActionUnauthorized) WriteResponse ¶
func (o *InvokeActionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostWebNamespacePackageNameActionNameExtension ¶
type PostWebNamespacePackageNameActionNameExtension struct {
Context *middleware.Context
Handler PostWebNamespacePackageNameActionNameExtensionHandler
}
PostWebNamespacePackageNameActionNameExtension swagger:route POST /web/{namespace}/{packageName}/{actionName}.{extension} Actions postWebNamespacePackageNameActionNameExtension
PostWebNamespacePackageNameActionNameExtension post web namespace package name action name extension API
func NewPostWebNamespacePackageNameActionNameExtension ¶
func NewPostWebNamespacePackageNameActionNameExtension(ctx *middleware.Context, handler PostWebNamespacePackageNameActionNameExtensionHandler) *PostWebNamespacePackageNameActionNameExtension
NewPostWebNamespacePackageNameActionNameExtension creates a new http.Handler for the post web namespace package name action name extension operation
func (*PostWebNamespacePackageNameActionNameExtension) ServeHTTP ¶
func (o *PostWebNamespacePackageNameActionNameExtension) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostWebNamespacePackageNameActionNameExtensionDefault ¶
type PostWebNamespacePackageNameActionNameExtensionDefault struct {
/*
In: Body
*/
Payload PostWebNamespacePackageNameActionNameExtensionDefaultBody `json:"body,omitempty"`
// contains filtered or unexported fields
}
PostWebNamespacePackageNameActionNameExtensionDefault any response
swagger:response postWebNamespacePackageNameActionNameExtensionDefault
func NewPostWebNamespacePackageNameActionNameExtensionDefault ¶
func NewPostWebNamespacePackageNameActionNameExtensionDefault(code int) *PostWebNamespacePackageNameActionNameExtensionDefault
NewPostWebNamespacePackageNameActionNameExtensionDefault creates PostWebNamespacePackageNameActionNameExtensionDefault with default headers values
func (*PostWebNamespacePackageNameActionNameExtensionDefault) SetPayload ¶
func (o *PostWebNamespacePackageNameActionNameExtensionDefault) SetPayload(payload PostWebNamespacePackageNameActionNameExtensionDefaultBody)
SetPayload sets the payload to the post web namespace package name action name extension default response
func (*PostWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode ¶
func (o *PostWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post web namespace package name action name extension default response
func (*PostWebNamespacePackageNameActionNameExtensionDefault) WithPayload ¶
func (o *PostWebNamespacePackageNameActionNameExtensionDefault) WithPayload(payload PostWebNamespacePackageNameActionNameExtensionDefaultBody) *PostWebNamespacePackageNameActionNameExtensionDefault
WithPayload adds the payload to the post web namespace package name action name extension default response
func (*PostWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode ¶
func (o *PostWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode(code int) *PostWebNamespacePackageNameActionNameExtensionDefault
WithStatusCode adds the status to the post web namespace package name action name extension default response
func (*PostWebNamespacePackageNameActionNameExtensionDefault) WriteResponse ¶
func (o *PostWebNamespacePackageNameActionNameExtensionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostWebNamespacePackageNameActionNameExtensionDefaultBody ¶
type PostWebNamespacePackageNameActionNameExtensionDefaultBody interface{}
PostWebNamespacePackageNameActionNameExtensionDefaultBody post web namespace package name action name extension default body swagger:model PostWebNamespacePackageNameActionNameExtensionDefaultBody
type PostWebNamespacePackageNameActionNameExtensionHandler ¶
type PostWebNamespacePackageNameActionNameExtensionHandler interface {
Handle(PostWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
}
PostWebNamespacePackageNameActionNameExtensionHandler interface for that can handle valid post web namespace package name action name extension params
type PostWebNamespacePackageNameActionNameExtensionHandlerFunc ¶
type PostWebNamespacePackageNameActionNameExtensionHandlerFunc func(PostWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
PostWebNamespacePackageNameActionNameExtensionHandlerFunc turns a function with the right signature into a post web namespace package name action name extension handler
func (PostWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle ¶
func (fn PostWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle(params PostWebNamespacePackageNameActionNameExtensionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PostWebNamespacePackageNameActionNameExtensionParams ¶
type PostWebNamespacePackageNameActionNameExtensionParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*
Required: true
In: path
*/
ActionName string
/*
Required: true
In: path
*/
Extension string
/*
Required: true
In: path
*/
Namespace string
/*
Required: true
In: path
*/
PackageName string
/*The parameters for the action being invoked
In: body
*/
Payload interface{}
}
PostWebNamespacePackageNameActionNameExtensionParams contains all the bound params for the post web namespace package name action name extension operation typically these are obtained from a http.Request
swagger:parameters PostWebNamespacePackageNameActionNameExtension
func NewPostWebNamespacePackageNameActionNameExtensionParams ¶
func NewPostWebNamespacePackageNameActionNameExtensionParams() PostWebNamespacePackageNameActionNameExtensionParams
NewPostWebNamespacePackageNameActionNameExtensionParams creates a new PostWebNamespacePackageNameActionNameExtensionParams object no default values defined in spec.
func (*PostWebNamespacePackageNameActionNameExtensionParams) BindRequest ¶
func (o *PostWebNamespacePackageNameActionNameExtensionParams) 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 NewPostWebNamespacePackageNameActionNameExtensionParams() beforehand.
type PostWebNamespacePackageNameActionNameExtensionURL ¶
type PostWebNamespacePackageNameActionNameExtensionURL struct {
ActionName string
Extension string
Namespace string
PackageName string
// contains filtered or unexported fields
}
PostWebNamespacePackageNameActionNameExtensionURL generates an URL for the post web namespace package name action name extension operation
func (*PostWebNamespacePackageNameActionNameExtensionURL) Build ¶
func (o *PostWebNamespacePackageNameActionNameExtensionURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostWebNamespacePackageNameActionNameExtensionURL) BuildFull ¶
func (o *PostWebNamespacePackageNameActionNameExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostWebNamespacePackageNameActionNameExtensionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostWebNamespacePackageNameActionNameExtensionURL) SetBasePath ¶
func (o *PostWebNamespacePackageNameActionNameExtensionURL) 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 (*PostWebNamespacePackageNameActionNameExtensionURL) String ¶
func (o *PostWebNamespacePackageNameActionNameExtensionURL) String() string
String returns the string representation of the path with query string
func (*PostWebNamespacePackageNameActionNameExtensionURL) StringFull ¶
func (o *PostWebNamespacePackageNameActionNameExtensionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostWebNamespacePackageNameActionNameExtensionURL) WithBasePath ¶
func (o *PostWebNamespacePackageNameActionNameExtensionURL) WithBasePath(bp string) *PostWebNamespacePackageNameActionNameExtensionURL
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 PutWebNamespacePackageNameActionNameExtension ¶
type PutWebNamespacePackageNameActionNameExtension struct {
Context *middleware.Context
Handler PutWebNamespacePackageNameActionNameExtensionHandler
}
PutWebNamespacePackageNameActionNameExtension swagger:route PUT /web/{namespace}/{packageName}/{actionName}.{extension} Actions putWebNamespacePackageNameActionNameExtension
PutWebNamespacePackageNameActionNameExtension put web namespace package name action name extension API
func NewPutWebNamespacePackageNameActionNameExtension ¶
func NewPutWebNamespacePackageNameActionNameExtension(ctx *middleware.Context, handler PutWebNamespacePackageNameActionNameExtensionHandler) *PutWebNamespacePackageNameActionNameExtension
NewPutWebNamespacePackageNameActionNameExtension creates a new http.Handler for the put web namespace package name action name extension operation
func (*PutWebNamespacePackageNameActionNameExtension) ServeHTTP ¶
func (o *PutWebNamespacePackageNameActionNameExtension) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutWebNamespacePackageNameActionNameExtensionDefault ¶
type PutWebNamespacePackageNameActionNameExtensionDefault struct {
/*
In: Body
*/
Payload PutWebNamespacePackageNameActionNameExtensionDefaultBody `json:"body,omitempty"`
// contains filtered or unexported fields
}
PutWebNamespacePackageNameActionNameExtensionDefault any response
swagger:response putWebNamespacePackageNameActionNameExtensionDefault
func NewPutWebNamespacePackageNameActionNameExtensionDefault ¶
func NewPutWebNamespacePackageNameActionNameExtensionDefault(code int) *PutWebNamespacePackageNameActionNameExtensionDefault
NewPutWebNamespacePackageNameActionNameExtensionDefault creates PutWebNamespacePackageNameActionNameExtensionDefault with default headers values
func (*PutWebNamespacePackageNameActionNameExtensionDefault) SetPayload ¶
func (o *PutWebNamespacePackageNameActionNameExtensionDefault) SetPayload(payload PutWebNamespacePackageNameActionNameExtensionDefaultBody)
SetPayload sets the payload to the put web namespace package name action name extension default response
func (*PutWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode ¶
func (o *PutWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put web namespace package name action name extension default response
func (*PutWebNamespacePackageNameActionNameExtensionDefault) WithPayload ¶
func (o *PutWebNamespacePackageNameActionNameExtensionDefault) WithPayload(payload PutWebNamespacePackageNameActionNameExtensionDefaultBody) *PutWebNamespacePackageNameActionNameExtensionDefault
WithPayload adds the payload to the put web namespace package name action name extension default response
func (*PutWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode ¶
func (o *PutWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode(code int) *PutWebNamespacePackageNameActionNameExtensionDefault
WithStatusCode adds the status to the put web namespace package name action name extension default response
func (*PutWebNamespacePackageNameActionNameExtensionDefault) WriteResponse ¶
func (o *PutWebNamespacePackageNameActionNameExtensionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutWebNamespacePackageNameActionNameExtensionDefaultBody ¶
type PutWebNamespacePackageNameActionNameExtensionDefaultBody interface{}
PutWebNamespacePackageNameActionNameExtensionDefaultBody put web namespace package name action name extension default body swagger:model PutWebNamespacePackageNameActionNameExtensionDefaultBody
type PutWebNamespacePackageNameActionNameExtensionHandler ¶
type PutWebNamespacePackageNameActionNameExtensionHandler interface {
Handle(PutWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
}
PutWebNamespacePackageNameActionNameExtensionHandler interface for that can handle valid put web namespace package name action name extension params
type PutWebNamespacePackageNameActionNameExtensionHandlerFunc ¶
type PutWebNamespacePackageNameActionNameExtensionHandlerFunc func(PutWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
PutWebNamespacePackageNameActionNameExtensionHandlerFunc turns a function with the right signature into a put web namespace package name action name extension handler
func (PutWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle ¶
func (fn PutWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle(params PutWebNamespacePackageNameActionNameExtensionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutWebNamespacePackageNameActionNameExtensionParams ¶
type PutWebNamespacePackageNameActionNameExtensionParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*
Required: true
In: path
*/
ActionName string
/*
Required: true
In: path
*/
Extension string
/*
Required: true
In: path
*/
Namespace string
/*
Required: true
In: path
*/
PackageName string
}
PutWebNamespacePackageNameActionNameExtensionParams contains all the bound params for the put web namespace package name action name extension operation typically these are obtained from a http.Request
swagger:parameters PutWebNamespacePackageNameActionNameExtension
func NewPutWebNamespacePackageNameActionNameExtensionParams ¶
func NewPutWebNamespacePackageNameActionNameExtensionParams() PutWebNamespacePackageNameActionNameExtensionParams
NewPutWebNamespacePackageNameActionNameExtensionParams creates a new PutWebNamespacePackageNameActionNameExtensionParams object no default values defined in spec.
func (*PutWebNamespacePackageNameActionNameExtensionParams) BindRequest ¶
func (o *PutWebNamespacePackageNameActionNameExtensionParams) 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 NewPutWebNamespacePackageNameActionNameExtensionParams() beforehand.
type PutWebNamespacePackageNameActionNameExtensionURL ¶
type PutWebNamespacePackageNameActionNameExtensionURL struct {
ActionName string
Extension string
Namespace string
PackageName string
// contains filtered or unexported fields
}
PutWebNamespacePackageNameActionNameExtensionURL generates an URL for the put web namespace package name action name extension operation
func (*PutWebNamespacePackageNameActionNameExtensionURL) Build ¶
func (o *PutWebNamespacePackageNameActionNameExtensionURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutWebNamespacePackageNameActionNameExtensionURL) BuildFull ¶
func (o *PutWebNamespacePackageNameActionNameExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutWebNamespacePackageNameActionNameExtensionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutWebNamespacePackageNameActionNameExtensionURL) SetBasePath ¶
func (o *PutWebNamespacePackageNameActionNameExtensionURL) 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 (*PutWebNamespacePackageNameActionNameExtensionURL) String ¶
func (o *PutWebNamespacePackageNameActionNameExtensionURL) String() string
String returns the string representation of the path with query string
func (*PutWebNamespacePackageNameActionNameExtensionURL) StringFull ¶
func (o *PutWebNamespacePackageNameActionNameExtensionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutWebNamespacePackageNameActionNameExtensionURL) WithBasePath ¶
func (o *PutWebNamespacePackageNameActionNameExtensionURL) WithBasePath(bp string) *PutWebNamespacePackageNameActionNameExtensionURL
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 UpdateAction ¶
type UpdateAction struct {
Context *middleware.Context
Handler UpdateActionHandler
}
UpdateAction swagger:route PUT /namespaces/{namespace}/actions/{actionName} Actions updateAction
Create or update an action ¶
Create or update an action
func NewUpdateAction ¶
func NewUpdateAction(ctx *middleware.Context, handler UpdateActionHandler) *UpdateAction
NewUpdateAction creates a new http.Handler for the update action operation
func (*UpdateAction) ServeHTTP ¶
func (o *UpdateAction) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateActionBadRequest ¶
type UpdateActionBadRequest struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionBadRequest Bad request
swagger:response updateActionBadRequest
func NewUpdateActionBadRequest ¶
func NewUpdateActionBadRequest() *UpdateActionBadRequest
NewUpdateActionBadRequest creates UpdateActionBadRequest with default headers values
func (*UpdateActionBadRequest) SetPayload ¶
func (o *UpdateActionBadRequest) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action bad request response
func (*UpdateActionBadRequest) WithPayload ¶
func (o *UpdateActionBadRequest) WithPayload(payload *models.ErrorMessage) *UpdateActionBadRequest
WithPayload adds the payload to the update action bad request response
func (*UpdateActionBadRequest) WriteResponse ¶
func (o *UpdateActionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionConflict ¶
type UpdateActionConflict struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionConflict Conflicting item already exists
swagger:response updateActionConflict
func NewUpdateActionConflict ¶
func NewUpdateActionConflict() *UpdateActionConflict
NewUpdateActionConflict creates UpdateActionConflict with default headers values
func (*UpdateActionConflict) SetPayload ¶
func (o *UpdateActionConflict) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action conflict response
func (*UpdateActionConflict) WithPayload ¶
func (o *UpdateActionConflict) WithPayload(payload *models.ErrorMessage) *UpdateActionConflict
WithPayload adds the payload to the update action conflict response
func (*UpdateActionConflict) WriteResponse ¶
func (o *UpdateActionConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionForbidden ¶
type UpdateActionForbidden struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionForbidden Unauthorized request
swagger:response updateActionForbidden
func NewUpdateActionForbidden ¶
func NewUpdateActionForbidden() *UpdateActionForbidden
NewUpdateActionForbidden creates UpdateActionForbidden with default headers values
func (*UpdateActionForbidden) SetPayload ¶
func (o *UpdateActionForbidden) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action forbidden response
func (*UpdateActionForbidden) WithPayload ¶
func (o *UpdateActionForbidden) WithPayload(payload *models.ErrorMessage) *UpdateActionForbidden
WithPayload adds the payload to the update action forbidden response
func (*UpdateActionForbidden) WriteResponse ¶
func (o *UpdateActionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionHandler ¶
type UpdateActionHandler interface {
Handle(UpdateActionParams, *models.Principal) middleware.Responder
}
UpdateActionHandler interface for that can handle valid update action params
type UpdateActionHandlerFunc ¶
type UpdateActionHandlerFunc func(UpdateActionParams, *models.Principal) middleware.Responder
UpdateActionHandlerFunc turns a function with the right signature into a update action handler
func (UpdateActionHandlerFunc) Handle ¶
func (fn UpdateActionHandlerFunc) Handle(params UpdateActionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type UpdateActionInPackage ¶
type UpdateActionInPackage struct {
Context *middleware.Context
Handler UpdateActionInPackageHandler
}
UpdateActionInPackage swagger:route PUT /namespaces/{namespace}/actions/{packageName}/{actionName} Actions updateActionInPackage
Create or update an action ¶
Create or update an action
func NewUpdateActionInPackage ¶
func NewUpdateActionInPackage(ctx *middleware.Context, handler UpdateActionInPackageHandler) *UpdateActionInPackage
NewUpdateActionInPackage creates a new http.Handler for the update action in package operation
func (*UpdateActionInPackage) ServeHTTP ¶
func (o *UpdateActionInPackage) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateActionInPackageBadRequest ¶
type UpdateActionInPackageBadRequest struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionInPackageBadRequest Bad request
swagger:response updateActionInPackageBadRequest
func NewUpdateActionInPackageBadRequest ¶
func NewUpdateActionInPackageBadRequest() *UpdateActionInPackageBadRequest
NewUpdateActionInPackageBadRequest creates UpdateActionInPackageBadRequest with default headers values
func (*UpdateActionInPackageBadRequest) SetPayload ¶
func (o *UpdateActionInPackageBadRequest) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action in package bad request response
func (*UpdateActionInPackageBadRequest) WithPayload ¶
func (o *UpdateActionInPackageBadRequest) WithPayload(payload *models.ErrorMessage) *UpdateActionInPackageBadRequest
WithPayload adds the payload to the update action in package bad request response
func (*UpdateActionInPackageBadRequest) WriteResponse ¶
func (o *UpdateActionInPackageBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionInPackageConflict ¶
type UpdateActionInPackageConflict struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionInPackageConflict Conflicting item already exists
swagger:response updateActionInPackageConflict
func NewUpdateActionInPackageConflict ¶
func NewUpdateActionInPackageConflict() *UpdateActionInPackageConflict
NewUpdateActionInPackageConflict creates UpdateActionInPackageConflict with default headers values
func (*UpdateActionInPackageConflict) SetPayload ¶
func (o *UpdateActionInPackageConflict) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action in package conflict response
func (*UpdateActionInPackageConflict) WithPayload ¶
func (o *UpdateActionInPackageConflict) WithPayload(payload *models.ErrorMessage) *UpdateActionInPackageConflict
WithPayload adds the payload to the update action in package conflict response
func (*UpdateActionInPackageConflict) WriteResponse ¶
func (o *UpdateActionInPackageConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionInPackageForbidden ¶
type UpdateActionInPackageForbidden struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionInPackageForbidden Unauthorized request
swagger:response updateActionInPackageForbidden
func NewUpdateActionInPackageForbidden ¶
func NewUpdateActionInPackageForbidden() *UpdateActionInPackageForbidden
NewUpdateActionInPackageForbidden creates UpdateActionInPackageForbidden with default headers values
func (*UpdateActionInPackageForbidden) SetPayload ¶
func (o *UpdateActionInPackageForbidden) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action in package forbidden response
func (*UpdateActionInPackageForbidden) WithPayload ¶
func (o *UpdateActionInPackageForbidden) WithPayload(payload *models.ErrorMessage) *UpdateActionInPackageForbidden
WithPayload adds the payload to the update action in package forbidden response
func (*UpdateActionInPackageForbidden) WriteResponse ¶
func (o *UpdateActionInPackageForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionInPackageHandler ¶
type UpdateActionInPackageHandler interface {
Handle(UpdateActionInPackageParams, *models.Principal) middleware.Responder
}
UpdateActionInPackageHandler interface for that can handle valid update action in package params
type UpdateActionInPackageHandlerFunc ¶
type UpdateActionInPackageHandlerFunc func(UpdateActionInPackageParams, *models.Principal) middleware.Responder
UpdateActionInPackageHandlerFunc turns a function with the right signature into a update action in package handler
func (UpdateActionInPackageHandlerFunc) Handle ¶
func (fn UpdateActionInPackageHandlerFunc) Handle(params UpdateActionInPackageParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type UpdateActionInPackageInternalServerError ¶
type UpdateActionInPackageInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionInPackageInternalServerError Server error
swagger:response updateActionInPackageInternalServerError
func NewUpdateActionInPackageInternalServerError ¶
func NewUpdateActionInPackageInternalServerError() *UpdateActionInPackageInternalServerError
NewUpdateActionInPackageInternalServerError creates UpdateActionInPackageInternalServerError with default headers values
func (*UpdateActionInPackageInternalServerError) SetPayload ¶
func (o *UpdateActionInPackageInternalServerError) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action in package internal server error response
func (*UpdateActionInPackageInternalServerError) WithPayload ¶
func (o *UpdateActionInPackageInternalServerError) WithPayload(payload *models.ErrorMessage) *UpdateActionInPackageInternalServerError
WithPayload adds the payload to the update action in package internal server error response
func (*UpdateActionInPackageInternalServerError) WriteResponse ¶
func (o *UpdateActionInPackageInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionInPackageOK ¶
type UpdateActionInPackageOK struct {
/*
In: Body
*/
Payload *models.Action `json:"body,omitempty"`
}
UpdateActionInPackageOK Updated Action
swagger:response updateActionInPackageOK
func NewUpdateActionInPackageOK ¶
func NewUpdateActionInPackageOK() *UpdateActionInPackageOK
NewUpdateActionInPackageOK creates UpdateActionInPackageOK with default headers values
func (*UpdateActionInPackageOK) SetPayload ¶
func (o *UpdateActionInPackageOK) SetPayload(payload *models.Action)
SetPayload sets the payload to the update action in package o k response
func (*UpdateActionInPackageOK) WithPayload ¶
func (o *UpdateActionInPackageOK) WithPayload(payload *models.Action) *UpdateActionInPackageOK
WithPayload adds the payload to the update action in package o k response
func (*UpdateActionInPackageOK) WriteResponse ¶
func (o *UpdateActionInPackageOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionInPackageParams ¶
type UpdateActionInPackageParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*The action being updated
Required: true
In: body
*/
Action *models.ActionPut
/*Name of action to fetch
Required: true
In: path
*/
ActionName string
/*The entity namespace
Required: true
In: path
*/
Namespace string
/*Overwrite item if it exists. Default is false.
In: query
*/
Overwrite *string
/*Name of package that contains action
Required: true
In: path
*/
PackageName string
}
UpdateActionInPackageParams contains all the bound params for the update action in package operation typically these are obtained from a http.Request
swagger:parameters updateActionInPackage
func NewUpdateActionInPackageParams ¶
func NewUpdateActionInPackageParams() UpdateActionInPackageParams
NewUpdateActionInPackageParams creates a new UpdateActionInPackageParams object no default values defined in spec.
func (*UpdateActionInPackageParams) BindRequest ¶
func (o *UpdateActionInPackageParams) 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 NewUpdateActionInPackageParams() beforehand.
type UpdateActionInPackageRequestEntityTooLarge ¶
type UpdateActionInPackageRequestEntityTooLarge struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionInPackageRequestEntityTooLarge Request entity too large
swagger:response updateActionInPackageRequestEntityTooLarge
func NewUpdateActionInPackageRequestEntityTooLarge ¶
func NewUpdateActionInPackageRequestEntityTooLarge() *UpdateActionInPackageRequestEntityTooLarge
NewUpdateActionInPackageRequestEntityTooLarge creates UpdateActionInPackageRequestEntityTooLarge with default headers values
func (*UpdateActionInPackageRequestEntityTooLarge) SetPayload ¶
func (o *UpdateActionInPackageRequestEntityTooLarge) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action in package request entity too large response
func (*UpdateActionInPackageRequestEntityTooLarge) WithPayload ¶
func (o *UpdateActionInPackageRequestEntityTooLarge) WithPayload(payload *models.ErrorMessage) *UpdateActionInPackageRequestEntityTooLarge
WithPayload adds the payload to the update action in package request entity too large response
func (*UpdateActionInPackageRequestEntityTooLarge) WriteResponse ¶
func (o *UpdateActionInPackageRequestEntityTooLarge) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionInPackageURL ¶
type UpdateActionInPackageURL struct {
ActionName string
Namespace string
PackageName string
Overwrite *string
// contains filtered or unexported fields
}
UpdateActionInPackageURL generates an URL for the update action in package operation
func (*UpdateActionInPackageURL) Build ¶
func (o *UpdateActionInPackageURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateActionInPackageURL) BuildFull ¶
func (o *UpdateActionInPackageURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateActionInPackageURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateActionInPackageURL) SetBasePath ¶
func (o *UpdateActionInPackageURL) 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 (*UpdateActionInPackageURL) String ¶
func (o *UpdateActionInPackageURL) String() string
String returns the string representation of the path with query string
func (*UpdateActionInPackageURL) StringFull ¶
func (o *UpdateActionInPackageURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateActionInPackageURL) WithBasePath ¶
func (o *UpdateActionInPackageURL) WithBasePath(bp string) *UpdateActionInPackageURL
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 UpdateActionInPackageUnauthorized ¶
type UpdateActionInPackageUnauthorized struct {
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionInPackageUnauthorized Unauthorized request
swagger:response updateActionInPackageUnauthorized
func NewUpdateActionInPackageUnauthorized ¶
func NewUpdateActionInPackageUnauthorized() *UpdateActionInPackageUnauthorized
NewUpdateActionInPackageUnauthorized creates UpdateActionInPackageUnauthorized with default headers values
func (*UpdateActionInPackageUnauthorized) SetPayload ¶
func (o *UpdateActionInPackageUnauthorized) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action in package unauthorized response
func (*UpdateActionInPackageUnauthorized) WithPayload ¶
func (o *UpdateActionInPackageUnauthorized) WithPayload(payload *models.ErrorMessage) *UpdateActionInPackageUnauthorized
WithPayload adds the payload to the update action in package unauthorized response
func (*UpdateActionInPackageUnauthorized) WriteResponse ¶
func (o *UpdateActionInPackageUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionInternalServerError ¶
type UpdateActionInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionInternalServerError Server error
swagger:response updateActionInternalServerError
func NewUpdateActionInternalServerError ¶
func NewUpdateActionInternalServerError() *UpdateActionInternalServerError
NewUpdateActionInternalServerError creates UpdateActionInternalServerError with default headers values
func (*UpdateActionInternalServerError) SetPayload ¶
func (o *UpdateActionInternalServerError) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action internal server error response
func (*UpdateActionInternalServerError) WithPayload ¶
func (o *UpdateActionInternalServerError) WithPayload(payload *models.ErrorMessage) *UpdateActionInternalServerError
WithPayload adds the payload to the update action internal server error response
func (*UpdateActionInternalServerError) WriteResponse ¶
func (o *UpdateActionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionOK ¶
UpdateActionOK Updated Action
swagger:response updateActionOK
func NewUpdateActionOK ¶
func NewUpdateActionOK() *UpdateActionOK
NewUpdateActionOK creates UpdateActionOK with default headers values
func (*UpdateActionOK) SetPayload ¶
func (o *UpdateActionOK) SetPayload(payload *models.Action)
SetPayload sets the payload to the update action o k response
func (*UpdateActionOK) WithPayload ¶
func (o *UpdateActionOK) WithPayload(payload *models.Action) *UpdateActionOK
WithPayload adds the payload to the update action o k response
func (*UpdateActionOK) WriteResponse ¶
func (o *UpdateActionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionParams ¶
type UpdateActionParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*The action being updated
Required: true
In: body
*/
Action *models.ActionPut
/*Name of action to fetch
Required: true
In: path
*/
ActionName string
/*The entity namespace
Required: true
In: path
*/
Namespace string
/*Overwrite item if it exists. Default is false.
In: query
*/
Overwrite *string
}
UpdateActionParams contains all the bound params for the update action operation typically these are obtained from a http.Request
swagger:parameters updateAction
func NewUpdateActionParams ¶
func NewUpdateActionParams() UpdateActionParams
NewUpdateActionParams creates a new UpdateActionParams object no default values defined in spec.
func (*UpdateActionParams) BindRequest ¶
func (o *UpdateActionParams) 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 NewUpdateActionParams() beforehand.
type UpdateActionRequestEntityTooLarge ¶
type UpdateActionRequestEntityTooLarge struct {
/*
In: Body
*/
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionRequestEntityTooLarge Request entity too large
swagger:response updateActionRequestEntityTooLarge
func NewUpdateActionRequestEntityTooLarge ¶
func NewUpdateActionRequestEntityTooLarge() *UpdateActionRequestEntityTooLarge
NewUpdateActionRequestEntityTooLarge creates UpdateActionRequestEntityTooLarge with default headers values
func (*UpdateActionRequestEntityTooLarge) SetPayload ¶
func (o *UpdateActionRequestEntityTooLarge) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action request entity too large response
func (*UpdateActionRequestEntityTooLarge) WithPayload ¶
func (o *UpdateActionRequestEntityTooLarge) WithPayload(payload *models.ErrorMessage) *UpdateActionRequestEntityTooLarge
WithPayload adds the payload to the update action request entity too large response
func (*UpdateActionRequestEntityTooLarge) WriteResponse ¶
func (o *UpdateActionRequestEntityTooLarge) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateActionURL ¶
type UpdateActionURL struct {
ActionName string
Namespace string
Overwrite *string
// contains filtered or unexported fields
}
UpdateActionURL generates an URL for the update action operation
func (*UpdateActionURL) Build ¶
func (o *UpdateActionURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateActionURL) BuildFull ¶
func (o *UpdateActionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateActionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateActionURL) SetBasePath ¶
func (o *UpdateActionURL) 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 (*UpdateActionURL) String ¶
func (o *UpdateActionURL) String() string
String returns the string representation of the path with query string
func (*UpdateActionURL) StringFull ¶
func (o *UpdateActionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateActionURL) WithBasePath ¶
func (o *UpdateActionURL) WithBasePath(bp string) *UpdateActionURL
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 UpdateActionUnauthorized ¶
type UpdateActionUnauthorized struct {
Payload *models.ErrorMessage `json:"body,omitempty"`
}
UpdateActionUnauthorized Unauthorized request
swagger:response updateActionUnauthorized
func NewUpdateActionUnauthorized ¶
func NewUpdateActionUnauthorized() *UpdateActionUnauthorized
NewUpdateActionUnauthorized creates UpdateActionUnauthorized with default headers values
func (*UpdateActionUnauthorized) SetPayload ¶
func (o *UpdateActionUnauthorized) SetPayload(payload *models.ErrorMessage)
SetPayload sets the payload to the update action unauthorized response
func (*UpdateActionUnauthorized) WithPayload ¶
func (o *UpdateActionUnauthorized) WithPayload(payload *models.ErrorMessage) *UpdateActionUnauthorized
WithPayload adds the payload to the update action unauthorized response
func (*UpdateActionUnauthorized) WriteResponse ¶
func (o *UpdateActionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- delete_action.go
- delete_action_in_package.go
- delete_action_in_package_parameters.go
- delete_action_in_package_responses.go
- delete_action_in_package_urlbuilder.go
- delete_action_parameters.go
- delete_action_responses.go
- delete_action_urlbuilder.go
- delete_web_namespace_package_name_action_name_extension.go
- delete_web_namespace_package_name_action_name_extension_parameters.go
- delete_web_namespace_package_name_action_name_extension_responses.go
- delete_web_namespace_package_name_action_name_extension_urlbuilder.go
- get_action_by_name.go
- get_action_by_name_parameters.go
- get_action_by_name_responses.go
- get_action_by_name_urlbuilder.go
- get_action_in_package_by_name.go
- get_action_in_package_by_name_parameters.go
- get_action_in_package_by_name_responses.go
- get_action_in_package_by_name_urlbuilder.go
- get_all_actions.go
- get_all_actions_parameters.go
- get_all_actions_responses.go
- get_all_actions_urlbuilder.go
- get_web_namespace_package_name_action_name_extension.go
- get_web_namespace_package_name_action_name_extension_parameters.go
- get_web_namespace_package_name_action_name_extension_responses.go
- get_web_namespace_package_name_action_name_extension_urlbuilder.go
- invoke_action.go
- invoke_action_in_package.go
- invoke_action_in_package_parameters.go
- invoke_action_in_package_responses.go
- invoke_action_in_package_urlbuilder.go
- invoke_action_parameters.go
- invoke_action_responses.go
- invoke_action_urlbuilder.go
- post_web_namespace_package_name_action_name_extension.go
- post_web_namespace_package_name_action_name_extension_parameters.go
- post_web_namespace_package_name_action_name_extension_responses.go
- post_web_namespace_package_name_action_name_extension_urlbuilder.go
- put_web_namespace_package_name_action_name_extension.go
- put_web_namespace_package_name_action_name_extension_parameters.go
- put_web_namespace_package_name_action_name_extension_responses.go
- put_web_namespace_package_name_action_name_extension_urlbuilder.go
- update_action.go
- update_action_in_package.go
- update_action_in_package_parameters.go
- update_action_in_package_responses.go
- update_action_in_package_urlbuilder.go
- update_action_parameters.go
- update_action_responses.go
- update_action_urlbuilder.go