artifacts

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptStarStar

func WithAcceptStarStar(r *runtime.ClientOperation)

WithAcceptStarStar sets the Accept header to "*/*".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeMultipartFormData

func WithContentTypeMultipartFormData(r *runtime.ClientOperation)

WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".

Types

type Client

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

Client for artifacts API

func (*Client) DownloadJobAttemptArtifact

DownloadJobAttemptArtifact downloads job attempt artifact

Downloads an artifact for a given job attempt.

func (*Client) InfoJobAttemptArtifact

func (a *Client) InfoJobAttemptArtifact(params *InfoJobAttemptArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InfoJobAttemptArtifactOK, error)

InfoJobAttemptArtifact jobs attempt artifact info

Get info about a job attempt artifact

func (*Client) ListJobAttemptArtifacts

func (a *Client) ListJobAttemptArtifacts(params *ListJobAttemptArtifactsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListJobAttemptArtifactsOK, error)

ListJobAttemptArtifacts lists job attempt artifacts

List all artifacts for a given job attempt.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadJobAttemptArtifact

func (a *Client) UploadJobAttemptArtifact(params *UploadJobAttemptArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadJobAttemptArtifactOK, error)

UploadJobAttemptArtifact uploads job attempt artifact

Uploads an artifact for a given job attempt.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	DownloadJobAttemptArtifact(params *DownloadJobAttemptArtifactParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*DownloadJobAttemptArtifactOK, *DownloadJobAttemptArtifactPartialContent, error)

	InfoJobAttemptArtifact(params *InfoJobAttemptArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InfoJobAttemptArtifactOK, error)

	ListJobAttemptArtifacts(params *ListJobAttemptArtifactsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListJobAttemptArtifactsOK, error)

	UploadJobAttemptArtifact(params *UploadJobAttemptArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadJobAttemptArtifactOK, 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 artifacts API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new artifacts API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new artifacts API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DownloadJobAttemptArtifactBadRequest

type DownloadJobAttemptArtifactBadRequest struct {
	Payload *models.ErrorResponse
}

DownloadJobAttemptArtifactBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDownloadJobAttemptArtifactBadRequest

func NewDownloadJobAttemptArtifactBadRequest() *DownloadJobAttemptArtifactBadRequest

NewDownloadJobAttemptArtifactBadRequest creates a DownloadJobAttemptArtifactBadRequest with default headers values

func (*DownloadJobAttemptArtifactBadRequest) Code

Code gets the status code for the download job attempt artifact bad request response

func (*DownloadJobAttemptArtifactBadRequest) Error

func (*DownloadJobAttemptArtifactBadRequest) GetPayload

func (*DownloadJobAttemptArtifactBadRequest) IsClientError

func (o *DownloadJobAttemptArtifactBadRequest) IsClientError() bool

IsClientError returns true when this download job attempt artifact bad request response has a 4xx status code

func (*DownloadJobAttemptArtifactBadRequest) IsCode

IsCode returns true when this download job attempt artifact bad request response a status code equal to that given

func (*DownloadJobAttemptArtifactBadRequest) IsRedirect

IsRedirect returns true when this download job attempt artifact bad request response has a 3xx status code

func (*DownloadJobAttemptArtifactBadRequest) IsServerError

func (o *DownloadJobAttemptArtifactBadRequest) IsServerError() bool

IsServerError returns true when this download job attempt artifact bad request response has a 5xx status code

func (*DownloadJobAttemptArtifactBadRequest) IsSuccess

IsSuccess returns true when this download job attempt artifact bad request response has a 2xx status code

func (*DownloadJobAttemptArtifactBadRequest) String

type DownloadJobAttemptArtifactInternalServerError

type DownloadJobAttemptArtifactInternalServerError struct {
	Payload *models.ErrorResponse
}

DownloadJobAttemptArtifactInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDownloadJobAttemptArtifactInternalServerError

func NewDownloadJobAttemptArtifactInternalServerError() *DownloadJobAttemptArtifactInternalServerError

NewDownloadJobAttemptArtifactInternalServerError creates a DownloadJobAttemptArtifactInternalServerError with default headers values

func (*DownloadJobAttemptArtifactInternalServerError) Code

Code gets the status code for the download job attempt artifact internal server error response

func (*DownloadJobAttemptArtifactInternalServerError) Error

func (*DownloadJobAttemptArtifactInternalServerError) GetPayload

func (*DownloadJobAttemptArtifactInternalServerError) IsClientError

IsClientError returns true when this download job attempt artifact internal server error response has a 4xx status code

func (*DownloadJobAttemptArtifactInternalServerError) IsCode

IsCode returns true when this download job attempt artifact internal server error response a status code equal to that given

func (*DownloadJobAttemptArtifactInternalServerError) IsRedirect

IsRedirect returns true when this download job attempt artifact internal server error response has a 3xx status code

func (*DownloadJobAttemptArtifactInternalServerError) IsServerError

IsServerError returns true when this download job attempt artifact internal server error response has a 5xx status code

func (*DownloadJobAttemptArtifactInternalServerError) IsSuccess

IsSuccess returns true when this download job attempt artifact internal server error response has a 2xx status code

func (*DownloadJobAttemptArtifactInternalServerError) String

type DownloadJobAttemptArtifactNotFound

type DownloadJobAttemptArtifactNotFound struct {
	Payload *models.ErrorResponse
}

DownloadJobAttemptArtifactNotFound describes a response with status code 404, with default header values.

Not Found

func NewDownloadJobAttemptArtifactNotFound

func NewDownloadJobAttemptArtifactNotFound() *DownloadJobAttemptArtifactNotFound

NewDownloadJobAttemptArtifactNotFound creates a DownloadJobAttemptArtifactNotFound with default headers values

func (*DownloadJobAttemptArtifactNotFound) Code

Code gets the status code for the download job attempt artifact not found response

func (*DownloadJobAttemptArtifactNotFound) Error

func (*DownloadJobAttemptArtifactNotFound) GetPayload

func (*DownloadJobAttemptArtifactNotFound) IsClientError

func (o *DownloadJobAttemptArtifactNotFound) IsClientError() bool

IsClientError returns true when this download job attempt artifact not found response has a 4xx status code

func (*DownloadJobAttemptArtifactNotFound) IsCode

IsCode returns true when this download job attempt artifact not found response a status code equal to that given

func (*DownloadJobAttemptArtifactNotFound) IsRedirect

func (o *DownloadJobAttemptArtifactNotFound) IsRedirect() bool

IsRedirect returns true when this download job attempt artifact not found response has a 3xx status code

func (*DownloadJobAttemptArtifactNotFound) IsServerError

func (o *DownloadJobAttemptArtifactNotFound) IsServerError() bool

IsServerError returns true when this download job attempt artifact not found response has a 5xx status code

func (*DownloadJobAttemptArtifactNotFound) IsSuccess

IsSuccess returns true when this download job attempt artifact not found response has a 2xx status code

func (*DownloadJobAttemptArtifactNotFound) String

type DownloadJobAttemptArtifactOK

type DownloadJobAttemptArtifactOK struct {

	/* A base64-encoded, 256-bit SHA-256 digest of the artifact
	 */
	SignadotArtifactChecksumSHA256 string

	/* Date and time when the artifact was last modified
	 */
	SignadotArtifactLastModified string

	/* A json-encoded, map of the artifact metadata
	 */
	SignadotArtifactMetadata string

	Payload io.Writer
}

DownloadJobAttemptArtifactOK describes a response with status code 200, with default header values.

Artifact successfully downloaded

func NewDownloadJobAttemptArtifactOK

func NewDownloadJobAttemptArtifactOK(writer io.Writer) *DownloadJobAttemptArtifactOK

NewDownloadJobAttemptArtifactOK creates a DownloadJobAttemptArtifactOK with default headers values

func (*DownloadJobAttemptArtifactOK) Code

Code gets the status code for the download job attempt artifact o k response

func (*DownloadJobAttemptArtifactOK) Error

func (*DownloadJobAttemptArtifactOK) GetPayload

func (o *DownloadJobAttemptArtifactOK) GetPayload() io.Writer

func (*DownloadJobAttemptArtifactOK) IsClientError

func (o *DownloadJobAttemptArtifactOK) IsClientError() bool

IsClientError returns true when this download job attempt artifact o k response has a 4xx status code

func (*DownloadJobAttemptArtifactOK) IsCode

func (o *DownloadJobAttemptArtifactOK) IsCode(code int) bool

IsCode returns true when this download job attempt artifact o k response a status code equal to that given

func (*DownloadJobAttemptArtifactOK) IsRedirect

func (o *DownloadJobAttemptArtifactOK) IsRedirect() bool

IsRedirect returns true when this download job attempt artifact o k response has a 3xx status code

func (*DownloadJobAttemptArtifactOK) IsServerError

func (o *DownloadJobAttemptArtifactOK) IsServerError() bool

IsServerError returns true when this download job attempt artifact o k response has a 5xx status code

func (*DownloadJobAttemptArtifactOK) IsSuccess

func (o *DownloadJobAttemptArtifactOK) IsSuccess() bool

IsSuccess returns true when this download job attempt artifact o k response has a 2xx status code

func (*DownloadJobAttemptArtifactOK) String

type DownloadJobAttemptArtifactParams

type DownloadJobAttemptArtifactParams struct {

	/* Range.

	   Downloads the specified byte range of the artifact. Retrieving multiple ranges of data per request is not supported
	*/
	Range *string

	/* JobAttempt.

	   Job Attempt ID
	*/
	JobAttempt int64

	/* JobName.

	   Job Name
	*/
	JobName string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* Path.

	   Artifact Path
	*/
	Path string

	/* Space.

	   Artifact space, one of 'user' or 'system' (by default 'user')
	*/
	Space *string

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

DownloadJobAttemptArtifactParams contains all the parameters to send to the API endpoint

for the download job attempt artifact operation.

Typically these are written to a http.Request.

func NewDownloadJobAttemptArtifactParams

func NewDownloadJobAttemptArtifactParams() *DownloadJobAttemptArtifactParams

NewDownloadJobAttemptArtifactParams creates a new DownloadJobAttemptArtifactParams 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 NewDownloadJobAttemptArtifactParamsWithContext

func NewDownloadJobAttemptArtifactParamsWithContext(ctx context.Context) *DownloadJobAttemptArtifactParams

NewDownloadJobAttemptArtifactParamsWithContext creates a new DownloadJobAttemptArtifactParams object with the ability to set a context for a request.

func NewDownloadJobAttemptArtifactParamsWithHTTPClient

func NewDownloadJobAttemptArtifactParamsWithHTTPClient(client *http.Client) *DownloadJobAttemptArtifactParams

NewDownloadJobAttemptArtifactParamsWithHTTPClient creates a new DownloadJobAttemptArtifactParams object with the ability to set a custom HTTPClient for a request.

func NewDownloadJobAttemptArtifactParamsWithTimeout

func NewDownloadJobAttemptArtifactParamsWithTimeout(timeout time.Duration) *DownloadJobAttemptArtifactParams

NewDownloadJobAttemptArtifactParamsWithTimeout creates a new DownloadJobAttemptArtifactParams object with the ability to set a timeout on a request.

func (*DownloadJobAttemptArtifactParams) SetContext

SetContext adds the context to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) SetDefaults

func (o *DownloadJobAttemptArtifactParams) SetDefaults()

SetDefaults hydrates default values in the download job attempt artifact params (not the query body).

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

func (*DownloadJobAttemptArtifactParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) SetJobAttempt

func (o *DownloadJobAttemptArtifactParams) SetJobAttempt(jobAttempt int64)

SetJobAttempt adds the jobAttempt to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) SetJobName

