Documentation ¶
Index ¶
- Constants
- type GetExecuteTaskAgent
- type GetExecuteTaskAgentBadRequest
- func (o *GetExecuteTaskAgentBadRequest) SetPayload(payload *models.ResponseError)
- func (o *GetExecuteTaskAgentBadRequest) WithPayload(payload *models.ResponseError) *GetExecuteTaskAgentBadRequest
- func (o *GetExecuteTaskAgentBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetExecuteTaskAgentHandler
- type GetExecuteTaskAgentHandlerFunc
- type GetExecuteTaskAgentOK
- type GetExecuteTaskAgentParams
- type GetExecuteTaskAgentURL
- func (o *GetExecuteTaskAgentURL) Build() (*url.URL, error)
- func (o *GetExecuteTaskAgentURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetExecuteTaskAgentURL) Must(u *url.URL, err error) *url.URL
- func (o *GetExecuteTaskAgentURL) SetBasePath(bp string)
- func (o *GetExecuteTaskAgentURL) String() string
- func (o *GetExecuteTaskAgentURL) StringFull(scheme, host string) string
- func (o *GetExecuteTaskAgentURL) WithBasePath(bp string) *GetExecuteTaskAgentURL
Constants ¶
const GetExecuteTaskAgentBadRequestCode int = 400
GetExecuteTaskAgentBadRequestCode is the HTTP code returned for type GetExecuteTaskAgentBadRequest
const GetExecuteTaskAgentOKCode int = 200
GetExecuteTaskAgentOKCode is the HTTP code returned for type GetExecuteTaskAgentOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetExecuteTaskAgent ¶
type GetExecuteTaskAgent struct { Context *middleware.Context Handler GetExecuteTaskAgentHandler }
GetExecuteTaskAgent swagger:route GET /executeTask/{agent} execTask getExecuteTaskAgent
Get task for executiton
func NewGetExecuteTaskAgent ¶
func NewGetExecuteTaskAgent(ctx *middleware.Context, handler GetExecuteTaskAgentHandler) *GetExecuteTaskAgent
NewGetExecuteTaskAgent creates a new http.Handler for the get execute task agent operation
func (*GetExecuteTaskAgent) ServeHTTP ¶
func (o *GetExecuteTaskAgent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetExecuteTaskAgentBadRequest ¶
type GetExecuteTaskAgentBadRequest struct { /* In: Body */ Payload *models.ResponseError `json:"body,omitempty"` }
GetExecuteTaskAgentBadRequest Bad Request
swagger:response getExecuteTaskAgentBadRequest
func NewGetExecuteTaskAgentBadRequest ¶
func NewGetExecuteTaskAgentBadRequest() *GetExecuteTaskAgentBadRequest
NewGetExecuteTaskAgentBadRequest creates GetExecuteTaskAgentBadRequest with default headers values
func (*GetExecuteTaskAgentBadRequest) SetPayload ¶
func (o *GetExecuteTaskAgentBadRequest) SetPayload(payload *models.ResponseError)
SetPayload sets the payload to the get execute task agent bad request response
func (*GetExecuteTaskAgentBadRequest) WithPayload ¶
func (o *GetExecuteTaskAgentBadRequest) WithPayload(payload *models.ResponseError) *GetExecuteTaskAgentBadRequest
WithPayload adds the payload to the get execute task agent bad request response
func (*GetExecuteTaskAgentBadRequest) WriteResponse ¶
func (o *GetExecuteTaskAgentBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetExecuteTaskAgentHandler ¶
type GetExecuteTaskAgentHandler interface {
Handle(GetExecuteTaskAgentParams) middleware.Responder
}
GetExecuteTaskAgentHandler interface for that can handle valid get execute task agent params
type GetExecuteTaskAgentHandlerFunc ¶
type GetExecuteTaskAgentHandlerFunc func(GetExecuteTaskAgentParams) middleware.Responder
GetExecuteTaskAgentHandlerFunc turns a function with the right signature into a get execute task agent handler
func (GetExecuteTaskAgentHandlerFunc) Handle ¶
func (fn GetExecuteTaskAgentHandlerFunc) Handle(params GetExecuteTaskAgentParams) middleware.Responder
Handle executing the request and returning a response
type GetExecuteTaskAgentOK ¶
type GetExecuteTaskAgentOK struct { /* In: Body */ Payload *models.RequestTask `json:"body,omitempty"` }
GetExecuteTaskAgentOK OK
swagger:response getExecuteTaskAgentOK
func NewGetExecuteTaskAgentOK ¶
func NewGetExecuteTaskAgentOK() *GetExecuteTaskAgentOK
NewGetExecuteTaskAgentOK creates GetExecuteTaskAgentOK with default headers values
func (*GetExecuteTaskAgentOK) SetPayload ¶
func (o *GetExecuteTaskAgentOK) SetPayload(payload *models.RequestTask)
SetPayload sets the payload to the get execute task agent o k response
func (*GetExecuteTaskAgentOK) WithPayload ¶
func (o *GetExecuteTaskAgentOK) WithPayload(payload *models.RequestTask) *GetExecuteTaskAgentOK
WithPayload adds the payload to the get execute task agent o k response
func (*GetExecuteTaskAgentOK) WriteResponse ¶
func (o *GetExecuteTaskAgentOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetExecuteTaskAgentParams ¶
type GetExecuteTaskAgentParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Agent string }
GetExecuteTaskAgentParams contains all the bound params for the get execute task agent operation typically these are obtained from a http.Request
swagger:parameters GetExecuteTaskAgent
func NewGetExecuteTaskAgentParams ¶
func NewGetExecuteTaskAgentParams() GetExecuteTaskAgentParams
NewGetExecuteTaskAgentParams creates a new GetExecuteTaskAgentParams object no default values defined in spec.
func (*GetExecuteTaskAgentParams) BindRequest ¶
func (o *GetExecuteTaskAgentParams) 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 NewGetExecuteTaskAgentParams() beforehand.
type GetExecuteTaskAgentURL ¶
type GetExecuteTaskAgentURL struct { Agent string // contains filtered or unexported fields }
GetExecuteTaskAgentURL generates an URL for the get execute task agent operation
func (*GetExecuteTaskAgentURL) Build ¶
func (o *GetExecuteTaskAgentURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetExecuteTaskAgentURL) BuildFull ¶
func (o *GetExecuteTaskAgentURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetExecuteTaskAgentURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetExecuteTaskAgentURL) SetBasePath ¶
func (o *GetExecuteTaskAgentURL) 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 (*GetExecuteTaskAgentURL) String ¶
func (o *GetExecuteTaskAgentURL) String() string
String returns the string representation of the path with query string
func (*GetExecuteTaskAgentURL) StringFull ¶
func (o *GetExecuteTaskAgentURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetExecuteTaskAgentURL) WithBasePath ¶
func (o *GetExecuteTaskAgentURL) WithBasePath(bp string) *GetExecuteTaskAgentURL
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