Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteWorkflowsName(params *DeleteWorkflowsNameParams, opts ...ClientOption) (*DeleteWorkflowsNameNoContent, error)
- func (a *Client) GetWorkflows(params *GetWorkflowsParams, opts ...ClientOption) (*GetWorkflowsOK, error)
- func (a *Client) GetWorkflowsName(params *GetWorkflowsNameParams, opts ...ClientOption) (*GetWorkflowsNameOK, error)
- func (a *Client) PostWorkflows(params *PostWorkflowsParams, opts ...ClientOption) (*PostWorkflowsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteWorkflowsNameDefault
- func (o *DeleteWorkflowsNameDefault) Code() int
- func (o *DeleteWorkflowsNameDefault) Error() string
- func (o *DeleteWorkflowsNameDefault) IsClientError() bool
- func (o *DeleteWorkflowsNameDefault) IsCode(code int) bool
- func (o *DeleteWorkflowsNameDefault) IsRedirect() bool
- func (o *DeleteWorkflowsNameDefault) IsServerError() bool
- func (o *DeleteWorkflowsNameDefault) IsSuccess() bool
- func (o *DeleteWorkflowsNameDefault) String() string
- type DeleteWorkflowsNameNoContent
- func (o *DeleteWorkflowsNameNoContent) Code() int
- func (o *DeleteWorkflowsNameNoContent) Error() string
- func (o *DeleteWorkflowsNameNoContent) IsClientError() bool
- func (o *DeleteWorkflowsNameNoContent) IsCode(code int) bool
- func (o *DeleteWorkflowsNameNoContent) IsRedirect() bool
- func (o *DeleteWorkflowsNameNoContent) IsServerError() bool
- func (o *DeleteWorkflowsNameNoContent) IsSuccess() bool
- func (o *DeleteWorkflowsNameNoContent) String() string
- type DeleteWorkflowsNameNotFound
- func (o *DeleteWorkflowsNameNotFound) Code() int
- func (o *DeleteWorkflowsNameNotFound) Error() string
- func (o *DeleteWorkflowsNameNotFound) GetPayload() *model.ErrorResponse
- func (o *DeleteWorkflowsNameNotFound) IsClientError() bool
- func (o *DeleteWorkflowsNameNotFound) IsCode(code int) bool
- func (o *DeleteWorkflowsNameNotFound) IsRedirect() bool
- func (o *DeleteWorkflowsNameNotFound) IsServerError() bool
- func (o *DeleteWorkflowsNameNotFound) IsSuccess() bool
- func (o *DeleteWorkflowsNameNotFound) String() string
- type DeleteWorkflowsNameParams
- func NewDeleteWorkflowsNameParams() *DeleteWorkflowsNameParams
- func NewDeleteWorkflowsNameParamsWithContext(ctx context.Context) *DeleteWorkflowsNameParams
- func NewDeleteWorkflowsNameParamsWithHTTPClient(client *http.Client) *DeleteWorkflowsNameParams
- func NewDeleteWorkflowsNameParamsWithTimeout(timeout time.Duration) *DeleteWorkflowsNameParams
- func (o *DeleteWorkflowsNameParams) SetContext(ctx context.Context)
- func (o *DeleteWorkflowsNameParams) SetDefaults()
- func (o *DeleteWorkflowsNameParams) SetHTTPClient(client *http.Client)
- func (o *DeleteWorkflowsNameParams) SetName(name string)
- func (o *DeleteWorkflowsNameParams) SetTimeout(timeout time.Duration)
- func (o *DeleteWorkflowsNameParams) WithContext(ctx context.Context) *DeleteWorkflowsNameParams
- func (o *DeleteWorkflowsNameParams) WithDefaults() *DeleteWorkflowsNameParams
- func (o *DeleteWorkflowsNameParams) WithHTTPClient(client *http.Client) *DeleteWorkflowsNameParams
- func (o *DeleteWorkflowsNameParams) WithName(name string) *DeleteWorkflowsNameParams
- func (o *DeleteWorkflowsNameParams) WithTimeout(timeout time.Duration) *DeleteWorkflowsNameParams
- func (o *DeleteWorkflowsNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteWorkflowsNameReader
- type GetWorkflowsDefault
- func (o *GetWorkflowsDefault) Code() int
- func (o *GetWorkflowsDefault) Error() string
- func (o *GetWorkflowsDefault) IsClientError() bool
- func (o *GetWorkflowsDefault) IsCode(code int) bool
- func (o *GetWorkflowsDefault) IsRedirect() bool
- func (o *GetWorkflowsDefault) IsServerError() bool
- func (o *GetWorkflowsDefault) IsSuccess() bool
- func (o *GetWorkflowsDefault) String() string
- type GetWorkflowsNameBadRequest
- func (o *GetWorkflowsNameBadRequest) Code() int
- func (o *GetWorkflowsNameBadRequest) Error() string
- func (o *GetWorkflowsNameBadRequest) GetPayload() *model.ErrorResponse
- func (o *GetWorkflowsNameBadRequest) IsClientError() bool
- func (o *GetWorkflowsNameBadRequest) IsCode(code int) bool
- func (o *GetWorkflowsNameBadRequest) IsRedirect() bool
- func (o *GetWorkflowsNameBadRequest) IsServerError() bool
- func (o *GetWorkflowsNameBadRequest) IsSuccess() bool
- func (o *GetWorkflowsNameBadRequest) String() string
- type GetWorkflowsNameDefault
- func (o *GetWorkflowsNameDefault) Code() int
- func (o *GetWorkflowsNameDefault) Error() string
- func (o *GetWorkflowsNameDefault) IsClientError() bool
- func (o *GetWorkflowsNameDefault) IsCode(code int) bool
- func (o *GetWorkflowsNameDefault) IsRedirect() bool
- func (o *GetWorkflowsNameDefault) IsServerError() bool
- func (o *GetWorkflowsNameDefault) IsSuccess() bool
- func (o *GetWorkflowsNameDefault) String() string
- type GetWorkflowsNameNotFound
- func (o *GetWorkflowsNameNotFound) Code() int
- func (o *GetWorkflowsNameNotFound) Error() string
- func (o *GetWorkflowsNameNotFound) GetPayload() *model.ErrorResponse
- func (o *GetWorkflowsNameNotFound) IsClientError() bool
- func (o *GetWorkflowsNameNotFound) IsCode(code int) bool
- func (o *GetWorkflowsNameNotFound) IsRedirect() bool
- func (o *GetWorkflowsNameNotFound) IsServerError() bool
- func (o *GetWorkflowsNameNotFound) IsSuccess() bool
- func (o *GetWorkflowsNameNotFound) String() string
- type GetWorkflowsNameOK
- func (o *GetWorkflowsNameOK) Code() int
- func (o *GetWorkflowsNameOK) Error() string
- func (o *GetWorkflowsNameOK) GetPayload() *model.Workflow
- func (o *GetWorkflowsNameOK) IsClientError() bool
- func (o *GetWorkflowsNameOK) IsCode(code int) bool
- func (o *GetWorkflowsNameOK) IsRedirect() bool
- func (o *GetWorkflowsNameOK) IsServerError() bool
- func (o *GetWorkflowsNameOK) IsSuccess() bool
- func (o *GetWorkflowsNameOK) String() string
- type GetWorkflowsNameParams
- func NewGetWorkflowsNameParams() *GetWorkflowsNameParams
- func NewGetWorkflowsNameParamsWithContext(ctx context.Context) *GetWorkflowsNameParams
- func NewGetWorkflowsNameParamsWithHTTPClient(client *http.Client) *GetWorkflowsNameParams
- func NewGetWorkflowsNameParamsWithTimeout(timeout time.Duration) *GetWorkflowsNameParams
- func (o *GetWorkflowsNameParams) SetContext(ctx context.Context)
- func (o *GetWorkflowsNameParams) SetDefaults()
- func (o *GetWorkflowsNameParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkflowsNameParams) SetName(name string)
- func (o *GetWorkflowsNameParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkflowsNameParams) WithContext(ctx context.Context) *GetWorkflowsNameParams
- func (o *GetWorkflowsNameParams) WithDefaults() *GetWorkflowsNameParams
- func (o *GetWorkflowsNameParams) WithHTTPClient(client *http.Client) *GetWorkflowsNameParams
- func (o *GetWorkflowsNameParams) WithName(name string) *GetWorkflowsNameParams
- func (o *GetWorkflowsNameParams) WithTimeout(timeout time.Duration) *GetWorkflowsNameParams
- func (o *GetWorkflowsNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkflowsNameReader
- type GetWorkflowsOK
- func (o *GetWorkflowsOK) Code() int
- func (o *GetWorkflowsOK) Error() string
- func (o *GetWorkflowsOK) GetPayload() *model.PaginatedWorkflowList
- func (o *GetWorkflowsOK) IsClientError() bool
- func (o *GetWorkflowsOK) IsCode(code int) bool
- func (o *GetWorkflowsOK) IsRedirect() bool
- func (o *GetWorkflowsOK) IsServerError() bool
- func (o *GetWorkflowsOK) IsSuccess() bool
- func (o *GetWorkflowsOK) String() string
- type GetWorkflowsParams
- func (o *GetWorkflowsParams) SetContext(ctx context.Context)
- func (o *GetWorkflowsParams) SetDefaults()
- func (o *GetWorkflowsParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkflowsParams) SetLimit(limit *int32)
- func (o *GetWorkflowsParams) SetOffset(offset *int64)
- func (o *GetWorkflowsParams) SetSort(sort *string)
- func (o *GetWorkflowsParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkflowsParams) WithContext(ctx context.Context) *GetWorkflowsParams
- func (o *GetWorkflowsParams) WithDefaults() *GetWorkflowsParams
- func (o *GetWorkflowsParams) WithHTTPClient(client *http.Client) *GetWorkflowsParams
- func (o *GetWorkflowsParams) WithLimit(limit *int32) *GetWorkflowsParams
- func (o *GetWorkflowsParams) WithOffset(offset *int64) *GetWorkflowsParams
- func (o *GetWorkflowsParams) WithSort(sort *string) *GetWorkflowsParams
- func (o *GetWorkflowsParams) WithTimeout(timeout time.Duration) *GetWorkflowsParams
- func (o *GetWorkflowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkflowsReader
- type PostWorkflowsBadRequest
- func (o *PostWorkflowsBadRequest) Code() int
- func (o *PostWorkflowsBadRequest) Error() string
- func (o *PostWorkflowsBadRequest) GetPayload() *model.ErrorResponse
- func (o *PostWorkflowsBadRequest) IsClientError() bool
- func (o *PostWorkflowsBadRequest) IsCode(code int) bool
- func (o *PostWorkflowsBadRequest) IsRedirect() bool
- func (o *PostWorkflowsBadRequest) IsServerError() bool
- func (o *PostWorkflowsBadRequest) IsSuccess() bool
- func (o *PostWorkflowsBadRequest) String() string
- type PostWorkflowsCreated
- func (o *PostWorkflowsCreated) Code() int
- func (o *PostWorkflowsCreated) Error() string
- func (o *PostWorkflowsCreated) GetPayload() *model.Workflow
- func (o *PostWorkflowsCreated) IsClientError() bool
- func (o *PostWorkflowsCreated) IsCode(code int) bool
- func (o *PostWorkflowsCreated) IsRedirect() bool
- func (o *PostWorkflowsCreated) IsServerError() bool
- func (o *PostWorkflowsCreated) IsSuccess() bool
- func (o *PostWorkflowsCreated) String() string
- type PostWorkflowsDefault
- func (o *PostWorkflowsDefault) Code() int
- func (o *PostWorkflowsDefault) Error() string
- func (o *PostWorkflowsDefault) IsClientError() bool
- func (o *PostWorkflowsDefault) IsCode(code int) bool
- func (o *PostWorkflowsDefault) IsRedirect() bool
- func (o *PostWorkflowsDefault) IsServerError() bool
- func (o *PostWorkflowsDefault) IsSuccess() bool
- func (o *PostWorkflowsDefault) String() string
- type PostWorkflowsParams
- func (o *PostWorkflowsParams) SetContext(ctx context.Context)
- func (o *PostWorkflowsParams) SetDefaults()
- func (o *PostWorkflowsParams) SetHTTPClient(client *http.Client)
- func (o *PostWorkflowsParams) SetTimeout(timeout time.Duration)
- func (o *PostWorkflowsParams) SetWorkflow(workflow *model.Workflow)
- func (o *PostWorkflowsParams) WithContext(ctx context.Context) *PostWorkflowsParams
- func (o *PostWorkflowsParams) WithDefaults() *PostWorkflowsParams
- func (o *PostWorkflowsParams) WithHTTPClient(client *http.Client) *PostWorkflowsParams
- func (o *PostWorkflowsParams) WithTimeout(timeout time.Duration) *PostWorkflowsParams
- func (o *PostWorkflowsParams) WithWorkflow(workflow *model.Workflow) *PostWorkflowsParams
- func (o *PostWorkflowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostWorkflowsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for workflows API
func (*Client) DeleteWorkflowsName ¶
func (a *Client) DeleteWorkflowsName(params *DeleteWorkflowsNameParams, opts ...ClientOption) (*DeleteWorkflowsNameNoContent, error)
DeleteWorkflowsName deletes an existing workflow
Delete an existing workflow
func (*Client) GetWorkflows ¶
func (a *Client) GetWorkflows(params *GetWorkflowsParams, opts ...ClientOption) (*GetWorkflowsOK, error)
GetWorkflows lists of available workflows
List of available workflows
func (*Client) GetWorkflowsName ¶
func (a *Client) GetWorkflowsName(params *GetWorkflowsNameParams, opts ...ClientOption) (*GetWorkflowsNameOK, error)
GetWorkflowsName workflows description for a given name
Workflow description for a given name
func (*Client) PostWorkflows ¶
func (a *Client) PostWorkflows(params *PostWorkflowsParams, opts ...ClientOption) (*PostWorkflowsCreated, error)
PostWorkflows adds a new workflow
Add a new workflow
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteWorkflowsName(params *DeleteWorkflowsNameParams, opts ...ClientOption) (*DeleteWorkflowsNameNoContent, error) GetWorkflows(params *GetWorkflowsParams, opts ...ClientOption) (*GetWorkflowsOK, error) GetWorkflowsName(params *GetWorkflowsNameParams, opts ...ClientOption) (*GetWorkflowsNameOK, error) PostWorkflows(params *PostWorkflowsParams, opts ...ClientOption) (*PostWorkflowsCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new workflows API client.
type DeleteWorkflowsNameDefault ¶
type DeleteWorkflowsNameDefault struct {
// contains filtered or unexported fields
}
DeleteWorkflowsNameDefault describes a response with status code -1, with default header values.
Other error with any status code and response body format.
func NewDeleteWorkflowsNameDefault ¶
func NewDeleteWorkflowsNameDefault(code int) *DeleteWorkflowsNameDefault
NewDeleteWorkflowsNameDefault creates a DeleteWorkflowsNameDefault with default headers values
func (*DeleteWorkflowsNameDefault) Code ¶
func (o *DeleteWorkflowsNameDefault) Code() int
Code gets the status code for the delete workflows name default response
func (*DeleteWorkflowsNameDefault) Error ¶
func (o *DeleteWorkflowsNameDefault) Error() string
func (*DeleteWorkflowsNameDefault) IsClientError ¶
func (o *DeleteWorkflowsNameDefault) IsClientError() bool
IsClientError returns true when this delete workflows name default response has a 4xx status code
func (*DeleteWorkflowsNameDefault) IsCode ¶
func (o *DeleteWorkflowsNameDefault) IsCode(code int) bool
IsCode returns true when this delete workflows name default response a status code equal to that given
func (*DeleteWorkflowsNameDefault) IsRedirect ¶
func (o *DeleteWorkflowsNameDefault) IsRedirect() bool
IsRedirect returns true when this delete workflows name default response has a 3xx status code
func (*DeleteWorkflowsNameDefault) IsServerError ¶
func (o *DeleteWorkflowsNameDefault) IsServerError() bool
IsServerError returns true when this delete workflows name default response has a 5xx status code
func (*DeleteWorkflowsNameDefault) IsSuccess ¶
func (o *DeleteWorkflowsNameDefault) IsSuccess() bool
IsSuccess returns true when this delete workflows name default response has a 2xx status code
func (*DeleteWorkflowsNameDefault) String ¶
func (o *DeleteWorkflowsNameDefault) String() string
type DeleteWorkflowsNameNoContent ¶
type DeleteWorkflowsNameNoContent struct { }
DeleteWorkflowsNameNoContent describes a response with status code 204, with default header values.
The workflow has been deleted.
func NewDeleteWorkflowsNameNoContent ¶
func NewDeleteWorkflowsNameNoContent() *DeleteWorkflowsNameNoContent
NewDeleteWorkflowsNameNoContent creates a DeleteWorkflowsNameNoContent with default headers values
func (*DeleteWorkflowsNameNoContent) Code ¶
func (o *DeleteWorkflowsNameNoContent) Code() int
Code gets the status code for the delete workflows name no content response
func (*DeleteWorkflowsNameNoContent) Error ¶
func (o *DeleteWorkflowsNameNoContent) Error() string
func (*DeleteWorkflowsNameNoContent) IsClientError ¶
func (o *DeleteWorkflowsNameNoContent) IsClientError() bool
IsClientError returns true when this delete workflows name no content response has a 4xx status code
func (*DeleteWorkflowsNameNoContent) IsCode ¶
func (o *DeleteWorkflowsNameNoContent) IsCode(code int) bool
IsCode returns true when this delete workflows name no content response a status code equal to that given
func (*DeleteWorkflowsNameNoContent) IsRedirect ¶
func (o *DeleteWorkflowsNameNoContent) IsRedirect() bool
IsRedirect returns true when this delete workflows name no content response has a 3xx status code
func (*DeleteWorkflowsNameNoContent) IsServerError ¶
func (o *DeleteWorkflowsNameNoContent) IsServerError() bool
IsServerError returns true when this delete workflows name no content response has a 5xx status code
func (*DeleteWorkflowsNameNoContent) IsSuccess ¶
func (o *DeleteWorkflowsNameNoContent) IsSuccess() bool
IsSuccess returns true when this delete workflows name no content response has a 2xx status code
func (*DeleteWorkflowsNameNoContent) String ¶
func (o *DeleteWorkflowsNameNoContent) String() string
type DeleteWorkflowsNameNotFound ¶
type DeleteWorkflowsNameNotFound struct {
Payload *model.ErrorResponse
}
DeleteWorkflowsNameNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteWorkflowsNameNotFound ¶
func NewDeleteWorkflowsNameNotFound() *DeleteWorkflowsNameNotFound
NewDeleteWorkflowsNameNotFound creates a DeleteWorkflowsNameNotFound with default headers values
func (*DeleteWorkflowsNameNotFound) Code ¶
func (o *DeleteWorkflowsNameNotFound) Code() int
Code gets the status code for the delete workflows name not found response
func (*DeleteWorkflowsNameNotFound) Error ¶
func (o *DeleteWorkflowsNameNotFound) Error() string
func (*DeleteWorkflowsNameNotFound) GetPayload ¶
func (o *DeleteWorkflowsNameNotFound) GetPayload() *model.ErrorResponse
func (*DeleteWorkflowsNameNotFound) IsClientError ¶
func (o *DeleteWorkflowsNameNotFound) IsClientError() bool
IsClientError returns true when this delete workflows name not found response has a 4xx status code
func (*DeleteWorkflowsNameNotFound) IsCode ¶
func (o *DeleteWorkflowsNameNotFound) IsCode(code int) bool
IsCode returns true when this delete workflows name not found response a status code equal to that given
func (*DeleteWorkflowsNameNotFound) IsRedirect ¶
func (o *DeleteWorkflowsNameNotFound) IsRedirect() bool
IsRedirect returns true when this delete workflows name not found response has a 3xx status code
func (*DeleteWorkflowsNameNotFound) IsServerError ¶
func (o *DeleteWorkflowsNameNotFound) IsServerError() bool
IsServerError returns true when this delete workflows name not found response has a 5xx status code
func (*DeleteWorkflowsNameNotFound) IsSuccess ¶
func (o *DeleteWorkflowsNameNotFound) IsSuccess() bool
IsSuccess returns true when this delete workflows name not found response has a 2xx status code
func (*DeleteWorkflowsNameNotFound) String ¶
func (o *DeleteWorkflowsNameNotFound) String() string
type DeleteWorkflowsNameParams ¶
type DeleteWorkflowsNameParams struct { /* Name. Workflow name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteWorkflowsNameParams contains all the parameters to send to the API endpoint
for the delete workflows name operation. Typically these are written to a http.Request.
func NewDeleteWorkflowsNameParams ¶
func NewDeleteWorkflowsNameParams() *DeleteWorkflowsNameParams
NewDeleteWorkflowsNameParams creates a new DeleteWorkflowsNameParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteWorkflowsNameParamsWithContext ¶
func NewDeleteWorkflowsNameParamsWithContext(ctx context.Context) *DeleteWorkflowsNameParams
NewDeleteWorkflowsNameParamsWithContext creates a new DeleteWorkflowsNameParams object with the ability to set a context for a request.
func NewDeleteWorkflowsNameParamsWithHTTPClient ¶
func NewDeleteWorkflowsNameParamsWithHTTPClient(client *http.Client) *DeleteWorkflowsNameParams
NewDeleteWorkflowsNameParamsWithHTTPClient creates a new DeleteWorkflowsNameParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteWorkflowsNameParamsWithTimeout ¶
func NewDeleteWorkflowsNameParamsWithTimeout(timeout time.Duration) *DeleteWorkflowsNameParams
NewDeleteWorkflowsNameParamsWithTimeout creates a new DeleteWorkflowsNameParams object with the ability to set a timeout on a request.
func (*DeleteWorkflowsNameParams) SetContext ¶
func (o *DeleteWorkflowsNameParams) SetContext(ctx context.Context)
SetContext adds the context to the delete workflows name params
func (*DeleteWorkflowsNameParams) SetDefaults ¶
func (o *DeleteWorkflowsNameParams) SetDefaults()
SetDefaults hydrates default values in the delete workflows name params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteWorkflowsNameParams) SetHTTPClient ¶
func (o *DeleteWorkflowsNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete workflows name params
func (*DeleteWorkflowsNameParams) SetName ¶
func (o *DeleteWorkflowsNameParams) SetName(name string)
SetName adds the name to the delete workflows name params
func (*DeleteWorkflowsNameParams) SetTimeout ¶
func (o *DeleteWorkflowsNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete workflows name params
func (*DeleteWorkflowsNameParams) WithContext ¶
func (o *DeleteWorkflowsNameParams) WithContext(ctx context.Context) *DeleteWorkflowsNameParams
WithContext adds the context to the delete workflows name params
func (*DeleteWorkflowsNameParams) WithDefaults ¶
func (o *DeleteWorkflowsNameParams) WithDefaults() *DeleteWorkflowsNameParams
WithDefaults hydrates default values in the delete workflows name params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteWorkflowsNameParams) WithHTTPClient ¶
func (o *DeleteWorkflowsNameParams) WithHTTPClient(client *http.Client) *DeleteWorkflowsNameParams
WithHTTPClient adds the HTTPClient to the delete workflows name params
func (*DeleteWorkflowsNameParams) WithName ¶
func (o *DeleteWorkflowsNameParams) WithName(name string) *DeleteWorkflowsNameParams
WithName adds the name to the delete workflows name params
func (*DeleteWorkflowsNameParams) WithTimeout ¶
func (o *DeleteWorkflowsNameParams) WithTimeout(timeout time.Duration) *DeleteWorkflowsNameParams
WithTimeout adds the timeout to the delete workflows name params
func (*DeleteWorkflowsNameParams) WriteToRequest ¶
func (o *DeleteWorkflowsNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteWorkflowsNameReader ¶
type DeleteWorkflowsNameReader struct {
// contains filtered or unexported fields
}
DeleteWorkflowsNameReader is a Reader for the DeleteWorkflowsName structure.
func (*DeleteWorkflowsNameReader) ReadResponse ¶
func (o *DeleteWorkflowsNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkflowsDefault ¶
type GetWorkflowsDefault struct {
// contains filtered or unexported fields
}
GetWorkflowsDefault describes a response with status code -1, with default header values.
Other error with any status code and response body format.
func NewGetWorkflowsDefault ¶
func NewGetWorkflowsDefault(code int) *GetWorkflowsDefault
NewGetWorkflowsDefault creates a GetWorkflowsDefault with default headers values
func (*GetWorkflowsDefault) Code ¶
func (o *GetWorkflowsDefault) Code() int
Code gets the status code for the get workflows default response
func (*GetWorkflowsDefault) Error ¶
func (o *GetWorkflowsDefault) Error() string
func (*GetWorkflowsDefault) IsClientError ¶
func (o *GetWorkflowsDefault) IsClientError() bool
IsClientError returns true when this get workflows default response has a 4xx status code
func (*GetWorkflowsDefault) IsCode ¶
func (o *GetWorkflowsDefault) IsCode(code int) bool
IsCode returns true when this get workflows default response a status code equal to that given
func (*GetWorkflowsDefault) IsRedirect ¶
func (o *GetWorkflowsDefault) IsRedirect() bool
IsRedirect returns true when this get workflows default response has a 3xx status code
func (*GetWorkflowsDefault) IsServerError ¶
func (o *GetWorkflowsDefault) IsServerError() bool
IsServerError returns true when this get workflows default response has a 5xx status code
func (*GetWorkflowsDefault) IsSuccess ¶
func (o *GetWorkflowsDefault) IsSuccess() bool
IsSuccess returns true when this get workflows default response has a 2xx status code
func (*GetWorkflowsDefault) String ¶
func (o *GetWorkflowsDefault) String() string
type GetWorkflowsNameBadRequest ¶
type GetWorkflowsNameBadRequest struct {
Payload *model.ErrorResponse
}
GetWorkflowsNameBadRequest describes a response with status code 400, with default header values.
If request is invalid
func NewGetWorkflowsNameBadRequest ¶
func NewGetWorkflowsNameBadRequest() *GetWorkflowsNameBadRequest
NewGetWorkflowsNameBadRequest creates a GetWorkflowsNameBadRequest with default headers values
func (*GetWorkflowsNameBadRequest) Code ¶
func (o *GetWorkflowsNameBadRequest) Code() int
Code gets the status code for the get workflows name bad request response
func (*GetWorkflowsNameBadRequest) Error ¶
func (o *GetWorkflowsNameBadRequest) Error() string
func (*GetWorkflowsNameBadRequest) GetPayload ¶
func (o *GetWorkflowsNameBadRequest) GetPayload() *model.ErrorResponse
func (*GetWorkflowsNameBadRequest) IsClientError ¶
func (o *GetWorkflowsNameBadRequest) IsClientError() bool
IsClientError returns true when this get workflows name bad request response has a 4xx status code
func (*GetWorkflowsNameBadRequest) IsCode ¶
func (o *GetWorkflowsNameBadRequest) IsCode(code int) bool
IsCode returns true when this get workflows name bad request response a status code equal to that given
func (*GetWorkflowsNameBadRequest) IsRedirect ¶
func (o *GetWorkflowsNameBadRequest) IsRedirect() bool
IsRedirect returns true when this get workflows name bad request response has a 3xx status code
func (*GetWorkflowsNameBadRequest) IsServerError ¶
func (o *GetWorkflowsNameBadRequest) IsServerError() bool
IsServerError returns true when this get workflows name bad request response has a 5xx status code
func (*GetWorkflowsNameBadRequest) IsSuccess ¶
func (o *GetWorkflowsNameBadRequest) IsSuccess() bool
IsSuccess returns true when this get workflows name bad request response has a 2xx status code
func (*GetWorkflowsNameBadRequest) String ¶
func (o *GetWorkflowsNameBadRequest) String() string
type GetWorkflowsNameDefault ¶
type GetWorkflowsNameDefault struct {
// contains filtered or unexported fields
}
GetWorkflowsNameDefault describes a response with status code -1, with default header values.
Other error with any status code and response body format.
func NewGetWorkflowsNameDefault ¶
func NewGetWorkflowsNameDefault(code int) *GetWorkflowsNameDefault
NewGetWorkflowsNameDefault creates a GetWorkflowsNameDefault with default headers values
func (*GetWorkflowsNameDefault) Code ¶
func (o *GetWorkflowsNameDefault) Code() int
Code gets the status code for the get workflows name default response
func (*GetWorkflowsNameDefault) Error ¶
func (o *GetWorkflowsNameDefault) Error() string
func (*GetWorkflowsNameDefault) IsClientError ¶
func (o *GetWorkflowsNameDefault) IsClientError() bool
IsClientError returns true when this get workflows name default response has a 4xx status code
func (*GetWorkflowsNameDefault) IsCode ¶
func (o *GetWorkflowsNameDefault) IsCode(code int) bool
IsCode returns true when this get workflows name default response a status code equal to that given
func (*GetWorkflowsNameDefault) IsRedirect ¶
func (o *GetWorkflowsNameDefault) IsRedirect() bool
IsRedirect returns true when this get workflows name default response has a 3xx status code
func (*GetWorkflowsNameDefault) IsServerError ¶
func (o *GetWorkflowsNameDefault) IsServerError() bool
IsServerError returns true when this get workflows name default response has a 5xx status code
func (*GetWorkflowsNameDefault) IsSuccess ¶
func (o *GetWorkflowsNameDefault) IsSuccess() bool
IsSuccess returns true when this get workflows name default response has a 2xx status code
func (*GetWorkflowsNameDefault) String ¶
func (o *GetWorkflowsNameDefault) String() string
type GetWorkflowsNameNotFound ¶
type GetWorkflowsNameNotFound struct {
Payload *model.ErrorResponse
}
GetWorkflowsNameNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetWorkflowsNameNotFound ¶
func NewGetWorkflowsNameNotFound() *GetWorkflowsNameNotFound
NewGetWorkflowsNameNotFound creates a GetWorkflowsNameNotFound with default headers values
func (*GetWorkflowsNameNotFound) Code ¶
func (o *GetWorkflowsNameNotFound) Code() int
Code gets the status code for the get workflows name not found response
func (*GetWorkflowsNameNotFound) Error ¶
func (o *GetWorkflowsNameNotFound) Error() string
func (*GetWorkflowsNameNotFound) GetPayload ¶
func (o *GetWorkflowsNameNotFound) GetPayload() *model.ErrorResponse
func (*GetWorkflowsNameNotFound) IsClientError ¶
func (o *GetWorkflowsNameNotFound) IsClientError() bool
IsClientError returns true when this get workflows name not found response has a 4xx status code
func (*GetWorkflowsNameNotFound) IsCode ¶
func (o *GetWorkflowsNameNotFound) IsCode(code int) bool
IsCode returns true when this get workflows name not found response a status code equal to that given
func (*GetWorkflowsNameNotFound) IsRedirect ¶
func (o *GetWorkflowsNameNotFound) IsRedirect() bool
IsRedirect returns true when this get workflows name not found response has a 3xx status code
func (*GetWorkflowsNameNotFound) IsServerError ¶
func (o *GetWorkflowsNameNotFound) IsServerError() bool
IsServerError returns true when this get workflows name not found response has a 5xx status code
func (*GetWorkflowsNameNotFound) IsSuccess ¶
func (o *GetWorkflowsNameNotFound) IsSuccess() bool
IsSuccess returns true when this get workflows name not found response has a 2xx status code
func (*GetWorkflowsNameNotFound) String ¶
func (o *GetWorkflowsNameNotFound) String() string
type GetWorkflowsNameOK ¶
GetWorkflowsNameOK describes a response with status code 200, with default header values.
Workflow description with the provided key
func NewGetWorkflowsNameOK ¶
func NewGetWorkflowsNameOK() *GetWorkflowsNameOK
NewGetWorkflowsNameOK creates a GetWorkflowsNameOK with default headers values
func (*GetWorkflowsNameOK) Code ¶
func (o *GetWorkflowsNameOK) Code() int
Code gets the status code for the get workflows name o k response
func (*GetWorkflowsNameOK) Error ¶
func (o *GetWorkflowsNameOK) Error() string
func (*GetWorkflowsNameOK) GetPayload ¶
func (o *GetWorkflowsNameOK) GetPayload() *model.Workflow
func (*GetWorkflowsNameOK) IsClientError ¶
func (o *GetWorkflowsNameOK) IsClientError() bool
IsClientError returns true when this get workflows name o k response has a 4xx status code
func (*GetWorkflowsNameOK) IsCode ¶
func (o *GetWorkflowsNameOK) IsCode(code int) bool
IsCode returns true when this get workflows name o k response a status code equal to that given
func (*GetWorkflowsNameOK) IsRedirect ¶
func (o *GetWorkflowsNameOK) IsRedirect() bool
IsRedirect returns true when this get workflows name o k response has a 3xx status code
func (*GetWorkflowsNameOK) IsServerError ¶
func (o *GetWorkflowsNameOK) IsServerError() bool
IsServerError returns true when this get workflows name o k response has a 5xx status code
func (*GetWorkflowsNameOK) IsSuccess ¶
func (o *GetWorkflowsNameOK) IsSuccess() bool
IsSuccess returns true when this get workflows name o k response has a 2xx status code
func (*GetWorkflowsNameOK) String ¶
func (o *GetWorkflowsNameOK) String() string
type GetWorkflowsNameParams ¶
type GetWorkflowsNameParams struct { /* Name. Unique name for the workflow */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkflowsNameParams contains all the parameters to send to the API endpoint
for the get workflows name operation. Typically these are written to a http.Request.
func NewGetWorkflowsNameParams ¶
func NewGetWorkflowsNameParams() *GetWorkflowsNameParams
NewGetWorkflowsNameParams creates a new GetWorkflowsNameParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetWorkflowsNameParamsWithContext ¶
func NewGetWorkflowsNameParamsWithContext(ctx context.Context) *GetWorkflowsNameParams
NewGetWorkflowsNameParamsWithContext creates a new GetWorkflowsNameParams object with the ability to set a context for a request.
func NewGetWorkflowsNameParamsWithHTTPClient ¶
func NewGetWorkflowsNameParamsWithHTTPClient(client *http.Client) *GetWorkflowsNameParams
NewGetWorkflowsNameParamsWithHTTPClient creates a new GetWorkflowsNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetWorkflowsNameParamsWithTimeout ¶
func NewGetWorkflowsNameParamsWithTimeout(timeout time.Duration) *GetWorkflowsNameParams
NewGetWorkflowsNameParamsWithTimeout creates a new GetWorkflowsNameParams object with the ability to set a timeout on a request.
func (*GetWorkflowsNameParams) SetContext ¶
func (o *GetWorkflowsNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get workflows name params
func (*GetWorkflowsNameParams) SetDefaults ¶
func (o *GetWorkflowsNameParams) SetDefaults()
SetDefaults hydrates default values in the get workflows name params (not the query body).
All values with no default are reset to their zero value.
func (*GetWorkflowsNameParams) SetHTTPClient ¶
func (o *GetWorkflowsNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workflows name params
func (*GetWorkflowsNameParams) SetName ¶
func (o *GetWorkflowsNameParams) SetName(name string)
SetName adds the name to the get workflows name params
func (*GetWorkflowsNameParams) SetTimeout ¶
func (o *GetWorkflowsNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workflows name params
func (*GetWorkflowsNameParams) WithContext ¶
func (o *GetWorkflowsNameParams) WithContext(ctx context.Context) *GetWorkflowsNameParams
WithContext adds the context to the get workflows name params
func (*GetWorkflowsNameParams) WithDefaults ¶
func (o *GetWorkflowsNameParams) WithDefaults() *GetWorkflowsNameParams
WithDefaults hydrates default values in the get workflows name params (not the query body).
All values with no default are reset to their zero value.
func (*GetWorkflowsNameParams) WithHTTPClient ¶
func (o *GetWorkflowsNameParams) WithHTTPClient(client *http.Client) *GetWorkflowsNameParams
WithHTTPClient adds the HTTPClient to the get workflows name params
func (*GetWorkflowsNameParams) WithName ¶
func (o *GetWorkflowsNameParams) WithName(name string) *GetWorkflowsNameParams
WithName adds the name to the get workflows name params
func (*GetWorkflowsNameParams) WithTimeout ¶
func (o *GetWorkflowsNameParams) WithTimeout(timeout time.Duration) *GetWorkflowsNameParams
WithTimeout adds the timeout to the get workflows name params
func (*GetWorkflowsNameParams) WriteToRequest ¶
func (o *GetWorkflowsNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkflowsNameReader ¶
type GetWorkflowsNameReader struct {
// contains filtered or unexported fields
}
GetWorkflowsNameReader is a Reader for the GetWorkflowsName structure.
func (*GetWorkflowsNameReader) ReadResponse ¶
func (o *GetWorkflowsNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkflowsOK ¶
type GetWorkflowsOK struct {
Payload *model.PaginatedWorkflowList
}
GetWorkflowsOK describes a response with status code 200, with default header values.
A list of workflows
func NewGetWorkflowsOK ¶
func NewGetWorkflowsOK() *GetWorkflowsOK
NewGetWorkflowsOK creates a GetWorkflowsOK with default headers values
func (*GetWorkflowsOK) Code ¶
func (o *GetWorkflowsOK) Code() int
Code gets the status code for the get workflows o k response
func (*GetWorkflowsOK) Error ¶
func (o *GetWorkflowsOK) Error() string
func (*GetWorkflowsOK) GetPayload ¶
func (o *GetWorkflowsOK) GetPayload() *model.PaginatedWorkflowList
func (*GetWorkflowsOK) IsClientError ¶
func (o *GetWorkflowsOK) IsClientError() bool
IsClientError returns true when this get workflows o k response has a 4xx status code
func (*GetWorkflowsOK) IsCode ¶
func (o *GetWorkflowsOK) IsCode(code int) bool
IsCode returns true when this get workflows o k response a status code equal to that given
func (*GetWorkflowsOK) IsRedirect ¶
func (o *GetWorkflowsOK) IsRedirect() bool
IsRedirect returns true when this get workflows o k response has a 3xx status code
func (*GetWorkflowsOK) IsServerError ¶
func (o *GetWorkflowsOK) IsServerError() bool
IsServerError returns true when this get workflows o k response has a 5xx status code
func (*GetWorkflowsOK) IsSuccess ¶
func (o *GetWorkflowsOK) IsSuccess() bool
IsSuccess returns true when this get workflows o k response has a 2xx status code
func (*GetWorkflowsOK) String ¶
func (o *GetWorkflowsOK) String() string
type GetWorkflowsParams ¶
type GetWorkflowsParams struct { /* Limit. the maximum number of items to return Format: int32 Default: 10 */ Limit *int32 /* Offset. the number of items to skip before starting to return results Format: int64 */ Offset *int64 /* Sort. the order of returned elements Default: "asc" */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkflowsParams contains all the parameters to send to the API endpoint
for the get workflows operation. Typically these are written to a http.Request.
func NewGetWorkflowsParams ¶
func NewGetWorkflowsParams() *GetWorkflowsParams
NewGetWorkflowsParams creates a new GetWorkflowsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetWorkflowsParamsWithContext ¶
func NewGetWorkflowsParamsWithContext(ctx context.Context) *GetWorkflowsParams
NewGetWorkflowsParamsWithContext creates a new GetWorkflowsParams object with the ability to set a context for a request.
func NewGetWorkflowsParamsWithHTTPClient ¶
func NewGetWorkflowsParamsWithHTTPClient(client *http.Client) *GetWorkflowsParams
NewGetWorkflowsParamsWithHTTPClient creates a new GetWorkflowsParams object with the ability to set a custom HTTPClient for a request.
func NewGetWorkflowsParamsWithTimeout ¶
func NewGetWorkflowsParamsWithTimeout(timeout time.Duration) *GetWorkflowsParams
NewGetWorkflowsParamsWithTimeout creates a new GetWorkflowsParams object with the ability to set a timeout on a request.
func (*GetWorkflowsParams) SetContext ¶
func (o *GetWorkflowsParams) SetContext(ctx context.Context)
SetContext adds the context to the get workflows params
func (*GetWorkflowsParams) SetDefaults ¶
func (o *GetWorkflowsParams) SetDefaults()
SetDefaults hydrates default values in the get workflows params (not the query body).
All values with no default are reset to their zero value.
func (*GetWorkflowsParams) SetHTTPClient ¶
func (o *GetWorkflowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workflows params
func (*GetWorkflowsParams) SetLimit ¶
func (o *GetWorkflowsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get workflows params
func (*GetWorkflowsParams) SetOffset ¶
func (o *GetWorkflowsParams) SetOffset(offset *int64)
SetOffset adds the offset to the get workflows params
func (*GetWorkflowsParams) SetSort ¶
func (o *GetWorkflowsParams) SetSort(sort *string)
SetSort adds the sort to the get workflows params
func (*GetWorkflowsParams) SetTimeout ¶
func (o *GetWorkflowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workflows params
func (*GetWorkflowsParams) WithContext ¶
func (o *GetWorkflowsParams) WithContext(ctx context.Context) *GetWorkflowsParams
WithContext adds the context to the get workflows params
func (*GetWorkflowsParams) WithDefaults ¶
func (o *GetWorkflowsParams) WithDefaults() *GetWorkflowsParams
WithDefaults hydrates default values in the get workflows params (not the query body).
All values with no default are reset to their zero value.
func (*GetWorkflowsParams) WithHTTPClient ¶
func (o *GetWorkflowsParams) WithHTTPClient(client *http.Client) *GetWorkflowsParams
WithHTTPClient adds the HTTPClient to the get workflows params
func (*GetWorkflowsParams) WithLimit ¶
func (o *GetWorkflowsParams) WithLimit(limit *int32) *GetWorkflowsParams
WithLimit adds the limit to the get workflows params
func (*GetWorkflowsParams) WithOffset ¶
func (o *GetWorkflowsParams) WithOffset(offset *int64) *GetWorkflowsParams
WithOffset adds the offset to the get workflows params
func (*GetWorkflowsParams) WithSort ¶
func (o *GetWorkflowsParams) WithSort(sort *string) *GetWorkflowsParams
WithSort adds the sort to the get workflows params
func (*GetWorkflowsParams) WithTimeout ¶
func (o *GetWorkflowsParams) WithTimeout(timeout time.Duration) *GetWorkflowsParams
WithTimeout adds the timeout to the get workflows params
func (*GetWorkflowsParams) WriteToRequest ¶
func (o *GetWorkflowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkflowsReader ¶
type GetWorkflowsReader struct {
// contains filtered or unexported fields
}
GetWorkflowsReader is a Reader for the GetWorkflows structure.
func (*GetWorkflowsReader) ReadResponse ¶
func (o *GetWorkflowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostWorkflowsBadRequest ¶
type PostWorkflowsBadRequest struct {
Payload *model.ErrorResponse
}
PostWorkflowsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostWorkflowsBadRequest ¶
func NewPostWorkflowsBadRequest() *PostWorkflowsBadRequest
NewPostWorkflowsBadRequest creates a PostWorkflowsBadRequest with default headers values
func (*PostWorkflowsBadRequest) Code ¶
func (o *PostWorkflowsBadRequest) Code() int
Code gets the status code for the post workflows bad request response
func (*PostWorkflowsBadRequest) Error ¶
func (o *PostWorkflowsBadRequest) Error() string
func (*PostWorkflowsBadRequest) GetPayload ¶
func (o *PostWorkflowsBadRequest) GetPayload() *model.ErrorResponse
func (*PostWorkflowsBadRequest) IsClientError ¶
func (o *PostWorkflowsBadRequest) IsClientError() bool
IsClientError returns true when this post workflows bad request response has a 4xx status code
func (*PostWorkflowsBadRequest) IsCode ¶
func (o *PostWorkflowsBadRequest) IsCode(code int) bool
IsCode returns true when this post workflows bad request response a status code equal to that given
func (*PostWorkflowsBadRequest) IsRedirect ¶
func (o *PostWorkflowsBadRequest) IsRedirect() bool
IsRedirect returns true when this post workflows bad request response has a 3xx status code
func (*PostWorkflowsBadRequest) IsServerError ¶
func (o *PostWorkflowsBadRequest) IsServerError() bool
IsServerError returns true when this post workflows bad request response has a 5xx status code
func (*PostWorkflowsBadRequest) IsSuccess ¶
func (o *PostWorkflowsBadRequest) IsSuccess() bool
IsSuccess returns true when this post workflows bad request response has a 2xx status code
func (*PostWorkflowsBadRequest) String ¶
func (o *PostWorkflowsBadRequest) String() string
type PostWorkflowsCreated ¶
PostWorkflowsCreated describes a response with status code 201, with default header values.
Workflow was created
func NewPostWorkflowsCreated ¶
func NewPostWorkflowsCreated() *PostWorkflowsCreated
NewPostWorkflowsCreated creates a PostWorkflowsCreated with default headers values
func (*PostWorkflowsCreated) Code ¶
func (o *PostWorkflowsCreated) Code() int
Code gets the status code for the post workflows created response
func (*PostWorkflowsCreated) Error ¶
func (o *PostWorkflowsCreated) Error() string
func (*PostWorkflowsCreated) GetPayload ¶
func (o *PostWorkflowsCreated) GetPayload() *model.Workflow
func (*PostWorkflowsCreated) IsClientError ¶
func (o *PostWorkflowsCreated) IsClientError() bool
IsClientError returns true when this post workflows created response has a 4xx status code
func (*PostWorkflowsCreated) IsCode ¶
func (o *PostWorkflowsCreated) IsCode(code int) bool
IsCode returns true when this post workflows created response a status code equal to that given
func (*PostWorkflowsCreated) IsRedirect ¶
func (o *PostWorkflowsCreated) IsRedirect() bool
IsRedirect returns true when this post workflows created response has a 3xx status code
func (*PostWorkflowsCreated) IsServerError ¶
func (o *PostWorkflowsCreated) IsServerError() bool
IsServerError returns true when this post workflows created response has a 5xx status code
func (*PostWorkflowsCreated) IsSuccess ¶
func (o *PostWorkflowsCreated) IsSuccess() bool
IsSuccess returns true when this post workflows created response has a 2xx status code
func (*PostWorkflowsCreated) String ¶
func (o *PostWorkflowsCreated) String() string
type PostWorkflowsDefault ¶
type PostWorkflowsDefault struct {
// contains filtered or unexported fields
}
PostWorkflowsDefault describes a response with status code -1, with default header values.
Other error with any status code and response body format.
func NewPostWorkflowsDefault ¶
func NewPostWorkflowsDefault(code int) *PostWorkflowsDefault
NewPostWorkflowsDefault creates a PostWorkflowsDefault with default headers values
func (*PostWorkflowsDefault) Code ¶
func (o *PostWorkflowsDefault) Code() int
Code gets the status code for the post workflows default response
func (*PostWorkflowsDefault) Error ¶
func (o *PostWorkflowsDefault) Error() string
func (*PostWorkflowsDefault) IsClientError ¶
func (o *PostWorkflowsDefault) IsClientError() bool
IsClientError returns true when this post workflows default response has a 4xx status code
func (*PostWorkflowsDefault) IsCode ¶
func (o *PostWorkflowsDefault) IsCode(code int) bool
IsCode returns true when this post workflows default response a status code equal to that given
func (*PostWorkflowsDefault) IsRedirect ¶
func (o *PostWorkflowsDefault) IsRedirect() bool
IsRedirect returns true when this post workflows default response has a 3xx status code
func (*PostWorkflowsDefault) IsServerError ¶
func (o *PostWorkflowsDefault) IsServerError() bool
IsServerError returns true when this post workflows default response has a 5xx status code
func (*PostWorkflowsDefault) IsSuccess ¶
func (o *PostWorkflowsDefault) IsSuccess() bool
IsSuccess returns true when this post workflows default response has a 2xx status code
func (*PostWorkflowsDefault) String ¶
func (o *PostWorkflowsDefault) String() string
type PostWorkflowsParams ¶
type PostWorkflowsParams struct { /* Workflow. Workflow object to be added */ Workflow *model.Workflow Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostWorkflowsParams contains all the parameters to send to the API endpoint
for the post workflows operation. Typically these are written to a http.Request.
func NewPostWorkflowsParams ¶
func NewPostWorkflowsParams() *PostWorkflowsParams
NewPostWorkflowsParams creates a new PostWorkflowsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostWorkflowsParamsWithContext ¶
func NewPostWorkflowsParamsWithContext(ctx context.Context) *PostWorkflowsParams
NewPostWorkflowsParamsWithContext creates a new PostWorkflowsParams object with the ability to set a context for a request.
func NewPostWorkflowsParamsWithHTTPClient ¶
func NewPostWorkflowsParamsWithHTTPClient(client *http.Client) *PostWorkflowsParams
NewPostWorkflowsParamsWithHTTPClient creates a new PostWorkflowsParams object with the ability to set a custom HTTPClient for a request.
func NewPostWorkflowsParamsWithTimeout ¶
func NewPostWorkflowsParamsWithTimeout(timeout time.Duration) *PostWorkflowsParams
NewPostWorkflowsParamsWithTimeout creates a new PostWorkflowsParams object with the ability to set a timeout on a request.
func (*PostWorkflowsParams) SetContext ¶
func (o *PostWorkflowsParams) SetContext(ctx context.Context)
SetContext adds the context to the post workflows params
func (*PostWorkflowsParams) SetDefaults ¶
func (o *PostWorkflowsParams) SetDefaults()
SetDefaults hydrates default values in the post workflows params (not the query body).
All values with no default are reset to their zero value.
func (*PostWorkflowsParams) SetHTTPClient ¶
func (o *PostWorkflowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post workflows params
func (*PostWorkflowsParams) SetTimeout ¶
func (o *PostWorkflowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post workflows params
func (*PostWorkflowsParams) SetWorkflow ¶
func (o *PostWorkflowsParams) SetWorkflow(workflow *model.Workflow)
SetWorkflow adds the workflow to the post workflows params
func (*PostWorkflowsParams) WithContext ¶
func (o *PostWorkflowsParams) WithContext(ctx context.Context) *PostWorkflowsParams
WithContext adds the context to the post workflows params
func (*PostWorkflowsParams) WithDefaults ¶
func (o *PostWorkflowsParams) WithDefaults() *PostWorkflowsParams
WithDefaults hydrates default values in the post workflows params (not the query body).
All values with no default are reset to their zero value.
func (*PostWorkflowsParams) WithHTTPClient ¶
func (o *PostWorkflowsParams) WithHTTPClient(client *http.Client) *PostWorkflowsParams
WithHTTPClient adds the HTTPClient to the post workflows params
func (*PostWorkflowsParams) WithTimeout ¶
func (o *PostWorkflowsParams) WithTimeout(timeout time.Duration) *PostWorkflowsParams
WithTimeout adds the timeout to the post workflows params
func (*PostWorkflowsParams) WithWorkflow ¶
func (o *PostWorkflowsParams) WithWorkflow(workflow *model.Workflow) *PostWorkflowsParams
WithWorkflow adds the workflow to the post workflows params
func (*PostWorkflowsParams) WriteToRequest ¶
func (o *PostWorkflowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostWorkflowsReader ¶
type PostWorkflowsReader struct {
// contains filtered or unexported fields
}
PostWorkflowsReader is a Reader for the PostWorkflows structure.
func (*PostWorkflowsReader) ReadResponse ¶
func (o *PostWorkflowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.