ci_runs

package
v0.1.50 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for ci runs API

func (*Client) DeleteAPIV2CiRunsSelector

func (a *Client) DeleteAPIV2CiRunsSelector(params *DeleteAPIV2CiRunsSelectorParams, opts ...ClientOption) (*DeleteAPIV2CiRunsSelectorOK, error)

DeleteAPIV2CiRunsSelector deletes a ci run entry

Delete an existing CiRun entry via one of its "selectors": ID, 'github-actions/' + owner + repo + run ID + attempt number, or 'argo-workflows/' + namespace + name.

func (*Client) GetAPIV2CiRuns

func (a *Client) GetAPIV2CiRuns(params *GetAPIV2CiRunsParams, opts ...ClientOption) (*GetAPIV2CiRunsOK, error)

GetAPIV2CiRuns lists ci run entries

List existing CiRun entries, ordered by most recently updated.

func (*Client) GetAPIV2CiRunsSelector

func (a *Client) GetAPIV2CiRunsSelector(params *GetAPIV2CiRunsSelectorParams, opts ...ClientOption) (*GetAPIV2CiRunsSelectorOK, error)

GetAPIV2CiRunsSelector gets a ci run entry

Get an existing CiRun entry via one of its "selectors": ID, 'github-actions/' + owner + repo + run ID + attempt number, or 'argo-workflows/' + namespace + name.

func (*Client) GetAPIV2SelectorsCiRunsSelector

func (a *Client) GetAPIV2SelectorsCiRunsSelector(params *GetAPIV2SelectorsCiRunsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsCiRunsSelectorOK, error)

GetAPIV2SelectorsCiRunsSelector lists ci run selectors

Validate a given CiRun selector and provide any other selectors that would match the same CiRun.

func (*Client) PatchAPIV2CiRunsSelector

func (a *Client) PatchAPIV2CiRunsSelector(params *PatchAPIV2CiRunsSelectorParams, opts ...ClientOption) (*PatchAPIV2CiRunsSelectorOK, error)

PatchAPIV2CiRunsSelector edits a ci run entry

Edit an existing CiRun entry via one of its "selectors": ID, 'github-actions/' + owner + repo + run ID + attempt number, or 'argo-workflows/' + namespace + name. Note that only mutable fields are available here, immutable fields can only be set using /create.

func (*Client) PostAPIV2CiRuns

func (a *Client) PostAPIV2CiRuns(params *PostAPIV2CiRunsParams, opts ...ClientOption) (*PostAPIV2CiRunsOK, *PostAPIV2CiRunsCreated, error)

PostAPIV2CiRuns creates a new ci run entry

Create a new CiRun entry. Note that some fields are immutable after creation; /edit lists mutable fields.

func (*Client) PutAPIV2CiRunsSelector

PutAPIV2CiRunsSelector creates or edit a ci run entry

Create or edit a CiRun entry. Attempts to edit and will attempt to create upon an error.

