Documentation ¶
Index ¶
- type ApproveArtifactBadRequest
- type ApproveArtifactConflict
- type ApproveArtifactForbidden
- type ApproveArtifactInternalServerError
- type ApproveArtifactNotFound
- type ApproveArtifactOK
- type ApproveArtifactParams
- func NewApproveArtifactParams() *ApproveArtifactParams
- func NewApproveArtifactParamsWithContext(ctx context.Context) *ApproveArtifactParams
- func NewApproveArtifactParamsWithHTTPClient(client *http.Client) *ApproveArtifactParams
- func NewApproveArtifactParamsWithTimeout(timeout time.Duration) *ApproveArtifactParams
- func (o *ApproveArtifactParams) SetContext(ctx context.Context)
- func (o *ApproveArtifactParams) SetHTTPClient(client *http.Client)
- func (o *ApproveArtifactParams) SetResource(resource *models.ArtifactApproveRequest)
- func (o *ApproveArtifactParams) SetTimeout(timeout time.Duration)
- func (o *ApproveArtifactParams) WithContext(ctx context.Context) *ApproveArtifactParams
- func (o *ApproveArtifactParams) WithHTTPClient(client *http.Client) *ApproveArtifactParams
- func (o *ApproveArtifactParams) WithResource(resource *models.ArtifactApproveRequest) *ApproveArtifactParams
- func (o *ApproveArtifactParams) WithTimeout(timeout time.Duration) *ApproveArtifactParams
- func (o *ApproveArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ApproveArtifactReader
- type ApproveArtifactUnauthorized
- type Client
- func (a *Client) ApproveArtifact(params *ApproveArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ApproveArtifactOK, error)
- func (a *Client) DeleteArtifact(params *DeleteArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteArtifactOK, error)
- func (a *Client) PurgeArtifact(params *PurgeArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*PurgeArtifactOK, error)
- func (a *Client) ReadArtifact(params *ReadArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ReadArtifactOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteArtifactBadRequest
- type DeleteArtifactConflict
- type DeleteArtifactForbidden
- type DeleteArtifactInternalServerError
- type DeleteArtifactNotFound
- type DeleteArtifactOK
- type DeleteArtifactParams
- func NewDeleteArtifactParams() *DeleteArtifactParams
- func NewDeleteArtifactParamsWithContext(ctx context.Context) *DeleteArtifactParams
- func NewDeleteArtifactParamsWithHTTPClient(client *http.Client) *DeleteArtifactParams
- func NewDeleteArtifactParamsWithTimeout(timeout time.Duration) *DeleteArtifactParams
- func (o *DeleteArtifactParams) SetContext(ctx context.Context)
- func (o *DeleteArtifactParams) SetHTTPClient(client *http.Client)
- func (o *DeleteArtifactParams) SetID(id int64)
- func (o *DeleteArtifactParams) SetTimeout(timeout time.Duration)
- func (o *DeleteArtifactParams) WithContext(ctx context.Context) *DeleteArtifactParams
- func (o *DeleteArtifactParams) WithHTTPClient(client *http.Client) *DeleteArtifactParams
- func (o *DeleteArtifactParams) WithID(id int64) *DeleteArtifactParams
- func (o *DeleteArtifactParams) WithTimeout(timeout time.Duration) *DeleteArtifactParams
- func (o *DeleteArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteArtifactReader
- type DeleteArtifactUnauthorized
- type PurgeArtifactBadRequest
- type PurgeArtifactConflict
- type PurgeArtifactForbidden
- type PurgeArtifactInternalServerError
- type PurgeArtifactNotFound
- type PurgeArtifactOK
- type PurgeArtifactParams
- func (o *PurgeArtifactParams) SetContext(ctx context.Context)
- func (o *PurgeArtifactParams) SetHTTPClient(client *http.Client)
- func (o *PurgeArtifactParams) SetResource(resource *models.ArtifactPurgeRequest)
- func (o *PurgeArtifactParams) SetTimeout(timeout time.Duration)
- func (o *PurgeArtifactParams) WithContext(ctx context.Context) *PurgeArtifactParams
- func (o *PurgeArtifactParams) WithHTTPClient(client *http.Client) *PurgeArtifactParams
- func (o *PurgeArtifactParams) WithResource(resource *models.ArtifactPurgeRequest) *PurgeArtifactParams
- func (o *PurgeArtifactParams) WithTimeout(timeout time.Duration) *PurgeArtifactParams
- func (o *PurgeArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurgeArtifactReader
- type PurgeArtifactUnauthorized
- type ReadArtifactBadRequest
- type ReadArtifactConflict
- type ReadArtifactForbidden
- type ReadArtifactInternalServerError
- type ReadArtifactNotFound
- type ReadArtifactOK
- type ReadArtifactParams
- func (o *ReadArtifactParams) SetContext(ctx context.Context)
- func (o *ReadArtifactParams) SetEmbed(embed *string)
- func (o *ReadArtifactParams) SetFields(fields *string)
- func (o *ReadArtifactParams) SetHTTPClient(client *http.Client)
- func (o *ReadArtifactParams) SetID(id int64)
- func (o *ReadArtifactParams) SetTimeout(timeout time.Duration)
- func (o *ReadArtifactParams) WithContext(ctx context.Context) *ReadArtifactParams
- func (o *ReadArtifactParams) WithEmbed(embed *string) *ReadArtifactParams
- func (o *ReadArtifactParams) WithFields(fields *string) *ReadArtifactParams
- func (o *ReadArtifactParams) WithHTTPClient(client *http.Client) *ReadArtifactParams
- func (o *ReadArtifactParams) WithID(id int64) *ReadArtifactParams
- func (o *ReadArtifactParams) WithTimeout(timeout time.Duration) *ReadArtifactParams
- func (o *ReadArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadArtifactReader
- type ReadArtifactUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApproveArtifactBadRequest ¶
ApproveArtifactBadRequest handles this case with default header values.
Bad Request
func NewApproveArtifactBadRequest ¶
func NewApproveArtifactBadRequest() *ApproveArtifactBadRequest
NewApproveArtifactBadRequest creates a ApproveArtifactBadRequest with default headers values
func (*ApproveArtifactBadRequest) Error ¶
func (o *ApproveArtifactBadRequest) Error() string
func (*ApproveArtifactBadRequest) GetPayload ¶
func (o *ApproveArtifactBadRequest) GetPayload() *models.APIResult
type ApproveArtifactConflict ¶
ApproveArtifactConflict handles this case with default header values.
Conflict
func NewApproveArtifactConflict ¶
func NewApproveArtifactConflict() *ApproveArtifactConflict
NewApproveArtifactConflict creates a ApproveArtifactConflict with default headers values
func (*ApproveArtifactConflict) Error ¶
func (o *ApproveArtifactConflict) Error() string
func (*ApproveArtifactConflict) GetPayload ¶
func (o *ApproveArtifactConflict) GetPayload() *models.APIResult
type ApproveArtifactForbidden ¶
ApproveArtifactForbidden handles this case with default header values.
Forbidden
func NewApproveArtifactForbidden ¶
func NewApproveArtifactForbidden() *ApproveArtifactForbidden
NewApproveArtifactForbidden creates a ApproveArtifactForbidden with default headers values
func (*ApproveArtifactForbidden) Error ¶
func (o *ApproveArtifactForbidden) Error() string
func (*ApproveArtifactForbidden) GetPayload ¶
func (o *ApproveArtifactForbidden) GetPayload() *models.APIResult
type ApproveArtifactInternalServerError ¶
ApproveArtifactInternalServerError handles this case with default header values.
Internal Server Error
func NewApproveArtifactInternalServerError ¶
func NewApproveArtifactInternalServerError() *ApproveArtifactInternalServerError
NewApproveArtifactInternalServerError creates a ApproveArtifactInternalServerError with default headers values
func (*ApproveArtifactInternalServerError) Error ¶
func (o *ApproveArtifactInternalServerError) Error() string
func (*ApproveArtifactInternalServerError) GetPayload ¶
func (o *ApproveArtifactInternalServerError) GetPayload() *models.APIResult
type ApproveArtifactNotFound ¶
ApproveArtifactNotFound handles this case with default header values.
Not Found
func NewApproveArtifactNotFound ¶
func NewApproveArtifactNotFound() *ApproveArtifactNotFound
NewApproveArtifactNotFound creates a ApproveArtifactNotFound with default headers values
func (*ApproveArtifactNotFound) Error ¶
func (o *ApproveArtifactNotFound) Error() string
func (*ApproveArtifactNotFound) GetPayload ¶
func (o *ApproveArtifactNotFound) GetPayload() *models.APIResult
type ApproveArtifactOK ¶
type ApproveArtifactOK struct {
Payload *models.APIResultVoid
}
ApproveArtifactOK handles this case with default header values.
OK
func NewApproveArtifactOK ¶
func NewApproveArtifactOK() *ApproveArtifactOK
NewApproveArtifactOK creates a ApproveArtifactOK with default headers values
func (*ApproveArtifactOK) Error ¶
func (o *ApproveArtifactOK) Error() string
func (*ApproveArtifactOK) GetPayload ¶
func (o *ApproveArtifactOK) GetPayload() *models.APIResultVoid
type ApproveArtifactParams ¶
type ApproveArtifactParams struct { /*Resource resource */ Resource *models.ArtifactApproveRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ApproveArtifactParams contains all the parameters to send to the API endpoint for the approve artifact operation typically these are written to a http.Request
func NewApproveArtifactParams ¶
func NewApproveArtifactParams() *ApproveArtifactParams
NewApproveArtifactParams creates a new ApproveArtifactParams object with the default values initialized.
func NewApproveArtifactParamsWithContext ¶
func NewApproveArtifactParamsWithContext(ctx context.Context) *ApproveArtifactParams
NewApproveArtifactParamsWithContext creates a new ApproveArtifactParams object with the default values initialized, and the ability to set a context for a request
func NewApproveArtifactParamsWithHTTPClient ¶
func NewApproveArtifactParamsWithHTTPClient(client *http.Client) *ApproveArtifactParams
NewApproveArtifactParamsWithHTTPClient creates a new ApproveArtifactParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewApproveArtifactParamsWithTimeout ¶
func NewApproveArtifactParamsWithTimeout(timeout time.Duration) *ApproveArtifactParams
NewApproveArtifactParamsWithTimeout creates a new ApproveArtifactParams object with the default values initialized, and the ability to set a timeout on a request
func (*ApproveArtifactParams) SetContext ¶
func (o *ApproveArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the approve artifact params
func (*ApproveArtifactParams) SetHTTPClient ¶
func (o *ApproveArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the approve artifact params
func (*ApproveArtifactParams) SetResource ¶
func (o *ApproveArtifactParams) SetResource(resource *models.ArtifactApproveRequest)
SetResource adds the resource to the approve artifact params
func (*ApproveArtifactParams) SetTimeout ¶
func (o *ApproveArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the approve artifact params
func (*ApproveArtifactParams) WithContext ¶
func (o *ApproveArtifactParams) WithContext(ctx context.Context) *ApproveArtifactParams
WithContext adds the context to the approve artifact params
func (*ApproveArtifactParams) WithHTTPClient ¶
func (o *ApproveArtifactParams) WithHTTPClient(client *http.Client) *ApproveArtifactParams
WithHTTPClient adds the HTTPClient to the approve artifact params
func (*ApproveArtifactParams) WithResource ¶
func (o *ApproveArtifactParams) WithResource(resource *models.ArtifactApproveRequest) *ApproveArtifactParams
WithResource adds the resource to the approve artifact params
func (*ApproveArtifactParams) WithTimeout ¶
func (o *ApproveArtifactParams) WithTimeout(timeout time.Duration) *ApproveArtifactParams
WithTimeout adds the timeout to the approve artifact params
func (*ApproveArtifactParams) WriteToRequest ¶
func (o *ApproveArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ApproveArtifactReader ¶
type ApproveArtifactReader struct {
// contains filtered or unexported fields
}
ApproveArtifactReader is a Reader for the ApproveArtifact structure.
func (*ApproveArtifactReader) ReadResponse ¶
func (o *ApproveArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ApproveArtifactUnauthorized ¶
type ApproveArtifactUnauthorized struct {
}ApproveArtifactUnauthorized handles this case with default header values.
Unauthorized
func NewApproveArtifactUnauthorized ¶
func NewApproveArtifactUnauthorized() *ApproveArtifactUnauthorized
NewApproveArtifactUnauthorized creates a ApproveArtifactUnauthorized with default headers values
func (*ApproveArtifactUnauthorized) Error ¶
func (o *ApproveArtifactUnauthorized) Error() string
func (*ApproveArtifactUnauthorized) GetPayload ¶
func (o *ApproveArtifactUnauthorized) GetPayload() *models.APIResult
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for artifact controller API
func (*Client) ApproveArtifact ¶
func (a *Client) ApproveArtifact(params *ApproveArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ApproveArtifactOK, error)
ApproveArtifact approves the artifact for processing in spite of failing
func (*Client) DeleteArtifact ¶
func (a *Client) DeleteArtifact(params *DeleteArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteArtifactOK, error)
DeleteArtifact deletes
func (*Client) PurgeArtifact ¶
func (a *Client) PurgeArtifact(params *PurgeArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*PurgeArtifactOK, error)
PurgeArtifact purges the specified artifact from the system to recover space without affecting issue metrics use the delete operation instead if you want to completely revert all traces of an artifact
func (*Client) ReadArtifact ¶
func (a *Client) ReadArtifact(params *ReadArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ReadArtifactOK, error)
ReadArtifact reads
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ApproveArtifact(params *ApproveArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ApproveArtifactOK, error) DeleteArtifact(params *DeleteArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteArtifactOK, error) PurgeArtifact(params *PurgeArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*PurgeArtifactOK, error) ReadArtifact(params *ReadArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ReadArtifactOK, 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 artifact controller API client.
type DeleteArtifactBadRequest ¶
DeleteArtifactBadRequest handles this case with default header values.
Bad Request
func NewDeleteArtifactBadRequest ¶
func NewDeleteArtifactBadRequest() *DeleteArtifactBadRequest
NewDeleteArtifactBadRequest creates a DeleteArtifactBadRequest with default headers values
func (*DeleteArtifactBadRequest) Error ¶
func (o *DeleteArtifactBadRequest) Error() string
func (*DeleteArtifactBadRequest) GetPayload ¶
func (o *DeleteArtifactBadRequest) GetPayload() *models.APIResult
type DeleteArtifactConflict ¶
DeleteArtifactConflict handles this case with default header values.
Conflict
func NewDeleteArtifactConflict ¶
func NewDeleteArtifactConflict() *DeleteArtifactConflict
NewDeleteArtifactConflict creates a DeleteArtifactConflict with default headers values
func (*DeleteArtifactConflict) Error ¶
func (o *DeleteArtifactConflict) Error() string
func (*DeleteArtifactConflict) GetPayload ¶
func (o *DeleteArtifactConflict) GetPayload() *models.APIResult
type DeleteArtifactForbidden ¶
DeleteArtifactForbidden handles this case with default header values.
Forbidden
func NewDeleteArtifactForbidden ¶
func NewDeleteArtifactForbidden() *DeleteArtifactForbidden
NewDeleteArtifactForbidden creates a DeleteArtifactForbidden with default headers values
func (*DeleteArtifactForbidden) Error ¶
func (o *DeleteArtifactForbidden) Error() string
func (*DeleteArtifactForbidden) GetPayload ¶
func (o *DeleteArtifactForbidden) GetPayload() *models.APIResult
type DeleteArtifactInternalServerError ¶
DeleteArtifactInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteArtifactInternalServerError ¶
func NewDeleteArtifactInternalServerError() *DeleteArtifactInternalServerError
NewDeleteArtifactInternalServerError creates a DeleteArtifactInternalServerError with default headers values
func (*DeleteArtifactInternalServerError) Error ¶
func (o *DeleteArtifactInternalServerError) Error() string
func (*DeleteArtifactInternalServerError) GetPayload ¶
func (o *DeleteArtifactInternalServerError) GetPayload() *models.APIResult
type DeleteArtifactNotFound ¶
DeleteArtifactNotFound handles this case with default header values.
Not Found
func NewDeleteArtifactNotFound ¶
func NewDeleteArtifactNotFound() *DeleteArtifactNotFound
NewDeleteArtifactNotFound creates a DeleteArtifactNotFound with default headers values
func (*DeleteArtifactNotFound) Error ¶
func (o *DeleteArtifactNotFound) Error() string
func (*DeleteArtifactNotFound) GetPayload ¶
func (o *DeleteArtifactNotFound) GetPayload() *models.APIResult
type DeleteArtifactOK ¶
type DeleteArtifactOK struct {
Payload *models.APIResultVoid
}
DeleteArtifactOK handles this case with default header values.
OK
func NewDeleteArtifactOK ¶
func NewDeleteArtifactOK() *DeleteArtifactOK
NewDeleteArtifactOK creates a DeleteArtifactOK with default headers values
func (*DeleteArtifactOK) Error ¶
func (o *DeleteArtifactOK) Error() string
func (*DeleteArtifactOK) GetPayload ¶
func (o *DeleteArtifactOK) GetPayload() *models.APIResultVoid
type DeleteArtifactParams ¶
type DeleteArtifactParams struct { /*ID id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteArtifactParams contains all the parameters to send to the API endpoint for the delete artifact operation typically these are written to a http.Request
func NewDeleteArtifactParams ¶
func NewDeleteArtifactParams() *DeleteArtifactParams
NewDeleteArtifactParams creates a new DeleteArtifactParams object with the default values initialized.
func NewDeleteArtifactParamsWithContext ¶
func NewDeleteArtifactParamsWithContext(ctx context.Context) *DeleteArtifactParams
NewDeleteArtifactParamsWithContext creates a new DeleteArtifactParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteArtifactParamsWithHTTPClient ¶
func NewDeleteArtifactParamsWithHTTPClient(client *http.Client) *DeleteArtifactParams
NewDeleteArtifactParamsWithHTTPClient creates a new DeleteArtifactParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteArtifactParamsWithTimeout ¶
func NewDeleteArtifactParamsWithTimeout(timeout time.Duration) *DeleteArtifactParams
NewDeleteArtifactParamsWithTimeout creates a new DeleteArtifactParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteArtifactParams) SetContext ¶
func (o *DeleteArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the delete artifact params
func (*DeleteArtifactParams) SetHTTPClient ¶
func (o *DeleteArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete artifact params
func (*DeleteArtifactParams) SetID ¶
func (o *DeleteArtifactParams) SetID(id int64)
SetID adds the id to the delete artifact params
func (*DeleteArtifactParams) SetTimeout ¶
func (o *DeleteArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete artifact params
func (*DeleteArtifactParams) WithContext ¶
func (o *DeleteArtifactParams) WithContext(ctx context.Context) *DeleteArtifactParams
WithContext adds the context to the delete artifact params
func (*DeleteArtifactParams) WithHTTPClient ¶
func (o *DeleteArtifactParams) WithHTTPClient(client *http.Client) *DeleteArtifactParams
WithHTTPClient adds the HTTPClient to the delete artifact params
func (*DeleteArtifactParams) WithID ¶
func (o *DeleteArtifactParams) WithID(id int64) *DeleteArtifactParams
WithID adds the id to the delete artifact params
func (*DeleteArtifactParams) WithTimeout ¶
func (o *DeleteArtifactParams) WithTimeout(timeout time.Duration) *DeleteArtifactParams
WithTimeout adds the timeout to the delete artifact params
func (*DeleteArtifactParams) WriteToRequest ¶
func (o *DeleteArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteArtifactReader ¶
type DeleteArtifactReader struct {
// contains filtered or unexported fields
}
DeleteArtifactReader is a Reader for the DeleteArtifact structure.
func (*DeleteArtifactReader) ReadResponse ¶
func (o *DeleteArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteArtifactUnauthorized ¶
type DeleteArtifactUnauthorized struct {
}DeleteArtifactUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteArtifactUnauthorized ¶
func NewDeleteArtifactUnauthorized() *DeleteArtifactUnauthorized
NewDeleteArtifactUnauthorized creates a DeleteArtifactUnauthorized with default headers values
func (*DeleteArtifactUnauthorized) Error ¶
func (o *DeleteArtifactUnauthorized) Error() string
func (*DeleteArtifactUnauthorized) GetPayload ¶
func (o *DeleteArtifactUnauthorized) GetPayload() *models.APIResult
type PurgeArtifactBadRequest ¶
PurgeArtifactBadRequest handles this case with default header values.
Bad Request
func NewPurgeArtifactBadRequest ¶
func NewPurgeArtifactBadRequest() *PurgeArtifactBadRequest
NewPurgeArtifactBadRequest creates a PurgeArtifactBadRequest with default headers values
func (*PurgeArtifactBadRequest) Error ¶
func (o *PurgeArtifactBadRequest) Error() string
func (*PurgeArtifactBadRequest) GetPayload ¶
func (o *PurgeArtifactBadRequest) GetPayload() *models.APIResult
type PurgeArtifactConflict ¶
PurgeArtifactConflict handles this case with default header values.
Conflict
func NewPurgeArtifactConflict ¶
func NewPurgeArtifactConflict() *PurgeArtifactConflict
NewPurgeArtifactConflict creates a PurgeArtifactConflict with default headers values
func (*PurgeArtifactConflict) Error ¶
func (o *PurgeArtifactConflict) Error() string
func (*PurgeArtifactConflict) GetPayload ¶
func (o *PurgeArtifactConflict) GetPayload() *models.APIResult
type PurgeArtifactForbidden ¶
PurgeArtifactForbidden handles this case with default header values.
Forbidden
func NewPurgeArtifactForbidden ¶
func NewPurgeArtifactForbidden() *PurgeArtifactForbidden
NewPurgeArtifactForbidden creates a PurgeArtifactForbidden with default headers values
func (*PurgeArtifactForbidden) Error ¶
func (o *PurgeArtifactForbidden) Error() string
func (*PurgeArtifactForbidden) GetPayload ¶
func (o *PurgeArtifactForbidden) GetPayload() *models.APIResult
type PurgeArtifactInternalServerError ¶
PurgeArtifactInternalServerError handles this case with default header values.
Internal Server Error
func NewPurgeArtifactInternalServerError ¶
func NewPurgeArtifactInternalServerError() *PurgeArtifactInternalServerError
NewPurgeArtifactInternalServerError creates a PurgeArtifactInternalServerError with default headers values
func (*PurgeArtifactInternalServerError) Error ¶
func (o *PurgeArtifactInternalServerError) Error() string
func (*PurgeArtifactInternalServerError) GetPayload ¶
func (o *PurgeArtifactInternalServerError) GetPayload() *models.APIResult
type PurgeArtifactNotFound ¶
PurgeArtifactNotFound handles this case with default header values.
Not Found
func NewPurgeArtifactNotFound ¶
func NewPurgeArtifactNotFound() *PurgeArtifactNotFound
NewPurgeArtifactNotFound creates a PurgeArtifactNotFound with default headers values
func (*PurgeArtifactNotFound) Error ¶
func (o *PurgeArtifactNotFound) Error() string
func (*PurgeArtifactNotFound) GetPayload ¶
func (o *PurgeArtifactNotFound) GetPayload() *models.APIResult
type PurgeArtifactOK ¶
type PurgeArtifactOK struct {
Payload *models.APIResultVoid
}
PurgeArtifactOK handles this case with default header values.
OK
func NewPurgeArtifactOK ¶
func NewPurgeArtifactOK() *PurgeArtifactOK
NewPurgeArtifactOK creates a PurgeArtifactOK with default headers values
func (*PurgeArtifactOK) Error ¶
func (o *PurgeArtifactOK) Error() string
func (*PurgeArtifactOK) GetPayload ¶
func (o *PurgeArtifactOK) GetPayload() *models.APIResultVoid
type PurgeArtifactParams ¶
type PurgeArtifactParams struct { /*Resource resource */ Resource *models.ArtifactPurgeRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurgeArtifactParams contains all the parameters to send to the API endpoint for the purge artifact operation typically these are written to a http.Request
func NewPurgeArtifactParams ¶
func NewPurgeArtifactParams() *PurgeArtifactParams
NewPurgeArtifactParams creates a new PurgeArtifactParams object with the default values initialized.
func NewPurgeArtifactParamsWithContext ¶
func NewPurgeArtifactParamsWithContext(ctx context.Context) *PurgeArtifactParams
NewPurgeArtifactParamsWithContext creates a new PurgeArtifactParams object with the default values initialized, and the ability to set a context for a request
func NewPurgeArtifactParamsWithHTTPClient ¶
func NewPurgeArtifactParamsWithHTTPClient(client *http.Client) *PurgeArtifactParams
NewPurgeArtifactParamsWithHTTPClient creates a new PurgeArtifactParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurgeArtifactParamsWithTimeout ¶
func NewPurgeArtifactParamsWithTimeout(timeout time.Duration) *PurgeArtifactParams
NewPurgeArtifactParamsWithTimeout creates a new PurgeArtifactParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurgeArtifactParams) SetContext ¶
func (o *PurgeArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the purge artifact params
func (*PurgeArtifactParams) SetHTTPClient ¶
func (o *PurgeArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purge artifact params
func (*PurgeArtifactParams) SetResource ¶
func (o *PurgeArtifactParams) SetResource(resource *models.ArtifactPurgeRequest)
SetResource adds the resource to the purge artifact params
func (*PurgeArtifactParams) SetTimeout ¶
func (o *PurgeArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purge artifact params
func (*PurgeArtifactParams) WithContext ¶
func (o *PurgeArtifactParams) WithContext(ctx context.Context) *PurgeArtifactParams
WithContext adds the context to the purge artifact params
func (*PurgeArtifactParams) WithHTTPClient ¶
func (o *PurgeArtifactParams) WithHTTPClient(client *http.Client) *PurgeArtifactParams
WithHTTPClient adds the HTTPClient to the purge artifact params
func (*PurgeArtifactParams) WithResource ¶
func (o *PurgeArtifactParams) WithResource(resource *models.ArtifactPurgeRequest) *PurgeArtifactParams
WithResource adds the resource to the purge artifact params
func (*PurgeArtifactParams) WithTimeout ¶
func (o *PurgeArtifactParams) WithTimeout(timeout time.Duration) *PurgeArtifactParams
WithTimeout adds the timeout to the purge artifact params
func (*PurgeArtifactParams) WriteToRequest ¶
func (o *PurgeArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurgeArtifactReader ¶
type PurgeArtifactReader struct {
// contains filtered or unexported fields
}
PurgeArtifactReader is a Reader for the PurgeArtifact structure.
func (*PurgeArtifactReader) ReadResponse ¶
func (o *PurgeArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurgeArtifactUnauthorized ¶
type PurgeArtifactUnauthorized struct {
}PurgeArtifactUnauthorized handles this case with default header values.
Unauthorized
func NewPurgeArtifactUnauthorized ¶
func NewPurgeArtifactUnauthorized() *PurgeArtifactUnauthorized
NewPurgeArtifactUnauthorized creates a PurgeArtifactUnauthorized with default headers values
func (*PurgeArtifactUnauthorized) Error ¶
func (o *PurgeArtifactUnauthorized) Error() string
func (*PurgeArtifactUnauthorized) GetPayload ¶
func (o *PurgeArtifactUnauthorized) GetPayload() *models.APIResult
type ReadArtifactBadRequest ¶
ReadArtifactBadRequest handles this case with default header values.
Bad Request
func NewReadArtifactBadRequest ¶
func NewReadArtifactBadRequest() *ReadArtifactBadRequest
NewReadArtifactBadRequest creates a ReadArtifactBadRequest with default headers values
func (*ReadArtifactBadRequest) Error ¶
func (o *ReadArtifactBadRequest) Error() string
func (*ReadArtifactBadRequest) GetPayload ¶
func (o *ReadArtifactBadRequest) GetPayload() *models.APIResult
type ReadArtifactConflict ¶
ReadArtifactConflict handles this case with default header values.
Conflict
func NewReadArtifactConflict ¶
func NewReadArtifactConflict() *ReadArtifactConflict
NewReadArtifactConflict creates a ReadArtifactConflict with default headers values
func (*ReadArtifactConflict) Error ¶
func (o *ReadArtifactConflict) Error() string
func (*ReadArtifactConflict) GetPayload ¶
func (o *ReadArtifactConflict) GetPayload() *models.APIResult
type ReadArtifactForbidden ¶
ReadArtifactForbidden handles this case with default header values.
Forbidden
func NewReadArtifactForbidden ¶
func NewReadArtifactForbidden() *ReadArtifactForbidden
NewReadArtifactForbidden creates a ReadArtifactForbidden with default headers values
func (*ReadArtifactForbidden) Error ¶
func (o *ReadArtifactForbidden) Error() string
func (*ReadArtifactForbidden) GetPayload ¶
func (o *ReadArtifactForbidden) GetPayload() *models.APIResult
type ReadArtifactInternalServerError ¶
ReadArtifactInternalServerError handles this case with default header values.
Internal Server Error
func NewReadArtifactInternalServerError ¶
func NewReadArtifactInternalServerError() *ReadArtifactInternalServerError
NewReadArtifactInternalServerError creates a ReadArtifactInternalServerError with default headers values
func (*ReadArtifactInternalServerError) Error ¶
func (o *ReadArtifactInternalServerError) Error() string
func (*ReadArtifactInternalServerError) GetPayload ¶
func (o *ReadArtifactInternalServerError) GetPayload() *models.APIResult
type ReadArtifactNotFound ¶
ReadArtifactNotFound handles this case with default header values.
Not Found
func NewReadArtifactNotFound ¶
func NewReadArtifactNotFound() *ReadArtifactNotFound
NewReadArtifactNotFound creates a ReadArtifactNotFound with default headers values
func (*ReadArtifactNotFound) Error ¶
func (o *ReadArtifactNotFound) Error() string
func (*ReadArtifactNotFound) GetPayload ¶
func (o *ReadArtifactNotFound) GetPayload() *models.APIResult
type ReadArtifactOK ¶
type ReadArtifactOK struct {
Payload *models.APIResultArtifact
}
ReadArtifactOK handles this case with default header values.
OK
func NewReadArtifactOK ¶
func NewReadArtifactOK() *ReadArtifactOK
NewReadArtifactOK creates a ReadArtifactOK with default headers values
func (*ReadArtifactOK) Error ¶
func (o *ReadArtifactOK) Error() string
func (*ReadArtifactOK) GetPayload ¶
func (o *ReadArtifactOK) GetPayload() *models.APIResultArtifact
type ReadArtifactParams ¶
type ReadArtifactParams struct { /*Embed Fields to embed */ Embed *string /*Fields Output fields */ Fields *string /*ID id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadArtifactParams contains all the parameters to send to the API endpoint for the read artifact operation typically these are written to a http.Request
func NewReadArtifactParams ¶
func NewReadArtifactParams() *ReadArtifactParams
NewReadArtifactParams creates a new ReadArtifactParams object with the default values initialized.
func NewReadArtifactParamsWithContext ¶
func NewReadArtifactParamsWithContext(ctx context.Context) *ReadArtifactParams
NewReadArtifactParamsWithContext creates a new ReadArtifactParams object with the default values initialized, and the ability to set a context for a request
func NewReadArtifactParamsWithHTTPClient ¶
func NewReadArtifactParamsWithHTTPClient(client *http.Client) *ReadArtifactParams
NewReadArtifactParamsWithHTTPClient creates a new ReadArtifactParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReadArtifactParamsWithTimeout ¶
func NewReadArtifactParamsWithTimeout(timeout time.Duration) *ReadArtifactParams
NewReadArtifactParamsWithTimeout creates a new ReadArtifactParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReadArtifactParams) SetContext ¶
func (o *ReadArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the read artifact params
func (*ReadArtifactParams) SetEmbed ¶
func (o *ReadArtifactParams) SetEmbed(embed *string)
SetEmbed adds the embed to the read artifact params
func (*ReadArtifactParams) SetFields ¶
func (o *ReadArtifactParams) SetFields(fields *string)
SetFields adds the fields to the read artifact params
func (*ReadArtifactParams) SetHTTPClient ¶
func (o *ReadArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read artifact params
func (*ReadArtifactParams) SetID ¶
func (o *ReadArtifactParams) SetID(id int64)
SetID adds the id to the read artifact params
func (*ReadArtifactParams) SetTimeout ¶
func (o *ReadArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read artifact params
func (*ReadArtifactParams) WithContext ¶
func (o *ReadArtifactParams) WithContext(ctx context.Context) *ReadArtifactParams
WithContext adds the context to the read artifact params
func (*ReadArtifactParams) WithEmbed ¶
func (o *ReadArtifactParams) WithEmbed(embed *string) *ReadArtifactParams
WithEmbed adds the embed to the read artifact params
func (*ReadArtifactParams) WithFields ¶
func (o *ReadArtifactParams) WithFields(fields *string) *ReadArtifactParams
WithFields adds the fields to the read artifact params
func (*ReadArtifactParams) WithHTTPClient ¶
func (o *ReadArtifactParams) WithHTTPClient(client *http.Client) *ReadArtifactParams
WithHTTPClient adds the HTTPClient to the read artifact params
func (*ReadArtifactParams) WithID ¶
func (o *ReadArtifactParams) WithID(id int64) *ReadArtifactParams
WithID adds the id to the read artifact params
func (*ReadArtifactParams) WithTimeout ¶
func (o *ReadArtifactParams) WithTimeout(timeout time.Duration) *ReadArtifactParams
WithTimeout adds the timeout to the read artifact params
func (*ReadArtifactParams) WriteToRequest ¶
func (o *ReadArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadArtifactReader ¶
type ReadArtifactReader struct {
// contains filtered or unexported fields
}
ReadArtifactReader is a Reader for the ReadArtifact structure.
func (*ReadArtifactReader) ReadResponse ¶
func (o *ReadArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadArtifactUnauthorized ¶
type ReadArtifactUnauthorized struct {
}ReadArtifactUnauthorized handles this case with default header values.
Unauthorized
func NewReadArtifactUnauthorized ¶
func NewReadArtifactUnauthorized() *ReadArtifactUnauthorized
NewReadArtifactUnauthorized creates a ReadArtifactUnauthorized with default headers values
func (*ReadArtifactUnauthorized) Error ¶
func (o *ReadArtifactUnauthorized) Error() string
func (*ReadArtifactUnauthorized) GetPayload ¶
func (o *ReadArtifactUnauthorized) GetPayload() *models.APIResult