func (o *DownloadJobAttemptArtifactParams) SetJobName(jobName string)

SetJobName adds the jobName to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) SetOrgName

func (o *DownloadJobAttemptArtifactParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) SetPath

func (o *DownloadJobAttemptArtifactParams) SetPath(path string)

SetPath adds the path to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) SetRange

func (o *DownloadJobAttemptArtifactParams) SetRange(rangeVar *string)

SetRange adds the range to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) SetSpace

func (o *DownloadJobAttemptArtifactParams) SetSpace(space *string)

SetSpace adds the space to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) SetTimeout

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

SetTimeout adds the timeout to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) WithContext

WithContext adds the context to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) WithDefaults

WithDefaults hydrates default values in the download job attempt artifact params (not the query body).

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

func (*DownloadJobAttemptArtifactParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) WithJobAttempt

WithJobAttempt adds the jobAttempt to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) WithJobName

WithJobName adds the jobName to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) WithOrgName

WithOrgName adds the orgName to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) WithPath

WithPath adds the path to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) WithRange

WithRange adds the rangeVar to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) WithSpace

WithSpace adds the space to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) WithTimeout

WithTimeout adds the timeout to the download job attempt artifact params

func (*DownloadJobAttemptArtifactParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DownloadJobAttemptArtifactPartialContent

type DownloadJobAttemptArtifactPartialContent struct {

	/* Date and time when the artifact was last modified
	 */
	SignadotArtifactLastModified string

	/* A json-encoded, map of the artifact metadata
	 */
	SignadotArtifactMetadata string

	Payload io.Writer
}

DownloadJobAttemptArtifactPartialContent describes a response with status code 206, with default header values.

Artifact range successfully downloaded

func NewDownloadJobAttemptArtifactPartialContent

func NewDownloadJobAttemptArtifactPartialContent(writer io.Writer) *DownloadJobAttemptArtifactPartialContent

NewDownloadJobAttemptArtifactPartialContent creates a DownloadJobAttemptArtifactPartialContent with default headers values

func (*DownloadJobAttemptArtifactPartialContent) Code

Code gets the status code for the download job attempt artifact partial content response

func (*DownloadJobAttemptArtifactPartialContent) Error

func (*DownloadJobAttemptArtifactPartialContent) GetPayload

func (*DownloadJobAttemptArtifactPartialContent) IsClientError

IsClientError returns true when this download job attempt artifact partial content response has a 4xx status code

func (*DownloadJobAttemptArtifactPartialContent) IsCode

IsCode returns true when this download job attempt artifact partial content response a status code equal to that given

func (*DownloadJobAttemptArtifactPartialContent) IsRedirect

IsRedirect returns true when this download job attempt artifact partial content response has a 3xx status code

func (*DownloadJobAttemptArtifactPartialContent) IsServerError

IsServerError returns true when this download job attempt artifact partial content response has a 5xx status code

func (*DownloadJobAttemptArtifactPartialContent) IsSuccess

IsSuccess returns true when this download job attempt artifact partial content response has a 2xx status code

func (*DownloadJobAttemptArtifactPartialContent) String

type DownloadJobAttemptArtifactReader

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

DownloadJobAttemptArtifactReader is a Reader for the DownloadJobAttemptArtifact structure.

func (*DownloadJobAttemptArtifactReader) ReadResponse

func (o *DownloadJobAttemptArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DownloadJobAttemptArtifactUnauthorized

type DownloadJobAttemptArtifactUnauthorized struct {
	Payload *models.ErrorResponse
}

DownloadJobAttemptArtifactUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDownloadJobAttemptArtifactUnauthorized

func NewDownloadJobAttemptArtifactUnauthorized() *DownloadJobAttemptArtifactUnauthorized

NewDownloadJobAttemptArtifactUnauthorized creates a DownloadJobAttemptArtifactUnauthorized with default headers values

func (*DownloadJobAttemptArtifactUnauthorized) Code

Code gets the status code for the download job attempt artifact unauthorized response

func (*DownloadJobAttemptArtifactUnauthorized) Error

func (*DownloadJobAttemptArtifactUnauthorized) GetPayload

func (*DownloadJobAttemptArtifactUnauthorized) IsClientError

func (o *DownloadJobAttemptArtifactUnauthorized) IsClientError() bool

IsClientError returns true when this download job attempt artifact unauthorized response has a 4xx status code

func (*DownloadJobAttemptArtifactUnauthorized) IsCode

IsCode returns true when this download job attempt artifact unauthorized response a status code equal to that given

func (*DownloadJobAttemptArtifactUnauthorized) IsRedirect

IsRedirect returns true when this download job attempt artifact unauthorized response has a 3xx status code

func (*DownloadJobAttemptArtifactUnauthorized) IsServerError

func (o *DownloadJobAttemptArtifactUnauthorized) IsServerError() bool

IsServerError returns true when this download job attempt artifact unauthorized response has a 5xx status code

func (*DownloadJobAttemptArtifactUnauthorized) IsSuccess

IsSuccess returns true when this download job attempt artifact unauthorized response has a 2xx status code

func (*DownloadJobAttemptArtifactUnauthorized) String

type InfoJobAttemptArtifactBadRequest

type InfoJobAttemptArtifactBadRequest struct {
	Payload *models.ErrorResponse
}

InfoJobAttemptArtifactBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewInfoJobAttemptArtifactBadRequest

func NewInfoJobAttemptArtifactBadRequest() *InfoJobAttemptArtifactBadRequest

NewInfoJobAttemptArtifactBadRequest creates a InfoJobAttemptArtifactBadRequest with default headers values

func (*InfoJobAttemptArtifactBadRequest) Code

Code gets the status code for the info job attempt artifact bad request response

func (*InfoJobAttemptArtifactBadRequest) Error

func (*InfoJobAttemptArtifactBadRequest) GetPayload

func (*InfoJobAttemptArtifactBadRequest) IsClientError

func (o *InfoJobAttemptArtifactBadRequest) IsClientError() bool

IsClientError returns true when this info job attempt artifact bad request response has a 4xx status code

func (*InfoJobAttemptArtifactBadRequest) IsCode

func (o *InfoJobAttemptArtifactBadRequest) IsCode(code int) bool

IsCode returns true when this info job attempt artifact bad request response a status code equal to that given

func (*InfoJobAttemptArtifactBadRequest) IsRedirect

func (o *InfoJobAttemptArtifactBadRequest) IsRedirect() bool

IsRedirect returns true when this info job attempt artifact bad request response has a 3xx status code

func (*InfoJobAttemptArtifactBadRequest) IsServerError

func (o *InfoJobAttemptArtifactBadRequest) IsServerError() bool

IsServerError returns true when this info job attempt artifact bad request response has a 5xx status code

func (*InfoJobAttemptArtifactBadRequest) IsSuccess

func (o *InfoJobAttemptArtifactBadRequest) IsSuccess() bool

IsSuccess returns true when this info job attempt artifact bad request response has a 2xx status code

func (*InfoJobAttemptArtifactBadRequest) String

type InfoJobAttemptArtifactInternalServerError

type InfoJobAttemptArtifactInternalServerError struct {
	Payload *models.ErrorResponse
}

InfoJobAttemptArtifactInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewInfoJobAttemptArtifactInternalServerError

func NewInfoJobAttemptArtifactInternalServerError() *InfoJobAttemptArtifactInternalServerError

NewInfoJobAttemptArtifactInternalServerError creates a InfoJobAttemptArtifactInternalServerError with default headers values

func (*InfoJobAttemptArtifactInternalServerError) Code

Code gets the status code for the info job attempt artifact internal server error response

func (*InfoJobAttemptArtifactInternalServerError) Error

func (*InfoJobAttemptArtifactInternalServerError) GetPayload

func (*InfoJobAttemptArtifactInternalServerError) IsClientError

IsClientError returns true when this info job attempt artifact internal server error response has a 4xx status code

func (*InfoJobAttemptArtifactInternalServerError) IsCode

IsCode returns true when this info job attempt artifact internal server error response a status code equal to that given

func (*InfoJobAttemptArtifactInternalServerError) IsRedirect

IsRedirect returns true when this info job attempt artifact internal server error response has a 3xx status code

func (*InfoJobAttemptArtifactInternalServerError) IsServerError

IsServerError returns true when this info job attempt artifact internal server error response has a 5xx status code

func (*InfoJobAttemptArtifactInternalServerError) IsSuccess

IsSuccess returns true when this info job attempt artifact internal server error response has a 2xx status code

func (*InfoJobAttemptArtifactInternalServerError) String

type InfoJobAttemptArtifactNotFound

type InfoJobAttemptArtifactNotFound struct {
	Payload *models.ErrorResponse
}

InfoJobAttemptArtifactNotFound describes a response with status code 404, with default header values.

Not Found

func NewInfoJobAttemptArtifactNotFound

func NewInfoJobAttemptArtifactNotFound() *InfoJobAttemptArtifactNotFound

NewInfoJobAttemptArtifactNotFound creates a InfoJobAttemptArtifactNotFound with default headers values

func (*InfoJobAttemptArtifactNotFound) Code

Code gets the status code for the info job attempt artifact not found response

func (*InfoJobAttemptArtifactNotFound) Error

func (*InfoJobAttemptArtifactNotFound) GetPayload

func (*InfoJobAttemptArtifactNotFound) IsClientError

func (o *InfoJobAttemptArtifactNotFound) IsClientError() bool

IsClientError returns true when this info job attempt artifact not found response has a 4xx status code

func (*InfoJobAttemptArtifactNotFound) IsCode

func (o *InfoJobAttemptArtifactNotFound) IsCode(code int) bool

IsCode returns true when this info job attempt artifact not found response a status code equal to that given

func (*InfoJobAttemptArtifactNotFound) IsRedirect

func (o *InfoJobAttemptArtifactNotFound) IsRedirect() bool

IsRedirect returns true when this info job attempt artifact not found response has a 3xx status code

func (*InfoJobAttemptArtifactNotFound) IsServerError

func (o *InfoJobAttemptArtifactNotFound) IsServerError() bool

IsServerError returns true when this info job attempt artifact not found response has a 5xx status code

func (*InfoJobAttemptArtifactNotFound) IsSuccess

func (o *InfoJobAttemptArtifactNotFound) IsSuccess() bool

IsSuccess returns true when this info job attempt artifact not found response has a 2xx status code

func (*InfoJobAttemptArtifactNotFound) String

type InfoJobAttemptArtifactOK

type InfoJobAttemptArtifactOK struct {
	Payload *models.JobArtifactInfo
}

InfoJobAttemptArtifactOK describes a response with status code 200, with default header values.

OK

func NewInfoJobAttemptArtifactOK

func NewInfoJobAttemptArtifactOK() *InfoJobAttemptArtifactOK

NewInfoJobAttemptArtifactOK creates a InfoJobAttemptArtifactOK with default headers values

func (*InfoJobAttemptArtifactOK) Code

func (o *InfoJobAttemptArtifactOK) Code() int

Code gets the status code for the info job attempt artifact o k response

func (*InfoJobAttemptArtifactOK) Error

func (o *InfoJobAttemptArtifactOK) Error() string

func (*InfoJobAttemptArtifactOK) GetPayload

func (*InfoJobAttemptArtifactOK) IsClientError

func (o *InfoJobAttemptArtifactOK) IsClientError() bool

IsClientError returns true when this info job attempt artifact o k response has a 4xx status code

func (*InfoJobAttemptArtifactOK) IsCode

func (o *InfoJobAttemptArtifactOK) IsCode(code int) bool

IsCode returns true when this info job attempt artifact o k response a status code equal to that given

func (*InfoJobAttemptArtifactOK) IsRedirect

func (o *InfoJobAttemptArtifactOK) IsRedirect() bool

IsRedirect returns true when this info job attempt artifact o k response has a 3xx status code

func (*InfoJobAttemptArtifactOK) IsServerError

func (o *InfoJobAttemptArtifactOK) IsServerError() bool

IsServerError returns true when this info job attempt artifact o k response has a 5xx status code

func (*InfoJobAttemptArtifactOK) IsSuccess

func (o *InfoJobAttemptArtifactOK) IsSuccess() bool

IsSuccess returns true when this info job attempt artifact o k response has a 2xx status code

func (*InfoJobAttemptArtifactOK) String

func (o *InfoJobAttemptArtifactOK) String() string

type InfoJobAttemptArtifactParams

type InfoJobAttemptArtifactParams struct {

	/* JobAttempt.

	   Job Attempt ID
	*/
	JobAttempt int64

	/* JobName.

	   Job Name
	*/
	JobName string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* Path.

	   Artifact Path
	*/
	Path string

	/* Space.

	   Artifact space, one of 'user' or 'system' (by default 'user')
	*/
	Space *string

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

InfoJobAttemptArtifactParams contains all the parameters to send to the API endpoint

for the info job attempt artifact operation.

Typically these are written to a http.Request.

func NewInfoJobAttemptArtifactParams

func NewInfoJobAttemptArtifactParams() *InfoJobAttemptArtifactParams

NewInfoJobAttemptArtifactParams creates a new InfoJobAttemptArtifactParams 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 NewInfoJobAttemptArtifactParamsWithContext

func NewInfoJobAttemptArtifactParamsWithContext(ctx context.Context) *InfoJobAttemptArtifactParams

NewInfoJobAttemptArtifactParamsWithContext creates a new InfoJobAttemptArtifactParams object with the ability to set a context for a request.

func NewInfoJobAttemptArtifactParamsWithHTTPClient

func NewInfoJobAttemptArtifactParamsWithHTTPClient(client *http.Client) *InfoJobAttemptArtifactParams

NewInfoJobAttemptArtifactParamsWithHTTPClient creates a new InfoJobAttemptArtifactParams object with the ability to set a custom HTTPClient for a request.

func NewInfoJobAttemptArtifactParamsWithTimeout

func NewInfoJobAttemptArtifactParamsWithTimeout(timeout time.Duration) *InfoJobAttemptArtifactParams

NewInfoJobAttemptArtifactParamsWithTimeout creates a new InfoJobAttemptArtifactParams object with the ability to set a timeout on a request.

func (*InfoJobAttemptArtifactParams) SetContext

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

SetContext adds the context to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) SetDefaults

func (o *InfoJobAttemptArtifactParams) SetDefaults()

SetDefaults hydrates default values in the info job attempt artifact params (not the query body).

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

func (*InfoJobAttemptArtifactParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) SetJobAttempt

func (o *InfoJobAttemptArtifactParams) SetJobAttempt(jobAttempt int64)

SetJobAttempt adds the jobAttempt to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) SetJobName

func (o *InfoJobAttemptArtifactParams) SetJobName(jobName string)

SetJobName adds the jobName to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) SetOrgName

func (o *InfoJobAttemptArtifactParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) SetPath

func (o *InfoJobAttemptArtifactParams) SetPath(path string)

SetPath adds the path to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) SetSpace

func (o *InfoJobAttemptArtifactParams) SetSpace(space *string)

SetSpace adds the space to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) SetTimeout

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

SetTimeout adds the timeout to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) WithContext

WithContext adds the context to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) WithDefaults

WithDefaults hydrates default values in the info job attempt artifact params (not the query body).

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

func (*InfoJobAttemptArtifactParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) WithJobAttempt

func (o *InfoJobAttemptArtifactParams) WithJobAttempt(jobAttempt int64) *InfoJobAttemptArtifactParams

WithJobAttempt adds the jobAttempt to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) WithJobName

WithJobName adds the jobName to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) WithOrgName

WithOrgName adds the orgName to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) WithPath

WithPath adds the path to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) WithSpace

WithSpace adds the space to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) WithTimeout

WithTimeout adds the timeout to the info job attempt artifact params

func (*InfoJobAttemptArtifactParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InfoJobAttemptArtifactReader

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

InfoJobAttemptArtifactReader is a Reader for the InfoJobAttemptArtifact structure.

func (*InfoJobAttemptArtifactReader) ReadResponse

func (o *InfoJobAttemptArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type InfoJobAttemptArtifactUnauthorized

type InfoJobAttemptArtifactUnauthorized struct {
	Payload *models.ErrorResponse
}

InfoJobAttemptArtifactUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewInfoJobAttemptArtifactUnauthorized

func NewInfoJobAttemptArtifactUnauthorized() *InfoJobAttemptArtifactUnauthorized

NewInfoJobAttemptArtifactUnauthorized creates a InfoJobAttemptArtifactUnauthorized with default headers values

func (*InfoJobAttemptArtifactUnauthorized) Code

Code gets the status code for the info job attempt artifact unauthorized response

func (*InfoJobAttemptArtifactUnauthorized) Error

func (*InfoJobAttemptArtifactUnauthorized) GetPayload

func (*InfoJobAttemptArtifactUnauthorized) IsClientError

func (o *InfoJobAttemptArtifactUnauthorized) IsClientError() bool

IsClientError returns true when this info job attempt artifact unauthorized response has a 4xx status code

func (*InfoJobAttemptArtifactUnauthorized) IsCode

IsCode returns true when this info job attempt artifact unauthorized response a status code equal to that given

func (*InfoJobAttemptArtifactUnauthorized) IsRedirect

func (o *InfoJobAttemptArtifactUnauthorized) IsRedirect() bool

IsRedirect returns true when this info job attempt artifact unauthorized response has a 3xx status code

func (*InfoJobAttemptArtifactUnauthorized) IsServerError

func (o *InfoJobAttemptArtifactUnauthorized) IsServerError() bool

IsServerError returns true when this info job attempt artifact unauthorized response has a 5xx status code

func (*InfoJobAttemptArtifactUnauthorized) IsSuccess

IsSuccess returns true when this info job attempt artifact unauthorized response has a 2xx status code

func (*InfoJobAttemptArtifactUnauthorized) String

type ListJobAttemptArtifactsBadRequest

type ListJobAttemptArtifactsBadRequest struct {
	Payload *models.ErrorResponse
}

ListJobAttemptArtifactsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewListJobAttemptArtifactsBadRequest

func NewListJobAttemptArtifactsBadRequest() *ListJobAttemptArtifactsBadRequest

NewListJobAttemptArtifactsBadRequest creates a ListJobAttemptArtifactsBadRequest with default headers values

func (*ListJobAttemptArtifactsBadRequest) Code

Code gets the status code for the list job attempt artifacts bad request response

func (*ListJobAttemptArtifactsBadRequest) Error

func (*ListJobAttemptArtifactsBadRequest) GetPayload

func (*ListJobAttemptArtifactsBadRequest) IsClientError

func (o *ListJobAttemptArtifactsBadRequest) IsClientError() bool

IsClientError returns true when this list job attempt artifacts bad request response has a 4xx status code

func (*ListJobAttemptArtifactsBadRequest) IsCode

func (o *ListJobAttemptArtifactsBadRequest) IsCode(code int) bool

IsCode returns true when this list job attempt artifacts bad request response a status code equal to that given

func (*ListJobAttemptArtifactsBadRequest) IsRedirect

func (o *ListJobAttemptArtifactsBadRequest) IsRedirect() bool

IsRedirect returns true when this list job attempt artifacts bad request response has a 3xx status code

func (*ListJobAttemptArtifactsBadRequest) IsServerError

func (o *ListJobAttemptArtifactsBadRequest) IsServerError() bool

IsServerError returns true when this list job attempt artifacts bad request response has a 5xx status code

func (*ListJobAttemptArtifactsBadRequest) IsSuccess

func (o *ListJobAttemptArtifactsBadRequest) IsSuccess() bool

IsSuccess returns true when this list job attempt artifacts bad request response has a 2xx status code

func (*ListJobAttemptArtifactsBadRequest) String

type ListJobAttemptArtifactsInternalServerError

type ListJobAttemptArtifactsInternalServerError struct {
	Payload *models.ErrorResponse
}

ListJobAttemptArtifactsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewListJobAttemptArtifactsInternalServerError

func NewListJobAttemptArtifactsInternalServerError() *ListJobAttemptArtifactsInternalServerError

NewListJobAttemptArtifactsInternalServerError creates a ListJobAttemptArtifactsInternalServerError with default headers values

func (*ListJobAttemptArtifactsInternalServerError) Code

Code gets the status code for the list job attempt artifacts internal server error response

func (*ListJobAttemptArtifactsInternalServerError) Error

func (*ListJobAttemptArtifactsInternalServerError) GetPayload

func (*ListJobAttemptArtifactsInternalServerError) IsClientError

IsClientError returns true when this list job attempt artifacts internal server error response has a 4xx status code

func (*ListJobAttemptArtifactsInternalServerError) IsCode

IsCode returns true when this list job attempt artifacts internal server error response a status code equal to that given

func (*ListJobAttemptArtifactsInternalServerError) IsRedirect

IsRedirect returns true when this list job attempt artifacts internal server error response has a 3xx status code

func (*ListJobAttemptArtifactsInternalServerError) IsServerError

IsServerError returns true when this list job attempt artifacts internal server error response has a 5xx status code

func (*ListJobAttemptArtifactsInternalServerError) IsSuccess

IsSuccess returns true when this list job attempt artifacts internal server error response has a 2xx status code

func (*ListJobAttemptArtifactsInternalServerError) String

type ListJobAttemptArtifactsNotFound

type ListJobAttemptArtifactsNotFound struct {
	Payload *models.ErrorResponse
}

ListJobAttemptArtifactsNotFound describes a response with status code 404, with default header values.

Not Found

func NewListJobAttemptArtifactsNotFound

func NewListJobAttemptArtifactsNotFound() *ListJobAttemptArtifactsNotFound

NewListJobAttemptArtifactsNotFound creates a ListJobAttemptArtifactsNotFound with default headers values

func (*ListJobAttemptArtifactsNotFound) Code

Code gets the status code for the list job attempt artifacts not found response

func (*ListJobAttemptArtifactsNotFound) Error

func (*ListJobAttemptArtifactsNotFound) GetPayload

func (*ListJobAttemptArtifactsNotFound) IsClientError

func (o *ListJobAttemptArtifactsNotFound) IsClientError() bool

IsClientError returns true when this list job attempt artifacts not found response has a 4xx status code

func (*ListJobAttemptArtifactsNotFound) IsCode

func (o *ListJobAttemptArtifactsNotFound) IsCode(code int) bool

IsCode returns true when this list job attempt artifacts not found response a status code equal to that given

func (*ListJobAttemptArtifactsNotFound) IsRedirect

func (o *ListJobAttemptArtifactsNotFound) IsRedirect() bool

IsRedirect returns true when this list job attempt artifacts not found response has a 3xx status code

func (*ListJobAttemptArtifactsNotFound) IsServerError

func (o *ListJobAttemptArtifactsNotFound) IsServerError() bool

IsServerError returns true when this list job attempt artifacts not found response has a 5xx status code

func (*ListJobAttemptArtifactsNotFound) IsSuccess

func (o *ListJobAttemptArtifactsNotFound) IsSuccess() bool

IsSuccess returns true when this list job attempt artifacts not found response has a 2xx status code

func (*ListJobAttemptArtifactsNotFound) String

type ListJobAttemptArtifactsOK

type ListJobAttemptArtifactsOK struct {
	Payload []*models.JobArtifact
}

ListJobAttemptArtifactsOK describes a response with status code 200, with default header values.

OK

func NewListJobAttemptArtifactsOK

func NewListJobAttemptArtifactsOK() *ListJobAttemptArtifactsOK

NewListJobAttemptArtifactsOK creates a ListJobAttemptArtifactsOK with default headers values

func (*ListJobAttemptArtifactsOK) Code

func (o *ListJobAttemptArtifactsOK) Code() int

Code gets the status code for the list job attempt artifacts o k response

func (*ListJobAttemptArtifactsOK) Error

func (o *ListJobAttemptArtifactsOK) Error() string

func (*ListJobAttemptArtifactsOK) GetPayload

func (o *ListJobAttemptArtifactsOK) GetPayload() []*models.JobArtifact

func (*ListJobAttemptArtifactsOK) IsClientError

func (o *ListJobAttemptArtifactsOK) IsClientError() bool

IsClientError returns true when this list job attempt artifacts o k response has a 4xx status code

func (*ListJobAttemptArtifactsOK) IsCode

func (o *ListJobAttemptArtifactsOK) IsCode(code int) bool

IsCode returns true when this list job attempt artifacts o k response a status code equal to that given

func (*ListJobAttemptArtifactsOK) IsRedirect

func (o *ListJobAttemptArtifactsOK) IsRedirect() bool

IsRedirect returns true when this list job attempt artifacts o k response has a 3xx status code

func (*ListJobAttemptArtifactsOK) IsServerError

func (o *ListJobAttemptArtifactsOK) IsServerError() bool

IsServerError returns true when this list job attempt artifacts o k response has a 5xx status code

func (*ListJobAttemptArtifactsOK) IsSuccess

func (o *ListJobAttemptArtifactsOK) IsSuccess() bool

IsSuccess returns true when this list job attempt artifacts o k response has a 2xx status code

func (*ListJobAttemptArtifactsOK) String

func (o *ListJobAttemptArtifactsOK) String() string

type ListJobAttemptArtifactsParams

type ListJobAttemptArtifactsParams struct {

	/* JobAttempt.

	   Job Attempt ID
	*/
	JobAttempt int64

	/* JobName.

	   Job Name
	*/
	JobName string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* Space.

	   Filter by artifact space, one of 'user' or 'system' (by default there is no filter)
	*/
	Space *string

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

ListJobAttemptArtifactsParams contains all the parameters to send to the API endpoint

for the list job attempt artifacts operation.

Typically these are written to a http.Request.

func NewListJobAttemptArtifactsParams

func NewListJobAttemptArtifactsParams() *ListJobAttemptArtifactsParams

NewListJobAttemptArtifactsParams creates a new ListJobAttemptArtifactsParams 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 NewListJobAttemptArtifactsParamsWithContext

func NewListJobAttemptArtifactsParamsWithContext(ctx context.Context) *ListJobAttemptArtifactsParams

NewListJobAttemptArtifactsParamsWithContext creates a new ListJobAttemptArtifactsParams object with the ability to set a context for a request.

func NewListJobAttemptArtifactsParamsWithHTTPClient

func NewListJobAttemptArtifactsParamsWithHTTPClient(client *http.Client) *ListJobAttemptArtifactsParams

NewListJobAttemptArtifactsParamsWithHTTPClient creates a new ListJobAttemptArtifactsParams object with the ability to set a custom HTTPClient for a request.

func NewListJobAttemptArtifactsParamsWithTimeout

func NewListJobAttemptArtifactsParamsWithTimeout(timeout time.Duration) *ListJobAttemptArtifactsParams

NewListJobAttemptArtifactsParamsWithTimeout creates a new ListJobAttemptArtifactsParams object with the ability to set a timeout on a request.

func (*ListJobAttemptArtifactsParams) SetContext

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

SetContext adds the context to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) SetDefaults

func (o *ListJobAttemptArtifactsParams) SetDefaults()

SetDefaults hydrates default values in the list job attempt artifacts params (not the query body).

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

func (*ListJobAttemptArtifactsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) SetJobAttempt

func (o *ListJobAttemptArtifactsParams) SetJobAttempt(jobAttempt int64)

SetJobAttempt adds the jobAttempt to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) SetJobName

func (o *ListJobAttemptArtifactsParams) SetJobName(jobName string)

SetJobName adds the jobName to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) SetOrgName

func (o *ListJobAttemptArtifactsParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) SetSpace

func (o *ListJobAttemptArtifactsParams) SetSpace(space *string)

SetSpace adds the space to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) SetTimeout

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

SetTimeout adds the timeout to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) WithContext

WithContext adds the context to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) WithDefaults

WithDefaults hydrates default values in the list job attempt artifacts params (not the query body).

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

func (*ListJobAttemptArtifactsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) WithJobAttempt

func (o *ListJobAttemptArtifactsParams) WithJobAttempt(jobAttempt int64) *ListJobAttemptArtifactsParams

WithJobAttempt adds the jobAttempt to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) WithJobName

WithJobName adds the jobName to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) WithOrgName

WithOrgName adds the orgName to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) WithSpace

WithSpace adds the space to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) WithTimeout

WithTimeout adds the timeout to the list job attempt artifacts params

func (*ListJobAttemptArtifactsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListJobAttemptArtifactsReader

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

ListJobAttemptArtifactsReader is a Reader for the ListJobAttemptArtifacts structure.

func (*ListJobAttemptArtifactsReader) ReadResponse

func (o *ListJobAttemptArtifactsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListJobAttemptArtifactsUnauthorized

type ListJobAttemptArtifactsUnauthorized struct {
	Payload *models.ErrorResponse
}

ListJobAttemptArtifactsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListJobAttemptArtifactsUnauthorized

func NewListJobAttemptArtifactsUnauthorized() *ListJobAttemptArtifactsUnauthorized

NewListJobAttemptArtifactsUnauthorized creates a ListJobAttemptArtifactsUnauthorized with default headers values

func (*ListJobAttemptArtifactsUnauthorized) Code

Code gets the status code for the list job attempt artifacts unauthorized response

func (*ListJobAttemptArtifactsUnauthorized) Error

func (*ListJobAttemptArtifactsUnauthorized) GetPayload

func (*ListJobAttemptArtifactsUnauthorized) IsClientError

func (o *ListJobAttemptArtifactsUnauthorized) IsClientError() bool

IsClientError returns true when this list job attempt artifacts unauthorized response has a 4xx status code

func (*ListJobAttemptArtifactsUnauthorized) IsCode

IsCode returns true when this list job attempt artifacts unauthorized response a status code equal to that given

func (*ListJobAttemptArtifactsUnauthorized) IsRedirect

func (o *ListJobAttemptArtifactsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list job attempt artifacts unauthorized response has a 3xx status code

func (*ListJobAttemptArtifactsUnauthorized) IsServerError

func (o *ListJobAttemptArtifactsUnauthorized) IsServerError() bool

IsServerError returns true when this list job attempt artifacts unauthorized response has a 5xx status code

func (*ListJobAttemptArtifactsUnauthorized) IsSuccess

IsSuccess returns true when this list job attempt artifacts unauthorized response has a 2xx status code

func (*ListJobAttemptArtifactsUnauthorized) String

type UploadJobAttemptArtifactBadRequest

type UploadJobAttemptArtifactBadRequest struct {
	Payload *models.ErrorResponse
}

UploadJobAttemptArtifactBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUploadJobAttemptArtifactBadRequest

func NewUploadJobAttemptArtifactBadRequest() *UploadJobAttemptArtifactBadRequest

NewUploadJobAttemptArtifactBadRequest creates a UploadJobAttemptArtifactBadRequest with default headers values

func (*UploadJobAttemptArtifactBadRequest) Code

Code gets the status code for the upload job attempt artifact bad request response

func (*UploadJobAttemptArtifactBadRequest) Error

func (*UploadJobAttemptArtifactBadRequest) GetPayload

func (*UploadJobAttemptArtifactBadRequest) IsClientError

func (o *UploadJobAttemptArtifactBadRequest) IsClientError() bool

IsClientError returns true when this upload job attempt artifact bad request response has a 4xx status code

func (*UploadJobAttemptArtifactBadRequest) IsCode

IsCode returns true when this upload job attempt artifact bad request response a status code equal to that given

func (*UploadJobAttemptArtifactBadRequest) IsRedirect

func (o *UploadJobAttemptArtifactBadRequest) IsRedirect() bool

IsRedirect returns true when this upload job attempt artifact bad request response has a 3xx status code

func (*UploadJobAttemptArtifactBadRequest) IsServerError

func (o *UploadJobAttemptArtifactBadRequest) IsServerError() bool

IsServerError returns true when this upload job attempt artifact bad request response has a 5xx status code

func (*UploadJobAttemptArtifactBadRequest) IsSuccess

IsSuccess returns true when this upload job attempt artifact bad request response has a 2xx status code

func (*UploadJobAttemptArtifactBadRequest) String

type UploadJobAttemptArtifactInternalServerError

type UploadJobAttemptArtifactInternalServerError struct {
	Payload *models.ErrorResponse
}

UploadJobAttemptArtifactInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUploadJobAttemptArtifactInternalServerError

func NewUploadJobAttemptArtifactInternalServerError() *UploadJobAttemptArtifactInternalServerError

NewUploadJobAttemptArtifactInternalServerError creates a UploadJobAttemptArtifactInternalServerError with default headers values

func (*UploadJobAttemptArtifactInternalServerError) Code

Code gets the status code for the upload job attempt artifact internal server error response

func (*UploadJobAttemptArtifactInternalServerError) Error

func (*UploadJobAttemptArtifactInternalServerError) GetPayload

func (*UploadJobAttemptArtifactInternalServerError) IsClientError

IsClientError returns true when this upload job attempt artifact internal server error response has a 4xx status code

func (*UploadJobAttemptArtifactInternalServerError) IsCode

IsCode returns true when this upload job attempt artifact internal server error response a status code equal to that given

func (*UploadJobAttemptArtifactInternalServerError) IsRedirect

IsRedirect returns true when this upload job attempt artifact internal server error response has a 3xx status code

func (*UploadJobAttemptArtifactInternalServerError) IsServerError

IsServerError returns true when this upload job attempt artifact internal server error response has a 5xx status code

func (*UploadJobAttemptArtifactInternalServerError) IsSuccess

IsSuccess returns true when this upload job attempt artifact internal server error response has a 2xx status code

func (*UploadJobAttemptArtifactInternalServerError) String

type UploadJobAttemptArtifactOK

type UploadJobAttemptArtifactOK struct {
	Payload models.EmptyResponse
}

UploadJobAttemptArtifactOK describes a response with status code 200, with default header values.

OK

func NewUploadJobAttemptArtifactOK

func NewUploadJobAttemptArtifactOK() *UploadJobAttemptArtifactOK

NewUploadJobAttemptArtifactOK creates a UploadJobAttemptArtifactOK with default headers values

func (*UploadJobAttemptArtifactOK) Code

func (o *UploadJobAttemptArtifactOK) Code() int

Code gets the status code for the upload job attempt artifact o k response

func (*UploadJobAttemptArtifactOK) Error

func (*UploadJobAttemptArtifactOK) GetPayload

func (*UploadJobAttemptArtifactOK) IsClientError

func (o *UploadJobAttemptArtifactOK) IsClientError() bool

IsClientError returns true when this upload job attempt artifact o k response has a 4xx status code

func (*UploadJobAttemptArtifactOK) IsCode

func (o *UploadJobAttemptArtifactOK) IsCode(code int) bool

IsCode returns true when this upload job attempt artifact o k response a status code equal to that given

func (*UploadJobAttemptArtifactOK) IsRedirect

func (o *UploadJobAttemptArtifactOK) IsRedirect() bool

IsRedirect returns true when this upload job attempt artifact o k response has a 3xx status code

func (*UploadJobAttemptArtifactOK) IsServerError

func (o *UploadJobAttemptArtifactOK) IsServerError() bool

IsServerError returns true when this upload job attempt artifact o k response has a 5xx status code

func (*UploadJobAttemptArtifactOK) IsSuccess

func (o *UploadJobAttemptArtifactOK) IsSuccess() bool

IsSuccess returns true when this upload job attempt artifact o k response has a 2xx status code

func (*UploadJobAttemptArtifactOK) String

func (o *UploadJobAttemptArtifactOK) String() string

type UploadJobAttemptArtifactParams

type UploadJobAttemptArtifactParams struct {

	/* Artifact.

	   Artifact File
	*/
	Artifact runtime.NamedReadCloser

	/* ChecksumSHA256.

	   A base64-encoded, 256-bit SHA-256 digest of the artifact
	*/
	ChecksumSHA256 *string

	/* JobAttempt.

	   Job Attempt ID
	*/
	JobAttempt int64

	/* JobExecution.

	   Job Execution ID
	*/
	JobExecution *int64

	/* JobName.

	   Job Name
	*/
	JobName string

	/* Metadata.

	   A json-encoded, map of metadata to store with the artifact
	*/
	Metadata *string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* Path.

	   Artifact Path
	*/
	Path string

	/* Space.

	   Artifact space, one of 'user' or 'system' (by default 'user')
	*/
	Space *string

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

UploadJobAttemptArtifactParams contains all the parameters to send to the API endpoint

for the upload job attempt artifact operation.

Typically these are written to a http.Request.

func NewUploadJobAttemptArtifactParams

func NewUploadJobAttemptArtifactParams() *UploadJobAttemptArtifactParams

NewUploadJobAttemptArtifactParams creates a new UploadJobAttemptArtifactParams 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 NewUploadJobAttemptArtifactParamsWithContext

func NewUploadJobAttemptArtifactParamsWithContext(ctx context.Context) *UploadJobAttemptArtifactParams

NewUploadJobAttemptArtifactParamsWithContext creates a new UploadJobAttemptArtifactParams object with the ability to set a context for a request.

func NewUploadJobAttemptArtifactParamsWithHTTPClient

func NewUploadJobAttemptArtifactParamsWithHTTPClient(client *http.Client) *UploadJobAttemptArtifactParams

NewUploadJobAttemptArtifactParamsWithHTTPClient creates a new UploadJobAttemptArtifactParams object with the ability to set a custom HTTPClient for a request.

func NewUploadJobAttemptArtifactParamsWithTimeout

func NewUploadJobAttemptArtifactParamsWithTimeout(timeout time.Duration) *UploadJobAttemptArtifactParams

NewUploadJobAttemptArtifactParamsWithTimeout creates a new UploadJobAttemptArtifactParams object with the ability to set a timeout on a request.

func (*UploadJobAttemptArtifactParams) SetArtifact

func (o *UploadJobAttemptArtifactParams) SetArtifact(artifact runtime.NamedReadCloser)

SetArtifact adds the artifact to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) SetChecksumSHA256

func (o *UploadJobAttemptArtifactParams) SetChecksumSHA256(checksumSHA256 *string)

SetChecksumSHA256 adds the checksumSHA256 to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) SetContext

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

SetContext adds the context to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) SetDefaults

func (o *UploadJobAttemptArtifactParams) SetDefaults()

SetDefaults hydrates default values in the upload job attempt artifact params (not the query body).

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

func (*UploadJobAttemptArtifactParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) SetJobAttempt

func (o *UploadJobAttemptArtifactParams) SetJobAttempt(jobAttempt int64)

SetJobAttempt adds the jobAttempt to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) SetJobExecution

