Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptStarStar(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
- type Client
- func (a *Client) DownloadJobAttemptArtifact(params *DownloadJobAttemptArtifactParams, ...) (*DownloadJobAttemptArtifactOK, *DownloadJobAttemptArtifactPartialContent, ...)
- func (a *Client) InfoJobAttemptArtifact(params *InfoJobAttemptArtifactParams, authInfo runtime.ClientAuthInfoWriter, ...) (*InfoJobAttemptArtifactOK, error)
- func (a *Client) ListJobAttemptArtifacts(params *ListJobAttemptArtifactsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListJobAttemptArtifactsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadJobAttemptArtifact(params *UploadJobAttemptArtifactParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadJobAttemptArtifactOK, error)
- type ClientOption
- type ClientService
- type DownloadJobAttemptArtifactBadRequest
- func (o *DownloadJobAttemptArtifactBadRequest) Code() int
- func (o *DownloadJobAttemptArtifactBadRequest) Error() string
- func (o *DownloadJobAttemptArtifactBadRequest) GetPayload() *models.ErrorResponse
- func (o *DownloadJobAttemptArtifactBadRequest) IsClientError() bool
- func (o *DownloadJobAttemptArtifactBadRequest) IsCode(code int) bool
- func (o *DownloadJobAttemptArtifactBadRequest) IsRedirect() bool
- func (o *DownloadJobAttemptArtifactBadRequest) IsServerError() bool
- func (o *DownloadJobAttemptArtifactBadRequest) IsSuccess() bool
- func (o *DownloadJobAttemptArtifactBadRequest) String() string
- type DownloadJobAttemptArtifactInternalServerError
- func (o *DownloadJobAttemptArtifactInternalServerError) Code() int
- func (o *DownloadJobAttemptArtifactInternalServerError) Error() string
- func (o *DownloadJobAttemptArtifactInternalServerError) GetPayload() *models.ErrorResponse
- func (o *DownloadJobAttemptArtifactInternalServerError) IsClientError() bool
- func (o *DownloadJobAttemptArtifactInternalServerError) IsCode(code int) bool
- func (o *DownloadJobAttemptArtifactInternalServerError) IsRedirect() bool
- func (o *DownloadJobAttemptArtifactInternalServerError) IsServerError() bool
- func (o *DownloadJobAttemptArtifactInternalServerError) IsSuccess() bool
- func (o *DownloadJobAttemptArtifactInternalServerError) String() string
- type DownloadJobAttemptArtifactNotFound
- func (o *DownloadJobAttemptArtifactNotFound) Code() int
- func (o *DownloadJobAttemptArtifactNotFound) Error() string
- func (o *DownloadJobAttemptArtifactNotFound) GetPayload() *models.ErrorResponse
- func (o *DownloadJobAttemptArtifactNotFound) IsClientError() bool
- func (o *DownloadJobAttemptArtifactNotFound) IsCode(code int) bool
- func (o *DownloadJobAttemptArtifactNotFound) IsRedirect() bool
- func (o *DownloadJobAttemptArtifactNotFound) IsServerError() bool
- func (o *DownloadJobAttemptArtifactNotFound) IsSuccess() bool
- func (o *DownloadJobAttemptArtifactNotFound) String() string
- type DownloadJobAttemptArtifactOK
- func (o *DownloadJobAttemptArtifactOK) Code() int
- func (o *DownloadJobAttemptArtifactOK) Error() string
- func (o *DownloadJobAttemptArtifactOK) GetPayload() io.Writer
- func (o *DownloadJobAttemptArtifactOK) IsClientError() bool
- func (o *DownloadJobAttemptArtifactOK) IsCode(code int) bool
- func (o *DownloadJobAttemptArtifactOK) IsRedirect() bool
- func (o *DownloadJobAttemptArtifactOK) IsServerError() bool
- func (o *DownloadJobAttemptArtifactOK) IsSuccess() bool
- func (o *DownloadJobAttemptArtifactOK) String() string
- type DownloadJobAttemptArtifactParams
- func NewDownloadJobAttemptArtifactParams() *DownloadJobAttemptArtifactParams
- func NewDownloadJobAttemptArtifactParamsWithContext(ctx context.Context) *DownloadJobAttemptArtifactParams
- func NewDownloadJobAttemptArtifactParamsWithHTTPClient(client *http.Client) *DownloadJobAttemptArtifactParams
- func NewDownloadJobAttemptArtifactParamsWithTimeout(timeout time.Duration) *DownloadJobAttemptArtifactParams
- func (o *DownloadJobAttemptArtifactParams) SetContext(ctx context.Context)
- func (o *DownloadJobAttemptArtifactParams) SetDefaults()
- func (o *DownloadJobAttemptArtifactParams) SetHTTPClient(client *http.Client)
- func (o *DownloadJobAttemptArtifactParams) SetJobAttempt(jobAttempt int64)
- func (o *DownloadJobAttemptArtifactParams) SetJobName(jobName string)
- func (o *DownloadJobAttemptArtifactParams) SetOrgName(orgName string)
- func (o *DownloadJobAttemptArtifactParams) SetPath(path string)
- func (o *DownloadJobAttemptArtifactParams) SetRange(rangeVar *string)
- func (o *DownloadJobAttemptArtifactParams) SetSpace(space *string)
- func (o *DownloadJobAttemptArtifactParams) SetTimeout(timeout time.Duration)
- func (o *DownloadJobAttemptArtifactParams) WithContext(ctx context.Context) *DownloadJobAttemptArtifactParams
- func (o *DownloadJobAttemptArtifactParams) WithDefaults() *DownloadJobAttemptArtifactParams
- func (o *DownloadJobAttemptArtifactParams) WithHTTPClient(client *http.Client) *DownloadJobAttemptArtifactParams
- func (o *DownloadJobAttemptArtifactParams) WithJobAttempt(jobAttempt int64) *DownloadJobAttemptArtifactParams
- func (o *DownloadJobAttemptArtifactParams) WithJobName(jobName string) *DownloadJobAttemptArtifactParams
- func (o *DownloadJobAttemptArtifactParams) WithOrgName(orgName string) *DownloadJobAttemptArtifactParams
- func (o *DownloadJobAttemptArtifactParams) WithPath(path string) *DownloadJobAttemptArtifactParams
- func (o *DownloadJobAttemptArtifactParams) WithRange(rangeVar *string) *DownloadJobAttemptArtifactParams
- func (o *DownloadJobAttemptArtifactParams) WithSpace(space *string) *DownloadJobAttemptArtifactParams
- func (o *DownloadJobAttemptArtifactParams) WithTimeout(timeout time.Duration) *DownloadJobAttemptArtifactParams
- func (o *DownloadJobAttemptArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadJobAttemptArtifactPartialContent
- func (o *DownloadJobAttemptArtifactPartialContent) Code() int
- func (o *DownloadJobAttemptArtifactPartialContent) Error() string
- func (o *DownloadJobAttemptArtifactPartialContent) GetPayload() io.Writer
- func (o *DownloadJobAttemptArtifactPartialContent) IsClientError() bool
- func (o *DownloadJobAttemptArtifactPartialContent) IsCode(code int) bool
- func (o *DownloadJobAttemptArtifactPartialContent) IsRedirect() bool
- func (o *DownloadJobAttemptArtifactPartialContent) IsServerError() bool
- func (o *DownloadJobAttemptArtifactPartialContent) IsSuccess() bool
- func (o *DownloadJobAttemptArtifactPartialContent) String() string
- type DownloadJobAttemptArtifactReader
- type DownloadJobAttemptArtifactUnauthorized
- func (o *DownloadJobAttemptArtifactUnauthorized) Code() int
- func (o *DownloadJobAttemptArtifactUnauthorized) Error() string
- func (o *DownloadJobAttemptArtifactUnauthorized) GetPayload() *models.ErrorResponse
- func (o *DownloadJobAttemptArtifactUnauthorized) IsClientError() bool
- func (o *DownloadJobAttemptArtifactUnauthorized) IsCode(code int) bool
- func (o *DownloadJobAttemptArtifactUnauthorized) IsRedirect() bool
- func (o *DownloadJobAttemptArtifactUnauthorized) IsServerError() bool
- func (o *DownloadJobAttemptArtifactUnauthorized) IsSuccess() bool
- func (o *DownloadJobAttemptArtifactUnauthorized) String() string
- type InfoJobAttemptArtifactBadRequest
- func (o *InfoJobAttemptArtifactBadRequest) Code() int
- func (o *InfoJobAttemptArtifactBadRequest) Error() string
- func (o *InfoJobAttemptArtifactBadRequest) GetPayload() *models.ErrorResponse
- func (o *InfoJobAttemptArtifactBadRequest) IsClientError() bool
- func (o *InfoJobAttemptArtifactBadRequest) IsCode(code int) bool
- func (o *InfoJobAttemptArtifactBadRequest) IsRedirect() bool
- func (o *InfoJobAttemptArtifactBadRequest) IsServerError() bool
- func (o *InfoJobAttemptArtifactBadRequest) IsSuccess() bool
- func (o *InfoJobAttemptArtifactBadRequest) String() string
- type InfoJobAttemptArtifactInternalServerError
- func (o *InfoJobAttemptArtifactInternalServerError) Code() int
- func (o *InfoJobAttemptArtifactInternalServerError) Error() string
- func (o *InfoJobAttemptArtifactInternalServerError) GetPayload() *models.ErrorResponse
- func (o *InfoJobAttemptArtifactInternalServerError) IsClientError() bool
- func (o *InfoJobAttemptArtifactInternalServerError) IsCode(code int) bool
- func (o *InfoJobAttemptArtifactInternalServerError) IsRedirect() bool
- func (o *InfoJobAttemptArtifactInternalServerError) IsServerError() bool
- func (o *InfoJobAttemptArtifactInternalServerError) IsSuccess() bool
- func (o *InfoJobAttemptArtifactInternalServerError) String() string
- type InfoJobAttemptArtifactNotFound
- func (o *InfoJobAttemptArtifactNotFound) Code() int
- func (o *InfoJobAttemptArtifactNotFound) Error() string
- func (o *InfoJobAttemptArtifactNotFound) GetPayload() *models.ErrorResponse
- func (o *InfoJobAttemptArtifactNotFound) IsClientError() bool
- func (o *InfoJobAttemptArtifactNotFound) IsCode(code int) bool
- func (o *InfoJobAttemptArtifactNotFound) IsRedirect() bool
- func (o *InfoJobAttemptArtifactNotFound) IsServerError() bool
- func (o *InfoJobAttemptArtifactNotFound) IsSuccess() bool
- func (o *InfoJobAttemptArtifactNotFound) String() string
- type InfoJobAttemptArtifactOK
- func (o *InfoJobAttemptArtifactOK) Code() int
- func (o *InfoJobAttemptArtifactOK) Error() string
- func (o *InfoJobAttemptArtifactOK) GetPayload() *models.JobArtifactInfo
- func (o *InfoJobAttemptArtifactOK) IsClientError() bool
- func (o *InfoJobAttemptArtifactOK) IsCode(code int) bool
- func (o *InfoJobAttemptArtifactOK) IsRedirect() bool
- func (o *InfoJobAttemptArtifactOK) IsServerError() bool
- func (o *InfoJobAttemptArtifactOK) IsSuccess() bool
- func (o *InfoJobAttemptArtifactOK) String() string
- type InfoJobAttemptArtifactParams
- func NewInfoJobAttemptArtifactParams() *InfoJobAttemptArtifactParams
- func NewInfoJobAttemptArtifactParamsWithContext(ctx context.Context) *InfoJobAttemptArtifactParams
- func NewInfoJobAttemptArtifactParamsWithHTTPClient(client *http.Client) *InfoJobAttemptArtifactParams
- func NewInfoJobAttemptArtifactParamsWithTimeout(timeout time.Duration) *InfoJobAttemptArtifactParams
- func (o *InfoJobAttemptArtifactParams) SetContext(ctx context.Context)
- func (o *InfoJobAttemptArtifactParams) SetDefaults()
- func (o *InfoJobAttemptArtifactParams) SetHTTPClient(client *http.Client)
- func (o *InfoJobAttemptArtifactParams) SetJobAttempt(jobAttempt int64)
- func (o *InfoJobAttemptArtifactParams) SetJobName(jobName string)
- func (o *InfoJobAttemptArtifactParams) SetOrgName(orgName string)
- func (o *InfoJobAttemptArtifactParams) SetPath(path string)
- func (o *InfoJobAttemptArtifactParams) SetSpace(space *string)
- func (o *InfoJobAttemptArtifactParams) SetTimeout(timeout time.Duration)
- func (o *InfoJobAttemptArtifactParams) WithContext(ctx context.Context) *InfoJobAttemptArtifactParams
- func (o *InfoJobAttemptArtifactParams) WithDefaults() *InfoJobAttemptArtifactParams
- func (o *InfoJobAttemptArtifactParams) WithHTTPClient(client *http.Client) *InfoJobAttemptArtifactParams
- func (o *InfoJobAttemptArtifactParams) WithJobAttempt(jobAttempt int64) *InfoJobAttemptArtifactParams
- func (o *InfoJobAttemptArtifactParams) WithJobName(jobName string) *InfoJobAttemptArtifactParams
- func (o *InfoJobAttemptArtifactParams) WithOrgName(orgName string) *InfoJobAttemptArtifactParams
- func (o *InfoJobAttemptArtifactParams) WithPath(path string) *InfoJobAttemptArtifactParams
- func (o *InfoJobAttemptArtifactParams) WithSpace(space *string) *InfoJobAttemptArtifactParams
- func (o *InfoJobAttemptArtifactParams) WithTimeout(timeout time.Duration) *InfoJobAttemptArtifactParams
- func (o *InfoJobAttemptArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InfoJobAttemptArtifactReader
- type InfoJobAttemptArtifactUnauthorized
- func (o *InfoJobAttemptArtifactUnauthorized) Code() int
- func (o *InfoJobAttemptArtifactUnauthorized) Error() string
- func (o *InfoJobAttemptArtifactUnauthorized) GetPayload() *models.ErrorResponse
- func (o *InfoJobAttemptArtifactUnauthorized) IsClientError() bool
- func (o *InfoJobAttemptArtifactUnauthorized) IsCode(code int) bool
- func (o *InfoJobAttemptArtifactUnauthorized) IsRedirect() bool
- func (o *InfoJobAttemptArtifactUnauthorized) IsServerError() bool
- func (o *InfoJobAttemptArtifactUnauthorized) IsSuccess() bool
- func (o *InfoJobAttemptArtifactUnauthorized) String() string
- type ListJobAttemptArtifactsBadRequest
- func (o *ListJobAttemptArtifactsBadRequest) Code() int
- func (o *ListJobAttemptArtifactsBadRequest) Error() string
- func (o *ListJobAttemptArtifactsBadRequest) GetPayload() *models.ErrorResponse
- func (o *ListJobAttemptArtifactsBadRequest) IsClientError() bool
- func (o *ListJobAttemptArtifactsBadRequest) IsCode(code int) bool
- func (o *ListJobAttemptArtifactsBadRequest) IsRedirect() bool
- func (o *ListJobAttemptArtifactsBadRequest) IsServerError() bool
- func (o *ListJobAttemptArtifactsBadRequest) IsSuccess() bool
- func (o *ListJobAttemptArtifactsBadRequest) String() string
- type ListJobAttemptArtifactsInternalServerError
- func (o *ListJobAttemptArtifactsInternalServerError) Code() int
- func (o *ListJobAttemptArtifactsInternalServerError) Error() string
- func (o *ListJobAttemptArtifactsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ListJobAttemptArtifactsInternalServerError) IsClientError() bool
- func (o *ListJobAttemptArtifactsInternalServerError) IsCode(code int) bool
- func (o *ListJobAttemptArtifactsInternalServerError) IsRedirect() bool
- func (o *ListJobAttemptArtifactsInternalServerError) IsServerError() bool
- func (o *ListJobAttemptArtifactsInternalServerError) IsSuccess() bool
- func (o *ListJobAttemptArtifactsInternalServerError) String() string
- type ListJobAttemptArtifactsNotFound
- func (o *ListJobAttemptArtifactsNotFound) Code() int
- func (o *ListJobAttemptArtifactsNotFound) Error() string
- func (o *ListJobAttemptArtifactsNotFound) GetPayload() *models.ErrorResponse
- func (o *ListJobAttemptArtifactsNotFound) IsClientError() bool
- func (o *ListJobAttemptArtifactsNotFound) IsCode(code int) bool
- func (o *ListJobAttemptArtifactsNotFound) IsRedirect() bool
- func (o *ListJobAttemptArtifactsNotFound) IsServerError() bool
- func (o *ListJobAttemptArtifactsNotFound) IsSuccess() bool
- func (o *ListJobAttemptArtifactsNotFound) String() string
- type ListJobAttemptArtifactsOK
- func (o *ListJobAttemptArtifactsOK) Code() int
- func (o *ListJobAttemptArtifactsOK) Error() string
- func (o *ListJobAttemptArtifactsOK) GetPayload() []*models.JobArtifact
- func (o *ListJobAttemptArtifactsOK) IsClientError() bool
- func (o *ListJobAttemptArtifactsOK) IsCode(code int) bool
- func (o *ListJobAttemptArtifactsOK) IsRedirect() bool
- func (o *ListJobAttemptArtifactsOK) IsServerError() bool
- func (o *ListJobAttemptArtifactsOK) IsSuccess() bool
- func (o *ListJobAttemptArtifactsOK) String() string
- type ListJobAttemptArtifactsParams
- func NewListJobAttemptArtifactsParams() *ListJobAttemptArtifactsParams
- func NewListJobAttemptArtifactsParamsWithContext(ctx context.Context) *ListJobAttemptArtifactsParams
- func NewListJobAttemptArtifactsParamsWithHTTPClient(client *http.Client) *ListJobAttemptArtifactsParams
- func NewListJobAttemptArtifactsParamsWithTimeout(timeout time.Duration) *ListJobAttemptArtifactsParams
- func (o *ListJobAttemptArtifactsParams) SetContext(ctx context.Context)
- func (o *ListJobAttemptArtifactsParams) SetDefaults()
- func (o *ListJobAttemptArtifactsParams) SetHTTPClient(client *http.Client)
- func (o *ListJobAttemptArtifactsParams) SetJobAttempt(jobAttempt int64)
- func (o *ListJobAttemptArtifactsParams) SetJobName(jobName string)
- func (o *ListJobAttemptArtifactsParams) SetOrgName(orgName string)
- func (o *ListJobAttemptArtifactsParams) SetSpace(space *string)
- func (o *ListJobAttemptArtifactsParams) SetTimeout(timeout time.Duration)
- func (o *ListJobAttemptArtifactsParams) WithContext(ctx context.Context) *ListJobAttemptArtifactsParams
- func (o *ListJobAttemptArtifactsParams) WithDefaults() *ListJobAttemptArtifactsParams
- func (o *ListJobAttemptArtifactsParams) WithHTTPClient(client *http.Client) *ListJobAttemptArtifactsParams
- func (o *ListJobAttemptArtifactsParams) WithJobAttempt(jobAttempt int64) *ListJobAttemptArtifactsParams
- func (o *ListJobAttemptArtifactsParams) WithJobName(jobName string) *ListJobAttemptArtifactsParams
- func (o *ListJobAttemptArtifactsParams) WithOrgName(orgName string) *ListJobAttemptArtifactsParams
- func (o *ListJobAttemptArtifactsParams) WithSpace(space *string) *ListJobAttemptArtifactsParams
- func (o *ListJobAttemptArtifactsParams) WithTimeout(timeout time.Duration) *ListJobAttemptArtifactsParams
- func (o *ListJobAttemptArtifactsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListJobAttemptArtifactsReader
- type ListJobAttemptArtifactsUnauthorized
- func (o *ListJobAttemptArtifactsUnauthorized) Code() int
- func (o *ListJobAttemptArtifactsUnauthorized) Error() string
- func (o *ListJobAttemptArtifactsUnauthorized) GetPayload() *models.ErrorResponse
- func (o *ListJobAttemptArtifactsUnauthorized) IsClientError() bool
- func (o *ListJobAttemptArtifactsUnauthorized) IsCode(code int) bool
- func (o *ListJobAttemptArtifactsUnauthorized) IsRedirect() bool
- func (o *ListJobAttemptArtifactsUnauthorized) IsServerError() bool
- func (o *ListJobAttemptArtifactsUnauthorized) IsSuccess() bool
- func (o *ListJobAttemptArtifactsUnauthorized) String() string
- type UploadJobAttemptArtifactBadRequest
- func (o *UploadJobAttemptArtifactBadRequest) Code() int
- func (o *UploadJobAttemptArtifactBadRequest) Error() string
- func (o *UploadJobAttemptArtifactBadRequest) GetPayload() *models.ErrorResponse
- func (o *UploadJobAttemptArtifactBadRequest) IsClientError() bool
- func (o *UploadJobAttemptArtifactBadRequest) IsCode(code int) bool
- func (o *UploadJobAttemptArtifactBadRequest) IsRedirect() bool
- func (o *UploadJobAttemptArtifactBadRequest) IsServerError() bool
- func (o *UploadJobAttemptArtifactBadRequest) IsSuccess() bool
- func (o *UploadJobAttemptArtifactBadRequest) String() string
- type UploadJobAttemptArtifactInternalServerError
- func (o *UploadJobAttemptArtifactInternalServerError) Code() int
- func (o *UploadJobAttemptArtifactInternalServerError) Error() string
- func (o *UploadJobAttemptArtifactInternalServerError) GetPayload() *models.ErrorResponse
- func (o *UploadJobAttemptArtifactInternalServerError) IsClientError() bool
- func (o *UploadJobAttemptArtifactInternalServerError) IsCode(code int) bool
- func (o *UploadJobAttemptArtifactInternalServerError) IsRedirect() bool
- func (o *UploadJobAttemptArtifactInternalServerError) IsServerError() bool
- func (o *UploadJobAttemptArtifactInternalServerError) IsSuccess() bool
- func (o *UploadJobAttemptArtifactInternalServerError) String() string
- type UploadJobAttemptArtifactOK
- func (o *UploadJobAttemptArtifactOK) Code() int
- func (o *UploadJobAttemptArtifactOK) Error() string
- func (o *UploadJobAttemptArtifactOK) GetPayload() models.EmptyResponse
- func (o *UploadJobAttemptArtifactOK) IsClientError() bool
- func (o *UploadJobAttemptArtifactOK) IsCode(code int) bool
- func (o *UploadJobAttemptArtifactOK) IsRedirect() bool
- func (o *UploadJobAttemptArtifactOK) IsServerError() bool
- func (o *UploadJobAttemptArtifactOK) IsSuccess() bool
- func (o *UploadJobAttemptArtifactOK) String() string
- type UploadJobAttemptArtifactParams
- func NewUploadJobAttemptArtifactParams() *UploadJobAttemptArtifactParams
- func NewUploadJobAttemptArtifactParamsWithContext(ctx context.Context) *UploadJobAttemptArtifactParams
- func NewUploadJobAttemptArtifactParamsWithHTTPClient(client *http.Client) *UploadJobAttemptArtifactParams
- func NewUploadJobAttemptArtifactParamsWithTimeout(timeout time.Duration) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) SetArtifact(artifact runtime.NamedReadCloser)
- func (o *UploadJobAttemptArtifactParams) SetChecksumSHA256(checksumSHA256 *string)
- func (o *UploadJobAttemptArtifactParams) SetContext(ctx context.Context)
- func (o *UploadJobAttemptArtifactParams) SetDefaults()
- func (o *UploadJobAttemptArtifactParams) SetHTTPClient(client *http.Client)
- func (o *UploadJobAttemptArtifactParams) SetJobAttempt(jobAttempt int64)
- func (o *UploadJobAttemptArtifactParams) SetJobExecution(jobExecution *int64)
- func (o *UploadJobAttemptArtifactParams) SetJobName(jobName string)
- func (o *UploadJobAttemptArtifactParams) SetMetadata(metadata *string)
- func (o *UploadJobAttemptArtifactParams) SetOrgName(orgName string)
- func (o *UploadJobAttemptArtifactParams) SetPath(path string)
- func (o *UploadJobAttemptArtifactParams) SetSpace(space *string)
- func (o *UploadJobAttemptArtifactParams) SetTimeout(timeout time.Duration)
- func (o *UploadJobAttemptArtifactParams) WithArtifact(artifact runtime.NamedReadCloser) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithChecksumSHA256(checksumSHA256 *string) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithContext(ctx context.Context) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithDefaults() *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithHTTPClient(client *http.Client) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithJobAttempt(jobAttempt int64) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithJobExecution(jobExecution *int64) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithJobName(jobName string) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithMetadata(metadata *string) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithOrgName(orgName string) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithPath(path string) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithSpace(space *string) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WithTimeout(timeout time.Duration) *UploadJobAttemptArtifactParams
- func (o *UploadJobAttemptArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadJobAttemptArtifactReader
- type UploadJobAttemptArtifactRequestEntityTooLarge
- func (o *UploadJobAttemptArtifactRequestEntityTooLarge) Code() int
- func (o *UploadJobAttemptArtifactRequestEntityTooLarge) Error() string
- func (o *UploadJobAttemptArtifactRequestEntityTooLarge) GetPayload() *models.ErrorResponse
- func (o *UploadJobAttemptArtifactRequestEntityTooLarge) IsClientError() bool
- func (o *UploadJobAttemptArtifactRequestEntityTooLarge) IsCode(code int) bool
- func (o *UploadJobAttemptArtifactRequestEntityTooLarge) IsRedirect() bool
- func (o *UploadJobAttemptArtifactRequestEntityTooLarge) IsServerError() bool
- func (o *UploadJobAttemptArtifactRequestEntityTooLarge) IsSuccess() bool
- func (o *UploadJobAttemptArtifactRequestEntityTooLarge) String() string
- type UploadJobAttemptArtifactUnauthorized
- func (o *UploadJobAttemptArtifactUnauthorized) Code() int
- func (o *UploadJobAttemptArtifactUnauthorized) Error() string
- func (o *UploadJobAttemptArtifactUnauthorized) GetPayload() *models.ErrorResponse
- func (o *UploadJobAttemptArtifactUnauthorized) IsClientError() bool
- func (o *UploadJobAttemptArtifactUnauthorized) IsCode(code int) bool
- func (o *UploadJobAttemptArtifactUnauthorized) IsRedirect() bool
- func (o *UploadJobAttemptArtifactUnauthorized) IsServerError() bool
- func (o *UploadJobAttemptArtifactUnauthorized) IsSuccess() bool
- func (o *UploadJobAttemptArtifactUnauthorized) String() string
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 ¶
func (a *Client) DownloadJobAttemptArtifact(params *DownloadJobAttemptArtifactParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*DownloadJobAttemptArtifactOK, *DownloadJobAttemptArtifactPartialContent, error)
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 ¶
func (o *DownloadJobAttemptArtifactBadRequest) Code() int
Code gets the status code for the download job attempt artifact bad request response
func (*DownloadJobAttemptArtifactBadRequest) Error ¶
func (o *DownloadJobAttemptArtifactBadRequest) Error() string
func (*DownloadJobAttemptArtifactBadRequest) GetPayload ¶
func (o *DownloadJobAttemptArtifactBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *DownloadJobAttemptArtifactBadRequest) IsCode(code int) bool
IsCode returns true when this download job attempt artifact bad request response a status code equal to that given
func (*DownloadJobAttemptArtifactBadRequest) IsRedirect ¶
func (o *DownloadJobAttemptArtifactBadRequest) IsRedirect() bool
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 ¶
func (o *DownloadJobAttemptArtifactBadRequest) IsSuccess() bool
IsSuccess returns true when this download job attempt artifact bad request response has a 2xx status code
func (*DownloadJobAttemptArtifactBadRequest) String ¶
func (o *DownloadJobAttemptArtifactBadRequest) String() 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 ¶
func (o *DownloadJobAttemptArtifactInternalServerError) Code() int
Code gets the status code for the download job attempt artifact internal server error response
func (*DownloadJobAttemptArtifactInternalServerError) Error ¶
func (o *DownloadJobAttemptArtifactInternalServerError) Error() string
func (*DownloadJobAttemptArtifactInternalServerError) GetPayload ¶
func (o *DownloadJobAttemptArtifactInternalServerError) GetPayload() *models.ErrorResponse
func (*DownloadJobAttemptArtifactInternalServerError) IsClientError ¶
func (o *DownloadJobAttemptArtifactInternalServerError) IsClientError() bool
IsClientError returns true when this download job attempt artifact internal server error response has a 4xx status code
func (*DownloadJobAttemptArtifactInternalServerError) IsCode ¶
func (o *DownloadJobAttemptArtifactInternalServerError) IsCode(code int) bool
IsCode returns true when this download job attempt artifact internal server error response a status code equal to that given
func (*DownloadJobAttemptArtifactInternalServerError) IsRedirect ¶
func (o *DownloadJobAttemptArtifactInternalServerError) IsRedirect() bool
IsRedirect returns true when this download job attempt artifact internal server error response has a 3xx status code
func (*DownloadJobAttemptArtifactInternalServerError) IsServerError ¶
func (o *DownloadJobAttemptArtifactInternalServerError) IsServerError() bool
IsServerError returns true when this download job attempt artifact internal server error response has a 5xx status code
func (*DownloadJobAttemptArtifactInternalServerError) IsSuccess ¶
func (o *DownloadJobAttemptArtifactInternalServerError) IsSuccess() bool
IsSuccess returns true when this download job attempt artifact internal server error response has a 2xx status code
func (*DownloadJobAttemptArtifactInternalServerError) String ¶
func (o *DownloadJobAttemptArtifactInternalServerError) String() 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 ¶
func (o *DownloadJobAttemptArtifactNotFound) Code() int
Code gets the status code for the download job attempt artifact not found response
func (*DownloadJobAttemptArtifactNotFound) Error ¶
func (o *DownloadJobAttemptArtifactNotFound) Error() string
func (*DownloadJobAttemptArtifactNotFound) GetPayload ¶
func (o *DownloadJobAttemptArtifactNotFound) GetPayload() *models.ErrorResponse
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 ¶
func (o *DownloadJobAttemptArtifactNotFound) IsCode(code int) bool
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 ¶
func (o *DownloadJobAttemptArtifactNotFound) IsSuccess() bool
IsSuccess returns true when this download job attempt artifact not found response has a 2xx status code
func (*DownloadJobAttemptArtifactNotFound) String ¶
func (o *DownloadJobAttemptArtifactNotFound) String() 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 ¶
func (o *DownloadJobAttemptArtifactOK) Code() int
Code gets the status code for the download job attempt artifact o k response
func (*DownloadJobAttemptArtifactOK) Error ¶
func (o *DownloadJobAttemptArtifactOK) Error() string
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 ¶
func (o *DownloadJobAttemptArtifactOK) String() 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 ¶
func (o *DownloadJobAttemptArtifactParams) SetContext(ctx context.Context)
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 ¶
func (o *DownloadJobAttemptArtifactParams) WithContext(ctx context.Context) *DownloadJobAttemptArtifactParams
WithContext adds the context to the download job attempt artifact params
func (*DownloadJobAttemptArtifactParams) WithDefaults ¶
func (o *DownloadJobAttemptArtifactParams) WithDefaults() *DownloadJobAttemptArtifactParams
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 ¶
func (o *DownloadJobAttemptArtifactParams) WithHTTPClient(client *http.Client) *DownloadJobAttemptArtifactParams
WithHTTPClient adds the HTTPClient to the download job attempt artifact params
func (*DownloadJobAttemptArtifactParams) WithJobAttempt ¶
func (o *DownloadJobAttemptArtifactParams) WithJobAttempt(jobAttempt int64) *DownloadJobAttemptArtifactParams
WithJobAttempt adds the jobAttempt to the download job attempt artifact params
func (*DownloadJobAttemptArtifactParams) WithJobName ¶
func (o *DownloadJobAttemptArtifactParams) WithJobName(jobName string) *DownloadJobAttemptArtifactParams
WithJobName adds the jobName to the download job attempt artifact params
func (*DownloadJobAttemptArtifactParams) WithOrgName ¶
func (o *DownloadJobAttemptArtifactParams) WithOrgName(orgName string) *DownloadJobAttemptArtifactParams
WithOrgName adds the orgName to the download job attempt artifact params
func (*DownloadJobAttemptArtifactParams) WithPath ¶
func (o *DownloadJobAttemptArtifactParams) WithPath(path string) *DownloadJobAttemptArtifactParams
WithPath adds the path to the download job attempt artifact params
func (*DownloadJobAttemptArtifactParams) WithRange ¶
func (o *DownloadJobAttemptArtifactParams) WithRange(rangeVar *string) *DownloadJobAttemptArtifactParams
WithRange adds the rangeVar to the download job attempt artifact params
func (*DownloadJobAttemptArtifactParams) WithSpace ¶
func (o *DownloadJobAttemptArtifactParams) WithSpace(space *string) *DownloadJobAttemptArtifactParams
WithSpace adds the space to the download job attempt artifact params
func (*DownloadJobAttemptArtifactParams) WithTimeout ¶
func (o *DownloadJobAttemptArtifactParams) WithTimeout(timeout time.Duration) *DownloadJobAttemptArtifactParams
WithTimeout adds the timeout to the download job attempt artifact params
func (*DownloadJobAttemptArtifactParams) WriteToRequest ¶
func (o *DownloadJobAttemptArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DownloadJobAttemptArtifactPartialContent) Code() int
Code gets the status code for the download job attempt artifact partial content response
func (*DownloadJobAttemptArtifactPartialContent) Error ¶
func (o *DownloadJobAttemptArtifactPartialContent) Error() string
func (*DownloadJobAttemptArtifactPartialContent) GetPayload ¶
func (o *DownloadJobAttemptArtifactPartialContent) GetPayload() io.Writer
func (*DownloadJobAttemptArtifactPartialContent) IsClientError ¶
func (o *DownloadJobAttemptArtifactPartialContent) IsClientError() bool
IsClientError returns true when this download job attempt artifact partial content response has a 4xx status code
func (*DownloadJobAttemptArtifactPartialContent) IsCode ¶
func (o *DownloadJobAttemptArtifactPartialContent) IsCode(code int) bool
IsCode returns true when this download job attempt artifact partial content response a status code equal to that given
func (*DownloadJobAttemptArtifactPartialContent) IsRedirect ¶
func (o *DownloadJobAttemptArtifactPartialContent) IsRedirect() bool
IsRedirect returns true when this download job attempt artifact partial content response has a 3xx status code
func (*DownloadJobAttemptArtifactPartialContent) IsServerError ¶
func (o *DownloadJobAttemptArtifactPartialContent) IsServerError() bool
IsServerError returns true when this download job attempt artifact partial content response has a 5xx status code
func (*DownloadJobAttemptArtifactPartialContent) IsSuccess ¶
func (o *DownloadJobAttemptArtifactPartialContent) IsSuccess() bool
IsSuccess returns true when this download job attempt artifact partial content response has a 2xx status code
func (*DownloadJobAttemptArtifactPartialContent) String ¶
func (o *DownloadJobAttemptArtifactPartialContent) String() 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 {
}
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 ¶
func (o *DownloadJobAttemptArtifactUnauthorized) Code() int
Code gets the status code for the download job attempt artifact unauthorized response
func (*DownloadJobAttemptArtifactUnauthorized) Error ¶
func (o *DownloadJobAttemptArtifactUnauthorized) Error() string
func (*DownloadJobAttemptArtifactUnauthorized) GetPayload ¶
func (o *DownloadJobAttemptArtifactUnauthorized) GetPayload() *models.ErrorResponse
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 ¶
func (o *DownloadJobAttemptArtifactUnauthorized) IsCode(code int) bool
IsCode returns true when this download job attempt artifact unauthorized response a status code equal to that given
func (*DownloadJobAttemptArtifactUnauthorized) IsRedirect ¶
func (o *DownloadJobAttemptArtifactUnauthorized) IsRedirect() bool
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 ¶
func (o *DownloadJobAttemptArtifactUnauthorized) IsSuccess() bool
IsSuccess returns true when this download job attempt artifact unauthorized response has a 2xx status code
func (*DownloadJobAttemptArtifactUnauthorized) String ¶
func (o *DownloadJobAttemptArtifactUnauthorized) String() 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 ¶
func (o *InfoJobAttemptArtifactBadRequest) Code() int
Code gets the status code for the info job attempt artifact bad request response
func (*InfoJobAttemptArtifactBadRequest) Error ¶
func (o *InfoJobAttemptArtifactBadRequest) Error() string
func (*InfoJobAttemptArtifactBadRequest) GetPayload ¶
func (o *InfoJobAttemptArtifactBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *InfoJobAttemptArtifactBadRequest) String() 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 ¶
func (o *InfoJobAttemptArtifactInternalServerError) Code() int
Code gets the status code for the info job attempt artifact internal server error response
func (*InfoJobAttemptArtifactInternalServerError) Error ¶
func (o *InfoJobAttemptArtifactInternalServerError) Error() string
func (*InfoJobAttemptArtifactInternalServerError) GetPayload ¶
func (o *InfoJobAttemptArtifactInternalServerError) GetPayload() *models.ErrorResponse
func (*InfoJobAttemptArtifactInternalServerError) IsClientError ¶
func (o *InfoJobAttemptArtifactInternalServerError) IsClientError() bool
IsClientError returns true when this info job attempt artifact internal server error response has a 4xx status code
func (*InfoJobAttemptArtifactInternalServerError) IsCode ¶
func (o *InfoJobAttemptArtifactInternalServerError) IsCode(code int) bool
IsCode returns true when this info job attempt artifact internal server error response a status code equal to that given
func (*InfoJobAttemptArtifactInternalServerError) IsRedirect ¶
func (o *InfoJobAttemptArtifactInternalServerError) IsRedirect() bool
IsRedirect returns true when this info job attempt artifact internal server error response has a 3xx status code
func (*InfoJobAttemptArtifactInternalServerError) IsServerError ¶
func (o *InfoJobAttemptArtifactInternalServerError) IsServerError() bool
IsServerError returns true when this info job attempt artifact internal server error response has a 5xx status code
func (*InfoJobAttemptArtifactInternalServerError) IsSuccess ¶
func (o *InfoJobAttemptArtifactInternalServerError) IsSuccess() bool
IsSuccess returns true when this info job attempt artifact internal server error response has a 2xx status code
func (*InfoJobAttemptArtifactInternalServerError) String ¶
func (o *InfoJobAttemptArtifactInternalServerError) String() 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 ¶
func (o *InfoJobAttemptArtifactNotFound) Code() int
Code gets the status code for the info job attempt artifact not found response
func (*InfoJobAttemptArtifactNotFound) Error ¶
func (o *InfoJobAttemptArtifactNotFound) Error() string
func (*InfoJobAttemptArtifactNotFound) GetPayload ¶
func (o *InfoJobAttemptArtifactNotFound) GetPayload() *models.ErrorResponse
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 ¶
func (o *InfoJobAttemptArtifactNotFound) String() 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 (o *InfoJobAttemptArtifactOK) GetPayload() *models.JobArtifactInfo
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 ¶
func (o *InfoJobAttemptArtifactParams) WithContext(ctx context.Context) *InfoJobAttemptArtifactParams
WithContext adds the context to the info job attempt artifact params
func (*InfoJobAttemptArtifactParams) WithDefaults ¶
func (o *InfoJobAttemptArtifactParams) WithDefaults() *InfoJobAttemptArtifactParams
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 ¶
func (o *InfoJobAttemptArtifactParams) WithHTTPClient(client *http.Client) *InfoJobAttemptArtifactParams
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 ¶
func (o *InfoJobAttemptArtifactParams) WithJobName(jobName string) *InfoJobAttemptArtifactParams
WithJobName adds the jobName to the info job attempt artifact params
func (*InfoJobAttemptArtifactParams) WithOrgName ¶
func (o *InfoJobAttemptArtifactParams) WithOrgName(orgName string) *InfoJobAttemptArtifactParams
WithOrgName adds the orgName to the info job attempt artifact params
func (*InfoJobAttemptArtifactParams) WithPath ¶
func (o *InfoJobAttemptArtifactParams) WithPath(path string) *InfoJobAttemptArtifactParams
WithPath adds the path to the info job attempt artifact params
func (*InfoJobAttemptArtifactParams) WithSpace ¶
func (o *InfoJobAttemptArtifactParams) WithSpace(space *string) *InfoJobAttemptArtifactParams
WithSpace adds the space to the info job attempt artifact params
func (*InfoJobAttemptArtifactParams) WithTimeout ¶
func (o *InfoJobAttemptArtifactParams) WithTimeout(timeout time.Duration) *InfoJobAttemptArtifactParams
WithTimeout adds the timeout to the info job attempt artifact params
func (*InfoJobAttemptArtifactParams) WriteToRequest ¶
func (o *InfoJobAttemptArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *InfoJobAttemptArtifactUnauthorized) Code() int
Code gets the status code for the info job attempt artifact unauthorized response
func (*InfoJobAttemptArtifactUnauthorized) Error ¶
func (o *InfoJobAttemptArtifactUnauthorized) Error() string
func (*InfoJobAttemptArtifactUnauthorized) GetPayload ¶
func (o *InfoJobAttemptArtifactUnauthorized) GetPayload() *models.ErrorResponse
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 ¶
func (o *InfoJobAttemptArtifactUnauthorized) IsCode(code int) bool
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 ¶
func (o *InfoJobAttemptArtifactUnauthorized) IsSuccess() bool
IsSuccess returns true when this info job attempt artifact unauthorized response has a 2xx status code
func (*InfoJobAttemptArtifactUnauthorized) String ¶
func (o *InfoJobAttemptArtifactUnauthorized) String() 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 ¶
func (o *ListJobAttemptArtifactsBadRequest) Code() int
Code gets the status code for the list job attempt artifacts bad request response
func (*ListJobAttemptArtifactsBadRequest) Error ¶
func (o *ListJobAttemptArtifactsBadRequest) Error() string
func (*ListJobAttemptArtifactsBadRequest) GetPayload ¶
func (o *ListJobAttemptArtifactsBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListJobAttemptArtifactsBadRequest) String() 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 ¶
func (o *ListJobAttemptArtifactsInternalServerError) Code() int
Code gets the status code for the list job attempt artifacts internal server error response
func (*ListJobAttemptArtifactsInternalServerError) Error ¶
func (o *ListJobAttemptArtifactsInternalServerError) Error() string
func (*ListJobAttemptArtifactsInternalServerError) GetPayload ¶
func (o *ListJobAttemptArtifactsInternalServerError) GetPayload() *models.ErrorResponse
func (*ListJobAttemptArtifactsInternalServerError) IsClientError ¶
func (o *ListJobAttemptArtifactsInternalServerError) IsClientError() bool
IsClientError returns true when this list job attempt artifacts internal server error response has a 4xx status code
func (*ListJobAttemptArtifactsInternalServerError) IsCode ¶
func (o *ListJobAttemptArtifactsInternalServerError) IsCode(code int) bool
IsCode returns true when this list job attempt artifacts internal server error response a status code equal to that given
func (*ListJobAttemptArtifactsInternalServerError) IsRedirect ¶
func (o *ListJobAttemptArtifactsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list job attempt artifacts internal server error response has a 3xx status code
func (*ListJobAttemptArtifactsInternalServerError) IsServerError ¶
func (o *ListJobAttemptArtifactsInternalServerError) IsServerError() bool
IsServerError returns true when this list job attempt artifacts internal server error response has a 5xx status code
func (*ListJobAttemptArtifactsInternalServerError) IsSuccess ¶
func (o *ListJobAttemptArtifactsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list job attempt artifacts internal server error response has a 2xx status code
func (*ListJobAttemptArtifactsInternalServerError) String ¶
func (o *ListJobAttemptArtifactsInternalServerError) String() 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 ¶
func (o *ListJobAttemptArtifactsNotFound) Code() int
Code gets the status code for the list job attempt artifacts not found response
func (*ListJobAttemptArtifactsNotFound) Error ¶
func (o *ListJobAttemptArtifactsNotFound) Error() string
func (*ListJobAttemptArtifactsNotFound) GetPayload ¶
func (o *ListJobAttemptArtifactsNotFound) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListJobAttemptArtifactsNotFound) String() 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 ¶
func (o *ListJobAttemptArtifactsParams) WithContext(ctx context.Context) *ListJobAttemptArtifactsParams
WithContext adds the context to the list job attempt artifacts params
func (*ListJobAttemptArtifactsParams) WithDefaults ¶
func (o *ListJobAttemptArtifactsParams) WithDefaults() *ListJobAttemptArtifactsParams
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 ¶
func (o *ListJobAttemptArtifactsParams) WithHTTPClient(client *http.Client) *ListJobAttemptArtifactsParams
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 ¶
func (o *ListJobAttemptArtifactsParams) WithJobName(jobName string) *ListJobAttemptArtifactsParams
WithJobName adds the jobName to the list job attempt artifacts params
func (*ListJobAttemptArtifactsParams) WithOrgName ¶
func (o *ListJobAttemptArtifactsParams) WithOrgName(orgName string) *ListJobAttemptArtifactsParams
WithOrgName adds the orgName to the list job attempt artifacts params
func (*ListJobAttemptArtifactsParams) WithSpace ¶
func (o *ListJobAttemptArtifactsParams) WithSpace(space *string) *ListJobAttemptArtifactsParams
WithSpace adds the space to the list job attempt artifacts params
func (*ListJobAttemptArtifactsParams) WithTimeout ¶
func (o *ListJobAttemptArtifactsParams) WithTimeout(timeout time.Duration) *ListJobAttemptArtifactsParams
WithTimeout adds the timeout to the list job attempt artifacts params
func (*ListJobAttemptArtifactsParams) WriteToRequest ¶
func (o *ListJobAttemptArtifactsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *ListJobAttemptArtifactsUnauthorized) Code() int
Code gets the status code for the list job attempt artifacts unauthorized response
func (*ListJobAttemptArtifactsUnauthorized) Error ¶
func (o *ListJobAttemptArtifactsUnauthorized) Error() string
func (*ListJobAttemptArtifactsUnauthorized) GetPayload ¶
func (o *ListJobAttemptArtifactsUnauthorized) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListJobAttemptArtifactsUnauthorized) IsCode(code int) bool
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 ¶
func (o *ListJobAttemptArtifactsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list job attempt artifacts unauthorized response has a 2xx status code
func (*ListJobAttemptArtifactsUnauthorized) String ¶
func (o *ListJobAttemptArtifactsUnauthorized) String() 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 ¶
func (o *UploadJobAttemptArtifactBadRequest) Code() int
Code gets the status code for the upload job attempt artifact bad request response
func (*UploadJobAttemptArtifactBadRequest) Error ¶
func (o *UploadJobAttemptArtifactBadRequest) Error() string
func (*UploadJobAttemptArtifactBadRequest) GetPayload ¶
func (o *UploadJobAttemptArtifactBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *UploadJobAttemptArtifactBadRequest) IsCode(code int) bool
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 ¶
func (o *UploadJobAttemptArtifactBadRequest) IsSuccess() bool
IsSuccess returns true when this upload job attempt artifact bad request response has a 2xx status code
func (*UploadJobAttemptArtifactBadRequest) String ¶
func (o *UploadJobAttemptArtifactBadRequest) String() 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 ¶
func (o *UploadJobAttemptArtifactInternalServerError) Code() int
Code gets the status code for the upload job attempt artifact internal server error response
func (*UploadJobAttemptArtifactInternalServerError) Error ¶
func (o *UploadJobAttemptArtifactInternalServerError) Error() string
func (*UploadJobAttemptArtifactInternalServerError) GetPayload ¶
func (o *UploadJobAttemptArtifactInternalServerError) GetPayload() *models.ErrorResponse
func (*UploadJobAttemptArtifactInternalServerError) IsClientError ¶
func (o *UploadJobAttemptArtifactInternalServerError) IsClientError() bool
IsClientError returns true when this upload job attempt artifact internal server error response has a 4xx status code
func (*UploadJobAttemptArtifactInternalServerError) IsCode ¶
func (o *UploadJobAttemptArtifactInternalServerError) IsCode(code int) bool
IsCode returns true when this upload job attempt artifact internal server error response a status code equal to that given
func (*UploadJobAttemptArtifactInternalServerError) IsRedirect ¶
func (o *UploadJobAttemptArtifactInternalServerError) IsRedirect() bool
IsRedirect returns true when this upload job attempt artifact internal server error response has a 3xx status code
func (*UploadJobAttemptArtifactInternalServerError) IsServerError ¶
func (o *UploadJobAttemptArtifactInternalServerError) IsServerError() bool
IsServerError returns true when this upload job attempt artifact internal server error response has a 5xx status code
func (*UploadJobAttemptArtifactInternalServerError) IsSuccess ¶
func (o *UploadJobAttemptArtifactInternalServerError) IsSuccess() bool
IsSuccess returns true when this upload job attempt artifact internal server error response has a 2xx status code
func (*UploadJobAttemptArtifactInternalServerError) String ¶
func (o *UploadJobAttemptArtifactInternalServerError) String() 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 (o *UploadJobAttemptArtifactOK) Error() string
func (*UploadJobAttemptArtifactOK) GetPayload ¶
func (o *UploadJobAttemptArtifactOK) GetPayload() models.EmptyResponse
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 ¶
func (o *UploadJobAttemptArtifactParams) WithArtifact(artifact runtime.NamedReadCloser) *UploadJobAttemptArtifactParams
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 ¶
func (o *UploadJobAttemptArtifactParams) WithContext(ctx context.Context) *UploadJobAttemptArtifactParams
WithContext adds the context to the upload job attempt artifact params
func (*UploadJobAttemptArtifactParams) WithDefaults ¶
func (o *UploadJobAttemptArtifactParams) WithDefaults() *UploadJobAttemptArtifactParams
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 ¶
func (o *UploadJobAttemptArtifactParams) WithHTTPClient(client *http.Client) *UploadJobAttemptArtifactParams
WithHTTPClient adds the HTTPClient to the upload job attempt artifact params
func (*UploadJobAttemptArtifactParams) WithJobAttempt ¶
func (o *UploadJobAttemptArtifactParams) WithJobAttempt(jobAttempt int64) *UploadJobAttemptArtifactParams
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 ¶
func (o *UploadJobAttemptArtifactParams) WithJobName(jobName string) *UploadJobAttemptArtifactParams
WithJobName adds the jobName to the upload job attempt artifact params
func (*UploadJobAttemptArtifactParams) WithMetadata ¶
func (o *UploadJobAttemptArtifactParams) WithMetadata(metadata *string) *UploadJobAttemptArtifactParams
WithMetadata adds the metadata to the upload job attempt artifact params
func (*UploadJobAttemptArtifactParams) WithOrgName ¶
func (o *UploadJobAttemptArtifactParams) WithOrgName(orgName string) *UploadJobAttemptArtifactParams
WithOrgName adds the orgName to the upload job attempt artifact params
func (*UploadJobAttemptArtifactParams) WithPath ¶
func (o *UploadJobAttemptArtifactParams) WithPath(path string) *UploadJobAttemptArtifactParams
WithPath adds the path to the upload job attempt artifact params
func (*UploadJobAttemptArtifactParams) WithSpace ¶
func (o *UploadJobAttemptArtifactParams) WithSpace(space *string) *UploadJobAttemptArtifactParams
WithSpace adds the space to the upload job attempt artifact params
func (*UploadJobAttemptArtifactParams) WithTimeout ¶
func (o *UploadJobAttemptArtifactParams) WithTimeout(timeout time.Duration) *UploadJobAttemptArtifactParams
WithTimeout adds the timeout to the upload job attempt artifact params
func (*UploadJobAttemptArtifactParams) WriteToRequest ¶
func (o *UploadJobAttemptArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UploadJobAttemptArtifactRequestEntityTooLarge) Code() int
Code gets the status code for the upload job attempt artifact request entity too large response
func (*UploadJobAttemptArtifactRequestEntityTooLarge) Error ¶
func (o *UploadJobAttemptArtifactRequestEntityTooLarge) Error() string
func (*UploadJobAttemptArtifactRequestEntityTooLarge) GetPayload ¶
func (o *UploadJobAttemptArtifactRequestEntityTooLarge) GetPayload() *models.ErrorResponse
func (*UploadJobAttemptArtifactRequestEntityTooLarge) IsClientError ¶
func (o *UploadJobAttemptArtifactRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this upload job attempt artifact request entity too large response has a 4xx status code
func (*UploadJobAttemptArtifactRequestEntityTooLarge) IsCode ¶
func (o *UploadJobAttemptArtifactRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this upload job attempt artifact request entity too large response a status code equal to that given
func (*UploadJobAttemptArtifactRequestEntityTooLarge) IsRedirect ¶
func (o *UploadJobAttemptArtifactRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this upload job attempt artifact request entity too large response has a 3xx status code
func (*UploadJobAttemptArtifactRequestEntityTooLarge) IsServerError ¶
func (o *UploadJobAttemptArtifactRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this upload job attempt artifact request entity too large response has a 5xx status code
func (*UploadJobAttemptArtifactRequestEntityTooLarge) IsSuccess ¶
func (o *UploadJobAttemptArtifactRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this upload job attempt artifact request entity too large response has a 2xx status code
func (*UploadJobAttemptArtifactRequestEntityTooLarge) String ¶
func (o *UploadJobAttemptArtifactRequestEntityTooLarge) String() string
type UploadJobAttemptArtifactUnauthorized ¶
type UploadJobAttemptArtifactUnauthorized struct {
}
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 ¶
func (o *UploadJobAttemptArtifactUnauthorized) Code() int
Code gets the status code for the upload job attempt artifact unauthorized response
func (*UploadJobAttemptArtifactUnauthorized) Error ¶
func (o *UploadJobAttemptArtifactUnauthorized) Error() string
func (*UploadJobAttemptArtifactUnauthorized) GetPayload ¶
func (o *UploadJobAttemptArtifactUnauthorized) GetPayload() *models.ErrorResponse
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 ¶
func (o *UploadJobAttemptArtifactUnauthorized) IsCode(code int) bool
IsCode returns true when this upload job attempt artifact unauthorized response a status code equal to that given
func (*UploadJobAttemptArtifactUnauthorized) IsRedirect ¶
func (o *UploadJobAttemptArtifactUnauthorized) IsRedirect() bool
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 ¶
func (o *UploadJobAttemptArtifactUnauthorized) IsSuccess() bool
IsSuccess returns true when this upload job attempt artifact unauthorized response has a 2xx status code
func (*UploadJobAttemptArtifactUnauthorized) String ¶
func (o *UploadJobAttemptArtifactUnauthorized) String() string
Source Files
¶
- artifacts_client.go
- download_job_attempt_artifact_parameters.go
- download_job_attempt_artifact_responses.go
- info_job_attempt_artifact_parameters.go
- info_job_attempt_artifact_responses.go
- list_job_attempt_artifacts_parameters.go
- list_job_attempt_artifacts_responses.go
- upload_job_attempt_artifact_parameters.go
- upload_job_attempt_artifact_responses.go