Help us shape the future of Go! Take the 2026 Go Developer Survey

task

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2016 License: MIT Imports: 6 Imported by: 3

Documentation

Index

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 task API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new task API client.

func (*Client) GetWorkflowsTasks

func (a *Client) GetWorkflowsTasks(params *GetWorkflowsTasksParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkflowsTasksOK, error)

GetWorkflowsTasks fetches tasks from task library

Fetch tasks from task library

func (*Client) PutWorkflowsTasks

func (a *Client) PutWorkflowsTasks(params *PutWorkflowsTasksParams, authInfo runtime.ClientAuthInfoWriter) (*PutWorkflowsTasksOK, error)

PutWorkflowsTasks adds tasks to task library

Add tasks to task library

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetWorkflowsTasksDefault

type GetWorkflowsTasksDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetWorkflowsTasksDefault handles this case with default header values.

Unexpected error

func NewGetWorkflowsTasksDefault

func NewGetWorkflowsTasksDefault(code int) *GetWorkflowsTasksDefault

NewGetWorkflowsTasksDefault creates a GetWorkflowsTasksDefault with default headers values

func (*GetWorkflowsTasksDefault) Code

func (o *GetWorkflowsTasksDefault) Code() int

Code gets the status code for the get workflows tasks default response

func (*GetWorkflowsTasksDefault) Error

func (o *GetWorkflowsTasksDefault) Error() string

type GetWorkflowsTasksOK

type GetWorkflowsTasksOK struct {
	Payload []interface{}
}

GetWorkflowsTasksOK handles this case with default header values.

Fetch tasks from task library

func NewGetWorkflowsTasksOK

func NewGetWorkflowsTasksOK() *GetWorkflowsTasksOK

NewGetWorkflowsTasksOK creates a GetWorkflowsTasksOK with default headers values

func (*GetWorkflowsTasksOK) Error

func (o *GetWorkflowsTasksOK) Error() string

type GetWorkflowsTasksParams

type GetWorkflowsTasksParams struct {
}

GetWorkflowsTasksParams contains all the parameters to send to the API endpoint for the get workflows tasks operation typically these are written to a http.Request

func NewGetWorkflowsTasksParams

func NewGetWorkflowsTasksParams() *GetWorkflowsTasksParams

NewGetWorkflowsTasksParams creates a new GetWorkflowsTasksParams object with the default values initialized.

func (*GetWorkflowsTasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkflowsTasksReader

type GetWorkflowsTasksReader struct {
	// contains filtered or unexported fields
}

GetWorkflowsTasksReader is a Reader for the GetWorkflowsTasks structure.

func (*GetWorkflowsTasksReader) ReadResponse

func (o *GetWorkflowsTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PutWorkflowsTasksDefault

type PutWorkflowsTasksDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutWorkflowsTasksDefault handles this case with default header values.

Upload failed

func NewPutWorkflowsTasksDefault

func NewPutWorkflowsTasksDefault(code int) *PutWorkflowsTasksDefault

NewPutWorkflowsTasksDefault creates a PutWorkflowsTasksDefault with default headers values

func (*PutWorkflowsTasksDefault) Code

func (o *PutWorkflowsTasksDefault) Code() int

Code gets the status code for the put workflows tasks default response

func (*PutWorkflowsTasksDefault) Error

func (o *PutWorkflowsTasksDefault) Error() string

type PutWorkflowsTasksInternalServerError

type PutWorkflowsTasksInternalServerError struct {
	Payload *models.Error
}

PutWorkflowsTasksInternalServerError handles this case with default header values.

Error problem was encountered, task was not written.

func NewPutWorkflowsTasksInternalServerError

func NewPutWorkflowsTasksInternalServerError() *PutWorkflowsTasksInternalServerError

NewPutWorkflowsTasksInternalServerError creates a PutWorkflowsTasksInternalServerError with default headers values

func (*PutWorkflowsTasksInternalServerError) Error

type PutWorkflowsTasksOK

type PutWorkflowsTasksOK struct {
	Payload PutWorkflowsTasksOKBodyBody
}

PutWorkflowsTasksOK handles this case with default header values.

Add tasks to task library

func NewPutWorkflowsTasksOK

func NewPutWorkflowsTasksOK() *PutWorkflowsTasksOK

NewPutWorkflowsTasksOK creates a PutWorkflowsTasksOK with default headers values

func (*PutWorkflowsTasksOK) Error

func (o *PutWorkflowsTasksOK) Error() string

type PutWorkflowsTasksOKBodyBody

type PutWorkflowsTasksOKBodyBody interface{}

PutWorkflowsTasksOKBodyBody put workflows tasks o k body body

swagger:model PutWorkflowsTasksOKBodyBody

type PutWorkflowsTasksParams

type PutWorkflowsTasksParams struct {

	/*Body*/
	Body interface{}
}

PutWorkflowsTasksParams contains all the parameters to send to the API endpoint for the put workflows tasks operation typically these are written to a http.Request

func NewPutWorkflowsTasksParams

func NewPutWorkflowsTasksParams() *PutWorkflowsTasksParams

NewPutWorkflowsTasksParams creates a new PutWorkflowsTasksParams object with the default values initialized.

func (*PutWorkflowsTasksParams) WithBody

func (o *PutWorkflowsTasksParams) WithBody(Body interface{}) *PutWorkflowsTasksParams

WithBody adds the body to the put workflows tasks params

func (*PutWorkflowsTasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutWorkflowsTasksReader

type PutWorkflowsTasksReader struct {
	// contains filtered or unexported fields
}

PutWorkflowsTasksReader is a Reader for the PutWorkflowsTasks structure.

func (*PutWorkflowsTasksReader) ReadResponse

func (o *PutWorkflowsTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL