organization_pipelines_jobs

package
v1.0.97 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearTaskCacheDefault

type ClearTaskCacheDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

ClearTaskCacheDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewClearTaskCacheDefault

func NewClearTaskCacheDefault(code int) *ClearTaskCacheDefault

NewClearTaskCacheDefault creates a ClearTaskCacheDefault with default headers values

func (*ClearTaskCacheDefault) Code

func (o *ClearTaskCacheDefault) Code() int

Code gets the status code for the clear task cache default response

func (*ClearTaskCacheDefault) Error

func (o *ClearTaskCacheDefault) Error() string

func (*ClearTaskCacheDefault) GetPayload

func (o *ClearTaskCacheDefault) GetPayload() *models.ErrorPayload

type ClearTaskCacheForbidden

type ClearTaskCacheForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

ClearTaskCacheForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewClearTaskCacheForbidden

func NewClearTaskCacheForbidden() *ClearTaskCacheForbidden

NewClearTaskCacheForbidden creates a ClearTaskCacheForbidden with default headers values

func (*ClearTaskCacheForbidden) Error

func (o *ClearTaskCacheForbidden) Error() string

func (*ClearTaskCacheForbidden) GetPayload

func (o *ClearTaskCacheForbidden) GetPayload() *models.ErrorPayload

type ClearTaskCacheNotFound

type ClearTaskCacheNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

ClearTaskCacheNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewClearTaskCacheNotFound

func NewClearTaskCacheNotFound() *ClearTaskCacheNotFound

NewClearTaskCacheNotFound creates a ClearTaskCacheNotFound with default headers values

func (*ClearTaskCacheNotFound) Error

func (o *ClearTaskCacheNotFound) Error() string

func (*ClearTaskCacheNotFound) GetPayload

func (o *ClearTaskCacheNotFound) GetPayload() *models.ErrorPayload

type ClearTaskCacheOK

type ClearTaskCacheOK struct {
	Payload *ClearTaskCacheOKBody
}

ClearTaskCacheOK handles this case with default header values.

Cache has been cleared.

func NewClearTaskCacheOK

func NewClearTaskCacheOK() *ClearTaskCacheOK

NewClearTaskCacheOK creates a ClearTaskCacheOK with default headers values

func (*ClearTaskCacheOK) Error

func (o *ClearTaskCacheOK) Error() string

func (*ClearTaskCacheOK) GetPayload

func (o *ClearTaskCacheOK) GetPayload() *ClearTaskCacheOKBody

type ClearTaskCacheOKBody

type ClearTaskCacheOKBody struct {

	// data
	// Required: true
	Data *models.ClearTaskCache `json:"data"`
}

ClearTaskCacheOKBody clear task cache o k body swagger:model ClearTaskCacheOKBody

func (*ClearTaskCacheOKBody) MarshalBinary

func (o *ClearTaskCacheOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClearTaskCacheOKBody) UnmarshalBinary

func (o *ClearTaskCacheOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClearTaskCacheOKBody) Validate

func (o *ClearTaskCacheOKBody) Validate(formats strfmt.Registry) error

Validate validates this clear task cache o k body

type ClearTaskCacheParams

