Documentation ¶
Index ¶
- type API
- type AddLabelBadRequest
- func (o *AddLabelBadRequest) Error() string
- func (o *AddLabelBadRequest) GetPayload() *models.Errors
- func (o *AddLabelBadRequest) IsClientError() bool
- func (o *AddLabelBadRequest) IsCode(code int) bool
- func (o *AddLabelBadRequest) IsRedirect() bool
- func (o *AddLabelBadRequest) IsServerError() bool
- func (o *AddLabelBadRequest) IsSuccess() bool
- func (o *AddLabelBadRequest) String() string
- type AddLabelConflict
- func (o *AddLabelConflict) Error() string
- func (o *AddLabelConflict) GetPayload() *models.Errors
- func (o *AddLabelConflict) IsClientError() bool
- func (o *AddLabelConflict) IsCode(code int) bool
- func (o *AddLabelConflict) IsRedirect() bool
- func (o *AddLabelConflict) IsServerError() bool
- func (o *AddLabelConflict) IsSuccess() bool
- func (o *AddLabelConflict) String() string
- type AddLabelForbidden
- func (o *AddLabelForbidden) Error() string
- func (o *AddLabelForbidden) GetPayload() *models.Errors
- func (o *AddLabelForbidden) IsClientError() bool
- func (o *AddLabelForbidden) IsCode(code int) bool
- func (o *AddLabelForbidden) IsRedirect() bool
- func (o *AddLabelForbidden) IsServerError() bool
- func (o *AddLabelForbidden) IsSuccess() bool
- func (o *AddLabelForbidden) String() string
- type AddLabelInternalServerError
- func (o *AddLabelInternalServerError) Error() string
- func (o *AddLabelInternalServerError) GetPayload() *models.Errors
- func (o *AddLabelInternalServerError) IsClientError() bool
- func (o *AddLabelInternalServerError) IsCode(code int) bool
- func (o *AddLabelInternalServerError) IsRedirect() bool
- func (o *AddLabelInternalServerError) IsServerError() bool
- func (o *AddLabelInternalServerError) IsSuccess() bool
- func (o *AddLabelInternalServerError) String() string
- type AddLabelNotFound
- func (o *AddLabelNotFound) Error() string
- func (o *AddLabelNotFound) GetPayload() *models.Errors
- func (o *AddLabelNotFound) IsClientError() bool
- func (o *AddLabelNotFound) IsCode(code int) bool
- func (o *AddLabelNotFound) IsRedirect() bool
- func (o *AddLabelNotFound) IsServerError() bool
- func (o *AddLabelNotFound) IsSuccess() bool
- func (o *AddLabelNotFound) String() string
- type AddLabelOK
- type AddLabelParams
- func (o *AddLabelParams) SetContext(ctx context.Context)
- func (o *AddLabelParams) SetDefaults()
- func (o *AddLabelParams) SetHTTPClient(client *http.Client)
- func (o *AddLabelParams) SetLabel(label *models.Label)
- func (o *AddLabelParams) SetProjectName(projectName string)
- func (o *AddLabelParams) SetReference(reference string)
- func (o *AddLabelParams) SetRepositoryName(repositoryName string)
- func (o *AddLabelParams) SetTimeout(timeout time.Duration)
- func (o *AddLabelParams) SetXRequestID(xRequestID *string)
- func (o *AddLabelParams) WithContext(ctx context.Context) *AddLabelParams
- func (o *AddLabelParams) WithDefaults() *AddLabelParams
- func (o *AddLabelParams) WithHTTPClient(client *http.Client) *AddLabelParams
- func (o *AddLabelParams) WithLabel(label *models.Label) *AddLabelParams
- func (o *AddLabelParams) WithProjectName(projectName string) *AddLabelParams
- func (o *AddLabelParams) WithReference(reference string) *AddLabelParams
- func (o *AddLabelParams) WithRepositoryName(repositoryName string) *AddLabelParams
- func (o *AddLabelParams) WithTimeout(timeout time.Duration) *AddLabelParams
- func (o *AddLabelParams) WithXRequestID(xRequestID *string) *AddLabelParams
- func (o *AddLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddLabelReader
- type AddLabelUnauthorized
- func (o *AddLabelUnauthorized) Error() string
- func (o *AddLabelUnauthorized) GetPayload() *models.Errors
- func (o *AddLabelUnauthorized) IsClientError() bool
- func (o *AddLabelUnauthorized) IsCode(code int) bool
- func (o *AddLabelUnauthorized) IsRedirect() bool
- func (o *AddLabelUnauthorized) IsServerError() bool
- func (o *AddLabelUnauthorized) IsSuccess() bool
- func (o *AddLabelUnauthorized) String() string
- type Client
- func (a *Client) AddLabel(ctx context.Context, params *AddLabelParams) (*AddLabelOK, error)
- func (a *Client) CopyArtifact(ctx context.Context, params *CopyArtifactParams) (*CopyArtifactCreated, error)
- func (a *Client) CreateTag(ctx context.Context, params *CreateTagParams) (*CreateTagCreated, error)
- func (a *Client) DeleteArtifact(ctx context.Context, params *DeleteArtifactParams) (*DeleteArtifactOK, error)
- func (a *Client) DeleteTag(ctx context.Context, params *DeleteTagParams) (*DeleteTagOK, error)
- func (a *Client) GetAddition(ctx context.Context, params *GetAdditionParams) (*GetAdditionOK, error)
- func (a *Client) GetArtifact(ctx context.Context, params *GetArtifactParams) (*GetArtifactOK, error)
- func (a *Client) GetVulnerabilitiesAddition(ctx context.Context, params *GetVulnerabilitiesAdditionParams) (*GetVulnerabilitiesAdditionOK, error)
- func (a *Client) ListAccessories(ctx context.Context, params *ListAccessoriesParams) (*ListAccessoriesOK, error)
- func (a *Client) ListArtifacts(ctx context.Context, params *ListArtifactsParams) (*ListArtifactsOK, error)
- func (a *Client) ListTags(ctx context.Context, params *ListTagsParams) (*ListTagsOK, error)
- func (a *Client) RemoveLabel(ctx context.Context, params *RemoveLabelParams) (*RemoveLabelOK, error)
- type CopyArtifactBadRequest
- func (o *CopyArtifactBadRequest) Error() string
- func (o *CopyArtifactBadRequest) GetPayload() *models.Errors
- func (o *CopyArtifactBadRequest) IsClientError() bool
- func (o *CopyArtifactBadRequest) IsCode(code int) bool
- func (o *CopyArtifactBadRequest) IsRedirect() bool
- func (o *CopyArtifactBadRequest) IsServerError() bool
- func (o *CopyArtifactBadRequest) IsSuccess() bool
- func (o *CopyArtifactBadRequest) String() string
- type CopyArtifactCreated
- func (o *CopyArtifactCreated) Error() string
- func (o *CopyArtifactCreated) IsClientError() bool
- func (o *CopyArtifactCreated) IsCode(code int) bool
- func (o *CopyArtifactCreated) IsRedirect() bool
- func (o *CopyArtifactCreated) IsServerError() bool
- func (o *CopyArtifactCreated) IsSuccess() bool
- func (o *CopyArtifactCreated) String() string
- type CopyArtifactForbidden
- func (o *CopyArtifactForbidden) Error() string
- func (o *CopyArtifactForbidden) GetPayload() *models.Errors
- func (o *CopyArtifactForbidden) IsClientError() bool
- func (o *CopyArtifactForbidden) IsCode(code int) bool
- func (o *CopyArtifactForbidden) IsRedirect() bool
- func (o *CopyArtifactForbidden) IsServerError() bool
- func (o *CopyArtifactForbidden) IsSuccess() bool
- func (o *CopyArtifactForbidden) String() string
- type CopyArtifactInternalServerError
- func (o *CopyArtifactInternalServerError) Error() string
- func (o *CopyArtifactInternalServerError) GetPayload() *models.Errors
- func (o *CopyArtifactInternalServerError) IsClientError() bool
- func (o *CopyArtifactInternalServerError) IsCode(code int) bool
- func (o *CopyArtifactInternalServerError) IsRedirect() bool
- func (o *CopyArtifactInternalServerError) IsServerError() bool
- func (o *CopyArtifactInternalServerError) IsSuccess() bool
- func (o *CopyArtifactInternalServerError) String() string
- type CopyArtifactMethodNotAllowed
- func (o *CopyArtifactMethodNotAllowed) Error() string
- func (o *CopyArtifactMethodNotAllowed) GetPayload() *models.Errors
- func (o *CopyArtifactMethodNotAllowed) IsClientError() bool
- func (o *CopyArtifactMethodNotAllowed) IsCode(code int) bool
- func (o *CopyArtifactMethodNotAllowed) IsRedirect() bool
- func (o *CopyArtifactMethodNotAllowed) IsServerError() bool
- func (o *CopyArtifactMethodNotAllowed) IsSuccess() bool
- func (o *CopyArtifactMethodNotAllowed) String() string
- type CopyArtifactNotFound
- func (o *CopyArtifactNotFound) Error() string
- func (o *CopyArtifactNotFound) GetPayload() *models.Errors
- func (o *CopyArtifactNotFound) IsClientError() bool
- func (o *CopyArtifactNotFound) IsCode(code int) bool
- func (o *CopyArtifactNotFound) IsRedirect() bool
- func (o *CopyArtifactNotFound) IsServerError() bool
- func (o *CopyArtifactNotFound) IsSuccess() bool
- func (o *CopyArtifactNotFound) String() string
- type CopyArtifactParams
- func (o *CopyArtifactParams) SetContext(ctx context.Context)
- func (o *CopyArtifactParams) SetDefaults()
- func (o *CopyArtifactParams) SetFrom(from string)
- func (o *CopyArtifactParams) SetHTTPClient(client *http.Client)
- func (o *CopyArtifactParams) SetProjectName(projectName string)
- func (o *CopyArtifactParams) SetRepositoryName(repositoryName string)
- func (o *CopyArtifactParams) SetTimeout(timeout time.Duration)
- func (o *CopyArtifactParams) SetXRequestID(xRequestID *string)
- func (o *CopyArtifactParams) WithContext(ctx context.Context) *CopyArtifactParams
- func (o *CopyArtifactParams) WithDefaults() *CopyArtifactParams
- func (o *CopyArtifactParams) WithFrom(from string) *CopyArtifactParams
- func (o *CopyArtifactParams) WithHTTPClient(client *http.Client) *CopyArtifactParams
- func (o *CopyArtifactParams) WithProjectName(projectName string) *CopyArtifactParams
- func (o *CopyArtifactParams) WithRepositoryName(repositoryName string) *CopyArtifactParams
- func (o *CopyArtifactParams) WithTimeout(timeout time.Duration) *CopyArtifactParams
- func (o *CopyArtifactParams) WithXRequestID(xRequestID *string) *CopyArtifactParams
- func (o *CopyArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CopyArtifactReader
- type CopyArtifactUnauthorized
- func (o *CopyArtifactUnauthorized) Error() string
- func (o *CopyArtifactUnauthorized) GetPayload() *models.Errors
- func (o *CopyArtifactUnauthorized) IsClientError() bool
- func (o *CopyArtifactUnauthorized) IsCode(code int) bool
- func (o *CopyArtifactUnauthorized) IsRedirect() bool
- func (o *CopyArtifactUnauthorized) IsServerError() bool
- func (o *CopyArtifactUnauthorized) IsSuccess() bool
- func (o *CopyArtifactUnauthorized) String() string
- type CreateTagBadRequest
- func (o *CreateTagBadRequest) Error() string
- func (o *CreateTagBadRequest) GetPayload() *models.Errors
- func (o *CreateTagBadRequest) IsClientError() bool
- func (o *CreateTagBadRequest) IsCode(code int) bool
- func (o *CreateTagBadRequest) IsRedirect() bool
- func (o *CreateTagBadRequest) IsServerError() bool
- func (o *CreateTagBadRequest) IsSuccess() bool
- func (o *CreateTagBadRequest) String() string
- type CreateTagConflict
- func (o *CreateTagConflict) Error() string
- func (o *CreateTagConflict) GetPayload() *models.Errors
- func (o *CreateTagConflict) IsClientError() bool
- func (o *CreateTagConflict) IsCode(code int) bool
- func (o *CreateTagConflict) IsRedirect() bool
- func (o *CreateTagConflict) IsServerError() bool
- func (o *CreateTagConflict) IsSuccess() bool
- func (o *CreateTagConflict) String() string
- type CreateTagCreated
- func (o *CreateTagCreated) Error() string
- func (o *CreateTagCreated) IsClientError() bool
- func (o *CreateTagCreated) IsCode(code int) bool
- func (o *CreateTagCreated) IsRedirect() bool
- func (o *CreateTagCreated) IsServerError() bool
- func (o *CreateTagCreated) IsSuccess() bool
- func (o *CreateTagCreated) String() string
- type CreateTagForbidden
- func (o *CreateTagForbidden) Error() string
- func (o *CreateTagForbidden) GetPayload() *models.Errors
- func (o *CreateTagForbidden) IsClientError() bool
- func (o *CreateTagForbidden) IsCode(code int) bool
- func (o *CreateTagForbidden) IsRedirect() bool
- func (o *CreateTagForbidden) IsServerError() bool
- func (o *CreateTagForbidden) IsSuccess() bool
- func (o *CreateTagForbidden) String() string
- type CreateTagInternalServerError
- func (o *CreateTagInternalServerError) Error() string
- func (o *CreateTagInternalServerError) GetPayload() *models.Errors
- func (o *CreateTagInternalServerError) IsClientError() bool
- func (o *CreateTagInternalServerError) IsCode(code int) bool
- func (o *CreateTagInternalServerError) IsRedirect() bool
- func (o *CreateTagInternalServerError) IsServerError() bool
- func (o *CreateTagInternalServerError) IsSuccess() bool
- func (o *CreateTagInternalServerError) String() string
- type CreateTagMethodNotAllowed
- func (o *CreateTagMethodNotAllowed) Error() string
- func (o *CreateTagMethodNotAllowed) GetPayload() *models.Errors
- func (o *CreateTagMethodNotAllowed) IsClientError() bool
- func (o *CreateTagMethodNotAllowed) IsCode(code int) bool
- func (o *CreateTagMethodNotAllowed) IsRedirect() bool
- func (o *CreateTagMethodNotAllowed) IsServerError() bool
- func (o *CreateTagMethodNotAllowed) IsSuccess() bool
- func (o *CreateTagMethodNotAllowed) String() string
- type CreateTagNotFound
- func (o *CreateTagNotFound) Error() string
- func (o *CreateTagNotFound) GetPayload() *models.Errors
- func (o *CreateTagNotFound) IsClientError() bool
- func (o *CreateTagNotFound) IsCode(code int) bool
- func (o *CreateTagNotFound) IsRedirect() bool
- func (o *CreateTagNotFound) IsServerError() bool
- func (o *CreateTagNotFound) IsSuccess() bool
- func (o *CreateTagNotFound) String() string
- type CreateTagParams
- func (o *CreateTagParams) SetContext(ctx context.Context)
- func (o *CreateTagParams) SetDefaults()
- func (o *CreateTagParams) SetHTTPClient(client *http.Client)
- func (o *CreateTagParams) SetProjectName(projectName string)
- func (o *CreateTagParams) SetReference(reference string)
- func (o *CreateTagParams) SetRepositoryName(repositoryName string)
- func (o *CreateTagParams) SetTag(tag *models.Tag)
- func (o *CreateTagParams) SetTimeout(timeout time.Duration)
- func (o *CreateTagParams) SetXRequestID(xRequestID *string)
- func (o *CreateTagParams) WithContext(ctx context.Context) *CreateTagParams
- func (o *CreateTagParams) WithDefaults() *CreateTagParams
- func (o *CreateTagParams) WithHTTPClient(client *http.Client) *CreateTagParams
- func (o *CreateTagParams) WithProjectName(projectName string) *CreateTagParams
- func (o *CreateTagParams) WithReference(reference string) *CreateTagParams
- func (o *CreateTagParams) WithRepositoryName(repositoryName string) *CreateTagParams
- func (o *CreateTagParams) WithTag(tag *models.Tag) *CreateTagParams
- func (o *CreateTagParams) WithTimeout(timeout time.Duration) *CreateTagParams
- func (o *CreateTagParams) WithXRequestID(xRequestID *string) *CreateTagParams
- func (o *CreateTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTagReader
- type CreateTagUnauthorized
- func (o *CreateTagUnauthorized) Error() string
- func (o *CreateTagUnauthorized) GetPayload() *models.Errors
- func (o *CreateTagUnauthorized) IsClientError() bool
- func (o *CreateTagUnauthorized) IsCode(code int) bool
- func (o *CreateTagUnauthorized) IsRedirect() bool
- func (o *CreateTagUnauthorized) IsServerError() bool
- func (o *CreateTagUnauthorized) IsSuccess() bool
- func (o *CreateTagUnauthorized) String() string
- type DeleteArtifactForbidden
- func (o *DeleteArtifactForbidden) Error() string
- func (o *DeleteArtifactForbidden) GetPayload() *models.Errors
- func (o *DeleteArtifactForbidden) IsClientError() bool
- func (o *DeleteArtifactForbidden) IsCode(code int) bool
- func (o *DeleteArtifactForbidden) IsRedirect() bool
- func (o *DeleteArtifactForbidden) IsServerError() bool
- func (o *DeleteArtifactForbidden) IsSuccess() bool
- func (o *DeleteArtifactForbidden) String() string
- type DeleteArtifactInternalServerError
- func (o *DeleteArtifactInternalServerError) Error() string
- func (o *DeleteArtifactInternalServerError) GetPayload() *models.Errors
- func (o *DeleteArtifactInternalServerError) IsClientError() bool
- func (o *DeleteArtifactInternalServerError) IsCode(code int) bool
- func (o *DeleteArtifactInternalServerError) IsRedirect() bool
- func (o *DeleteArtifactInternalServerError) IsServerError() bool
- func (o *DeleteArtifactInternalServerError) IsSuccess() bool
- func (o *DeleteArtifactInternalServerError) String() string
- type DeleteArtifactNotFound
- func (o *DeleteArtifactNotFound) Error() string
- func (o *DeleteArtifactNotFound) GetPayload() *models.Errors
- func (o *DeleteArtifactNotFound) IsClientError() bool
- func (o *DeleteArtifactNotFound) IsCode(code int) bool
- func (o *DeleteArtifactNotFound) IsRedirect() bool
- func (o *DeleteArtifactNotFound) IsServerError() bool
- func (o *DeleteArtifactNotFound) IsSuccess() bool
- func (o *DeleteArtifactNotFound) String() string
- type DeleteArtifactOK
- func (o *DeleteArtifactOK) Error() string
- func (o *DeleteArtifactOK) IsClientError() bool
- func (o *DeleteArtifactOK) IsCode(code int) bool
- func (o *DeleteArtifactOK) IsRedirect() bool
- func (o *DeleteArtifactOK) IsServerError() bool
- func (o *DeleteArtifactOK) IsSuccess() bool
- func (o *DeleteArtifactOK) String() string
- 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) SetProjectName(projectName string)
- func (o *DeleteArtifactParams) SetReference(reference string)
- func (o *DeleteArtifactParams) SetRepositoryName(repositoryName 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) WithProjectName(projectName string) *DeleteArtifactParams
- func (o *DeleteArtifactParams) WithReference(reference string) *DeleteArtifactParams
- func (o *DeleteArtifactParams) WithRepositoryName(repositoryName 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
- func (o *DeleteArtifactUnauthorized) Error() string
- func (o *DeleteArtifactUnauthorized) GetPayload() *models.Errors
- func (o *DeleteArtifactUnauthorized) IsClientError() bool
- func (o *DeleteArtifactUnauthorized) IsCode(code int) bool
- func (o *DeleteArtifactUnauthorized) IsRedirect() bool
- func (o *DeleteArtifactUnauthorized) IsServerError() bool
- func (o *DeleteArtifactUnauthorized) IsSuccess() bool
- func (o *DeleteArtifactUnauthorized) String() string
- type DeleteTagForbidden
- func (o *DeleteTagForbidden) Error() string
- func (o *DeleteTagForbidden) GetPayload() *models.Errors
- func (o *DeleteTagForbidden) IsClientError() bool
- func (o *DeleteTagForbidden) IsCode(code int) bool
- func (o *DeleteTagForbidden) IsRedirect() bool
- func (o *DeleteTagForbidden) IsServerError() bool
- func (o *DeleteTagForbidden) IsSuccess() bool
- func (o *DeleteTagForbidden) String() string
- type DeleteTagInternalServerError
- func (o *DeleteTagInternalServerError) Error() string
- func (o *DeleteTagInternalServerError) GetPayload() *models.Errors
- func (o *DeleteTagInternalServerError) IsClientError() bool
- func (o *DeleteTagInternalServerError) IsCode(code int) bool
- func (o *DeleteTagInternalServerError) IsRedirect() bool
- func (o *DeleteTagInternalServerError) IsServerError() bool
- func (o *DeleteTagInternalServerError) IsSuccess() bool
- func (o *DeleteTagInternalServerError) String() string
- type DeleteTagNotFound
- func (o *DeleteTagNotFound) Error() string
- func (o *DeleteTagNotFound) GetPayload() *models.Errors
- func (o *DeleteTagNotFound) IsClientError() bool
- func (o *DeleteTagNotFound) IsCode(code int) bool
- func (o *DeleteTagNotFound) IsRedirect() bool
- func (o *DeleteTagNotFound) IsServerError() bool
- func (o *DeleteTagNotFound) IsSuccess() bool
- func (o *DeleteTagNotFound) String() string
- type DeleteTagOK
- type DeleteTagParams
- func (o *DeleteTagParams) SetContext(ctx context.Context)
- func (o *DeleteTagParams) SetDefaults()
- func (o *DeleteTagParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTagParams) SetProjectName(projectName string)
- func (o *DeleteTagParams) SetReference(reference string)
- func (o *DeleteTagParams) SetRepositoryName(repositoryName string)
- func (o *DeleteTagParams) SetTagName(tagName string)
- func (o *DeleteTagParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTagParams) SetXRequestID(xRequestID *string)
- func (o *DeleteTagParams) WithContext(ctx context.Context) *DeleteTagParams
- func (o *DeleteTagParams) WithDefaults() *DeleteTagParams
- func (o *DeleteTagParams) WithHTTPClient(client *http.Client) *DeleteTagParams
- func (o *DeleteTagParams) WithProjectName(projectName string) *DeleteTagParams
- func (o *DeleteTagParams) WithReference(reference string) *DeleteTagParams
- func (o *DeleteTagParams) WithRepositoryName(repositoryName string) *DeleteTagParams
- func (o *DeleteTagParams) WithTagName(tagName string) *DeleteTagParams
- func (o *DeleteTagParams) WithTimeout(timeout time.Duration) *DeleteTagParams
- func (o *DeleteTagParams) WithXRequestID(xRequestID *string) *DeleteTagParams
- func (o *DeleteTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTagReader
- type DeleteTagUnauthorized
- func (o *DeleteTagUnauthorized) Error() string
- func (o *DeleteTagUnauthorized) GetPayload() *models.Errors
- func (o *DeleteTagUnauthorized) IsClientError() bool
- func (o *DeleteTagUnauthorized) IsCode(code int) bool
- func (o *DeleteTagUnauthorized) IsRedirect() bool
- func (o *DeleteTagUnauthorized) IsServerError() bool
- func (o *DeleteTagUnauthorized) IsSuccess() bool
- func (o *DeleteTagUnauthorized) String() string
- type GetAdditionBadRequest
- func (o *GetAdditionBadRequest) Error() string
- func (o *GetAdditionBadRequest) GetPayload() *models.Errors
- func (o *GetAdditionBadRequest) IsClientError() bool
- func (o *GetAdditionBadRequest) IsCode(code int) bool
- func (o *GetAdditionBadRequest) IsRedirect() bool
- func (o *GetAdditionBadRequest) IsServerError() bool
- func (o *GetAdditionBadRequest) IsSuccess() bool
- func (o *GetAdditionBadRequest) String() string
- type GetAdditionForbidden
- func (o *GetAdditionForbidden) Error() string
- func (o *GetAdditionForbidden) GetPayload() *models.Errors
- func (o *GetAdditionForbidden) IsClientError() bool
- func (o *GetAdditionForbidden) IsCode(code int) bool
- func (o *GetAdditionForbidden) IsRedirect() bool
- func (o *GetAdditionForbidden) IsServerError() bool
- func (o *GetAdditionForbidden) IsSuccess() bool
- func (o *GetAdditionForbidden) String() string
- type GetAdditionInternalServerError
- func (o *GetAdditionInternalServerError) Error() string
- func (o *GetAdditionInternalServerError) GetPayload() *models.Errors
- func (o *GetAdditionInternalServerError) IsClientError() bool
- func (o *GetAdditionInternalServerError) IsCode(code int) bool
- func (o *GetAdditionInternalServerError) IsRedirect() bool
- func (o *GetAdditionInternalServerError) IsServerError() bool
- func (o *GetAdditionInternalServerError) IsSuccess() bool
- func (o *GetAdditionInternalServerError) String() string
- type GetAdditionNotFound
- func (o *GetAdditionNotFound) Error() string
- func (o *GetAdditionNotFound) GetPayload() *models.Errors
- func (o *GetAdditionNotFound) IsClientError() bool
- func (o *GetAdditionNotFound) IsCode(code int) bool
- func (o *GetAdditionNotFound) IsRedirect() bool
- func (o *GetAdditionNotFound) IsServerError() bool
- func (o *GetAdditionNotFound) IsSuccess() bool
- func (o *GetAdditionNotFound) String() string
- type GetAdditionOK
- func (o *GetAdditionOK) Error() string
- func (o *GetAdditionOK) GetPayload() string
- func (o *GetAdditionOK) IsClientError() bool
- func (o *GetAdditionOK) IsCode(code int) bool
- func (o *GetAdditionOK) IsRedirect() bool
- func (o *GetAdditionOK) IsServerError() bool
- func (o *GetAdditionOK) IsSuccess() bool
- func (o *GetAdditionOK) String() string
- type GetAdditionParams
- func (o *GetAdditionParams) SetAddition(addition string)
- func (o *GetAdditionParams) SetContext(ctx context.Context)
- func (o *GetAdditionParams) SetDefaults()
- func (o *GetAdditionParams) SetHTTPClient(client *http.Client)
- func (o *GetAdditionParams) SetProjectName(projectName string)
- func (o *GetAdditionParams) SetReference(reference string)
- func (o *GetAdditionParams) SetRepositoryName(repositoryName string)
- func (o *GetAdditionParams) SetTimeout(timeout time.Duration)
- func (o *GetAdditionParams) SetXRequestID(xRequestID *string)
- func (o *GetAdditionParams) WithAddition(addition string) *GetAdditionParams
- func (o *GetAdditionParams) WithContext(ctx context.Context) *GetAdditionParams
- func (o *GetAdditionParams) WithDefaults() *GetAdditionParams
- func (o *GetAdditionParams) WithHTTPClient(client *http.Client) *GetAdditionParams
- func (o *GetAdditionParams) WithProjectName(projectName string) *GetAdditionParams
- func (o *GetAdditionParams) WithReference(reference string) *GetAdditionParams
- func (o *GetAdditionParams) WithRepositoryName(repositoryName string) *GetAdditionParams
- func (o *GetAdditionParams) WithTimeout(timeout time.Duration) *GetAdditionParams
- func (o *GetAdditionParams) WithXRequestID(xRequestID *string) *GetAdditionParams
- func (o *GetAdditionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAdditionReader
- type GetAdditionUnauthorized
- func (o *GetAdditionUnauthorized) Error() string
- func (o *GetAdditionUnauthorized) GetPayload() *models.Errors
- func (o *GetAdditionUnauthorized) IsClientError() bool
- func (o *GetAdditionUnauthorized) IsCode(code int) bool
- func (o *GetAdditionUnauthorized) IsRedirect() bool
- func (o *GetAdditionUnauthorized) IsServerError() bool
- func (o *GetAdditionUnauthorized) IsSuccess() bool
- func (o *GetAdditionUnauthorized) String() string
- type GetArtifactBadRequest
- func (o *GetArtifactBadRequest) Error() string
- func (o *GetArtifactBadRequest) GetPayload() *models.Errors
- func (o *GetArtifactBadRequest) IsClientError() bool
- func (o *GetArtifactBadRequest) IsCode(code int) bool
- func (o *GetArtifactBadRequest) IsRedirect() bool
- func (o *GetArtifactBadRequest) IsServerError() bool
- func (o *GetArtifactBadRequest) IsSuccess() bool
- func (o *GetArtifactBadRequest) String() string
- type GetArtifactForbidden
- func (o *GetArtifactForbidden) Error() string
- func (o *GetArtifactForbidden) GetPayload() *models.Errors
- func (o *GetArtifactForbidden) IsClientError() bool
- func (o *GetArtifactForbidden) IsCode(code int) bool
- func (o *GetArtifactForbidden) IsRedirect() bool
- func (o *GetArtifactForbidden) IsServerError() bool
- func (o *GetArtifactForbidden) IsSuccess() bool
- func (o *GetArtifactForbidden) String() string
- type GetArtifactInternalServerError
- func (o *GetArtifactInternalServerError) Error() string
- func (o *GetArtifactInternalServerError) GetPayload() *models.Errors
- func (o *GetArtifactInternalServerError) IsClientError() bool
- func (o *GetArtifactInternalServerError) IsCode(code int) bool
- func (o *GetArtifactInternalServerError) IsRedirect() bool
- func (o *GetArtifactInternalServerError) IsServerError() bool
- func (o *GetArtifactInternalServerError) IsSuccess() bool
- func (o *GetArtifactInternalServerError) String() string
- type GetArtifactNotFound
- func (o *GetArtifactNotFound) Error() string
- func (o *GetArtifactNotFound) GetPayload() *models.Errors
- func (o *GetArtifactNotFound) IsClientError() bool
- func (o *GetArtifactNotFound) IsCode(code int) bool
- func (o *GetArtifactNotFound) IsRedirect() bool
- func (o *GetArtifactNotFound) IsServerError() bool
- func (o *GetArtifactNotFound) IsSuccess() bool
- func (o *GetArtifactNotFound) String() string
- type GetArtifactOK
- func (o *GetArtifactOK) Error() string
- func (o *GetArtifactOK) GetPayload() *models.Artifact
- func (o *GetArtifactOK) IsClientError() bool
- func (o *GetArtifactOK) IsCode(code int) bool
- func (o *GetArtifactOK) IsRedirect() bool
- func (o *GetArtifactOK) IsServerError() bool
- func (o *GetArtifactOK) IsSuccess() bool
- func (o *GetArtifactOK) String() string
- type GetArtifactParams
- func (o *GetArtifactParams) SetContext(ctx context.Context)
- func (o *GetArtifactParams) SetDefaults()
- func (o *GetArtifactParams) SetHTTPClient(client *http.Client)
- func (o *GetArtifactParams) SetPage(page *int64)
- func (o *GetArtifactParams) SetPageSize(pageSize *int64)
- func (o *GetArtifactParams) SetProjectName(projectName string)
- func (o *GetArtifactParams) SetReference(reference string)
- func (o *GetArtifactParams) SetRepositoryName(repositoryName string)
- func (o *GetArtifactParams) SetTimeout(timeout time.Duration)
- func (o *GetArtifactParams) SetWithAccessory(withAccessory *bool)
- func (o *GetArtifactParams) SetWithImmutableStatus(withImmutableStatus *bool)
- func (o *GetArtifactParams) SetWithLabel(withLabel *bool)
- func (o *GetArtifactParams) SetWithScanOverview(withScanOverview *bool)
- func (o *GetArtifactParams) SetWithSignature(withSignature *bool)
- func (o *GetArtifactParams) SetWithTag(withTag *bool)
- func (o *GetArtifactParams) SetXAcceptVulnerabilities(xAcceptVulnerabilities *string)
- func (o *GetArtifactParams) SetXRequestID(xRequestID *string)
- func (o *GetArtifactParams) WithContext(ctx context.Context) *GetArtifactParams
- func (o *GetArtifactParams) WithDefaults() *GetArtifactParams
- func (o *GetArtifactParams) WithHTTPClient(client *http.Client) *GetArtifactParams
- func (o *GetArtifactParams) WithPage(page *int64) *GetArtifactParams
- func (o *GetArtifactParams) WithPageSize(pageSize *int64) *GetArtifactParams
- func (o *GetArtifactParams) WithProjectName(projectName string) *GetArtifactParams
- func (o *GetArtifactParams) WithReference(reference string) *GetArtifactParams
- func (o *GetArtifactParams) WithRepositoryName(repositoryName string) *GetArtifactParams
- func (o *GetArtifactParams) WithTimeout(timeout time.Duration) *GetArtifactParams
- func (o *GetArtifactParams) WithWithAccessory(withAccessory *bool) *GetArtifactParams
- func (o *GetArtifactParams) WithWithImmutableStatus(withImmutableStatus *bool) *GetArtifactParams
- func (o *GetArtifactParams) WithWithLabel(withLabel *bool) *GetArtifactParams
- func (o *GetArtifactParams) WithWithScanOverview(withScanOverview *bool) *GetArtifactParams
- func (o *GetArtifactParams) WithWithSignature(withSignature *bool) *GetArtifactParams
- func (o *GetArtifactParams) WithWithTag(withTag *bool) *GetArtifactParams
- func (o *GetArtifactParams) WithXAcceptVulnerabilities(xAcceptVulnerabilities *string) *GetArtifactParams
- func (o *GetArtifactParams) WithXRequestID(xRequestID *string) *GetArtifactParams
- func (o *GetArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetArtifactReader
- type GetArtifactUnauthorized
- func (o *GetArtifactUnauthorized) Error() string
- func (o *GetArtifactUnauthorized) GetPayload() *models.Errors
- func (o *GetArtifactUnauthorized) IsClientError() bool
- func (o *GetArtifactUnauthorized) IsCode(code int) bool
- func (o *GetArtifactUnauthorized) IsRedirect() bool
- func (o *GetArtifactUnauthorized) IsServerError() bool
- func (o *GetArtifactUnauthorized) IsSuccess() bool
- func (o *GetArtifactUnauthorized) String() string
- type GetVulnerabilitiesAdditionBadRequest
- func (o *GetVulnerabilitiesAdditionBadRequest) Error() string
- func (o *GetVulnerabilitiesAdditionBadRequest) GetPayload() *models.Errors
- func (o *GetVulnerabilitiesAdditionBadRequest) IsClientError() bool
- func (o *GetVulnerabilitiesAdditionBadRequest) IsCode(code int) bool
- func (o *GetVulnerabilitiesAdditionBadRequest) IsRedirect() bool
- func (o *GetVulnerabilitiesAdditionBadRequest) IsServerError() bool
- func (o *GetVulnerabilitiesAdditionBadRequest) IsSuccess() bool
- func (o *GetVulnerabilitiesAdditionBadRequest) String() string
- type GetVulnerabilitiesAdditionForbidden
- func (o *GetVulnerabilitiesAdditionForbidden) Error() string
- func (o *GetVulnerabilitiesAdditionForbidden) GetPayload() *models.Errors
- func (o *GetVulnerabilitiesAdditionForbidden) IsClientError() bool
- func (o *GetVulnerabilitiesAdditionForbidden) IsCode(code int) bool
- func (o *GetVulnerabilitiesAdditionForbidden) IsRedirect() bool
- func (o *GetVulnerabilitiesAdditionForbidden) IsServerError() bool
- func (o *GetVulnerabilitiesAdditionForbidden) IsSuccess() bool
- func (o *GetVulnerabilitiesAdditionForbidden) String() string
- type GetVulnerabilitiesAdditionInternalServerError
- func (o *GetVulnerabilitiesAdditionInternalServerError) Error() string
- func (o *GetVulnerabilitiesAdditionInternalServerError) GetPayload() *models.Errors
- func (o *GetVulnerabilitiesAdditionInternalServerError) IsClientError() bool
- func (o *GetVulnerabilitiesAdditionInternalServerError) IsCode(code int) bool
- func (o *GetVulnerabilitiesAdditionInternalServerError) IsRedirect() bool
- func (o *GetVulnerabilitiesAdditionInternalServerError) IsServerError() bool
- func (o *GetVulnerabilitiesAdditionInternalServerError) IsSuccess() bool
- func (o *GetVulnerabilitiesAdditionInternalServerError) String() string
- type GetVulnerabilitiesAdditionNotFound
- func (o *GetVulnerabilitiesAdditionNotFound) Error() string
- func (o *GetVulnerabilitiesAdditionNotFound) GetPayload() *models.Errors
- func (o *GetVulnerabilitiesAdditionNotFound) IsClientError() bool
- func (o *GetVulnerabilitiesAdditionNotFound) IsCode(code int) bool
- func (o *GetVulnerabilitiesAdditionNotFound) IsRedirect() bool
- func (o *GetVulnerabilitiesAdditionNotFound) IsServerError() bool
- func (o *GetVulnerabilitiesAdditionNotFound) IsSuccess() bool
- func (o *GetVulnerabilitiesAdditionNotFound) String() string
- type GetVulnerabilitiesAdditionOK
- func (o *GetVulnerabilitiesAdditionOK) Error() string
- func (o *GetVulnerabilitiesAdditionOK) GetPayload() string
- func (o *GetVulnerabilitiesAdditionOK) IsClientError() bool
- func (o *GetVulnerabilitiesAdditionOK) IsCode(code int) bool
- func (o *GetVulnerabilitiesAdditionOK) IsRedirect() bool
- func (o *GetVulnerabilitiesAdditionOK) IsServerError() bool
- func (o *GetVulnerabilitiesAdditionOK) IsSuccess() bool
- func (o *GetVulnerabilitiesAdditionOK) String() string
- type GetVulnerabilitiesAdditionParams
- func NewGetVulnerabilitiesAdditionParams() *GetVulnerabilitiesAdditionParams
- func NewGetVulnerabilitiesAdditionParamsWithContext(ctx context.Context) *GetVulnerabilitiesAdditionParams
- func NewGetVulnerabilitiesAdditionParamsWithHTTPClient(client *http.Client) *GetVulnerabilitiesAdditionParams
- func NewGetVulnerabilitiesAdditionParamsWithTimeout(timeout time.Duration) *GetVulnerabilitiesAdditionParams
- func (o *GetVulnerabilitiesAdditionParams) SetContext(ctx context.Context)
- func (o *GetVulnerabilitiesAdditionParams) SetDefaults()
- func (o *GetVulnerabilitiesAdditionParams) SetHTTPClient(client *http.Client)
- func (o *GetVulnerabilitiesAdditionParams) SetProjectName(projectName string)
- func (o *GetVulnerabilitiesAdditionParams) SetReference(reference string)
- func (o *GetVulnerabilitiesAdditionParams) SetRepositoryName(repositoryName string)
- func (o *GetVulnerabilitiesAdditionParams) SetTimeout(timeout time.Duration)
- func (o *GetVulnerabilitiesAdditionParams) SetXAcceptVulnerabilities(xAcceptVulnerabilities *string)
- func (o *GetVulnerabilitiesAdditionParams) SetXRequestID(xRequestID *string)
- func (o *GetVulnerabilitiesAdditionParams) WithContext(ctx context.Context) *GetVulnerabilitiesAdditionParams
- func (o *GetVulnerabilitiesAdditionParams) WithDefaults() *GetVulnerabilitiesAdditionParams
- func (o *GetVulnerabilitiesAdditionParams) WithHTTPClient(client *http.Client) *GetVulnerabilitiesAdditionParams
- func (o *GetVulnerabilitiesAdditionParams) WithProjectName(projectName string) *GetVulnerabilitiesAdditionParams
- func (o *GetVulnerabilitiesAdditionParams) WithReference(reference string) *GetVulnerabilitiesAdditionParams
- func (o *GetVulnerabilitiesAdditionParams) WithRepositoryName(repositoryName string) *GetVulnerabilitiesAdditionParams
- func (o *GetVulnerabilitiesAdditionParams) WithTimeout(timeout time.Duration) *GetVulnerabilitiesAdditionParams
- func (o *GetVulnerabilitiesAdditionParams) WithXAcceptVulnerabilities(xAcceptVulnerabilities *string) *GetVulnerabilitiesAdditionParams
- func (o *GetVulnerabilitiesAdditionParams) WithXRequestID(xRequestID *string) *GetVulnerabilitiesAdditionParams
- func (o *GetVulnerabilitiesAdditionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVulnerabilitiesAdditionReader
- type GetVulnerabilitiesAdditionUnauthorized
- func (o *GetVulnerabilitiesAdditionUnauthorized) Error() string
- func (o *GetVulnerabilitiesAdditionUnauthorized) GetPayload() *models.Errors
- func (o *GetVulnerabilitiesAdditionUnauthorized) IsClientError() bool
- func (o *GetVulnerabilitiesAdditionUnauthorized) IsCode(code int) bool
- func (o *GetVulnerabilitiesAdditionUnauthorized) IsRedirect() bool
- func (o *GetVulnerabilitiesAdditionUnauthorized) IsServerError() bool
- func (o *GetVulnerabilitiesAdditionUnauthorized) IsSuccess() bool
- func (o *GetVulnerabilitiesAdditionUnauthorized) String() string
- type ListAccessoriesBadRequest
- func (o *ListAccessoriesBadRequest) Error() string
- func (o *ListAccessoriesBadRequest) GetPayload() *models.Errors
- func (o *ListAccessoriesBadRequest) IsClientError() bool
- func (o *ListAccessoriesBadRequest) IsCode(code int) bool
- func (o *ListAccessoriesBadRequest) IsRedirect() bool
- func (o *ListAccessoriesBadRequest) IsServerError() bool
- func (o *ListAccessoriesBadRequest) IsSuccess() bool
- func (o *ListAccessoriesBadRequest) String() string
- type ListAccessoriesForbidden
- func (o *ListAccessoriesForbidden) Error() string
- func (o *ListAccessoriesForbidden) GetPayload() *models.Errors
- func (o *ListAccessoriesForbidden) IsClientError() bool
- func (o *ListAccessoriesForbidden) IsCode(code int) bool
- func (o *ListAccessoriesForbidden) IsRedirect() bool
- func (o *ListAccessoriesForbidden) IsServerError() bool
- func (o *ListAccessoriesForbidden) IsSuccess() bool
- func (o *ListAccessoriesForbidden) String() string
- type ListAccessoriesInternalServerError
- func (o *ListAccessoriesInternalServerError) Error() string
- func (o *ListAccessoriesInternalServerError) GetPayload() *models.Errors
- func (o *ListAccessoriesInternalServerError) IsClientError() bool
- func (o *ListAccessoriesInternalServerError) IsCode(code int) bool
- func (o *ListAccessoriesInternalServerError) IsRedirect() bool
- func (o *ListAccessoriesInternalServerError) IsServerError() bool
- func (o *ListAccessoriesInternalServerError) IsSuccess() bool
- func (o *ListAccessoriesInternalServerError) String() string
- type ListAccessoriesNotFound
- func (o *ListAccessoriesNotFound) Error() string
- func (o *ListAccessoriesNotFound) GetPayload() *models.Errors
- func (o *ListAccessoriesNotFound) IsClientError() bool
- func (o *ListAccessoriesNotFound) IsCode(code int) bool
- func (o *ListAccessoriesNotFound) IsRedirect() bool
- func (o *ListAccessoriesNotFound) IsServerError() bool
- func (o *ListAccessoriesNotFound) IsSuccess() bool
- func (o *ListAccessoriesNotFound) String() string
- type ListAccessoriesOK
- func (o *ListAccessoriesOK) Error() string
- func (o *ListAccessoriesOK) GetPayload() []*models.Accessory
- func (o *ListAccessoriesOK) IsClientError() bool
- func (o *ListAccessoriesOK) IsCode(code int) bool
- func (o *ListAccessoriesOK) IsRedirect() bool
- func (o *ListAccessoriesOK) IsServerError() bool
- func (o *ListAccessoriesOK) IsSuccess() bool
- func (o *ListAccessoriesOK) String() string
- type ListAccessoriesParams
- func NewListAccessoriesParams() *ListAccessoriesParams
- func NewListAccessoriesParamsWithContext(ctx context.Context) *ListAccessoriesParams
- func NewListAccessoriesParamsWithHTTPClient(client *http.Client) *ListAccessoriesParams
- func NewListAccessoriesParamsWithTimeout(timeout time.Duration) *ListAccessoriesParams
- func (o *ListAccessoriesParams) SetContext(ctx context.Context)
- func (o *ListAccessoriesParams) SetDefaults()
- func (o *ListAccessoriesParams) SetHTTPClient(client *http.Client)
- func (o *ListAccessoriesParams) SetPage(page *int64)
- func (o *ListAccessoriesParams) SetPageSize(pageSize *int64)
- func (o *ListAccessoriesParams) SetProjectName(projectName string)
- func (o *ListAccessoriesParams) SetQ(q *string)
- func (o *ListAccessoriesParams) SetReference(reference string)
- func (o *ListAccessoriesParams) SetRepositoryName(repositoryName string)
- func (o *ListAccessoriesParams) SetSort(sort *string)
- func (o *ListAccessoriesParams) SetTimeout(timeout time.Duration)
- func (o *ListAccessoriesParams) SetXRequestID(xRequestID *string)
- func (o *ListAccessoriesParams) WithContext(ctx context.Context) *ListAccessoriesParams
- func (o *ListAccessoriesParams) WithDefaults() *ListAccessoriesParams
- func (o *ListAccessoriesParams) WithHTTPClient(client *http.Client) *ListAccessoriesParams
- func (o *ListAccessoriesParams) WithPage(page *int64) *ListAccessoriesParams
- func (o *ListAccessoriesParams) WithPageSize(pageSize *int64) *ListAccessoriesParams
- func (o *ListAccessoriesParams) WithProjectName(projectName string) *ListAccessoriesParams
- func (o *ListAccessoriesParams) WithQ(q *string) *ListAccessoriesParams
- func (o *ListAccessoriesParams) WithReference(reference string) *ListAccessoriesParams
- func (o *ListAccessoriesParams) WithRepositoryName(repositoryName string) *ListAccessoriesParams
- func (o *ListAccessoriesParams) WithSort(sort *string) *ListAccessoriesParams
- func (o *ListAccessoriesParams) WithTimeout(timeout time.Duration) *ListAccessoriesParams
- func (o *ListAccessoriesParams) WithXRequestID(xRequestID *string) *ListAccessoriesParams
- func (o *ListAccessoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAccessoriesReader
- type ListAccessoriesUnauthorized
- func (o *ListAccessoriesUnauthorized) Error() string
- func (o *ListAccessoriesUnauthorized) GetPayload() *models.Errors
- func (o *ListAccessoriesUnauthorized) IsClientError() bool
- func (o *ListAccessoriesUnauthorized) IsCode(code int) bool
- func (o *ListAccessoriesUnauthorized) IsRedirect() bool
- func (o *ListAccessoriesUnauthorized) IsServerError() bool
- func (o *ListAccessoriesUnauthorized) IsSuccess() bool
- func (o *ListAccessoriesUnauthorized) String() string
- type ListArtifactsBadRequest
- func (o *ListArtifactsBadRequest) Error() string
- func (o *ListArtifactsBadRequest) GetPayload() *models.Errors
- func (o *ListArtifactsBadRequest) IsClientError() bool
- func (o *ListArtifactsBadRequest) IsCode(code int) bool
- func (o *ListArtifactsBadRequest) IsRedirect() bool
- func (o *ListArtifactsBadRequest) IsServerError() bool
- func (o *ListArtifactsBadRequest) IsSuccess() bool
- func (o *ListArtifactsBadRequest) String() string
- type ListArtifactsForbidden
- func (o *ListArtifactsForbidden) Error() string
- func (o *ListArtifactsForbidden) GetPayload() *models.Errors
- func (o *ListArtifactsForbidden) IsClientError() bool
- func (o *ListArtifactsForbidden) IsCode(code int) bool
- func (o *ListArtifactsForbidden) IsRedirect() bool
- func (o *ListArtifactsForbidden) IsServerError() bool
- func (o *ListArtifactsForbidden) IsSuccess() bool
- func (o *ListArtifactsForbidden) String() string
- type ListArtifactsInternalServerError
- func (o *ListArtifactsInternalServerError) Error() string
- func (o *ListArtifactsInternalServerError) GetPayload() *models.Errors
- func (o *ListArtifactsInternalServerError) IsClientError() bool
- func (o *ListArtifactsInternalServerError) IsCode(code int) bool
- func (o *ListArtifactsInternalServerError) IsRedirect() bool
- func (o *ListArtifactsInternalServerError) IsServerError() bool
- func (o *ListArtifactsInternalServerError) IsSuccess() bool
- func (o *ListArtifactsInternalServerError) String() string
- type ListArtifactsNotFound
- func (o *ListArtifactsNotFound) Error() string
- func (o *ListArtifactsNotFound) GetPayload() *models.Errors
- func (o *ListArtifactsNotFound) IsClientError() bool
- func (o *ListArtifactsNotFound) IsCode(code int) bool
- func (o *ListArtifactsNotFound) IsRedirect() bool
- func (o *ListArtifactsNotFound) IsServerError() bool
- func (o *ListArtifactsNotFound) IsSuccess() bool
- func (o *ListArtifactsNotFound) String() string
- type ListArtifactsOK
- func (o *ListArtifactsOK) Error() string
- func (o *ListArtifactsOK) GetPayload() []*models.Artifact
- func (o *ListArtifactsOK) IsClientError() bool
- func (o *ListArtifactsOK) IsCode(code int) bool
- func (o *ListArtifactsOK) IsRedirect() bool
- func (o *ListArtifactsOK) IsServerError() bool
- func (o *ListArtifactsOK) IsSuccess() bool
- func (o *ListArtifactsOK) String() string
- type ListArtifactsParams
- func (o *ListArtifactsParams) SetContext(ctx context.Context)
- func (o *ListArtifactsParams) SetDefaults()
- func (o *ListArtifactsParams) SetHTTPClient(client *http.Client)
- func (o *ListArtifactsParams) SetPage(page *int64)
- func (o *ListArtifactsParams) SetPageSize(pageSize *int64)
- func (o *ListArtifactsParams) SetProjectName(projectName string)
- func (o *ListArtifactsParams) SetQ(q *string)
- func (o *ListArtifactsParams) SetRepositoryName(repositoryName string)
- func (o *ListArtifactsParams) SetSort(sort *string)
- func (o *ListArtifactsParams) SetTimeout(timeout time.Duration)
- func (o *ListArtifactsParams) SetWithAccessory(withAccessory *bool)
- func (o *ListArtifactsParams) SetWithImmutableStatus(withImmutableStatus *bool)
- func (o *ListArtifactsParams) SetWithLabel(withLabel *bool)
- func (o *ListArtifactsParams) SetWithScanOverview(withScanOverview *bool)
- func (o *ListArtifactsParams) SetWithSignature(withSignature *bool)
- func (o *ListArtifactsParams) SetWithTag(withTag *bool)
- func (o *ListArtifactsParams) SetXAcceptVulnerabilities(xAcceptVulnerabilities *string)
- func (o *ListArtifactsParams) SetXRequestID(xRequestID *string)
- func (o *ListArtifactsParams) WithContext(ctx context.Context) *ListArtifactsParams
- func (o *ListArtifactsParams) WithDefaults() *ListArtifactsParams
- func (o *ListArtifactsParams) WithHTTPClient(client *http.Client) *ListArtifactsParams
- func (o *ListArtifactsParams) WithPage(page *int64) *ListArtifactsParams
- func (o *ListArtifactsParams) WithPageSize(pageSize *int64) *ListArtifactsParams
- func (o *ListArtifactsParams) WithProjectName(projectName string) *ListArtifactsParams
- func (o *ListArtifactsParams) WithQ(q *string) *ListArtifactsParams
- func (o *ListArtifactsParams) WithRepositoryName(repositoryName string) *ListArtifactsParams
- func (o *ListArtifactsParams) WithSort(sort *string) *ListArtifactsParams
- func (o *ListArtifactsParams) WithTimeout(timeout time.Duration) *ListArtifactsParams
- func (o *ListArtifactsParams) WithWithAccessory(withAccessory *bool) *ListArtifactsParams
- func (o *ListArtifactsParams) WithWithImmutableStatus(withImmutableStatus *bool) *ListArtifactsParams
- func (o *ListArtifactsParams) WithWithLabel(withLabel *bool) *ListArtifactsParams
- func (o *ListArtifactsParams) WithWithScanOverview(withScanOverview *bool) *ListArtifactsParams
- func (o *ListArtifactsParams) WithWithSignature(withSignature *bool) *ListArtifactsParams
- func (o *ListArtifactsParams) WithWithTag(withTag *bool) *ListArtifactsParams
- func (o *ListArtifactsParams) WithXAcceptVulnerabilities(xAcceptVulnerabilities *string) *ListArtifactsParams
- func (o *ListArtifactsParams) WithXRequestID(xRequestID *string) *ListArtifactsParams
- func (o *ListArtifactsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListArtifactsReader
- type ListArtifactsUnauthorized
- func (o *ListArtifactsUnauthorized) Error() string
- func (o *ListArtifactsUnauthorized) GetPayload() *models.Errors
- func (o *ListArtifactsUnauthorized) IsClientError() bool
- func (o *ListArtifactsUnauthorized) IsCode(code int) bool
- func (o *ListArtifactsUnauthorized) IsRedirect() bool
- func (o *ListArtifactsUnauthorized) IsServerError() bool
- func (o *ListArtifactsUnauthorized) IsSuccess() bool
- func (o *ListArtifactsUnauthorized) String() string
- type ListTagsBadRequest
- func (o *ListTagsBadRequest) Error() string
- func (o *ListTagsBadRequest) GetPayload() *models.Errors
- func (o *ListTagsBadRequest) IsClientError() bool
- func (o *ListTagsBadRequest) IsCode(code int) bool
- func (o *ListTagsBadRequest) IsRedirect() bool
- func (o *ListTagsBadRequest) IsServerError() bool
- func (o *ListTagsBadRequest) IsSuccess() bool
- func (o *ListTagsBadRequest) String() string
- type ListTagsForbidden
- func (o *ListTagsForbidden) Error() string
- func (o *ListTagsForbidden) GetPayload() *models.Errors
- func (o *ListTagsForbidden) IsClientError() bool
- func (o *ListTagsForbidden) IsCode(code int) bool
- func (o *ListTagsForbidden) IsRedirect() bool
- func (o *ListTagsForbidden) IsServerError() bool
- func (o *ListTagsForbidden) IsSuccess() bool
- func (o *ListTagsForbidden) String() string
- type ListTagsInternalServerError
- func (o *ListTagsInternalServerError) Error() string
- func (o *ListTagsInternalServerError) GetPayload() *models.Errors
- func (o *ListTagsInternalServerError) IsClientError() bool
- func (o *ListTagsInternalServerError) IsCode(code int) bool
- func (o *ListTagsInternalServerError) IsRedirect() bool
- func (o *ListTagsInternalServerError) IsServerError() bool
- func (o *ListTagsInternalServerError) IsSuccess() bool
- func (o *ListTagsInternalServerError) String() string
- type ListTagsNotFound
- func (o *ListTagsNotFound) Error() string
- func (o *ListTagsNotFound) GetPayload() *models.Errors
- func (o *ListTagsNotFound) IsClientError() bool
- func (o *ListTagsNotFound) IsCode(code int) bool
- func (o *ListTagsNotFound) IsRedirect() bool
- func (o *ListTagsNotFound) IsServerError() bool
- func (o *ListTagsNotFound) IsSuccess() bool
- func (o *ListTagsNotFound) String() string
- type ListTagsOK
- func (o *ListTagsOK) Error() string
- func (o *ListTagsOK) GetPayload() []*models.Tag
- func (o *ListTagsOK) IsClientError() bool
- func (o *ListTagsOK) IsCode(code int) bool
- func (o *ListTagsOK) IsRedirect() bool
- func (o *ListTagsOK) IsServerError() bool
- func (o *ListTagsOK) IsSuccess() bool
- func (o *ListTagsOK) String() string
- type ListTagsParams
- func (o *ListTagsParams) SetContext(ctx context.Context)
- func (o *ListTagsParams) SetDefaults()
- func (o *ListTagsParams) SetHTTPClient(client *http.Client)
- func (o *ListTagsParams) SetPage(page *int64)
- func (o *ListTagsParams) SetPageSize(pageSize *int64)
- func (o *ListTagsParams) SetProjectName(projectName string)
- func (o *ListTagsParams) SetQ(q *string)
- func (o *ListTagsParams) SetReference(reference string)
- func (o *ListTagsParams) SetRepositoryName(repositoryName string)
- func (o *ListTagsParams) SetSort(sort *string)
- func (o *ListTagsParams) SetTimeout(timeout time.Duration)
- func (o *ListTagsParams) SetWithImmutableStatus(withImmutableStatus *bool)
- func (o *ListTagsParams) SetWithSignature(withSignature *bool)
- func (o *ListTagsParams) SetXRequestID(xRequestID *string)
- func (o *ListTagsParams) WithContext(ctx context.Context) *ListTagsParams
- func (o *ListTagsParams) WithDefaults() *ListTagsParams
- func (o *ListTagsParams) WithHTTPClient(client *http.Client) *ListTagsParams
- func (o *ListTagsParams) WithPage(page *int64) *ListTagsParams
- func (o *ListTagsParams) WithPageSize(pageSize *int64) *ListTagsParams
- func (o *ListTagsParams) WithProjectName(projectName string) *ListTagsParams
- func (o *ListTagsParams) WithQ(q *string) *ListTagsParams
- func (o *ListTagsParams) WithReference(reference string) *ListTagsParams
- func (o *ListTagsParams) WithRepositoryName(repositoryName string) *ListTagsParams
- func (o *ListTagsParams) WithSort(sort *string) *ListTagsParams
- func (o *ListTagsParams) WithTimeout(timeout time.Duration) *ListTagsParams
- func (o *ListTagsParams) WithWithImmutableStatus(withImmutableStatus *bool) *ListTagsParams
- func (o *ListTagsParams) WithWithSignature(withSignature *bool) *ListTagsParams
- func (o *ListTagsParams) WithXRequestID(xRequestID *string) *ListTagsParams
- func (o *ListTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTagsReader
- type ListTagsUnauthorized
- func (o *ListTagsUnauthorized) Error() string
- func (o *ListTagsUnauthorized) GetPayload() *models.Errors
- func (o *ListTagsUnauthorized) IsClientError() bool
- func (o *ListTagsUnauthorized) IsCode(code int) bool
- func (o *ListTagsUnauthorized) IsRedirect() bool
- func (o *ListTagsUnauthorized) IsServerError() bool
- func (o *ListTagsUnauthorized) IsSuccess() bool
- func (o *ListTagsUnauthorized) String() string
- type RemoveLabelConflict
- func (o *RemoveLabelConflict) Error() string
- func (o *RemoveLabelConflict) GetPayload() *models.Errors
- func (o *RemoveLabelConflict) IsClientError() bool
- func (o *RemoveLabelConflict) IsCode(code int) bool
- func (o *RemoveLabelConflict) IsRedirect() bool
- func (o *RemoveLabelConflict) IsServerError() bool
- func (o *RemoveLabelConflict) IsSuccess() bool
- func (o *RemoveLabelConflict) String() string
- type RemoveLabelForbidden
- func (o *RemoveLabelForbidden) Error() string
- func (o *RemoveLabelForbidden) GetPayload() *models.Errors
- func (o *RemoveLabelForbidden) IsClientError() bool
- func (o *RemoveLabelForbidden) IsCode(code int) bool
- func (o *RemoveLabelForbidden) IsRedirect() bool
- func (o *RemoveLabelForbidden) IsServerError() bool
- func (o *RemoveLabelForbidden) IsSuccess() bool
- func (o *RemoveLabelForbidden) String() string
- type RemoveLabelInternalServerError
- func (o *RemoveLabelInternalServerError) Error() string
- func (o *RemoveLabelInternalServerError) GetPayload() *models.Errors
- func (o *RemoveLabelInternalServerError) IsClientError() bool
- func (o *RemoveLabelInternalServerError) IsCode(code int) bool
- func (o *RemoveLabelInternalServerError) IsRedirect() bool
- func (o *RemoveLabelInternalServerError) IsServerError() bool
- func (o *RemoveLabelInternalServerError) IsSuccess() bool
- func (o *RemoveLabelInternalServerError) String() string
- type RemoveLabelNotFound
- func (o *RemoveLabelNotFound) Error() string
- func (o *RemoveLabelNotFound) GetPayload() *models.Errors
- func (o *RemoveLabelNotFound) IsClientError() bool
- func (o *RemoveLabelNotFound) IsCode(code int) bool
- func (o *RemoveLabelNotFound) IsRedirect() bool
- func (o *RemoveLabelNotFound) IsServerError() bool
- func (o *RemoveLabelNotFound) IsSuccess() bool
- func (o *RemoveLabelNotFound) String() string
- type RemoveLabelOK
- type RemoveLabelParams
- func (o *RemoveLabelParams) SetContext(ctx context.Context)
- func (o *RemoveLabelParams) SetDefaults()
- func (o *RemoveLabelParams) SetHTTPClient(client *http.Client)
- func (o *RemoveLabelParams) SetLabelID(labelID int64)
- func (o *RemoveLabelParams) SetProjectName(projectName string)
- func (o *RemoveLabelParams) SetReference(reference string)
- func (o *RemoveLabelParams) SetRepositoryName(repositoryName string)
- func (o *RemoveLabelParams) SetTimeout(timeout time.Duration)
- func (o *RemoveLabelParams) SetXRequestID(xRequestID *string)
- func (o *RemoveLabelParams) WithContext(ctx context.Context) *RemoveLabelParams
- func (o *RemoveLabelParams) WithDefaults() *RemoveLabelParams
- func (o *RemoveLabelParams) WithHTTPClient(client *http.Client) *RemoveLabelParams
- func (o *RemoveLabelParams) WithLabelID(labelID int64) *RemoveLabelParams
- func (o *RemoveLabelParams) WithProjectName(projectName string) *RemoveLabelParams
- func (o *RemoveLabelParams) WithReference(reference string) *RemoveLabelParams
- func (o *RemoveLabelParams) WithRepositoryName(repositoryName string) *RemoveLabelParams
- func (o *RemoveLabelParams) WithTimeout(timeout time.Duration) *RemoveLabelParams
- func (o *RemoveLabelParams) WithXRequestID(xRequestID *string) *RemoveLabelParams
- func (o *RemoveLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveLabelReader
- type RemoveLabelUnauthorized
- func (o *RemoveLabelUnauthorized) Error() string
- func (o *RemoveLabelUnauthorized) GetPayload() *models.Errors
- func (o *RemoveLabelUnauthorized) IsClientError() bool
- func (o *RemoveLabelUnauthorized) IsCode(code int) bool
- func (o *RemoveLabelUnauthorized) IsRedirect() bool
- func (o *RemoveLabelUnauthorized) IsServerError() bool
- func (o *RemoveLabelUnauthorized) IsSuccess() bool
- func (o *RemoveLabelUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* CopyArtifact copies artifact Copy the artifact specified in the "from" parameter to the repository.*/ CopyArtifact(ctx context.Context, params *CopyArtifactParams) (*CopyArtifactCreated, error) /* AddLabel adds label to artifact Add label to the specified artiact.*/ AddLabel(ctx context.Context, params *AddLabelParams) (*AddLabelOK, error) /* CreateTag creates tag Create a tag for the specified artifact*/ CreateTag(ctx context.Context, params *CreateTagParams) (*CreateTagCreated, error) /* DeleteArtifact deletes the specific artifact Delete the artifact specified by the reference under the project and repository. The reference can be digest or tag*/ DeleteArtifact(ctx context.Context, params *DeleteArtifactParams) (*DeleteArtifactOK, error) /* DeleteTag deletes tag Delete the tag of the specified artifact*/ DeleteTag(ctx context.Context, params *DeleteTagParams) (*DeleteTagOK, error) /* GetAddition gets the addition of the specific artifact Get the addition of the artifact specified by the reference under the project and repository.*/ GetAddition(ctx context.Context, params *GetAdditionParams) (*GetAdditionOK, error) /* GetArtifact gets the specific artifact Get the artifact specified by the reference under the project and repository. The reference can be digest or tag.*/ GetArtifact(ctx context.Context, params *GetArtifactParams) (*GetArtifactOK, error) /* GetVulnerabilitiesAddition gets the vulnerabilities addition of the specific artifact Get the vulnerabilities addition of the artifact specified by the reference under the project and repository.*/ GetVulnerabilitiesAddition(ctx context.Context, params *GetVulnerabilitiesAdditionParams) (*GetVulnerabilitiesAdditionOK, error) /* ListAccessories lists accessories List accessories of the specific artifact*/ ListAccessories(ctx context.Context, params *ListAccessoriesParams) (*ListAccessoriesOK, error) /* ListArtifacts lists artifacts List artifacts under the specific project and repository. Except the basic properties, the other supported queries in "q" includes "tags=*" to list only tagged artifacts, "tags=nil" to list only untagged artifacts, "tags=~v" to list artifacts whose tag fuzzy matches "v", "tags=v" to list artifact whose tag exactly matches "v", "labels=(id1, id2)" to list artifacts that both labels with id1 and id2 are added to*/ ListArtifacts(ctx context.Context, params *ListArtifactsParams) (*ListArtifactsOK, error) /* ListTags lists tags List tags of the specific artifact*/ ListTags(ctx context.Context, params *ListTagsParams) (*ListTagsOK, error) /* RemoveLabel removes label from artifact Remove the label from the specified artiact.*/ RemoveLabel(ctx context.Context, params *RemoveLabelParams) (*RemoveLabelOK, error) }
API is the interface of the artifact client
type AddLabelBadRequest ¶
type AddLabelBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
AddLabelBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAddLabelBadRequest ¶
func NewAddLabelBadRequest() *AddLabelBadRequest
NewAddLabelBadRequest creates a AddLabelBadRequest with default headers values
func (*AddLabelBadRequest) Error ¶
func (o *AddLabelBadRequest) Error() string
func (*AddLabelBadRequest) GetPayload ¶
func (o *AddLabelBadRequest) GetPayload() *models.Errors
func (*AddLabelBadRequest) IsClientError ¶ added in v0.26.2
func (o *AddLabelBadRequest) IsClientError() bool
IsClientError returns true when this add label bad request response has a 4xx status code
func (*AddLabelBadRequest) IsCode ¶ added in v0.26.2
func (o *AddLabelBadRequest) IsCode(code int) bool
IsCode returns true when this add label bad request response a status code equal to that given
func (*AddLabelBadRequest) IsRedirect ¶ added in v0.26.2
func (o *AddLabelBadRequest) IsRedirect() bool
IsRedirect returns true when this add label bad request response has a 3xx status code
func (*AddLabelBadRequest) IsServerError ¶ added in v0.26.2
func (o *AddLabelBadRequest) IsServerError() bool
IsServerError returns true when this add label bad request response has a 5xx status code
func (*AddLabelBadRequest) IsSuccess ¶ added in v0.26.2
func (o *AddLabelBadRequest) IsSuccess() bool
IsSuccess returns true when this add label bad request response has a 2xx status code
func (*AddLabelBadRequest) String ¶ added in v0.26.2
func (o *AddLabelBadRequest) String() string
type AddLabelConflict ¶
type AddLabelConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
AddLabelConflict describes a response with status code 409, with default header values.
Conflict
func NewAddLabelConflict ¶
func NewAddLabelConflict() *AddLabelConflict
NewAddLabelConflict creates a AddLabelConflict with default headers values
func (*AddLabelConflict) Error ¶
func (o *AddLabelConflict) Error() string
func (*AddLabelConflict) GetPayload ¶
func (o *AddLabelConflict) GetPayload() *models.Errors
func (*AddLabelConflict) IsClientError ¶ added in v0.26.2
func (o *AddLabelConflict) IsClientError() bool
IsClientError returns true when this add label conflict response has a 4xx status code
func (*AddLabelConflict) IsCode ¶ added in v0.26.2
func (o *AddLabelConflict) IsCode(code int) bool
IsCode returns true when this add label conflict response a status code equal to that given
func (*AddLabelConflict) IsRedirect ¶ added in v0.26.2
func (o *AddLabelConflict) IsRedirect() bool
IsRedirect returns true when this add label conflict response has a 3xx status code
func (*AddLabelConflict) IsServerError ¶ added in v0.26.2
func (o *AddLabelConflict) IsServerError() bool
IsServerError returns true when this add label conflict response has a 5xx status code
func (*AddLabelConflict) IsSuccess ¶ added in v0.26.2
func (o *AddLabelConflict) IsSuccess() bool
IsSuccess returns true when this add label conflict response has a 2xx status code
func (*AddLabelConflict) String ¶ added in v0.26.2
func (o *AddLabelConflict) String() string
type AddLabelForbidden ¶
type AddLabelForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
AddLabelForbidden describes a response with status code 403, with default header values.
Forbidden
func NewAddLabelForbidden ¶
func NewAddLabelForbidden() *AddLabelForbidden
NewAddLabelForbidden creates a AddLabelForbidden with default headers values
func (*AddLabelForbidden) Error ¶
func (o *AddLabelForbidden) Error() string
func (*AddLabelForbidden) GetPayload ¶
func (o *AddLabelForbidden) GetPayload() *models.Errors
func (*AddLabelForbidden) IsClientError ¶ added in v0.26.2
func (o *AddLabelForbidden) IsClientError() bool
IsClientError returns true when this add label forbidden response has a 4xx status code
func (*AddLabelForbidden) IsCode ¶ added in v0.26.2
func (o *AddLabelForbidden) IsCode(code int) bool
IsCode returns true when this add label forbidden response a status code equal to that given
func (*AddLabelForbidden) IsRedirect ¶ added in v0.26.2
func (o *AddLabelForbidden) IsRedirect() bool
IsRedirect returns true when this add label forbidden response has a 3xx status code
func (*AddLabelForbidden) IsServerError ¶ added in v0.26.2
func (o *AddLabelForbidden) IsServerError() bool
IsServerError returns true when this add label forbidden response has a 5xx status code
func (*AddLabelForbidden) IsSuccess ¶ added in v0.26.2
func (o *AddLabelForbidden) IsSuccess() bool
IsSuccess returns true when this add label forbidden response has a 2xx status code
func (*AddLabelForbidden) String ¶ added in v0.26.2
func (o *AddLabelForbidden) String() string
type AddLabelInternalServerError ¶
type AddLabelInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
AddLabelInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewAddLabelInternalServerError ¶
func NewAddLabelInternalServerError() *AddLabelInternalServerError
NewAddLabelInternalServerError creates a AddLabelInternalServerError with default headers values
func (*AddLabelInternalServerError) Error ¶
func (o *AddLabelInternalServerError) Error() string
func (*AddLabelInternalServerError) GetPayload ¶
func (o *AddLabelInternalServerError) GetPayload() *models.Errors
func (*AddLabelInternalServerError) IsClientError ¶ added in v0.26.2
func (o *AddLabelInternalServerError) IsClientError() bool
IsClientError returns true when this add label internal server error response has a 4xx status code
func (*AddLabelInternalServerError) IsCode ¶ added in v0.26.2
func (o *AddLabelInternalServerError) IsCode(code int) bool
IsCode returns true when this add label internal server error response a status code equal to that given
func (*AddLabelInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *AddLabelInternalServerError) IsRedirect() bool
IsRedirect returns true when this add label internal server error response has a 3xx status code
func (*AddLabelInternalServerError) IsServerError ¶ added in v0.26.2
func (o *AddLabelInternalServerError) IsServerError() bool
IsServerError returns true when this add label internal server error response has a 5xx status code
func (*AddLabelInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *AddLabelInternalServerError) IsSuccess() bool
IsSuccess returns true when this add label internal server error response has a 2xx status code
func (*AddLabelInternalServerError) String ¶ added in v0.26.2
func (o *AddLabelInternalServerError) String() string
type AddLabelNotFound ¶
type AddLabelNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
AddLabelNotFound describes a response with status code 404, with default header values.
Not found
func NewAddLabelNotFound ¶
func NewAddLabelNotFound() *AddLabelNotFound
NewAddLabelNotFound creates a AddLabelNotFound with default headers values
func (*AddLabelNotFound) Error ¶
func (o *AddLabelNotFound) Error() string
func (*AddLabelNotFound) GetPayload ¶
func (o *AddLabelNotFound) GetPayload() *models.Errors
func (*AddLabelNotFound) IsClientError ¶ added in v0.26.2
func (o *AddLabelNotFound) IsClientError() bool
IsClientError returns true when this add label not found response has a 4xx status code
func (*AddLabelNotFound) IsCode ¶ added in v0.26.2
func (o *AddLabelNotFound) IsCode(code int) bool
IsCode returns true when this add label not found response a status code equal to that given
func (*AddLabelNotFound) IsRedirect ¶ added in v0.26.2
func (o *AddLabelNotFound) IsRedirect() bool
IsRedirect returns true when this add label not found response has a 3xx status code
func (*AddLabelNotFound) IsServerError ¶ added in v0.26.2
func (o *AddLabelNotFound) IsServerError() bool
IsServerError returns true when this add label not found response has a 5xx status code
func (*AddLabelNotFound) IsSuccess ¶ added in v0.26.2
func (o *AddLabelNotFound) IsSuccess() bool
IsSuccess returns true when this add label not found response has a 2xx status code
func (*AddLabelNotFound) String ¶ added in v0.26.2
func (o *AddLabelNotFound) String() string
type AddLabelOK ¶
type AddLabelOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
AddLabelOK describes a response with status code 200, with default header values.
Success
func NewAddLabelOK ¶
func NewAddLabelOK() *AddLabelOK
NewAddLabelOK creates a AddLabelOK with default headers values
func (*AddLabelOK) Error ¶
func (o *AddLabelOK) Error() string
func (*AddLabelOK) IsClientError ¶ added in v0.26.2
func (o *AddLabelOK) IsClientError() bool
IsClientError returns true when this add label o k response has a 4xx status code
func (*AddLabelOK) IsCode ¶ added in v0.26.2
func (o *AddLabelOK) IsCode(code int) bool
IsCode returns true when this add label o k response a status code equal to that given
func (*AddLabelOK) IsRedirect ¶ added in v0.26.2
func (o *AddLabelOK) IsRedirect() bool
IsRedirect returns true when this add label o k response has a 3xx status code
func (*AddLabelOK) IsServerError ¶ added in v0.26.2
func (o *AddLabelOK) IsServerError() bool
IsServerError returns true when this add label o k response has a 5xx status code
func (*AddLabelOK) IsSuccess ¶ added in v0.26.2
func (o *AddLabelOK) IsSuccess() bool
IsSuccess returns true when this add label o k response has a 2xx status code
func (*AddLabelOK) String ¶ added in v0.26.2
func (o *AddLabelOK) String() string
type AddLabelParams ¶
type AddLabelParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Label. The label that added to the artifact. Only the ID property is needed. */ Label *models.Label /* ProjectName. The name of the project */ ProjectName string /* Reference. The reference of the artifact, can be digest or tag */ Reference string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddLabelParams contains all the parameters to send to the API endpoint
for the add label operation. Typically these are written to a http.Request.
func NewAddLabelParams ¶
func NewAddLabelParams() *AddLabelParams
NewAddLabelParams creates a new AddLabelParams 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 NewAddLabelParamsWithContext ¶
func NewAddLabelParamsWithContext(ctx context.Context) *AddLabelParams
NewAddLabelParamsWithContext creates a new AddLabelParams object with the ability to set a context for a request.
func NewAddLabelParamsWithHTTPClient ¶
func NewAddLabelParamsWithHTTPClient(client *http.Client) *AddLabelParams
NewAddLabelParamsWithHTTPClient creates a new AddLabelParams object with the ability to set a custom HTTPClient for a request.
func NewAddLabelParamsWithTimeout ¶
func NewAddLabelParamsWithTimeout(timeout time.Duration) *AddLabelParams
NewAddLabelParamsWithTimeout creates a new AddLabelParams object with the ability to set a timeout on a request.
func (*AddLabelParams) SetContext ¶
func (o *AddLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the add label params
func (*AddLabelParams) SetDefaults ¶
func (o *AddLabelParams) SetDefaults()
SetDefaults hydrates default values in the add label params (not the query body).
All values with no default are reset to their zero value.
func (*AddLabelParams) SetHTTPClient ¶
func (o *AddLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add label params
func (*AddLabelParams) SetLabel ¶
func (o *AddLabelParams) SetLabel(label *models.Label)
SetLabel adds the label to the add label params
func (*AddLabelParams) SetProjectName ¶
func (o *AddLabelParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the add label params
func (*AddLabelParams) SetReference ¶
func (o *AddLabelParams) SetReference(reference string)
SetReference adds the reference to the add label params
func (*AddLabelParams) SetRepositoryName ¶
func (o *AddLabelParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the add label params
func (*AddLabelParams) SetTimeout ¶
func (o *AddLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add label params
func (*AddLabelParams) SetXRequestID ¶
func (o *AddLabelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the add label params
func (*AddLabelParams) WithContext ¶
func (o *AddLabelParams) WithContext(ctx context.Context) *AddLabelParams
WithContext adds the context to the add label params
func (*AddLabelParams) WithDefaults ¶
func (o *AddLabelParams) WithDefaults() *AddLabelParams
WithDefaults hydrates default values in the add label params (not the query body).
All values with no default are reset to their zero value.
func (*AddLabelParams) WithHTTPClient ¶
func (o *AddLabelParams) WithHTTPClient(client *http.Client) *AddLabelParams
WithHTTPClient adds the HTTPClient to the add label params
func (*AddLabelParams) WithLabel ¶
func (o *AddLabelParams) WithLabel(label *models.Label) *AddLabelParams
WithLabel adds the label to the add label params
func (*AddLabelParams) WithProjectName ¶
func (o *AddLabelParams) WithProjectName(projectName string) *AddLabelParams
WithProjectName adds the projectName to the add label params
func (*AddLabelParams) WithReference ¶
func (o *AddLabelParams) WithReference(reference string) *AddLabelParams
WithReference adds the reference to the add label params
func (*AddLabelParams) WithRepositoryName ¶
func (o *AddLabelParams) WithRepositoryName(repositoryName string) *AddLabelParams
WithRepositoryName adds the repositoryName to the add label params
func (*AddLabelParams) WithTimeout ¶
func (o *AddLabelParams) WithTimeout(timeout time.Duration) *AddLabelParams
WithTimeout adds the timeout to the add label params
func (*AddLabelParams) WithXRequestID ¶
func (o *AddLabelParams) WithXRequestID(xRequestID *string) *AddLabelParams
WithXRequestID adds the xRequestID to the add label params
func (*AddLabelParams) WriteToRequest ¶
func (o *AddLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddLabelReader ¶
type AddLabelReader struct {
// contains filtered or unexported fields
}
AddLabelReader is a Reader for the AddLabel structure.
func (*AddLabelReader) ReadResponse ¶
func (o *AddLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddLabelUnauthorized ¶
type AddLabelUnauthorized struct { string }XRequestID
AddLabelUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewAddLabelUnauthorized ¶
func NewAddLabelUnauthorized() *AddLabelUnauthorized
NewAddLabelUnauthorized creates a AddLabelUnauthorized with default headers values
func (*AddLabelUnauthorized) Error ¶
func (o *AddLabelUnauthorized) Error() string
func (*AddLabelUnauthorized) GetPayload ¶
func (o *AddLabelUnauthorized) GetPayload() *models.Errors
func (*AddLabelUnauthorized) IsClientError ¶ added in v0.26.2
func (o *AddLabelUnauthorized) IsClientError() bool
IsClientError returns true when this add label unauthorized response has a 4xx status code
func (*AddLabelUnauthorized) IsCode ¶ added in v0.26.2
func (o *AddLabelUnauthorized) IsCode(code int) bool
IsCode returns true when this add label unauthorized response a status code equal to that given
func (*AddLabelUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *AddLabelUnauthorized) IsRedirect() bool
IsRedirect returns true when this add label unauthorized response has a 3xx status code
func (*AddLabelUnauthorized) IsServerError ¶ added in v0.26.2
func (o *AddLabelUnauthorized) IsServerError() bool
IsServerError returns true when this add label unauthorized response has a 5xx status code
func (*AddLabelUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *AddLabelUnauthorized) IsSuccess() bool
IsSuccess returns true when this add label unauthorized response has a 2xx status code
func (*AddLabelUnauthorized) String ¶ added in v0.26.2
func (o *AddLabelUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for artifact API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new artifact API client.
func (*Client) AddLabel ¶
func (a *Client) AddLabel(ctx context.Context, params *AddLabelParams) (*AddLabelOK, error)
AddLabel adds label to artifact
Add label to the specified artiact.
func (*Client) CopyArtifact ¶
func (a *Client) CopyArtifact(ctx context.Context, params *CopyArtifactParams) (*CopyArtifactCreated, error)
CopyArtifact copies artifact
Copy the artifact specified in the "from" parameter to the repository.
func (*Client) CreateTag ¶
func (a *Client) CreateTag(ctx context.Context, params *CreateTagParams) (*CreateTagCreated, error)
CreateTag creates tag
Create a tag for the specified artifact
func (*Client) DeleteArtifact ¶
func (a *Client) DeleteArtifact(ctx context.Context, params *DeleteArtifactParams) (*DeleteArtifactOK, error)
DeleteArtifact deletes the specific artifact
Delete the artifact specified by the reference under the project and repository. The reference can be digest or tag
func (*Client) DeleteTag ¶
func (a *Client) DeleteTag(ctx context.Context, params *DeleteTagParams) (*DeleteTagOK, error)
DeleteTag deletes tag
Delete the tag of the specified artifact
func (*Client) GetAddition ¶
func (a *Client) GetAddition(ctx context.Context, params *GetAdditionParams) (*GetAdditionOK, error)
GetAddition gets the addition of the specific artifact
Get the addition of the artifact specified by the reference under the project and repository.
func (*Client) GetArtifact ¶
func (a *Client) GetArtifact(ctx context.Context, params *GetArtifactParams) (*GetArtifactOK, error)
GetArtifact gets the specific artifact
Get the artifact specified by the reference under the project and repository. The reference can be digest or tag.
func (*Client) GetVulnerabilitiesAddition ¶
func (a *Client) GetVulnerabilitiesAddition(ctx context.Context, params *GetVulnerabilitiesAdditionParams) (*GetVulnerabilitiesAdditionOK, error)
GetVulnerabilitiesAddition gets the vulnerabilities addition of the specific artifact
Get the vulnerabilities addition of the artifact specified by the reference under the project and repository.
func (*Client) ListAccessories ¶ added in v0.25.0
func (a *Client) ListAccessories(ctx context.Context, params *ListAccessoriesParams) (*ListAccessoriesOK, error)
ListAccessories lists accessories
List accessories of the specific artifact
func (*Client) ListArtifacts ¶
func (a *Client) ListArtifacts(ctx context.Context, params *ListArtifactsParams) (*ListArtifactsOK, error)
ListArtifacts lists artifacts
List artifacts under the specific project and repository. Except the basic properties, the other supported queries in "q" includes "tags=*" to list only tagged artifacts, "tags=nil" to list only untagged artifacts, "tags=~v" to list artifacts whose tag fuzzy matches "v", "tags=v" to list artifact whose tag exactly matches "v", "labels=(id1, id2)" to list artifacts that both labels with id1 and id2 are added to
func (*Client) ListTags ¶
func (a *Client) ListTags(ctx context.Context, params *ListTagsParams) (*ListTagsOK, error)
ListTags lists tags
List tags of the specific artifact
func (*Client) RemoveLabel ¶
func (a *Client) RemoveLabel(ctx context.Context, params *RemoveLabelParams) (*RemoveLabelOK, error)
RemoveLabel removes label from artifact
Remove the label from the specified artiact.
type CopyArtifactBadRequest ¶
type CopyArtifactBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CopyArtifactBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCopyArtifactBadRequest ¶
func NewCopyArtifactBadRequest() *CopyArtifactBadRequest
NewCopyArtifactBadRequest creates a CopyArtifactBadRequest with default headers values
func (*CopyArtifactBadRequest) Error ¶
func (o *CopyArtifactBadRequest) Error() string
func (*CopyArtifactBadRequest) GetPayload ¶
func (o *CopyArtifactBadRequest) GetPayload() *models.Errors
func (*CopyArtifactBadRequest) IsClientError ¶ added in v0.26.2
func (o *CopyArtifactBadRequest) IsClientError() bool
IsClientError returns true when this copy artifact bad request response has a 4xx status code
func (*CopyArtifactBadRequest) IsCode ¶ added in v0.26.2
func (o *CopyArtifactBadRequest) IsCode(code int) bool
IsCode returns true when this copy artifact bad request response a status code equal to that given
func (*CopyArtifactBadRequest) IsRedirect ¶ added in v0.26.2
func (o *CopyArtifactBadRequest) IsRedirect() bool
IsRedirect returns true when this copy artifact bad request response has a 3xx status code
func (*CopyArtifactBadRequest) IsServerError ¶ added in v0.26.2
func (o *CopyArtifactBadRequest) IsServerError() bool
IsServerError returns true when this copy artifact bad request response has a 5xx status code
func (*CopyArtifactBadRequest) IsSuccess ¶ added in v0.26.2
func (o *CopyArtifactBadRequest) IsSuccess() bool
IsSuccess returns true when this copy artifact bad request response has a 2xx status code
func (*CopyArtifactBadRequest) String ¶ added in v0.26.2
func (o *CopyArtifactBadRequest) String() string
type CopyArtifactCreated ¶
type CopyArtifactCreated struct { /* The location of the resource */ Location string /* The ID of the corresponding request for the response */ XRequestID string }
CopyArtifactCreated describes a response with status code 201, with default header values.
Created
func NewCopyArtifactCreated ¶
func NewCopyArtifactCreated() *CopyArtifactCreated
NewCopyArtifactCreated creates a CopyArtifactCreated with default headers values
func (*CopyArtifactCreated) Error ¶
func (o *CopyArtifactCreated) Error() string
func (*CopyArtifactCreated) IsClientError ¶ added in v0.26.2
func (o *CopyArtifactCreated) IsClientError() bool
IsClientError returns true when this copy artifact created response has a 4xx status code
func (*CopyArtifactCreated) IsCode ¶ added in v0.26.2
func (o *CopyArtifactCreated) IsCode(code int) bool
IsCode returns true when this copy artifact created response a status code equal to that given
func (*CopyArtifactCreated) IsRedirect ¶ added in v0.26.2
func (o *CopyArtifactCreated) IsRedirect() bool
IsRedirect returns true when this copy artifact created response has a 3xx status code
func (*CopyArtifactCreated) IsServerError ¶ added in v0.26.2
func (o *CopyArtifactCreated) IsServerError() bool
IsServerError returns true when this copy artifact created response has a 5xx status code
func (*CopyArtifactCreated) IsSuccess ¶ added in v0.26.2
func (o *CopyArtifactCreated) IsSuccess() bool
IsSuccess returns true when this copy artifact created response has a 2xx status code
func (*CopyArtifactCreated) String ¶ added in v0.26.2
func (o *CopyArtifactCreated) String() string
type CopyArtifactForbidden ¶
type CopyArtifactForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CopyArtifactForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCopyArtifactForbidden ¶
func NewCopyArtifactForbidden() *CopyArtifactForbidden
NewCopyArtifactForbidden creates a CopyArtifactForbidden with default headers values
func (*CopyArtifactForbidden) Error ¶
func (o *CopyArtifactForbidden) Error() string
func (*CopyArtifactForbidden) GetPayload ¶
func (o *CopyArtifactForbidden) GetPayload() *models.Errors
func (*CopyArtifactForbidden) IsClientError ¶ added in v0.26.2
func (o *CopyArtifactForbidden) IsClientError() bool
IsClientError returns true when this copy artifact forbidden response has a 4xx status code
func (*CopyArtifactForbidden) IsCode ¶ added in v0.26.2
func (o *CopyArtifactForbidden) IsCode(code int) bool
IsCode returns true when this copy artifact forbidden response a status code equal to that given
func (*CopyArtifactForbidden) IsRedirect ¶ added in v0.26.2
func (o *CopyArtifactForbidden) IsRedirect() bool
IsRedirect returns true when this copy artifact forbidden response has a 3xx status code
func (*CopyArtifactForbidden) IsServerError ¶ added in v0.26.2
func (o *CopyArtifactForbidden) IsServerError() bool
IsServerError returns true when this copy artifact forbidden response has a 5xx status code
func (*CopyArtifactForbidden) IsSuccess ¶ added in v0.26.2
func (o *CopyArtifactForbidden) IsSuccess() bool
IsSuccess returns true when this copy artifact forbidden response has a 2xx status code
func (*CopyArtifactForbidden) String ¶ added in v0.26.2
func (o *CopyArtifactForbidden) String() string
type CopyArtifactInternalServerError ¶
type CopyArtifactInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CopyArtifactInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCopyArtifactInternalServerError ¶
func NewCopyArtifactInternalServerError() *CopyArtifactInternalServerError
NewCopyArtifactInternalServerError creates a CopyArtifactInternalServerError with default headers values
func (*CopyArtifactInternalServerError) Error ¶
func (o *CopyArtifactInternalServerError) Error() string
func (*CopyArtifactInternalServerError) GetPayload ¶
func (o *CopyArtifactInternalServerError) GetPayload() *models.Errors
func (*CopyArtifactInternalServerError) IsClientError ¶ added in v0.26.2
func (o *CopyArtifactInternalServerError) IsClientError() bool
IsClientError returns true when this copy artifact internal server error response has a 4xx status code
func (*CopyArtifactInternalServerError) IsCode ¶ added in v0.26.2
func (o *CopyArtifactInternalServerError) IsCode(code int) bool
IsCode returns true when this copy artifact internal server error response a status code equal to that given
func (*CopyArtifactInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *CopyArtifactInternalServerError) IsRedirect() bool
IsRedirect returns true when this copy artifact internal server error response has a 3xx status code
func (*CopyArtifactInternalServerError) IsServerError ¶ added in v0.26.2
func (o *CopyArtifactInternalServerError) IsServerError() bool
IsServerError returns true when this copy artifact internal server error response has a 5xx status code
func (*CopyArtifactInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *CopyArtifactInternalServerError) IsSuccess() bool
IsSuccess returns true when this copy artifact internal server error response has a 2xx status code
func (*CopyArtifactInternalServerError) String ¶ added in v0.26.2
func (o *CopyArtifactInternalServerError) String() string
type CopyArtifactMethodNotAllowed ¶
type CopyArtifactMethodNotAllowed struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CopyArtifactMethodNotAllowed describes a response with status code 405, with default header values.
Method not allowed
func NewCopyArtifactMethodNotAllowed ¶
func NewCopyArtifactMethodNotAllowed() *CopyArtifactMethodNotAllowed
NewCopyArtifactMethodNotAllowed creates a CopyArtifactMethodNotAllowed with default headers values
func (*CopyArtifactMethodNotAllowed) Error ¶
func (o *CopyArtifactMethodNotAllowed) Error() string
func (*CopyArtifactMethodNotAllowed) GetPayload ¶
func (o *CopyArtifactMethodNotAllowed) GetPayload() *models.Errors
func (*CopyArtifactMethodNotAllowed) IsClientError ¶ added in v0.26.2
func (o *CopyArtifactMethodNotAllowed) IsClientError() bool
IsClientError returns true when this copy artifact method not allowed response has a 4xx status code
func (*CopyArtifactMethodNotAllowed) IsCode ¶ added in v0.26.2
func (o *CopyArtifactMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this copy artifact method not allowed response a status code equal to that given
func (*CopyArtifactMethodNotAllowed) IsRedirect ¶ added in v0.26.2
func (o *CopyArtifactMethodNotAllowed) IsRedirect() bool
IsRedirect returns true when this copy artifact method not allowed response has a 3xx status code
func (*CopyArtifactMethodNotAllowed) IsServerError ¶ added in v0.26.2
func (o *CopyArtifactMethodNotAllowed) IsServerError() bool
IsServerError returns true when this copy artifact method not allowed response has a 5xx status code
func (*CopyArtifactMethodNotAllowed) IsSuccess ¶ added in v0.26.2
func (o *CopyArtifactMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this copy artifact method not allowed response has a 2xx status code
func (*CopyArtifactMethodNotAllowed) String ¶ added in v0.26.2
func (o *CopyArtifactMethodNotAllowed) String() string
type CopyArtifactNotFound ¶
type CopyArtifactNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CopyArtifactNotFound describes a response with status code 404, with default header values.
Not found
func NewCopyArtifactNotFound ¶
func NewCopyArtifactNotFound() *CopyArtifactNotFound
NewCopyArtifactNotFound creates a CopyArtifactNotFound with default headers values
func (*CopyArtifactNotFound) Error ¶
func (o *CopyArtifactNotFound) Error() string
func (*CopyArtifactNotFound) GetPayload ¶
func (o *CopyArtifactNotFound) GetPayload() *models.Errors
func (*CopyArtifactNotFound) IsClientError ¶ added in v0.26.2
func (o *CopyArtifactNotFound) IsClientError() bool
IsClientError returns true when this copy artifact not found response has a 4xx status code
func (*CopyArtifactNotFound) IsCode ¶ added in v0.26.2
func (o *CopyArtifactNotFound) IsCode(code int) bool
IsCode returns true when this copy artifact not found response a status code equal to that given
func (*CopyArtifactNotFound) IsRedirect ¶ added in v0.26.2
func (o *CopyArtifactNotFound) IsRedirect() bool
IsRedirect returns true when this copy artifact not found response has a 3xx status code
func (*CopyArtifactNotFound) IsServerError ¶ added in v0.26.2
func (o *CopyArtifactNotFound) IsServerError() bool
IsServerError returns true when this copy artifact not found response has a 5xx status code
func (*CopyArtifactNotFound) IsSuccess ¶ added in v0.26.2
func (o *CopyArtifactNotFound) IsSuccess() bool
IsSuccess returns true when this copy artifact not found response has a 2xx status code
func (*CopyArtifactNotFound) String ¶ added in v0.26.2
func (o *CopyArtifactNotFound) String() string
type CopyArtifactParams ¶
type CopyArtifactParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* From. The artifact from which the new artifact is copied from, the format should be "project/repository:tag" or "project/repository@digest". */ From string /* ProjectName. The name of the project */ ProjectName string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CopyArtifactParams contains all the parameters to send to the API endpoint
for the copy artifact operation. Typically these are written to a http.Request.
func NewCopyArtifactParams ¶
func NewCopyArtifactParams() *CopyArtifactParams
NewCopyArtifactParams creates a new CopyArtifactParams 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 NewCopyArtifactParamsWithContext ¶
func NewCopyArtifactParamsWithContext(ctx context.Context) *CopyArtifactParams
NewCopyArtifactParamsWithContext creates a new CopyArtifactParams object with the ability to set a context for a request.
func NewCopyArtifactParamsWithHTTPClient ¶
func NewCopyArtifactParamsWithHTTPClient(client *http.Client) *CopyArtifactParams
NewCopyArtifactParamsWithHTTPClient creates a new CopyArtifactParams object with the ability to set a custom HTTPClient for a request.
func NewCopyArtifactParamsWithTimeout ¶
func NewCopyArtifactParamsWithTimeout(timeout time.Duration) *CopyArtifactParams
NewCopyArtifactParamsWithTimeout creates a new CopyArtifactParams object with the ability to set a timeout on a request.
func (*CopyArtifactParams) SetContext ¶
func (o *CopyArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the copy artifact params
func (*CopyArtifactParams) SetDefaults ¶
func (o *CopyArtifactParams) SetDefaults()
SetDefaults hydrates default values in the copy artifact params (not the query body).
All values with no default are reset to their zero value.
func (*CopyArtifactParams) SetFrom ¶
func (o *CopyArtifactParams) SetFrom(from string)
SetFrom adds the from to the copy artifact params
func (*CopyArtifactParams) SetHTTPClient ¶
func (o *CopyArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the copy artifact params
func (*CopyArtifactParams) SetProjectName ¶
func (o *CopyArtifactParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the copy artifact params
func (*CopyArtifactParams) SetRepositoryName ¶
func (o *CopyArtifactParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the copy artifact params
func (*CopyArtifactParams) SetTimeout ¶
func (o *CopyArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the copy artifact params
func (*CopyArtifactParams) SetXRequestID ¶
func (o *CopyArtifactParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the copy artifact params
func (*CopyArtifactParams) WithContext ¶
func (o *CopyArtifactParams) WithContext(ctx context.Context) *CopyArtifactParams
WithContext adds the context to the copy artifact params
func (*CopyArtifactParams) WithDefaults ¶
func (o *CopyArtifactParams) WithDefaults() *CopyArtifactParams
WithDefaults hydrates default values in the copy artifact params (not the query body).
All values with no default are reset to their zero value.
func (*CopyArtifactParams) WithFrom ¶
func (o *CopyArtifactParams) WithFrom(from string) *CopyArtifactParams
WithFrom adds the from to the copy artifact params
func (*CopyArtifactParams) WithHTTPClient ¶
func (o *CopyArtifactParams) WithHTTPClient(client *http.Client) *CopyArtifactParams
WithHTTPClient adds the HTTPClient to the copy artifact params
func (*CopyArtifactParams) WithProjectName ¶
func (o *CopyArtifactParams) WithProjectName(projectName string) *CopyArtifactParams
WithProjectName adds the projectName to the copy artifact params
func (*CopyArtifactParams) WithRepositoryName ¶
func (o *CopyArtifactParams) WithRepositoryName(repositoryName string) *CopyArtifactParams
WithRepositoryName adds the repositoryName to the copy artifact params
func (*CopyArtifactParams) WithTimeout ¶
func (o *CopyArtifactParams) WithTimeout(timeout time.Duration) *CopyArtifactParams
WithTimeout adds the timeout to the copy artifact params
func (*CopyArtifactParams) WithXRequestID ¶
func (o *CopyArtifactParams) WithXRequestID(xRequestID *string) *CopyArtifactParams
WithXRequestID adds the xRequestID to the copy artifact params
func (*CopyArtifactParams) WriteToRequest ¶
func (o *CopyArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CopyArtifactReader ¶
type CopyArtifactReader struct {
// contains filtered or unexported fields
}
CopyArtifactReader is a Reader for the CopyArtifact structure.
func (*CopyArtifactReader) ReadResponse ¶
func (o *CopyArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CopyArtifactUnauthorized ¶
type CopyArtifactUnauthorized struct { string }XRequestID
CopyArtifactUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCopyArtifactUnauthorized ¶
func NewCopyArtifactUnauthorized() *CopyArtifactUnauthorized
NewCopyArtifactUnauthorized creates a CopyArtifactUnauthorized with default headers values
func (*CopyArtifactUnauthorized) Error ¶
func (o *CopyArtifactUnauthorized) Error() string
func (*CopyArtifactUnauthorized) GetPayload ¶
func (o *CopyArtifactUnauthorized) GetPayload() *models.Errors
func (*CopyArtifactUnauthorized) IsClientError ¶ added in v0.26.2
func (o *CopyArtifactUnauthorized) IsClientError() bool
IsClientError returns true when this copy artifact unauthorized response has a 4xx status code
func (*CopyArtifactUnauthorized) IsCode ¶ added in v0.26.2
func (o *CopyArtifactUnauthorized) IsCode(code int) bool
IsCode returns true when this copy artifact unauthorized response a status code equal to that given
func (*CopyArtifactUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *CopyArtifactUnauthorized) IsRedirect() bool
IsRedirect returns true when this copy artifact unauthorized response has a 3xx status code
func (*CopyArtifactUnauthorized) IsServerError ¶ added in v0.26.2
func (o *CopyArtifactUnauthorized) IsServerError() bool
IsServerError returns true when this copy artifact unauthorized response has a 5xx status code
func (*CopyArtifactUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *CopyArtifactUnauthorized) IsSuccess() bool
IsSuccess returns true when this copy artifact unauthorized response has a 2xx status code
func (*CopyArtifactUnauthorized) String ¶ added in v0.26.2
func (o *CopyArtifactUnauthorized) String() string
type CreateTagBadRequest ¶
type CreateTagBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateTagBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateTagBadRequest ¶
func NewCreateTagBadRequest() *CreateTagBadRequest
NewCreateTagBadRequest creates a CreateTagBadRequest with default headers values
func (*CreateTagBadRequest) Error ¶
func (o *CreateTagBadRequest) Error() string
func (*CreateTagBadRequest) GetPayload ¶
func (o *CreateTagBadRequest) GetPayload() *models.Errors
func (*CreateTagBadRequest) IsClientError ¶ added in v0.26.2
func (o *CreateTagBadRequest) IsClientError() bool
IsClientError returns true when this create tag bad request response has a 4xx status code
func (*CreateTagBadRequest) IsCode ¶ added in v0.26.2
func (o *CreateTagBadRequest) IsCode(code int) bool
IsCode returns true when this create tag bad request response a status code equal to that given
func (*CreateTagBadRequest) IsRedirect ¶ added in v0.26.2
func (o *CreateTagBadRequest) IsRedirect() bool
IsRedirect returns true when this create tag bad request response has a 3xx status code
func (*CreateTagBadRequest) IsServerError ¶ added in v0.26.2
func (o *CreateTagBadRequest) IsServerError() bool
IsServerError returns true when this create tag bad request response has a 5xx status code
func (*CreateTagBadRequest) IsSuccess ¶ added in v0.26.2
func (o *CreateTagBadRequest) IsSuccess() bool
IsSuccess returns true when this create tag bad request response has a 2xx status code
func (*CreateTagBadRequest) String ¶ added in v0.26.2
func (o *CreateTagBadRequest) String() string
type CreateTagConflict ¶
type CreateTagConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateTagConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateTagConflict ¶
func NewCreateTagConflict() *CreateTagConflict
NewCreateTagConflict creates a CreateTagConflict with default headers values
func (*CreateTagConflict) Error ¶
func (o *CreateTagConflict) Error() string
func (*CreateTagConflict) GetPayload ¶
func (o *CreateTagConflict) GetPayload() *models.Errors
func (*CreateTagConflict) IsClientError ¶ added in v0.26.2
func (o *CreateTagConflict) IsClientError() bool
IsClientError returns true when this create tag conflict response has a 4xx status code
func (*CreateTagConflict) IsCode ¶ added in v0.26.2
func (o *CreateTagConflict) IsCode(code int) bool
IsCode returns true when this create tag conflict response a status code equal to that given
func (*CreateTagConflict) IsRedirect ¶ added in v0.26.2
func (o *CreateTagConflict) IsRedirect() bool
IsRedirect returns true when this create tag conflict response has a 3xx status code
func (*CreateTagConflict) IsServerError ¶ added in v0.26.2
func (o *CreateTagConflict) IsServerError() bool
IsServerError returns true when this create tag conflict response has a 5xx status code
func (*CreateTagConflict) IsSuccess ¶ added in v0.26.2
func (o *CreateTagConflict) IsSuccess() bool
IsSuccess returns true when this create tag conflict response has a 2xx status code
func (*CreateTagConflict) String ¶ added in v0.26.2
func (o *CreateTagConflict) String() string
type CreateTagCreated ¶
type CreateTagCreated struct { /* The location of the resource */ Location string /* The ID of the corresponding request for the response */ XRequestID string }
CreateTagCreated describes a response with status code 201, with default header values.
Created
func NewCreateTagCreated ¶
func NewCreateTagCreated() *CreateTagCreated
NewCreateTagCreated creates a CreateTagCreated with default headers values
func (*CreateTagCreated) Error ¶
func (o *CreateTagCreated) Error() string
func (*CreateTagCreated) IsClientError ¶ added in v0.26.2
func (o *CreateTagCreated) IsClientError() bool
IsClientError returns true when this create tag created response has a 4xx status code
func (*CreateTagCreated) IsCode ¶ added in v0.26.2
func (o *CreateTagCreated) IsCode(code int) bool
IsCode returns true when this create tag created response a status code equal to that given
func (*CreateTagCreated) IsRedirect ¶ added in v0.26.2
func (o *CreateTagCreated) IsRedirect() bool
IsRedirect returns true when this create tag created response has a 3xx status code
func (*CreateTagCreated) IsServerError ¶ added in v0.26.2
func (o *CreateTagCreated) IsServerError() bool
IsServerError returns true when this create tag created response has a 5xx status code
func (*CreateTagCreated) IsSuccess ¶ added in v0.26.2
func (o *CreateTagCreated) IsSuccess() bool
IsSuccess returns true when this create tag created response has a 2xx status code
func (*CreateTagCreated) String ¶ added in v0.26.2
func (o *CreateTagCreated) String() string
type CreateTagForbidden ¶
type CreateTagForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateTagForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateTagForbidden ¶
func NewCreateTagForbidden() *CreateTagForbidden
NewCreateTagForbidden creates a CreateTagForbidden with default headers values
func (*CreateTagForbidden) Error ¶
func (o *CreateTagForbidden) Error() string
func (*CreateTagForbidden) GetPayload ¶
func (o *CreateTagForbidden) GetPayload() *models.Errors
func (*CreateTagForbidden) IsClientError ¶ added in v0.26.2
func (o *CreateTagForbidden) IsClientError() bool
IsClientError returns true when this create tag forbidden response has a 4xx status code
func (*CreateTagForbidden) IsCode ¶ added in v0.26.2
func (o *CreateTagForbidden) IsCode(code int) bool
IsCode returns true when this create tag forbidden response a status code equal to that given
func (*CreateTagForbidden) IsRedirect ¶ added in v0.26.2
func (o *CreateTagForbidden) IsRedirect() bool
IsRedirect returns true when this create tag forbidden response has a 3xx status code
func (*CreateTagForbidden) IsServerError ¶ added in v0.26.2
func (o *CreateTagForbidden) IsServerError() bool
IsServerError returns true when this create tag forbidden response has a 5xx status code
func (*CreateTagForbidden) IsSuccess ¶ added in v0.26.2
func (o *CreateTagForbidden) IsSuccess() bool
IsSuccess returns true when this create tag forbidden response has a 2xx status code
func (*CreateTagForbidden) String ¶ added in v0.26.2
func (o *CreateTagForbidden) String() string
type CreateTagInternalServerError ¶
type CreateTagInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateTagInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCreateTagInternalServerError ¶
func NewCreateTagInternalServerError() *CreateTagInternalServerError
NewCreateTagInternalServerError creates a CreateTagInternalServerError with default headers values
func (*CreateTagInternalServerError) Error ¶
func (o *CreateTagInternalServerError) Error() string
func (*CreateTagInternalServerError) GetPayload ¶
func (o *CreateTagInternalServerError) GetPayload() *models.Errors
func (*CreateTagInternalServerError) IsClientError ¶ added in v0.26.2
func (o *CreateTagInternalServerError) IsClientError() bool
IsClientError returns true when this create tag internal server error response has a 4xx status code
func (*CreateTagInternalServerError) IsCode ¶ added in v0.26.2
func (o *CreateTagInternalServerError) IsCode(code int) bool
IsCode returns true when this create tag internal server error response a status code equal to that given
func (*CreateTagInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *CreateTagInternalServerError) IsRedirect() bool
IsRedirect returns true when this create tag internal server error response has a 3xx status code
func (*CreateTagInternalServerError) IsServerError ¶ added in v0.26.2
func (o *CreateTagInternalServerError) IsServerError() bool
IsServerError returns true when this create tag internal server error response has a 5xx status code
func (*CreateTagInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *CreateTagInternalServerError) IsSuccess() bool
IsSuccess returns true when this create tag internal server error response has a 2xx status code
func (*CreateTagInternalServerError) String ¶ added in v0.26.2
func (o *CreateTagInternalServerError) String() string
type CreateTagMethodNotAllowed ¶
type CreateTagMethodNotAllowed struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateTagMethodNotAllowed describes a response with status code 405, with default header values.
Method not allowed
func NewCreateTagMethodNotAllowed ¶
func NewCreateTagMethodNotAllowed() *CreateTagMethodNotAllowed
NewCreateTagMethodNotAllowed creates a CreateTagMethodNotAllowed with default headers values
func (*CreateTagMethodNotAllowed) Error ¶
func (o *CreateTagMethodNotAllowed) Error() string
func (*CreateTagMethodNotAllowed) GetPayload ¶
func (o *CreateTagMethodNotAllowed) GetPayload() *models.Errors
func (*CreateTagMethodNotAllowed) IsClientError ¶ added in v0.26.2
func (o *CreateTagMethodNotAllowed) IsClientError() bool
IsClientError returns true when this create tag method not allowed response has a 4xx status code
func (*CreateTagMethodNotAllowed) IsCode ¶ added in v0.26.2
func (o *CreateTagMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this create tag method not allowed response a status code equal to that given
func (*CreateTagMethodNotAllowed) IsRedirect ¶ added in v0.26.2
func (o *CreateTagMethodNotAllowed) IsRedirect() bool
IsRedirect returns true when this create tag method not allowed response has a 3xx status code
func (*CreateTagMethodNotAllowed) IsServerError ¶ added in v0.26.2
func (o *CreateTagMethodNotAllowed) IsServerError() bool
IsServerError returns true when this create tag method not allowed response has a 5xx status code
func (*CreateTagMethodNotAllowed) IsSuccess ¶ added in v0.26.2
func (o *CreateTagMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this create tag method not allowed response has a 2xx status code
func (*CreateTagMethodNotAllowed) String ¶ added in v0.26.2
func (o *CreateTagMethodNotAllowed) String() string
type CreateTagNotFound ¶
type CreateTagNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateTagNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateTagNotFound ¶
func NewCreateTagNotFound() *CreateTagNotFound
NewCreateTagNotFound creates a CreateTagNotFound with default headers values
func (*CreateTagNotFound) Error ¶
func (o *CreateTagNotFound) Error() string
func (*CreateTagNotFound) GetPayload ¶
func (o *CreateTagNotFound) GetPayload() *models.Errors
func (*CreateTagNotFound) IsClientError ¶ added in v0.26.2
func (o *CreateTagNotFound) IsClientError() bool
IsClientError returns true when this create tag not found response has a 4xx status code
func (*CreateTagNotFound) IsCode ¶ added in v0.26.2
func (o *CreateTagNotFound) IsCode(code int) bool
IsCode returns true when this create tag not found response a status code equal to that given
func (*CreateTagNotFound) IsRedirect ¶ added in v0.26.2
func (o *CreateTagNotFound) IsRedirect() bool
IsRedirect returns true when this create tag not found response has a 3xx status code
func (*CreateTagNotFound) IsServerError ¶ added in v0.26.2
func (o *CreateTagNotFound) IsServerError() bool
IsServerError returns true when this create tag not found response has a 5xx status code
func (*CreateTagNotFound) IsSuccess ¶ added in v0.26.2
func (o *CreateTagNotFound) IsSuccess() bool
IsSuccess returns true when this create tag not found response has a 2xx status code
func (*CreateTagNotFound) String ¶ added in v0.26.2
func (o *CreateTagNotFound) String() string
type CreateTagParams ¶
type CreateTagParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectName. The name of the project */ ProjectName string /* Reference. The reference of the artifact, can be digest or tag */ Reference string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string /* Tag. The JSON object of tag. */ Tag *models.Tag Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTagParams contains all the parameters to send to the API endpoint
for the create tag operation. Typically these are written to a http.Request.
func NewCreateTagParams ¶
func NewCreateTagParams() *CreateTagParams
NewCreateTagParams creates a new CreateTagParams 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 NewCreateTagParamsWithContext ¶
func NewCreateTagParamsWithContext(ctx context.Context) *CreateTagParams
NewCreateTagParamsWithContext creates a new CreateTagParams object with the ability to set a context for a request.
func NewCreateTagParamsWithHTTPClient ¶
func NewCreateTagParamsWithHTTPClient(client *http.Client) *CreateTagParams
NewCreateTagParamsWithHTTPClient creates a new CreateTagParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTagParamsWithTimeout ¶
func NewCreateTagParamsWithTimeout(timeout time.Duration) *CreateTagParams
NewCreateTagParamsWithTimeout creates a new CreateTagParams object with the ability to set a timeout on a request.
func (*CreateTagParams) SetContext ¶
func (o *CreateTagParams) SetContext(ctx context.Context)
SetContext adds the context to the create tag params
func (*CreateTagParams) SetDefaults ¶
func (o *CreateTagParams) SetDefaults()
SetDefaults hydrates default values in the create tag params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTagParams) SetHTTPClient ¶
func (o *CreateTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create tag params
func (*CreateTagParams) SetProjectName ¶
func (o *CreateTagParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the create tag params
func (*CreateTagParams) SetReference ¶
func (o *CreateTagParams) SetReference(reference string)
SetReference adds the reference to the create tag params
func (*CreateTagParams) SetRepositoryName ¶
func (o *CreateTagParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the create tag params
func (*CreateTagParams) SetTag ¶
func (o *CreateTagParams) SetTag(tag *models.Tag)
SetTag adds the tag to the create tag params
func (*CreateTagParams) SetTimeout ¶
func (o *CreateTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create tag params
func (*CreateTagParams) SetXRequestID ¶
func (o *CreateTagParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create tag params
func (*CreateTagParams) WithContext ¶
func (o *CreateTagParams) WithContext(ctx context.Context) *CreateTagParams
WithContext adds the context to the create tag params
func (*CreateTagParams) WithDefaults ¶
func (o *CreateTagParams) WithDefaults() *CreateTagParams
WithDefaults hydrates default values in the create tag params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTagParams) WithHTTPClient ¶
func (o *CreateTagParams) WithHTTPClient(client *http.Client) *CreateTagParams
WithHTTPClient adds the HTTPClient to the create tag params
func (*CreateTagParams) WithProjectName ¶
func (o *CreateTagParams) WithProjectName(projectName string) *CreateTagParams
WithProjectName adds the projectName to the create tag params
func (*CreateTagParams) WithReference ¶
func (o *CreateTagParams) WithReference(reference string) *CreateTagParams
WithReference adds the reference to the create tag params
func (*CreateTagParams) WithRepositoryName ¶
func (o *CreateTagParams) WithRepositoryName(repositoryName string) *CreateTagParams
WithRepositoryName adds the repositoryName to the create tag params
func (*CreateTagParams) WithTag ¶
func (o *CreateTagParams) WithTag(tag *models.Tag) *CreateTagParams
WithTag adds the tag to the create tag params
func (*CreateTagParams) WithTimeout ¶
func (o *CreateTagParams) WithTimeout(timeout time.Duration) *CreateTagParams
WithTimeout adds the timeout to the create tag params
func (*CreateTagParams) WithXRequestID ¶
func (o *CreateTagParams) WithXRequestID(xRequestID *string) *CreateTagParams
WithXRequestID adds the xRequestID to the create tag params
func (*CreateTagParams) WriteToRequest ¶
func (o *CreateTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTagReader ¶
type CreateTagReader struct {
// contains filtered or unexported fields
}
CreateTagReader is a Reader for the CreateTag structure.
func (*CreateTagReader) ReadResponse ¶
func (o *CreateTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateTagUnauthorized ¶
type CreateTagUnauthorized struct { string }XRequestID
CreateTagUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateTagUnauthorized ¶
func NewCreateTagUnauthorized() *CreateTagUnauthorized
NewCreateTagUnauthorized creates a CreateTagUnauthorized with default headers values
func (*CreateTagUnauthorized) Error ¶
func (o *CreateTagUnauthorized) Error() string
func (*CreateTagUnauthorized) GetPayload ¶
func (o *CreateTagUnauthorized) GetPayload() *models.Errors
func (*CreateTagUnauthorized) IsClientError ¶ added in v0.26.2
func (o *CreateTagUnauthorized) IsClientError() bool
IsClientError returns true when this create tag unauthorized response has a 4xx status code
func (*CreateTagUnauthorized) IsCode ¶ added in v0.26.2
func (o *CreateTagUnauthorized) IsCode(code int) bool
IsCode returns true when this create tag unauthorized response a status code equal to that given
func (*CreateTagUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *CreateTagUnauthorized) IsRedirect() bool
IsRedirect returns true when this create tag unauthorized response has a 3xx status code
func (*CreateTagUnauthorized) IsServerError ¶ added in v0.26.2
func (o *CreateTagUnauthorized) IsServerError() bool
IsServerError returns true when this create tag unauthorized response has a 5xx status code
func (*CreateTagUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *CreateTagUnauthorized) IsSuccess() bool
IsSuccess returns true when this create tag unauthorized response has a 2xx status code
func (*CreateTagUnauthorized) String ¶ added in v0.26.2
func (o *CreateTagUnauthorized) String() string
type DeleteArtifactForbidden ¶
type DeleteArtifactForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteArtifactForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteArtifactForbidden ¶
func NewDeleteArtifactForbidden() *DeleteArtifactForbidden
NewDeleteArtifactForbidden creates a DeleteArtifactForbidden with default headers values
func (*DeleteArtifactForbidden) Error ¶
func (o *DeleteArtifactForbidden) Error() string
func (*DeleteArtifactForbidden) GetPayload ¶
func (o *DeleteArtifactForbidden) GetPayload() *models.Errors
func (*DeleteArtifactForbidden) IsClientError ¶ added in v0.26.2
func (o *DeleteArtifactForbidden) IsClientError() bool
IsClientError returns true when this delete artifact forbidden response has a 4xx status code
func (*DeleteArtifactForbidden) IsCode ¶ added in v0.26.2
func (o *DeleteArtifactForbidden) IsCode(code int) bool
IsCode returns true when this delete artifact forbidden response a status code equal to that given
func (*DeleteArtifactForbidden) IsRedirect ¶ added in v0.26.2
func (o *DeleteArtifactForbidden) IsRedirect() bool
IsRedirect returns true when this delete artifact forbidden response has a 3xx status code
func (*DeleteArtifactForbidden) IsServerError ¶ added in v0.26.2
func (o *DeleteArtifactForbidden) IsServerError() bool
IsServerError returns true when this delete artifact forbidden response has a 5xx status code
func (*DeleteArtifactForbidden) IsSuccess ¶ added in v0.26.2
func (o *DeleteArtifactForbidden) IsSuccess() bool
IsSuccess returns true when this delete artifact forbidden response has a 2xx status code
func (*DeleteArtifactForbidden) String ¶ added in v0.26.2
func (o *DeleteArtifactForbidden) String() string
type DeleteArtifactInternalServerError ¶
type DeleteArtifactInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteArtifactInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteArtifactInternalServerError ¶
func NewDeleteArtifactInternalServerError() *DeleteArtifactInternalServerError
NewDeleteArtifactInternalServerError creates a DeleteArtifactInternalServerError with default headers values
func (*DeleteArtifactInternalServerError) Error ¶
func (o *DeleteArtifactInternalServerError) Error() string
func (*DeleteArtifactInternalServerError) GetPayload ¶
func (o *DeleteArtifactInternalServerError) GetPayload() *models.Errors
func (*DeleteArtifactInternalServerError) IsClientError ¶ added in v0.26.2
func (o *DeleteArtifactInternalServerError) IsClientError() bool
IsClientError returns true when this delete artifact internal server error response has a 4xx status code
func (*DeleteArtifactInternalServerError) IsCode ¶ added in v0.26.2
func (o *DeleteArtifactInternalServerError) IsCode(code int) bool
IsCode returns true when this delete artifact internal server error response a status code equal to that given
func (*DeleteArtifactInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *DeleteArtifactInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete artifact internal server error response has a 3xx status code
func (*DeleteArtifactInternalServerError) IsServerError ¶ added in v0.26.2
func (o *DeleteArtifactInternalServerError) IsServerError() bool
IsServerError returns true when this delete artifact internal server error response has a 5xx status code
func (*DeleteArtifactInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *DeleteArtifactInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete artifact internal server error response has a 2xx status code
func (*DeleteArtifactInternalServerError) String ¶ added in v0.26.2
func (o *DeleteArtifactInternalServerError) String() string
type DeleteArtifactNotFound ¶
type DeleteArtifactNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteArtifactNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteArtifactNotFound ¶
func NewDeleteArtifactNotFound() *DeleteArtifactNotFound
NewDeleteArtifactNotFound creates a DeleteArtifactNotFound with default headers values
func (*DeleteArtifactNotFound) Error ¶
func (o *DeleteArtifactNotFound) Error() string
func (*DeleteArtifactNotFound) GetPayload ¶
func (o *DeleteArtifactNotFound) GetPayload() *models.Errors
func (*DeleteArtifactNotFound) IsClientError ¶ added in v0.26.2
func (o *DeleteArtifactNotFound) IsClientError() bool
IsClientError returns true when this delete artifact not found response has a 4xx status code
func (*DeleteArtifactNotFound) IsCode ¶ added in v0.26.2
func (o *DeleteArtifactNotFound) IsCode(code int) bool
IsCode returns true when this delete artifact not found response a status code equal to that given
func (*DeleteArtifactNotFound) IsRedirect ¶ added in v0.26.2
func (o *DeleteArtifactNotFound) IsRedirect() bool
IsRedirect returns true when this delete artifact not found response has a 3xx status code
func (*DeleteArtifactNotFound) IsServerError ¶ added in v0.26.2
func (o *DeleteArtifactNotFound) IsServerError() bool
IsServerError returns true when this delete artifact not found response has a 5xx status code
func (*DeleteArtifactNotFound) IsSuccess ¶ added in v0.26.2
func (o *DeleteArtifactNotFound) IsSuccess() bool
IsSuccess returns true when this delete artifact not found response has a 2xx status code
func (*DeleteArtifactNotFound) String ¶ added in v0.26.2
func (o *DeleteArtifactNotFound) String() string
type DeleteArtifactOK ¶
type DeleteArtifactOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
DeleteArtifactOK describes a response with status code 200, with default header values.
Success
func NewDeleteArtifactOK ¶
func NewDeleteArtifactOK() *DeleteArtifactOK
NewDeleteArtifactOK creates a DeleteArtifactOK with default headers values
func (*DeleteArtifactOK) Error ¶
func (o *DeleteArtifactOK) Error() string
func (*DeleteArtifactOK) IsClientError ¶ added in v0.26.2
func (o *DeleteArtifactOK) IsClientError() bool
IsClientError returns true when this delete artifact o k response has a 4xx status code
func (*DeleteArtifactOK) IsCode ¶ added in v0.26.2
func (o *DeleteArtifactOK) IsCode(code int) bool
IsCode returns true when this delete artifact o k response a status code equal to that given
func (*DeleteArtifactOK) IsRedirect ¶ added in v0.26.2
func (o *DeleteArtifactOK) IsRedirect() bool
IsRedirect returns true when this delete artifact o k response has a 3xx status code
func (*DeleteArtifactOK) IsServerError ¶ added in v0.26.2
func (o *DeleteArtifactOK) IsServerError() bool
IsServerError returns true when this delete artifact o k response has a 5xx status code
func (*DeleteArtifactOK) IsSuccess ¶ added in v0.26.2
func (o *DeleteArtifactOK) IsSuccess() bool
IsSuccess returns true when this delete artifact o k response has a 2xx status code
func (*DeleteArtifactOK) String ¶ added in v0.26.2
func (o *DeleteArtifactOK) String() string
type DeleteArtifactParams ¶
type DeleteArtifactParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectName. The name of the project */ ProjectName string /* Reference. The reference of the artifact, can be digest or tag */ Reference string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName 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) SetProjectName ¶
func (o *DeleteArtifactParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the delete artifact params
func (*DeleteArtifactParams) SetReference ¶
func (o *DeleteArtifactParams) SetReference(reference string)
SetReference adds the reference to the delete artifact params
func (*DeleteArtifactParams) SetRepositoryName ¶
func (o *DeleteArtifactParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName 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) WithProjectName ¶
func (o *DeleteArtifactParams) WithProjectName(projectName string) *DeleteArtifactParams
WithProjectName adds the projectName to the delete artifact params
func (*DeleteArtifactParams) WithReference ¶
func (o *DeleteArtifactParams) WithReference(reference string) *DeleteArtifactParams
WithReference adds the reference to the delete artifact params
func (*DeleteArtifactParams) WithRepositoryName ¶
func (o *DeleteArtifactParams) WithRepositoryName(repositoryName string) *DeleteArtifactParams
WithRepositoryName adds the repositoryName 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 { string }XRequestID
DeleteArtifactUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteArtifactUnauthorized ¶
func NewDeleteArtifactUnauthorized() *DeleteArtifactUnauthorized
NewDeleteArtifactUnauthorized creates a DeleteArtifactUnauthorized with default headers values
func (*DeleteArtifactUnauthorized) Error ¶
func (o *DeleteArtifactUnauthorized) Error() string
func (*DeleteArtifactUnauthorized) GetPayload ¶
func (o *DeleteArtifactUnauthorized) GetPayload() *models.Errors
func (*DeleteArtifactUnauthorized) IsClientError ¶ added in v0.26.2
func (o *DeleteArtifactUnauthorized) IsClientError() bool
IsClientError returns true when this delete artifact unauthorized response has a 4xx status code
func (*DeleteArtifactUnauthorized) IsCode ¶ added in v0.26.2
func (o *DeleteArtifactUnauthorized) IsCode(code int) bool
IsCode returns true when this delete artifact unauthorized response a status code equal to that given
func (*DeleteArtifactUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *DeleteArtifactUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete artifact unauthorized response has a 3xx status code
func (*DeleteArtifactUnauthorized) IsServerError ¶ added in v0.26.2
func (o *DeleteArtifactUnauthorized) IsServerError() bool
IsServerError returns true when this delete artifact unauthorized response has a 5xx status code
func (*DeleteArtifactUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *DeleteArtifactUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete artifact unauthorized response has a 2xx status code
func (*DeleteArtifactUnauthorized) String ¶ added in v0.26.2
func (o *DeleteArtifactUnauthorized) String() string
type DeleteTagForbidden ¶
type DeleteTagForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteTagForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteTagForbidden ¶
func NewDeleteTagForbidden() *DeleteTagForbidden
NewDeleteTagForbidden creates a DeleteTagForbidden with default headers values
func (*DeleteTagForbidden) Error ¶
func (o *DeleteTagForbidden) Error() string
func (*DeleteTagForbidden) GetPayload ¶
func (o *DeleteTagForbidden) GetPayload() *models.Errors
func (*DeleteTagForbidden) IsClientError ¶ added in v0.26.2
func (o *DeleteTagForbidden) IsClientError() bool
IsClientError returns true when this delete tag forbidden response has a 4xx status code
func (*DeleteTagForbidden) IsCode ¶ added in v0.26.2
func (o *DeleteTagForbidden) IsCode(code int) bool
IsCode returns true when this delete tag forbidden response a status code equal to that given
func (*DeleteTagForbidden) IsRedirect ¶ added in v0.26.2
func (o *DeleteTagForbidden) IsRedirect() bool
IsRedirect returns true when this delete tag forbidden response has a 3xx status code
func (*DeleteTagForbidden) IsServerError ¶ added in v0.26.2
func (o *DeleteTagForbidden) IsServerError() bool
IsServerError returns true when this delete tag forbidden response has a 5xx status code
func (*DeleteTagForbidden) IsSuccess ¶ added in v0.26.2
func (o *DeleteTagForbidden) IsSuccess() bool
IsSuccess returns true when this delete tag forbidden response has a 2xx status code
func (*DeleteTagForbidden) String ¶ added in v0.26.2
func (o *DeleteTagForbidden) String() string
type DeleteTagInternalServerError ¶
type DeleteTagInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteTagInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteTagInternalServerError ¶
func NewDeleteTagInternalServerError() *DeleteTagInternalServerError
NewDeleteTagInternalServerError creates a DeleteTagInternalServerError with default headers values
func (*DeleteTagInternalServerError) Error ¶
func (o *DeleteTagInternalServerError) Error() string
func (*DeleteTagInternalServerError) GetPayload ¶
func (o *DeleteTagInternalServerError) GetPayload() *models.Errors
func (*DeleteTagInternalServerError) IsClientError ¶ added in v0.26.2
func (o *DeleteTagInternalServerError) IsClientError() bool
IsClientError returns true when this delete tag internal server error response has a 4xx status code
func (*DeleteTagInternalServerError) IsCode ¶ added in v0.26.2
func (o *DeleteTagInternalServerError) IsCode(code int) bool
IsCode returns true when this delete tag internal server error response a status code equal to that given
func (*DeleteTagInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *DeleteTagInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete tag internal server error response has a 3xx status code
func (*DeleteTagInternalServerError) IsServerError ¶ added in v0.26.2
func (o *DeleteTagInternalServerError) IsServerError() bool
IsServerError returns true when this delete tag internal server error response has a 5xx status code
func (*DeleteTagInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *DeleteTagInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete tag internal server error response has a 2xx status code
func (*DeleteTagInternalServerError) String ¶ added in v0.26.2
func (o *DeleteTagInternalServerError) String() string
type DeleteTagNotFound ¶
type DeleteTagNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteTagNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteTagNotFound ¶
func NewDeleteTagNotFound() *DeleteTagNotFound
NewDeleteTagNotFound creates a DeleteTagNotFound with default headers values
func (*DeleteTagNotFound) Error ¶
func (o *DeleteTagNotFound) Error() string
func (*DeleteTagNotFound) GetPayload ¶
func (o *DeleteTagNotFound) GetPayload() *models.Errors
func (*DeleteTagNotFound) IsClientError ¶ added in v0.26.2
func (o *DeleteTagNotFound) IsClientError() bool
IsClientError returns true when this delete tag not found response has a 4xx status code
func (*DeleteTagNotFound) IsCode ¶ added in v0.26.2
func (o *DeleteTagNotFound) IsCode(code int) bool
IsCode returns true when this delete tag not found response a status code equal to that given
func (*DeleteTagNotFound) IsRedirect ¶ added in v0.26.2
func (o *DeleteTagNotFound) IsRedirect() bool
IsRedirect returns true when this delete tag not found response has a 3xx status code
func (*DeleteTagNotFound) IsServerError ¶ added in v0.26.2
func (o *DeleteTagNotFound) IsServerError() bool
IsServerError returns true when this delete tag not found response has a 5xx status code
func (*DeleteTagNotFound) IsSuccess ¶ added in v0.26.2
func (o *DeleteTagNotFound) IsSuccess() bool
IsSuccess returns true when this delete tag not found response has a 2xx status code
func (*DeleteTagNotFound) String ¶ added in v0.26.2
func (o *DeleteTagNotFound) String() string
type DeleteTagOK ¶
type DeleteTagOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
DeleteTagOK describes a response with status code 200, with default header values.
Success
func NewDeleteTagOK ¶
func NewDeleteTagOK() *DeleteTagOK
NewDeleteTagOK creates a DeleteTagOK with default headers values
func (*DeleteTagOK) Error ¶
func (o *DeleteTagOK) Error() string
func (*DeleteTagOK) IsClientError ¶ added in v0.26.2
func (o *DeleteTagOK) IsClientError() bool
IsClientError returns true when this delete tag o k response has a 4xx status code
func (*DeleteTagOK) IsCode ¶ added in v0.26.2
func (o *DeleteTagOK) IsCode(code int) bool
IsCode returns true when this delete tag o k response a status code equal to that given
func (*DeleteTagOK) IsRedirect ¶ added in v0.26.2
func (o *DeleteTagOK) IsRedirect() bool
IsRedirect returns true when this delete tag o k response has a 3xx status code
func (*DeleteTagOK) IsServerError ¶ added in v0.26.2
func (o *DeleteTagOK) IsServerError() bool
IsServerError returns true when this delete tag o k response has a 5xx status code
func (*DeleteTagOK) IsSuccess ¶ added in v0.26.2
func (o *DeleteTagOK) IsSuccess() bool
IsSuccess returns true when this delete tag o k response has a 2xx status code
func (*DeleteTagOK) String ¶ added in v0.26.2
func (o *DeleteTagOK) String() string
type DeleteTagParams ¶
type DeleteTagParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectName. The name of the project */ ProjectName string /* Reference. The reference of the artifact, can be digest or tag */ Reference string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string /* TagName. The name of the tag */ TagName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTagParams contains all the parameters to send to the API endpoint
for the delete tag operation. Typically these are written to a http.Request.
func NewDeleteTagParams ¶
func NewDeleteTagParams() *DeleteTagParams
NewDeleteTagParams creates a new DeleteTagParams 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 NewDeleteTagParamsWithContext ¶
func NewDeleteTagParamsWithContext(ctx context.Context) *DeleteTagParams
NewDeleteTagParamsWithContext creates a new DeleteTagParams object with the ability to set a context for a request.
func NewDeleteTagParamsWithHTTPClient ¶
func NewDeleteTagParamsWithHTTPClient(client *http.Client) *DeleteTagParams
NewDeleteTagParamsWithHTTPClient creates a new DeleteTagParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTagParamsWithTimeout ¶
func NewDeleteTagParamsWithTimeout(timeout time.Duration) *DeleteTagParams
NewDeleteTagParamsWithTimeout creates a new DeleteTagParams object with the ability to set a timeout on a request.
func (*DeleteTagParams) SetContext ¶
func (o *DeleteTagParams) SetContext(ctx context.Context)
SetContext adds the context to the delete tag params
func (*DeleteTagParams) SetDefaults ¶
func (o *DeleteTagParams) SetDefaults()
SetDefaults hydrates default values in the delete tag params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTagParams) SetHTTPClient ¶
func (o *DeleteTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete tag params
func (*DeleteTagParams) SetProjectName ¶
func (o *DeleteTagParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the delete tag params
func (*DeleteTagParams) SetReference ¶
func (o *DeleteTagParams) SetReference(reference string)
SetReference adds the reference to the delete tag params
func (*DeleteTagParams) SetRepositoryName ¶
func (o *DeleteTagParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the delete tag params
func (*DeleteTagParams) SetTagName ¶
func (o *DeleteTagParams) SetTagName(tagName string)
SetTagName adds the tagName to the delete tag params
func (*DeleteTagParams) SetTimeout ¶
func (o *DeleteTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete tag params
func (*DeleteTagParams) SetXRequestID ¶
func (o *DeleteTagParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete tag params
func (*DeleteTagParams) WithContext ¶
func (o *DeleteTagParams) WithContext(ctx context.Context) *DeleteTagParams
WithContext adds the context to the delete tag params
func (*DeleteTagParams) WithDefaults ¶
func (o *DeleteTagParams) WithDefaults() *DeleteTagParams
WithDefaults hydrates default values in the delete tag params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTagParams) WithHTTPClient ¶
func (o *DeleteTagParams) WithHTTPClient(client *http.Client) *DeleteTagParams
WithHTTPClient adds the HTTPClient to the delete tag params
func (*DeleteTagParams) WithProjectName ¶
func (o *DeleteTagParams) WithProjectName(projectName string) *DeleteTagParams
WithProjectName adds the projectName to the delete tag params
func (*DeleteTagParams) WithReference ¶
func (o *DeleteTagParams) WithReference(reference string) *DeleteTagParams
WithReference adds the reference to the delete tag params
func (*DeleteTagParams) WithRepositoryName ¶
func (o *DeleteTagParams) WithRepositoryName(repositoryName string) *DeleteTagParams
WithRepositoryName adds the repositoryName to the delete tag params
func (*DeleteTagParams) WithTagName ¶
func (o *DeleteTagParams) WithTagName(tagName string) *DeleteTagParams
WithTagName adds the tagName to the delete tag params
func (*DeleteTagParams) WithTimeout ¶
func (o *DeleteTagParams) WithTimeout(timeout time.Duration) *DeleteTagParams
WithTimeout adds the timeout to the delete tag params
func (*DeleteTagParams) WithXRequestID ¶
func (o *DeleteTagParams) WithXRequestID(xRequestID *string) *DeleteTagParams
WithXRequestID adds the xRequestID to the delete tag params
func (*DeleteTagParams) WriteToRequest ¶
func (o *DeleteTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTagReader ¶
type DeleteTagReader struct {
// contains filtered or unexported fields
}
DeleteTagReader is a Reader for the DeleteTag structure.
func (*DeleteTagReader) ReadResponse ¶
func (o *DeleteTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTagUnauthorized ¶
type DeleteTagUnauthorized struct { string }XRequestID
DeleteTagUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteTagUnauthorized ¶
func NewDeleteTagUnauthorized() *DeleteTagUnauthorized
NewDeleteTagUnauthorized creates a DeleteTagUnauthorized with default headers values
func (*DeleteTagUnauthorized) Error ¶
func (o *DeleteTagUnauthorized) Error() string
func (*DeleteTagUnauthorized) GetPayload ¶
func (o *DeleteTagUnauthorized) GetPayload() *models.Errors
func (*DeleteTagUnauthorized) IsClientError ¶ added in v0.26.2
func (o *DeleteTagUnauthorized) IsClientError() bool
IsClientError returns true when this delete tag unauthorized response has a 4xx status code
func (*DeleteTagUnauthorized) IsCode ¶ added in v0.26.2
func (o *DeleteTagUnauthorized) IsCode(code int) bool
IsCode returns true when this delete tag unauthorized response a status code equal to that given
func (*DeleteTagUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *DeleteTagUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete tag unauthorized response has a 3xx status code
func (*DeleteTagUnauthorized) IsServerError ¶ added in v0.26.2
func (o *DeleteTagUnauthorized) IsServerError() bool
IsServerError returns true when this delete tag unauthorized response has a 5xx status code
func (*DeleteTagUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *DeleteTagUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete tag unauthorized response has a 2xx status code
func (*DeleteTagUnauthorized) String ¶ added in v0.26.2
func (o *DeleteTagUnauthorized) String() string
type GetAdditionBadRequest ¶
type GetAdditionBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetAdditionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetAdditionBadRequest ¶
func NewGetAdditionBadRequest() *GetAdditionBadRequest
NewGetAdditionBadRequest creates a GetAdditionBadRequest with default headers values
func (*GetAdditionBadRequest) Error ¶
func (o *GetAdditionBadRequest) Error() string
func (*GetAdditionBadRequest) GetPayload ¶
func (o *GetAdditionBadRequest) GetPayload() *models.Errors
func (*GetAdditionBadRequest) IsClientError ¶ added in v0.26.2
func (o *GetAdditionBadRequest) IsClientError() bool
IsClientError returns true when this get addition bad request response has a 4xx status code
func (*GetAdditionBadRequest) IsCode ¶ added in v0.26.2
func (o *GetAdditionBadRequest) IsCode(code int) bool
IsCode returns true when this get addition bad request response a status code equal to that given
func (*GetAdditionBadRequest) IsRedirect ¶ added in v0.26.2
func (o *GetAdditionBadRequest) IsRedirect() bool
IsRedirect returns true when this get addition bad request response has a 3xx status code
func (*GetAdditionBadRequest) IsServerError ¶ added in v0.26.2
func (o *GetAdditionBadRequest) IsServerError() bool
IsServerError returns true when this get addition bad request response has a 5xx status code
func (*GetAdditionBadRequest) IsSuccess ¶ added in v0.26.2
func (o *GetAdditionBadRequest) IsSuccess() bool
IsSuccess returns true when this get addition bad request response has a 2xx status code
func (*GetAdditionBadRequest) String ¶ added in v0.26.2
func (o *GetAdditionBadRequest) String() string
type GetAdditionForbidden ¶
type GetAdditionForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetAdditionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAdditionForbidden ¶
func NewGetAdditionForbidden() *GetAdditionForbidden
NewGetAdditionForbidden creates a GetAdditionForbidden with default headers values
func (*GetAdditionForbidden) Error ¶
func (o *GetAdditionForbidden) Error() string
func (*GetAdditionForbidden) GetPayload ¶
func (o *GetAdditionForbidden) GetPayload() *models.Errors
func (*GetAdditionForbidden) IsClientError ¶ added in v0.26.2
func (o *GetAdditionForbidden) IsClientError() bool
IsClientError returns true when this get addition forbidden response has a 4xx status code
func (*GetAdditionForbidden) IsCode ¶ added in v0.26.2
func (o *GetAdditionForbidden) IsCode(code int) bool
IsCode returns true when this get addition forbidden response a status code equal to that given
func (*GetAdditionForbidden) IsRedirect ¶ added in v0.26.2
func (o *GetAdditionForbidden) IsRedirect() bool
IsRedirect returns true when this get addition forbidden response has a 3xx status code
func (*GetAdditionForbidden) IsServerError ¶ added in v0.26.2
func (o *GetAdditionForbidden) IsServerError() bool
IsServerError returns true when this get addition forbidden response has a 5xx status code
func (*GetAdditionForbidden) IsSuccess ¶ added in v0.26.2
func (o *GetAdditionForbidden) IsSuccess() bool
IsSuccess returns true when this get addition forbidden response has a 2xx status code
func (*GetAdditionForbidden) String ¶ added in v0.26.2
func (o *GetAdditionForbidden) String() string
type GetAdditionInternalServerError ¶
type GetAdditionInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetAdditionInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetAdditionInternalServerError ¶
func NewGetAdditionInternalServerError() *GetAdditionInternalServerError
NewGetAdditionInternalServerError creates a GetAdditionInternalServerError with default headers values
func (*GetAdditionInternalServerError) Error ¶
func (o *GetAdditionInternalServerError) Error() string
func (*GetAdditionInternalServerError) GetPayload ¶
func (o *GetAdditionInternalServerError) GetPayload() *models.Errors
func (*GetAdditionInternalServerError) IsClientError ¶ added in v0.26.2
func (o *GetAdditionInternalServerError) IsClientError() bool
IsClientError returns true when this get addition internal server error response has a 4xx status code
func (*GetAdditionInternalServerError) IsCode ¶ added in v0.26.2
func (o *GetAdditionInternalServerError) IsCode(code int) bool
IsCode returns true when this get addition internal server error response a status code equal to that given
func (*GetAdditionInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *GetAdditionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get addition internal server error response has a 3xx status code
func (*GetAdditionInternalServerError) IsServerError ¶ added in v0.26.2
func (o *GetAdditionInternalServerError) IsServerError() bool
IsServerError returns true when this get addition internal server error response has a 5xx status code
func (*GetAdditionInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *GetAdditionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get addition internal server error response has a 2xx status code
func (*GetAdditionInternalServerError) String ¶ added in v0.26.2
func (o *GetAdditionInternalServerError) String() string
type GetAdditionNotFound ¶
type GetAdditionNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetAdditionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetAdditionNotFound ¶
func NewGetAdditionNotFound() *GetAdditionNotFound
NewGetAdditionNotFound creates a GetAdditionNotFound with default headers values
func (*GetAdditionNotFound) Error ¶
func (o *GetAdditionNotFound) Error() string
func (*GetAdditionNotFound) GetPayload ¶
func (o *GetAdditionNotFound) GetPayload() *models.Errors
func (*GetAdditionNotFound) IsClientError ¶ added in v0.26.2
func (o *GetAdditionNotFound) IsClientError() bool
IsClientError returns true when this get addition not found response has a 4xx status code
func (*GetAdditionNotFound) IsCode ¶ added in v0.26.2
func (o *GetAdditionNotFound) IsCode(code int) bool
IsCode returns true when this get addition not found response a status code equal to that given
func (*GetAdditionNotFound) IsRedirect ¶ added in v0.26.2
func (o *GetAdditionNotFound) IsRedirect() bool
IsRedirect returns true when this get addition not found response has a 3xx status code
func (*GetAdditionNotFound) IsServerError ¶ added in v0.26.2
func (o *GetAdditionNotFound) IsServerError() bool
IsServerError returns true when this get addition not found response has a 5xx status code
func (*GetAdditionNotFound) IsSuccess ¶ added in v0.26.2
func (o *GetAdditionNotFound) IsSuccess() bool
IsSuccess returns true when this get addition not found response has a 2xx status code
func (*GetAdditionNotFound) String ¶ added in v0.26.2
func (o *GetAdditionNotFound) String() string
type GetAdditionOK ¶
type GetAdditionOK struct { /* The content type of the addition */ ContentType string Payload string }
GetAdditionOK describes a response with status code 200, with default header values.
Success
func NewGetAdditionOK ¶
func NewGetAdditionOK() *GetAdditionOK
NewGetAdditionOK creates a GetAdditionOK with default headers values
func (*GetAdditionOK) Error ¶
func (o *GetAdditionOK) Error() string
func (*GetAdditionOK) GetPayload ¶
func (o *GetAdditionOK) GetPayload() string
func (*GetAdditionOK) IsClientError ¶ added in v0.26.2
func (o *GetAdditionOK) IsClientError() bool
IsClientError returns true when this get addition o k response has a 4xx status code
func (*GetAdditionOK) IsCode ¶ added in v0.26.2
func (o *GetAdditionOK) IsCode(code int) bool
IsCode returns true when this get addition o k response a status code equal to that given
func (*GetAdditionOK) IsRedirect ¶ added in v0.26.2
func (o *GetAdditionOK) IsRedirect() bool
IsRedirect returns true when this get addition o k response has a 3xx status code
func (*GetAdditionOK) IsServerError ¶ added in v0.26.2
func (o *GetAdditionOK) IsServerError() bool
IsServerError returns true when this get addition o k response has a 5xx status code
func (*GetAdditionOK) IsSuccess ¶ added in v0.26.2
func (o *GetAdditionOK) IsSuccess() bool
IsSuccess returns true when this get addition o k response has a 2xx status code
func (*GetAdditionOK) String ¶ added in v0.26.2
func (o *GetAdditionOK) String() string
type GetAdditionParams ¶
type GetAdditionParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Addition. The type of addition. */ Addition string /* ProjectName. The name of the project */ ProjectName string /* Reference. The reference of the artifact, can be digest or tag */ Reference string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAdditionParams contains all the parameters to send to the API endpoint
for the get addition operation. Typically these are written to a http.Request.
func NewGetAdditionParams ¶
func NewGetAdditionParams() *GetAdditionParams
NewGetAdditionParams creates a new GetAdditionParams 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 NewGetAdditionParamsWithContext ¶
func NewGetAdditionParamsWithContext(ctx context.Context) *GetAdditionParams
NewGetAdditionParamsWithContext creates a new GetAdditionParams object with the ability to set a context for a request.
func NewGetAdditionParamsWithHTTPClient ¶
func NewGetAdditionParamsWithHTTPClient(client *http.Client) *GetAdditionParams
NewGetAdditionParamsWithHTTPClient creates a new GetAdditionParams object with the ability to set a custom HTTPClient for a request.
func NewGetAdditionParamsWithTimeout ¶
func NewGetAdditionParamsWithTimeout(timeout time.Duration) *GetAdditionParams
NewGetAdditionParamsWithTimeout creates a new GetAdditionParams object with the ability to set a timeout on a request.
func (*GetAdditionParams) SetAddition ¶
func (o *GetAdditionParams) SetAddition(addition string)
SetAddition adds the addition to the get addition params
func (*GetAdditionParams) SetContext ¶
func (o *GetAdditionParams) SetContext(ctx context.Context)
SetContext adds the context to the get addition params
func (*GetAdditionParams) SetDefaults ¶
func (o *GetAdditionParams) SetDefaults()
SetDefaults hydrates default values in the get addition params (not the query body).
All values with no default are reset to their zero value.
func (*GetAdditionParams) SetHTTPClient ¶
func (o *GetAdditionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get addition params
func (*GetAdditionParams) SetProjectName ¶
func (o *GetAdditionParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the get addition params
func (*GetAdditionParams) SetReference ¶
func (o *GetAdditionParams) SetReference(reference string)
SetReference adds the reference to the get addition params
func (*GetAdditionParams) SetRepositoryName ¶
func (o *GetAdditionParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the get addition params
func (*GetAdditionParams) SetTimeout ¶
func (o *GetAdditionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get addition params
func (*GetAdditionParams) SetXRequestID ¶
func (o *GetAdditionParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get addition params
func (*GetAdditionParams) WithAddition ¶
func (o *GetAdditionParams) WithAddition(addition string) *GetAdditionParams
WithAddition adds the addition to the get addition params
func (*GetAdditionParams) WithContext ¶
func (o *GetAdditionParams) WithContext(ctx context.Context) *GetAdditionParams
WithContext adds the context to the get addition params
func (*GetAdditionParams) WithDefaults ¶
func (o *GetAdditionParams) WithDefaults() *GetAdditionParams
WithDefaults hydrates default values in the get addition params (not the query body).
All values with no default are reset to their zero value.
func (*GetAdditionParams) WithHTTPClient ¶
func (o *GetAdditionParams) WithHTTPClient(client *http.Client) *GetAdditionParams
WithHTTPClient adds the HTTPClient to the get addition params
func (*GetAdditionParams) WithProjectName ¶
func (o *GetAdditionParams) WithProjectName(projectName string) *GetAdditionParams
WithProjectName adds the projectName to the get addition params
func (*GetAdditionParams) WithReference ¶
func (o *GetAdditionParams) WithReference(reference string) *GetAdditionParams
WithReference adds the reference to the get addition params
func (*GetAdditionParams) WithRepositoryName ¶
func (o *GetAdditionParams) WithRepositoryName(repositoryName string) *GetAdditionParams
WithRepositoryName adds the repositoryName to the get addition params
func (*GetAdditionParams) WithTimeout ¶
func (o *GetAdditionParams) WithTimeout(timeout time.Duration) *GetAdditionParams
WithTimeout adds the timeout to the get addition params
func (*GetAdditionParams) WithXRequestID ¶
func (o *GetAdditionParams) WithXRequestID(xRequestID *string) *GetAdditionParams
WithXRequestID adds the xRequestID to the get addition params
func (*GetAdditionParams) WriteToRequest ¶
func (o *GetAdditionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAdditionReader ¶
type GetAdditionReader struct {
// contains filtered or unexported fields
}
GetAdditionReader is a Reader for the GetAddition structure.
func (*GetAdditionReader) ReadResponse ¶
func (o *GetAdditionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAdditionUnauthorized ¶
type GetAdditionUnauthorized struct { string }XRequestID
GetAdditionUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAdditionUnauthorized ¶
func NewGetAdditionUnauthorized() *GetAdditionUnauthorized
NewGetAdditionUnauthorized creates a GetAdditionUnauthorized with default headers values
func (*GetAdditionUnauthorized) Error ¶
func (o *GetAdditionUnauthorized) Error() string
func (*GetAdditionUnauthorized) GetPayload ¶
func (o *GetAdditionUnauthorized) GetPayload() *models.Errors
func (*GetAdditionUnauthorized) IsClientError ¶ added in v0.26.2
func (o *GetAdditionUnauthorized) IsClientError() bool
IsClientError returns true when this get addition unauthorized response has a 4xx status code
func (*GetAdditionUnauthorized) IsCode ¶ added in v0.26.2
func (o *GetAdditionUnauthorized) IsCode(code int) bool
IsCode returns true when this get addition unauthorized response a status code equal to that given
func (*GetAdditionUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *GetAdditionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get addition unauthorized response has a 3xx status code
func (*GetAdditionUnauthorized) IsServerError ¶ added in v0.26.2
func (o *GetAdditionUnauthorized) IsServerError() bool
IsServerError returns true when this get addition unauthorized response has a 5xx status code
func (*GetAdditionUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *GetAdditionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get addition unauthorized response has a 2xx status code
func (*GetAdditionUnauthorized) String ¶ added in v0.26.2
func (o *GetAdditionUnauthorized) String() string
type GetArtifactBadRequest ¶
type GetArtifactBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetArtifactBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetArtifactBadRequest ¶
func NewGetArtifactBadRequest() *GetArtifactBadRequest
NewGetArtifactBadRequest creates a GetArtifactBadRequest with default headers values
func (*GetArtifactBadRequest) Error ¶
func (o *GetArtifactBadRequest) Error() string
func (*GetArtifactBadRequest) GetPayload ¶
func (o *GetArtifactBadRequest) GetPayload() *models.Errors
func (*GetArtifactBadRequest) IsClientError ¶ added in v0.26.2
func (o *GetArtifactBadRequest) IsClientError() bool
IsClientError returns true when this get artifact bad request response has a 4xx status code
func (*GetArtifactBadRequest) IsCode ¶ added in v0.26.2
func (o *GetArtifactBadRequest) IsCode(code int) bool
IsCode returns true when this get artifact bad request response a status code equal to that given
func (*GetArtifactBadRequest) IsRedirect ¶ added in v0.26.2
func (o *GetArtifactBadRequest) IsRedirect() bool
IsRedirect returns true when this get artifact bad request response has a 3xx status code
func (*GetArtifactBadRequest) IsServerError ¶ added in v0.26.2
func (o *GetArtifactBadRequest) IsServerError() bool
IsServerError returns true when this get artifact bad request response has a 5xx status code
func (*GetArtifactBadRequest) IsSuccess ¶ added in v0.26.2
func (o *GetArtifactBadRequest) IsSuccess() bool
IsSuccess returns true when this get artifact bad request response has a 2xx status code
func (*GetArtifactBadRequest) String ¶ added in v0.26.2
func (o *GetArtifactBadRequest) String() string
type GetArtifactForbidden ¶
type GetArtifactForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetArtifactForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetArtifactForbidden ¶
func NewGetArtifactForbidden() *GetArtifactForbidden
NewGetArtifactForbidden creates a GetArtifactForbidden with default headers values
func (*GetArtifactForbidden) Error ¶
func (o *GetArtifactForbidden) Error() string
func (*GetArtifactForbidden) GetPayload ¶
func (o *GetArtifactForbidden) GetPayload() *models.Errors
func (*GetArtifactForbidden) IsClientError ¶ added in v0.26.2
func (o *GetArtifactForbidden) IsClientError() bool
IsClientError returns true when this get artifact forbidden response has a 4xx status code
func (*GetArtifactForbidden) IsCode ¶ added in v0.26.2
func (o *GetArtifactForbidden) IsCode(code int) bool
IsCode returns true when this get artifact forbidden response a status code equal to that given
func (*GetArtifactForbidden) IsRedirect ¶ added in v0.26.2
func (o *GetArtifactForbidden) IsRedirect() bool
IsRedirect returns true when this get artifact forbidden response has a 3xx status code
func (*GetArtifactForbidden) IsServerError ¶ added in v0.26.2
func (o *GetArtifactForbidden) IsServerError() bool
IsServerError returns true when this get artifact forbidden response has a 5xx status code
func (*GetArtifactForbidden) IsSuccess ¶ added in v0.26.2
func (o *GetArtifactForbidden) IsSuccess() bool
IsSuccess returns true when this get artifact forbidden response has a 2xx status code
func (*GetArtifactForbidden) String ¶ added in v0.26.2
func (o *GetArtifactForbidden) String() string
type GetArtifactInternalServerError ¶
type GetArtifactInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetArtifactInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetArtifactInternalServerError ¶
func NewGetArtifactInternalServerError() *GetArtifactInternalServerError
NewGetArtifactInternalServerError creates a GetArtifactInternalServerError with default headers values
func (*GetArtifactInternalServerError) Error ¶
func (o *GetArtifactInternalServerError) Error() string
func (*GetArtifactInternalServerError) GetPayload ¶
func (o *GetArtifactInternalServerError) GetPayload() *models.Errors
func (*GetArtifactInternalServerError) IsClientError ¶ added in v0.26.2
func (o *GetArtifactInternalServerError) IsClientError() bool
IsClientError returns true when this get artifact internal server error response has a 4xx status code
func (*GetArtifactInternalServerError) IsCode ¶ added in v0.26.2
func (o *GetArtifactInternalServerError) IsCode(code int) bool
IsCode returns true when this get artifact internal server error response a status code equal to that given
func (*GetArtifactInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *GetArtifactInternalServerError) IsRedirect() bool
IsRedirect returns true when this get artifact internal server error response has a 3xx status code
func (*GetArtifactInternalServerError) IsServerError ¶ added in v0.26.2
func (o *GetArtifactInternalServerError) IsServerError() bool
IsServerError returns true when this get artifact internal server error response has a 5xx status code
func (*GetArtifactInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *GetArtifactInternalServerError) IsSuccess() bool
IsSuccess returns true when this get artifact internal server error response has a 2xx status code
func (*GetArtifactInternalServerError) String ¶ added in v0.26.2
func (o *GetArtifactInternalServerError) String() string
type GetArtifactNotFound ¶
type GetArtifactNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetArtifactNotFound describes a response with status code 404, with default header values.
Not found
func NewGetArtifactNotFound ¶
func NewGetArtifactNotFound() *GetArtifactNotFound
NewGetArtifactNotFound creates a GetArtifactNotFound with default headers values
func (*GetArtifactNotFound) Error ¶
func (o *GetArtifactNotFound) Error() string
func (*GetArtifactNotFound) GetPayload ¶
func (o *GetArtifactNotFound) GetPayload() *models.Errors
func (*GetArtifactNotFound) IsClientError ¶ added in v0.26.2
func (o *GetArtifactNotFound) IsClientError() bool
IsClientError returns true when this get artifact not found response has a 4xx status code
func (*GetArtifactNotFound) IsCode ¶ added in v0.26.2
func (o *GetArtifactNotFound) IsCode(code int) bool
IsCode returns true when this get artifact not found response a status code equal to that given
func (*GetArtifactNotFound) IsRedirect ¶ added in v0.26.2
func (o *GetArtifactNotFound) IsRedirect() bool
IsRedirect returns true when this get artifact not found response has a 3xx status code
func (*GetArtifactNotFound) IsServerError ¶ added in v0.26.2
func (o *GetArtifactNotFound) IsServerError() bool
IsServerError returns true when this get artifact not found response has a 5xx status code
func (*GetArtifactNotFound) IsSuccess ¶ added in v0.26.2
func (o *GetArtifactNotFound) IsSuccess() bool
IsSuccess returns true when this get artifact not found response has a 2xx status code
func (*GetArtifactNotFound) String ¶ added in v0.26.2
func (o *GetArtifactNotFound) String() string
type GetArtifactOK ¶
GetArtifactOK describes a response with status code 200, with default header values.
Success
func NewGetArtifactOK ¶
func NewGetArtifactOK() *GetArtifactOK
NewGetArtifactOK creates a GetArtifactOK with default headers values
func (*GetArtifactOK) Error ¶
func (o *GetArtifactOK) Error() string
func (*GetArtifactOK) GetPayload ¶
func (o *GetArtifactOK) GetPayload() *models.Artifact
func (*GetArtifactOK) IsClientError ¶ added in v0.26.2
func (o *GetArtifactOK) IsClientError() bool
IsClientError returns true when this get artifact o k response has a 4xx status code
func (*GetArtifactOK) IsCode ¶ added in v0.26.2
func (o *GetArtifactOK) IsCode(code int) bool
IsCode returns true when this get artifact o k response a status code equal to that given
func (*GetArtifactOK) IsRedirect ¶ added in v0.26.2
func (o *GetArtifactOK) IsRedirect() bool
IsRedirect returns true when this get artifact o k response has a 3xx status code
func (*GetArtifactOK) IsServerError ¶ added in v0.26.2
func (o *GetArtifactOK) IsServerError() bool
IsServerError returns true when this get artifact o k response has a 5xx status code
func (*GetArtifactOK) IsSuccess ¶ added in v0.26.2
func (o *GetArtifactOK) IsSuccess() bool
IsSuccess returns true when this get artifact o k response has a 2xx status code
func (*GetArtifactOK) String ¶ added in v0.26.2
func (o *GetArtifactOK) String() string
type GetArtifactParams ¶
type GetArtifactParams struct { /* XAcceptVulnerabilities. A comma-separated lists of MIME types for the scan report or scan summary. The first mime type will be used when the report found for it. Currently the mime type supports 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' and 'application/vnd.security.vulnerability.report; version=1.1' Default: "application/vnd.security.vulnerability.report; version=1.1, application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0" */ XAcceptVulnerabilities *string /* XRequestID. An unique ID for the request */ XRequestID *string /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* ProjectName. The name of the project */ ProjectName string /* Reference. The reference of the artifact, can be digest or tag */ Reference string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string /* WithAccessory. Specify whether the accessories are included of the returning artifacts. */ WithAccessory *bool /* WithImmutableStatus. Specify whether the immutable status is inclued inside the tags of the returning artifacts. */ WithImmutableStatus *bool /* WithLabel. Specify whether the labels are inclued inside the returning artifacts */ WithLabel *bool /* WithScanOverview. Specify whether the scan overview is inclued inside the returning artifacts */ WithScanOverview *bool /* WithSignature. Specify whether the signature is inclued inside the returning artifacts */ WithSignature *bool /* WithTag. Specify whether the tags are inclued inside the returning artifacts Default: true */ WithTag *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetArtifactParams contains all the parameters to send to the API endpoint
for the get artifact operation. Typically these are written to a http.Request.
func NewGetArtifactParams ¶
func NewGetArtifactParams() *GetArtifactParams
NewGetArtifactParams creates a new GetArtifactParams 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 NewGetArtifactParamsWithContext ¶
func NewGetArtifactParamsWithContext(ctx context.Context) *GetArtifactParams
NewGetArtifactParamsWithContext creates a new GetArtifactParams object with the ability to set a context for a request.
func NewGetArtifactParamsWithHTTPClient ¶
func NewGetArtifactParamsWithHTTPClient(client *http.Client) *GetArtifactParams
NewGetArtifactParamsWithHTTPClient creates a new GetArtifactParams object with the ability to set a custom HTTPClient for a request.
func NewGetArtifactParamsWithTimeout ¶
func NewGetArtifactParamsWithTimeout(timeout time.Duration) *GetArtifactParams
NewGetArtifactParamsWithTimeout creates a new GetArtifactParams object with the ability to set a timeout on a request.
func (*GetArtifactParams) SetContext ¶
func (o *GetArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the get artifact params
func (*GetArtifactParams) SetDefaults ¶
func (o *GetArtifactParams) SetDefaults()
SetDefaults hydrates default values in the get artifact params (not the query body).
All values with no default are reset to their zero value.
func (*GetArtifactParams) SetHTTPClient ¶
func (o *GetArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get artifact params
func (*GetArtifactParams) SetPage ¶
func (o *GetArtifactParams) SetPage(page *int64)
SetPage adds the page to the get artifact params
func (*GetArtifactParams) SetPageSize ¶
func (o *GetArtifactParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the get artifact params
func (*GetArtifactParams) SetProjectName ¶
func (o *GetArtifactParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the get artifact params
func (*GetArtifactParams) SetReference ¶
func (o *GetArtifactParams) SetReference(reference string)
SetReference adds the reference to the get artifact params
func (*GetArtifactParams) SetRepositoryName ¶
func (o *GetArtifactParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the get artifact params
func (*GetArtifactParams) SetTimeout ¶
func (o *GetArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get artifact params
func (*GetArtifactParams) SetWithAccessory ¶ added in v0.25.0
func (o *GetArtifactParams) SetWithAccessory(withAccessory *bool)
SetWithAccessory adds the withAccessory to the get artifact params
func (*GetArtifactParams) SetWithImmutableStatus ¶
func (o *GetArtifactParams) SetWithImmutableStatus(withImmutableStatus *bool)
SetWithImmutableStatus adds the withImmutableStatus to the get artifact params
func (*GetArtifactParams) SetWithLabel ¶
func (o *GetArtifactParams) SetWithLabel(withLabel *bool)
SetWithLabel adds the withLabel to the get artifact params
func (*GetArtifactParams) SetWithScanOverview ¶
func (o *GetArtifactParams) SetWithScanOverview(withScanOverview *bool)
SetWithScanOverview adds the withScanOverview to the get artifact params
func (*GetArtifactParams) SetWithSignature ¶
func (o *GetArtifactParams) SetWithSignature(withSignature *bool)
SetWithSignature adds the withSignature to the get artifact params
func (*GetArtifactParams) SetWithTag ¶
func (o *GetArtifactParams) SetWithTag(withTag *bool)
SetWithTag adds the withTag to the get artifact params
func (*GetArtifactParams) SetXAcceptVulnerabilities ¶
func (o *GetArtifactParams) SetXAcceptVulnerabilities(xAcceptVulnerabilities *string)
SetXAcceptVulnerabilities adds the xAcceptVulnerabilities to the get artifact params
func (*GetArtifactParams) SetXRequestID ¶
func (o *GetArtifactParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get artifact params
func (*GetArtifactParams) WithContext ¶
func (o *GetArtifactParams) WithContext(ctx context.Context) *GetArtifactParams
WithContext adds the context to the get artifact params
func (*GetArtifactParams) WithDefaults ¶
func (o *GetArtifactParams) WithDefaults() *GetArtifactParams
WithDefaults hydrates default values in the get artifact params (not the query body).
All values with no default are reset to their zero value.
func (*GetArtifactParams) WithHTTPClient ¶
func (o *GetArtifactParams) WithHTTPClient(client *http.Client) *GetArtifactParams
WithHTTPClient adds the HTTPClient to the get artifact params
func (*GetArtifactParams) WithPage ¶
func (o *GetArtifactParams) WithPage(page *int64) *GetArtifactParams
WithPage adds the page to the get artifact params
func (*GetArtifactParams) WithPageSize ¶
func (o *GetArtifactParams) WithPageSize(pageSize *int64) *GetArtifactParams
WithPageSize adds the pageSize to the get artifact params
func (*GetArtifactParams) WithProjectName ¶
func (o *GetArtifactParams) WithProjectName(projectName string) *GetArtifactParams
WithProjectName adds the projectName to the get artifact params
func (*GetArtifactParams) WithReference ¶
func (o *GetArtifactParams) WithReference(reference string) *GetArtifactParams
WithReference adds the reference to the get artifact params
func (*GetArtifactParams) WithRepositoryName ¶
func (o *GetArtifactParams) WithRepositoryName(repositoryName string) *GetArtifactParams
WithRepositoryName adds the repositoryName to the get artifact params
func (*GetArtifactParams) WithTimeout ¶
func (o *GetArtifactParams) WithTimeout(timeout time.Duration) *GetArtifactParams
WithTimeout adds the timeout to the get artifact params
func (*GetArtifactParams) WithWithAccessory ¶ added in v0.25.0
func (o *GetArtifactParams) WithWithAccessory(withAccessory *bool) *GetArtifactParams
WithWithAccessory adds the withAccessory to the get artifact params
func (*GetArtifactParams) WithWithImmutableStatus ¶
func (o *GetArtifactParams) WithWithImmutableStatus(withImmutableStatus *bool) *GetArtifactParams
WithWithImmutableStatus adds the withImmutableStatus to the get artifact params
func (*GetArtifactParams) WithWithLabel ¶
func (o *GetArtifactParams) WithWithLabel(withLabel *bool) *GetArtifactParams
WithWithLabel adds the withLabel to the get artifact params
func (*GetArtifactParams) WithWithScanOverview ¶
func (o *GetArtifactParams) WithWithScanOverview(withScanOverview *bool) *GetArtifactParams
WithWithScanOverview adds the withScanOverview to the get artifact params
func (*GetArtifactParams) WithWithSignature ¶
func (o *GetArtifactParams) WithWithSignature(withSignature *bool) *GetArtifactParams
WithWithSignature adds the withSignature to the get artifact params
func (*GetArtifactParams) WithWithTag ¶
func (o *GetArtifactParams) WithWithTag(withTag *bool) *GetArtifactParams
WithWithTag adds the withTag to the get artifact params
func (*GetArtifactParams) WithXAcceptVulnerabilities ¶
func (o *GetArtifactParams) WithXAcceptVulnerabilities(xAcceptVulnerabilities *string) *GetArtifactParams
WithXAcceptVulnerabilities adds the xAcceptVulnerabilities to the get artifact params
func (*GetArtifactParams) WithXRequestID ¶
func (o *GetArtifactParams) WithXRequestID(xRequestID *string) *GetArtifactParams
WithXRequestID adds the xRequestID to the get artifact params
func (*GetArtifactParams) WriteToRequest ¶
func (o *GetArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetArtifactReader ¶
type GetArtifactReader struct {
// contains filtered or unexported fields
}
GetArtifactReader is a Reader for the GetArtifact structure.
func (*GetArtifactReader) ReadResponse ¶
func (o *GetArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetArtifactUnauthorized ¶
type GetArtifactUnauthorized struct { string }XRequestID
GetArtifactUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetArtifactUnauthorized ¶
func NewGetArtifactUnauthorized() *GetArtifactUnauthorized
NewGetArtifactUnauthorized creates a GetArtifactUnauthorized with default headers values
func (*GetArtifactUnauthorized) Error ¶
func (o *GetArtifactUnauthorized) Error() string
func (*GetArtifactUnauthorized) GetPayload ¶
func (o *GetArtifactUnauthorized) GetPayload() *models.Errors
func (*GetArtifactUnauthorized) IsClientError ¶ added in v0.26.2
func (o *GetArtifactUnauthorized) IsClientError() bool
IsClientError returns true when this get artifact unauthorized response has a 4xx status code
func (*GetArtifactUnauthorized) IsCode ¶ added in v0.26.2
func (o *GetArtifactUnauthorized) IsCode(code int) bool
IsCode returns true when this get artifact unauthorized response a status code equal to that given
func (*GetArtifactUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *GetArtifactUnauthorized) IsRedirect() bool
IsRedirect returns true when this get artifact unauthorized response has a 3xx status code
func (*GetArtifactUnauthorized) IsServerError ¶ added in v0.26.2
func (o *GetArtifactUnauthorized) IsServerError() bool
IsServerError returns true when this get artifact unauthorized response has a 5xx status code
func (*GetArtifactUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *GetArtifactUnauthorized) IsSuccess() bool
IsSuccess returns true when this get artifact unauthorized response has a 2xx status code
func (*GetArtifactUnauthorized) String ¶ added in v0.26.2
func (o *GetArtifactUnauthorized) String() string
type GetVulnerabilitiesAdditionBadRequest ¶
type GetVulnerabilitiesAdditionBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetVulnerabilitiesAdditionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVulnerabilitiesAdditionBadRequest ¶
func NewGetVulnerabilitiesAdditionBadRequest() *GetVulnerabilitiesAdditionBadRequest
NewGetVulnerabilitiesAdditionBadRequest creates a GetVulnerabilitiesAdditionBadRequest with default headers values
func (*GetVulnerabilitiesAdditionBadRequest) Error ¶
func (o *GetVulnerabilitiesAdditionBadRequest) Error() string
func (*GetVulnerabilitiesAdditionBadRequest) GetPayload ¶
func (o *GetVulnerabilitiesAdditionBadRequest) GetPayload() *models.Errors
func (*GetVulnerabilitiesAdditionBadRequest) IsClientError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionBadRequest) IsClientError() bool
IsClientError returns true when this get vulnerabilities addition bad request response has a 4xx status code
func (*GetVulnerabilitiesAdditionBadRequest) IsCode ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionBadRequest) IsCode(code int) bool
IsCode returns true when this get vulnerabilities addition bad request response a status code equal to that given
func (*GetVulnerabilitiesAdditionBadRequest) IsRedirect ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionBadRequest) IsRedirect() bool
IsRedirect returns true when this get vulnerabilities addition bad request response has a 3xx status code
func (*GetVulnerabilitiesAdditionBadRequest) IsServerError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionBadRequest) IsServerError() bool
IsServerError returns true when this get vulnerabilities addition bad request response has a 5xx status code
func (*GetVulnerabilitiesAdditionBadRequest) IsSuccess ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionBadRequest) IsSuccess() bool
IsSuccess returns true when this get vulnerabilities addition bad request response has a 2xx status code
func (*GetVulnerabilitiesAdditionBadRequest) String ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionBadRequest) String() string
type GetVulnerabilitiesAdditionForbidden ¶
type GetVulnerabilitiesAdditionForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetVulnerabilitiesAdditionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetVulnerabilitiesAdditionForbidden ¶
func NewGetVulnerabilitiesAdditionForbidden() *GetVulnerabilitiesAdditionForbidden
NewGetVulnerabilitiesAdditionForbidden creates a GetVulnerabilitiesAdditionForbidden with default headers values
func (*GetVulnerabilitiesAdditionForbidden) Error ¶
func (o *GetVulnerabilitiesAdditionForbidden) Error() string
func (*GetVulnerabilitiesAdditionForbidden) GetPayload ¶
func (o *GetVulnerabilitiesAdditionForbidden) GetPayload() *models.Errors
func (*GetVulnerabilitiesAdditionForbidden) IsClientError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionForbidden) IsClientError() bool
IsClientError returns true when this get vulnerabilities addition forbidden response has a 4xx status code
func (*GetVulnerabilitiesAdditionForbidden) IsCode ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionForbidden) IsCode(code int) bool
IsCode returns true when this get vulnerabilities addition forbidden response a status code equal to that given
func (*GetVulnerabilitiesAdditionForbidden) IsRedirect ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionForbidden) IsRedirect() bool
IsRedirect returns true when this get vulnerabilities addition forbidden response has a 3xx status code
func (*GetVulnerabilitiesAdditionForbidden) IsServerError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionForbidden) IsServerError() bool
IsServerError returns true when this get vulnerabilities addition forbidden response has a 5xx status code
func (*GetVulnerabilitiesAdditionForbidden) IsSuccess ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionForbidden) IsSuccess() bool
IsSuccess returns true when this get vulnerabilities addition forbidden response has a 2xx status code
func (*GetVulnerabilitiesAdditionForbidden) String ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionForbidden) String() string
type GetVulnerabilitiesAdditionInternalServerError ¶
type GetVulnerabilitiesAdditionInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetVulnerabilitiesAdditionInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetVulnerabilitiesAdditionInternalServerError ¶
func NewGetVulnerabilitiesAdditionInternalServerError() *GetVulnerabilitiesAdditionInternalServerError
NewGetVulnerabilitiesAdditionInternalServerError creates a GetVulnerabilitiesAdditionInternalServerError with default headers values
func (*GetVulnerabilitiesAdditionInternalServerError) Error ¶
func (o *GetVulnerabilitiesAdditionInternalServerError) Error() string
func (*GetVulnerabilitiesAdditionInternalServerError) GetPayload ¶
func (o *GetVulnerabilitiesAdditionInternalServerError) GetPayload() *models.Errors
func (*GetVulnerabilitiesAdditionInternalServerError) IsClientError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionInternalServerError) IsClientError() bool
IsClientError returns true when this get vulnerabilities addition internal server error response has a 4xx status code
func (*GetVulnerabilitiesAdditionInternalServerError) IsCode ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionInternalServerError) IsCode(code int) bool
IsCode returns true when this get vulnerabilities addition internal server error response a status code equal to that given
func (*GetVulnerabilitiesAdditionInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get vulnerabilities addition internal server error response has a 3xx status code
func (*GetVulnerabilitiesAdditionInternalServerError) IsServerError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionInternalServerError) IsServerError() bool
IsServerError returns true when this get vulnerabilities addition internal server error response has a 5xx status code
func (*GetVulnerabilitiesAdditionInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get vulnerabilities addition internal server error response has a 2xx status code
func (*GetVulnerabilitiesAdditionInternalServerError) String ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionInternalServerError) String() string
type GetVulnerabilitiesAdditionNotFound ¶
type GetVulnerabilitiesAdditionNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetVulnerabilitiesAdditionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVulnerabilitiesAdditionNotFound ¶
func NewGetVulnerabilitiesAdditionNotFound() *GetVulnerabilitiesAdditionNotFound
NewGetVulnerabilitiesAdditionNotFound creates a GetVulnerabilitiesAdditionNotFound with default headers values
func (*GetVulnerabilitiesAdditionNotFound) Error ¶
func (o *GetVulnerabilitiesAdditionNotFound) Error() string
func (*GetVulnerabilitiesAdditionNotFound) GetPayload ¶
func (o *GetVulnerabilitiesAdditionNotFound) GetPayload() *models.Errors
func (*GetVulnerabilitiesAdditionNotFound) IsClientError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionNotFound) IsClientError() bool
IsClientError returns true when this get vulnerabilities addition not found response has a 4xx status code
func (*GetVulnerabilitiesAdditionNotFound) IsCode ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionNotFound) IsCode(code int) bool
IsCode returns true when this get vulnerabilities addition not found response a status code equal to that given
func (*GetVulnerabilitiesAdditionNotFound) IsRedirect ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionNotFound) IsRedirect() bool
IsRedirect returns true when this get vulnerabilities addition not found response has a 3xx status code
func (*GetVulnerabilitiesAdditionNotFound) IsServerError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionNotFound) IsServerError() bool
IsServerError returns true when this get vulnerabilities addition not found response has a 5xx status code
func (*GetVulnerabilitiesAdditionNotFound) IsSuccess ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionNotFound) IsSuccess() bool
IsSuccess returns true when this get vulnerabilities addition not found response has a 2xx status code
func (*GetVulnerabilitiesAdditionNotFound) String ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionNotFound) String() string
type GetVulnerabilitiesAdditionOK ¶
type GetVulnerabilitiesAdditionOK struct { /* The content type of the vulnerabilities addition */ ContentType string Payload string }
GetVulnerabilitiesAdditionOK describes a response with status code 200, with default header values.
Success
func NewGetVulnerabilitiesAdditionOK ¶
func NewGetVulnerabilitiesAdditionOK() *GetVulnerabilitiesAdditionOK
NewGetVulnerabilitiesAdditionOK creates a GetVulnerabilitiesAdditionOK with default headers values
func (*GetVulnerabilitiesAdditionOK) Error ¶
func (o *GetVulnerabilitiesAdditionOK) Error() string
func (*GetVulnerabilitiesAdditionOK) GetPayload ¶
func (o *GetVulnerabilitiesAdditionOK) GetPayload() string
func (*GetVulnerabilitiesAdditionOK) IsClientError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionOK) IsClientError() bool
IsClientError returns true when this get vulnerabilities addition o k response has a 4xx status code
func (*GetVulnerabilitiesAdditionOK) IsCode ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionOK) IsCode(code int) bool
IsCode returns true when this get vulnerabilities addition o k response a status code equal to that given
func (*GetVulnerabilitiesAdditionOK) IsRedirect ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionOK) IsRedirect() bool
IsRedirect returns true when this get vulnerabilities addition o k response has a 3xx status code
func (*GetVulnerabilitiesAdditionOK) IsServerError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionOK) IsServerError() bool
IsServerError returns true when this get vulnerabilities addition o k response has a 5xx status code
func (*GetVulnerabilitiesAdditionOK) IsSuccess ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionOK) IsSuccess() bool
IsSuccess returns true when this get vulnerabilities addition o k response has a 2xx status code
func (*GetVulnerabilitiesAdditionOK) String ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionOK) String() string
type GetVulnerabilitiesAdditionParams ¶
type GetVulnerabilitiesAdditionParams struct { /* XAcceptVulnerabilities. A comma-separated lists of MIME types for the scan report or scan summary. The first mime type will be used when the report found for it. Currently the mime type supports 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' and 'application/vnd.security.vulnerability.report; version=1.1' Default: "application/vnd.security.vulnerability.report; version=1.1, application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0" */ XAcceptVulnerabilities *string /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectName. The name of the project */ ProjectName string /* Reference. The reference of the artifact, can be digest or tag */ Reference string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVulnerabilitiesAdditionParams contains all the parameters to send to the API endpoint
for the get vulnerabilities addition operation. Typically these are written to a http.Request.
func NewGetVulnerabilitiesAdditionParams ¶
func NewGetVulnerabilitiesAdditionParams() *GetVulnerabilitiesAdditionParams
NewGetVulnerabilitiesAdditionParams creates a new GetVulnerabilitiesAdditionParams 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 NewGetVulnerabilitiesAdditionParamsWithContext ¶
func NewGetVulnerabilitiesAdditionParamsWithContext(ctx context.Context) *GetVulnerabilitiesAdditionParams
NewGetVulnerabilitiesAdditionParamsWithContext creates a new GetVulnerabilitiesAdditionParams object with the ability to set a context for a request.
func NewGetVulnerabilitiesAdditionParamsWithHTTPClient ¶
func NewGetVulnerabilitiesAdditionParamsWithHTTPClient(client *http.Client) *GetVulnerabilitiesAdditionParams
NewGetVulnerabilitiesAdditionParamsWithHTTPClient creates a new GetVulnerabilitiesAdditionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVulnerabilitiesAdditionParamsWithTimeout ¶
func NewGetVulnerabilitiesAdditionParamsWithTimeout(timeout time.Duration) *GetVulnerabilitiesAdditionParams
NewGetVulnerabilitiesAdditionParamsWithTimeout creates a new GetVulnerabilitiesAdditionParams object with the ability to set a timeout on a request.
func (*GetVulnerabilitiesAdditionParams) SetContext ¶
func (o *GetVulnerabilitiesAdditionParams) SetContext(ctx context.Context)
SetContext adds the context to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) SetDefaults ¶
func (o *GetVulnerabilitiesAdditionParams) SetDefaults()
SetDefaults hydrates default values in the get vulnerabilities addition params (not the query body).
All values with no default are reset to their zero value.
func (*GetVulnerabilitiesAdditionParams) SetHTTPClient ¶
func (o *GetVulnerabilitiesAdditionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) SetProjectName ¶
func (o *GetVulnerabilitiesAdditionParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) SetReference ¶
func (o *GetVulnerabilitiesAdditionParams) SetReference(reference string)
SetReference adds the reference to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) SetRepositoryName ¶
func (o *GetVulnerabilitiesAdditionParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) SetTimeout ¶
func (o *GetVulnerabilitiesAdditionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) SetXAcceptVulnerabilities ¶
func (o *GetVulnerabilitiesAdditionParams) SetXAcceptVulnerabilities(xAcceptVulnerabilities *string)
SetXAcceptVulnerabilities adds the xAcceptVulnerabilities to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) SetXRequestID ¶
func (o *GetVulnerabilitiesAdditionParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) WithContext ¶
func (o *GetVulnerabilitiesAdditionParams) WithContext(ctx context.Context) *GetVulnerabilitiesAdditionParams
WithContext adds the context to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) WithDefaults ¶
func (o *GetVulnerabilitiesAdditionParams) WithDefaults() *GetVulnerabilitiesAdditionParams
WithDefaults hydrates default values in the get vulnerabilities addition params (not the query body).
All values with no default are reset to their zero value.
func (*GetVulnerabilitiesAdditionParams) WithHTTPClient ¶
func (o *GetVulnerabilitiesAdditionParams) WithHTTPClient(client *http.Client) *GetVulnerabilitiesAdditionParams
WithHTTPClient adds the HTTPClient to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) WithProjectName ¶
func (o *GetVulnerabilitiesAdditionParams) WithProjectName(projectName string) *GetVulnerabilitiesAdditionParams
WithProjectName adds the projectName to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) WithReference ¶
func (o *GetVulnerabilitiesAdditionParams) WithReference(reference string) *GetVulnerabilitiesAdditionParams
WithReference adds the reference to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) WithRepositoryName ¶
func (o *GetVulnerabilitiesAdditionParams) WithRepositoryName(repositoryName string) *GetVulnerabilitiesAdditionParams
WithRepositoryName adds the repositoryName to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) WithTimeout ¶
func (o *GetVulnerabilitiesAdditionParams) WithTimeout(timeout time.Duration) *GetVulnerabilitiesAdditionParams
WithTimeout adds the timeout to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) WithXAcceptVulnerabilities ¶
func (o *GetVulnerabilitiesAdditionParams) WithXAcceptVulnerabilities(xAcceptVulnerabilities *string) *GetVulnerabilitiesAdditionParams
WithXAcceptVulnerabilities adds the xAcceptVulnerabilities to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) WithXRequestID ¶
func (o *GetVulnerabilitiesAdditionParams) WithXRequestID(xRequestID *string) *GetVulnerabilitiesAdditionParams
WithXRequestID adds the xRequestID to the get vulnerabilities addition params
func (*GetVulnerabilitiesAdditionParams) WriteToRequest ¶
func (o *GetVulnerabilitiesAdditionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVulnerabilitiesAdditionReader ¶
type GetVulnerabilitiesAdditionReader struct {
// contains filtered or unexported fields
}
GetVulnerabilitiesAdditionReader is a Reader for the GetVulnerabilitiesAddition structure.
func (*GetVulnerabilitiesAdditionReader) ReadResponse ¶
func (o *GetVulnerabilitiesAdditionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVulnerabilitiesAdditionUnauthorized ¶
type GetVulnerabilitiesAdditionUnauthorized struct { string }XRequestID
GetVulnerabilitiesAdditionUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetVulnerabilitiesAdditionUnauthorized ¶
func NewGetVulnerabilitiesAdditionUnauthorized() *GetVulnerabilitiesAdditionUnauthorized
NewGetVulnerabilitiesAdditionUnauthorized creates a GetVulnerabilitiesAdditionUnauthorized with default headers values
func (*GetVulnerabilitiesAdditionUnauthorized) Error ¶
func (o *GetVulnerabilitiesAdditionUnauthorized) Error() string
func (*GetVulnerabilitiesAdditionUnauthorized) GetPayload ¶
func (o *GetVulnerabilitiesAdditionUnauthorized) GetPayload() *models.Errors
func (*GetVulnerabilitiesAdditionUnauthorized) IsClientError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionUnauthorized) IsClientError() bool
IsClientError returns true when this get vulnerabilities addition unauthorized response has a 4xx status code
func (*GetVulnerabilitiesAdditionUnauthorized) IsCode ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionUnauthorized) IsCode(code int) bool
IsCode returns true when this get vulnerabilities addition unauthorized response a status code equal to that given
func (*GetVulnerabilitiesAdditionUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get vulnerabilities addition unauthorized response has a 3xx status code
func (*GetVulnerabilitiesAdditionUnauthorized) IsServerError ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionUnauthorized) IsServerError() bool
IsServerError returns true when this get vulnerabilities addition unauthorized response has a 5xx status code
func (*GetVulnerabilitiesAdditionUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get vulnerabilities addition unauthorized response has a 2xx status code
func (*GetVulnerabilitiesAdditionUnauthorized) String ¶ added in v0.26.2
func (o *GetVulnerabilitiesAdditionUnauthorized) String() string
type ListAccessoriesBadRequest ¶ added in v0.25.0
type ListAccessoriesBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListAccessoriesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListAccessoriesBadRequest ¶ added in v0.25.0
func NewListAccessoriesBadRequest() *ListAccessoriesBadRequest
NewListAccessoriesBadRequest creates a ListAccessoriesBadRequest with default headers values
func (*ListAccessoriesBadRequest) Error ¶ added in v0.25.0
func (o *ListAccessoriesBadRequest) Error() string
func (*ListAccessoriesBadRequest) GetPayload ¶ added in v0.25.0
func (o *ListAccessoriesBadRequest) GetPayload() *models.Errors
func (*ListAccessoriesBadRequest) IsClientError ¶ added in v0.26.2
func (o *ListAccessoriesBadRequest) IsClientError() bool
IsClientError returns true when this list accessories bad request response has a 4xx status code
func (*ListAccessoriesBadRequest) IsCode ¶ added in v0.26.2
func (o *ListAccessoriesBadRequest) IsCode(code int) bool
IsCode returns true when this list accessories bad request response a status code equal to that given
func (*ListAccessoriesBadRequest) IsRedirect ¶ added in v0.26.2
func (o *ListAccessoriesBadRequest) IsRedirect() bool
IsRedirect returns true when this list accessories bad request response has a 3xx status code
func (*ListAccessoriesBadRequest) IsServerError ¶ added in v0.26.2
func (o *ListAccessoriesBadRequest) IsServerError() bool
IsServerError returns true when this list accessories bad request response has a 5xx status code
func (*ListAccessoriesBadRequest) IsSuccess ¶ added in v0.26.2
func (o *ListAccessoriesBadRequest) IsSuccess() bool
IsSuccess returns true when this list accessories bad request response has a 2xx status code
func (*ListAccessoriesBadRequest) String ¶ added in v0.26.2
func (o *ListAccessoriesBadRequest) String() string
type ListAccessoriesForbidden ¶ added in v0.25.0
type ListAccessoriesForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListAccessoriesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListAccessoriesForbidden ¶ added in v0.25.0
func NewListAccessoriesForbidden() *ListAccessoriesForbidden
NewListAccessoriesForbidden creates a ListAccessoriesForbidden with default headers values
func (*ListAccessoriesForbidden) Error ¶ added in v0.25.0
func (o *ListAccessoriesForbidden) Error() string
func (*ListAccessoriesForbidden) GetPayload ¶ added in v0.25.0
func (o *ListAccessoriesForbidden) GetPayload() *models.Errors
func (*ListAccessoriesForbidden) IsClientError ¶ added in v0.26.2
func (o *ListAccessoriesForbidden) IsClientError() bool
IsClientError returns true when this list accessories forbidden response has a 4xx status code
func (*ListAccessoriesForbidden) IsCode ¶ added in v0.26.2
func (o *ListAccessoriesForbidden) IsCode(code int) bool
IsCode returns true when this list accessories forbidden response a status code equal to that given
func (*ListAccessoriesForbidden) IsRedirect ¶ added in v0.26.2
func (o *ListAccessoriesForbidden) IsRedirect() bool
IsRedirect returns true when this list accessories forbidden response has a 3xx status code
func (*ListAccessoriesForbidden) IsServerError ¶ added in v0.26.2
func (o *ListAccessoriesForbidden) IsServerError() bool
IsServerError returns true when this list accessories forbidden response has a 5xx status code
func (*ListAccessoriesForbidden) IsSuccess ¶ added in v0.26.2
func (o *ListAccessoriesForbidden) IsSuccess() bool
IsSuccess returns true when this list accessories forbidden response has a 2xx status code
func (*ListAccessoriesForbidden) String ¶ added in v0.26.2
func (o *ListAccessoriesForbidden) String() string
type ListAccessoriesInternalServerError ¶ added in v0.25.0
type ListAccessoriesInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListAccessoriesInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListAccessoriesInternalServerError ¶ added in v0.25.0
func NewListAccessoriesInternalServerError() *ListAccessoriesInternalServerError
NewListAccessoriesInternalServerError creates a ListAccessoriesInternalServerError with default headers values
func (*ListAccessoriesInternalServerError) Error ¶ added in v0.25.0
func (o *ListAccessoriesInternalServerError) Error() string
func (*ListAccessoriesInternalServerError) GetPayload ¶ added in v0.25.0
func (o *ListAccessoriesInternalServerError) GetPayload() *models.Errors
func (*ListAccessoriesInternalServerError) IsClientError ¶ added in v0.26.2
func (o *ListAccessoriesInternalServerError) IsClientError() bool
IsClientError returns true when this list accessories internal server error response has a 4xx status code
func (*ListAccessoriesInternalServerError) IsCode ¶ added in v0.26.2
func (o *ListAccessoriesInternalServerError) IsCode(code int) bool
IsCode returns true when this list accessories internal server error response a status code equal to that given
func (*ListAccessoriesInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *ListAccessoriesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list accessories internal server error response has a 3xx status code
func (*ListAccessoriesInternalServerError) IsServerError ¶ added in v0.26.2
func (o *ListAccessoriesInternalServerError) IsServerError() bool
IsServerError returns true when this list accessories internal server error response has a 5xx status code
func (*ListAccessoriesInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *ListAccessoriesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list accessories internal server error response has a 2xx status code
func (*ListAccessoriesInternalServerError) String ¶ added in v0.26.2
func (o *ListAccessoriesInternalServerError) String() string
type ListAccessoriesNotFound ¶ added in v0.25.0
type ListAccessoriesNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListAccessoriesNotFound describes a response with status code 404, with default header values.
Not found
func NewListAccessoriesNotFound ¶ added in v0.25.0
func NewListAccessoriesNotFound() *ListAccessoriesNotFound
NewListAccessoriesNotFound creates a ListAccessoriesNotFound with default headers values
func (*ListAccessoriesNotFound) Error ¶ added in v0.25.0
func (o *ListAccessoriesNotFound) Error() string
func (*ListAccessoriesNotFound) GetPayload ¶ added in v0.25.0
func (o *ListAccessoriesNotFound) GetPayload() *models.Errors
func (*ListAccessoriesNotFound) IsClientError ¶ added in v0.26.2
func (o *ListAccessoriesNotFound) IsClientError() bool
IsClientError returns true when this list accessories not found response has a 4xx status code
func (*ListAccessoriesNotFound) IsCode ¶ added in v0.26.2
func (o *ListAccessoriesNotFound) IsCode(code int) bool
IsCode returns true when this list accessories not found response a status code equal to that given
func (*ListAccessoriesNotFound) IsRedirect ¶ added in v0.26.2
func (o *ListAccessoriesNotFound) IsRedirect() bool
IsRedirect returns true when this list accessories not found response has a 3xx status code
func (*ListAccessoriesNotFound) IsServerError ¶ added in v0.26.2
func (o *ListAccessoriesNotFound) IsServerError() bool
IsServerError returns true when this list accessories not found response has a 5xx status code
func (*ListAccessoriesNotFound) IsSuccess ¶ added in v0.26.2
func (o *ListAccessoriesNotFound) IsSuccess() bool
IsSuccess returns true when this list accessories not found response has a 2xx status code
func (*ListAccessoriesNotFound) String ¶ added in v0.26.2
func (o *ListAccessoriesNotFound) String() string
type ListAccessoriesOK ¶ added in v0.25.0
type ListAccessoriesOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of accessories */ XTotalCount int64 Payload []*models.Accessory }
ListAccessoriesOK describes a response with status code 200, with default header values.
Success
func NewListAccessoriesOK ¶ added in v0.25.0
func NewListAccessoriesOK() *ListAccessoriesOK
NewListAccessoriesOK creates a ListAccessoriesOK with default headers values
func (*ListAccessoriesOK) Error ¶ added in v0.25.0
func (o *ListAccessoriesOK) Error() string
func (*ListAccessoriesOK) GetPayload ¶ added in v0.25.0
func (o *ListAccessoriesOK) GetPayload() []*models.Accessory
func (*ListAccessoriesOK) IsClientError ¶ added in v0.26.2
func (o *ListAccessoriesOK) IsClientError() bool
IsClientError returns true when this list accessories o k response has a 4xx status code
func (*ListAccessoriesOK) IsCode ¶ added in v0.26.2
func (o *ListAccessoriesOK) IsCode(code int) bool
IsCode returns true when this list accessories o k response a status code equal to that given
func (*ListAccessoriesOK) IsRedirect ¶ added in v0.26.2
func (o *ListAccessoriesOK) IsRedirect() bool
IsRedirect returns true when this list accessories o k response has a 3xx status code
func (*ListAccessoriesOK) IsServerError ¶ added in v0.26.2
func (o *ListAccessoriesOK) IsServerError() bool
IsServerError returns true when this list accessories o k response has a 5xx status code
func (*ListAccessoriesOK) IsSuccess ¶ added in v0.26.2
func (o *ListAccessoriesOK) IsSuccess() bool
IsSuccess returns true when this list accessories o k response has a 2xx status code
func (*ListAccessoriesOK) String ¶ added in v0.26.2
func (o *ListAccessoriesOK) String() string
type ListAccessoriesParams ¶ added in v0.25.0
type ListAccessoriesParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* ProjectName. The name of the project */ ProjectName string /* Q. Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max] */ Q *string /* Reference. The reference of the artifact, can be digest or tag */ Reference string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAccessoriesParams contains all the parameters to send to the API endpoint
for the list accessories operation. Typically these are written to a http.Request.
func NewListAccessoriesParams ¶ added in v0.25.0
func NewListAccessoriesParams() *ListAccessoriesParams
NewListAccessoriesParams creates a new ListAccessoriesParams 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 NewListAccessoriesParamsWithContext ¶ added in v0.25.0
func NewListAccessoriesParamsWithContext(ctx context.Context) *ListAccessoriesParams
NewListAccessoriesParamsWithContext creates a new ListAccessoriesParams object with the ability to set a context for a request.
func NewListAccessoriesParamsWithHTTPClient ¶ added in v0.25.0
func NewListAccessoriesParamsWithHTTPClient(client *http.Client) *ListAccessoriesParams
NewListAccessoriesParamsWithHTTPClient creates a new ListAccessoriesParams object with the ability to set a custom HTTPClient for a request.
func NewListAccessoriesParamsWithTimeout ¶ added in v0.25.0
func NewListAccessoriesParamsWithTimeout(timeout time.Duration) *ListAccessoriesParams
NewListAccessoriesParamsWithTimeout creates a new ListAccessoriesParams object with the ability to set a timeout on a request.
func (*ListAccessoriesParams) SetContext ¶ added in v0.25.0
func (o *ListAccessoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the list accessories params
func (*ListAccessoriesParams) SetDefaults ¶ added in v0.26.2
func (o *ListAccessoriesParams) SetDefaults()
SetDefaults hydrates default values in the list accessories params (not the query body).
All values with no default are reset to their zero value.
func (*ListAccessoriesParams) SetHTTPClient ¶ added in v0.25.0
func (o *ListAccessoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list accessories params
func (*ListAccessoriesParams) SetPage ¶ added in v0.25.0
func (o *ListAccessoriesParams) SetPage(page *int64)
SetPage adds the page to the list accessories params
func (*ListAccessoriesParams) SetPageSize ¶ added in v0.25.0
func (o *ListAccessoriesParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list accessories params
func (*ListAccessoriesParams) SetProjectName ¶ added in v0.25.0
func (o *ListAccessoriesParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the list accessories params
func (*ListAccessoriesParams) SetQ ¶ added in v0.25.0
func (o *ListAccessoriesParams) SetQ(q *string)
SetQ adds the q to the list accessories params
func (*ListAccessoriesParams) SetReference ¶ added in v0.25.0
func (o *ListAccessoriesParams) SetReference(reference string)
SetReference adds the reference to the list accessories params
func (*ListAccessoriesParams) SetRepositoryName ¶ added in v0.25.0
func (o *ListAccessoriesParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the list accessories params
func (*ListAccessoriesParams) SetSort ¶ added in v0.25.0
func (o *ListAccessoriesParams) SetSort(sort *string)
SetSort adds the sort to the list accessories params
func (*ListAccessoriesParams) SetTimeout ¶ added in v0.25.0
func (o *ListAccessoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list accessories params
func (*ListAccessoriesParams) SetXRequestID ¶ added in v0.25.0
func (o *ListAccessoriesParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list accessories params
func (*ListAccessoriesParams) WithContext ¶ added in v0.25.0
func (o *ListAccessoriesParams) WithContext(ctx context.Context) *ListAccessoriesParams
WithContext adds the context to the list accessories params
func (*ListAccessoriesParams) WithDefaults ¶ added in v0.26.2
func (o *ListAccessoriesParams) WithDefaults() *ListAccessoriesParams
WithDefaults hydrates default values in the list accessories params (not the query body).
All values with no default are reset to their zero value.
func (*ListAccessoriesParams) WithHTTPClient ¶ added in v0.25.0
func (o *ListAccessoriesParams) WithHTTPClient(client *http.Client) *ListAccessoriesParams
WithHTTPClient adds the HTTPClient to the list accessories params
func (*ListAccessoriesParams) WithPage ¶ added in v0.25.0
func (o *ListAccessoriesParams) WithPage(page *int64) *ListAccessoriesParams
WithPage adds the page to the list accessories params
func (*ListAccessoriesParams) WithPageSize ¶ added in v0.25.0
func (o *ListAccessoriesParams) WithPageSize(pageSize *int64) *ListAccessoriesParams
WithPageSize adds the pageSize to the list accessories params
func (*ListAccessoriesParams) WithProjectName ¶ added in v0.25.0
func (o *ListAccessoriesParams) WithProjectName(projectName string) *ListAccessoriesParams
WithProjectName adds the projectName to the list accessories params
func (*ListAccessoriesParams) WithQ ¶ added in v0.25.0
func (o *ListAccessoriesParams) WithQ(q *string) *ListAccessoriesParams
WithQ adds the q to the list accessories params
func (*ListAccessoriesParams) WithReference ¶ added in v0.25.0
func (o *ListAccessoriesParams) WithReference(reference string) *ListAccessoriesParams
WithReference adds the reference to the list accessories params
func (*ListAccessoriesParams) WithRepositoryName ¶ added in v0.25.0
func (o *ListAccessoriesParams) WithRepositoryName(repositoryName string) *ListAccessoriesParams
WithRepositoryName adds the repositoryName to the list accessories params
func (*ListAccessoriesParams) WithSort ¶ added in v0.25.0
func (o *ListAccessoriesParams) WithSort(sort *string) *ListAccessoriesParams
WithSort adds the sort to the list accessories params
func (*ListAccessoriesParams) WithTimeout ¶ added in v0.25.0
func (o *ListAccessoriesParams) WithTimeout(timeout time.Duration) *ListAccessoriesParams
WithTimeout adds the timeout to the list accessories params
func (*ListAccessoriesParams) WithXRequestID ¶ added in v0.25.0
func (o *ListAccessoriesParams) WithXRequestID(xRequestID *string) *ListAccessoriesParams
WithXRequestID adds the xRequestID to the list accessories params
func (*ListAccessoriesParams) WriteToRequest ¶ added in v0.25.0
func (o *ListAccessoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAccessoriesReader ¶ added in v0.25.0
type ListAccessoriesReader struct {
// contains filtered or unexported fields
}
ListAccessoriesReader is a Reader for the ListAccessories structure.
func (*ListAccessoriesReader) ReadResponse ¶ added in v0.25.0
func (o *ListAccessoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAccessoriesUnauthorized ¶ added in v0.25.0
type ListAccessoriesUnauthorized struct { string }XRequestID
ListAccessoriesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListAccessoriesUnauthorized ¶ added in v0.25.0
func NewListAccessoriesUnauthorized() *ListAccessoriesUnauthorized
NewListAccessoriesUnauthorized creates a ListAccessoriesUnauthorized with default headers values
func (*ListAccessoriesUnauthorized) Error ¶ added in v0.25.0
func (o *ListAccessoriesUnauthorized) Error() string
func (*ListAccessoriesUnauthorized) GetPayload ¶ added in v0.25.0
func (o *ListAccessoriesUnauthorized) GetPayload() *models.Errors
func (*ListAccessoriesUnauthorized) IsClientError ¶ added in v0.26.2
func (o *ListAccessoriesUnauthorized) IsClientError() bool
IsClientError returns true when this list accessories unauthorized response has a 4xx status code
func (*ListAccessoriesUnauthorized) IsCode ¶ added in v0.26.2
func (o *ListAccessoriesUnauthorized) IsCode(code int) bool
IsCode returns true when this list accessories unauthorized response a status code equal to that given
func (*ListAccessoriesUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *ListAccessoriesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list accessories unauthorized response has a 3xx status code
func (*ListAccessoriesUnauthorized) IsServerError ¶ added in v0.26.2
func (o *ListAccessoriesUnauthorized) IsServerError() bool
IsServerError returns true when this list accessories unauthorized response has a 5xx status code
func (*ListAccessoriesUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *ListAccessoriesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list accessories unauthorized response has a 2xx status code
func (*ListAccessoriesUnauthorized) String ¶ added in v0.26.2
func (o *ListAccessoriesUnauthorized) String() string
type ListArtifactsBadRequest ¶
type ListArtifactsBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListArtifactsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListArtifactsBadRequest ¶
func NewListArtifactsBadRequest() *ListArtifactsBadRequest
NewListArtifactsBadRequest creates a ListArtifactsBadRequest with default headers values
func (*ListArtifactsBadRequest) Error ¶
func (o *ListArtifactsBadRequest) Error() string
func (*ListArtifactsBadRequest) GetPayload ¶
func (o *ListArtifactsBadRequest) GetPayload() *models.Errors
func (*ListArtifactsBadRequest) IsClientError ¶ added in v0.26.2
func (o *ListArtifactsBadRequest) IsClientError() bool
IsClientError returns true when this list artifacts bad request response has a 4xx status code
func (*ListArtifactsBadRequest) IsCode ¶ added in v0.26.2
func (o *ListArtifactsBadRequest) IsCode(code int) bool
IsCode returns true when this list artifacts bad request response a status code equal to that given
func (*ListArtifactsBadRequest) IsRedirect ¶ added in v0.26.2
func (o *ListArtifactsBadRequest) IsRedirect() bool
IsRedirect returns true when this list artifacts bad request response has a 3xx status code
func (*ListArtifactsBadRequest) IsServerError ¶ added in v0.26.2
func (o *ListArtifactsBadRequest) IsServerError() bool
IsServerError returns true when this list artifacts bad request response has a 5xx status code
func (*ListArtifactsBadRequest) IsSuccess ¶ added in v0.26.2
func (o *ListArtifactsBadRequest) IsSuccess() bool
IsSuccess returns true when this list artifacts bad request response has a 2xx status code
func (*ListArtifactsBadRequest) String ¶ added in v0.26.2
func (o *ListArtifactsBadRequest) String() string
type ListArtifactsForbidden ¶
type ListArtifactsForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListArtifactsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListArtifactsForbidden ¶
func NewListArtifactsForbidden() *ListArtifactsForbidden
NewListArtifactsForbidden creates a ListArtifactsForbidden with default headers values
func (*ListArtifactsForbidden) Error ¶
func (o *ListArtifactsForbidden) Error() string
func (*ListArtifactsForbidden) GetPayload ¶
func (o *ListArtifactsForbidden) GetPayload() *models.Errors
func (*ListArtifactsForbidden) IsClientError ¶ added in v0.26.2
func (o *ListArtifactsForbidden) IsClientError() bool
IsClientError returns true when this list artifacts forbidden response has a 4xx status code
func (*ListArtifactsForbidden) IsCode ¶ added in v0.26.2
func (o *ListArtifactsForbidden) IsCode(code int) bool
IsCode returns true when this list artifacts forbidden response a status code equal to that given
func (*ListArtifactsForbidden) IsRedirect ¶ added in v0.26.2
func (o *ListArtifactsForbidden) IsRedirect() bool
IsRedirect returns true when this list artifacts forbidden response has a 3xx status code
func (*ListArtifactsForbidden) IsServerError ¶ added in v0.26.2
func (o *ListArtifactsForbidden) IsServerError() bool
IsServerError returns true when this list artifacts forbidden response has a 5xx status code
func (*ListArtifactsForbidden) IsSuccess ¶ added in v0.26.2
func (o *ListArtifactsForbidden) IsSuccess() bool
IsSuccess returns true when this list artifacts forbidden response has a 2xx status code
func (*ListArtifactsForbidden) String ¶ added in v0.26.2
func (o *ListArtifactsForbidden) String() string
type ListArtifactsInternalServerError ¶
type ListArtifactsInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListArtifactsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListArtifactsInternalServerError ¶
func NewListArtifactsInternalServerError() *ListArtifactsInternalServerError
NewListArtifactsInternalServerError creates a ListArtifactsInternalServerError with default headers values
func (*ListArtifactsInternalServerError) Error ¶
func (o *ListArtifactsInternalServerError) Error() string
func (*ListArtifactsInternalServerError) GetPayload ¶
func (o *ListArtifactsInternalServerError) GetPayload() *models.Errors
func (*ListArtifactsInternalServerError) IsClientError ¶ added in v0.26.2
func (o *ListArtifactsInternalServerError) IsClientError() bool
IsClientError returns true when this list artifacts internal server error response has a 4xx status code
func (*ListArtifactsInternalServerError) IsCode ¶ added in v0.26.2
func (o *ListArtifactsInternalServerError) IsCode(code int) bool
IsCode returns true when this list artifacts internal server error response a status code equal to that given
func (*ListArtifactsInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *ListArtifactsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list artifacts internal server error response has a 3xx status code
func (*ListArtifactsInternalServerError) IsServerError ¶ added in v0.26.2
func (o *ListArtifactsInternalServerError) IsServerError() bool
IsServerError returns true when this list artifacts internal server error response has a 5xx status code
func (*ListArtifactsInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *ListArtifactsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list artifacts internal server error response has a 2xx status code
func (*ListArtifactsInternalServerError) String ¶ added in v0.26.2
func (o *ListArtifactsInternalServerError) String() string
type ListArtifactsNotFound ¶
type ListArtifactsNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListArtifactsNotFound describes a response with status code 404, with default header values.
Not found
func NewListArtifactsNotFound ¶
func NewListArtifactsNotFound() *ListArtifactsNotFound
NewListArtifactsNotFound creates a ListArtifactsNotFound with default headers values
func (*ListArtifactsNotFound) Error ¶
func (o *ListArtifactsNotFound) Error() string
func (*ListArtifactsNotFound) GetPayload ¶
func (o *ListArtifactsNotFound) GetPayload() *models.Errors
func (*ListArtifactsNotFound) IsClientError ¶ added in v0.26.2
func (o *ListArtifactsNotFound) IsClientError() bool
IsClientError returns true when this list artifacts not found response has a 4xx status code
func (*ListArtifactsNotFound) IsCode ¶ added in v0.26.2
func (o *ListArtifactsNotFound) IsCode(code int) bool
IsCode returns true when this list artifacts not found response a status code equal to that given
func (*ListArtifactsNotFound) IsRedirect ¶ added in v0.26.2
func (o *ListArtifactsNotFound) IsRedirect() bool
IsRedirect returns true when this list artifacts not found response has a 3xx status code
func (*ListArtifactsNotFound) IsServerError ¶ added in v0.26.2
func (o *ListArtifactsNotFound) IsServerError() bool
IsServerError returns true when this list artifacts not found response has a 5xx status code
func (*ListArtifactsNotFound) IsSuccess ¶ added in v0.26.2
func (o *ListArtifactsNotFound) IsSuccess() bool
IsSuccess returns true when this list artifacts not found response has a 2xx status code
func (*ListArtifactsNotFound) String ¶ added in v0.26.2
func (o *ListArtifactsNotFound) String() string
type ListArtifactsOK ¶
type ListArtifactsOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of artifacts */ XTotalCount int64 Payload []*models.Artifact }
ListArtifactsOK describes a response with status code 200, with default header values.
Success
func NewListArtifactsOK ¶
func NewListArtifactsOK() *ListArtifactsOK
NewListArtifactsOK creates a ListArtifactsOK with default headers values
func (*ListArtifactsOK) Error ¶
func (o *ListArtifactsOK) Error() string
func (*ListArtifactsOK) GetPayload ¶
func (o *ListArtifactsOK) GetPayload() []*models.Artifact
func (*ListArtifactsOK) IsClientError ¶ added in v0.26.2
func (o *ListArtifactsOK) IsClientError() bool
IsClientError returns true when this list artifacts o k response has a 4xx status code
func (*ListArtifactsOK) IsCode ¶ added in v0.26.2
func (o *ListArtifactsOK) IsCode(code int) bool
IsCode returns true when this list artifacts o k response a status code equal to that given
func (*ListArtifactsOK) IsRedirect ¶ added in v0.26.2
func (o *ListArtifactsOK) IsRedirect() bool
IsRedirect returns true when this list artifacts o k response has a 3xx status code
func (*ListArtifactsOK) IsServerError ¶ added in v0.26.2
func (o *ListArtifactsOK) IsServerError() bool
IsServerError returns true when this list artifacts o k response has a 5xx status code
func (*ListArtifactsOK) IsSuccess ¶ added in v0.26.2
func (o *ListArtifactsOK) IsSuccess() bool
IsSuccess returns true when this list artifacts o k response has a 2xx status code
func (*ListArtifactsOK) String ¶ added in v0.26.2
func (o *ListArtifactsOK) String() string
type ListArtifactsParams ¶
type ListArtifactsParams struct { /* XAcceptVulnerabilities. A comma-separated lists of MIME types for the scan report or scan summary. The first mime type will be used when the report found for it. Currently the mime type supports 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' and 'application/vnd.security.vulnerability.report; version=1.1' Default: "application/vnd.security.vulnerability.report; version=1.1, application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0" */ XAcceptVulnerabilities *string /* XRequestID. An unique ID for the request */ XRequestID *string /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* ProjectName. The name of the project */ ProjectName string /* Q. Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max] */ Q *string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *string /* WithAccessory. Specify whether the accessories are included of the returning artifacts. Only works when setting "with_accessory=true" */ WithAccessory *bool /* WithImmutableStatus. Specify whether the immutable status is included inside the tags of the returning artifacts. Only works when setting "with_immutable_status=true" */ WithImmutableStatus *bool /* WithLabel. Specify whether the labels are included inside the returning artifacts */ WithLabel *bool /* WithScanOverview. Specify whether the scan overview is included inside the returning artifacts */ WithScanOverview *bool /* WithSignature. Specify whether the signature is included inside the tags of the returning artifacts. Only works when setting "with_tag=true" */ WithSignature *bool /* WithTag. Specify whether the tags are included inside the returning artifacts Default: true */ WithTag *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListArtifactsParams contains all the parameters to send to the API endpoint
for the list artifacts operation. Typically these are written to a http.Request.
func NewListArtifactsParams ¶
func NewListArtifactsParams() *ListArtifactsParams
NewListArtifactsParams creates a new ListArtifactsParams 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 NewListArtifactsParamsWithContext ¶
func NewListArtifactsParamsWithContext(ctx context.Context) *ListArtifactsParams
NewListArtifactsParamsWithContext creates a new ListArtifactsParams object with the ability to set a context for a request.
func NewListArtifactsParamsWithHTTPClient ¶
func NewListArtifactsParamsWithHTTPClient(client *http.Client) *ListArtifactsParams
NewListArtifactsParamsWithHTTPClient creates a new ListArtifactsParams object with the ability to set a custom HTTPClient for a request.
func NewListArtifactsParamsWithTimeout ¶
func NewListArtifactsParamsWithTimeout(timeout time.Duration) *ListArtifactsParams
NewListArtifactsParamsWithTimeout creates a new ListArtifactsParams object with the ability to set a timeout on a request.
func (*ListArtifactsParams) SetContext ¶
func (o *ListArtifactsParams) SetContext(ctx context.Context)
SetContext adds the context to the list artifacts params
func (*ListArtifactsParams) SetDefaults ¶
func (o *ListArtifactsParams) SetDefaults()
SetDefaults hydrates default values in the list artifacts params (not the query body).
All values with no default are reset to their zero value.
func (*ListArtifactsParams) SetHTTPClient ¶
func (o *ListArtifactsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list artifacts params
func (*ListArtifactsParams) SetPage ¶
func (o *ListArtifactsParams) SetPage(page *int64)
SetPage adds the page to the list artifacts params
func (*ListArtifactsParams) SetPageSize ¶
func (o *ListArtifactsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list artifacts params
func (*ListArtifactsParams) SetProjectName ¶
func (o *ListArtifactsParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the list artifacts params
func (*ListArtifactsParams) SetQ ¶
func (o *ListArtifactsParams) SetQ(q *string)
SetQ adds the q to the list artifacts params
func (*ListArtifactsParams) SetRepositoryName ¶
func (o *ListArtifactsParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the list artifacts params
func (*ListArtifactsParams) SetSort ¶
func (o *ListArtifactsParams) SetSort(sort *string)
SetSort adds the sort to the list artifacts params
func (*ListArtifactsParams) SetTimeout ¶
func (o *ListArtifactsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list artifacts params
func (*ListArtifactsParams) SetWithAccessory ¶ added in v0.25.0
func (o *ListArtifactsParams) SetWithAccessory(withAccessory *bool)
SetWithAccessory adds the withAccessory to the list artifacts params
func (*ListArtifactsParams) SetWithImmutableStatus ¶
func (o *ListArtifactsParams) SetWithImmutableStatus(withImmutableStatus *bool)
SetWithImmutableStatus adds the withImmutableStatus to the list artifacts params
func (*ListArtifactsParams) SetWithLabel ¶
func (o *ListArtifactsParams) SetWithLabel(withLabel *bool)
SetWithLabel adds the withLabel to the list artifacts params
func (*ListArtifactsParams) SetWithScanOverview ¶
func (o *ListArtifactsParams) SetWithScanOverview(withScanOverview *bool)
SetWithScanOverview adds the withScanOverview to the list artifacts params
func (*ListArtifactsParams) SetWithSignature ¶
func (o *ListArtifactsParams) SetWithSignature(withSignature *bool)
SetWithSignature adds the withSignature to the list artifacts params
func (*ListArtifactsParams) SetWithTag ¶
func (o *ListArtifactsParams) SetWithTag(withTag *bool)
SetWithTag adds the withTag to the list artifacts params
func (*ListArtifactsParams) SetXAcceptVulnerabilities ¶
func (o *ListArtifactsParams) SetXAcceptVulnerabilities(xAcceptVulnerabilities *string)
SetXAcceptVulnerabilities adds the xAcceptVulnerabilities to the list artifacts params
func (*ListArtifactsParams) SetXRequestID ¶
func (o *ListArtifactsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list artifacts params
func (*ListArtifactsParams) WithContext ¶
func (o *ListArtifactsParams) WithContext(ctx context.Context) *ListArtifactsParams
WithContext adds the context to the list artifacts params
func (*ListArtifactsParams) WithDefaults ¶
func (o *ListArtifactsParams) WithDefaults() *ListArtifactsParams
WithDefaults hydrates default values in the list artifacts params (not the query body).
All values with no default are reset to their zero value.
func (*ListArtifactsParams) WithHTTPClient ¶
func (o *ListArtifactsParams) WithHTTPClient(client *http.Client) *ListArtifactsParams
WithHTTPClient adds the HTTPClient to the list artifacts params
func (*ListArtifactsParams) WithPage ¶
func (o *ListArtifactsParams) WithPage(page *int64) *ListArtifactsParams
WithPage adds the page to the list artifacts params
func (*ListArtifactsParams) WithPageSize ¶
func (o *ListArtifactsParams) WithPageSize(pageSize *int64) *ListArtifactsParams
WithPageSize adds the pageSize to the list artifacts params
func (*ListArtifactsParams) WithProjectName ¶
func (o *ListArtifactsParams) WithProjectName(projectName string) *ListArtifactsParams
WithProjectName adds the projectName to the list artifacts params
func (*ListArtifactsParams) WithQ ¶
func (o *ListArtifactsParams) WithQ(q *string) *ListArtifactsParams
WithQ adds the q to the list artifacts params
func (*ListArtifactsParams) WithRepositoryName ¶
func (o *ListArtifactsParams) WithRepositoryName(repositoryName string) *ListArtifactsParams
WithRepositoryName adds the repositoryName to the list artifacts params
func (*ListArtifactsParams) WithSort ¶
func (o *ListArtifactsParams) WithSort(sort *string) *ListArtifactsParams
WithSort adds the sort to the list artifacts params
func (*ListArtifactsParams) WithTimeout ¶
func (o *ListArtifactsParams) WithTimeout(timeout time.Duration) *ListArtifactsParams
WithTimeout adds the timeout to the list artifacts params
func (*ListArtifactsParams) WithWithAccessory ¶ added in v0.25.0
func (o *ListArtifactsParams) WithWithAccessory(withAccessory *bool) *ListArtifactsParams
WithWithAccessory adds the withAccessory to the list artifacts params
func (*ListArtifactsParams) WithWithImmutableStatus ¶
func (o *ListArtifactsParams) WithWithImmutableStatus(withImmutableStatus *bool) *ListArtifactsParams
WithWithImmutableStatus adds the withImmutableStatus to the list artifacts params
func (*ListArtifactsParams) WithWithLabel ¶
func (o *ListArtifactsParams) WithWithLabel(withLabel *bool) *ListArtifactsParams
WithWithLabel adds the withLabel to the list artifacts params
func (*ListArtifactsParams) WithWithScanOverview ¶
func (o *ListArtifactsParams) WithWithScanOverview(withScanOverview *bool) *ListArtifactsParams
WithWithScanOverview adds the withScanOverview to the list artifacts params
func (*ListArtifactsParams) WithWithSignature ¶
func (o *ListArtifactsParams) WithWithSignature(withSignature *bool) *ListArtifactsParams
WithWithSignature adds the withSignature to the list artifacts params
func (*ListArtifactsParams) WithWithTag ¶
func (o *ListArtifactsParams) WithWithTag(withTag *bool) *ListArtifactsParams
WithWithTag adds the withTag to the list artifacts params
func (*ListArtifactsParams) WithXAcceptVulnerabilities ¶
func (o *ListArtifactsParams) WithXAcceptVulnerabilities(xAcceptVulnerabilities *string) *ListArtifactsParams
WithXAcceptVulnerabilities adds the xAcceptVulnerabilities to the list artifacts params
func (*ListArtifactsParams) WithXRequestID ¶
func (o *ListArtifactsParams) WithXRequestID(xRequestID *string) *ListArtifactsParams
WithXRequestID adds the xRequestID to the list artifacts params
func (*ListArtifactsParams) WriteToRequest ¶
func (o *ListArtifactsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListArtifactsReader ¶
type ListArtifactsReader struct {
// contains filtered or unexported fields
}
ListArtifactsReader is a Reader for the ListArtifacts structure.
func (*ListArtifactsReader) ReadResponse ¶
func (o *ListArtifactsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListArtifactsUnauthorized ¶
type ListArtifactsUnauthorized struct { string }XRequestID
ListArtifactsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListArtifactsUnauthorized ¶
func NewListArtifactsUnauthorized() *ListArtifactsUnauthorized
NewListArtifactsUnauthorized creates a ListArtifactsUnauthorized with default headers values
func (*ListArtifactsUnauthorized) Error ¶
func (o *ListArtifactsUnauthorized) Error() string
func (*ListArtifactsUnauthorized) GetPayload ¶
func (o *ListArtifactsUnauthorized) GetPayload() *models.Errors
func (*ListArtifactsUnauthorized) IsClientError ¶ added in v0.26.2
func (o *ListArtifactsUnauthorized) IsClientError() bool
IsClientError returns true when this list artifacts unauthorized response has a 4xx status code
func (*ListArtifactsUnauthorized) IsCode ¶ added in v0.26.2
func (o *ListArtifactsUnauthorized) IsCode(code int) bool
IsCode returns true when this list artifacts unauthorized response a status code equal to that given
func (*ListArtifactsUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *ListArtifactsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list artifacts unauthorized response has a 3xx status code
func (*ListArtifactsUnauthorized) IsServerError ¶ added in v0.26.2
func (o *ListArtifactsUnauthorized) IsServerError() bool
IsServerError returns true when this list artifacts unauthorized response has a 5xx status code
func (*ListArtifactsUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *ListArtifactsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list artifacts unauthorized response has a 2xx status code
func (*ListArtifactsUnauthorized) String ¶ added in v0.26.2
func (o *ListArtifactsUnauthorized) String() string
type ListTagsBadRequest ¶
type ListTagsBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListTagsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListTagsBadRequest ¶
func NewListTagsBadRequest() *ListTagsBadRequest
NewListTagsBadRequest creates a ListTagsBadRequest with default headers values
func (*ListTagsBadRequest) Error ¶
func (o *ListTagsBadRequest) Error() string
func (*ListTagsBadRequest) GetPayload ¶
func (o *ListTagsBadRequest) GetPayload() *models.Errors
func (*ListTagsBadRequest) IsClientError ¶ added in v0.26.2
func (o *ListTagsBadRequest) IsClientError() bool
IsClientError returns true when this list tags bad request response has a 4xx status code
func (*ListTagsBadRequest) IsCode ¶ added in v0.26.2
func (o *ListTagsBadRequest) IsCode(code int) bool
IsCode returns true when this list tags bad request response a status code equal to that given
func (*ListTagsBadRequest) IsRedirect ¶ added in v0.26.2
func (o *ListTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this list tags bad request response has a 3xx status code
func (*ListTagsBadRequest) IsServerError ¶ added in v0.26.2
func (o *ListTagsBadRequest) IsServerError() bool
IsServerError returns true when this list tags bad request response has a 5xx status code
func (*ListTagsBadRequest) IsSuccess ¶ added in v0.26.2
func (o *ListTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this list tags bad request response has a 2xx status code
func (*ListTagsBadRequest) String ¶ added in v0.26.2
func (o *ListTagsBadRequest) String() string
type ListTagsForbidden ¶
type ListTagsForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListTagsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListTagsForbidden ¶
func NewListTagsForbidden() *ListTagsForbidden
NewListTagsForbidden creates a ListTagsForbidden with default headers values
func (*ListTagsForbidden) Error ¶
func (o *ListTagsForbidden) Error() string
func (*ListTagsForbidden) GetPayload ¶
func (o *ListTagsForbidden) GetPayload() *models.Errors
func (*ListTagsForbidden) IsClientError ¶ added in v0.26.2
func (o *ListTagsForbidden) IsClientError() bool
IsClientError returns true when this list tags forbidden response has a 4xx status code
func (*ListTagsForbidden) IsCode ¶ added in v0.26.2
func (o *ListTagsForbidden) IsCode(code int) bool
IsCode returns true when this list tags forbidden response a status code equal to that given
func (*ListTagsForbidden) IsRedirect ¶ added in v0.26.2
func (o *ListTagsForbidden) IsRedirect() bool
IsRedirect returns true when this list tags forbidden response has a 3xx status code
func (*ListTagsForbidden) IsServerError ¶ added in v0.26.2
func (o *ListTagsForbidden) IsServerError() bool
IsServerError returns true when this list tags forbidden response has a 5xx status code
func (*ListTagsForbidden) IsSuccess ¶ added in v0.26.2
func (o *ListTagsForbidden) IsSuccess() bool
IsSuccess returns true when this list tags forbidden response has a 2xx status code
func (*ListTagsForbidden) String ¶ added in v0.26.2
func (o *ListTagsForbidden) String() string
type ListTagsInternalServerError ¶
type ListTagsInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListTagsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListTagsInternalServerError ¶
func NewListTagsInternalServerError() *ListTagsInternalServerError
NewListTagsInternalServerError creates a ListTagsInternalServerError with default headers values
func (*ListTagsInternalServerError) Error ¶
func (o *ListTagsInternalServerError) Error() string
func (*ListTagsInternalServerError) GetPayload ¶
func (o *ListTagsInternalServerError) GetPayload() *models.Errors
func (*ListTagsInternalServerError) IsClientError ¶ added in v0.26.2
func (o *ListTagsInternalServerError) IsClientError() bool
IsClientError returns true when this list tags internal server error response has a 4xx status code
func (*ListTagsInternalServerError) IsCode ¶ added in v0.26.2
func (o *ListTagsInternalServerError) IsCode(code int) bool
IsCode returns true when this list tags internal server error response a status code equal to that given
func (*ListTagsInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *ListTagsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list tags internal server error response has a 3xx status code
func (*ListTagsInternalServerError) IsServerError ¶ added in v0.26.2
func (o *ListTagsInternalServerError) IsServerError() bool
IsServerError returns true when this list tags internal server error response has a 5xx status code
func (*ListTagsInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *ListTagsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list tags internal server error response has a 2xx status code
func (*ListTagsInternalServerError) String ¶ added in v0.26.2
func (o *ListTagsInternalServerError) String() string
type ListTagsNotFound ¶
type ListTagsNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListTagsNotFound describes a response with status code 404, with default header values.
Not found
func NewListTagsNotFound ¶
func NewListTagsNotFound() *ListTagsNotFound
NewListTagsNotFound creates a ListTagsNotFound with default headers values
func (*ListTagsNotFound) Error ¶
func (o *ListTagsNotFound) Error() string
func (*ListTagsNotFound) GetPayload ¶
func (o *ListTagsNotFound) GetPayload() *models.Errors
func (*ListTagsNotFound) IsClientError ¶ added in v0.26.2
func (o *ListTagsNotFound) IsClientError() bool
IsClientError returns true when this list tags not found response has a 4xx status code
func (*ListTagsNotFound) IsCode ¶ added in v0.26.2
func (o *ListTagsNotFound) IsCode(code int) bool
IsCode returns true when this list tags not found response a status code equal to that given
func (*ListTagsNotFound) IsRedirect ¶ added in v0.26.2
func (o *ListTagsNotFound) IsRedirect() bool
IsRedirect returns true when this list tags not found response has a 3xx status code
func (*ListTagsNotFound) IsServerError ¶ added in v0.26.2
func (o *ListTagsNotFound) IsServerError() bool
IsServerError returns true when this list tags not found response has a 5xx status code
func (*ListTagsNotFound) IsSuccess ¶ added in v0.26.2
func (o *ListTagsNotFound) IsSuccess() bool
IsSuccess returns true when this list tags not found response has a 2xx status code
func (*ListTagsNotFound) String ¶ added in v0.26.2
func (o *ListTagsNotFound) String() string
type ListTagsOK ¶
type ListTagsOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of tags */ XTotalCount int64 Payload []*models.Tag }
ListTagsOK describes a response with status code 200, with default header values.
Success
func NewListTagsOK ¶
func NewListTagsOK() *ListTagsOK
NewListTagsOK creates a ListTagsOK with default headers values
func (*ListTagsOK) Error ¶
func (o *ListTagsOK) Error() string
func (*ListTagsOK) GetPayload ¶
func (o *ListTagsOK) GetPayload() []*models.Tag
func (*ListTagsOK) IsClientError ¶ added in v0.26.2
func (o *ListTagsOK) IsClientError() bool
IsClientError returns true when this list tags o k response has a 4xx status code
func (*ListTagsOK) IsCode ¶ added in v0.26.2
func (o *ListTagsOK) IsCode(code int) bool
IsCode returns true when this list tags o k response a status code equal to that given
func (*ListTagsOK) IsRedirect ¶ added in v0.26.2
func (o *ListTagsOK) IsRedirect() bool
IsRedirect returns true when this list tags o k response has a 3xx status code
func (*ListTagsOK) IsServerError ¶ added in v0.26.2
func (o *ListTagsOK) IsServerError() bool
IsServerError returns true when this list tags o k response has a 5xx status code
func (*ListTagsOK) IsSuccess ¶ added in v0.26.2
func (o *ListTagsOK) IsSuccess() bool
IsSuccess returns true when this list tags o k response has a 2xx status code
func (*ListTagsOK) String ¶ added in v0.26.2
func (o *ListTagsOK) String() string
type ListTagsParams ¶
type ListTagsParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* ProjectName. The name of the project */ ProjectName string /* Q. Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max] */ Q *string /* Reference. The reference of the artifact, can be digest or tag */ Reference string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *string /* WithImmutableStatus. Specify whether the immutable status is included inside the returning tags */ WithImmutableStatus *bool /* WithSignature. Specify whether the signature is included inside the returning tags */ WithSignature *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTagsParams contains all the parameters to send to the API endpoint
for the list tags operation. Typically these are written to a http.Request.
func NewListTagsParams ¶
func NewListTagsParams() *ListTagsParams
NewListTagsParams creates a new ListTagsParams 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 NewListTagsParamsWithContext ¶
func NewListTagsParamsWithContext(ctx context.Context) *ListTagsParams
NewListTagsParamsWithContext creates a new ListTagsParams object with the ability to set a context for a request.
func NewListTagsParamsWithHTTPClient ¶
func NewListTagsParamsWithHTTPClient(client *http.Client) *ListTagsParams
NewListTagsParamsWithHTTPClient creates a new ListTagsParams object with the ability to set a custom HTTPClient for a request.
func NewListTagsParamsWithTimeout ¶
func NewListTagsParamsWithTimeout(timeout time.Duration) *ListTagsParams
NewListTagsParamsWithTimeout creates a new ListTagsParams object with the ability to set a timeout on a request.
func (*ListTagsParams) SetContext ¶
func (o *ListTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the list tags params
func (*ListTagsParams) SetDefaults ¶
func (o *ListTagsParams) SetDefaults()
SetDefaults hydrates default values in the list tags params (not the query body).
All values with no default are reset to their zero value.
func (*ListTagsParams) SetHTTPClient ¶
func (o *ListTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list tags params
func (*ListTagsParams) SetPage ¶
func (o *ListTagsParams) SetPage(page *int64)
SetPage adds the page to the list tags params
func (*ListTagsParams) SetPageSize ¶
func (o *ListTagsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list tags params
func (*ListTagsParams) SetProjectName ¶
func (o *ListTagsParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the list tags params
func (*ListTagsParams) SetQ ¶
func (o *ListTagsParams) SetQ(q *string)
SetQ adds the q to the list tags params
func (*ListTagsParams) SetReference ¶
func (o *ListTagsParams) SetReference(reference string)
SetReference adds the reference to the list tags params
func (*ListTagsParams) SetRepositoryName ¶
func (o *ListTagsParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the list tags params
func (*ListTagsParams) SetSort ¶
func (o *ListTagsParams) SetSort(sort *string)
SetSort adds the sort to the list tags params
func (*ListTagsParams) SetTimeout ¶
func (o *ListTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list tags params
func (*ListTagsParams) SetWithImmutableStatus ¶
func (o *ListTagsParams) SetWithImmutableStatus(withImmutableStatus *bool)
SetWithImmutableStatus adds the withImmutableStatus to the list tags params
func (*ListTagsParams) SetWithSignature ¶
func (o *ListTagsParams) SetWithSignature(withSignature *bool)
SetWithSignature adds the withSignature to the list tags params
func (*ListTagsParams) SetXRequestID ¶
func (o *ListTagsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list tags params
func (*ListTagsParams) WithContext ¶
func (o *ListTagsParams) WithContext(ctx context.Context) *ListTagsParams
WithContext adds the context to the list tags params
func (*ListTagsParams) WithDefaults ¶
func (o *ListTagsParams) WithDefaults() *ListTagsParams
WithDefaults hydrates default values in the list tags params (not the query body).
All values with no default are reset to their zero value.
func (*ListTagsParams) WithHTTPClient ¶
func (o *ListTagsParams) WithHTTPClient(client *http.Client) *ListTagsParams
WithHTTPClient adds the HTTPClient to the list tags params
func (*ListTagsParams) WithPage ¶
func (o *ListTagsParams) WithPage(page *int64) *ListTagsParams
WithPage adds the page to the list tags params
func (*ListTagsParams) WithPageSize ¶
func (o *ListTagsParams) WithPageSize(pageSize *int64) *ListTagsParams
WithPageSize adds the pageSize to the list tags params
func (*ListTagsParams) WithProjectName ¶
func (o *ListTagsParams) WithProjectName(projectName string) *ListTagsParams
WithProjectName adds the projectName to the list tags params
func (*ListTagsParams) WithQ ¶
func (o *ListTagsParams) WithQ(q *string) *ListTagsParams
WithQ adds the q to the list tags params
func (*ListTagsParams) WithReference ¶
func (o *ListTagsParams) WithReference(reference string) *ListTagsParams
WithReference adds the reference to the list tags params
func (*ListTagsParams) WithRepositoryName ¶
func (o *ListTagsParams) WithRepositoryName(repositoryName string) *ListTagsParams
WithRepositoryName adds the repositoryName to the list tags params
func (*ListTagsParams) WithSort ¶
func (o *ListTagsParams) WithSort(sort *string) *ListTagsParams
WithSort adds the sort to the list tags params
func (*ListTagsParams) WithTimeout ¶
func (o *ListTagsParams) WithTimeout(timeout time.Duration) *ListTagsParams
WithTimeout adds the timeout to the list tags params
func (*ListTagsParams) WithWithImmutableStatus ¶
func (o *ListTagsParams) WithWithImmutableStatus(withImmutableStatus *bool) *ListTagsParams
WithWithImmutableStatus adds the withImmutableStatus to the list tags params
func (*ListTagsParams) WithWithSignature ¶
func (o *ListTagsParams) WithWithSignature(withSignature *bool) *ListTagsParams
WithWithSignature adds the withSignature to the list tags params
func (*ListTagsParams) WithXRequestID ¶
func (o *ListTagsParams) WithXRequestID(xRequestID *string) *ListTagsParams
WithXRequestID adds the xRequestID to the list tags params
func (*ListTagsParams) WriteToRequest ¶
func (o *ListTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTagsReader ¶
type ListTagsReader struct {
// contains filtered or unexported fields
}
ListTagsReader is a Reader for the ListTags structure.
func (*ListTagsReader) ReadResponse ¶
func (o *ListTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTagsUnauthorized ¶
type ListTagsUnauthorized struct { string }XRequestID
ListTagsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListTagsUnauthorized ¶
func NewListTagsUnauthorized() *ListTagsUnauthorized
NewListTagsUnauthorized creates a ListTagsUnauthorized with default headers values
func (*ListTagsUnauthorized) Error ¶
func (o *ListTagsUnauthorized) Error() string
func (*ListTagsUnauthorized) GetPayload ¶
func (o *ListTagsUnauthorized) GetPayload() *models.Errors
func (*ListTagsUnauthorized) IsClientError ¶ added in v0.26.2
func (o *ListTagsUnauthorized) IsClientError() bool
IsClientError returns true when this list tags unauthorized response has a 4xx status code
func (*ListTagsUnauthorized) IsCode ¶ added in v0.26.2
func (o *ListTagsUnauthorized) IsCode(code int) bool
IsCode returns true when this list tags unauthorized response a status code equal to that given
func (*ListTagsUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *ListTagsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list tags unauthorized response has a 3xx status code
func (*ListTagsUnauthorized) IsServerError ¶ added in v0.26.2
func (o *ListTagsUnauthorized) IsServerError() bool
IsServerError returns true when this list tags unauthorized response has a 5xx status code
func (*ListTagsUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *ListTagsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list tags unauthorized response has a 2xx status code
func (*ListTagsUnauthorized) String ¶ added in v0.26.2
func (o *ListTagsUnauthorized) String() string
type RemoveLabelConflict ¶
type RemoveLabelConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
RemoveLabelConflict describes a response with status code 409, with default header values.
Conflict
func NewRemoveLabelConflict ¶
func NewRemoveLabelConflict() *RemoveLabelConflict
NewRemoveLabelConflict creates a RemoveLabelConflict with default headers values
func (*RemoveLabelConflict) Error ¶
func (o *RemoveLabelConflict) Error() string
func (*RemoveLabelConflict) GetPayload ¶
func (o *RemoveLabelConflict) GetPayload() *models.Errors
func (*RemoveLabelConflict) IsClientError ¶ added in v0.26.2
func (o *RemoveLabelConflict) IsClientError() bool
IsClientError returns true when this remove label conflict response has a 4xx status code
func (*RemoveLabelConflict) IsCode ¶ added in v0.26.2
func (o *RemoveLabelConflict) IsCode(code int) bool
IsCode returns true when this remove label conflict response a status code equal to that given
func (*RemoveLabelConflict) IsRedirect ¶ added in v0.26.2
func (o *RemoveLabelConflict) IsRedirect() bool
IsRedirect returns true when this remove label conflict response has a 3xx status code
func (*RemoveLabelConflict) IsServerError ¶ added in v0.26.2
func (o *RemoveLabelConflict) IsServerError() bool
IsServerError returns true when this remove label conflict response has a 5xx status code
func (*RemoveLabelConflict) IsSuccess ¶ added in v0.26.2
func (o *RemoveLabelConflict) IsSuccess() bool
IsSuccess returns true when this remove label conflict response has a 2xx status code
func (*RemoveLabelConflict) String ¶ added in v0.26.2
func (o *RemoveLabelConflict) String() string
type RemoveLabelForbidden ¶
type RemoveLabelForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
RemoveLabelForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRemoveLabelForbidden ¶
func NewRemoveLabelForbidden() *RemoveLabelForbidden
NewRemoveLabelForbidden creates a RemoveLabelForbidden with default headers values
func (*RemoveLabelForbidden) Error ¶
func (o *RemoveLabelForbidden) Error() string
func (*RemoveLabelForbidden) GetPayload ¶
func (o *RemoveLabelForbidden) GetPayload() *models.Errors
func (*RemoveLabelForbidden) IsClientError ¶ added in v0.26.2
func (o *RemoveLabelForbidden) IsClientError() bool
IsClientError returns true when this remove label forbidden response has a 4xx status code
func (*RemoveLabelForbidden) IsCode ¶ added in v0.26.2
func (o *RemoveLabelForbidden) IsCode(code int) bool
IsCode returns true when this remove label forbidden response a status code equal to that given
func (*RemoveLabelForbidden) IsRedirect ¶ added in v0.26.2
func (o *RemoveLabelForbidden) IsRedirect() bool
IsRedirect returns true when this remove label forbidden response has a 3xx status code
func (*RemoveLabelForbidden) IsServerError ¶ added in v0.26.2
func (o *RemoveLabelForbidden) IsServerError() bool
IsServerError returns true when this remove label forbidden response has a 5xx status code
func (*RemoveLabelForbidden) IsSuccess ¶ added in v0.26.2
func (o *RemoveLabelForbidden) IsSuccess() bool
IsSuccess returns true when this remove label forbidden response has a 2xx status code
func (*RemoveLabelForbidden) String ¶ added in v0.26.2
func (o *RemoveLabelForbidden) String() string
type RemoveLabelInternalServerError ¶
type RemoveLabelInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
RemoveLabelInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewRemoveLabelInternalServerError ¶
func NewRemoveLabelInternalServerError() *RemoveLabelInternalServerError
NewRemoveLabelInternalServerError creates a RemoveLabelInternalServerError with default headers values
func (*RemoveLabelInternalServerError) Error ¶
func (o *RemoveLabelInternalServerError) Error() string
func (*RemoveLabelInternalServerError) GetPayload ¶
func (o *RemoveLabelInternalServerError) GetPayload() *models.Errors
func (*RemoveLabelInternalServerError) IsClientError ¶ added in v0.26.2
func (o *RemoveLabelInternalServerError) IsClientError() bool
IsClientError returns true when this remove label internal server error response has a 4xx status code
func (*RemoveLabelInternalServerError) IsCode ¶ added in v0.26.2
func (o *RemoveLabelInternalServerError) IsCode(code int) bool
IsCode returns true when this remove label internal server error response a status code equal to that given
func (*RemoveLabelInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *RemoveLabelInternalServerError) IsRedirect() bool
IsRedirect returns true when this remove label internal server error response has a 3xx status code
func (*RemoveLabelInternalServerError) IsServerError ¶ added in v0.26.2
func (o *RemoveLabelInternalServerError) IsServerError() bool
IsServerError returns true when this remove label internal server error response has a 5xx status code
func (*RemoveLabelInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *RemoveLabelInternalServerError) IsSuccess() bool
IsSuccess returns true when this remove label internal server error response has a 2xx status code
func (*RemoveLabelInternalServerError) String ¶ added in v0.26.2
func (o *RemoveLabelInternalServerError) String() string
type RemoveLabelNotFound ¶
type RemoveLabelNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
RemoveLabelNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveLabelNotFound ¶
func NewRemoveLabelNotFound() *RemoveLabelNotFound
NewRemoveLabelNotFound creates a RemoveLabelNotFound with default headers values
func (*RemoveLabelNotFound) Error ¶
func (o *RemoveLabelNotFound) Error() string
func (*RemoveLabelNotFound) GetPayload ¶
func (o *RemoveLabelNotFound) GetPayload() *models.Errors
func (*RemoveLabelNotFound) IsClientError ¶ added in v0.26.2
func (o *RemoveLabelNotFound) IsClientError() bool
IsClientError returns true when this remove label not found response has a 4xx status code
func (*RemoveLabelNotFound) IsCode ¶ added in v0.26.2
func (o *RemoveLabelNotFound) IsCode(code int) bool
IsCode returns true when this remove label not found response a status code equal to that given
func (*RemoveLabelNotFound) IsRedirect ¶ added in v0.26.2
func (o *RemoveLabelNotFound) IsRedirect() bool
IsRedirect returns true when this remove label not found response has a 3xx status code
func (*RemoveLabelNotFound) IsServerError ¶ added in v0.26.2
func (o *RemoveLabelNotFound) IsServerError() bool
IsServerError returns true when this remove label not found response has a 5xx status code
func (*RemoveLabelNotFound) IsSuccess ¶ added in v0.26.2
func (o *RemoveLabelNotFound) IsSuccess() bool
IsSuccess returns true when this remove label not found response has a 2xx status code
func (*RemoveLabelNotFound) String ¶ added in v0.26.2
func (o *RemoveLabelNotFound) String() string
type RemoveLabelOK ¶
type RemoveLabelOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
RemoveLabelOK describes a response with status code 200, with default header values.
Success
func NewRemoveLabelOK ¶
func NewRemoveLabelOK() *RemoveLabelOK
NewRemoveLabelOK creates a RemoveLabelOK with default headers values
func (*RemoveLabelOK) Error ¶
func (o *RemoveLabelOK) Error() string
func (*RemoveLabelOK) IsClientError ¶ added in v0.26.2
func (o *RemoveLabelOK) IsClientError() bool
IsClientError returns true when this remove label o k response has a 4xx status code
func (*RemoveLabelOK) IsCode ¶ added in v0.26.2
func (o *RemoveLabelOK) IsCode(code int) bool
IsCode returns true when this remove label o k response a status code equal to that given
func (*RemoveLabelOK) IsRedirect ¶ added in v0.26.2
func (o *RemoveLabelOK) IsRedirect() bool
IsRedirect returns true when this remove label o k response has a 3xx status code
func (*RemoveLabelOK) IsServerError ¶ added in v0.26.2
func (o *RemoveLabelOK) IsServerError() bool
IsServerError returns true when this remove label o k response has a 5xx status code
func (*RemoveLabelOK) IsSuccess ¶ added in v0.26.2
func (o *RemoveLabelOK) IsSuccess() bool
IsSuccess returns true when this remove label o k response has a 2xx status code
func (*RemoveLabelOK) String ¶ added in v0.26.2
func (o *RemoveLabelOK) String() string
type RemoveLabelParams ¶
type RemoveLabelParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* LabelID. The ID of the label that removed from the artifact. Format: int64 */ LabelID int64 /* ProjectName. The name of the project */ ProjectName string /* Reference. The reference of the artifact, can be digest or tag */ Reference string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveLabelParams contains all the parameters to send to the API endpoint
for the remove label operation. Typically these are written to a http.Request.
func NewRemoveLabelParams ¶
func NewRemoveLabelParams() *RemoveLabelParams
NewRemoveLabelParams creates a new RemoveLabelParams 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 NewRemoveLabelParamsWithContext ¶
func NewRemoveLabelParamsWithContext(ctx context.Context) *RemoveLabelParams
NewRemoveLabelParamsWithContext creates a new RemoveLabelParams object with the ability to set a context for a request.
func NewRemoveLabelParamsWithHTTPClient ¶
func NewRemoveLabelParamsWithHTTPClient(client *http.Client) *RemoveLabelParams
NewRemoveLabelParamsWithHTTPClient creates a new RemoveLabelParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveLabelParamsWithTimeout ¶
func NewRemoveLabelParamsWithTimeout(timeout time.Duration) *RemoveLabelParams
NewRemoveLabelParamsWithTimeout creates a new RemoveLabelParams object with the ability to set a timeout on a request.
func (*RemoveLabelParams) SetContext ¶
func (o *RemoveLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the remove label params
func (*RemoveLabelParams) SetDefaults ¶
func (o *RemoveLabelParams) SetDefaults()
SetDefaults hydrates default values in the remove label params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveLabelParams) SetHTTPClient ¶
func (o *RemoveLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove label params
func (*RemoveLabelParams) SetLabelID ¶
func (o *RemoveLabelParams) SetLabelID(labelID int64)
SetLabelID adds the labelId to the remove label params
func (*RemoveLabelParams) SetProjectName ¶
func (o *RemoveLabelParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the remove label params
func (*RemoveLabelParams) SetReference ¶
func (o *RemoveLabelParams) SetReference(reference string)
SetReference adds the reference to the remove label params
func (*RemoveLabelParams) SetRepositoryName ¶
func (o *RemoveLabelParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the remove label params
func (*RemoveLabelParams) SetTimeout ¶
func (o *RemoveLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove label params
func (*RemoveLabelParams) SetXRequestID ¶
func (o *RemoveLabelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the remove label params
func (*RemoveLabelParams) WithContext ¶
func (o *RemoveLabelParams) WithContext(ctx context.Context) *RemoveLabelParams
WithContext adds the context to the remove label params
func (*RemoveLabelParams) WithDefaults ¶
func (o *RemoveLabelParams) WithDefaults() *RemoveLabelParams
WithDefaults hydrates default values in the remove label params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveLabelParams) WithHTTPClient ¶
func (o *RemoveLabelParams) WithHTTPClient(client *http.Client) *RemoveLabelParams
WithHTTPClient adds the HTTPClient to the remove label params
func (*RemoveLabelParams) WithLabelID ¶
func (o *RemoveLabelParams) WithLabelID(labelID int64) *RemoveLabelParams
WithLabelID adds the labelID to the remove label params
func (*RemoveLabelParams) WithProjectName ¶
func (o *RemoveLabelParams) WithProjectName(projectName string) *RemoveLabelParams
WithProjectName adds the projectName to the remove label params
func (*RemoveLabelParams) WithReference ¶
func (o *RemoveLabelParams) WithReference(reference string) *RemoveLabelParams
WithReference adds the reference to the remove label params
func (*RemoveLabelParams) WithRepositoryName ¶
func (o *RemoveLabelParams) WithRepositoryName(repositoryName string) *RemoveLabelParams
WithRepositoryName adds the repositoryName to the remove label params
func (*RemoveLabelParams) WithTimeout ¶
func (o *RemoveLabelParams) WithTimeout(timeout time.Duration) *RemoveLabelParams
WithTimeout adds the timeout to the remove label params
func (*RemoveLabelParams) WithXRequestID ¶
func (o *RemoveLabelParams) WithXRequestID(xRequestID *string) *RemoveLabelParams
WithXRequestID adds the xRequestID to the remove label params
func (*RemoveLabelParams) WriteToRequest ¶
func (o *RemoveLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveLabelReader ¶
type RemoveLabelReader struct {
// contains filtered or unexported fields
}
RemoveLabelReader is a Reader for the RemoveLabel structure.
func (*RemoveLabelReader) ReadResponse ¶
func (o *RemoveLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveLabelUnauthorized ¶
type RemoveLabelUnauthorized struct { string }XRequestID
RemoveLabelUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRemoveLabelUnauthorized ¶
func NewRemoveLabelUnauthorized() *RemoveLabelUnauthorized
NewRemoveLabelUnauthorized creates a RemoveLabelUnauthorized with default headers values
func (*RemoveLabelUnauthorized) Error ¶
func (o *RemoveLabelUnauthorized) Error() string
func (*RemoveLabelUnauthorized) GetPayload ¶
func (o *RemoveLabelUnauthorized) GetPayload() *models.Errors
func (*RemoveLabelUnauthorized) IsClientError ¶ added in v0.26.2
func (o *RemoveLabelUnauthorized) IsClientError() bool
IsClientError returns true when this remove label unauthorized response has a 4xx status code
func (*RemoveLabelUnauthorized) IsCode ¶ added in v0.26.2
func (o *RemoveLabelUnauthorized) IsCode(code int) bool
IsCode returns true when this remove label unauthorized response a status code equal to that given
func (*RemoveLabelUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *RemoveLabelUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove label unauthorized response has a 3xx status code
func (*RemoveLabelUnauthorized) IsServerError ¶ added in v0.26.2
func (o *RemoveLabelUnauthorized) IsServerError() bool
IsServerError returns true when this remove label unauthorized response has a 5xx status code
func (*RemoveLabelUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *RemoveLabelUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove label unauthorized response has a 2xx status code
func (*RemoveLabelUnauthorized) String ¶ added in v0.26.2
func (o *RemoveLabelUnauthorized) String() string
Source Files ¶
- add_label_parameters.go
- add_label_responses.go
- artifact_client.go
- copy_artifact_parameters.go
- copy_artifact_responses.go
- create_tag_parameters.go
- create_tag_responses.go
- delete_artifact_parameters.go
- delete_artifact_responses.go
- delete_tag_parameters.go
- delete_tag_responses.go
- get_addition_parameters.go
- get_addition_responses.go
- get_artifact_parameters.go
- get_artifact_responses.go
- get_vulnerabilities_addition_parameters.go
- get_vulnerabilities_addition_responses.go
- list_accessories_parameters.go
- list_accessories_responses.go
- list_artifacts_parameters.go
- list_artifacts_responses.go
- list_tags_parameters.go
- list_tags_responses.go
- remove_label_parameters.go
- remove_label_responses.go