func (o *UploadJobAttemptArtifactParams) SetJobExecution(jobExecution *int64)

SetJobExecution adds the jobExecution to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) SetJobName

func (o *UploadJobAttemptArtifactParams) SetJobName(jobName string)

SetJobName adds the jobName to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) SetMetadata

func (o *UploadJobAttemptArtifactParams) SetMetadata(metadata *string)

SetMetadata adds the metadata to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) SetOrgName

func (o *UploadJobAttemptArtifactParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) SetPath

func (o *UploadJobAttemptArtifactParams) SetPath(path string)

SetPath adds the path to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) SetSpace

func (o *UploadJobAttemptArtifactParams) SetSpace(space *string)

SetSpace adds the space to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) SetTimeout

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

SetTimeout adds the timeout to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithArtifact

WithArtifact adds the artifact to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithChecksumSHA256

func (o *UploadJobAttemptArtifactParams) WithChecksumSHA256(checksumSHA256 *string) *UploadJobAttemptArtifactParams

WithChecksumSHA256 adds the checksumSHA256 to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithContext

WithContext adds the context to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithDefaults

WithDefaults hydrates default values in the upload job attempt artifact params (not the query body).

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

func (*UploadJobAttemptArtifactParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithJobAttempt

WithJobAttempt adds the jobAttempt to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithJobExecution

func (o *UploadJobAttemptArtifactParams) WithJobExecution(jobExecution *int64) *UploadJobAttemptArtifactParams

WithJobExecution adds the jobExecution to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithJobName

WithJobName adds the jobName to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithMetadata

WithMetadata adds the metadata to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithOrgName

WithOrgName adds the orgName to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithPath

WithPath adds the path to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithSpace

WithSpace adds the space to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WithTimeout

WithTimeout adds the timeout to the upload job attempt artifact params

func (*UploadJobAttemptArtifactParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadJobAttemptArtifactReader

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

UploadJobAttemptArtifactReader is a Reader for the UploadJobAttemptArtifact structure.

func (*UploadJobAttemptArtifactReader) ReadResponse

func (o *UploadJobAttemptArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UploadJobAttemptArtifactRequestEntityTooLarge

type UploadJobAttemptArtifactRequestEntityTooLarge struct {
	Payload *models.ErrorResponse
}

UploadJobAttemptArtifactRequestEntityTooLarge describes a response with status code 413, with default header values.

Request Entity Too Large

func NewUploadJobAttemptArtifactRequestEntityTooLarge

func NewUploadJobAttemptArtifactRequestEntityTooLarge() *UploadJobAttemptArtifactRequestEntityTooLarge

NewUploadJobAttemptArtifactRequestEntityTooLarge creates a UploadJobAttemptArtifactRequestEntityTooLarge with default headers values

func (*UploadJobAttemptArtifactRequestEntityTooLarge) Code

Code gets the status code for the upload job attempt artifact request entity too large response

func (*UploadJobAttemptArtifactRequestEntityTooLarge) Error

func (*UploadJobAttemptArtifactRequestEntityTooLarge) GetPayload

func (*UploadJobAttemptArtifactRequestEntityTooLarge) IsClientError

IsClientError returns true when this upload job attempt artifact request entity too large response has a 4xx status code

func (*UploadJobAttemptArtifactRequestEntityTooLarge) IsCode

IsCode returns true when this upload job attempt artifact request entity too large response a status code equal to that given

func (*UploadJobAttemptArtifactRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this upload job attempt artifact request entity too large response has a 3xx status code

func (*UploadJobAttemptArtifactRequestEntityTooLarge) IsServerError

IsServerError returns true when this upload job attempt artifact request entity too large response has a 5xx status code

func (*UploadJobAttemptArtifactRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this upload job attempt artifact request entity too large response has a 2xx status code

func (*UploadJobAttemptArtifactRequestEntityTooLarge) String

type UploadJobAttemptArtifactUnauthorized

type UploadJobAttemptArtifactUnauthorized struct {
	Payload *models.ErrorResponse
}

UploadJobAttemptArtifactUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUploadJobAttemptArtifactUnauthorized

func NewUploadJobAttemptArtifactUnauthorized() *UploadJobAttemptArtifactUnauthorized

NewUploadJobAttemptArtifactUnauthorized creates a UploadJobAttemptArtifactUnauthorized with default headers values

func (*UploadJobAttemptArtifactUnauthorized) Code

Code gets the status code for the upload job attempt artifact unauthorized response

func (*UploadJobAttemptArtifactUnauthorized) Error

func (*UploadJobAttemptArtifactUnauthorized) GetPayload

func (*UploadJobAttemptArtifactUnauthorized) IsClientError

func (o *UploadJobAttemptArtifactUnauthorized) IsClientError() bool

IsClientError returns true when this upload job attempt artifact unauthorized response has a 4xx status code

func (*UploadJobAttemptArtifactUnauthorized) IsCode

IsCode returns true when this upload job attempt artifact unauthorized response a status code equal to that given

func (*UploadJobAttemptArtifactUnauthorized) IsRedirect

IsRedirect returns true when this upload job attempt artifact unauthorized response has a 3xx status code

func (*UploadJobAttemptArtifactUnauthorized) IsServerError

func (o *UploadJobAttemptArtifactUnauthorized) IsServerError() bool

IsServerError returns true when this upload job attempt artifact unauthorized response has a 5xx status code

func (*UploadJobAttemptArtifactUnauthorized) IsSuccess

IsSuccess returns true when this upload job attempt artifact unauthorized response has a 2xx status code

func (*UploadJobAttemptArtifactUnauthorized) String

Jump to

Keyboard shortcuts

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