organization_pipelines_jobs_build

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 AbortBuildDefault

type AbortBuildDefault struct {

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

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

AbortBuildDefault handles this case with default header values.

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

func NewAbortBuildDefault

func NewAbortBuildDefault(code int) *AbortBuildDefault

NewAbortBuildDefault creates a AbortBuildDefault with default headers values

func (*AbortBuildDefault) Code

func (o *AbortBuildDefault) Code() int

Code gets the status code for the abort build default response

func (*AbortBuildDefault) Error

func (o *AbortBuildDefault) Error() string

func (*AbortBuildDefault) GetPayload

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

type AbortBuildForbidden

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

	Payload *models.ErrorPayload
}

AbortBuildForbidden handles this case with default header values.

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

func NewAbortBuildForbidden

func NewAbortBuildForbidden() *AbortBuildForbidden

NewAbortBuildForbidden creates a AbortBuildForbidden with default headers values

func (*AbortBuildForbidden) Error

func (o *AbortBuildForbidden) Error() string

func (*AbortBuildForbidden) GetPayload

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

type AbortBuildNoContent

type AbortBuildNoContent struct {
}

AbortBuildNoContent handles this case with default header values.

The build has been aborted.

func NewAbortBuildNoContent

func NewAbortBuildNoContent() *AbortBuildNoContent

NewAbortBuildNoContent creates a AbortBuildNoContent with default headers values

func (*AbortBuildNoContent) Error

func (o *AbortBuildNoContent) Error() string

type AbortBuildNotFound

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

	Payload *models.ErrorPayload
}

AbortBuildNotFound handles this case with default header values.

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

func NewAbortBuildNotFound

func NewAbortBuildNotFound() *AbortBuildNotFound

NewAbortBuildNotFound creates a AbortBuildNotFound with default headers values

func (*AbortBuildNotFound) Error

func (o *AbortBuildNotFound) Error() string

func (*AbortBuildNotFound) GetPayload

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

type AbortBuildParams

