Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateArtifact(params *CreateArtifactParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateArtifactOK, error)
- func (a *Client) DeleteArtifact(params *DeleteArtifactParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteArtifactOK, error)
- func (a *Client) GetArtifactSignedURL(params *GetArtifactSignedURLParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetArtifactSignedURLOK, error)
- func (a *Client) GetArtifactStream(params *GetArtifactStreamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetArtifactStreamOK, *GetArtifactStreamPartialContent, error)
- func (a *Client) QueryArtifacts(params *QueryArtifactsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryArtifactsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadArtifact(params *UploadArtifactParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadArtifactOK, *UploadArtifactAccepted, error)
- type ClientOption
- type ClientService
- type CreateArtifactBadRequest
- type CreateArtifactForbidden
- type CreateArtifactGatewayTimeout
- type CreateArtifactInternalServerError
- type CreateArtifactOK
- type CreateArtifactParams
- func NewCreateArtifactParams() *CreateArtifactParams
- func NewCreateArtifactParamsWithContext(ctx context.Context) *CreateArtifactParams
- func NewCreateArtifactParamsWithHTTPClient(client *http.Client) *CreateArtifactParams
- func NewCreateArtifactParamsWithTimeout(timeout time.Duration) *CreateArtifactParams
- func (o *CreateArtifactParams) SetBody(body *swagger_models.Artifact)
- func (o *CreateArtifactParams) SetContext(ctx context.Context)
- func (o *CreateArtifactParams) SetDefaults()
- func (o *CreateArtifactParams) SetHTTPClient(client *http.Client)
- func (o *CreateArtifactParams) SetTimeout(timeout time.Duration)
- func (o *CreateArtifactParams) SetXRequestID(xRequestID *string)
- func (o *CreateArtifactParams) WithBody(body *swagger_models.Artifact) *CreateArtifactParams
- func (o *CreateArtifactParams) WithContext(ctx context.Context) *CreateArtifactParams
- func (o *CreateArtifactParams) WithDefaults() *CreateArtifactParams
- func (o *CreateArtifactParams) WithHTTPClient(client *http.Client) *CreateArtifactParams
- func (o *CreateArtifactParams) WithTimeout(timeout time.Duration) *CreateArtifactParams
- func (o *CreateArtifactParams) WithXRequestID(xRequestID *string) *CreateArtifactParams
- func (o *CreateArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateArtifactReader
- type CreateArtifactUnauthorized
- type DeleteArtifactForbidden
- type DeleteArtifactGatewayTimeout
- 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) SetDefaults()
- func (o *DeleteArtifactParams) SetHTTPClient(client *http.Client)
- func (o *DeleteArtifactParams) SetID(id string)
- func (o *DeleteArtifactParams) SetTimeout(timeout time.Duration)
- func (o *DeleteArtifactParams) SetXRequestID(xRequestID *string)
- func (o *DeleteArtifactParams) WithContext(ctx context.Context) *DeleteArtifactParams
- func (o *DeleteArtifactParams) WithDefaults() *DeleteArtifactParams
- func (o *DeleteArtifactParams) WithHTTPClient(client *http.Client) *DeleteArtifactParams
- func (o *DeleteArtifactParams) WithID(id string) *DeleteArtifactParams
- func (o *DeleteArtifactParams) WithTimeout(timeout time.Duration) *DeleteArtifactParams
- func (o *DeleteArtifactParams) WithXRequestID(xRequestID *string) *DeleteArtifactParams
- func (o *DeleteArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteArtifactReader
- type DeleteArtifactUnauthorized
- type GetArtifactSignedURLBadRequest
- type GetArtifactSignedURLForbidden
- type GetArtifactSignedURLGatewayTimeout
- type GetArtifactSignedURLInternalServerError
- type GetArtifactSignedURLOK
- type GetArtifactSignedURLParams
- func NewGetArtifactSignedURLParams() *GetArtifactSignedURLParams
- func NewGetArtifactSignedURLParamsWithContext(ctx context.Context) *GetArtifactSignedURLParams
- func NewGetArtifactSignedURLParamsWithHTTPClient(client *http.Client) *GetArtifactSignedURLParams
- func NewGetArtifactSignedURLParamsWithTimeout(timeout time.Duration) *GetArtifactSignedURLParams
- func (o *GetArtifactSignedURLParams) SetContext(ctx context.Context)
- func (o *GetArtifactSignedURLParams) SetDefaults()
- func (o *GetArtifactSignedURLParams) SetHTTPClient(client *http.Client)
- func (o *GetArtifactSignedURLParams) SetID(id string)
- func (o *GetArtifactSignedURLParams) SetTimeout(timeout time.Duration)
- func (o *GetArtifactSignedURLParams) SetXRequestID(xRequestID *string)
- func (o *GetArtifactSignedURLParams) WithContext(ctx context.Context) *GetArtifactSignedURLParams
- func (o *GetArtifactSignedURLParams) WithDefaults() *GetArtifactSignedURLParams
- func (o *GetArtifactSignedURLParams) WithHTTPClient(client *http.Client) *GetArtifactSignedURLParams
- func (o *GetArtifactSignedURLParams) WithID(id string) *GetArtifactSignedURLParams
- func (o *GetArtifactSignedURLParams) WithTimeout(timeout time.Duration) *GetArtifactSignedURLParams
- func (o *GetArtifactSignedURLParams) WithXRequestID(xRequestID *string) *GetArtifactSignedURLParams
- func (o *GetArtifactSignedURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetArtifactSignedURLReader
- type GetArtifactSignedURLTemporaryRedirect
- type GetArtifactSignedURLUnauthorized
- type GetArtifactStreamBadRequest
- type GetArtifactStreamForbidden
- type GetArtifactStreamGatewayTimeout
- type GetArtifactStreamInternalServerError
- type GetArtifactStreamOK
- type GetArtifactStreamParams
- func NewGetArtifactStreamParams() *GetArtifactStreamParams
- func NewGetArtifactStreamParamsWithContext(ctx context.Context) *GetArtifactStreamParams
- func NewGetArtifactStreamParamsWithHTTPClient(client *http.Client) *GetArtifactStreamParams
- func NewGetArtifactStreamParamsWithTimeout(timeout time.Duration) *GetArtifactStreamParams
- func (o *GetArtifactStreamParams) SetContext(ctx context.Context)
- func (o *GetArtifactStreamParams) SetDefaults()
- func (o *GetArtifactStreamParams) SetHTTPClient(client *http.Client)
- func (o *GetArtifactStreamParams) SetID(id string)
- func (o *GetArtifactStreamParams) SetTimeout(timeout time.Duration)
- func (o *GetArtifactStreamParams) SetXRequestID(xRequestID *string)
- func (o *GetArtifactStreamParams) WithContext(ctx context.Context) *GetArtifactStreamParams
- func (o *GetArtifactStreamParams) WithDefaults() *GetArtifactStreamParams
- func (o *GetArtifactStreamParams) WithHTTPClient(client *http.Client) *GetArtifactStreamParams
- func (o *GetArtifactStreamParams) WithID(id string) *GetArtifactStreamParams
- func (o *GetArtifactStreamParams) WithTimeout(timeout time.Duration) *GetArtifactStreamParams
- func (o *GetArtifactStreamParams) WithXRequestID(xRequestID *string) *GetArtifactStreamParams
- func (o *GetArtifactStreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetArtifactStreamPartialContent
- type GetArtifactStreamReader
- type GetArtifactStreamTemporaryRedirect
- type GetArtifactStreamUnauthorized
- type QueryArtifactsBadRequest
- type QueryArtifactsForbidden
- type QueryArtifactsGatewayTimeout
- type QueryArtifactsInternalServerError
- type QueryArtifactsOK
- type QueryArtifactsParams
- func NewQueryArtifactsParams() *QueryArtifactsParams
- func NewQueryArtifactsParamsWithContext(ctx context.Context) *QueryArtifactsParams
- func NewQueryArtifactsParamsWithHTTPClient(client *http.Client) *QueryArtifactsParams
- func NewQueryArtifactsParamsWithTimeout(timeout time.Duration) *QueryArtifactsParams
- func (o *QueryArtifactsParams) SetContext(ctx context.Context)
- func (o *QueryArtifactsParams) SetDefaults()
- func (o *QueryArtifactsParams) SetHTTPClient(client *http.Client)
- func (o *QueryArtifactsParams) SetNextOrderBy(nextOrderBy *string)
- func (o *QueryArtifactsParams) SetNextPageNum(nextPageNum *int64)
- func (o *QueryArtifactsParams) SetNextPageSize(nextPageSize *int64)
- func (o *QueryArtifactsParams) SetNextPageToken(nextPageToken *string)
- func (o *QueryArtifactsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *QueryArtifactsParams) SetSummary(summary *bool)
- func (o *QueryArtifactsParams) SetTimeout(timeout time.Duration)
- func (o *QueryArtifactsParams) SetXRequestID(xRequestID *string)
- func (o *QueryArtifactsParams) WithContext(ctx context.Context) *QueryArtifactsParams
- func (o *QueryArtifactsParams) WithDefaults() *QueryArtifactsParams
- func (o *QueryArtifactsParams) WithHTTPClient(client *http.Client) *QueryArtifactsParams
- func (o *QueryArtifactsParams) WithNextOrderBy(nextOrderBy *string) *QueryArtifactsParams
- func (o *QueryArtifactsParams) WithNextPageNum(nextPageNum *int64) *QueryArtifactsParams
- func (o *QueryArtifactsParams) WithNextPageSize(nextPageSize *int64) *QueryArtifactsParams
- func (o *QueryArtifactsParams) WithNextPageToken(nextPageToken *string) *QueryArtifactsParams
- func (o *QueryArtifactsParams) WithNextTotalPages(nextTotalPages *int64) *QueryArtifactsParams
- func (o *QueryArtifactsParams) WithSummary(summary *bool) *QueryArtifactsParams
- func (o *QueryArtifactsParams) WithTimeout(timeout time.Duration) *QueryArtifactsParams
- func (o *QueryArtifactsParams) WithXRequestID(xRequestID *string) *QueryArtifactsParams
- func (o *QueryArtifactsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryArtifactsReader
- type QueryArtifactsUnauthorized
- type UploadArtifactAccepted
- type UploadArtifactBadRequest
- type UploadArtifactForbidden
- type UploadArtifactGatewayTimeout
- type UploadArtifactInternalServerError
- type UploadArtifactOK
- type UploadArtifactParams
- func NewUploadArtifactParams() *UploadArtifactParams
- func NewUploadArtifactParamsWithContext(ctx context.Context) *UploadArtifactParams
- func NewUploadArtifactParamsWithHTTPClient(client *http.Client) *UploadArtifactParams
- func NewUploadArtifactParamsWithTimeout(timeout time.Duration) *UploadArtifactParams
- func (o *UploadArtifactParams) SetBody(body strfmt.Base64)
- func (o *UploadArtifactParams) SetContentRange(contentRange string)
- func (o *UploadArtifactParams) SetContext(ctx context.Context)
- func (o *UploadArtifactParams) SetDefaults()
- func (o *UploadArtifactParams) SetHTTPClient(client *http.Client)
- func (o *UploadArtifactParams) SetID(id string)
- func (o *UploadArtifactParams) SetTimeout(timeout time.Duration)
- func (o *UploadArtifactParams) SetXRequestID(xRequestID *string)
- func (o *UploadArtifactParams) WithBody(body strfmt.Base64) *UploadArtifactParams
- func (o *UploadArtifactParams) WithContentRange(contentRange string) *UploadArtifactParams
- func (o *UploadArtifactParams) WithContext(ctx context.Context) *UploadArtifactParams
- func (o *UploadArtifactParams) WithDefaults() *UploadArtifactParams
- func (o *UploadArtifactParams) WithHTTPClient(client *http.Client) *UploadArtifactParams
- func (o *UploadArtifactParams) WithID(id string) *UploadArtifactParams
- func (o *UploadArtifactParams) WithTimeout(timeout time.Duration) *UploadArtifactParams
- func (o *UploadArtifactParams) WithXRequestID(xRequestID *string) *UploadArtifactParams
- func (o *UploadArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadArtifactReader
- type UploadArtifactUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for artifact manager API
func (*Client) CreateArtifact ¶
func (a *Client) CreateArtifact(params *CreateArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateArtifactOK, error)
CreateArtifact creates artifact file in the file storage
Create the artifact file in the file storage in AWS S3 or Azure BlobStorage
func (*Client) DeleteArtifact ¶
func (a *Client) DeleteArtifact(params *DeleteArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteArtifactOK, error)
DeleteArtifact deletes artifact file form the datastore
Drops the artifact file from the file storage in AWS S3 or Azure BlobStorage
func (*Client) GetArtifactSignedURL ¶
func (a *Client) GetArtifactSignedURL(params *GetArtifactSignedURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetArtifactSignedURLOK, error)
GetArtifactSignedURL generates the signed Url for accessing the resource
Generate the URL which can be used to access the resource from datastore like s3, Azure etc for specified amount of time.
func (*Client) GetArtifactStream ¶
func (a *Client) GetArtifactStream(params *GetArtifactStreamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetArtifactStreamOK, *GetArtifactStreamPartialContent, error)
GetArtifactStream downloads artifact file chunk by chunk
Downloads the artifact file in a stream from the file storage
func (*Client) QueryArtifacts ¶
func (a *Client) QueryArtifacts(params *QueryArtifactsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryArtifactsOK, error)
QueryArtifacts queries artifact files
Query the artifact file records.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadArtifact ¶
func (a *Client) UploadArtifact(params *UploadArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadArtifactOK, *UploadArtifactAccepted, error)
UploadArtifact uploads the given chunk into the specified multiple part file
Uploads the given chunk into the specified file
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateArtifact(params *CreateArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateArtifactOK, error) DeleteArtifact(params *DeleteArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteArtifactOK, error) GetArtifactSignedURL(params *GetArtifactSignedURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetArtifactSignedURLOK, error) GetArtifactStream(params *GetArtifactStreamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetArtifactStreamOK, *GetArtifactStreamPartialContent, error) QueryArtifacts(params *QueryArtifactsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryArtifactsOK, error) UploadArtifact(params *UploadArtifactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadArtifactOK, *UploadArtifactAccepted, 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 manager API client.
type CreateArtifactBadRequest ¶
type CreateArtifactBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
CreateArtifactBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.
func NewCreateArtifactBadRequest ¶
func NewCreateArtifactBadRequest() *CreateArtifactBadRequest
NewCreateArtifactBadRequest creates a CreateArtifactBadRequest with default headers values
func (*CreateArtifactBadRequest) Error ¶
func (o *CreateArtifactBadRequest) Error() string
func (*CreateArtifactBadRequest) GetPayload ¶
func (o *CreateArtifactBadRequest) GetPayload() *swagger_models.ZsrvResponse
type CreateArtifactForbidden ¶
type CreateArtifactForbidden struct {
Payload *swagger_models.ZsrvResponse
}
CreateArtifactForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewCreateArtifactForbidden ¶
func NewCreateArtifactForbidden() *CreateArtifactForbidden
NewCreateArtifactForbidden creates a CreateArtifactForbidden with default headers values
func (*CreateArtifactForbidden) Error ¶
func (o *CreateArtifactForbidden) Error() string
func (*CreateArtifactForbidden) GetPayload ¶
func (o *CreateArtifactForbidden) GetPayload() *swagger_models.ZsrvResponse
type CreateArtifactGatewayTimeout ¶
type CreateArtifactGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
CreateArtifactGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewCreateArtifactGatewayTimeout ¶
func NewCreateArtifactGatewayTimeout() *CreateArtifactGatewayTimeout
NewCreateArtifactGatewayTimeout creates a CreateArtifactGatewayTimeout with default headers values
func (*CreateArtifactGatewayTimeout) Error ¶
func (o *CreateArtifactGatewayTimeout) Error() string
func (*CreateArtifactGatewayTimeout) GetPayload ¶
func (o *CreateArtifactGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type CreateArtifactInternalServerError ¶
type CreateArtifactInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
CreateArtifactInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewCreateArtifactInternalServerError ¶
func NewCreateArtifactInternalServerError() *CreateArtifactInternalServerError
NewCreateArtifactInternalServerError creates a CreateArtifactInternalServerError with default headers values
func (*CreateArtifactInternalServerError) Error ¶
func (o *CreateArtifactInternalServerError) Error() string
func (*CreateArtifactInternalServerError) GetPayload ¶
func (o *CreateArtifactInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type CreateArtifactOK ¶
type CreateArtifactOK struct {
Payload *swagger_models.Artifact
}
CreateArtifactOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateArtifactOK ¶
func NewCreateArtifactOK() *CreateArtifactOK
NewCreateArtifactOK creates a CreateArtifactOK with default headers values
func (*CreateArtifactOK) Error ¶
func (o *CreateArtifactOK) Error() string
func (*CreateArtifactOK) GetPayload ¶
func (o *CreateArtifactOK) GetPayload() *swagger_models.Artifact
type CreateArtifactParams ¶
type CreateArtifactParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string // Body. Body *swagger_models.Artifact Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateArtifactParams contains all the parameters to send to the API endpoint
for the create artifact operation. Typically these are written to a http.Request.
func NewCreateArtifactParams ¶
func NewCreateArtifactParams() *CreateArtifactParams
NewCreateArtifactParams creates a new CreateArtifactParams 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 NewCreateArtifactParamsWithContext ¶
func NewCreateArtifactParamsWithContext(ctx context.Context) *CreateArtifactParams
NewCreateArtifactParamsWithContext creates a new CreateArtifactParams object with the ability to set a context for a request.
func NewCreateArtifactParamsWithHTTPClient ¶
func NewCreateArtifactParamsWithHTTPClient(client *http.Client) *CreateArtifactParams
NewCreateArtifactParamsWithHTTPClient creates a new CreateArtifactParams object with the ability to set a custom HTTPClient for a request.
func NewCreateArtifactParamsWithTimeout ¶
func NewCreateArtifactParamsWithTimeout(timeout time.Duration) *CreateArtifactParams
NewCreateArtifactParamsWithTimeout creates a new CreateArtifactParams object with the ability to set a timeout on a request.
func (*CreateArtifactParams) SetBody ¶
func (o *CreateArtifactParams) SetBody(body *swagger_models.Artifact)
SetBody adds the body to the create artifact params
func (*CreateArtifactParams) SetContext ¶
func (o *CreateArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the create artifact params
func (*CreateArtifactParams) SetDefaults ¶
func (o *CreateArtifactParams) SetDefaults()
SetDefaults hydrates default values in the create artifact params (not the query body).
All values with no default are reset to their zero value.
func (*CreateArtifactParams) SetHTTPClient ¶
func (o *CreateArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create artifact params
func (*CreateArtifactParams) SetTimeout ¶
func (o *CreateArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create artifact params
func (*CreateArtifactParams) SetXRequestID ¶
func (o *CreateArtifactParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create artifact params
func (*CreateArtifactParams) WithBody ¶
func (o *CreateArtifactParams) WithBody(body *swagger_models.Artifact) *CreateArtifactParams
WithBody adds the body to the create artifact params
func (*CreateArtifactParams) WithContext ¶
func (o *CreateArtifactParams) WithContext(ctx context.Context) *CreateArtifactParams
WithContext adds the context to the create artifact params
func (*CreateArtifactParams) WithDefaults ¶
func (o *CreateArtifactParams) WithDefaults() *CreateArtifactParams
WithDefaults hydrates default values in the create artifact params (not the query body).
All values with no default are reset to their zero value.
func (*CreateArtifactParams) WithHTTPClient ¶
func (o *CreateArtifactParams) WithHTTPClient(client *http.Client) *CreateArtifactParams
WithHTTPClient adds the HTTPClient to the create artifact params
func (*CreateArtifactParams) WithTimeout ¶
func (o *CreateArtifactParams) WithTimeout(timeout time.Duration) *CreateArtifactParams
WithTimeout adds the timeout to the create artifact params
func (*CreateArtifactParams) WithXRequestID ¶
func (o *CreateArtifactParams) WithXRequestID(xRequestID *string) *CreateArtifactParams
WithXRequestID adds the xRequestID to the create artifact params
func (*CreateArtifactParams) WriteToRequest ¶
func (o *CreateArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateArtifactReader ¶
type CreateArtifactReader struct {
// contains filtered or unexported fields
}
CreateArtifactReader is a Reader for the CreateArtifact structure.
func (*CreateArtifactReader) ReadResponse ¶
func (o *CreateArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateArtifactUnauthorized ¶
type CreateArtifactUnauthorized struct {
}CreateArtifactUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewCreateArtifactUnauthorized ¶
func NewCreateArtifactUnauthorized() *CreateArtifactUnauthorized
NewCreateArtifactUnauthorized creates a CreateArtifactUnauthorized with default headers values
func (*CreateArtifactUnauthorized) Error ¶
func (o *CreateArtifactUnauthorized) Error() string
func (*CreateArtifactUnauthorized) GetPayload ¶
func (o *CreateArtifactUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type DeleteArtifactForbidden ¶
type DeleteArtifactForbidden struct {
Payload *swagger_models.ZsrvResponse
}
DeleteArtifactForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
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() *swagger_models.ZsrvResponse
type DeleteArtifactGatewayTimeout ¶
type DeleteArtifactGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
DeleteArtifactGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewDeleteArtifactGatewayTimeout ¶
func NewDeleteArtifactGatewayTimeout() *DeleteArtifactGatewayTimeout
NewDeleteArtifactGatewayTimeout creates a DeleteArtifactGatewayTimeout with default headers values
func (*DeleteArtifactGatewayTimeout) Error ¶
func (o *DeleteArtifactGatewayTimeout) Error() string
func (*DeleteArtifactGatewayTimeout) GetPayload ¶
func (o *DeleteArtifactGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type DeleteArtifactInternalServerError ¶
type DeleteArtifactInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
DeleteArtifactInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
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() *swagger_models.ZsrvResponse
type DeleteArtifactNotFound ¶
type DeleteArtifactNotFound struct {
Payload *swagger_models.ZsrvResponse
}
DeleteArtifactNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be 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() *swagger_models.ZsrvResponse
type DeleteArtifactOK ¶
type DeleteArtifactOK struct {
Payload *swagger_models.ZsrvResponse
}
DeleteArtifactOK describes a response with status code 200, with default header values.
A successful response.
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() *swagger_models.ZsrvResponse
type DeleteArtifactParams ¶
type DeleteArtifactParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* ID. system generated unique id for an artifact */ ID string 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 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 NewDeleteArtifactParamsWithContext ¶
func NewDeleteArtifactParamsWithContext(ctx context.Context) *DeleteArtifactParams
NewDeleteArtifactParamsWithContext creates a new DeleteArtifactParams object with 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 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 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) SetDefaults ¶
func (o *DeleteArtifactParams) SetDefaults()
SetDefaults hydrates default values in the delete artifact params (not the query body).
All values with no default are reset to their zero value.
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 string)
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) SetXRequestID ¶
func (o *DeleteArtifactParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId 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) WithDefaults ¶
func (o *DeleteArtifactParams) WithDefaults() *DeleteArtifactParams
WithDefaults hydrates default values in the delete artifact params (not the query body).
All values with no default are reset to their zero value.
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 string) *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) WithXRequestID ¶
func (o *DeleteArtifactParams) WithXRequestID(xRequestID *string) *DeleteArtifactParams
WithXRequestID adds the xRequestID 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 describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
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() *swagger_models.ZsrvResponse
type GetArtifactSignedURLBadRequest ¶
type GetArtifactSignedURLBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
GetArtifactSignedURLBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of invalid value of parameters.
func NewGetArtifactSignedURLBadRequest ¶
func NewGetArtifactSignedURLBadRequest() *GetArtifactSignedURLBadRequest
NewGetArtifactSignedURLBadRequest creates a GetArtifactSignedURLBadRequest with default headers values
func (*GetArtifactSignedURLBadRequest) Error ¶
func (o *GetArtifactSignedURLBadRequest) Error() string
func (*GetArtifactSignedURLBadRequest) GetPayload ¶
func (o *GetArtifactSignedURLBadRequest) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactSignedURLForbidden ¶
type GetArtifactSignedURLForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetArtifactSignedURLForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetArtifactSignedURLForbidden ¶
func NewGetArtifactSignedURLForbidden() *GetArtifactSignedURLForbidden
NewGetArtifactSignedURLForbidden creates a GetArtifactSignedURLForbidden with default headers values
func (*GetArtifactSignedURLForbidden) Error ¶
func (o *GetArtifactSignedURLForbidden) Error() string
func (*GetArtifactSignedURLForbidden) GetPayload ¶
func (o *GetArtifactSignedURLForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactSignedURLGatewayTimeout ¶
type GetArtifactSignedURLGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetArtifactSignedURLGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetArtifactSignedURLGatewayTimeout ¶
func NewGetArtifactSignedURLGatewayTimeout() *GetArtifactSignedURLGatewayTimeout
NewGetArtifactSignedURLGatewayTimeout creates a GetArtifactSignedURLGatewayTimeout with default headers values
func (*GetArtifactSignedURLGatewayTimeout) Error ¶
func (o *GetArtifactSignedURLGatewayTimeout) Error() string
func (*GetArtifactSignedURLGatewayTimeout) GetPayload ¶
func (o *GetArtifactSignedURLGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactSignedURLInternalServerError ¶
type GetArtifactSignedURLInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetArtifactSignedURLInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetArtifactSignedURLInternalServerError ¶
func NewGetArtifactSignedURLInternalServerError() *GetArtifactSignedURLInternalServerError
NewGetArtifactSignedURLInternalServerError creates a GetArtifactSignedURLInternalServerError with default headers values
func (*GetArtifactSignedURLInternalServerError) Error ¶
func (o *GetArtifactSignedURLInternalServerError) Error() string
func (*GetArtifactSignedURLInternalServerError) GetPayload ¶
func (o *GetArtifactSignedURLInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactSignedURLOK ¶
type GetArtifactSignedURLOK struct {
Payload *swagger_models.Artifact
}
GetArtifactSignedURLOK describes a response with status code 200, with default header values.
A successful response.
func NewGetArtifactSignedURLOK ¶
func NewGetArtifactSignedURLOK() *GetArtifactSignedURLOK
NewGetArtifactSignedURLOK creates a GetArtifactSignedURLOK with default headers values
func (*GetArtifactSignedURLOK) Error ¶
func (o *GetArtifactSignedURLOK) Error() string
func (*GetArtifactSignedURLOK) GetPayload ¶
func (o *GetArtifactSignedURLOK) GetPayload() *swagger_models.Artifact
type GetArtifactSignedURLParams ¶
type GetArtifactSignedURLParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* ID. system generated unique id for an artifact */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetArtifactSignedURLParams contains all the parameters to send to the API endpoint
for the get artifact signed Url operation. Typically these are written to a http.Request.
func NewGetArtifactSignedURLParams ¶
func NewGetArtifactSignedURLParams() *GetArtifactSignedURLParams
NewGetArtifactSignedURLParams creates a new GetArtifactSignedURLParams 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 NewGetArtifactSignedURLParamsWithContext ¶
func NewGetArtifactSignedURLParamsWithContext(ctx context.Context) *GetArtifactSignedURLParams
NewGetArtifactSignedURLParamsWithContext creates a new GetArtifactSignedURLParams object with the ability to set a context for a request.
func NewGetArtifactSignedURLParamsWithHTTPClient ¶
func NewGetArtifactSignedURLParamsWithHTTPClient(client *http.Client) *GetArtifactSignedURLParams
NewGetArtifactSignedURLParamsWithHTTPClient creates a new GetArtifactSignedURLParams object with the ability to set a custom HTTPClient for a request.
func NewGetArtifactSignedURLParamsWithTimeout ¶
func NewGetArtifactSignedURLParamsWithTimeout(timeout time.Duration) *GetArtifactSignedURLParams
NewGetArtifactSignedURLParamsWithTimeout creates a new GetArtifactSignedURLParams object with the ability to set a timeout on a request.
func (*GetArtifactSignedURLParams) SetContext ¶
func (o *GetArtifactSignedURLParams) SetContext(ctx context.Context)
SetContext adds the context to the get artifact signed Url params
func (*GetArtifactSignedURLParams) SetDefaults ¶
func (o *GetArtifactSignedURLParams) SetDefaults()
SetDefaults hydrates default values in the get artifact signed Url params (not the query body).
All values with no default are reset to their zero value.
func (*GetArtifactSignedURLParams) SetHTTPClient ¶
func (o *GetArtifactSignedURLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get artifact signed Url params
func (*GetArtifactSignedURLParams) SetID ¶
func (o *GetArtifactSignedURLParams) SetID(id string)
SetID adds the id to the get artifact signed Url params
func (*GetArtifactSignedURLParams) SetTimeout ¶
func (o *GetArtifactSignedURLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get artifact signed Url params
func (*GetArtifactSignedURLParams) SetXRequestID ¶
func (o *GetArtifactSignedURLParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get artifact signed Url params
func (*GetArtifactSignedURLParams) WithContext ¶
func (o *GetArtifactSignedURLParams) WithContext(ctx context.Context) *GetArtifactSignedURLParams
WithContext adds the context to the get artifact signed Url params
func (*GetArtifactSignedURLParams) WithDefaults ¶
func (o *GetArtifactSignedURLParams) WithDefaults() *GetArtifactSignedURLParams
WithDefaults hydrates default values in the get artifact signed Url params (not the query body).
All values with no default are reset to their zero value.
func (*GetArtifactSignedURLParams) WithHTTPClient ¶
func (o *GetArtifactSignedURLParams) WithHTTPClient(client *http.Client) *GetArtifactSignedURLParams
WithHTTPClient adds the HTTPClient to the get artifact signed Url params
func (*GetArtifactSignedURLParams) WithID ¶
func (o *GetArtifactSignedURLParams) WithID(id string) *GetArtifactSignedURLParams
WithID adds the id to the get artifact signed Url params
func (*GetArtifactSignedURLParams) WithTimeout ¶
func (o *GetArtifactSignedURLParams) WithTimeout(timeout time.Duration) *GetArtifactSignedURLParams
WithTimeout adds the timeout to the get artifact signed Url params
func (*GetArtifactSignedURLParams) WithXRequestID ¶
func (o *GetArtifactSignedURLParams) WithXRequestID(xRequestID *string) *GetArtifactSignedURLParams
WithXRequestID adds the xRequestID to the get artifact signed Url params
func (*GetArtifactSignedURLParams) WriteToRequest ¶
func (o *GetArtifactSignedURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetArtifactSignedURLReader ¶
type GetArtifactSignedURLReader struct {
// contains filtered or unexported fields
}
GetArtifactSignedURLReader is a Reader for the GetArtifactSignedURL structure.
func (*GetArtifactSignedURLReader) ReadResponse ¶
func (o *GetArtifactSignedURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetArtifactSignedURLTemporaryRedirect ¶
type GetArtifactSignedURLTemporaryRedirect struct {
Payload *swagger_models.ZsrvResponse
}
GetArtifactSignedURLTemporaryRedirect describes a response with status code 307, with default header values.
Temporary Redirect. Returned when the requested artifactId is not available at the requested time
func NewGetArtifactSignedURLTemporaryRedirect ¶
func NewGetArtifactSignedURLTemporaryRedirect() *GetArtifactSignedURLTemporaryRedirect
NewGetArtifactSignedURLTemporaryRedirect creates a GetArtifactSignedURLTemporaryRedirect with default headers values
func (*GetArtifactSignedURLTemporaryRedirect) Error ¶
func (o *GetArtifactSignedURLTemporaryRedirect) Error() string
func (*GetArtifactSignedURLTemporaryRedirect) GetPayload ¶
func (o *GetArtifactSignedURLTemporaryRedirect) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactSignedURLUnauthorized ¶
type GetArtifactSignedURLUnauthorized struct {
}GetArtifactSignedURLUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetArtifactSignedURLUnauthorized ¶
func NewGetArtifactSignedURLUnauthorized() *GetArtifactSignedURLUnauthorized
NewGetArtifactSignedURLUnauthorized creates a GetArtifactSignedURLUnauthorized with default headers values
func (*GetArtifactSignedURLUnauthorized) Error ¶
func (o *GetArtifactSignedURLUnauthorized) Error() string
func (*GetArtifactSignedURLUnauthorized) GetPayload ¶
func (o *GetArtifactSignedURLUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactStreamBadRequest ¶
type GetArtifactStreamBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
GetArtifactStreamBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of invalid value of parameters.
func NewGetArtifactStreamBadRequest ¶
func NewGetArtifactStreamBadRequest() *GetArtifactStreamBadRequest
NewGetArtifactStreamBadRequest creates a GetArtifactStreamBadRequest with default headers values
func (*GetArtifactStreamBadRequest) Error ¶
func (o *GetArtifactStreamBadRequest) Error() string
func (*GetArtifactStreamBadRequest) GetPayload ¶
func (o *GetArtifactStreamBadRequest) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactStreamForbidden ¶
type GetArtifactStreamForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetArtifactStreamForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetArtifactStreamForbidden ¶
func NewGetArtifactStreamForbidden() *GetArtifactStreamForbidden
NewGetArtifactStreamForbidden creates a GetArtifactStreamForbidden with default headers values
func (*GetArtifactStreamForbidden) Error ¶
func (o *GetArtifactStreamForbidden) Error() string
func (*GetArtifactStreamForbidden) GetPayload ¶
func (o *GetArtifactStreamForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactStreamGatewayTimeout ¶
type GetArtifactStreamGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetArtifactStreamGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetArtifactStreamGatewayTimeout ¶
func NewGetArtifactStreamGatewayTimeout() *GetArtifactStreamGatewayTimeout
NewGetArtifactStreamGatewayTimeout creates a GetArtifactStreamGatewayTimeout with default headers values
func (*GetArtifactStreamGatewayTimeout) Error ¶
func (o *GetArtifactStreamGatewayTimeout) Error() string
func (*GetArtifactStreamGatewayTimeout) GetPayload ¶
func (o *GetArtifactStreamGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactStreamInternalServerError ¶
type GetArtifactStreamInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetArtifactStreamInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetArtifactStreamInternalServerError ¶
func NewGetArtifactStreamInternalServerError() *GetArtifactStreamInternalServerError
NewGetArtifactStreamInternalServerError creates a GetArtifactStreamInternalServerError with default headers values
func (*GetArtifactStreamInternalServerError) Error ¶
func (o *GetArtifactStreamInternalServerError) Error() string
func (*GetArtifactStreamInternalServerError) GetPayload ¶
func (o *GetArtifactStreamInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactStreamOK ¶
GetArtifactStreamOK describes a response with status code 200, with default header values.
artifact chunk data(streaming responses)
func NewGetArtifactStreamOK ¶
func NewGetArtifactStreamOK() *GetArtifactStreamOK
NewGetArtifactStreamOK creates a GetArtifactStreamOK with default headers values
func (*GetArtifactStreamOK) Error ¶
func (o *GetArtifactStreamOK) Error() string
func (*GetArtifactStreamOK) GetPayload ¶
func (o *GetArtifactStreamOK) GetPayload() strfmt.Base64
type GetArtifactStreamParams ¶
type GetArtifactStreamParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* ID. system generated unique id for an artifact */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetArtifactStreamParams contains all the parameters to send to the API endpoint
for the get artifact stream operation. Typically these are written to a http.Request.
func NewGetArtifactStreamParams ¶
func NewGetArtifactStreamParams() *GetArtifactStreamParams
NewGetArtifactStreamParams creates a new GetArtifactStreamParams 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 NewGetArtifactStreamParamsWithContext ¶
func NewGetArtifactStreamParamsWithContext(ctx context.Context) *GetArtifactStreamParams
NewGetArtifactStreamParamsWithContext creates a new GetArtifactStreamParams object with the ability to set a context for a request.
func NewGetArtifactStreamParamsWithHTTPClient ¶
func NewGetArtifactStreamParamsWithHTTPClient(client *http.Client) *GetArtifactStreamParams
NewGetArtifactStreamParamsWithHTTPClient creates a new GetArtifactStreamParams object with the ability to set a custom HTTPClient for a request.
func NewGetArtifactStreamParamsWithTimeout ¶
func NewGetArtifactStreamParamsWithTimeout(timeout time.Duration) *GetArtifactStreamParams
NewGetArtifactStreamParamsWithTimeout creates a new GetArtifactStreamParams object with the ability to set a timeout on a request.
func (*GetArtifactStreamParams) SetContext ¶
func (o *GetArtifactStreamParams) SetContext(ctx context.Context)
SetContext adds the context to the get artifact stream params
func (*GetArtifactStreamParams) SetDefaults ¶
func (o *GetArtifactStreamParams) SetDefaults()
SetDefaults hydrates default values in the get artifact stream params (not the query body).
All values with no default are reset to their zero value.
func (*GetArtifactStreamParams) SetHTTPClient ¶
func (o *GetArtifactStreamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get artifact stream params
func (*GetArtifactStreamParams) SetID ¶
func (o *GetArtifactStreamParams) SetID(id string)
SetID adds the id to the get artifact stream params
func (*GetArtifactStreamParams) SetTimeout ¶
func (o *GetArtifactStreamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get artifact stream params
func (*GetArtifactStreamParams) SetXRequestID ¶
func (o *GetArtifactStreamParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get artifact stream params
func (*GetArtifactStreamParams) WithContext ¶
func (o *GetArtifactStreamParams) WithContext(ctx context.Context) *GetArtifactStreamParams
WithContext adds the context to the get artifact stream params
func (*GetArtifactStreamParams) WithDefaults ¶
func (o *GetArtifactStreamParams) WithDefaults() *GetArtifactStreamParams
WithDefaults hydrates default values in the get artifact stream params (not the query body).
All values with no default are reset to their zero value.
func (*GetArtifactStreamParams) WithHTTPClient ¶
func (o *GetArtifactStreamParams) WithHTTPClient(client *http.Client) *GetArtifactStreamParams
WithHTTPClient adds the HTTPClient to the get artifact stream params
func (*GetArtifactStreamParams) WithID ¶
func (o *GetArtifactStreamParams) WithID(id string) *GetArtifactStreamParams
WithID adds the id to the get artifact stream params
func (*GetArtifactStreamParams) WithTimeout ¶
func (o *GetArtifactStreamParams) WithTimeout(timeout time.Duration) *GetArtifactStreamParams
WithTimeout adds the timeout to the get artifact stream params
func (*GetArtifactStreamParams) WithXRequestID ¶
func (o *GetArtifactStreamParams) WithXRequestID(xRequestID *string) *GetArtifactStreamParams
WithXRequestID adds the xRequestID to the get artifact stream params
func (*GetArtifactStreamParams) WriteToRequest ¶
func (o *GetArtifactStreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetArtifactStreamPartialContent ¶
type GetArtifactStreamPartialContent struct {
Payload *swagger_models.ZsrvResponse
}
GetArtifactStreamPartialContent describes a response with status code 206, with default header values.
Partial Content. The API gateway has fulfilled the partial GET request for the resource.
func NewGetArtifactStreamPartialContent ¶
func NewGetArtifactStreamPartialContent() *GetArtifactStreamPartialContent
NewGetArtifactStreamPartialContent creates a GetArtifactStreamPartialContent with default headers values
func (*GetArtifactStreamPartialContent) Error ¶
func (o *GetArtifactStreamPartialContent) Error() string
func (*GetArtifactStreamPartialContent) GetPayload ¶
func (o *GetArtifactStreamPartialContent) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactStreamReader ¶
type GetArtifactStreamReader struct {
// contains filtered or unexported fields
}
GetArtifactStreamReader is a Reader for the GetArtifactStream structure.
func (*GetArtifactStreamReader) ReadResponse ¶
func (o *GetArtifactStreamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetArtifactStreamTemporaryRedirect ¶
type GetArtifactStreamTemporaryRedirect struct {
Payload *swagger_models.ZsrvResponse
}
GetArtifactStreamTemporaryRedirect describes a response with status code 307, with default header values.
Temporary Redirect. Returned when the requested artifactId is not available at the requested time
func NewGetArtifactStreamTemporaryRedirect ¶
func NewGetArtifactStreamTemporaryRedirect() *GetArtifactStreamTemporaryRedirect
NewGetArtifactStreamTemporaryRedirect creates a GetArtifactStreamTemporaryRedirect with default headers values
func (*GetArtifactStreamTemporaryRedirect) Error ¶
func (o *GetArtifactStreamTemporaryRedirect) Error() string
func (*GetArtifactStreamTemporaryRedirect) GetPayload ¶
func (o *GetArtifactStreamTemporaryRedirect) GetPayload() *swagger_models.ZsrvResponse
type GetArtifactStreamUnauthorized ¶
type GetArtifactStreamUnauthorized struct {
}GetArtifactStreamUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetArtifactStreamUnauthorized ¶
func NewGetArtifactStreamUnauthorized() *GetArtifactStreamUnauthorized
NewGetArtifactStreamUnauthorized creates a GetArtifactStreamUnauthorized with default headers values
func (*GetArtifactStreamUnauthorized) Error ¶
func (o *GetArtifactStreamUnauthorized) Error() string
func (*GetArtifactStreamUnauthorized) GetPayload ¶
func (o *GetArtifactStreamUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type QueryArtifactsBadRequest ¶
type QueryArtifactsBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
QueryArtifactsBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of invalid value of filter parameters.
func NewQueryArtifactsBadRequest ¶
func NewQueryArtifactsBadRequest() *QueryArtifactsBadRequest
NewQueryArtifactsBadRequest creates a QueryArtifactsBadRequest with default headers values
func (*QueryArtifactsBadRequest) Error ¶
func (o *QueryArtifactsBadRequest) Error() string
func (*QueryArtifactsBadRequest) GetPayload ¶
func (o *QueryArtifactsBadRequest) GetPayload() *swagger_models.ZsrvResponse
type QueryArtifactsForbidden ¶
type QueryArtifactsForbidden struct {
Payload *swagger_models.ZsrvResponse
}
QueryArtifactsForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewQueryArtifactsForbidden ¶
func NewQueryArtifactsForbidden() *QueryArtifactsForbidden
NewQueryArtifactsForbidden creates a QueryArtifactsForbidden with default headers values
func (*QueryArtifactsForbidden) Error ¶
func (o *QueryArtifactsForbidden) Error() string
func (*QueryArtifactsForbidden) GetPayload ¶
func (o *QueryArtifactsForbidden) GetPayload() *swagger_models.ZsrvResponse
type QueryArtifactsGatewayTimeout ¶
type QueryArtifactsGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
QueryArtifactsGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewQueryArtifactsGatewayTimeout ¶
func NewQueryArtifactsGatewayTimeout() *QueryArtifactsGatewayTimeout
NewQueryArtifactsGatewayTimeout creates a QueryArtifactsGatewayTimeout with default headers values
func (*QueryArtifactsGatewayTimeout) Error ¶
func (o *QueryArtifactsGatewayTimeout) Error() string
func (*QueryArtifactsGatewayTimeout) GetPayload ¶
func (o *QueryArtifactsGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type QueryArtifactsInternalServerError ¶
type QueryArtifactsInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
QueryArtifactsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewQueryArtifactsInternalServerError ¶
func NewQueryArtifactsInternalServerError() *QueryArtifactsInternalServerError
NewQueryArtifactsInternalServerError creates a QueryArtifactsInternalServerError with default headers values
func (*QueryArtifactsInternalServerError) Error ¶
func (o *QueryArtifactsInternalServerError) Error() string
func (*QueryArtifactsInternalServerError) GetPayload ¶
func (o *QueryArtifactsInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type QueryArtifactsOK ¶
type QueryArtifactsOK struct {
Payload *swagger_models.ArtifactList
}
QueryArtifactsOK describes a response with status code 200, with default header values.
A successful response.
func NewQueryArtifactsOK ¶
func NewQueryArtifactsOK() *QueryArtifactsOK
NewQueryArtifactsOK creates a QueryArtifactsOK with default headers values
func (*QueryArtifactsOK) Error ¶
func (o *QueryArtifactsOK) Error() string
func (*QueryArtifactsOK) GetPayload ¶
func (o *QueryArtifactsOK) GetPayload() *swagger_models.ArtifactList
type QueryArtifactsParams ¶
type QueryArtifactsParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* NextOrderBy. OrderBy helps in sorting the list response */ NextOrderBy *string /* NextPageNum. Page Number Format: int64 */ NextPageNum *int64 /* NextPageSize. Defines the page size Format: int64 */ NextPageSize *int64 /* NextPageToken. Page Token */ NextPageToken *string /* NextTotalPages. Total number of pages to be fetched. Format: int64 */ NextTotalPages *int64 /* Summary. Only summary of the records required Format: boolean */ Summary *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryArtifactsParams contains all the parameters to send to the API endpoint
for the query artifacts operation. Typically these are written to a http.Request.
func NewQueryArtifactsParams ¶
func NewQueryArtifactsParams() *QueryArtifactsParams
NewQueryArtifactsParams creates a new QueryArtifactsParams 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 NewQueryArtifactsParamsWithContext ¶
func NewQueryArtifactsParamsWithContext(ctx context.Context) *QueryArtifactsParams
NewQueryArtifactsParamsWithContext creates a new QueryArtifactsParams object with the ability to set a context for a request.
func NewQueryArtifactsParamsWithHTTPClient ¶
func NewQueryArtifactsParamsWithHTTPClient(client *http.Client) *QueryArtifactsParams
NewQueryArtifactsParamsWithHTTPClient creates a new QueryArtifactsParams object with the ability to set a custom HTTPClient for a request.
func NewQueryArtifactsParamsWithTimeout ¶
func NewQueryArtifactsParamsWithTimeout(timeout time.Duration) *QueryArtifactsParams
NewQueryArtifactsParamsWithTimeout creates a new QueryArtifactsParams object with the ability to set a timeout on a request.
func (*QueryArtifactsParams) SetContext ¶
func (o *QueryArtifactsParams) SetContext(ctx context.Context)
SetContext adds the context to the query artifacts params
func (*QueryArtifactsParams) SetDefaults ¶
func (o *QueryArtifactsParams) SetDefaults()
SetDefaults hydrates default values in the query artifacts params (not the query body).
All values with no default are reset to their zero value.
func (*QueryArtifactsParams) SetHTTPClient ¶
func (o *QueryArtifactsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query artifacts params
func (*QueryArtifactsParams) SetNextOrderBy ¶
func (o *QueryArtifactsParams) SetNextOrderBy(nextOrderBy *string)
SetNextOrderBy adds the nextOrderBy to the query artifacts params
func (*QueryArtifactsParams) SetNextPageNum ¶
func (o *QueryArtifactsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the query artifacts params
func (*QueryArtifactsParams) SetNextPageSize ¶
func (o *QueryArtifactsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the query artifacts params
func (*QueryArtifactsParams) SetNextPageToken ¶
func (o *QueryArtifactsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the query artifacts params
func (*QueryArtifactsParams) SetNextTotalPages ¶
func (o *QueryArtifactsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the query artifacts params
func (*QueryArtifactsParams) SetSummary ¶
func (o *QueryArtifactsParams) SetSummary(summary *bool)
SetSummary adds the summary to the query artifacts params
func (*QueryArtifactsParams) SetTimeout ¶
func (o *QueryArtifactsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query artifacts params
func (*QueryArtifactsParams) SetXRequestID ¶
func (o *QueryArtifactsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the query artifacts params
func (*QueryArtifactsParams) WithContext ¶
func (o *QueryArtifactsParams) WithContext(ctx context.Context) *QueryArtifactsParams
WithContext adds the context to the query artifacts params
func (*QueryArtifactsParams) WithDefaults ¶
func (o *QueryArtifactsParams) WithDefaults() *QueryArtifactsParams
WithDefaults hydrates default values in the query artifacts params (not the query body).
All values with no default are reset to their zero value.
func (*QueryArtifactsParams) WithHTTPClient ¶
func (o *QueryArtifactsParams) WithHTTPClient(client *http.Client) *QueryArtifactsParams
WithHTTPClient adds the HTTPClient to the query artifacts params
func (*QueryArtifactsParams) WithNextOrderBy ¶
func (o *QueryArtifactsParams) WithNextOrderBy(nextOrderBy *string) *QueryArtifactsParams
WithNextOrderBy adds the nextOrderBy to the query artifacts params
func (*QueryArtifactsParams) WithNextPageNum ¶
func (o *QueryArtifactsParams) WithNextPageNum(nextPageNum *int64) *QueryArtifactsParams
WithNextPageNum adds the nextPageNum to the query artifacts params
func (*QueryArtifactsParams) WithNextPageSize ¶
func (o *QueryArtifactsParams) WithNextPageSize(nextPageSize *int64) *QueryArtifactsParams
WithNextPageSize adds the nextPageSize to the query artifacts params
func (*QueryArtifactsParams) WithNextPageToken ¶
func (o *QueryArtifactsParams) WithNextPageToken(nextPageToken *string) *QueryArtifactsParams
WithNextPageToken adds the nextPageToken to the query artifacts params
func (*QueryArtifactsParams) WithNextTotalPages ¶
func (o *QueryArtifactsParams) WithNextTotalPages(nextTotalPages *int64) *QueryArtifactsParams
WithNextTotalPages adds the nextTotalPages to the query artifacts params
func (*QueryArtifactsParams) WithSummary ¶
func (o *QueryArtifactsParams) WithSummary(summary *bool) *QueryArtifactsParams
WithSummary adds the summary to the query artifacts params
func (*QueryArtifactsParams) WithTimeout ¶
func (o *QueryArtifactsParams) WithTimeout(timeout time.Duration) *QueryArtifactsParams
WithTimeout adds the timeout to the query artifacts params
func (*QueryArtifactsParams) WithXRequestID ¶
func (o *QueryArtifactsParams) WithXRequestID(xRequestID *string) *QueryArtifactsParams
WithXRequestID adds the xRequestID to the query artifacts params
func (*QueryArtifactsParams) WriteToRequest ¶
func (o *QueryArtifactsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryArtifactsReader ¶
type QueryArtifactsReader struct {
// contains filtered or unexported fields
}
QueryArtifactsReader is a Reader for the QueryArtifacts structure.
func (*QueryArtifactsReader) ReadResponse ¶
func (o *QueryArtifactsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryArtifactsUnauthorized ¶
type QueryArtifactsUnauthorized struct {
}QueryArtifactsUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewQueryArtifactsUnauthorized ¶
func NewQueryArtifactsUnauthorized() *QueryArtifactsUnauthorized
NewQueryArtifactsUnauthorized creates a QueryArtifactsUnauthorized with default headers values
func (*QueryArtifactsUnauthorized) Error ¶
func (o *QueryArtifactsUnauthorized) Error() string
func (*QueryArtifactsUnauthorized) GetPayload ¶
func (o *QueryArtifactsUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type UploadArtifactAccepted ¶
type UploadArtifactAccepted struct {
Payload *swagger_models.ZsrvResponse
}
UploadArtifactAccepted describes a response with status code 202, with default header values.
Accepted. The API gateway accepted the request for uploading but the uploading process has not been completed.
func NewUploadArtifactAccepted ¶
func NewUploadArtifactAccepted() *UploadArtifactAccepted
NewUploadArtifactAccepted creates a UploadArtifactAccepted with default headers values
func (*UploadArtifactAccepted) Error ¶
func (o *UploadArtifactAccepted) Error() string
func (*UploadArtifactAccepted) GetPayload ¶
func (o *UploadArtifactAccepted) GetPayload() *swagger_models.ZsrvResponse
type UploadArtifactBadRequest ¶
type UploadArtifactBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
UploadArtifactBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.
func NewUploadArtifactBadRequest ¶
func NewUploadArtifactBadRequest() *UploadArtifactBadRequest
NewUploadArtifactBadRequest creates a UploadArtifactBadRequest with default headers values
func (*UploadArtifactBadRequest) Error ¶
func (o *UploadArtifactBadRequest) Error() string
func (*UploadArtifactBadRequest) GetPayload ¶
func (o *UploadArtifactBadRequest) GetPayload() *swagger_models.ZsrvResponse
type UploadArtifactForbidden ¶
type UploadArtifactForbidden struct {
Payload *swagger_models.ZsrvResponse
}
UploadArtifactForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewUploadArtifactForbidden ¶
func NewUploadArtifactForbidden() *UploadArtifactForbidden
NewUploadArtifactForbidden creates a UploadArtifactForbidden with default headers values
func (*UploadArtifactForbidden) Error ¶
func (o *UploadArtifactForbidden) Error() string
func (*UploadArtifactForbidden) GetPayload ¶
func (o *UploadArtifactForbidden) GetPayload() *swagger_models.ZsrvResponse
type UploadArtifactGatewayTimeout ¶
type UploadArtifactGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
UploadArtifactGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewUploadArtifactGatewayTimeout ¶
func NewUploadArtifactGatewayTimeout() *UploadArtifactGatewayTimeout
NewUploadArtifactGatewayTimeout creates a UploadArtifactGatewayTimeout with default headers values
func (*UploadArtifactGatewayTimeout) Error ¶
func (o *UploadArtifactGatewayTimeout) Error() string
func (*UploadArtifactGatewayTimeout) GetPayload ¶
func (o *UploadArtifactGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type UploadArtifactInternalServerError ¶
type UploadArtifactInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
UploadArtifactInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewUploadArtifactInternalServerError ¶
func NewUploadArtifactInternalServerError() *UploadArtifactInternalServerError
NewUploadArtifactInternalServerError creates a UploadArtifactInternalServerError with default headers values
func (*UploadArtifactInternalServerError) Error ¶
func (o *UploadArtifactInternalServerError) Error() string
func (*UploadArtifactInternalServerError) GetPayload ¶
func (o *UploadArtifactInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type UploadArtifactOK ¶
type UploadArtifactOK struct {
Payload *swagger_models.ZsrvResponse
}
UploadArtifactOK describes a response with status code 200, with default header values.
A successful response.
func NewUploadArtifactOK ¶
func NewUploadArtifactOK() *UploadArtifactOK
NewUploadArtifactOK creates a UploadArtifactOK with default headers values
func (*UploadArtifactOK) Error ¶
func (o *UploadArtifactOK) Error() string
func (*UploadArtifactOK) GetPayload ¶
func (o *UploadArtifactOK) GetPayload() *swagger_models.ZsrvResponse
type UploadArtifactParams ¶
type UploadArtifactParams struct { /* ContentRange. Content range in this request. Example : bytes 1024-2047/8192 */ ContentRange string /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* Body. artifact chunk data Format: byte */ Body strfmt.Base64 // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadArtifactParams contains all the parameters to send to the API endpoint
for the upload artifact operation. Typically these are written to a http.Request.
func NewUploadArtifactParams ¶
func NewUploadArtifactParams() *UploadArtifactParams
NewUploadArtifactParams creates a new UploadArtifactParams 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 NewUploadArtifactParamsWithContext ¶
func NewUploadArtifactParamsWithContext(ctx context.Context) *UploadArtifactParams
NewUploadArtifactParamsWithContext creates a new UploadArtifactParams object with the ability to set a context for a request.
func NewUploadArtifactParamsWithHTTPClient ¶
func NewUploadArtifactParamsWithHTTPClient(client *http.Client) *UploadArtifactParams
NewUploadArtifactParamsWithHTTPClient creates a new UploadArtifactParams object with the ability to set a custom HTTPClient for a request.
func NewUploadArtifactParamsWithTimeout ¶
func NewUploadArtifactParamsWithTimeout(timeout time.Duration) *UploadArtifactParams
NewUploadArtifactParamsWithTimeout creates a new UploadArtifactParams object with the ability to set a timeout on a request.
func (*UploadArtifactParams) SetBody ¶
func (o *UploadArtifactParams) SetBody(body strfmt.Base64)
SetBody adds the body to the upload artifact params
func (*UploadArtifactParams) SetContentRange ¶
func (o *UploadArtifactParams) SetContentRange(contentRange string)
SetContentRange adds the contentRange to the upload artifact params
func (*UploadArtifactParams) SetContext ¶
func (o *UploadArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the upload artifact params
func (*UploadArtifactParams) SetDefaults ¶
func (o *UploadArtifactParams) SetDefaults()
SetDefaults hydrates default values in the upload artifact params (not the query body).
All values with no default are reset to their zero value.
func (*UploadArtifactParams) SetHTTPClient ¶
func (o *UploadArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload artifact params
func (*UploadArtifactParams) SetID ¶
func (o *UploadArtifactParams) SetID(id string)
SetID adds the id to the upload artifact params
func (*UploadArtifactParams) SetTimeout ¶
func (o *UploadArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload artifact params
func (*UploadArtifactParams) SetXRequestID ¶
func (o *UploadArtifactParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the upload artifact params
func (*UploadArtifactParams) WithBody ¶
func (o *UploadArtifactParams) WithBody(body strfmt.Base64) *UploadArtifactParams
WithBody adds the body to the upload artifact params
func (*UploadArtifactParams) WithContentRange ¶
func (o *UploadArtifactParams) WithContentRange(contentRange string) *UploadArtifactParams
WithContentRange adds the contentRange to the upload artifact params
func (*UploadArtifactParams) WithContext ¶
func (o *UploadArtifactParams) WithContext(ctx context.Context) *UploadArtifactParams
WithContext adds the context to the upload artifact params
func (*UploadArtifactParams) WithDefaults ¶
func (o *UploadArtifactParams) WithDefaults() *UploadArtifactParams
WithDefaults hydrates default values in the upload artifact params (not the query body).
All values with no default are reset to their zero value.
func (*UploadArtifactParams) WithHTTPClient ¶
func (o *UploadArtifactParams) WithHTTPClient(client *http.Client) *UploadArtifactParams
WithHTTPClient adds the HTTPClient to the upload artifact params
func (*UploadArtifactParams) WithID ¶
func (o *UploadArtifactParams) WithID(id string) *UploadArtifactParams
WithID adds the id to the upload artifact params
func (*UploadArtifactParams) WithTimeout ¶
func (o *UploadArtifactParams) WithTimeout(timeout time.Duration) *UploadArtifactParams
WithTimeout adds the timeout to the upload artifact params
func (*UploadArtifactParams) WithXRequestID ¶
func (o *UploadArtifactParams) WithXRequestID(xRequestID *string) *UploadArtifactParams
WithXRequestID adds the xRequestID to the upload artifact params
func (*UploadArtifactParams) WriteToRequest ¶
func (o *UploadArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadArtifactReader ¶
type UploadArtifactReader struct {
// contains filtered or unexported fields
}
UploadArtifactReader is a Reader for the UploadArtifact structure.
func (*UploadArtifactReader) ReadResponse ¶
func (o *UploadArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadArtifactUnauthorized ¶
type UploadArtifactUnauthorized struct {
}UploadArtifactUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewUploadArtifactUnauthorized ¶
func NewUploadArtifactUnauthorized() *UploadArtifactUnauthorized
NewUploadArtifactUnauthorized creates a UploadArtifactUnauthorized with default headers values
func (*UploadArtifactUnauthorized) Error ¶
func (o *UploadArtifactUnauthorized) Error() string
func (*UploadArtifactUnauthorized) GetPayload ¶
func (o *UploadArtifactUnauthorized) GetPayload() *swagger_models.ZsrvResponse
Source Files
¶
- artifact_manager_client.go
- create_artifact_parameters.go
- create_artifact_responses.go
- delete_artifact_parameters.go
- delete_artifact_responses.go
- get_artifact_signed_url_parameters.go
- get_artifact_signed_url_responses.go
- get_artifact_stream_parameters.go
- get_artifact_stream_responses.go
- query_artifacts_parameters.go
- query_artifacts_responses.go
- upload_artifact_parameters.go
- upload_artifact_responses.go