artifact_manager

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

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

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

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 (*CreateArtifactGatewayTimeout) GetPayload

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 (*CreateArtifactInternalServerError) GetPayload

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

WithBody adds the body to the create artifact params

func (*CreateArtifactParams) WithContext

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 {
	Payload *swagger_models.ZsrvResponse
}
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 (*CreateArtifactUnauthorized) GetPayload

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

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 (*DeleteArtifactGatewayTimeout) GetPayload

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 (*DeleteArtifactInternalServerError) GetPayload

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

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

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

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 {
	Payload *swagger_models.ZsrvResponse
}
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 (*DeleteArtifactUnauthorized) GetPayload

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 (*GetArtifactSignedURLBadRequest) GetPayload

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 (*GetArtifactSignedURLForbidden) GetPayload

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 (*GetArtifactSignedURLGatewayTimeout) GetPayload

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 (*GetArtifactSignedURLInternalServerError) GetPayload

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

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

WithContext adds the context to the get artifact signed Url params

func (*GetArtifactSignedURLParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get artifact signed Url params

func (*GetArtifactSignedURLParams) WithID

WithID adds the id to the get artifact signed Url params

func (*GetArtifactSignedURLParams) WithTimeout

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

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 (*GetArtifactSignedURLTemporaryRedirect) GetPayload

type GetArtifactSignedURLUnauthorized

type GetArtifactSignedURLUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
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 (*GetArtifactSignedURLUnauthorized) GetPayload

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 (*GetArtifactStreamBadRequest) GetPayload

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 (*GetArtifactStreamForbidden) GetPayload

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 (*GetArtifactStreamGatewayTimeout) GetPayload

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 (*GetArtifactStreamInternalServerError) GetPayload

type GetArtifactStreamOK

type GetArtifactStreamOK struct {
	Payload strfmt.Base64
}
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

WithContext adds the context to the get artifact stream params

func (*GetArtifactStreamParams) WithDefaults

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

WithID adds the id to the get artifact stream params

func (*GetArtifactStreamParams) WithTimeout

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

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 (*GetArtifactStreamPartialContent) GetPayload

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 (*GetArtifactStreamTemporaryRedirect) GetPayload

type GetArtifactStreamUnauthorized

type GetArtifactStreamUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
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 (*GetArtifactStreamUnauthorized) GetPayload

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

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

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 (*QueryArtifactsGatewayTimeout) GetPayload

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 (*QueryArtifactsInternalServerError) GetPayload

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

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 {
	Payload *swagger_models.ZsrvResponse
}
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 (*QueryArtifactsUnauthorized) GetPayload

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

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

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

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 (*UploadArtifactGatewayTimeout) GetPayload

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 (*UploadArtifactInternalServerError) GetPayload

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

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

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

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 {
	Payload *swagger_models.ZsrvResponse
}
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 (*UploadArtifactUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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