type AbortBuildParams struct {

	/*BuildID
	  A build id

	*/
	BuildID 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

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

AbortBuildParams contains all the parameters to send to the API endpoint for the abort build operation typically these are written to a http.Request

func NewAbortBuildParams

func NewAbortBuildParams() *AbortBuildParams

NewAbortBuildParams creates a new AbortBuildParams object with the default values initialized.

func NewAbortBuildParamsWithContext

func NewAbortBuildParamsWithContext(ctx context.Context) *AbortBuildParams

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

func NewAbortBuildParamsWithHTTPClient

func NewAbortBuildParamsWithHTTPClient(client *http.Client) *AbortBuildParams

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

func NewAbortBuildParamsWithTimeout

func NewAbortBuildParamsWithTimeout(timeout time.Duration) *AbortBuildParams

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

func (*AbortBuildParams) SetBuildID

func (o *AbortBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the abort build params

func (*AbortBuildParams) SetContext

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

SetContext adds the context to the abort build params

func (*AbortBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the abort build params

func (*AbortBuildParams) SetInpathPipelineName

func (o *AbortBuildParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the abort build params

func (*AbortBuildParams) SetJobName

func (o *AbortBuildParams) SetJobName(jobName string)

SetJobName adds the jobName to the abort build params

func (*AbortBuildParams) SetOrganizationCanonical

func (o *AbortBuildParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the abort build params

func (*AbortBuildParams) SetProjectCanonical

func (o *AbortBuildParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the abort build params

func (*AbortBuildParams) SetTimeout

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

SetTimeout adds the timeout to the abort build params

func (*AbortBuildParams) WithBuildID

func (o *AbortBuildParams) WithBuildID(buildID string) *AbortBuildParams

WithBuildID adds the buildID to the abort build params

func (*AbortBuildParams) WithContext

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

WithContext adds the context to the abort build params

func (*AbortBuildParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the abort build params

func (*AbortBuildParams) WithInpathPipelineName

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

WithInpathPipelineName adds the inpathPipelineName to the abort build params

func (*AbortBuildParams) WithJobName

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

WithJobName adds the jobName to the abort build params

func (*AbortBuildParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the abort build params

func (*AbortBuildParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the abort build params

func (*AbortBuildParams) WithTimeout

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

WithTimeout adds the timeout to the abort build params

func (*AbortBuildParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AbortBuildReader

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

AbortBuildReader is a Reader for the AbortBuild structure.

func (*AbortBuildReader) ReadResponse

func (o *AbortBuildReader) 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 build API

func New

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

New creates a new organization pipelines jobs build API client.

func (*Client) AbortBuild

func (a *Client) AbortBuild(params *AbortBuildParams, authInfo runtime.ClientAuthInfoWriter) (*AbortBuildNoContent, error)

AbortBuild Abort a specific build.

func (*Client) CreateBuild

func (a *Client) CreateBuild(params *CreateBuildParams, authInfo runtime.ClientAuthInfoWriter) (*CreateBuildOK, error)

CreateBuild Create a new build for the job

func (*Client) GetBuild

func (a *Client) GetBuild(params *GetBuildParams, authInfo runtime.ClientAuthInfoWriter) (*GetBuildOK, error)

GetBuild Get the information of the build.

func (*Client) GetBuildEvents

func (a *Client) GetBuildEvents(params *GetBuildEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetBuildEventsOK, error)

GetBuildEvents Get the events of a build.

func (*Client) GetBuildPlan

func (a *Client) GetBuildPlan(params *GetBuildPlanParams, authInfo runtime.ClientAuthInfoWriter) (*GetBuildPlanOK, error)

GetBuildPlan Get the plan of the build.

func (*Client) GetBuildPreparation

func (a *Client) GetBuildPreparation(params *GetBuildPreparationParams, authInfo runtime.ClientAuthInfoWriter) (*GetBuildPreparationOK, error)

GetBuildPreparation Get the preparation of the Build.

func (*Client) GetBuildResources

func (a *Client) GetBuildResources(params *GetBuildResourcesParams, authInfo runtime.ClientAuthInfoWriter) (*GetBuildResourcesOK, error)

GetBuildResources Get the resources of the build.

func (*Client) GetBuilds

func (a *Client) GetBuilds(params *GetBuildsParams, authInfo runtime.ClientAuthInfoWriter) (*GetBuildsOK, error)

GetBuilds Get the pipeline job's builds that the authenticated user has access to.

func (*Client) RerunBuild added in v1.0.58

func (a *Client) RerunBuild(params *RerunBuildParams, authInfo runtime.ClientAuthInfoWriter) (*RerunBuildOK, error)

RerunBuild Reruns a specific build.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateBuildDefault

type CreateBuildDefault struct {

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

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

CreateBuildDefault handles this case with default header values.

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

func NewCreateBuildDefault

func NewCreateBuildDefault(code int) *CreateBuildDefault

NewCreateBuildDefault creates a CreateBuildDefault with default headers values

func (*CreateBuildDefault) Code

func (o *CreateBuildDefault) Code() int

Code gets the status code for the create build default response

func (*CreateBuildDefault) Error

func (o *CreateBuildDefault) Error() string

func (*CreateBuildDefault) GetPayload

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

type CreateBuildForbidden

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

	Payload *models.ErrorPayload
}

CreateBuildForbidden handles this case with default header values.

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

func NewCreateBuildForbidden

func NewCreateBuildForbidden() *CreateBuildForbidden

NewCreateBuildForbidden creates a CreateBuildForbidden with default headers values

func (*CreateBuildForbidden) Error

func (o *CreateBuildForbidden) Error() string

func (*CreateBuildForbidden) GetPayload

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

type CreateBuildNotFound

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

	Payload *models.ErrorPayload
}

CreateBuildNotFound handles this case with default header values.

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

func NewCreateBuildNotFound

func NewCreateBuildNotFound() *CreateBuildNotFound

NewCreateBuildNotFound creates a CreateBuildNotFound with default headers values

func (*CreateBuildNotFound) Error

func (o *CreateBuildNotFound) Error() string

func (*CreateBuildNotFound) GetPayload

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

type CreateBuildOK

type CreateBuildOK struct {
	Payload *CreateBuildOKBody
}

CreateBuildOK handles this case with default header values.

Create a new build for the pipeline's job and returns its details

func NewCreateBuildOK

func NewCreateBuildOK() *CreateBuildOK

NewCreateBuildOK creates a CreateBuildOK with default headers values

func (*CreateBuildOK) Error

func (o *CreateBuildOK) Error() string

func (*CreateBuildOK) GetPayload

func (o *CreateBuildOK) GetPayload() *CreateBuildOKBody

type CreateBuildOKBody

type CreateBuildOKBody struct {

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

CreateBuildOKBody create build o k body swagger:model CreateBuildOKBody

func (*CreateBuildOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateBuildOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateBuildOKBody) Validate

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

Validate validates this create build o k body

type CreateBuildParams

type CreateBuildParams 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
}

CreateBuildParams contains all the parameters to send to the API endpoint for the create build operation typically these are written to a http.Request

func NewCreateBuildParams

func NewCreateBuildParams() *CreateBuildParams

NewCreateBuildParams creates a new CreateBuildParams object with the default values initialized.

func NewCreateBuildParamsWithContext

func NewCreateBuildParamsWithContext(ctx context.Context) *CreateBuildParams

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

func NewCreateBuildParamsWithHTTPClient

func NewCreateBuildParamsWithHTTPClient(client *http.Client) *CreateBuildParams

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

func NewCreateBuildParamsWithTimeout

func NewCreateBuildParamsWithTimeout(timeout time.Duration) *CreateBuildParams

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

func (*CreateBuildParams) SetContext

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

SetContext adds the context to the create build params

func (*CreateBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create build params

func (*CreateBuildParams) SetInpathPipelineName

func (o *CreateBuildParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the create build params

func (*CreateBuildParams) SetJobName

func (o *CreateBuildParams) SetJobName(jobName string)

SetJobName adds the jobName to the create build params

func (*CreateBuildParams) SetOrganizationCanonical

func (o *CreateBuildParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the create build params

func (*CreateBuildParams) SetProjectCanonical

func (o *CreateBuildParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the create build params

func (*CreateBuildParams) SetTimeout

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

SetTimeout adds the timeout to the create build params

func (*CreateBuildParams) WithContext

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

WithContext adds the context to the create build params

func (*CreateBuildParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create build params

func (*CreateBuildParams) WithInpathPipelineName

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

WithInpathPipelineName adds the inpathPipelineName to the create build params

func (*CreateBuildParams) WithJobName

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

WithJobName adds the jobName to the create build params

func (*CreateBuildParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the create build params

func (*CreateBuildParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the create build params

func (*CreateBuildParams) WithTimeout

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

WithTimeout adds the timeout to the create build params

func (*CreateBuildParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateBuildReader

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

CreateBuildReader is a Reader for the CreateBuild structure.

func (*CreateBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBuildDefault

type GetBuildDefault struct {

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

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

GetBuildDefault handles this case with default header values.

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

func NewGetBuildDefault

func NewGetBuildDefault(code int) *GetBuildDefault

NewGetBuildDefault creates a GetBuildDefault with default headers values

func (*GetBuildDefault) Code

func (o *GetBuildDefault) Code() int

Code gets the status code for the get build default response

func (*GetBuildDefault) Error

func (o *GetBuildDefault) Error() string

func (*GetBuildDefault) GetPayload

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

type GetBuildEventsDefault

type GetBuildEventsDefault struct {

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

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

GetBuildEventsDefault handles this case with default header values.

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

func NewGetBuildEventsDefault

func NewGetBuildEventsDefault(code int) *GetBuildEventsDefault

NewGetBuildEventsDefault creates a GetBuildEventsDefault with default headers values

func (*GetBuildEventsDefault) Code

func (o *GetBuildEventsDefault) Code() int

Code gets the status code for the get build events default response

func (*GetBuildEventsDefault) Error

func (o *GetBuildEventsDefault) Error() string

func (*GetBuildEventsDefault) GetPayload

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

type GetBuildEventsForbidden

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

	Payload *models.ErrorPayload
}

GetBuildEventsForbidden handles this case with default header values.

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

func NewGetBuildEventsForbidden

func NewGetBuildEventsForbidden() *GetBuildEventsForbidden

NewGetBuildEventsForbidden creates a GetBuildEventsForbidden with default headers values

func (*GetBuildEventsForbidden) Error

func (o *GetBuildEventsForbidden) Error() string

func (*GetBuildEventsForbidden) GetPayload

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

type GetBuildEventsNotFound

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

	Payload *models.ErrorPayload
}

GetBuildEventsNotFound handles this case with default header values.

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

func NewGetBuildEventsNotFound

func NewGetBuildEventsNotFound() *GetBuildEventsNotFound

NewGetBuildEventsNotFound creates a GetBuildEventsNotFound with default headers values

func (*GetBuildEventsNotFound) Error

func (o *GetBuildEventsNotFound) Error() string

func (*GetBuildEventsNotFound) GetPayload

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

type GetBuildEventsOK

type GetBuildEventsOK struct {
	ContentType string
}

GetBuildEventsOK handles this case with default header values.

Stream is starting

func NewGetBuildEventsOK

func NewGetBuildEventsOK() *GetBuildEventsOK

NewGetBuildEventsOK creates a GetBuildEventsOK with default headers values

func (*GetBuildEventsOK) Error

func (o *GetBuildEventsOK) Error() string

type GetBuildEventsParams

type GetBuildEventsParams struct {

	/*BuildID
	  A build id

	*/
	BuildID 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

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

GetBuildEventsParams contains all the parameters to send to the API endpoint for the get build events operation typically these are written to a http.Request

func NewGetBuildEventsParams

func NewGetBuildEventsParams() *GetBuildEventsParams

NewGetBuildEventsParams creates a new GetBuildEventsParams object with the default values initialized.

func NewGetBuildEventsParamsWithContext

func NewGetBuildEventsParamsWithContext(ctx context.Context) *GetBuildEventsParams

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

func NewGetBuildEventsParamsWithHTTPClient

func NewGetBuildEventsParamsWithHTTPClient(client *http.Client) *GetBuildEventsParams

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

func NewGetBuildEventsParamsWithTimeout

func NewGetBuildEventsParamsWithTimeout(timeout time.Duration) *GetBuildEventsParams

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

func (*GetBuildEventsParams) SetBuildID

func (o *GetBuildEventsParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the get build events params

func (*GetBuildEventsParams) SetContext

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

SetContext adds the context to the get build events params

func (*GetBuildEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get build events params

func (*GetBuildEventsParams) SetInpathPipelineName

func (o *GetBuildEventsParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the get build events params

func (*GetBuildEventsParams) SetJobName

func (o *GetBuildEventsParams) SetJobName(jobName string)

SetJobName adds the jobName to the get build events params

func (*GetBuildEventsParams) SetOrganizationCanonical

func (o *GetBuildEventsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get build events params

func (*GetBuildEventsParams) SetProjectCanonical

func (o *GetBuildEventsParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get build events params

func (*GetBuildEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get build events params

func (*GetBuildEventsParams) WithBuildID

func (o *GetBuildEventsParams) WithBuildID(buildID string) *GetBuildEventsParams

WithBuildID adds the buildID to the get build events params

func (*GetBuildEventsParams) WithContext

WithContext adds the context to the get build events params

func (*GetBuildEventsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get build events params

func (*GetBuildEventsParams) WithInpathPipelineName

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

WithInpathPipelineName adds the inpathPipelineName to the get build events params

func (*GetBuildEventsParams) WithJobName

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

WithJobName adds the jobName to the get build events params

func (*GetBuildEventsParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get build events params

func (*GetBuildEventsParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get build events params

func (*GetBuildEventsParams) WithTimeout

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

WithTimeout adds the timeout to the get build events params

func (*GetBuildEventsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBuildEventsReader

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

GetBuildEventsReader is a Reader for the GetBuildEvents structure.

func (*GetBuildEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBuildForbidden

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

	Payload *models.ErrorPayload
}

GetBuildForbidden handles this case with default header values.

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

func NewGetBuildForbidden

func NewGetBuildForbidden() *GetBuildForbidden

NewGetBuildForbidden creates a GetBuildForbidden with default headers values

func (*GetBuildForbidden) Error

func (o *GetBuildForbidden) Error() string

func (*GetBuildForbidden) GetPayload

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

type GetBuildNotFound

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

	Payload *models.ErrorPayload
}

GetBuildNotFound handles this case with default header values.

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

func NewGetBuildNotFound

func NewGetBuildNotFound() *GetBuildNotFound

NewGetBuildNotFound creates a GetBuildNotFound with default headers values

func (*GetBuildNotFound) Error

func (o *GetBuildNotFound) Error() string

func (*GetBuildNotFound) GetPayload

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

type GetBuildOK

type GetBuildOK struct {
	Payload *GetBuildOKBody
}

GetBuildOK handles this case with default header values.

The information of the build which has the specified id.

func NewGetBuildOK

func NewGetBuildOK() *GetBuildOK

NewGetBuildOK creates a GetBuildOK with default headers values

func (*GetBuildOK) Error

func (o *GetBuildOK) Error() string

func (*GetBuildOK) GetPayload

func (o *GetBuildOK) GetPayload() *GetBuildOKBody

type GetBuildOKBody

type GetBuildOKBody struct {

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

GetBuildOKBody get build o k body swagger:model GetBuildOKBody

func (*GetBuildOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetBuildOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetBuildOKBody) Validate

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

Validate validates this get build o k body

type GetBuildParams

type GetBuildParams struct {

	/*BuildID
	  A build id

	*/
	BuildID 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

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

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

func NewGetBuildParams

func NewGetBuildParams() *GetBuildParams

NewGetBuildParams creates a new GetBuildParams object with the default values initialized.

func NewGetBuildParamsWithContext

func NewGetBuildParamsWithContext(ctx context.Context) *GetBuildParams

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

func NewGetBuildParamsWithHTTPClient

func NewGetBuildParamsWithHTTPClient(client *http.Client) *GetBuildParams

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

func NewGetBuildParamsWithTimeout

func NewGetBuildParamsWithTimeout(timeout time.Duration) *GetBuildParams

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

func (*GetBuildParams) SetBuildID

func (o *GetBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the get build params

func (*GetBuildParams) SetContext

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

SetContext adds the context to the get build params

func (*GetBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get build params

func (*GetBuildParams) SetInpathPipelineName

func (o *GetBuildParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the get build params

func (*GetBuildParams) SetJobName

func (o *GetBuildParams) SetJobName(jobName string)

SetJobName adds the jobName to the get build params

func (*GetBuildParams) SetOrganizationCanonical

func (o *GetBuildParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get build params

func (*GetBuildParams) SetProjectCanonical

func (o *GetBuildParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get build params

func (*GetBuildParams) SetTimeout

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

SetTimeout adds the timeout to the get build params

func (*GetBuildParams) WithBuildID

func (o *GetBuildParams) WithBuildID(buildID string) *GetBuildParams

WithBuildID adds the buildID to the get build params

func (*GetBuildParams) WithContext

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

WithContext adds the context to the get build params

func (*GetBuildParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get build params

func (*GetBuildParams) WithInpathPipelineName

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

WithInpathPipelineName adds the inpathPipelineName to the get build params

func (*GetBuildParams) WithJobName

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

WithJobName adds the jobName to the get build params

func (*GetBuildParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get build params

func (*GetBuildParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get build params

func (*GetBuildParams) WithTimeout

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

WithTimeout adds the timeout to the get build params

func (*GetBuildParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBuildPlanDefault

type GetBuildPlanDefault struct {

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

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

GetBuildPlanDefault handles this case with default header values.

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

func NewGetBuildPlanDefault

func NewGetBuildPlanDefault(code int) *GetBuildPlanDefault

NewGetBuildPlanDefault creates a GetBuildPlanDefault with default headers values

func (*GetBuildPlanDefault) Code

func (o *GetBuildPlanDefault) Code() int

Code gets the status code for the get build plan default response

func (*GetBuildPlanDefault) Error

func (o *GetBuildPlanDefault) Error() string

func (*GetBuildPlanDefault) GetPayload

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

type GetBuildPlanForbidden

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

	Payload *models.ErrorPayload
}

GetBuildPlanForbidden handles this case with default header values.

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

func NewGetBuildPlanForbidden

func NewGetBuildPlanForbidden() *GetBuildPlanForbidden

NewGetBuildPlanForbidden creates a GetBuildPlanForbidden with default headers values

func (*GetBuildPlanForbidden) Error

func (o *GetBuildPlanForbidden) Error() string

func (*GetBuildPlanForbidden) GetPayload

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

type GetBuildPlanNotFound

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

	Payload *models.ErrorPayload
}

GetBuildPlanNotFound handles this case with default header values.

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

func NewGetBuildPlanNotFound

func NewGetBuildPlanNotFound() *GetBuildPlanNotFound

NewGetBuildPlanNotFound creates a GetBuildPlanNotFound with default headers values

func (*GetBuildPlanNotFound) Error

func (o *GetBuildPlanNotFound) Error() string

func (*GetBuildPlanNotFound) GetPayload

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

type GetBuildPlanOK

type GetBuildPlanOK struct {
	Payload *GetBuildPlanOKBody
}

GetBuildPlanOK handles this case with default header values.

The information of the build's plan which has the specified id.

func NewGetBuildPlanOK

func NewGetBuildPlanOK() *GetBuildPlanOK

NewGetBuildPlanOK creates a GetBuildPlanOK with default headers values

func (*GetBuildPlanOK) Error

func (o *GetBuildPlanOK) Error() string

func (*GetBuildPlanOK) GetPayload

func (o *GetBuildPlanOK) GetPayload() *GetBuildPlanOKBody

type GetBuildPlanOKBody

type GetBuildPlanOKBody struct {

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

GetBuildPlanOKBody get build plan o k body swagger:model GetBuildPlanOKBody

func (*GetBuildPlanOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetBuildPlanOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetBuildPlanOKBody) Validate

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

Validate validates this get build plan o k body

type GetBuildPlanParams

type GetBuildPlanParams struct {

	/*BuildID
	  A build id

	*/
	BuildID 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

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

GetBuildPlanParams contains all the parameters to send to the API endpoint for the get build plan operation typically these are written to a http.Request

func NewGetBuildPlanParams

func NewGetBuildPlanParams() *GetBuildPlanParams

NewGetBuildPlanParams creates a new GetBuildPlanParams object with the default values initialized.

func NewGetBuildPlanParamsWithContext

func NewGetBuildPlanParamsWithContext(ctx context.Context) *GetBuildPlanParams

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

func NewGetBuildPlanParamsWithHTTPClient

func NewGetBuildPlanParamsWithHTTPClient(client *http.Client) *GetBuildPlanParams

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

func NewGetBuildPlanParamsWithTimeout

func NewGetBuildPlanParamsWithTimeout(timeout time.Duration) *GetBuildPlanParams

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

func (*GetBuildPlanParams) SetBuildID

func (o *GetBuildPlanParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the get build plan params

func (*GetBuildPlanParams) SetContext

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

SetContext adds the context to the get build plan params

func (*GetBuildPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get build plan params

func (*GetBuildPlanParams) SetInpathPipelineName

func (o *GetBuildPlanParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the get build plan params

func (*GetBuildPlanParams) SetJobName

func (o *GetBuildPlanParams) SetJobName(jobName string)

SetJobName adds the jobName to the get build plan params

func (*GetBuildPlanParams) SetOrganizationCanonical

func (o *GetBuildPlanParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get build plan params

func (*GetBuildPlanParams) SetProjectCanonical

func (o *GetBuildPlanParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get build plan params

func (*GetBuildPlanParams) SetTimeout

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

SetTimeout adds the timeout to the get build plan params

func (*GetBuildPlanParams) WithBuildID

func (o *GetBuildPlanParams) WithBuildID(buildID string) *GetBuildPlanParams

WithBuildID adds the buildID to the get build plan params

func (*GetBuildPlanParams) WithContext

WithContext adds the context to the get build plan params

func (*GetBuildPlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get build plan params

func (*GetBuildPlanParams) WithInpathPipelineName

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

WithInpathPipelineName adds the inpathPipelineName to the get build plan params

func (*GetBuildPlanParams) WithJobName

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

WithJobName adds the jobName to the get build plan params

func (*GetBuildPlanParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get build plan params

func (*GetBuildPlanParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get build plan params

func (*GetBuildPlanParams) WithTimeout

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

WithTimeout adds the timeout to the get build plan params

func (*GetBuildPlanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBuildPlanReader

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

GetBuildPlanReader is a Reader for the GetBuildPlan structure.

func (*GetBuildPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBuildPreparationDefault

type GetBuildPreparationDefault struct {

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

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

GetBuildPreparationDefault handles this case with default header values.

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

func NewGetBuildPreparationDefault

func NewGetBuildPreparationDefault(code int) *GetBuildPreparationDefault

NewGetBuildPreparationDefault creates a GetBuildPreparationDefault with default headers values

func (*GetBuildPreparationDefault) Code

func (o *GetBuildPreparationDefault) Code() int

Code gets the status code for the get build preparation default response

func (*GetBuildPreparationDefault) Error

func (*GetBuildPreparationDefault) GetPayload

type GetBuildPreparationForbidden

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

	Payload *models.ErrorPayload
}

GetBuildPreparationForbidden handles this case with default header values.

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

func NewGetBuildPreparationForbidden

func NewGetBuildPreparationForbidden() *GetBuildPreparationForbidden

NewGetBuildPreparationForbidden creates a GetBuildPreparationForbidden with default headers values

func (*GetBuildPreparationForbidden) Error

func (*GetBuildPreparationForbidden) GetPayload

type GetBuildPreparationNotFound

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

	Payload *models.ErrorPayload
}

GetBuildPreparationNotFound handles this case with default header values.

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

func NewGetBuildPreparationNotFound

func NewGetBuildPreparationNotFound() *GetBuildPreparationNotFound

NewGetBuildPreparationNotFound creates a GetBuildPreparationNotFound with default headers values

func (*GetBuildPreparationNotFound) Error

func (*GetBuildPreparationNotFound) GetPayload

type GetBuildPreparationOK

type GetBuildPreparationOK struct {
	Payload *GetBuildPreparationOKBody
}

GetBuildPreparationOK handles this case with default header values.

Return the Preparation

func NewGetBuildPreparationOK

func NewGetBuildPreparationOK() *GetBuildPreparationOK

NewGetBuildPreparationOK creates a GetBuildPreparationOK with default headers values

func (*GetBuildPreparationOK) Error

func (o *GetBuildPreparationOK) Error() string

func (*GetBuildPreparationOK) GetPayload

type GetBuildPreparationOKBody

type GetBuildPreparationOKBody struct {

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

GetBuildPreparationOKBody get build preparation o k body swagger:model GetBuildPreparationOKBody

func (*GetBuildPreparationOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetBuildPreparationOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetBuildPreparationOKBody) Validate

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

Validate validates this get build preparation o k body

type GetBuildPreparationParams

type GetBuildPreparationParams struct {

	/*BuildID
	  A build id

	*/
	BuildID 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

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

GetBuildPreparationParams contains all the parameters to send to the API endpoint for the get build preparation operation typically these are written to a http.Request

func NewGetBuildPreparationParams

func NewGetBuildPreparationParams() *GetBuildPreparationParams

NewGetBuildPreparationParams creates a new GetBuildPreparationParams object with the default values initialized.

func NewGetBuildPreparationParamsWithContext

func NewGetBuildPreparationParamsWithContext(ctx context.Context) *GetBuildPreparationParams

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

func NewGetBuildPreparationParamsWithHTTPClient

func NewGetBuildPreparationParamsWithHTTPClient(client *http.Client) *GetBuildPreparationParams

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

func NewGetBuildPreparationParamsWithTimeout

func NewGetBuildPreparationParamsWithTimeout(timeout time.Duration) *GetBuildPreparationParams

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

func (*GetBuildPreparationParams) SetBuildID

func (o *GetBuildPreparationParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the get build preparation params

func (*GetBuildPreparationParams) SetContext

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

SetContext adds the context to the get build preparation params

func (*GetBuildPreparationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get build preparation params

func (*GetBuildPreparationParams) SetInpathPipelineName

func (o *GetBuildPreparationParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the get build preparation params

func (*GetBuildPreparationParams) SetJobName

func (o *GetBuildPreparationParams) SetJobName(jobName string)

SetJobName adds the jobName to the get build preparation params

func (*GetBuildPreparationParams) SetOrganizationCanonical

func (o *GetBuildPreparationParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get build preparation params

func (*GetBuildPreparationParams) SetProjectCanonical

func (o *GetBuildPreparationParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get build preparation params

func (*GetBuildPreparationParams) SetTimeout

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

SetTimeout adds the timeout to the get build preparation params

func (*GetBuildPreparationParams) WithBuildID

WithBuildID adds the buildID to the get build preparation params

func (*GetBuildPreparationParams) WithContext

WithContext adds the context to the get build preparation params

func (*GetBuildPreparationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get build preparation params

func (*GetBuildPreparationParams) WithInpathPipelineName

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

WithInpathPipelineName adds the inpathPipelineName to the get build preparation params

func (*GetBuildPreparationParams) WithJobName

WithJobName adds the jobName to the get build preparation params

func (*GetBuildPreparationParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get build preparation params

func (*GetBuildPreparationParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get build preparation params

func (*GetBuildPreparationParams) WithTimeout

WithTimeout adds the timeout to the get build preparation params

func (*GetBuildPreparationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBuildPreparationReader

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

GetBuildPreparationReader is a Reader for the GetBuildPreparation structure.

func (*GetBuildPreparationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBuildReader

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

GetBuildReader is a Reader for the GetBuild structure.

func (*GetBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBuildResourcesDefault

type GetBuildResourcesDefault struct {

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

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

GetBuildResourcesDefault handles this case with default header values.

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

func NewGetBuildResourcesDefault

func NewGetBuildResourcesDefault(code int) *GetBuildResourcesDefault

NewGetBuildResourcesDefault creates a GetBuildResourcesDefault with default headers values

func (*GetBuildResourcesDefault) Code

func (o *GetBuildResourcesDefault) Code() int

Code gets the status code for the get build resources default response

func (*GetBuildResourcesDefault) Error

func (o *GetBuildResourcesDefault) Error() string

func (*GetBuildResourcesDefault) GetPayload

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

type GetBuildResourcesForbidden

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

	Payload *models.ErrorPayload
}

GetBuildResourcesForbidden handles this case with default header values.

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

func NewGetBuildResourcesForbidden

func NewGetBuildResourcesForbidden() *GetBuildResourcesForbidden

NewGetBuildResourcesForbidden creates a GetBuildResourcesForbidden with default headers values

func (*GetBuildResourcesForbidden) Error

func (*GetBuildResourcesForbidden) GetPayload

type GetBuildResourcesNotFound

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

	Payload *models.ErrorPayload
}

GetBuildResourcesNotFound handles this case with default header values.

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

func NewGetBuildResourcesNotFound

func NewGetBuildResourcesNotFound() *GetBuildResourcesNotFound

NewGetBuildResourcesNotFound creates a GetBuildResourcesNotFound with default headers values

func (*GetBuildResourcesNotFound) Error

func (o *GetBuildResourcesNotFound) Error() string

func (*GetBuildResourcesNotFound) GetPayload

type GetBuildResourcesOK

type GetBuildResourcesOK struct {
	Payload *GetBuildResourcesOKBody
}

GetBuildResourcesOK handles this case with default header values.

The resources of the build's which has the specified id.

func NewGetBuildResourcesOK

func NewGetBuildResourcesOK() *GetBuildResourcesOK

NewGetBuildResourcesOK creates a GetBuildResourcesOK with default headers values

func (*GetBuildResourcesOK) Error

func (o *GetBuildResourcesOK) Error() string

func (*GetBuildResourcesOK) GetPayload

type GetBuildResourcesOKBody

type GetBuildResourcesOKBody struct {

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

GetBuildResourcesOKBody get build resources o k body swagger:model GetBuildResourcesOKBody

func (*GetBuildResourcesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetBuildResourcesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetBuildResourcesOKBody) Validate

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

Validate validates this get build resources o k body

type GetBuildResourcesParams

type GetBuildResourcesParams struct {

	/*BuildID
	  A build id

	*/
	BuildID string
	/*InpathPipelineName
	  A pipeline name

	*/
	InpathPipelineName string
	/*JobName
	  A job name

	*/
	JobName 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
}

GetBuildResourcesParams contains all the parameters to send to the API endpoint for the get build resources operation typically these are written to a http.Request

func NewGetBuildResourcesParams

func NewGetBuildResourcesParams() *GetBuildResourcesParams

NewGetBuildResourcesParams creates a new GetBuildResourcesParams object with the default values initialized.

func NewGetBuildResourcesParamsWithContext

func NewGetBuildResourcesParamsWithContext(ctx context.Context) *GetBuildResourcesParams

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

func NewGetBuildResourcesParamsWithHTTPClient

func NewGetBuildResourcesParamsWithHTTPClient(client *http.Client) *GetBuildResourcesParams

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

func NewGetBuildResourcesParamsWithTimeout

func NewGetBuildResourcesParamsWithTimeout(timeout time.Duration) *GetBuildResourcesParams

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

func (*GetBuildResourcesParams) SetBuildID

func (o *GetBuildResourcesParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the get build resources params

func (*GetBuildResourcesParams) SetContext

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

SetContext adds the context to the get build resources params

func (*GetBuildResourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get build resources params

func (*GetBuildResourcesParams) SetInpathPipelineName

func (o *GetBuildResourcesParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the get build resources params

func (*GetBuildResourcesParams) SetJobName

func (o *GetBuildResourcesParams) SetJobName(jobName string)

SetJobName adds the jobName to the get build resources params

func (*GetBuildResourcesParams) SetOrganizationCanonical

func (o *GetBuildResourcesParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get build resources params

func (*GetBuildResourcesParams) SetPageIndex

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

SetPageIndex adds the pageIndex to the get build resources params

func (*GetBuildResourcesParams) SetPageSize

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

SetPageSize adds the pageSize to the get build resources params

func (*GetBuildResourcesParams) SetProjectCanonical

func (o *GetBuildResourcesParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get build resources params

func (*GetBuildResourcesParams) SetTimeout

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

SetTimeout adds the timeout to the get build resources params

func (*GetBuildResourcesParams) WithBuildID

func (o *GetBuildResourcesParams) WithBuildID(buildID string) *GetBuildResourcesParams

WithBuildID adds the buildID to the get build resources params

func (*GetBuildResourcesParams) WithContext

WithContext adds the context to the get build resources params

func (*GetBuildResourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get build resources params

func (*GetBuildResourcesParams) WithInpathPipelineName

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

WithInpathPipelineName adds the inpathPipelineName to the get build resources params

func (*GetBuildResourcesParams) WithJobName

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

WithJobName adds the jobName to the get build resources params

func (*GetBuildResourcesParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get build resources params

func (*GetBuildResourcesParams) WithPageIndex

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

WithPageIndex adds the pageIndex to the get build resources params

func (*GetBuildResourcesParams) WithPageSize

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

WithPageSize adds the pageSize to the get build resources params

func (*GetBuildResourcesParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get build resources params

func (*GetBuildResourcesParams) WithTimeout

WithTimeout adds the timeout to the get build resources params

func (*GetBuildResourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBuildResourcesReader

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

GetBuildResourcesReader is a Reader for the GetBuildResources structure.

func (*GetBuildResourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBuildsDefault

type GetBuildsDefault struct {

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

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

GetBuildsDefault handles this case with default header values.

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

func NewGetBuildsDefault

func NewGetBuildsDefault(code int) *GetBuildsDefault

NewGetBuildsDefault creates a GetBuildsDefault with default headers values

func (*GetBuildsDefault) Code

func (o *GetBuildsDefault) Code() int

Code gets the status code for the get builds default response

func (*GetBuildsDefault) Error

func (o *GetBuildsDefault) Error() string

func (*GetBuildsDefault) GetPayload

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

type GetBuildsForbidden

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

	Payload *models.ErrorPayload
}

GetBuildsForbidden handles this case with default header values.

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

func NewGetBuildsForbidden

func NewGetBuildsForbidden() *GetBuildsForbidden

NewGetBuildsForbidden creates a GetBuildsForbidden with default headers values

func (*GetBuildsForbidden) Error

func (o *GetBuildsForbidden) Error() string

func (*GetBuildsForbidden) GetPayload

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

type GetBuildsNotFound

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

	Payload *models.ErrorPayload
}

GetBuildsNotFound handles this case with default header values.

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

func NewGetBuildsNotFound

func NewGetBuildsNotFound() *GetBuildsNotFound

NewGetBuildsNotFound creates a GetBuildsNotFound with default headers values

func (*GetBuildsNotFound) Error

func (o *GetBuildsNotFound) Error() string

func (*GetBuildsNotFound) GetPayload

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

type GetBuildsOK

type GetBuildsOK struct {
	Payload *GetBuildsOKBody
}

GetBuildsOK handles this case with default header values.

List the pipeline job's builds which authenticated user has access to.

func NewGetBuildsOK

func NewGetBuildsOK() *GetBuildsOK

NewGetBuildsOK creates a GetBuildsOK with default headers values

func (*GetBuildsOK) Error

func (o *GetBuildsOK) Error() string

func (*GetBuildsOK) GetPayload

func (o *GetBuildsOK) GetPayload() *GetBuildsOKBody

type GetBuildsOKBody

type GetBuildsOKBody struct {

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

	// pagination concourse
	// Required: true
	PaginationConcourse *models.PaginationConcourse `json:"pagination_concourse"`
}

GetBuildsOKBody get builds o k body swagger:model GetBuildsOKBody

func (*GetBuildsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetBuildsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetBuildsOKBody) Validate

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

Validate validates this get builds o k body

type GetBuildsParams

type GetBuildsParams struct {

	/*ConcoursePageLimit
	  The number of items at most which the response can have.

	*/
	ConcoursePageLimit *uint64
	/*ConcoursePageSince
	  The time after which we should look for entities to return.

	*/
	ConcoursePageSince *uint64
	/*ConcoursePageUntil
	  The time before which we should look for entities to return.

	*/
	ConcoursePageUntil *uint64
	/*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
}

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

func NewGetBuildsParams

func NewGetBuildsParams() *GetBuildsParams

NewGetBuildsParams creates a new GetBuildsParams object with the default values initialized.

func NewGetBuildsParamsWithContext

func NewGetBuildsParamsWithContext(ctx context.Context) *GetBuildsParams

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

func NewGetBuildsParamsWithHTTPClient

func NewGetBuildsParamsWithHTTPClient(client *http.Client) *GetBuildsParams

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

func NewGetBuildsParamsWithTimeout

func NewGetBuildsParamsWithTimeout(timeout time.Duration) *GetBuildsParams

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

func (*GetBuildsParams) SetConcoursePageLimit

func (o *GetBuildsParams) SetConcoursePageLimit(concoursePageLimit *uint64)

SetConcoursePageLimit adds the concoursePageLimit to the get builds params

func (*GetBuildsParams) SetConcoursePageSince

func (o *GetBuildsParams) SetConcoursePageSince(concoursePageSince *uint64)

SetConcoursePageSince adds the concoursePageSince to the get builds params

func (*GetBuildsParams) SetConcoursePageUntil

func (o *GetBuildsParams) SetConcoursePageUntil(concoursePageUntil *uint64)

SetConcoursePageUntil adds the concoursePageUntil to the get builds params

func (*GetBuildsParams) SetContext

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

SetContext adds the context to the get builds params

func (*GetBuildsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get builds params

func (*GetBuildsParams) SetInpathPipelineName

func (o *GetBuildsParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the get builds params

func (*GetBuildsParams) SetJobName

func (o *GetBuildsParams) SetJobName(jobName string)

SetJobName adds the jobName to the get builds params

func (*GetBuildsParams) SetOrganizationCanonical

func (o *GetBuildsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get builds params

func (*GetBuildsParams) SetProjectCanonical

func (o *GetBuildsParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get builds params

func (*GetBuildsParams) SetTimeout

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

SetTimeout adds the timeout to the get builds params

func (*GetBuildsParams) WithConcoursePageLimit

func (o *GetBuildsParams) WithConcoursePageLimit(concoursePageLimit *uint64) *GetBuildsParams

WithConcoursePageLimit adds the concoursePageLimit to the get builds params

func (*GetBuildsParams) WithConcoursePageSince

func (o *GetBuildsParams) WithConcoursePageSince(concoursePageSince *uint64) *GetBuildsParams

WithConcoursePageSince adds the concoursePageSince to the get builds params

func (*GetBuildsParams) WithConcoursePageUntil

func (o *GetBuildsParams) WithConcoursePageUntil(concoursePageUntil *uint64) *GetBuildsParams

WithConcoursePageUntil adds the concoursePageUntil to the get builds params

func (*GetBuildsParams) WithContext

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

WithContext adds the context to the get builds params

func (*GetBuildsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get builds params

func (*GetBuildsParams) WithInpathPipelineName

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

WithInpathPipelineName adds the inpathPipelineName to the get builds params

func (*GetBuildsParams) WithJobName

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

WithJobName adds the jobName to the get builds params

func (*GetBuildsParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get builds params

func (*GetBuildsParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get builds params

func (*GetBuildsParams) WithTimeout

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

WithTimeout adds the timeout to the get builds params

func (*GetBuildsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBuildsReader

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

GetBuildsReader is a Reader for the GetBuilds structure.

func (*GetBuildsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBuildsUnprocessableEntity

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

	Payload *models.ErrorPayload
}

GetBuildsUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewGetBuildsUnprocessableEntity

func NewGetBuildsUnprocessableEntity() *GetBuildsUnprocessableEntity

NewGetBuildsUnprocessableEntity creates a GetBuildsUnprocessableEntity with default headers values

func (*GetBuildsUnprocessableEntity) Error

func (*GetBuildsUnprocessableEntity) GetPayload

type RerunBuildDefault added in v1.0.58

type RerunBuildDefault struct {

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

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

RerunBuildDefault handles this case with default header values.

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

func NewRerunBuildDefault added in v1.0.58

func NewRerunBuildDefault(code int) *RerunBuildDefault

NewRerunBuildDefault creates a RerunBuildDefault with default headers values

func (*RerunBuildDefault) Code added in v1.0.58

func (o *RerunBuildDefault) Code() int

Code gets the status code for the rerun build default response

func (*RerunBuildDefault) Error added in v1.0.58

func (o *RerunBuildDefault) Error() string

func (*RerunBuildDefault) GetPayload added in v1.0.58

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

type RerunBuildForbidden added in v1.0.58

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

	Payload *models.ErrorPayload
}

RerunBuildForbidden handles this case with default header values.

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

func NewRerunBuildForbidden added in v1.0.58

func NewRerunBuildForbidden() *RerunBuildForbidden

NewRerunBuildForbidden creates a RerunBuildForbidden with default headers values

func (*RerunBuildForbidden) Error added in v1.0.58

func (o *RerunBuildForbidden) Error() string

func (*RerunBuildForbidden) GetPayload added in v1.0.58

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

type RerunBuildNotFound added in v1.0.58

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

	Payload *models.ErrorPayload
}

RerunBuildNotFound handles this case with default header values.

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

func NewRerunBuildNotFound added in v1.0.58

func NewRerunBuildNotFound() *RerunBuildNotFound

NewRerunBuildNotFound creates a RerunBuildNotFound with default headers values

func (*RerunBuildNotFound) Error added in v1.0.58

func (o *RerunBuildNotFound) Error() string

func (*RerunBuildNotFound) GetPayload added in v1.0.58

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

type RerunBuildOK added in v1.0.58

type RerunBuildOK struct {
	Payload *RerunBuildOKBody
}

RerunBuildOK handles this case with default header values.

Returns the new build created from the specified build ID.

func NewRerunBuildOK added in v1.0.58

func NewRerunBuildOK() *RerunBuildOK

NewRerunBuildOK creates a RerunBuildOK with default headers values

func (*RerunBuildOK) Error added in v1.0.58

func (o *RerunBuildOK) Error() string

func (*RerunBuildOK) GetPayload added in v1.0.58

func (o *RerunBuildOK) GetPayload() *RerunBuildOKBody

type RerunBuildOKBody added in v1.0.58

type RerunBuildOKBody struct {

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

RerunBuildOKBody rerun build o k body swagger:model RerunBuildOKBody

func (*RerunBuildOKBody) MarshalBinary added in v1.0.58

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

MarshalBinary interface implementation

func (*RerunBuildOKBody) UnmarshalBinary added in v1.0.58

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

UnmarshalBinary interface implementation

func (*RerunBuildOKBody) Validate added in v1.0.58

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

Validate validates this rerun build o k body

type RerunBuildParams added in v1.0.58

type RerunBuildParams struct {

	/*BuildID
	  A build id

	*/
	BuildID 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

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

RerunBuildParams contains all the parameters to send to the API endpoint for the rerun build operation typically these are written to a http.Request

func NewRerunBuildParams added in v1.0.58

func NewRerunBuildParams() *RerunBuildParams

NewRerunBuildParams creates a new RerunBuildParams object with the default values initialized.

func NewRerunBuildParamsWithContext added in v1.0.58

func NewRerunBuildParamsWithContext(ctx context.Context) *RerunBuildParams

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

func NewRerunBuildParamsWithHTTPClient added in v1.0.58

func NewRerunBuildParamsWithHTTPClient(client *http.Client) *RerunBuildParams

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

func NewRerunBuildParamsWithTimeout added in v1.0.58

func NewRerunBuildParamsWithTimeout(timeout time.Duration) *RerunBuildParams

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

func (*RerunBuildParams) SetBuildID added in v1.0.58

func (o *RerunBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the rerun build params

func (*RerunBuildParams) SetContext added in v1.0.58

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

SetContext adds the context to the rerun build params

func (*RerunBuildParams) SetHTTPClient added in v1.0.58

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

SetHTTPClient adds the HTTPClient to the rerun build params

func (*RerunBuildParams) SetInpathPipelineName added in v1.0.58

func (o *RerunBuildParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the rerun build params

func (*RerunBuildParams) SetJobName added in v1.0.58

func (o *RerunBuildParams) SetJobName(jobName string)

SetJobName adds the jobName to the rerun build params

func (*RerunBuildParams) SetOrganizationCanonical added in v1.0.58

func (o *RerunBuildParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the rerun build params

func (*RerunBuildParams) SetProjectCanonical added in v1.0.58

func (o *RerunBuildParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the rerun build params

func (*RerunBuildParams) SetTimeout added in v1.0.58

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

SetTimeout adds the timeout to the rerun build params

func (*RerunBuildParams) WithBuildID added in v1.0.58

func (o *RerunBuildParams) WithBuildID(buildID string) *RerunBuildParams

WithBuildID adds the buildID to the rerun build params

func (*RerunBuildParams) WithContext added in v1.0.58

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

WithContext adds the context to the rerun build params

func (*RerunBuildParams) WithHTTPClient added in v1.0.58

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

WithHTTPClient adds the HTTPClient to the rerun build params

func (*RerunBuildParams) WithInpathPipelineName added in v1.0.58

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

WithInpathPipelineName adds the inpathPipelineName to the rerun build params

func (*RerunBuildParams) WithJobName added in v1.0.58

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

WithJobName adds the jobName to the rerun build params

func (*RerunBuildParams) WithOrganizationCanonical added in v1.0.58

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

WithOrganizationCanonical adds the organizationCanonical to the rerun build params

func (*RerunBuildParams) WithProjectCanonical added in v1.0.58

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

WithProjectCanonical adds the projectCanonical to the rerun build params

func (*RerunBuildParams) WithTimeout added in v1.0.58

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

WithTimeout adds the timeout to the rerun build params

func (*RerunBuildParams) WriteToRequest added in v1.0.58

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

WriteToRequest writes these params to a swagger request

type RerunBuildReader added in v1.0.58

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

RerunBuildReader is a Reader for the RerunBuild structure.

func (*RerunBuildReader) ReadResponse added in v1.0.58

func (o *RerunBuildReader) 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