type ClearTaskCacheParams struct {

	/*CachePath
	  The cache path to use as part of a clearTaskCache request

	*/
	CachePath *string
	/*InpathPipelineName
	  A pipeline name

	*/
	InpathPipelineName string
	/*JobName
	  A job name

	*/
	JobName string
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*ProjectCanonical
	  A canonical of a project.

	*/
	ProjectCanonical string
	/*StepName
	  A step name from a job task

	*/
	StepName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ClearTaskCacheParams contains all the parameters to send to the API endpoint for the clear task cache operation typically these are written to a http.Request

func NewClearTaskCacheParams

func NewClearTaskCacheParams() *ClearTaskCacheParams

NewClearTaskCacheParams creates a new ClearTaskCacheParams object with the default values initialized.

func NewClearTaskCacheParamsWithContext

func NewClearTaskCacheParamsWithContext(ctx context.Context) *ClearTaskCacheParams

NewClearTaskCacheParamsWithContext creates a new ClearTaskCacheParams object with the default values initialized, and the ability to set a context for a request

func NewClearTaskCacheParamsWithHTTPClient

func NewClearTaskCacheParamsWithHTTPClient(client *http.Client) *ClearTaskCacheParams

NewClearTaskCacheParamsWithHTTPClient creates a new ClearTaskCacheParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewClearTaskCacheParamsWithTimeout

func NewClearTaskCacheParamsWithTimeout(timeout time.Duration) *ClearTaskCacheParams

NewClearTaskCacheParamsWithTimeout creates a new ClearTaskCacheParams object with the default values initialized, and the ability to set a timeout on a request

func (*ClearTaskCacheParams) SetCachePath

func (o *ClearTaskCacheParams) SetCachePath(cachePath *string)

SetCachePath adds the cachePath to the clear task cache params

func (*ClearTaskCacheParams) SetContext

func (o *ClearTaskCacheParams) SetContext(ctx context.Context)

SetContext adds the context to the clear task cache params

func (*ClearTaskCacheParams) SetHTTPClient

func (o *ClearTaskCacheParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the clear task cache params

func (*ClearTaskCacheParams) SetInpathPipelineName

func (o *ClearTaskCacheParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the clear task cache params

func (*ClearTaskCacheParams) SetJobName

func (o *ClearTaskCacheParams) SetJobName(jobName string)

SetJobName adds the jobName to the clear task cache params

func (*ClearTaskCacheParams) SetOrganizationCanonical

func (o *ClearTaskCacheParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the clear task cache params

func (*ClearTaskCacheParams) SetProjectCanonical

func (o *ClearTaskCacheParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the clear task cache params

func (*ClearTaskCacheParams) SetStepName

func (o *ClearTaskCacheParams) SetStepName(stepName string)

SetStepName adds the stepName to the clear task cache params

func (*ClearTaskCacheParams) SetTimeout

func (o *ClearTaskCacheParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the clear task cache params

func (*ClearTaskCacheParams) WithCachePath

func (o *ClearTaskCacheParams) WithCachePath(cachePath *string) *ClearTaskCacheParams

WithCachePath adds the cachePath to the clear task cache params

func (*ClearTaskCacheParams) WithContext

WithContext adds the context to the clear task cache params

func (*ClearTaskCacheParams) WithHTTPClient

func (o *ClearTaskCacheParams) WithHTTPClient(client *http.Client) *ClearTaskCacheParams

WithHTTPClient adds the HTTPClient to the clear task cache params

func (*ClearTaskCacheParams) WithInpathPipelineName

func (o *ClearTaskCacheParams) WithInpathPipelineName(inpathPipelineName string) *ClearTaskCacheParams

WithInpathPipelineName adds the inpathPipelineName to the clear task cache params

func (*ClearTaskCacheParams) WithJobName

func (o *ClearTaskCacheParams) WithJobName(jobName string) *ClearTaskCacheParams

WithJobName adds the jobName to the clear task cache params

func (*ClearTaskCacheParams) WithOrganizationCanonical

func (o *ClearTaskCacheParams) WithOrganizationCanonical(organizationCanonical string) *ClearTaskCacheParams

WithOrganizationCanonical adds the organizationCanonical to the clear task cache params

func (*ClearTaskCacheParams) WithProjectCanonical

func (o *ClearTaskCacheParams) WithProjectCanonical(projectCanonical string) *ClearTaskCacheParams

WithProjectCanonical adds the projectCanonical to the clear task cache params

func (*ClearTaskCacheParams) WithStepName

func (o *ClearTaskCacheParams) WithStepName(stepName string) *ClearTaskCacheParams

WithStepName adds the stepName to the clear task cache params

func (*ClearTaskCacheParams) WithTimeout

func (o *ClearTaskCacheParams) WithTimeout(timeout time.Duration) *ClearTaskCacheParams

WithTimeout adds the timeout to the clear task cache params

func (*ClearTaskCacheParams) WriteToRequest

func (o *ClearTaskCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ClearTaskCacheReader

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

ClearTaskCacheReader is a Reader for the ClearTaskCache structure.

func (*ClearTaskCacheReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for organization pipelines jobs API

func New

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

New creates a new organization pipelines jobs API client.

func (*Client) ClearTaskCache

func (a *Client) ClearTaskCache(params *ClearTaskCacheParams, authInfo runtime.ClientAuthInfoWriter) (*ClearTaskCacheOK, error)

ClearTaskCache Clear task cache

func (*Client) GetJob

func (a *Client) GetJob(params *GetJobParams, authInfo runtime.ClientAuthInfoWriter) (*GetJobOK, error)

GetJob Get the information of the job.

func (*Client) GetJobs

func (a *Client) GetJobs(params *GetJobsParams, authInfo runtime.ClientAuthInfoWriter) (*GetJobsOK, error)

GetJobs Get the jobs of the pipeline that the authenticated user has access to.

func (*Client) PauseJob

func (a *Client) PauseJob(params *PauseJobParams, authInfo runtime.ClientAuthInfoWriter) (*PauseJobNoContent, error)

PauseJob Pause a job

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UnpauseJob

func (a *Client) UnpauseJob(params *UnpauseJobParams, authInfo runtime.ClientAuthInfoWriter) (*UnpauseJobNoContent, error)

UnpauseJob Unpause a job

type GetJobDefault

type GetJobDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

GetJobDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetJobDefault

func NewGetJobDefault(code int) *GetJobDefault

NewGetJobDefault creates a GetJobDefault with default headers values

func (*GetJobDefault) Code

func (o *GetJobDefault) Code() int

Code gets the status code for the get job default response

func (*GetJobDefault) Error

func (o *GetJobDefault) Error() string

func (*GetJobDefault) GetPayload

func (o *GetJobDefault) GetPayload() *models.ErrorPayload

type GetJobForbidden

type GetJobForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetJobForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetJobForbidden

func NewGetJobForbidden() *GetJobForbidden

NewGetJobForbidden creates a GetJobForbidden with default headers values

func (*GetJobForbidden) Error

func (o *GetJobForbidden) Error() string

func (*GetJobForbidden) GetPayload

func (o *GetJobForbidden) GetPayload() *models.ErrorPayload

type GetJobNotFound

type GetJobNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetJobNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewGetJobNotFound

func NewGetJobNotFound() *GetJobNotFound

NewGetJobNotFound creates a GetJobNotFound with default headers values

func (*GetJobNotFound) Error

func (o *GetJobNotFound) Error() string

func (*GetJobNotFound) GetPayload

func (o *GetJobNotFound) GetPayload() *models.ErrorPayload

type GetJobOK

type GetJobOK struct {
	Payload *GetJobOKBody
}

GetJobOK handles this case with default header values.

The configuration of the job which has the specified name.

func NewGetJobOK

func NewGetJobOK() *GetJobOK

NewGetJobOK creates a GetJobOK with default headers values

func (*GetJobOK) Error

func (o *GetJobOK) Error() string

func (*GetJobOK) GetPayload

func (o *GetJobOK) GetPayload() *GetJobOKBody

type GetJobOKBody

type GetJobOKBody struct {

	// data
	// Required: true
	Data *models.Job `json:"data"`
}

GetJobOKBody get job o k body swagger:model GetJobOKBody

func (*GetJobOKBody) MarshalBinary

func (o *GetJobOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetJobOKBody) UnmarshalBinary

func (o *GetJobOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetJobOKBody) Validate

func (o *GetJobOKBody) Validate(formats strfmt.Registry) error

Validate validates this get job o k body

type GetJobParams

type GetJobParams struct {

	/*InpathPipelineName
	  A pipeline name

	*/
	InpathPipelineName string
	/*JobName
	  A job name

	*/
	JobName string
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*ProjectCanonical
	  A canonical of a project.

	*/
	ProjectCanonical string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetJobParams contains all the parameters to send to the API endpoint for the get job operation typically these are written to a http.Request

func NewGetJobParams

func NewGetJobParams() *GetJobParams

NewGetJobParams creates a new GetJobParams object with the default values initialized.

func NewGetJobParamsWithContext

func NewGetJobParamsWithContext(ctx context.Context) *GetJobParams

NewGetJobParamsWithContext creates a new GetJobParams object with the default values initialized, and the ability to set a context for a request

func NewGetJobParamsWithHTTPClient

func NewGetJobParamsWithHTTPClient(client *http.Client) *GetJobParams

NewGetJobParamsWithHTTPClient creates a new GetJobParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetJobParamsWithTimeout

func NewGetJobParamsWithTimeout(timeout time.Duration) *GetJobParams

NewGetJobParamsWithTimeout creates a new GetJobParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetJobParams) SetContext

func (o *GetJobParams) SetContext(ctx context.Context)

SetContext adds the context to the get job params

func (*GetJobParams) SetHTTPClient

func (o *GetJobParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get job params

func (*GetJobParams) SetInpathPipelineName

func (o *GetJobParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the get job params

func (*GetJobParams) SetJobName

func (o *GetJobParams) SetJobName(jobName string)

SetJobName adds the jobName to the get job params

func (*GetJobParams) SetOrganizationCanonical

func (o *GetJobParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get job params

func (*GetJobParams) SetProjectCanonical

func (o *GetJobParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get job params

func (*GetJobParams) SetTimeout

func (o *GetJobParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get job params

func (*GetJobParams) WithContext

func (o *GetJobParams) WithContext(ctx context.Context) *GetJobParams

WithContext adds the context to the get job params

func (*GetJobParams) WithHTTPClient

func (o *GetJobParams) WithHTTPClient(client *http.Client) *GetJobParams

WithHTTPClient adds the HTTPClient to the get job params

func (*GetJobParams) WithInpathPipelineName

func (o *GetJobParams) WithInpathPipelineName(inpathPipelineName string) *GetJobParams

WithInpathPipelineName adds the inpathPipelineName to the get job params

func (*GetJobParams) WithJobName

func (o *GetJobParams) WithJobName(jobName string) *GetJobParams

WithJobName adds the jobName to the get job params

func (*GetJobParams) WithOrganizationCanonical

func (o *GetJobParams) WithOrganizationCanonical(organizationCanonical string) *GetJobParams

WithOrganizationCanonical adds the organizationCanonical to the get job params

func (*GetJobParams) WithProjectCanonical

func (o *GetJobParams) WithProjectCanonical(projectCanonical string) *GetJobParams

WithProjectCanonical adds the projectCanonical to the get job params

func (*GetJobParams) WithTimeout

func (o *GetJobParams) WithTimeout(timeout time.Duration) *GetJobParams

WithTimeout adds the timeout to the get job params

func (*GetJobParams) WriteToRequest

func (o *GetJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetJobReader

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

GetJobReader is a Reader for the GetJob structure.

func (*GetJobReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetJobsDefault

type GetJobsDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

GetJobsDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetJobsDefault

func NewGetJobsDefault(code int) *GetJobsDefault

NewGetJobsDefault creates a GetJobsDefault with default headers values

func (*GetJobsDefault) Code

func (o *GetJobsDefault) Code() int

Code gets the status code for the get jobs default response

func (*GetJobsDefault) Error

func (o *GetJobsDefault) Error() string

func (*GetJobsDefault) GetPayload

func (o *GetJobsDefault) GetPayload() *models.ErrorPayload

type GetJobsForbidden

type GetJobsForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetJobsForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetJobsForbidden

func NewGetJobsForbidden() *GetJobsForbidden

NewGetJobsForbidden creates a GetJobsForbidden with default headers values

func (*GetJobsForbidden) Error

func (o *GetJobsForbidden) Error() string

func (*GetJobsForbidden) GetPayload

func (o *GetJobsForbidden) GetPayload() *models.ErrorPayload

type GetJobsNotFound

type GetJobsNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetJobsNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewGetJobsNotFound

func NewGetJobsNotFound() *GetJobsNotFound

NewGetJobsNotFound creates a GetJobsNotFound with default headers values

func (*GetJobsNotFound) Error

func (o *GetJobsNotFound) Error() string

func (*GetJobsNotFound) GetPayload

func (o *GetJobsNotFound) GetPayload() *models.ErrorPayload

type GetJobsOK

type GetJobsOK struct {
	Payload *GetJobsOKBody
}

GetJobsOK handles this case with default header values.

List of the pipeline's jobs which authenticated user has access to.

func NewGetJobsOK

func NewGetJobsOK() *GetJobsOK

NewGetJobsOK creates a GetJobsOK with default headers values

func (*GetJobsOK) Error

func (o *GetJobsOK) Error() string

func (*GetJobsOK) GetPayload

func (o *GetJobsOK) GetPayload() *GetJobsOKBody

type GetJobsOKBody

type GetJobsOKBody struct {

	// data
	// Required: true
	Data []*models.Job `json:"data"`

	// pagination
	// Required: true
	Pagination *models.Pagination `json:"pagination"`
}

GetJobsOKBody get jobs o k body swagger:model GetJobsOKBody

func (*GetJobsOKBody) MarshalBinary

func (o *GetJobsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetJobsOKBody) UnmarshalBinary

func (o *GetJobsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetJobsOKBody) Validate

func (o *GetJobsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get jobs o k body

type GetJobsParams

type GetJobsParams struct {

	/*InpathPipelineName
	  A pipeline name

	*/
	InpathPipelineName string
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*PageIndex
	  The page number to request. The first page is 1.

	*/
	PageIndex *uint32
	/*PageSize
	  The number of items at most which the response can have.

	*/
	PageSize *uint32
	/*ProjectCanonical
	  A canonical of a project.

	*/
	ProjectCanonical string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetJobsParams contains all the parameters to send to the API endpoint for the get jobs operation typically these are written to a http.Request

func NewGetJobsParams

func NewGetJobsParams() *GetJobsParams

NewGetJobsParams creates a new GetJobsParams object with the default values initialized.

func NewGetJobsParamsWithContext

func NewGetJobsParamsWithContext(ctx context.Context) *GetJobsParams

NewGetJobsParamsWithContext creates a new GetJobsParams object with the default values initialized, and the ability to set a context for a request

func NewGetJobsParamsWithHTTPClient

func NewGetJobsParamsWithHTTPClient(client *http.Client) *GetJobsParams

NewGetJobsParamsWithHTTPClient creates a new GetJobsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetJobsParamsWithTimeout

func NewGetJobsParamsWithTimeout(timeout time.Duration) *GetJobsParams

NewGetJobsParamsWithTimeout creates a new GetJobsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetJobsParams) SetContext

func (o *GetJobsParams) SetContext(ctx context.Context)

SetContext adds the context to the get jobs params

func (*GetJobsParams) SetHTTPClient

func (o *GetJobsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get jobs params

func (*GetJobsParams) SetInpathPipelineName

func (o *GetJobsParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the get jobs params

func (*GetJobsParams) SetOrganizationCanonical

func (o *GetJobsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get jobs params

func (*GetJobsParams) SetPageIndex

func (o *GetJobsParams) SetPageIndex(pageIndex *uint32)

SetPageIndex adds the pageIndex to the get jobs params

func (*GetJobsParams) SetPageSize

func (o *GetJobsParams) SetPageSize(pageSize *uint32)

SetPageSize adds the pageSize to the get jobs params

func (*GetJobsParams) SetProjectCanonical

func (o *GetJobsParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get jobs params

func (*GetJobsParams) SetTimeout

func (o *GetJobsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get jobs params

func (*GetJobsParams) WithContext

func (o *GetJobsParams) WithContext(ctx context.Context) *GetJobsParams

WithContext adds the context to the get jobs params

func (*GetJobsParams) WithHTTPClient

func (o *GetJobsParams) WithHTTPClient(client *http.Client) *GetJobsParams

WithHTTPClient adds the HTTPClient to the get jobs params

func (*GetJobsParams) WithInpathPipelineName

func (o *GetJobsParams) WithInpathPipelineName(inpathPipelineName string) *GetJobsParams

WithInpathPipelineName adds the inpathPipelineName to the get jobs params

func (*GetJobsParams) WithOrganizationCanonical

func (o *GetJobsParams) WithOrganizationCanonical(organizationCanonical string) *GetJobsParams

WithOrganizationCanonical adds the organizationCanonical to the get jobs params

func (*GetJobsParams) WithPageIndex

func (o *GetJobsParams) WithPageIndex(pageIndex *uint32) *GetJobsParams

WithPageIndex adds the pageIndex to the get jobs params

func (*GetJobsParams) WithPageSize

func (o *GetJobsParams) WithPageSize(pageSize *uint32) *GetJobsParams

WithPageSize adds the pageSize to the get jobs params

func (*GetJobsParams) WithProjectCanonical

func (o *GetJobsParams) WithProjectCanonical(projectCanonical string) *GetJobsParams

WithProjectCanonical adds the projectCanonical to the get jobs params

func (*GetJobsParams) WithTimeout

func (o *GetJobsParams) WithTimeout(timeout time.Duration) *GetJobsParams

WithTimeout adds the timeout to the get jobs params

func (*GetJobsParams) WriteToRequest

func (o *GetJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetJobsReader

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

GetJobsReader is a Reader for the GetJobs structure.

func (*GetJobsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetJobsUnprocessableEntity

type GetJobsUnprocessableEntity struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetJobsUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewGetJobsUnprocessableEntity

func NewGetJobsUnprocessableEntity() *GetJobsUnprocessableEntity

NewGetJobsUnprocessableEntity creates a GetJobsUnprocessableEntity with default headers values

func (*GetJobsUnprocessableEntity) Error

func (*GetJobsUnprocessableEntity) GetPayload

type PauseJobDefault

type PauseJobDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

PauseJobDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewPauseJobDefault

func NewPauseJobDefault(code int) *PauseJobDefault

NewPauseJobDefault creates a PauseJobDefault with default headers values

func (*PauseJobDefault) Code

func (o *PauseJobDefault) Code() int

Code gets the status code for the pause job default response

func (*PauseJobDefault) Error

func (o *PauseJobDefault) Error() string

func (*PauseJobDefault) GetPayload

func (o *PauseJobDefault) GetPayload() *models.ErrorPayload

type PauseJobForbidden

type PauseJobForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

PauseJobForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewPauseJobForbidden

func NewPauseJobForbidden() *PauseJobForbidden

NewPauseJobForbidden creates a PauseJobForbidden with default headers values

func (*PauseJobForbidden) Error

func (o *PauseJobForbidden) Error() string

func (*PauseJobForbidden) GetPayload

func (o *PauseJobForbidden) GetPayload() *models.ErrorPayload

type PauseJobNoContent

type PauseJobNoContent struct {
}

PauseJobNoContent handles this case with default header values.

Job has been paused.

func NewPauseJobNoContent

func NewPauseJobNoContent() *PauseJobNoContent

NewPauseJobNoContent creates a PauseJobNoContent with default headers values

func (*PauseJobNoContent) Error

func (o *PauseJobNoContent) Error() string

type PauseJobNotFound

type PauseJobNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

PauseJobNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewPauseJobNotFound

func NewPauseJobNotFound() *PauseJobNotFound

NewPauseJobNotFound creates a PauseJobNotFound with default headers values

func (*PauseJobNotFound) Error

func (o *PauseJobNotFound) Error() string

func (*PauseJobNotFound) GetPayload

func (o *PauseJobNotFound) GetPayload() *models.ErrorPayload

type PauseJobParams

type PauseJobParams struct {

	/*InpathPipelineName
	  A pipeline name

	*/
	InpathPipelineName string
	/*JobName
	  A job name

	*/
	JobName string
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*ProjectCanonical
	  A canonical of a project.

	*/
	ProjectCanonical string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PauseJobParams contains all the parameters to send to the API endpoint for the pause job operation typically these are written to a http.Request

func NewPauseJobParams

func NewPauseJobParams() *PauseJobParams

NewPauseJobParams creates a new PauseJobParams object with the default values initialized.

func NewPauseJobParamsWithContext

func NewPauseJobParamsWithContext(ctx context.Context) *PauseJobParams

NewPauseJobParamsWithContext creates a new PauseJobParams object with the default values initialized, and the ability to set a context for a request

func NewPauseJobParamsWithHTTPClient

func NewPauseJobParamsWithHTTPClient(client *http.Client) *PauseJobParams

NewPauseJobParamsWithHTTPClient creates a new PauseJobParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPauseJobParamsWithTimeout

func NewPauseJobParamsWithTimeout(timeout time.Duration) *PauseJobParams

NewPauseJobParamsWithTimeout creates a new PauseJobParams object with the default values initialized, and the ability to set a timeout on a request

func (*PauseJobParams) SetContext

func (o *PauseJobParams) SetContext(ctx context.Context)

SetContext adds the context to the pause job params

func (*PauseJobParams) SetHTTPClient

func (o *PauseJobParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pause job params

func (*PauseJobParams) SetInpathPipelineName

func (o *PauseJobParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the pause job params

func (*PauseJobParams) SetJobName

func (o *PauseJobParams) SetJobName(jobName string)

SetJobName adds the jobName to the pause job params

func (*PauseJobParams) SetOrganizationCanonical

func (o *PauseJobParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the pause job params

func (*PauseJobParams) SetProjectCanonical

func (o *PauseJobParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the pause job params

func (*PauseJobParams) SetTimeout

func (o *PauseJobParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pause job params

func (*PauseJobParams) WithContext

func (o *PauseJobParams) WithContext(ctx context.Context) *PauseJobParams

WithContext adds the context to the pause job params

func (*PauseJobParams) WithHTTPClient

func (o *PauseJobParams) WithHTTPClient(client *http.Client) *PauseJobParams

WithHTTPClient adds the HTTPClient to the pause job params

func (*PauseJobParams) WithInpathPipelineName

func (o *PauseJobParams) WithInpathPipelineName(inpathPipelineName string) *PauseJobParams

WithInpathPipelineName adds the inpathPipelineName to the pause job params

func (*PauseJobParams) WithJobName

func (o *PauseJobParams) WithJobName(jobName string) *PauseJobParams

WithJobName adds the jobName to the pause job params

func (*PauseJobParams) WithOrganizationCanonical

func (o *PauseJobParams) WithOrganizationCanonical(organizationCanonical string) *PauseJobParams

WithOrganizationCanonical adds the organizationCanonical to the pause job params

func (*PauseJobParams) WithProjectCanonical

func (o *PauseJobParams) WithProjectCanonical(projectCanonical string) *PauseJobParams

WithProjectCanonical adds the projectCanonical to the pause job params

func (*PauseJobParams) WithTimeout

func (o *PauseJobParams) WithTimeout(timeout time.Duration) *PauseJobParams

WithTimeout adds the timeout to the pause job params

func (*PauseJobParams) WriteToRequest

func (o *PauseJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PauseJobReader

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

PauseJobReader is a Reader for the PauseJob structure.

func (*PauseJobReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnpauseJobDefault

type UnpauseJobDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

UnpauseJobDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewUnpauseJobDefault

func NewUnpauseJobDefault(code int) *UnpauseJobDefault

NewUnpauseJobDefault creates a UnpauseJobDefault with default headers values

func (*UnpauseJobDefault) Code

func (o *UnpauseJobDefault) Code() int

Code gets the status code for the unpause job default response

func (*UnpauseJobDefault) Error

func (o *UnpauseJobDefault) Error() string

func (*UnpauseJobDefault) GetPayload

func (o *UnpauseJobDefault) GetPayload() *models.ErrorPayload

type UnpauseJobForbidden

type UnpauseJobForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

UnpauseJobForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewUnpauseJobForbidden

func NewUnpauseJobForbidden() *UnpauseJobForbidden

NewUnpauseJobForbidden creates a UnpauseJobForbidden with default headers values

func (*UnpauseJobForbidden) Error

func (o *UnpauseJobForbidden) Error() string

func (*UnpauseJobForbidden) GetPayload

func (o *UnpauseJobForbidden) GetPayload() *models.ErrorPayload

type UnpauseJobNoContent

type UnpauseJobNoContent struct {
}

UnpauseJobNoContent handles this case with default header values.

Job has been unpause.

func NewUnpauseJobNoContent

func NewUnpauseJobNoContent() *UnpauseJobNoContent

NewUnpauseJobNoContent creates a UnpauseJobNoContent with default headers values

func (*UnpauseJobNoContent) Error

func (o *UnpauseJobNoContent) Error() string

type UnpauseJobNotFound

type UnpauseJobNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

UnpauseJobNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewUnpauseJobNotFound

func NewUnpauseJobNotFound() *UnpauseJobNotFound

NewUnpauseJobNotFound creates a UnpauseJobNotFound with default headers values

func (*UnpauseJobNotFound) Error

func (o *UnpauseJobNotFound) Error() string

func (*UnpauseJobNotFound) GetPayload

func (o *UnpauseJobNotFound) GetPayload() *models.ErrorPayload

type UnpauseJobParams

type UnpauseJobParams struct {

	/*InpathPipelineName
	  A pipeline name

	*/
	InpathPipelineName string
	/*JobName
	  A job name

	*/
	JobName string
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*ProjectCanonical
	  A canonical of a project.

	*/
	ProjectCanonical string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UnpauseJobParams contains all the parameters to send to the API endpoint for the unpause job operation typically these are written to a http.Request

func NewUnpauseJobParams

func NewUnpauseJobParams() *UnpauseJobParams

NewUnpauseJobParams creates a new UnpauseJobParams object with the default values initialized.

func NewUnpauseJobParamsWithContext

func NewUnpauseJobParamsWithContext(ctx context.Context) *UnpauseJobParams

NewUnpauseJobParamsWithContext creates a new UnpauseJobParams object with the default values initialized, and the ability to set a context for a request

func NewUnpauseJobParamsWithHTTPClient

func NewUnpauseJobParamsWithHTTPClient(client *http.Client) *UnpauseJobParams

NewUnpauseJobParamsWithHTTPClient creates a new UnpauseJobParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUnpauseJobParamsWithTimeout

func NewUnpauseJobParamsWithTimeout(timeout time.Duration) *UnpauseJobParams

NewUnpauseJobParamsWithTimeout creates a new UnpauseJobParams object with the default values initialized, and the ability to set a timeout on a request

func (*UnpauseJobParams) SetContext

func (o *UnpauseJobParams) SetContext(ctx context.Context)

SetContext adds the context to the unpause job params

func (*UnpauseJobParams) SetHTTPClient

func (o *UnpauseJobParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the unpause job params

func (*UnpauseJobParams) SetInpathPipelineName

func (o *UnpauseJobParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the unpause job params

func (*UnpauseJobParams) SetJobName

func (o *UnpauseJobParams) SetJobName(jobName string)

SetJobName adds the jobName to the unpause job params

func (*UnpauseJobParams) SetOrganizationCanonical

func (o *UnpauseJobParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the unpause job params

func (*UnpauseJobParams) SetProjectCanonical

func (o *UnpauseJobParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the unpause job params

func (*UnpauseJobParams) SetTimeout

func (o *UnpauseJobParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the unpause job params

func (*UnpauseJobParams) WithContext

func (o *UnpauseJobParams) WithContext(ctx context.Context) *UnpauseJobParams

WithContext adds the context to the unpause job params

func (*UnpauseJobParams) WithHTTPClient

func (o *UnpauseJobParams) WithHTTPClient(client *http.Client) *UnpauseJobParams

WithHTTPClient adds the HTTPClient to the unpause job params

func (*UnpauseJobParams) WithInpathPipelineName

func (o *UnpauseJobParams) WithInpathPipelineName(inpathPipelineName string) *UnpauseJobParams

WithInpathPipelineName adds the inpathPipelineName to the unpause job params

func (*UnpauseJobParams) WithJobName

func (o *UnpauseJobParams) WithJobName(jobName string) *UnpauseJobParams

WithJobName adds the jobName to the unpause job params

func (*UnpauseJobParams) WithOrganizationCanonical

func (o *UnpauseJobParams) WithOrganizationCanonical(organizationCanonical string) *UnpauseJobParams

WithOrganizationCanonical adds the organizationCanonical to the unpause job params

func (*UnpauseJobParams) WithProjectCanonical

func (o *UnpauseJobParams) WithProjectCanonical(projectCanonical string) *UnpauseJobParams

WithProjectCanonical adds the projectCanonical to the unpause job params

func (*UnpauseJobParams) WithTimeout

func (o *UnpauseJobParams) WithTimeout(timeout time.Duration) *UnpauseJobParams

WithTimeout adds the timeout to the unpause job params

func (*UnpauseJobParams) WriteToRequest

func (o *UnpauseJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UnpauseJobReader

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

UnpauseJobReader is a Reader for the UnpauseJob structure.

func (*UnpauseJobReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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