If an edit was made or the creation process de-duplicates, this method will return normally with a 200.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteAPIV2CiRunsSelector(params *DeleteAPIV2CiRunsSelectorParams, opts ...ClientOption) (*DeleteAPIV2CiRunsSelectorOK, error)

	GetAPIV2CiRuns(params *GetAPIV2CiRunsParams, opts ...ClientOption) (*GetAPIV2CiRunsOK, error)

	GetAPIV2CiRunsSelector(params *GetAPIV2CiRunsSelectorParams, opts ...ClientOption) (*GetAPIV2CiRunsSelectorOK, error)

	GetAPIV2SelectorsCiRunsSelector(params *GetAPIV2SelectorsCiRunsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsCiRunsSelectorOK, error)

	PatchAPIV2CiRunsSelector(params *PatchAPIV2CiRunsSelectorParams, opts ...ClientOption) (*PatchAPIV2CiRunsSelectorOK, error)

	PostAPIV2CiRuns(params *PostAPIV2CiRunsParams, opts ...ClientOption) (*PostAPIV2CiRunsOK, *PostAPIV2CiRunsCreated, error)

	PutAPIV2CiRunsSelector(params *PutAPIV2CiRunsSelectorParams, opts ...ClientOption) (*PutAPIV2CiRunsSelectorOK, *PutAPIV2CiRunsSelectorCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new ci runs API client.

type DeleteAPIV2CiRunsSelectorBadRequest

type DeleteAPIV2CiRunsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2CiRunsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteAPIV2CiRunsSelectorBadRequest

func NewDeleteAPIV2CiRunsSelectorBadRequest() *DeleteAPIV2CiRunsSelectorBadRequest

NewDeleteAPIV2CiRunsSelectorBadRequest creates a DeleteAPIV2CiRunsSelectorBadRequest with default headers values

func (*DeleteAPIV2CiRunsSelectorBadRequest) Error

func (*DeleteAPIV2CiRunsSelectorBadRequest) GetPayload

type DeleteAPIV2CiRunsSelectorConflict

type DeleteAPIV2CiRunsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2CiRunsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewDeleteAPIV2CiRunsSelectorConflict

func NewDeleteAPIV2CiRunsSelectorConflict() *DeleteAPIV2CiRunsSelectorConflict

NewDeleteAPIV2CiRunsSelectorConflict creates a DeleteAPIV2CiRunsSelectorConflict with default headers values

func (*DeleteAPIV2CiRunsSelectorConflict) Error

func (*DeleteAPIV2CiRunsSelectorConflict) GetPayload

type DeleteAPIV2CiRunsSelectorForbidden

type DeleteAPIV2CiRunsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2CiRunsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteAPIV2CiRunsSelectorForbidden

func NewDeleteAPIV2CiRunsSelectorForbidden() *DeleteAPIV2CiRunsSelectorForbidden

NewDeleteAPIV2CiRunsSelectorForbidden creates a DeleteAPIV2CiRunsSelectorForbidden with default headers values

func (*DeleteAPIV2CiRunsSelectorForbidden) Error

func (*DeleteAPIV2CiRunsSelectorForbidden) GetPayload

type DeleteAPIV2CiRunsSelectorInternalServerError

type DeleteAPIV2CiRunsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2CiRunsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteAPIV2CiRunsSelectorInternalServerError

func NewDeleteAPIV2CiRunsSelectorInternalServerError() *DeleteAPIV2CiRunsSelectorInternalServerError

NewDeleteAPIV2CiRunsSelectorInternalServerError creates a DeleteAPIV2CiRunsSelectorInternalServerError with default headers values

func (*DeleteAPIV2CiRunsSelectorInternalServerError) Error

func (*DeleteAPIV2CiRunsSelectorInternalServerError) GetPayload

type DeleteAPIV2CiRunsSelectorNotFound

type DeleteAPIV2CiRunsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2CiRunsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteAPIV2CiRunsSelectorNotFound

func NewDeleteAPIV2CiRunsSelectorNotFound() *DeleteAPIV2CiRunsSelectorNotFound

NewDeleteAPIV2CiRunsSelectorNotFound creates a DeleteAPIV2CiRunsSelectorNotFound with default headers values

func (*DeleteAPIV2CiRunsSelectorNotFound) Error

func (*DeleteAPIV2CiRunsSelectorNotFound) GetPayload

type DeleteAPIV2CiRunsSelectorOK

type DeleteAPIV2CiRunsSelectorOK struct {
	Payload *models.V2controllersCiRun
}
DeleteAPIV2CiRunsSelectorOK describes a response with status code 200, with default header values.

OK

func NewDeleteAPIV2CiRunsSelectorOK

func NewDeleteAPIV2CiRunsSelectorOK() *DeleteAPIV2CiRunsSelectorOK

NewDeleteAPIV2CiRunsSelectorOK creates a DeleteAPIV2CiRunsSelectorOK with default headers values

func (*DeleteAPIV2CiRunsSelectorOK) Error

func (*DeleteAPIV2CiRunsSelectorOK) GetPayload

type DeleteAPIV2CiRunsSelectorParams

type DeleteAPIV2CiRunsSelectorParams struct {

	/* Selector.

	   The CiRun to delete's selector: ID, 'github-actions/' + owner + repo + run ID + attempt number, or 'argo-workflows/' + namespace + name
	*/
	Selector string

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

DeleteAPIV2CiRunsSelectorParams contains all the parameters to send to the API endpoint

for the delete API v2 ci runs selector operation.

Typically these are written to a http.Request.

func NewDeleteAPIV2CiRunsSelectorParams

func NewDeleteAPIV2CiRunsSelectorParams() *DeleteAPIV2CiRunsSelectorParams

NewDeleteAPIV2CiRunsSelectorParams creates a new DeleteAPIV2CiRunsSelectorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAPIV2CiRunsSelectorParamsWithContext

func NewDeleteAPIV2CiRunsSelectorParamsWithContext(ctx context.Context) *DeleteAPIV2CiRunsSelectorParams

NewDeleteAPIV2CiRunsSelectorParamsWithContext creates a new DeleteAPIV2CiRunsSelectorParams object with the ability to set a context for a request.

func NewDeleteAPIV2CiRunsSelectorParamsWithHTTPClient

func NewDeleteAPIV2CiRunsSelectorParamsWithHTTPClient(client *http.Client) *DeleteAPIV2CiRunsSelectorParams

NewDeleteAPIV2CiRunsSelectorParamsWithHTTPClient creates a new DeleteAPIV2CiRunsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIV2CiRunsSelectorParamsWithTimeout

func NewDeleteAPIV2CiRunsSelectorParamsWithTimeout(timeout time.Duration) *DeleteAPIV2CiRunsSelectorParams

NewDeleteAPIV2CiRunsSelectorParamsWithTimeout creates a new DeleteAPIV2CiRunsSelectorParams object with the ability to set a timeout on a request.

func (*DeleteAPIV2CiRunsSelectorParams) SetContext

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

SetContext adds the context to the delete API v2 ci runs selector params

func (*DeleteAPIV2CiRunsSelectorParams) SetDefaults

func (o *DeleteAPIV2CiRunsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the delete API v2 ci runs selector params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAPIV2CiRunsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API v2 ci runs selector params

func (*DeleteAPIV2CiRunsSelectorParams) SetSelector

func (o *DeleteAPIV2CiRunsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the delete API v2 ci runs selector params

func (*DeleteAPIV2CiRunsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the delete API v2 ci runs selector params

func (*DeleteAPIV2CiRunsSelectorParams) WithContext

WithContext adds the context to the delete API v2 ci runs selector params

func (*DeleteAPIV2CiRunsSelectorParams) WithDefaults

WithDefaults hydrates default values in the delete API v2 ci runs selector params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAPIV2CiRunsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API v2 ci runs selector params

func (*DeleteAPIV2CiRunsSelectorParams) WithSelector

WithSelector adds the selector to the delete API v2 ci runs selector params

func (*DeleteAPIV2CiRunsSelectorParams) WithTimeout

WithTimeout adds the timeout to the delete API v2 ci runs selector params

func (*DeleteAPIV2CiRunsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIV2CiRunsSelectorProxyAuthenticationRequired

type DeleteAPIV2CiRunsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2CiRunsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewDeleteAPIV2CiRunsSelectorProxyAuthenticationRequired

func NewDeleteAPIV2CiRunsSelectorProxyAuthenticationRequired() *DeleteAPIV2CiRunsSelectorProxyAuthenticationRequired

NewDeleteAPIV2CiRunsSelectorProxyAuthenticationRequired creates a DeleteAPIV2CiRunsSelectorProxyAuthenticationRequired with default headers values

func (*DeleteAPIV2CiRunsSelectorProxyAuthenticationRequired) Error

func (*DeleteAPIV2CiRunsSelectorProxyAuthenticationRequired) GetPayload

type DeleteAPIV2CiRunsSelectorReader

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

DeleteAPIV2CiRunsSelectorReader is a Reader for the DeleteAPIV2CiRunsSelector structure.

func (*DeleteAPIV2CiRunsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2CiRunsBadRequest

type GetAPIV2CiRunsBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIV2CiRunsBadRequest

func NewGetAPIV2CiRunsBadRequest() *GetAPIV2CiRunsBadRequest

NewGetAPIV2CiRunsBadRequest creates a GetAPIV2CiRunsBadRequest with default headers values

func (*GetAPIV2CiRunsBadRequest) Error

func (o *GetAPIV2CiRunsBadRequest) Error() string

func (*GetAPIV2CiRunsBadRequest) GetPayload

type GetAPIV2CiRunsConflict

type GetAPIV2CiRunsConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2CiRunsConflict

func NewGetAPIV2CiRunsConflict() *GetAPIV2CiRunsConflict

NewGetAPIV2CiRunsConflict creates a GetAPIV2CiRunsConflict with default headers values

func (*GetAPIV2CiRunsConflict) Error

func (o *GetAPIV2CiRunsConflict) Error() string

func (*GetAPIV2CiRunsConflict) GetPayload

type GetAPIV2CiRunsForbidden

type GetAPIV2CiRunsForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2CiRunsForbidden

func NewGetAPIV2CiRunsForbidden() *GetAPIV2CiRunsForbidden

NewGetAPIV2CiRunsForbidden creates a GetAPIV2CiRunsForbidden with default headers values

func (*GetAPIV2CiRunsForbidden) Error

func (o *GetAPIV2CiRunsForbidden) Error() string

func (*GetAPIV2CiRunsForbidden) GetPayload

type GetAPIV2CiRunsInternalServerError

type GetAPIV2CiRunsInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIV2CiRunsInternalServerError

func NewGetAPIV2CiRunsInternalServerError() *GetAPIV2CiRunsInternalServerError

NewGetAPIV2CiRunsInternalServerError creates a GetAPIV2CiRunsInternalServerError with default headers values

func (*GetAPIV2CiRunsInternalServerError) Error

func (*GetAPIV2CiRunsInternalServerError) GetPayload

type GetAPIV2CiRunsNotFound

type GetAPIV2CiRunsNotFound struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAPIV2CiRunsNotFound

func NewGetAPIV2CiRunsNotFound() *GetAPIV2CiRunsNotFound

NewGetAPIV2CiRunsNotFound creates a GetAPIV2CiRunsNotFound with default headers values

func (*GetAPIV2CiRunsNotFound) Error

func (o *GetAPIV2CiRunsNotFound) Error() string

func (*GetAPIV2CiRunsNotFound) GetPayload

type GetAPIV2CiRunsOK

type GetAPIV2CiRunsOK struct {
	Payload []*models.V2controllersCiRun
}
GetAPIV2CiRunsOK describes a response with status code 200, with default header values.

OK

func NewGetAPIV2CiRunsOK

func NewGetAPIV2CiRunsOK() *GetAPIV2CiRunsOK

NewGetAPIV2CiRunsOK creates a GetAPIV2CiRunsOK with default headers values

func (*GetAPIV2CiRunsOK) Error

func (o *GetAPIV2CiRunsOK) Error() string

func (*GetAPIV2CiRunsOK) GetPayload

func (o *GetAPIV2CiRunsOK) GetPayload() []*models.V2controllersCiRun

type GetAPIV2CiRunsParams

type GetAPIV2CiRunsParams struct {

	// ArgoWorkflowsName.
	ArgoWorkflowsName *string

	// ArgoWorkflowsNamespace.
	ArgoWorkflowsNamespace *string

	// ArgoWorkflowsTemplate.
	ArgoWorkflowsTemplate *string

	// CreatedAt.
	//
	// Format: date-time
	CreatedAt *strfmt.DateTime

	// GithubActionsAttemptNumber.
	GithubActionsAttemptNumber *int64

	// GithubActionsOwner.
	GithubActionsOwner *string

	// GithubActionsRepo.
	GithubActionsRepo *string

	// GithubActionsRunID.
	GithubActionsRunID *int64

	// GithubActionsWorkflowPath.
	GithubActionsWorkflowPath *string

	// ID.
	ID *int64

	/* Limit.

	   An optional limit to the number of entries returned
	*/
	Limit *int64

	// Platform.
	Platform *string

	// Status.
	Status *string

	// TerminalAt.
	TerminalAt *string

	// UpdatedAt.
	//
	// Format: date-time
	UpdatedAt *strfmt.DateTime

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

GetAPIV2CiRunsParams contains all the parameters to send to the API endpoint

for the get API v2 ci runs operation.

Typically these are written to a http.Request.

func NewGetAPIV2CiRunsParams

func NewGetAPIV2CiRunsParams() *GetAPIV2CiRunsParams

NewGetAPIV2CiRunsParams creates a new GetAPIV2CiRunsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAPIV2CiRunsParamsWithContext

func NewGetAPIV2CiRunsParamsWithContext(ctx context.Context) *GetAPIV2CiRunsParams

NewGetAPIV2CiRunsParamsWithContext creates a new GetAPIV2CiRunsParams object with the ability to set a context for a request.

func NewGetAPIV2CiRunsParamsWithHTTPClient

func NewGetAPIV2CiRunsParamsWithHTTPClient(client *http.Client) *GetAPIV2CiRunsParams

NewGetAPIV2CiRunsParamsWithHTTPClient creates a new GetAPIV2CiRunsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2CiRunsParamsWithTimeout

func NewGetAPIV2CiRunsParamsWithTimeout(timeout time.Duration) *GetAPIV2CiRunsParams

NewGetAPIV2CiRunsParamsWithTimeout creates a new GetAPIV2CiRunsParams object with the ability to set a timeout on a request.

func (*GetAPIV2CiRunsParams) SetArgoWorkflowsName

func (o *GetAPIV2CiRunsParams) SetArgoWorkflowsName(argoWorkflowsName *string)

SetArgoWorkflowsName adds the argoWorkflowsName to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetArgoWorkflowsNamespace

func (o *GetAPIV2CiRunsParams) SetArgoWorkflowsNamespace(argoWorkflowsNamespace *string)

SetArgoWorkflowsNamespace adds the argoWorkflowsNamespace to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetArgoWorkflowsTemplate

func (o *GetAPIV2CiRunsParams) SetArgoWorkflowsTemplate(argoWorkflowsTemplate *string)

SetArgoWorkflowsTemplate adds the argoWorkflowsTemplate to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetContext

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

SetContext adds the context to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetCreatedAt

func (o *GetAPIV2CiRunsParams) SetCreatedAt(createdAt *strfmt.DateTime)

SetCreatedAt adds the createdAt to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetDefaults

func (o *GetAPIV2CiRunsParams) SetDefaults()

SetDefaults hydrates default values in the get API v2 ci runs params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2CiRunsParams) SetGithubActionsAttemptNumber

func (o *GetAPIV2CiRunsParams) SetGithubActionsAttemptNumber(githubActionsAttemptNumber *int64)

SetGithubActionsAttemptNumber adds the githubActionsAttemptNumber to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetGithubActionsOwner

func (o *GetAPIV2CiRunsParams) SetGithubActionsOwner(githubActionsOwner *string)

SetGithubActionsOwner adds the githubActionsOwner to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetGithubActionsRepo

func (o *GetAPIV2CiRunsParams) SetGithubActionsRepo(githubActionsRepo *string)

SetGithubActionsRepo adds the githubActionsRepo to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetGithubActionsRunID

func (o *GetAPIV2CiRunsParams) SetGithubActionsRunID(githubActionsRunID *int64)

SetGithubActionsRunID adds the githubActionsRunId to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetGithubActionsWorkflowPath

func (o *GetAPIV2CiRunsParams) SetGithubActionsWorkflowPath(githubActionsWorkflowPath *string)

SetGithubActionsWorkflowPath adds the githubActionsWorkflowPath to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetID

func (o *GetAPIV2CiRunsParams) SetID(id *int64)

SetID adds the id to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetLimit

func (o *GetAPIV2CiRunsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetPlatform

func (o *GetAPIV2CiRunsParams) SetPlatform(platform *string)

SetPlatform adds the platform to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetStatus

func (o *GetAPIV2CiRunsParams) SetStatus(status *string)

SetStatus adds the status to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetTerminalAt

func (o *GetAPIV2CiRunsParams) SetTerminalAt(terminalAt *string)

SetTerminalAt adds the terminalAt to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetTimeout

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

SetTimeout adds the timeout to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) SetUpdatedAt

func (o *GetAPIV2CiRunsParams) SetUpdatedAt(updatedAt *strfmt.DateTime)

SetUpdatedAt adds the updatedAt to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithArgoWorkflowsName

func (o *GetAPIV2CiRunsParams) WithArgoWorkflowsName(argoWorkflowsName *string) *GetAPIV2CiRunsParams

WithArgoWorkflowsName adds the argoWorkflowsName to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithArgoWorkflowsNamespace

func (o *GetAPIV2CiRunsParams) WithArgoWorkflowsNamespace(argoWorkflowsNamespace *string) *GetAPIV2CiRunsParams

WithArgoWorkflowsNamespace adds the argoWorkflowsNamespace to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithArgoWorkflowsTemplate

func (o *GetAPIV2CiRunsParams) WithArgoWorkflowsTemplate(argoWorkflowsTemplate *string) *GetAPIV2CiRunsParams

WithArgoWorkflowsTemplate adds the argoWorkflowsTemplate to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithContext

WithContext adds the context to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithCreatedAt

func (o *GetAPIV2CiRunsParams) WithCreatedAt(createdAt *strfmt.DateTime) *GetAPIV2CiRunsParams

WithCreatedAt adds the createdAt to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithDefaults

func (o *GetAPIV2CiRunsParams) WithDefaults() *GetAPIV2CiRunsParams

WithDefaults hydrates default values in the get API v2 ci runs params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2CiRunsParams) WithGithubActionsAttemptNumber

func (o *GetAPIV2CiRunsParams) WithGithubActionsAttemptNumber(githubActionsAttemptNumber *int64) *GetAPIV2CiRunsParams

WithGithubActionsAttemptNumber adds the githubActionsAttemptNumber to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithGithubActionsOwner

func (o *GetAPIV2CiRunsParams) WithGithubActionsOwner(githubActionsOwner *string) *GetAPIV2CiRunsParams

WithGithubActionsOwner adds the githubActionsOwner to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithGithubActionsRepo

func (o *GetAPIV2CiRunsParams) WithGithubActionsRepo(githubActionsRepo *string) *GetAPIV2CiRunsParams

WithGithubActionsRepo adds the githubActionsRepo to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithGithubActionsRunID

func (o *GetAPIV2CiRunsParams) WithGithubActionsRunID(githubActionsRunID *int64) *GetAPIV2CiRunsParams

WithGithubActionsRunID adds the githubActionsRunID to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithGithubActionsWorkflowPath

func (o *GetAPIV2CiRunsParams) WithGithubActionsWorkflowPath(githubActionsWorkflowPath *string) *GetAPIV2CiRunsParams

WithGithubActionsWorkflowPath adds the githubActionsWorkflowPath to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithID

WithID adds the id to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithLimit

func (o *GetAPIV2CiRunsParams) WithLimit(limit *int64) *GetAPIV2CiRunsParams

WithLimit adds the limit to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithPlatform

func (o *GetAPIV2CiRunsParams) WithPlatform(platform *string) *GetAPIV2CiRunsParams

WithPlatform adds the platform to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithStatus

func (o *GetAPIV2CiRunsParams) WithStatus(status *string) *GetAPIV2CiRunsParams

WithStatus adds the status to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithTerminalAt

func (o *GetAPIV2CiRunsParams) WithTerminalAt(terminalAt *string) *GetAPIV2CiRunsParams

WithTerminalAt adds the terminalAt to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithTimeout

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

WithTimeout adds the timeout to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WithUpdatedAt

func (o *GetAPIV2CiRunsParams) WithUpdatedAt(updatedAt *strfmt.DateTime) *GetAPIV2CiRunsParams

WithUpdatedAt adds the updatedAt to the get API v2 ci runs params

func (*GetAPIV2CiRunsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAPIV2CiRunsProxyAuthenticationRequired

type GetAPIV2CiRunsProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2CiRunsProxyAuthenticationRequired

func NewGetAPIV2CiRunsProxyAuthenticationRequired() *GetAPIV2CiRunsProxyAuthenticationRequired

NewGetAPIV2CiRunsProxyAuthenticationRequired creates a GetAPIV2CiRunsProxyAuthenticationRequired with default headers values

func (*GetAPIV2CiRunsProxyAuthenticationRequired) Error

func (*GetAPIV2CiRunsProxyAuthenticationRequired) GetPayload

type GetAPIV2CiRunsReader

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

GetAPIV2CiRunsReader is a Reader for the GetAPIV2CiRuns structure.

func (*GetAPIV2CiRunsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2CiRunsSelectorBadRequest

type GetAPIV2CiRunsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIV2CiRunsSelectorBadRequest

func NewGetAPIV2CiRunsSelectorBadRequest() *GetAPIV2CiRunsSelectorBadRequest

NewGetAPIV2CiRunsSelectorBadRequest creates a GetAPIV2CiRunsSelectorBadRequest with default headers values

func (*GetAPIV2CiRunsSelectorBadRequest) Error

func (*GetAPIV2CiRunsSelectorBadRequest) GetPayload

type GetAPIV2CiRunsSelectorConflict

type GetAPIV2CiRunsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2CiRunsSelectorConflict

func NewGetAPIV2CiRunsSelectorConflict() *GetAPIV2CiRunsSelectorConflict

NewGetAPIV2CiRunsSelectorConflict creates a GetAPIV2CiRunsSelectorConflict with default headers values

func (*GetAPIV2CiRunsSelectorConflict) Error

func (*GetAPIV2CiRunsSelectorConflict) GetPayload

type GetAPIV2CiRunsSelectorForbidden

type GetAPIV2CiRunsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2CiRunsSelectorForbidden

func NewGetAPIV2CiRunsSelectorForbidden() *GetAPIV2CiRunsSelectorForbidden

NewGetAPIV2CiRunsSelectorForbidden creates a GetAPIV2CiRunsSelectorForbidden with default headers values

func (*GetAPIV2CiRunsSelectorForbidden) Error

func (*GetAPIV2CiRunsSelectorForbidden) GetPayload

type GetAPIV2CiRunsSelectorInternalServerError

type GetAPIV2CiRunsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIV2CiRunsSelectorInternalServerError

func NewGetAPIV2CiRunsSelectorInternalServerError() *GetAPIV2CiRunsSelectorInternalServerError

NewGetAPIV2CiRunsSelectorInternalServerError creates a GetAPIV2CiRunsSelectorInternalServerError with default headers values

func (*GetAPIV2CiRunsSelectorInternalServerError) Error

func (*GetAPIV2CiRunsSelectorInternalServerError) GetPayload

type GetAPIV2CiRunsSelectorNotFound

type GetAPIV2CiRunsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAPIV2CiRunsSelectorNotFound

func NewGetAPIV2CiRunsSelectorNotFound() *GetAPIV2CiRunsSelectorNotFound

NewGetAPIV2CiRunsSelectorNotFound creates a GetAPIV2CiRunsSelectorNotFound with default headers values

func (*GetAPIV2CiRunsSelectorNotFound) Error

func (*GetAPIV2CiRunsSelectorNotFound) GetPayload

type GetAPIV2CiRunsSelectorOK

type GetAPIV2CiRunsSelectorOK struct {
	Payload *models.V2controllersCiRun
}
GetAPIV2CiRunsSelectorOK describes a response with status code 200, with default header values.

OK

func NewGetAPIV2CiRunsSelectorOK

func NewGetAPIV2CiRunsSelectorOK() *GetAPIV2CiRunsSelectorOK

NewGetAPIV2CiRunsSelectorOK creates a GetAPIV2CiRunsSelectorOK with default headers values

func (*GetAPIV2CiRunsSelectorOK) Error

func (o *GetAPIV2CiRunsSelectorOK) Error() string

func (*GetAPIV2CiRunsSelectorOK) GetPayload

type GetAPIV2CiRunsSelectorParams

type GetAPIV2CiRunsSelectorParams struct {

	/* Selector.

	   The CiRun to get's selector: ID, 'github-actions/' + owner + repo + run ID + attempt number, or 'argo-workflows/' + namespace + name
	*/
	Selector string

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

GetAPIV2CiRunsSelectorParams contains all the parameters to send to the API endpoint

for the get API v2 ci runs selector operation.

Typically these are written to a http.Request.

func NewGetAPIV2CiRunsSelectorParams

func NewGetAPIV2CiRunsSelectorParams() *GetAPIV2CiRunsSelectorParams

NewGetAPIV2CiRunsSelectorParams creates a new GetAPIV2CiRunsSelectorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAPIV2CiRunsSelectorParamsWithContext

func NewGetAPIV2CiRunsSelectorParamsWithContext(ctx context.Context) *GetAPIV2CiRunsSelectorParams

NewGetAPIV2CiRunsSelectorParamsWithContext creates a new GetAPIV2CiRunsSelectorParams object with the ability to set a context for a request.

func NewGetAPIV2CiRunsSelectorParamsWithHTTPClient

func NewGetAPIV2CiRunsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2CiRunsSelectorParams

NewGetAPIV2CiRunsSelectorParamsWithHTTPClient creates a new GetAPIV2CiRunsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2CiRunsSelectorParamsWithTimeout

func NewGetAPIV2CiRunsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2CiRunsSelectorParams

NewGetAPIV2CiRunsSelectorParamsWithTimeout creates a new GetAPIV2CiRunsSelectorParams object with the ability to set a timeout on a request.

func (*GetAPIV2CiRunsSelectorParams) SetContext

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

SetContext adds the context to the get API v2 ci runs selector params

func (*GetAPIV2CiRunsSelectorParams) SetDefaults

func (o *GetAPIV2CiRunsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the get API v2 ci runs selector params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2CiRunsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 ci runs selector params

func (*GetAPIV2CiRunsSelectorParams) SetSelector

func (o *GetAPIV2CiRunsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the get API v2 ci runs selector params

func (*GetAPIV2CiRunsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the get API v2 ci runs selector params

func (*GetAPIV2CiRunsSelectorParams) WithContext

WithContext adds the context to the get API v2 ci runs selector params

func (*GetAPIV2CiRunsSelectorParams) WithDefaults

WithDefaults hydrates default values in the get API v2 ci runs selector params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2CiRunsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API v2 ci runs selector params

func (*GetAPIV2CiRunsSelectorParams) WithSelector

WithSelector adds the selector to the get API v2 ci runs selector params

func (*GetAPIV2CiRunsSelectorParams) WithTimeout

WithTimeout adds the timeout to the get API v2 ci runs selector params

func (*GetAPIV2CiRunsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIV2CiRunsSelectorProxyAuthenticationRequired

type GetAPIV2CiRunsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2CiRunsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2CiRunsSelectorProxyAuthenticationRequired

func NewGetAPIV2CiRunsSelectorProxyAuthenticationRequired() *GetAPIV2CiRunsSelectorProxyAuthenticationRequired

NewGetAPIV2CiRunsSelectorProxyAuthenticationRequired creates a GetAPIV2CiRunsSelectorProxyAuthenticationRequired with default headers values

func (*GetAPIV2CiRunsSelectorProxyAuthenticationRequired) Error

func (*GetAPIV2CiRunsSelectorProxyAuthenticationRequired) GetPayload

type GetAPIV2CiRunsSelectorReader

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

GetAPIV2CiRunsSelectorReader is a Reader for the GetAPIV2CiRunsSelector structure.

func (*GetAPIV2CiRunsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2SelectorsCiRunsSelectorBadRequest

type GetAPIV2SelectorsCiRunsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsCiRunsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIV2SelectorsCiRunsSelectorBadRequest

func NewGetAPIV2SelectorsCiRunsSelectorBadRequest() *GetAPIV2SelectorsCiRunsSelectorBadRequest

NewGetAPIV2SelectorsCiRunsSelectorBadRequest creates a GetAPIV2SelectorsCiRunsSelectorBadRequest with default headers values

func (*GetAPIV2SelectorsCiRunsSelectorBadRequest) Error

func (*GetAPIV2SelectorsCiRunsSelectorBadRequest) GetPayload

type GetAPIV2SelectorsCiRunsSelectorConflict

type GetAPIV2SelectorsCiRunsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsCiRunsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2SelectorsCiRunsSelectorConflict

func NewGetAPIV2SelectorsCiRunsSelectorConflict() *GetAPIV2SelectorsCiRunsSelectorConflict

NewGetAPIV2SelectorsCiRunsSelectorConflict creates a GetAPIV2SelectorsCiRunsSelectorConflict with default headers values

func (*GetAPIV2SelectorsCiRunsSelectorConflict) Error

func (*GetAPIV2SelectorsCiRunsSelectorConflict) GetPayload

type GetAPIV2SelectorsCiRunsSelectorForbidden

type GetAPIV2SelectorsCiRunsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsCiRunsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2SelectorsCiRunsSelectorForbidden

func NewGetAPIV2SelectorsCiRunsSelectorForbidden() *GetAPIV2SelectorsCiRunsSelectorForbidden

NewGetAPIV2SelectorsCiRunsSelectorForbidden creates a GetAPIV2SelectorsCiRunsSelectorForbidden with default headers values

func (*GetAPIV2SelectorsCiRunsSelectorForbidden) Error

func (*GetAPIV2SelectorsCiRunsSelectorForbidden) GetPayload

type GetAPIV2SelectorsCiRunsSelectorInternalServerError

type GetAPIV2SelectorsCiRunsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsCiRunsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIV2SelectorsCiRunsSelectorInternalServerError

func NewGetAPIV2SelectorsCiRunsSelectorInternalServerError() *GetAPIV2SelectorsCiRunsSelectorInternalServerError

NewGetAPIV2SelectorsCiRunsSelectorInternalServerError creates a GetAPIV2SelectorsCiRunsSelectorInternalServerError with default headers values

func (*GetAPIV2SelectorsCiRunsSelectorInternalServerError) Error

func (*GetAPIV2SelectorsCiRunsSelectorInternalServerError) GetPayload

type GetAPIV2SelectorsCiRunsSelectorNotFound

type GetAPIV2SelectorsCiRunsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsCiRunsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAPIV2SelectorsCiRunsSelectorNotFound

func NewGetAPIV2SelectorsCiRunsSelectorNotFound() *GetAPIV2SelectorsCiRunsSelectorNotFound

NewGetAPIV2SelectorsCiRunsSelectorNotFound creates a GetAPIV2SelectorsCiRunsSelectorNotFound with default headers values

func (*GetAPIV2SelectorsCiRunsSelectorNotFound) Error

func (*GetAPIV2SelectorsCiRunsSelectorNotFound) GetPayload

type GetAPIV2SelectorsCiRunsSelectorOK

type GetAPIV2SelectorsCiRunsSelectorOK struct {
	Payload []string
}
GetAPIV2SelectorsCiRunsSelectorOK describes a response with status code 200, with default header values.

OK

func NewGetAPIV2SelectorsCiRunsSelectorOK

func NewGetAPIV2SelectorsCiRunsSelectorOK() *GetAPIV2SelectorsCiRunsSelectorOK

NewGetAPIV2SelectorsCiRunsSelectorOK creates a GetAPIV2SelectorsCiRunsSelectorOK with default headers values

func (*GetAPIV2SelectorsCiRunsSelectorOK) Error

func (*GetAPIV2SelectorsCiRunsSelectorOK) GetPayload

func (o *GetAPIV2SelectorsCiRunsSelectorOK) GetPayload() []string

type GetAPIV2SelectorsCiRunsSelectorParams

type GetAPIV2SelectorsCiRunsSelectorParams struct {

	/* Selector.

	   The selector of the CiRun to list other selectors for
	*/
	Selector string

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

GetAPIV2SelectorsCiRunsSelectorParams contains all the parameters to send to the API endpoint

for the get API v2 selectors ci runs selector operation.

Typically these are written to a http.Request.

func NewGetAPIV2SelectorsCiRunsSelectorParams

func NewGetAPIV2SelectorsCiRunsSelectorParams() *GetAPIV2SelectorsCiRunsSelectorParams

NewGetAPIV2SelectorsCiRunsSelectorParams creates a new GetAPIV2SelectorsCiRunsSelectorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAPIV2SelectorsCiRunsSelectorParamsWithContext

func NewGetAPIV2SelectorsCiRunsSelectorParamsWithContext(ctx context.Context) *GetAPIV2SelectorsCiRunsSelectorParams

NewGetAPIV2SelectorsCiRunsSelectorParamsWithContext creates a new GetAPIV2SelectorsCiRunsSelectorParams object with the ability to set a context for a request.

func NewGetAPIV2SelectorsCiRunsSelectorParamsWithHTTPClient

func NewGetAPIV2SelectorsCiRunsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2SelectorsCiRunsSelectorParams

NewGetAPIV2SelectorsCiRunsSelectorParamsWithHTTPClient creates a new GetAPIV2SelectorsCiRunsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2SelectorsCiRunsSelectorParamsWithTimeout

func NewGetAPIV2SelectorsCiRunsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2SelectorsCiRunsSelectorParams

NewGetAPIV2SelectorsCiRunsSelectorParamsWithTimeout creates a new GetAPIV2SelectorsCiRunsSelectorParams object with the ability to set a timeout on a request.

func (*GetAPIV2SelectorsCiRunsSelectorParams) SetContext

SetContext adds the context to the get API v2 selectors ci runs selector params

func (*GetAPIV2SelectorsCiRunsSelectorParams) SetDefaults

func (o *GetAPIV2SelectorsCiRunsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the get API v2 selectors ci runs selector params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2SelectorsCiRunsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 selectors ci runs selector params

func (*GetAPIV2SelectorsCiRunsSelectorParams) SetSelector

func (o *GetAPIV2SelectorsCiRunsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the get API v2 selectors ci runs selector params

func (*GetAPIV2SelectorsCiRunsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the get API v2 selectors ci runs selector params

func (*GetAPIV2SelectorsCiRunsSelectorParams) WithContext

WithContext adds the context to the get API v2 selectors ci runs selector params

func (*GetAPIV2SelectorsCiRunsSelectorParams) WithDefaults

WithDefaults hydrates default values in the get API v2 selectors ci runs selector params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2SelectorsCiRunsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API v2 selectors ci runs selector params

func (*GetAPIV2SelectorsCiRunsSelectorParams) WithSelector

WithSelector adds the selector to the get API v2 selectors ci runs selector params

func (*GetAPIV2SelectorsCiRunsSelectorParams) WithTimeout

WithTimeout adds the timeout to the get API v2 selectors ci runs selector params

func (*GetAPIV2SelectorsCiRunsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIV2SelectorsCiRunsSelectorProxyAuthenticationRequired

type GetAPIV2SelectorsCiRunsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsCiRunsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2SelectorsCiRunsSelectorProxyAuthenticationRequired

func NewGetAPIV2SelectorsCiRunsSelectorProxyAuthenticationRequired() *GetAPIV2SelectorsCiRunsSelectorProxyAuthenticationRequired

NewGetAPIV2SelectorsCiRunsSelectorProxyAuthenticationRequired creates a GetAPIV2SelectorsCiRunsSelectorProxyAuthenticationRequired with default headers values

func (*GetAPIV2SelectorsCiRunsSelectorProxyAuthenticationRequired) Error

func (*GetAPIV2SelectorsCiRunsSelectorProxyAuthenticationRequired) GetPayload

type GetAPIV2SelectorsCiRunsSelectorReader

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

GetAPIV2SelectorsCiRunsSelectorReader is a Reader for the GetAPIV2SelectorsCiRunsSelector structure.

func (*GetAPIV2SelectorsCiRunsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAPIV2CiRunsSelectorBadRequest

type PatchAPIV2CiRunsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2CiRunsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPatchAPIV2CiRunsSelectorBadRequest

func NewPatchAPIV2CiRunsSelectorBadRequest() *PatchAPIV2CiRunsSelectorBadRequest

NewPatchAPIV2CiRunsSelectorBadRequest creates a PatchAPIV2CiRunsSelectorBadRequest with default headers values

func (*PatchAPIV2CiRunsSelectorBadRequest) Error

func (*PatchAPIV2CiRunsSelectorBadRequest) GetPayload

type PatchAPIV2CiRunsSelectorConflict

type PatchAPIV2CiRunsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2CiRunsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewPatchAPIV2CiRunsSelectorConflict

func NewPatchAPIV2CiRunsSelectorConflict() *PatchAPIV2CiRunsSelectorConflict

NewPatchAPIV2CiRunsSelectorConflict creates a PatchAPIV2CiRunsSelectorConflict with default headers values

func (*PatchAPIV2CiRunsSelectorConflict) Error

func (*PatchAPIV2CiRunsSelectorConflict) GetPayload

type PatchAPIV2CiRunsSelectorForbidden

type PatchAPIV2CiRunsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2CiRunsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPatchAPIV2CiRunsSelectorForbidden

func NewPatchAPIV2CiRunsSelectorForbidden() *PatchAPIV2CiRunsSelectorForbidden

NewPatchAPIV2CiRunsSelectorForbidden creates a PatchAPIV2CiRunsSelectorForbidden with default headers values

func (*PatchAPIV2CiRunsSelectorForbidden) Error

func (*PatchAPIV2CiRunsSelectorForbidden) GetPayload

type PatchAPIV2CiRunsSelectorInternalServerError

type PatchAPIV2CiRunsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2CiRunsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPatchAPIV2CiRunsSelectorInternalServerError

func NewPatchAPIV2CiRunsSelectorInternalServerError() *PatchAPIV2CiRunsSelectorInternalServerError

NewPatchAPIV2CiRunsSelectorInternalServerError creates a PatchAPIV2CiRunsSelectorInternalServerError with default headers values

func (*PatchAPIV2CiRunsSelectorInternalServerError) Error

func (*PatchAPIV2CiRunsSelectorInternalServerError) GetPayload

type PatchAPIV2CiRunsSelectorNotFound

type PatchAPIV2CiRunsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2CiRunsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewPatchAPIV2CiRunsSelectorNotFound

func NewPatchAPIV2CiRunsSelectorNotFound() *PatchAPIV2CiRunsSelectorNotFound

NewPatchAPIV2CiRunsSelectorNotFound creates a PatchAPIV2CiRunsSelectorNotFound with default headers values

func (*PatchAPIV2CiRunsSelectorNotFound) Error

func (*PatchAPIV2CiRunsSelectorNotFound) GetPayload

type PatchAPIV2CiRunsSelectorOK

type PatchAPIV2CiRunsSelectorOK struct {
	Payload *models.V2controllersCiRun
}
PatchAPIV2CiRunsSelectorOK describes a response with status code 200, with default header values.

OK

func NewPatchAPIV2CiRunsSelectorOK

func NewPatchAPIV2CiRunsSelectorOK() *PatchAPIV2CiRunsSelectorOK

NewPatchAPIV2CiRunsSelectorOK creates a PatchAPIV2CiRunsSelectorOK with default headers values

func (*PatchAPIV2CiRunsSelectorOK) Error

func (*PatchAPIV2CiRunsSelectorOK) GetPayload

type PatchAPIV2CiRunsSelectorParams

type PatchAPIV2CiRunsSelectorParams struct {

	/* CiRun.

	   The edits to make to the CiRun
	*/
	CiRun *models.V2controllersEditableCiRun

	/* Selector.

	   The CiRun to edit's selector: ID, 'github-actions/' + owner + repo + run ID + attempt number, or 'argo-workflows/' + namespace + name
	*/
	Selector string

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

PatchAPIV2CiRunsSelectorParams contains all the parameters to send to the API endpoint

for the patch API v2 ci runs selector operation.

Typically these are written to a http.Request.

func NewPatchAPIV2CiRunsSelectorParams

func NewPatchAPIV2CiRunsSelectorParams() *PatchAPIV2CiRunsSelectorParams

NewPatchAPIV2CiRunsSelectorParams creates a new PatchAPIV2CiRunsSelectorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchAPIV2CiRunsSelectorParamsWithContext

func NewPatchAPIV2CiRunsSelectorParamsWithContext(ctx context.Context) *PatchAPIV2CiRunsSelectorParams

NewPatchAPIV2CiRunsSelectorParamsWithContext creates a new PatchAPIV2CiRunsSelectorParams object with the ability to set a context for a request.

func NewPatchAPIV2CiRunsSelectorParamsWithHTTPClient

func NewPatchAPIV2CiRunsSelectorParamsWithHTTPClient(client *http.Client) *PatchAPIV2CiRunsSelectorParams

NewPatchAPIV2CiRunsSelectorParamsWithHTTPClient creates a new PatchAPIV2CiRunsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPIV2CiRunsSelectorParamsWithTimeout

func NewPatchAPIV2CiRunsSelectorParamsWithTimeout(timeout time.Duration) *PatchAPIV2CiRunsSelectorParams

NewPatchAPIV2CiRunsSelectorParamsWithTimeout creates a new PatchAPIV2CiRunsSelectorParams object with the ability to set a timeout on a request.

func (*PatchAPIV2CiRunsSelectorParams) SetCiRun

SetCiRun adds the ciRun to the patch API v2 ci runs selector params

func (*PatchAPIV2CiRunsSelectorParams) SetContext

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

SetContext adds the context to the patch API v2 ci runs selector params

func (*PatchAPIV2CiRunsSelectorParams) SetDefaults

func (o *PatchAPIV2CiRunsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the patch API v2 ci runs selector params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPIV2CiRunsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API v2 ci runs selector params

func (*PatchAPIV2CiRunsSelectorParams) SetSelector

func (o *PatchAPIV2CiRunsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the patch API v2 ci runs selector params

func (*PatchAPIV2CiRunsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the patch API v2 ci runs selector params

func (*PatchAPIV2CiRunsSelectorParams) WithCiRun

WithCiRun adds the ciRun to the patch API v2 ci runs selector params

func (*PatchAPIV2CiRunsSelectorParams) WithContext

WithContext adds the context to the patch API v2 ci runs selector params

func (*PatchAPIV2CiRunsSelectorParams) WithDefaults

WithDefaults hydrates default values in the patch API v2 ci runs selector params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPIV2CiRunsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API v2 ci runs selector params

func (*PatchAPIV2CiRunsSelectorParams) WithSelector

WithSelector adds the selector to the patch API v2 ci runs selector params

func (*PatchAPIV2CiRunsSelectorParams) WithTimeout

WithTimeout adds the timeout to the patch API v2 ci runs selector params

func (*PatchAPIV2CiRunsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPIV2CiRunsSelectorProxyAuthenticationRequired

type PatchAPIV2CiRunsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2CiRunsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewPatchAPIV2CiRunsSelectorProxyAuthenticationRequired

func NewPatchAPIV2CiRunsSelectorProxyAuthenticationRequired() *PatchAPIV2CiRunsSelectorProxyAuthenticationRequired

NewPatchAPIV2CiRunsSelectorProxyAuthenticationRequired creates a PatchAPIV2CiRunsSelectorProxyAuthenticationRequired with default headers values

func (*PatchAPIV2CiRunsSelectorProxyAuthenticationRequired) Error

func (*PatchAPIV2CiRunsSelectorProxyAuthenticationRequired) GetPayload

type PatchAPIV2CiRunsSelectorReader

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

PatchAPIV2CiRunsSelectorReader is a Reader for the PatchAPIV2CiRunsSelector structure.

func (*PatchAPIV2CiRunsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIV2CiRunsBadRequest

type PostAPIV2CiRunsBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2CiRunsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIV2CiRunsBadRequest

func NewPostAPIV2CiRunsBadRequest() *PostAPIV2CiRunsBadRequest

NewPostAPIV2CiRunsBadRequest creates a PostAPIV2CiRunsBadRequest with default headers values

func (*PostAPIV2CiRunsBadRequest) Error

func (o *PostAPIV2CiRunsBadRequest) Error() string

func (*PostAPIV2CiRunsBadRequest) GetPayload

type PostAPIV2CiRunsConflict

type PostAPIV2CiRunsConflict struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2CiRunsConflict describes a response with status code 409, with default header values.

Conflict

func NewPostAPIV2CiRunsConflict

func NewPostAPIV2CiRunsConflict() *PostAPIV2CiRunsConflict

NewPostAPIV2CiRunsConflict creates a PostAPIV2CiRunsConflict with default headers values

func (*PostAPIV2CiRunsConflict) Error

func (o *PostAPIV2CiRunsConflict) Error() string

func (*PostAPIV2CiRunsConflict) GetPayload

type PostAPIV2CiRunsCreated

type PostAPIV2CiRunsCreated struct {
	Payload *models.V2controllersCiRun
}
PostAPIV2CiRunsCreated describes a response with status code 201, with default header values.

Created

func NewPostAPIV2CiRunsCreated

func NewPostAPIV2CiRunsCreated() *PostAPIV2CiRunsCreated

NewPostAPIV2CiRunsCreated creates a PostAPIV2CiRunsCreated with default headers values

func (*PostAPIV2CiRunsCreated) Error

func (o *PostAPIV2CiRunsCreated) Error() string

func (*PostAPIV2CiRunsCreated) GetPayload

type PostAPIV2CiRunsForbidden

type PostAPIV2CiRunsForbidden struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2CiRunsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostAPIV2CiRunsForbidden

func NewPostAPIV2CiRunsForbidden() *PostAPIV2CiRunsForbidden

NewPostAPIV2CiRunsForbidden creates a PostAPIV2CiRunsForbidden with default headers values

func (*PostAPIV2CiRunsForbidden) Error

func (o *PostAPIV2CiRunsForbidden) Error() string

func (*PostAPIV2CiRunsForbidden) GetPayload

type PostAPIV2CiRunsInternalServerError

type PostAPIV2CiRunsInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2CiRunsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIV2CiRunsInternalServerError

func NewPostAPIV2CiRunsInternalServerError() *PostAPIV2CiRunsInternalServerError

NewPostAPIV2CiRunsInternalServerError creates a PostAPIV2CiRunsInternalServerError with default headers values

func (*PostAPIV2CiRunsInternalServerError) Error

func (*PostAPIV2CiRunsInternalServerError) GetPayload

type PostAPIV2CiRunsNotFound

type PostAPIV2CiRunsNotFound struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2CiRunsNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostAPIV2CiRunsNotFound

func NewPostAPIV2CiRunsNotFound() *PostAPIV2CiRunsNotFound

NewPostAPIV2CiRunsNotFound creates a PostAPIV2CiRunsNotFound with default headers values

func (*PostAPIV2CiRunsNotFound) Error

func (o *PostAPIV2CiRunsNotFound) Error() string

func (*PostAPIV2CiRunsNotFound) GetPayload

type PostAPIV2CiRunsOK

type PostAPIV2CiRunsOK struct {
	Payload *models.V2controllersCiRun
}
PostAPIV2CiRunsOK describes a response with status code 200, with default header values.

OK

func NewPostAPIV2CiRunsOK

func NewPostAPIV2CiRunsOK() *PostAPIV2CiRunsOK

NewPostAPIV2CiRunsOK creates a PostAPIV2CiRunsOK with default headers values

func (*PostAPIV2CiRunsOK) Error

func (o *PostAPIV2CiRunsOK) Error() string

func (*PostAPIV2CiRunsOK) GetPayload

func (o *PostAPIV2CiRunsOK) GetPayload() *models.V2controllersCiRun

type PostAPIV2CiRunsParams

type PostAPIV2CiRunsParams struct {

	/* CiRun.

	   The CiRun to create
	*/
	CiRun *models.V2controllersCreatableCiRun

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

PostAPIV2CiRunsParams contains all the parameters to send to the API endpoint

for the post API v2 ci runs operation.

Typically these are written to a http.Request.

func NewPostAPIV2CiRunsParams

func NewPostAPIV2CiRunsParams() *PostAPIV2CiRunsParams

NewPostAPIV2CiRunsParams creates a new PostAPIV2CiRunsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostAPIV2CiRunsParamsWithContext

func NewPostAPIV2CiRunsParamsWithContext(ctx context.Context) *PostAPIV2CiRunsParams

NewPostAPIV2CiRunsParamsWithContext creates a new PostAPIV2CiRunsParams object with the ability to set a context for a request.

func NewPostAPIV2CiRunsParamsWithHTTPClient

func NewPostAPIV2CiRunsParamsWithHTTPClient(client *http.Client) *PostAPIV2CiRunsParams

NewPostAPIV2CiRunsParamsWithHTTPClient creates a new PostAPIV2CiRunsParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIV2CiRunsParamsWithTimeout

func NewPostAPIV2CiRunsParamsWithTimeout(timeout time.Duration) *PostAPIV2CiRunsParams

NewPostAPIV2CiRunsParamsWithTimeout creates a new PostAPIV2CiRunsParams object with the ability to set a timeout on a request.

func (*PostAPIV2CiRunsParams) SetCiRun

SetCiRun adds the ciRun to the post API v2 ci runs params

func (*PostAPIV2CiRunsParams) SetContext

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

SetContext adds the context to the post API v2 ci runs params

func (*PostAPIV2CiRunsParams) SetDefaults

func (o *PostAPIV2CiRunsParams) SetDefaults()

SetDefaults hydrates default values in the post API v2 ci runs params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIV2CiRunsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API v2 ci runs params

func (*PostAPIV2CiRunsParams) SetTimeout

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

SetTimeout adds the timeout to the post API v2 ci runs params

func (*PostAPIV2CiRunsParams) WithCiRun

WithCiRun adds the ciRun to the post API v2 ci runs params

func (*PostAPIV2CiRunsParams) WithContext

WithContext adds the context to the post API v2 ci runs params

func (*PostAPIV2CiRunsParams) WithDefaults

func (o *PostAPIV2CiRunsParams) WithDefaults() *PostAPIV2CiRunsParams

WithDefaults hydrates default values in the post API v2 ci runs params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIV2CiRunsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post API v2 ci runs params

func (*PostAPIV2CiRunsParams) WithTimeout

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

WithTimeout adds the timeout to the post API v2 ci runs params

func (*PostAPIV2CiRunsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostAPIV2CiRunsProxyAuthenticationRequired

type PostAPIV2CiRunsProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2CiRunsProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewPostAPIV2CiRunsProxyAuthenticationRequired

func NewPostAPIV2CiRunsProxyAuthenticationRequired() *PostAPIV2CiRunsProxyAuthenticationRequired

NewPostAPIV2CiRunsProxyAuthenticationRequired creates a PostAPIV2CiRunsProxyAuthenticationRequired with default headers values

func (*PostAPIV2CiRunsProxyAuthenticationRequired) Error

func (*PostAPIV2CiRunsProxyAuthenticationRequired) GetPayload

type PostAPIV2CiRunsReader

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

PostAPIV2CiRunsReader is a Reader for the PostAPIV2CiRuns structure.

func (*PostAPIV2CiRunsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAPIV2CiRunsSelectorBadRequest

type PutAPIV2CiRunsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
PutAPIV2CiRunsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPutAPIV2CiRunsSelectorBadRequest

func NewPutAPIV2CiRunsSelectorBadRequest() *PutAPIV2CiRunsSelectorBadRequest

NewPutAPIV2CiRunsSelectorBadRequest creates a PutAPIV2CiRunsSelectorBadRequest with default headers values

func (*PutAPIV2CiRunsSelectorBadRequest) Error

func (*PutAPIV2CiRunsSelectorBadRequest) GetPayload

type PutAPIV2CiRunsSelectorConflict

type PutAPIV2CiRunsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
PutAPIV2CiRunsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewPutAPIV2CiRunsSelectorConflict

func NewPutAPIV2CiRunsSelectorConflict() *PutAPIV2CiRunsSelectorConflict

NewPutAPIV2CiRunsSelectorConflict creates a PutAPIV2CiRunsSelectorConflict with default headers values

func (*PutAPIV2CiRunsSelectorConflict) Error

func (*PutAPIV2CiRunsSelectorConflict) GetPayload

type PutAPIV2CiRunsSelectorCreated

type PutAPIV2CiRunsSelectorCreated struct {
	Payload *models.V2controllersCiRun
}
PutAPIV2CiRunsSelectorCreated describes a response with status code 201, with default header values.

Created

func NewPutAPIV2CiRunsSelectorCreated

func NewPutAPIV2CiRunsSelectorCreated() *PutAPIV2CiRunsSelectorCreated

NewPutAPIV2CiRunsSelectorCreated creates a PutAPIV2CiRunsSelectorCreated with default headers values

func (*PutAPIV2CiRunsSelectorCreated) Error

func (*PutAPIV2CiRunsSelectorCreated) GetPayload

type PutAPIV2CiRunsSelectorForbidden

type PutAPIV2CiRunsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
PutAPIV2CiRunsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPutAPIV2CiRunsSelectorForbidden

func NewPutAPIV2CiRunsSelectorForbidden() *PutAPIV2CiRunsSelectorForbidden

NewPutAPIV2CiRunsSelectorForbidden creates a PutAPIV2CiRunsSelectorForbidden with default headers values

func (*PutAPIV2CiRunsSelectorForbidden) Error

func (*PutAPIV2CiRunsSelectorForbidden) GetPayload

type PutAPIV2CiRunsSelectorInternalServerError

type PutAPIV2CiRunsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
PutAPIV2CiRunsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPutAPIV2CiRunsSelectorInternalServerError

func NewPutAPIV2CiRunsSelectorInternalServerError() *PutAPIV2CiRunsSelectorInternalServerError

NewPutAPIV2CiRunsSelectorInternalServerError creates a PutAPIV2CiRunsSelectorInternalServerError with default headers values

func (*PutAPIV2CiRunsSelectorInternalServerError) Error

func (*PutAPIV2CiRunsSelectorInternalServerError) GetPayload

type PutAPIV2CiRunsSelectorNotFound

type PutAPIV2CiRunsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
PutAPIV2CiRunsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewPutAPIV2CiRunsSelectorNotFound

func NewPutAPIV2CiRunsSelectorNotFound() *PutAPIV2CiRunsSelectorNotFound

NewPutAPIV2CiRunsSelectorNotFound creates a PutAPIV2CiRunsSelectorNotFound with default headers values

func (*PutAPIV2CiRunsSelectorNotFound) Error

func (*PutAPIV2CiRunsSelectorNotFound) GetPayload

type PutAPIV2CiRunsSelectorOK

type PutAPIV2CiRunsSelectorOK struct {
	Payload *models.V2controllersCiRun
}
PutAPIV2CiRunsSelectorOK describes a response with status code 200, with default header values.

OK

func NewPutAPIV2CiRunsSelectorOK

func NewPutAPIV2CiRunsSelectorOK() *PutAPIV2CiRunsSelectorOK

NewPutAPIV2CiRunsSelectorOK creates a PutAPIV2CiRunsSelectorOK with default headers values

func (*PutAPIV2CiRunsSelectorOK) Error

func (o *PutAPIV2CiRunsSelectorOK) Error() string

func (*PutAPIV2CiRunsSelectorOK) GetPayload

type PutAPIV2CiRunsSelectorParams

type PutAPIV2CiRunsSelectorParams struct {

	/* CiRun.

	   The CiRun to upsert
	*/
	CiRun *models.V2controllersCreatableCiRun

	/* Selector.

	   The CiRun to upsert's selector: ID, 'github-actions/' + owner + repo + run ID + attempt number, or 'argo-workflows/' + namespace + name
	*/
	Selector string

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

PutAPIV2CiRunsSelectorParams contains all the parameters to send to the API endpoint

for the put API v2 ci runs selector operation.

Typically these are written to a http.Request.

func NewPutAPIV2CiRunsSelectorParams

func NewPutAPIV2CiRunsSelectorParams() *PutAPIV2CiRunsSelectorParams

NewPutAPIV2CiRunsSelectorParams creates a new PutAPIV2CiRunsSelectorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutAPIV2CiRunsSelectorParamsWithContext

func NewPutAPIV2CiRunsSelectorParamsWithContext(ctx context.Context) *PutAPIV2CiRunsSelectorParams

NewPutAPIV2CiRunsSelectorParamsWithContext creates a new PutAPIV2CiRunsSelectorParams object with the ability to set a context for a request.

func NewPutAPIV2CiRunsSelectorParamsWithHTTPClient

func NewPutAPIV2CiRunsSelectorParamsWithHTTPClient(client *http.Client) *PutAPIV2CiRunsSelectorParams

NewPutAPIV2CiRunsSelectorParamsWithHTTPClient creates a new PutAPIV2CiRunsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewPutAPIV2CiRunsSelectorParamsWithTimeout

func NewPutAPIV2CiRunsSelectorParamsWithTimeout(timeout time.Duration) *PutAPIV2CiRunsSelectorParams

NewPutAPIV2CiRunsSelectorParamsWithTimeout creates a new PutAPIV2CiRunsSelectorParams object with the ability to set a timeout on a request.

func (*PutAPIV2CiRunsSelectorParams) SetCiRun

SetCiRun adds the ciRun to the put API v2 ci runs selector params

func (*PutAPIV2CiRunsSelectorParams) SetContext

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

SetContext adds the context to the put API v2 ci runs selector params

func (*PutAPIV2CiRunsSelectorParams) SetDefaults

func (o *PutAPIV2CiRunsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the put API v2 ci runs selector params (not the query body).

All values with no default are reset to their zero value.

func (*PutAPIV2CiRunsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put API v2 ci runs selector params

func (*PutAPIV2CiRunsSelectorParams) SetSelector

func (o *PutAPIV2CiRunsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the put API v2 ci runs selector params

func (*PutAPIV2CiRunsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the put API v2 ci runs selector params

func (*PutAPIV2CiRunsSelectorParams) WithCiRun

WithCiRun adds the ciRun to the put API v2 ci runs selector params

func (*PutAPIV2CiRunsSelectorParams) WithContext

WithContext adds the context to the put API v2 ci runs selector params

func (*PutAPIV2CiRunsSelectorParams) WithDefaults

WithDefaults hydrates default values in the put API v2 ci runs selector params (not the query body).

All values with no default are reset to their zero value.

func (*PutAPIV2CiRunsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put API v2 ci runs selector params

func (*PutAPIV2CiRunsSelectorParams) WithSelector

WithSelector adds the selector to the put API v2 ci runs selector params

func (*PutAPIV2CiRunsSelectorParams) WithTimeout

WithTimeout adds the timeout to the put API v2 ci runs selector params

func (*PutAPIV2CiRunsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutAPIV2CiRunsSelectorProxyAuthenticationRequired

type PutAPIV2CiRunsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
PutAPIV2CiRunsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewPutAPIV2CiRunsSelectorProxyAuthenticationRequired

func NewPutAPIV2CiRunsSelectorProxyAuthenticationRequired() *PutAPIV2CiRunsSelectorProxyAuthenticationRequired

NewPutAPIV2CiRunsSelectorProxyAuthenticationRequired creates a PutAPIV2CiRunsSelectorProxyAuthenticationRequired with default headers values

func (*PutAPIV2CiRunsSelectorProxyAuthenticationRequired) Error

func (*PutAPIV2CiRunsSelectorProxyAuthenticationRequired) GetPayload

type PutAPIV2CiRunsSelectorReader

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

PutAPIV2CiRunsSelectorReader is a Reader for the PutAPIV2CiRunsSelector structure.

func (*PutAPIV2CiRunsSelectorReader) ReadResponse

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