Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) CreateProject(ctx context.Context, params *CreateProjectParams) (*CreateProjectCreated, error)
- func (a *Client) DeleteProject(ctx context.Context, params *DeleteProjectParams) (*DeleteProjectOK, error)
- func (a *Client) GetLogs(ctx context.Context, params *GetLogsParams) (*GetLogsOK, error)
- func (a *Client) GetProject(ctx context.Context, params *GetProjectParams) (*GetProjectOK, error)
- func (a *Client) GetProjectDeletable(ctx context.Context, params *GetProjectDeletableParams) (*GetProjectDeletableOK, error)
- func (a *Client) GetProjectSummary(ctx context.Context, params *GetProjectSummaryParams) (*GetProjectSummaryOK, error)
- func (a *Client) GetScannerOfProject(ctx context.Context, params *GetScannerOfProjectParams) (*GetScannerOfProjectOK, error)
- func (a *Client) HeadProject(ctx context.Context, params *HeadProjectParams) (*HeadProjectOK, error)
- func (a *Client) ListArtifactsOfProject(ctx context.Context, params *ListArtifactsOfProjectParams) (*ListArtifactsOfProjectOK, error)
- func (a *Client) ListProjects(ctx context.Context, params *ListProjectsParams) (*ListProjectsOK, error)
- func (a *Client) ListScannerCandidatesOfProject(ctx context.Context, params *ListScannerCandidatesOfProjectParams) (*ListScannerCandidatesOfProjectOK, error)
- func (a *Client) SetScannerOfProject(ctx context.Context, params *SetScannerOfProjectParams) (*SetScannerOfProjectOK, error)
- func (a *Client) UpdateProject(ctx context.Context, params *UpdateProjectParams) (*UpdateProjectOK, error)
- type CreateProjectBadRequest
- func (o *CreateProjectBadRequest) Error() string
- func (o *CreateProjectBadRequest) GetPayload() *models.Errors
- func (o *CreateProjectBadRequest) IsClientError() bool
- func (o *CreateProjectBadRequest) IsCode(code int) bool
- func (o *CreateProjectBadRequest) IsRedirect() bool
- func (o *CreateProjectBadRequest) IsServerError() bool
- func (o *CreateProjectBadRequest) IsSuccess() bool
- func (o *CreateProjectBadRequest) String() string
- type CreateProjectConflict
- func (o *CreateProjectConflict) Error() string
- func (o *CreateProjectConflict) GetPayload() *models.Errors
- func (o *CreateProjectConflict) IsClientError() bool
- func (o *CreateProjectConflict) IsCode(code int) bool
- func (o *CreateProjectConflict) IsRedirect() bool
- func (o *CreateProjectConflict) IsServerError() bool
- func (o *CreateProjectConflict) IsSuccess() bool
- func (o *CreateProjectConflict) String() string
- type CreateProjectCreated
- func (o *CreateProjectCreated) Error() string
- func (o *CreateProjectCreated) IsClientError() bool
- func (o *CreateProjectCreated) IsCode(code int) bool
- func (o *CreateProjectCreated) IsRedirect() bool
- func (o *CreateProjectCreated) IsServerError() bool
- func (o *CreateProjectCreated) IsSuccess() bool
- func (o *CreateProjectCreated) String() string
- type CreateProjectInternalServerError
- func (o *CreateProjectInternalServerError) Error() string
- func (o *CreateProjectInternalServerError) GetPayload() *models.Errors
- func (o *CreateProjectInternalServerError) IsClientError() bool
- func (o *CreateProjectInternalServerError) IsCode(code int) bool
- func (o *CreateProjectInternalServerError) IsRedirect() bool
- func (o *CreateProjectInternalServerError) IsServerError() bool
- func (o *CreateProjectInternalServerError) IsSuccess() bool
- func (o *CreateProjectInternalServerError) String() string
- type CreateProjectParams
- func (o *CreateProjectParams) SetContext(ctx context.Context)
- func (o *CreateProjectParams) SetDefaults()
- func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectParams) SetProject(project *models.ProjectReq)
- func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectParams) SetXRequestID(xRequestID *string)
- func (o *CreateProjectParams) SetXResourceNameInLocation(xResourceNameInLocation *bool)
- func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
- func (o *CreateProjectParams) WithDefaults() *CreateProjectParams
- func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
- func (o *CreateProjectParams) WithProject(project *models.ProjectReq) *CreateProjectParams
- func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
- func (o *CreateProjectParams) WithXRequestID(xRequestID *string) *CreateProjectParams
- func (o *CreateProjectParams) WithXResourceNameInLocation(xResourceNameInLocation *bool) *CreateProjectParams
- func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectReader
- type CreateProjectUnauthorized
- func (o *CreateProjectUnauthorized) Error() string
- func (o *CreateProjectUnauthorized) GetPayload() *models.Errors
- func (o *CreateProjectUnauthorized) IsClientError() bool
- func (o *CreateProjectUnauthorized) IsCode(code int) bool
- func (o *CreateProjectUnauthorized) IsRedirect() bool
- func (o *CreateProjectUnauthorized) IsServerError() bool
- func (o *CreateProjectUnauthorized) IsSuccess() bool
- func (o *CreateProjectUnauthorized) String() string
- type DeleteProjectBadRequest
- func (o *DeleteProjectBadRequest) Error() string
- func (o *DeleteProjectBadRequest) GetPayload() *models.Errors
- func (o *DeleteProjectBadRequest) IsClientError() bool
- func (o *DeleteProjectBadRequest) IsCode(code int) bool
- func (o *DeleteProjectBadRequest) IsRedirect() bool
- func (o *DeleteProjectBadRequest) IsServerError() bool
- func (o *DeleteProjectBadRequest) IsSuccess() bool
- func (o *DeleteProjectBadRequest) String() string
- type DeleteProjectForbidden
- func (o *DeleteProjectForbidden) Error() string
- func (o *DeleteProjectForbidden) GetPayload() *models.Errors
- func (o *DeleteProjectForbidden) IsClientError() bool
- func (o *DeleteProjectForbidden) IsCode(code int) bool
- func (o *DeleteProjectForbidden) IsRedirect() bool
- func (o *DeleteProjectForbidden) IsServerError() bool
- func (o *DeleteProjectForbidden) IsSuccess() bool
- func (o *DeleteProjectForbidden) String() string
- type DeleteProjectInternalServerError
- func (o *DeleteProjectInternalServerError) Error() string
- func (o *DeleteProjectInternalServerError) GetPayload() *models.Errors
- func (o *DeleteProjectInternalServerError) IsClientError() bool
- func (o *DeleteProjectInternalServerError) IsCode(code int) bool
- func (o *DeleteProjectInternalServerError) IsRedirect() bool
- func (o *DeleteProjectInternalServerError) IsServerError() bool
- func (o *DeleteProjectInternalServerError) IsSuccess() bool
- func (o *DeleteProjectInternalServerError) String() string
- type DeleteProjectNotFound
- func (o *DeleteProjectNotFound) Error() string
- func (o *DeleteProjectNotFound) GetPayload() *models.Errors
- func (o *DeleteProjectNotFound) IsClientError() bool
- func (o *DeleteProjectNotFound) IsCode(code int) bool
- func (o *DeleteProjectNotFound) IsRedirect() bool
- func (o *DeleteProjectNotFound) IsServerError() bool
- func (o *DeleteProjectNotFound) IsSuccess() bool
- func (o *DeleteProjectNotFound) String() string
- type DeleteProjectOK
- func (o *DeleteProjectOK) Error() string
- func (o *DeleteProjectOK) IsClientError() bool
- func (o *DeleteProjectOK) IsCode(code int) bool
- func (o *DeleteProjectOK) IsRedirect() bool
- func (o *DeleteProjectOK) IsServerError() bool
- func (o *DeleteProjectOK) IsSuccess() bool
- func (o *DeleteProjectOK) String() string
- type DeleteProjectParams
- func (o *DeleteProjectParams) SetContext(ctx context.Context)
- func (o *DeleteProjectParams) SetDefaults()
- func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *DeleteProjectParams) SetXRequestID(xRequestID *string)
- func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
- func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams
- func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
- func (o *DeleteProjectParams) WithProjectNameOrID(projectNameOrID string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
- func (o *DeleteProjectParams) WithXIsResourceName(xIsResourceName *bool) *DeleteProjectParams
- func (o *DeleteProjectParams) WithXRequestID(xRequestID *string) *DeleteProjectParams
- func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectPreconditionFailed
- func (o *DeleteProjectPreconditionFailed) Error() string
- func (o *DeleteProjectPreconditionFailed) GetPayload() *models.Errors
- func (o *DeleteProjectPreconditionFailed) IsClientError() bool
- func (o *DeleteProjectPreconditionFailed) IsCode(code int) bool
- func (o *DeleteProjectPreconditionFailed) IsRedirect() bool
- func (o *DeleteProjectPreconditionFailed) IsServerError() bool
- func (o *DeleteProjectPreconditionFailed) IsSuccess() bool
- func (o *DeleteProjectPreconditionFailed) String() string
- type DeleteProjectReader
- type GetLogsBadRequest
- func (o *GetLogsBadRequest) Error() string
- func (o *GetLogsBadRequest) GetPayload() *models.Errors
- func (o *GetLogsBadRequest) IsClientError() bool
- func (o *GetLogsBadRequest) IsCode(code int) bool
- func (o *GetLogsBadRequest) IsRedirect() bool
- func (o *GetLogsBadRequest) IsServerError() bool
- func (o *GetLogsBadRequest) IsSuccess() bool
- func (o *GetLogsBadRequest) String() string
- type GetLogsInternalServerError
- func (o *GetLogsInternalServerError) Error() string
- func (o *GetLogsInternalServerError) GetPayload() *models.Errors
- func (o *GetLogsInternalServerError) IsClientError() bool
- func (o *GetLogsInternalServerError) IsCode(code int) bool
- func (o *GetLogsInternalServerError) IsRedirect() bool
- func (o *GetLogsInternalServerError) IsServerError() bool
- func (o *GetLogsInternalServerError) IsSuccess() bool
- func (o *GetLogsInternalServerError) String() string
- type GetLogsOK
- func (o *GetLogsOK) Error() string
- func (o *GetLogsOK) GetPayload() []*models.AuditLog
- func (o *GetLogsOK) IsClientError() bool
- func (o *GetLogsOK) IsCode(code int) bool
- func (o *GetLogsOK) IsRedirect() bool
- func (o *GetLogsOK) IsServerError() bool
- func (o *GetLogsOK) IsSuccess() bool
- func (o *GetLogsOK) String() string
- type GetLogsParams
- func (o *GetLogsParams) SetContext(ctx context.Context)
- func (o *GetLogsParams) SetDefaults()
- func (o *GetLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetLogsParams) SetPage(page *int64)
- func (o *GetLogsParams) SetPageSize(pageSize *int64)
- func (o *GetLogsParams) SetProjectName(projectName string)
- func (o *GetLogsParams) SetQ(q *string)
- func (o *GetLogsParams) SetSort(sort *string)
- func (o *GetLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetLogsParams) SetXRequestID(xRequestID *string)
- func (o *GetLogsParams) WithContext(ctx context.Context) *GetLogsParams
- func (o *GetLogsParams) WithDefaults() *GetLogsParams
- func (o *GetLogsParams) WithHTTPClient(client *http.Client) *GetLogsParams
- func (o *GetLogsParams) WithPage(page *int64) *GetLogsParams
- func (o *GetLogsParams) WithPageSize(pageSize *int64) *GetLogsParams
- func (o *GetLogsParams) WithProjectName(projectName string) *GetLogsParams
- func (o *GetLogsParams) WithQ(q *string) *GetLogsParams
- func (o *GetLogsParams) WithSort(sort *string) *GetLogsParams
- func (o *GetLogsParams) WithTimeout(timeout time.Duration) *GetLogsParams
- func (o *GetLogsParams) WithXRequestID(xRequestID *string) *GetLogsParams
- func (o *GetLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogsReader
- type GetLogsUnauthorized
- func (o *GetLogsUnauthorized) Error() string
- func (o *GetLogsUnauthorized) GetPayload() *models.Errors
- func (o *GetLogsUnauthorized) IsClientError() bool
- func (o *GetLogsUnauthorized) IsCode(code int) bool
- func (o *GetLogsUnauthorized) IsRedirect() bool
- func (o *GetLogsUnauthorized) IsServerError() bool
- func (o *GetLogsUnauthorized) IsSuccess() bool
- func (o *GetLogsUnauthorized) String() string
- type GetProjectDeletableForbidden
- func (o *GetProjectDeletableForbidden) Error() string
- func (o *GetProjectDeletableForbidden) GetPayload() *models.Errors
- func (o *GetProjectDeletableForbidden) IsClientError() bool
- func (o *GetProjectDeletableForbidden) IsCode(code int) bool
- func (o *GetProjectDeletableForbidden) IsRedirect() bool
- func (o *GetProjectDeletableForbidden) IsServerError() bool
- func (o *GetProjectDeletableForbidden) IsSuccess() bool
- func (o *GetProjectDeletableForbidden) String() string
- type GetProjectDeletableInternalServerError
- func (o *GetProjectDeletableInternalServerError) Error() string
- func (o *GetProjectDeletableInternalServerError) GetPayload() *models.Errors
- func (o *GetProjectDeletableInternalServerError) IsClientError() bool
- func (o *GetProjectDeletableInternalServerError) IsCode(code int) bool
- func (o *GetProjectDeletableInternalServerError) IsRedirect() bool
- func (o *GetProjectDeletableInternalServerError) IsServerError() bool
- func (o *GetProjectDeletableInternalServerError) IsSuccess() bool
- func (o *GetProjectDeletableInternalServerError) String() string
- type GetProjectDeletableNotFound
- func (o *GetProjectDeletableNotFound) Error() string
- func (o *GetProjectDeletableNotFound) GetPayload() *models.Errors
- func (o *GetProjectDeletableNotFound) IsClientError() bool
- func (o *GetProjectDeletableNotFound) IsCode(code int) bool
- func (o *GetProjectDeletableNotFound) IsRedirect() bool
- func (o *GetProjectDeletableNotFound) IsServerError() bool
- func (o *GetProjectDeletableNotFound) IsSuccess() bool
- func (o *GetProjectDeletableNotFound) String() string
- type GetProjectDeletableOK
- func (o *GetProjectDeletableOK) Error() string
- func (o *GetProjectDeletableOK) GetPayload() *models.ProjectDeletable
- func (o *GetProjectDeletableOK) IsClientError() bool
- func (o *GetProjectDeletableOK) IsCode(code int) bool
- func (o *GetProjectDeletableOK) IsRedirect() bool
- func (o *GetProjectDeletableOK) IsServerError() bool
- func (o *GetProjectDeletableOK) IsSuccess() bool
- func (o *GetProjectDeletableOK) String() string
- type GetProjectDeletableParams
- func NewGetProjectDeletableParams() *GetProjectDeletableParams
- func NewGetProjectDeletableParamsWithContext(ctx context.Context) *GetProjectDeletableParams
- func NewGetProjectDeletableParamsWithHTTPClient(client *http.Client) *GetProjectDeletableParams
- func NewGetProjectDeletableParamsWithTimeout(timeout time.Duration) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) SetContext(ctx context.Context)
- func (o *GetProjectDeletableParams) SetDefaults()
- func (o *GetProjectDeletableParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectDeletableParams) SetProjectNameOrID(projectNameOrID string)
- func (o *GetProjectDeletableParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectDeletableParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *GetProjectDeletableParams) SetXRequestID(xRequestID *string)
- func (o *GetProjectDeletableParams) WithContext(ctx context.Context) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WithDefaults() *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WithHTTPClient(client *http.Client) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WithProjectNameOrID(projectNameOrID string) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WithTimeout(timeout time.Duration) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WithXRequestID(xRequestID *string) *GetProjectDeletableParams
- func (o *GetProjectDeletableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectDeletableReader
- type GetProjectDeletableUnauthorized
- func (o *GetProjectDeletableUnauthorized) Error() string
- func (o *GetProjectDeletableUnauthorized) GetPayload() *models.Errors
- func (o *GetProjectDeletableUnauthorized) IsClientError() bool
- func (o *GetProjectDeletableUnauthorized) IsCode(code int) bool
- func (o *GetProjectDeletableUnauthorized) IsRedirect() bool
- func (o *GetProjectDeletableUnauthorized) IsServerError() bool
- func (o *GetProjectDeletableUnauthorized) IsSuccess() bool
- func (o *GetProjectDeletableUnauthorized) String() string
- type GetProjectInternalServerError
- func (o *GetProjectInternalServerError) Error() string
- func (o *GetProjectInternalServerError) GetPayload() *models.Errors
- func (o *GetProjectInternalServerError) IsClientError() bool
- func (o *GetProjectInternalServerError) IsCode(code int) bool
- func (o *GetProjectInternalServerError) IsRedirect() bool
- func (o *GetProjectInternalServerError) IsServerError() bool
- func (o *GetProjectInternalServerError) IsSuccess() bool
- func (o *GetProjectInternalServerError) String() string
- type GetProjectOK
- func (o *GetProjectOK) Error() string
- func (o *GetProjectOK) GetPayload() *models.Project
- func (o *GetProjectOK) IsClientError() bool
- func (o *GetProjectOK) IsCode(code int) bool
- func (o *GetProjectOK) IsRedirect() bool
- func (o *GetProjectOK) IsServerError() bool
- func (o *GetProjectOK) IsSuccess() bool
- func (o *GetProjectOK) String() string
- type GetProjectParams
- func (o *GetProjectParams) SetContext(ctx context.Context)
- func (o *GetProjectParams) SetDefaults()
- func (o *GetProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *GetProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *GetProjectParams) SetXRequestID(xRequestID *string)
- func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
- func (o *GetProjectParams) WithDefaults() *GetProjectParams
- func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
- func (o *GetProjectParams) WithProjectNameOrID(projectNameOrID string) *GetProjectParams
- func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
- func (o *GetProjectParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectParams
- func (o *GetProjectParams) WithXRequestID(xRequestID *string) *GetProjectParams
- func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectReader
- type GetProjectSummaryBadRequest
- func (o *GetProjectSummaryBadRequest) Error() string
- func (o *GetProjectSummaryBadRequest) GetPayload() *models.Errors
- func (o *GetProjectSummaryBadRequest) IsClientError() bool
- func (o *GetProjectSummaryBadRequest) IsCode(code int) bool
- func (o *GetProjectSummaryBadRequest) IsRedirect() bool
- func (o *GetProjectSummaryBadRequest) IsServerError() bool
- func (o *GetProjectSummaryBadRequest) IsSuccess() bool
- func (o *GetProjectSummaryBadRequest) String() string
- type GetProjectSummaryForbidden
- func (o *GetProjectSummaryForbidden) Error() string
- func (o *GetProjectSummaryForbidden) GetPayload() *models.Errors
- func (o *GetProjectSummaryForbidden) IsClientError() bool
- func (o *GetProjectSummaryForbidden) IsCode(code int) bool
- func (o *GetProjectSummaryForbidden) IsRedirect() bool
- func (o *GetProjectSummaryForbidden) IsServerError() bool
- func (o *GetProjectSummaryForbidden) IsSuccess() bool
- func (o *GetProjectSummaryForbidden) String() string
- type GetProjectSummaryInternalServerError
- func (o *GetProjectSummaryInternalServerError) Error() string
- func (o *GetProjectSummaryInternalServerError) GetPayload() *models.Errors
- func (o *GetProjectSummaryInternalServerError) IsClientError() bool
- func (o *GetProjectSummaryInternalServerError) IsCode(code int) bool
- func (o *GetProjectSummaryInternalServerError) IsRedirect() bool
- func (o *GetProjectSummaryInternalServerError) IsServerError() bool
- func (o *GetProjectSummaryInternalServerError) IsSuccess() bool
- func (o *GetProjectSummaryInternalServerError) String() string
- type GetProjectSummaryNotFound
- func (o *GetProjectSummaryNotFound) Error() string
- func (o *GetProjectSummaryNotFound) GetPayload() *models.Errors
- func (o *GetProjectSummaryNotFound) IsClientError() bool
- func (o *GetProjectSummaryNotFound) IsCode(code int) bool
- func (o *GetProjectSummaryNotFound) IsRedirect() bool
- func (o *GetProjectSummaryNotFound) IsServerError() bool
- func (o *GetProjectSummaryNotFound) IsSuccess() bool
- func (o *GetProjectSummaryNotFound) String() string
- type GetProjectSummaryOK
- func (o *GetProjectSummaryOK) Error() string
- func (o *GetProjectSummaryOK) GetPayload() *models.ProjectSummary
- func (o *GetProjectSummaryOK) IsClientError() bool
- func (o *GetProjectSummaryOK) IsCode(code int) bool
- func (o *GetProjectSummaryOK) IsRedirect() bool
- func (o *GetProjectSummaryOK) IsServerError() bool
- func (o *GetProjectSummaryOK) IsSuccess() bool
- func (o *GetProjectSummaryOK) String() string
- type GetProjectSummaryParams
- func NewGetProjectSummaryParams() *GetProjectSummaryParams
- func NewGetProjectSummaryParamsWithContext(ctx context.Context) *GetProjectSummaryParams
- func NewGetProjectSummaryParamsWithHTTPClient(client *http.Client) *GetProjectSummaryParams
- func NewGetProjectSummaryParamsWithTimeout(timeout time.Duration) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) SetContext(ctx context.Context)
- func (o *GetProjectSummaryParams) SetDefaults()
- func (o *GetProjectSummaryParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectSummaryParams) SetProjectNameOrID(projectNameOrID string)
- func (o *GetProjectSummaryParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectSummaryParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *GetProjectSummaryParams) SetXRequestID(xRequestID *string)
- func (o *GetProjectSummaryParams) WithContext(ctx context.Context) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithDefaults() *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithHTTPClient(client *http.Client) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithProjectNameOrID(projectNameOrID string) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithTimeout(timeout time.Duration) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithXRequestID(xRequestID *string) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectSummaryReader
- type GetProjectSummaryUnauthorized
- func (o *GetProjectSummaryUnauthorized) Error() string
- func (o *GetProjectSummaryUnauthorized) GetPayload() *models.Errors
- func (o *GetProjectSummaryUnauthorized) IsClientError() bool
- func (o *GetProjectSummaryUnauthorized) IsCode(code int) bool
- func (o *GetProjectSummaryUnauthorized) IsRedirect() bool
- func (o *GetProjectSummaryUnauthorized) IsServerError() bool
- func (o *GetProjectSummaryUnauthorized) IsSuccess() bool
- func (o *GetProjectSummaryUnauthorized) String() string
- type GetProjectUnauthorized
- func (o *GetProjectUnauthorized) Error() string
- func (o *GetProjectUnauthorized) GetPayload() *models.Errors
- func (o *GetProjectUnauthorized) IsClientError() bool
- func (o *GetProjectUnauthorized) IsCode(code int) bool
- func (o *GetProjectUnauthorized) IsRedirect() bool
- func (o *GetProjectUnauthorized) IsServerError() bool
- func (o *GetProjectUnauthorized) IsSuccess() bool
- func (o *GetProjectUnauthorized) String() string
- type GetScannerOfProjectBadRequest
- func (o *GetScannerOfProjectBadRequest) Error() string
- func (o *GetScannerOfProjectBadRequest) IsClientError() bool
- func (o *GetScannerOfProjectBadRequest) IsCode(code int) bool
- func (o *GetScannerOfProjectBadRequest) IsRedirect() bool
- func (o *GetScannerOfProjectBadRequest) IsServerError() bool
- func (o *GetScannerOfProjectBadRequest) IsSuccess() bool
- func (o *GetScannerOfProjectBadRequest) String() string
- type GetScannerOfProjectForbidden
- func (o *GetScannerOfProjectForbidden) Error() string
- func (o *GetScannerOfProjectForbidden) IsClientError() bool
- func (o *GetScannerOfProjectForbidden) IsCode(code int) bool
- func (o *GetScannerOfProjectForbidden) IsRedirect() bool
- func (o *GetScannerOfProjectForbidden) IsServerError() bool
- func (o *GetScannerOfProjectForbidden) IsSuccess() bool
- func (o *GetScannerOfProjectForbidden) String() string
- type GetScannerOfProjectInternalServerError
- func (o *GetScannerOfProjectInternalServerError) Error() string
- func (o *GetScannerOfProjectInternalServerError) IsClientError() bool
- func (o *GetScannerOfProjectInternalServerError) IsCode(code int) bool
- func (o *GetScannerOfProjectInternalServerError) IsRedirect() bool
- func (o *GetScannerOfProjectInternalServerError) IsServerError() bool
- func (o *GetScannerOfProjectInternalServerError) IsSuccess() bool
- func (o *GetScannerOfProjectInternalServerError) String() string
- type GetScannerOfProjectNotFound
- func (o *GetScannerOfProjectNotFound) Error() string
- func (o *GetScannerOfProjectNotFound) IsClientError() bool
- func (o *GetScannerOfProjectNotFound) IsCode(code int) bool
- func (o *GetScannerOfProjectNotFound) IsRedirect() bool
- func (o *GetScannerOfProjectNotFound) IsServerError() bool
- func (o *GetScannerOfProjectNotFound) IsSuccess() bool
- func (o *GetScannerOfProjectNotFound) String() string
- type GetScannerOfProjectOK
- func (o *GetScannerOfProjectOK) Error() string
- func (o *GetScannerOfProjectOK) GetPayload() *models.ScannerRegistration
- func (o *GetScannerOfProjectOK) IsClientError() bool
- func (o *GetScannerOfProjectOK) IsCode(code int) bool
- func (o *GetScannerOfProjectOK) IsRedirect() bool
- func (o *GetScannerOfProjectOK) IsServerError() bool
- func (o *GetScannerOfProjectOK) IsSuccess() bool
- func (o *GetScannerOfProjectOK) String() string
- type GetScannerOfProjectParams
- func NewGetScannerOfProjectParams() *GetScannerOfProjectParams
- func NewGetScannerOfProjectParamsWithContext(ctx context.Context) *GetScannerOfProjectParams
- func NewGetScannerOfProjectParamsWithHTTPClient(client *http.Client) *GetScannerOfProjectParams
- func NewGetScannerOfProjectParamsWithTimeout(timeout time.Duration) *GetScannerOfProjectParams
- func (o *GetScannerOfProjectParams) SetContext(ctx context.Context)
- func (o *GetScannerOfProjectParams) SetDefaults()
- func (o *GetScannerOfProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetScannerOfProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *GetScannerOfProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetScannerOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *GetScannerOfProjectParams) SetXRequestID(xRequestID *string)
- func (o *GetScannerOfProjectParams) WithContext(ctx context.Context) *GetScannerOfProjectParams
- func (o *GetScannerOfProjectParams) WithDefaults() *GetScannerOfProjectParams
- func (o *GetScannerOfProjectParams) WithHTTPClient(client *http.Client) *GetScannerOfProjectParams
- func (o *GetScannerOfProjectParams) WithProjectNameOrID(projectNameOrID string) *GetScannerOfProjectParams
- func (o *GetScannerOfProjectParams) WithTimeout(timeout time.Duration) *GetScannerOfProjectParams
- func (o *GetScannerOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *GetScannerOfProjectParams
- func (o *GetScannerOfProjectParams) WithXRequestID(xRequestID *string) *GetScannerOfProjectParams
- func (o *GetScannerOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScannerOfProjectReader
- type GetScannerOfProjectUnauthorized
- func (o *GetScannerOfProjectUnauthorized) Error() string
- func (o *GetScannerOfProjectUnauthorized) IsClientError() bool
- func (o *GetScannerOfProjectUnauthorized) IsCode(code int) bool
- func (o *GetScannerOfProjectUnauthorized) IsRedirect() bool
- func (o *GetScannerOfProjectUnauthorized) IsServerError() bool
- func (o *GetScannerOfProjectUnauthorized) IsSuccess() bool
- func (o *GetScannerOfProjectUnauthorized) String() string
- type HeadProjectInternalServerError
- func (o *HeadProjectInternalServerError) Error() string
- func (o *HeadProjectInternalServerError) GetPayload() *models.Errors
- func (o *HeadProjectInternalServerError) IsClientError() bool
- func (o *HeadProjectInternalServerError) IsCode(code int) bool
- func (o *HeadProjectInternalServerError) IsRedirect() bool
- func (o *HeadProjectInternalServerError) IsServerError() bool
- func (o *HeadProjectInternalServerError) IsSuccess() bool
- func (o *HeadProjectInternalServerError) String() string
- type HeadProjectNotFound
- func (o *HeadProjectNotFound) Error() string
- func (o *HeadProjectNotFound) GetPayload() *models.Errors
- func (o *HeadProjectNotFound) IsClientError() bool
- func (o *HeadProjectNotFound) IsCode(code int) bool
- func (o *HeadProjectNotFound) IsRedirect() bool
- func (o *HeadProjectNotFound) IsServerError() bool
- func (o *HeadProjectNotFound) IsSuccess() bool
- func (o *HeadProjectNotFound) String() string
- type HeadProjectOK
- type HeadProjectParams
- func (o *HeadProjectParams) SetContext(ctx context.Context)
- func (o *HeadProjectParams) SetDefaults()
- func (o *HeadProjectParams) SetHTTPClient(client *http.Client)
- func (o *HeadProjectParams) SetProjectName(projectName string)
- func (o *HeadProjectParams) SetTimeout(timeout time.Duration)
- func (o *HeadProjectParams) SetXRequestID(xRequestID *string)
- func (o *HeadProjectParams) WithContext(ctx context.Context) *HeadProjectParams
- func (o *HeadProjectParams) WithDefaults() *HeadProjectParams
- func (o *HeadProjectParams) WithHTTPClient(client *http.Client) *HeadProjectParams
- func (o *HeadProjectParams) WithProjectName(projectName string) *HeadProjectParams
- func (o *HeadProjectParams) WithTimeout(timeout time.Duration) *HeadProjectParams
- func (o *HeadProjectParams) WithXRequestID(xRequestID *string) *HeadProjectParams
- func (o *HeadProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadProjectReader
- type ListArtifactsOfProjectBadRequest
- func (o *ListArtifactsOfProjectBadRequest) Error() string
- func (o *ListArtifactsOfProjectBadRequest) GetPayload() *models.Errors
- func (o *ListArtifactsOfProjectBadRequest) IsClientError() bool
- func (o *ListArtifactsOfProjectBadRequest) IsCode(code int) bool
- func (o *ListArtifactsOfProjectBadRequest) IsRedirect() bool
- func (o *ListArtifactsOfProjectBadRequest) IsServerError() bool
- func (o *ListArtifactsOfProjectBadRequest) IsSuccess() bool
- func (o *ListArtifactsOfProjectBadRequest) String() string
- type ListArtifactsOfProjectForbidden
- func (o *ListArtifactsOfProjectForbidden) Error() string
- func (o *ListArtifactsOfProjectForbidden) GetPayload() *models.Errors
- func (o *ListArtifactsOfProjectForbidden) IsClientError() bool
- func (o *ListArtifactsOfProjectForbidden) IsCode(code int) bool
- func (o *ListArtifactsOfProjectForbidden) IsRedirect() bool
- func (o *ListArtifactsOfProjectForbidden) IsServerError() bool
- func (o *ListArtifactsOfProjectForbidden) IsSuccess() bool
- func (o *ListArtifactsOfProjectForbidden) String() string
- type ListArtifactsOfProjectInternalServerError
- func (o *ListArtifactsOfProjectInternalServerError) Error() string
- func (o *ListArtifactsOfProjectInternalServerError) GetPayload() *models.Errors
- func (o *ListArtifactsOfProjectInternalServerError) IsClientError() bool
- func (o *ListArtifactsOfProjectInternalServerError) IsCode(code int) bool
- func (o *ListArtifactsOfProjectInternalServerError) IsRedirect() bool
- func (o *ListArtifactsOfProjectInternalServerError) IsServerError() bool
- func (o *ListArtifactsOfProjectInternalServerError) IsSuccess() bool
- func (o *ListArtifactsOfProjectInternalServerError) String() string
- type ListArtifactsOfProjectNotFound
- func (o *ListArtifactsOfProjectNotFound) Error() string
- func (o *ListArtifactsOfProjectNotFound) GetPayload() *models.Errors
- func (o *ListArtifactsOfProjectNotFound) IsClientError() bool
- func (o *ListArtifactsOfProjectNotFound) IsCode(code int) bool
- func (o *ListArtifactsOfProjectNotFound) IsRedirect() bool
- func (o *ListArtifactsOfProjectNotFound) IsServerError() bool
- func (o *ListArtifactsOfProjectNotFound) IsSuccess() bool
- func (o *ListArtifactsOfProjectNotFound) String() string
- type ListArtifactsOfProjectOK
- func (o *ListArtifactsOfProjectOK) Error() string
- func (o *ListArtifactsOfProjectOK) GetPayload() []*models.Artifact
- func (o *ListArtifactsOfProjectOK) IsClientError() bool
- func (o *ListArtifactsOfProjectOK) IsCode(code int) bool
- func (o *ListArtifactsOfProjectOK) IsRedirect() bool
- func (o *ListArtifactsOfProjectOK) IsServerError() bool
- func (o *ListArtifactsOfProjectOK) IsSuccess() bool
- func (o *ListArtifactsOfProjectOK) String() string
- type ListArtifactsOfProjectParams
- func NewListArtifactsOfProjectParams() *ListArtifactsOfProjectParams
- func NewListArtifactsOfProjectParamsWithContext(ctx context.Context) *ListArtifactsOfProjectParams
- func NewListArtifactsOfProjectParamsWithHTTPClient(client *http.Client) *ListArtifactsOfProjectParams
- func NewListArtifactsOfProjectParamsWithTimeout(timeout time.Duration) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) SetContext(ctx context.Context)
- func (o *ListArtifactsOfProjectParams) SetDefaults()
- func (o *ListArtifactsOfProjectParams) SetHTTPClient(client *http.Client)
- func (o *ListArtifactsOfProjectParams) SetLatestInRepository(latestInRepository *bool)
- func (o *ListArtifactsOfProjectParams) SetPage(page *int64)
- func (o *ListArtifactsOfProjectParams) SetPageSize(pageSize *int64)
- func (o *ListArtifactsOfProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *ListArtifactsOfProjectParams) SetQ(q *string)
- func (o *ListArtifactsOfProjectParams) SetSort(sort *string)
- func (o *ListArtifactsOfProjectParams) SetTimeout(timeout time.Duration)
- func (o *ListArtifactsOfProjectParams) SetWithAccessory(withAccessory *bool)
- func (o *ListArtifactsOfProjectParams) SetWithImmutableStatus(withImmutableStatus *bool)
- func (o *ListArtifactsOfProjectParams) SetWithLabel(withLabel *bool)
- func (o *ListArtifactsOfProjectParams) SetWithSbomOverview(withSbomOverview *bool)
- func (o *ListArtifactsOfProjectParams) SetWithScanOverview(withScanOverview *bool)
- func (o *ListArtifactsOfProjectParams) SetWithTag(withTag *bool)
- func (o *ListArtifactsOfProjectParams) SetXAcceptVulnerabilities(xAcceptVulnerabilities *string)
- func (o *ListArtifactsOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *ListArtifactsOfProjectParams) SetXRequestID(xRequestID *string)
- func (o *ListArtifactsOfProjectParams) WithContext(ctx context.Context) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithDefaults() *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithHTTPClient(client *http.Client) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithLatestInRepository(latestInRepository *bool) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithPage(page *int64) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithPageSize(pageSize *int64) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithProjectNameOrID(projectNameOrID string) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithQ(q *string) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithSort(sort *string) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithTimeout(timeout time.Duration) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithWithAccessory(withAccessory *bool) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithWithImmutableStatus(withImmutableStatus *bool) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithWithLabel(withLabel *bool) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithWithSbomOverview(withSbomOverview *bool) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithWithScanOverview(withScanOverview *bool) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithWithTag(withTag *bool) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithXAcceptVulnerabilities(xAcceptVulnerabilities *string) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WithXRequestID(xRequestID *string) *ListArtifactsOfProjectParams
- func (o *ListArtifactsOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListArtifactsOfProjectReader
- type ListArtifactsOfProjectUnauthorized
- func (o *ListArtifactsOfProjectUnauthorized) Error() string
- func (o *ListArtifactsOfProjectUnauthorized) GetPayload() *models.Errors
- func (o *ListArtifactsOfProjectUnauthorized) IsClientError() bool
- func (o *ListArtifactsOfProjectUnauthorized) IsCode(code int) bool
- func (o *ListArtifactsOfProjectUnauthorized) IsRedirect() bool
- func (o *ListArtifactsOfProjectUnauthorized) IsServerError() bool
- func (o *ListArtifactsOfProjectUnauthorized) IsSuccess() bool
- func (o *ListArtifactsOfProjectUnauthorized) String() string
- type ListProjectsInternalServerError
- func (o *ListProjectsInternalServerError) Error() string
- func (o *ListProjectsInternalServerError) GetPayload() *models.Errors
- func (o *ListProjectsInternalServerError) IsClientError() bool
- func (o *ListProjectsInternalServerError) IsCode(code int) bool
- func (o *ListProjectsInternalServerError) IsRedirect() bool
- func (o *ListProjectsInternalServerError) IsServerError() bool
- func (o *ListProjectsInternalServerError) IsSuccess() bool
- func (o *ListProjectsInternalServerError) String() string
- type ListProjectsOK
- func (o *ListProjectsOK) Error() string
- func (o *ListProjectsOK) GetPayload() []*models.Project
- func (o *ListProjectsOK) IsClientError() bool
- func (o *ListProjectsOK) IsCode(code int) bool
- func (o *ListProjectsOK) IsRedirect() bool
- func (o *ListProjectsOK) IsServerError() bool
- func (o *ListProjectsOK) IsSuccess() bool
- func (o *ListProjectsOK) String() string
- type ListProjectsParams
- func (o *ListProjectsParams) SetContext(ctx context.Context)
- func (o *ListProjectsParams) SetDefaults()
- func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectsParams) SetName(name *string)
- func (o *ListProjectsParams) SetOwner(owner *string)
- func (o *ListProjectsParams) SetPage(page *int64)
- func (o *ListProjectsParams) SetPageSize(pageSize *int64)
- func (o *ListProjectsParams) SetPublic(public *bool)
- func (o *ListProjectsParams) SetQ(q *string)
- func (o *ListProjectsParams) SetSort(sort *string)
- func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectsParams) SetWithDetail(withDetail *bool)
- func (o *ListProjectsParams) SetXRequestID(xRequestID *string)
- func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
- func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
- func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
- func (o *ListProjectsParams) WithName(name *string) *ListProjectsParams
- func (o *ListProjectsParams) WithOwner(owner *string) *ListProjectsParams
- func (o *ListProjectsParams) WithPage(page *int64) *ListProjectsParams
- func (o *ListProjectsParams) WithPageSize(pageSize *int64) *ListProjectsParams
- func (o *ListProjectsParams) WithPublic(public *bool) *ListProjectsParams
- func (o *ListProjectsParams) WithQ(q *string) *ListProjectsParams
- func (o *ListProjectsParams) WithSort(sort *string) *ListProjectsParams
- func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
- func (o *ListProjectsParams) WithWithDetail(withDetail *bool) *ListProjectsParams
- func (o *ListProjectsParams) WithXRequestID(xRequestID *string) *ListProjectsParams
- func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectsReader
- type ListProjectsUnauthorized
- func (o *ListProjectsUnauthorized) Error() string
- func (o *ListProjectsUnauthorized) GetPayload() *models.Errors
- func (o *ListProjectsUnauthorized) IsClientError() bool
- func (o *ListProjectsUnauthorized) IsCode(code int) bool
- func (o *ListProjectsUnauthorized) IsRedirect() bool
- func (o *ListProjectsUnauthorized) IsServerError() bool
- func (o *ListProjectsUnauthorized) IsSuccess() bool
- func (o *ListProjectsUnauthorized) String() string
- type ListScannerCandidatesOfProjectBadRequest
- func (o *ListScannerCandidatesOfProjectBadRequest) Error() string
- func (o *ListScannerCandidatesOfProjectBadRequest) GetPayload() *models.Errors
- func (o *ListScannerCandidatesOfProjectBadRequest) IsClientError() bool
- func (o *ListScannerCandidatesOfProjectBadRequest) IsCode(code int) bool
- func (o *ListScannerCandidatesOfProjectBadRequest) IsRedirect() bool
- func (o *ListScannerCandidatesOfProjectBadRequest) IsServerError() bool
- func (o *ListScannerCandidatesOfProjectBadRequest) IsSuccess() bool
- func (o *ListScannerCandidatesOfProjectBadRequest) String() string
- type ListScannerCandidatesOfProjectForbidden
- func (o *ListScannerCandidatesOfProjectForbidden) Error() string
- func (o *ListScannerCandidatesOfProjectForbidden) GetPayload() *models.Errors
- func (o *ListScannerCandidatesOfProjectForbidden) IsClientError() bool
- func (o *ListScannerCandidatesOfProjectForbidden) IsCode(code int) bool
- func (o *ListScannerCandidatesOfProjectForbidden) IsRedirect() bool
- func (o *ListScannerCandidatesOfProjectForbidden) IsServerError() bool
- func (o *ListScannerCandidatesOfProjectForbidden) IsSuccess() bool
- func (o *ListScannerCandidatesOfProjectForbidden) String() string
- type ListScannerCandidatesOfProjectInternalServerError
- func (o *ListScannerCandidatesOfProjectInternalServerError) Error() string
- func (o *ListScannerCandidatesOfProjectInternalServerError) GetPayload() *models.Errors
- func (o *ListScannerCandidatesOfProjectInternalServerError) IsClientError() bool
- func (o *ListScannerCandidatesOfProjectInternalServerError) IsCode(code int) bool
- func (o *ListScannerCandidatesOfProjectInternalServerError) IsRedirect() bool
- func (o *ListScannerCandidatesOfProjectInternalServerError) IsServerError() bool
- func (o *ListScannerCandidatesOfProjectInternalServerError) IsSuccess() bool
- func (o *ListScannerCandidatesOfProjectInternalServerError) String() string
- type ListScannerCandidatesOfProjectOK
- func (o *ListScannerCandidatesOfProjectOK) Error() string
- func (o *ListScannerCandidatesOfProjectOK) GetPayload() []*models.ScannerRegistration
- func (o *ListScannerCandidatesOfProjectOK) IsClientError() bool
- func (o *ListScannerCandidatesOfProjectOK) IsCode(code int) bool
- func (o *ListScannerCandidatesOfProjectOK) IsRedirect() bool
- func (o *ListScannerCandidatesOfProjectOK) IsServerError() bool
- func (o *ListScannerCandidatesOfProjectOK) IsSuccess() bool
- func (o *ListScannerCandidatesOfProjectOK) String() string
- type ListScannerCandidatesOfProjectParams
- func NewListScannerCandidatesOfProjectParams() *ListScannerCandidatesOfProjectParams
- func NewListScannerCandidatesOfProjectParamsWithContext(ctx context.Context) *ListScannerCandidatesOfProjectParams
- func NewListScannerCandidatesOfProjectParamsWithHTTPClient(client *http.Client) *ListScannerCandidatesOfProjectParams
- func NewListScannerCandidatesOfProjectParamsWithTimeout(timeout time.Duration) *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) SetContext(ctx context.Context)
- func (o *ListScannerCandidatesOfProjectParams) SetDefaults()
- func (o *ListScannerCandidatesOfProjectParams) SetHTTPClient(client *http.Client)
- func (o *ListScannerCandidatesOfProjectParams) SetPage(page *int64)
- func (o *ListScannerCandidatesOfProjectParams) SetPageSize(pageSize *int64)
- func (o *ListScannerCandidatesOfProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *ListScannerCandidatesOfProjectParams) SetQ(q *string)
- func (o *ListScannerCandidatesOfProjectParams) SetSort(sort *string)
- func (o *ListScannerCandidatesOfProjectParams) SetTimeout(timeout time.Duration)
- func (o *ListScannerCandidatesOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *ListScannerCandidatesOfProjectParams) SetXRequestID(xRequestID *string)
- func (o *ListScannerCandidatesOfProjectParams) WithContext(ctx context.Context) *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) WithDefaults() *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) WithHTTPClient(client *http.Client) *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) WithPage(page *int64) *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) WithPageSize(pageSize *int64) *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) WithProjectNameOrID(projectNameOrID string) *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) WithQ(q *string) *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) WithSort(sort *string) *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) WithTimeout(timeout time.Duration) *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) WithXRequestID(xRequestID *string) *ListScannerCandidatesOfProjectParams
- func (o *ListScannerCandidatesOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListScannerCandidatesOfProjectReader
- type ListScannerCandidatesOfProjectUnauthorized
- func (o *ListScannerCandidatesOfProjectUnauthorized) Error() string
- func (o *ListScannerCandidatesOfProjectUnauthorized) GetPayload() *models.Errors
- func (o *ListScannerCandidatesOfProjectUnauthorized) IsClientError() bool
- func (o *ListScannerCandidatesOfProjectUnauthorized) IsCode(code int) bool
- func (o *ListScannerCandidatesOfProjectUnauthorized) IsRedirect() bool
- func (o *ListScannerCandidatesOfProjectUnauthorized) IsServerError() bool
- func (o *ListScannerCandidatesOfProjectUnauthorized) IsSuccess() bool
- func (o *ListScannerCandidatesOfProjectUnauthorized) String() string
- type SetScannerOfProjectBadRequest
- func (o *SetScannerOfProjectBadRequest) Error() string
- func (o *SetScannerOfProjectBadRequest) GetPayload() *models.Errors
- func (o *SetScannerOfProjectBadRequest) IsClientError() bool
- func (o *SetScannerOfProjectBadRequest) IsCode(code int) bool
- func (o *SetScannerOfProjectBadRequest) IsRedirect() bool
- func (o *SetScannerOfProjectBadRequest) IsServerError() bool
- func (o *SetScannerOfProjectBadRequest) IsSuccess() bool
- func (o *SetScannerOfProjectBadRequest) String() string
- type SetScannerOfProjectForbidden
- func (o *SetScannerOfProjectForbidden) Error() string
- func (o *SetScannerOfProjectForbidden) GetPayload() *models.Errors
- func (o *SetScannerOfProjectForbidden) IsClientError() bool
- func (o *SetScannerOfProjectForbidden) IsCode(code int) bool
- func (o *SetScannerOfProjectForbidden) IsRedirect() bool
- func (o *SetScannerOfProjectForbidden) IsServerError() bool
- func (o *SetScannerOfProjectForbidden) IsSuccess() bool
- func (o *SetScannerOfProjectForbidden) String() string
- type SetScannerOfProjectInternalServerError
- func (o *SetScannerOfProjectInternalServerError) Error() string
- func (o *SetScannerOfProjectInternalServerError) GetPayload() *models.Errors
- func (o *SetScannerOfProjectInternalServerError) IsClientError() bool
- func (o *SetScannerOfProjectInternalServerError) IsCode(code int) bool
- func (o *SetScannerOfProjectInternalServerError) IsRedirect() bool
- func (o *SetScannerOfProjectInternalServerError) IsServerError() bool
- func (o *SetScannerOfProjectInternalServerError) IsSuccess() bool
- func (o *SetScannerOfProjectInternalServerError) String() string
- type SetScannerOfProjectNotFound
- func (o *SetScannerOfProjectNotFound) Error() string
- func (o *SetScannerOfProjectNotFound) GetPayload() *models.Errors
- func (o *SetScannerOfProjectNotFound) IsClientError() bool
- func (o *SetScannerOfProjectNotFound) IsCode(code int) bool
- func (o *SetScannerOfProjectNotFound) IsRedirect() bool
- func (o *SetScannerOfProjectNotFound) IsServerError() bool
- func (o *SetScannerOfProjectNotFound) IsSuccess() bool
- func (o *SetScannerOfProjectNotFound) String() string
- type SetScannerOfProjectOK
- func (o *SetScannerOfProjectOK) Error() string
- func (o *SetScannerOfProjectOK) IsClientError() bool
- func (o *SetScannerOfProjectOK) IsCode(code int) bool
- func (o *SetScannerOfProjectOK) IsRedirect() bool
- func (o *SetScannerOfProjectOK) IsServerError() bool
- func (o *SetScannerOfProjectOK) IsSuccess() bool
- func (o *SetScannerOfProjectOK) String() string
- type SetScannerOfProjectParams
- func NewSetScannerOfProjectParams() *SetScannerOfProjectParams
- func NewSetScannerOfProjectParamsWithContext(ctx context.Context) *SetScannerOfProjectParams
- func NewSetScannerOfProjectParamsWithHTTPClient(client *http.Client) *SetScannerOfProjectParams
- func NewSetScannerOfProjectParamsWithTimeout(timeout time.Duration) *SetScannerOfProjectParams
- func (o *SetScannerOfProjectParams) SetContext(ctx context.Context)
- func (o *SetScannerOfProjectParams) SetDefaults()
- func (o *SetScannerOfProjectParams) SetHTTPClient(client *http.Client)
- func (o *SetScannerOfProjectParams) SetPayload(payload *models.ProjectScanner)
- func (o *SetScannerOfProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *SetScannerOfProjectParams) SetTimeout(timeout time.Duration)
- func (o *SetScannerOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *SetScannerOfProjectParams) SetXRequestID(xRequestID *string)
- func (o *SetScannerOfProjectParams) WithContext(ctx context.Context) *SetScannerOfProjectParams
- func (o *SetScannerOfProjectParams) WithDefaults() *SetScannerOfProjectParams
- func (o *SetScannerOfProjectParams) WithHTTPClient(client *http.Client) *SetScannerOfProjectParams
- func (o *SetScannerOfProjectParams) WithPayload(payload *models.ProjectScanner) *SetScannerOfProjectParams
- func (o *SetScannerOfProjectParams) WithProjectNameOrID(projectNameOrID string) *SetScannerOfProjectParams
- func (o *SetScannerOfProjectParams) WithTimeout(timeout time.Duration) *SetScannerOfProjectParams
- func (o *SetScannerOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *SetScannerOfProjectParams
- func (o *SetScannerOfProjectParams) WithXRequestID(xRequestID *string) *SetScannerOfProjectParams
- func (o *SetScannerOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetScannerOfProjectReader
- type SetScannerOfProjectUnauthorized
- func (o *SetScannerOfProjectUnauthorized) Error() string
- func (o *SetScannerOfProjectUnauthorized) GetPayload() *models.Errors
- func (o *SetScannerOfProjectUnauthorized) IsClientError() bool
- func (o *SetScannerOfProjectUnauthorized) IsCode(code int) bool
- func (o *SetScannerOfProjectUnauthorized) IsRedirect() bool
- func (o *SetScannerOfProjectUnauthorized) IsServerError() bool
- func (o *SetScannerOfProjectUnauthorized) IsSuccess() bool
- func (o *SetScannerOfProjectUnauthorized) String() string
- type UpdateProjectBadRequest
- func (o *UpdateProjectBadRequest) Error() string
- func (o *UpdateProjectBadRequest) GetPayload() *models.Errors
- func (o *UpdateProjectBadRequest) IsClientError() bool
- func (o *UpdateProjectBadRequest) IsCode(code int) bool
- func (o *UpdateProjectBadRequest) IsRedirect() bool
- func (o *UpdateProjectBadRequest) IsServerError() bool
- func (o *UpdateProjectBadRequest) IsSuccess() bool
- func (o *UpdateProjectBadRequest) String() string
- type UpdateProjectForbidden
- func (o *UpdateProjectForbidden) Error() string
- func (o *UpdateProjectForbidden) GetPayload() *models.Errors
- func (o *UpdateProjectForbidden) IsClientError() bool
- func (o *UpdateProjectForbidden) IsCode(code int) bool
- func (o *UpdateProjectForbidden) IsRedirect() bool
- func (o *UpdateProjectForbidden) IsServerError() bool
- func (o *UpdateProjectForbidden) IsSuccess() bool
- func (o *UpdateProjectForbidden) String() string
- type UpdateProjectInternalServerError
- func (o *UpdateProjectInternalServerError) Error() string
- func (o *UpdateProjectInternalServerError) GetPayload() *models.Errors
- func (o *UpdateProjectInternalServerError) IsClientError() bool
- func (o *UpdateProjectInternalServerError) IsCode(code int) bool
- func (o *UpdateProjectInternalServerError) IsRedirect() bool
- func (o *UpdateProjectInternalServerError) IsServerError() bool
- func (o *UpdateProjectInternalServerError) IsSuccess() bool
- func (o *UpdateProjectInternalServerError) String() string
- type UpdateProjectNotFound
- func (o *UpdateProjectNotFound) Error() string
- func (o *UpdateProjectNotFound) GetPayload() *models.Errors
- func (o *UpdateProjectNotFound) IsClientError() bool
- func (o *UpdateProjectNotFound) IsCode(code int) bool
- func (o *UpdateProjectNotFound) IsRedirect() bool
- func (o *UpdateProjectNotFound) IsServerError() bool
- func (o *UpdateProjectNotFound) IsSuccess() bool
- func (o *UpdateProjectNotFound) String() string
- type UpdateProjectOK
- func (o *UpdateProjectOK) Error() string
- func (o *UpdateProjectOK) IsClientError() bool
- func (o *UpdateProjectOK) IsCode(code int) bool
- func (o *UpdateProjectOK) IsRedirect() bool
- func (o *UpdateProjectOK) IsServerError() bool
- func (o *UpdateProjectOK) IsSuccess() bool
- func (o *UpdateProjectOK) String() string
- type UpdateProjectParams
- func (o *UpdateProjectParams) SetContext(ctx context.Context)
- func (o *UpdateProjectParams) SetDefaults()
- func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectParams) SetProject(project *models.ProjectReq)
- func (o *UpdateProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *UpdateProjectParams) SetXRequestID(xRequestID *string)
- func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
- func (o *UpdateProjectParams) WithDefaults() *UpdateProjectParams
- func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
- func (o *UpdateProjectParams) WithProject(project *models.ProjectReq) *UpdateProjectParams
- func (o *UpdateProjectParams) WithProjectNameOrID(projectNameOrID string) *UpdateProjectParams
- func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
- func (o *UpdateProjectParams) WithXIsResourceName(xIsResourceName *bool) *UpdateProjectParams
- func (o *UpdateProjectParams) WithXRequestID(xRequestID *string) *UpdateProjectParams
- func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectReader
- type UpdateProjectUnauthorized
- func (o *UpdateProjectUnauthorized) Error() string
- func (o *UpdateProjectUnauthorized) GetPayload() *models.Errors
- func (o *UpdateProjectUnauthorized) IsClientError() bool
- func (o *UpdateProjectUnauthorized) IsCode(code int) bool
- func (o *UpdateProjectUnauthorized) IsRedirect() bool
- func (o *UpdateProjectUnauthorized) IsServerError() bool
- func (o *UpdateProjectUnauthorized) IsSuccess() bool
- func (o *UpdateProjectUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* CreateProject creates a new project This endpoint is for user to create a new project.*/ CreateProject(ctx context.Context, params *CreateProjectParams) (*CreateProjectCreated, error) /* DeleteProject deletes project by project ID This endpoint is aimed to delete project by project ID.*/ DeleteProject(ctx context.Context, params *DeleteProjectParams) (*DeleteProjectOK, error) /* GetLogs gets recent logs of the projects Get recent logs of the projects*/ GetLogs(ctx context.Context, params *GetLogsParams) (*GetLogsOK, error) /* GetProject returns specific project detail information This endpoint returns specific project information by project ID.*/ GetProject(ctx context.Context, params *GetProjectParams) (*GetProjectOK, error) /* GetProjectDeletable gets the deletable status of the project Get the deletable status of the project*/ GetProjectDeletable(ctx context.Context, params *GetProjectDeletableParams) (*GetProjectDeletableOK, error) /* GetProjectSummary gets summary of the project Get summary of the project.*/ GetProjectSummary(ctx context.Context, params *GetProjectSummaryParams) (*GetProjectSummaryOK, error) /* GetScannerOfProject gets project level scanner Get the scanner registration of the specified project. If no scanner registration is configured for the specified project, the system default scanner registration will be returned.*/ GetScannerOfProject(ctx context.Context, params *GetScannerOfProjectParams) (*GetScannerOfProjectOK, error) /* HeadProject checks if the project name user provided already exists This endpoint is used to check if the project name provided already exist.*/ HeadProject(ctx context.Context, params *HeadProjectParams) (*HeadProjectOK, error) /* ListArtifactsOfProject lists artifacts List artifacts of the specified project*/ ListArtifactsOfProject(ctx context.Context, params *ListArtifactsOfProjectParams) (*ListArtifactsOfProjectOK, error) /* ListProjects lists projects This endpoint returns projects created by Harbor.*/ ListProjects(ctx context.Context, params *ListProjectsParams) (*ListProjectsOK, error) /* ListScannerCandidatesOfProject gets scanner registration candidates for configurating project level scanner Retrieve the system configured scanner registrations as candidates of setting project level scanner.*/ ListScannerCandidatesOfProject(ctx context.Context, params *ListScannerCandidatesOfProjectParams) (*ListScannerCandidatesOfProjectOK, error) /* SetScannerOfProject configures scanner for the specified project Set one of the system configured scanner registration as the indepndent scanner of the specified project.*/ SetScannerOfProject(ctx context.Context, params *SetScannerOfProjectParams) (*SetScannerOfProjectOK, error) /* UpdateProject updates properties for a selected project This endpoint is aimed to update the properties of a project.*/ UpdateProject(ctx context.Context, params *UpdateProjectParams) (*UpdateProjectOK, error) }
API is the interface of the project client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for project API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new project API client.
func (*Client) CreateProject ¶
func (a *Client) CreateProject(ctx context.Context, params *CreateProjectParams) (*CreateProjectCreated, error)
CreateProject creates a new project
This endpoint is for user to create a new project.
func (*Client) DeleteProject ¶
func (a *Client) DeleteProject(ctx context.Context, params *DeleteProjectParams) (*DeleteProjectOK, error)
DeleteProject deletes project by project ID
This endpoint is aimed to delete project by project ID.
func (*Client) GetProject ¶
func (a *Client) GetProject(ctx context.Context, params *GetProjectParams) (*GetProjectOK, error)
GetProject returns specific project detail information
This endpoint returns specific project information by project ID.
func (*Client) GetProjectDeletable ¶
func (a *Client) GetProjectDeletable(ctx context.Context, params *GetProjectDeletableParams) (*GetProjectDeletableOK, error)
GetProjectDeletable gets the deletable status of the project
Get the deletable status of the project
func (*Client) GetProjectSummary ¶
func (a *Client) GetProjectSummary(ctx context.Context, params *GetProjectSummaryParams) (*GetProjectSummaryOK, error)
GetProjectSummary gets summary of the project
Get summary of the project.
func (*Client) GetScannerOfProject ¶
func (a *Client) GetScannerOfProject(ctx context.Context, params *GetScannerOfProjectParams) (*GetScannerOfProjectOK, error)
GetScannerOfProject gets project level scanner
Get the scanner registration of the specified project. If no scanner registration is configured for the specified project, the system default scanner registration will be returned.
func (*Client) HeadProject ¶
func (a *Client) HeadProject(ctx context.Context, params *HeadProjectParams) (*HeadProjectOK, error)
HeadProject checks if the project name user provided already exists
This endpoint is used to check if the project name provided already exist.
func (*Client) ListArtifactsOfProject ¶
func (a *Client) ListArtifactsOfProject(ctx context.Context, params *ListArtifactsOfProjectParams) (*ListArtifactsOfProjectOK, error)
ListArtifactsOfProject lists artifacts
List artifacts of the specified project
func (*Client) ListProjects ¶
func (a *Client) ListProjects(ctx context.Context, params *ListProjectsParams) (*ListProjectsOK, error)
ListProjects lists projects
This endpoint returns projects created by Harbor.
func (*Client) ListScannerCandidatesOfProject ¶
func (a *Client) ListScannerCandidatesOfProject(ctx context.Context, params *ListScannerCandidatesOfProjectParams) (*ListScannerCandidatesOfProjectOK, error)
ListScannerCandidatesOfProject gets scanner registration candidates for configurating project level scanner
Retrieve the system configured scanner registrations as candidates of setting project level scanner.
func (*Client) SetScannerOfProject ¶
func (a *Client) SetScannerOfProject(ctx context.Context, params *SetScannerOfProjectParams) (*SetScannerOfProjectOK, error)
SetScannerOfProject configures scanner for the specified project
Set one of the system configured scanner registration as the indepndent scanner of the specified project.
func (*Client) UpdateProject ¶
func (a *Client) UpdateProject(ctx context.Context, params *UpdateProjectParams) (*UpdateProjectOK, error)
UpdateProject updates properties for a selected project
This endpoint is aimed to update the properties of a project.
type CreateProjectBadRequest ¶
type CreateProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateProjectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateProjectBadRequest ¶
func NewCreateProjectBadRequest() *CreateProjectBadRequest
NewCreateProjectBadRequest creates a CreateProjectBadRequest with default headers values
func (*CreateProjectBadRequest) Error ¶
func (o *CreateProjectBadRequest) Error() string
func (*CreateProjectBadRequest) GetPayload ¶
func (o *CreateProjectBadRequest) GetPayload() *models.Errors
func (*CreateProjectBadRequest) IsClientError ¶
func (o *CreateProjectBadRequest) IsClientError() bool
IsClientError returns true when this create project bad request response has a 4xx status code
func (*CreateProjectBadRequest) IsCode ¶
func (o *CreateProjectBadRequest) IsCode(code int) bool
IsCode returns true when this create project bad request response a status code equal to that given
func (*CreateProjectBadRequest) IsRedirect ¶
func (o *CreateProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this create project bad request response has a 3xx status code
func (*CreateProjectBadRequest) IsServerError ¶
func (o *CreateProjectBadRequest) IsServerError() bool
IsServerError returns true when this create project bad request response has a 5xx status code
func (*CreateProjectBadRequest) IsSuccess ¶
func (o *CreateProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this create project bad request response has a 2xx status code
func (*CreateProjectBadRequest) String ¶
func (o *CreateProjectBadRequest) String() string
type CreateProjectConflict ¶
type CreateProjectConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateProjectConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateProjectConflict ¶
func NewCreateProjectConflict() *CreateProjectConflict
NewCreateProjectConflict creates a CreateProjectConflict with default headers values
func (*CreateProjectConflict) Error ¶
func (o *CreateProjectConflict) Error() string
func (*CreateProjectConflict) GetPayload ¶
func (o *CreateProjectConflict) GetPayload() *models.Errors
func (*CreateProjectConflict) IsClientError ¶
func (o *CreateProjectConflict) IsClientError() bool
IsClientError returns true when this create project conflict response has a 4xx status code
func (*CreateProjectConflict) IsCode ¶
func (o *CreateProjectConflict) IsCode(code int) bool
IsCode returns true when this create project conflict response a status code equal to that given
func (*CreateProjectConflict) IsRedirect ¶
func (o *CreateProjectConflict) IsRedirect() bool
IsRedirect returns true when this create project conflict response has a 3xx status code
func (*CreateProjectConflict) IsServerError ¶
func (o *CreateProjectConflict) IsServerError() bool
IsServerError returns true when this create project conflict response has a 5xx status code
func (*CreateProjectConflict) IsSuccess ¶
func (o *CreateProjectConflict) IsSuccess() bool
IsSuccess returns true when this create project conflict response has a 2xx status code
func (*CreateProjectConflict) String ¶
func (o *CreateProjectConflict) String() string
type CreateProjectCreated ¶
type CreateProjectCreated struct { /* The location of the resource */ Location string /* The ID of the corresponding request for the response */ XRequestID string }
CreateProjectCreated describes a response with status code 201, with default header values.
Created
func NewCreateProjectCreated ¶
func NewCreateProjectCreated() *CreateProjectCreated
NewCreateProjectCreated creates a CreateProjectCreated with default headers values
func (*CreateProjectCreated) Error ¶
func (o *CreateProjectCreated) Error() string
func (*CreateProjectCreated) IsClientError ¶
func (o *CreateProjectCreated) IsClientError() bool
IsClientError returns true when this create project created response has a 4xx status code
func (*CreateProjectCreated) IsCode ¶
func (o *CreateProjectCreated) IsCode(code int) bool
IsCode returns true when this create project created response a status code equal to that given
func (*CreateProjectCreated) IsRedirect ¶
func (o *CreateProjectCreated) IsRedirect() bool
IsRedirect returns true when this create project created response has a 3xx status code
func (*CreateProjectCreated) IsServerError ¶
func (o *CreateProjectCreated) IsServerError() bool
IsServerError returns true when this create project created response has a 5xx status code
func (*CreateProjectCreated) IsSuccess ¶
func (o *CreateProjectCreated) IsSuccess() bool
IsSuccess returns true when this create project created response has a 2xx status code
func (*CreateProjectCreated) String ¶
func (o *CreateProjectCreated) String() string
type CreateProjectInternalServerError ¶
type CreateProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCreateProjectInternalServerError ¶
func NewCreateProjectInternalServerError() *CreateProjectInternalServerError
NewCreateProjectInternalServerError creates a CreateProjectInternalServerError with default headers values
func (*CreateProjectInternalServerError) Error ¶
func (o *CreateProjectInternalServerError) Error() string
func (*CreateProjectInternalServerError) GetPayload ¶
func (o *CreateProjectInternalServerError) GetPayload() *models.Errors
func (*CreateProjectInternalServerError) IsClientError ¶
func (o *CreateProjectInternalServerError) IsClientError() bool
IsClientError returns true when this create project internal server error response has a 4xx status code
func (*CreateProjectInternalServerError) IsCode ¶
func (o *CreateProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this create project internal server error response a status code equal to that given
func (*CreateProjectInternalServerError) IsRedirect ¶
func (o *CreateProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this create project internal server error response has a 3xx status code
func (*CreateProjectInternalServerError) IsServerError ¶
func (o *CreateProjectInternalServerError) IsServerError() bool
IsServerError returns true when this create project internal server error response has a 5xx status code
func (*CreateProjectInternalServerError) IsSuccess ¶
func (o *CreateProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this create project internal server error response has a 2xx status code
func (*CreateProjectInternalServerError) String ¶
func (o *CreateProjectInternalServerError) String() string
type CreateProjectParams ¶
type CreateProjectParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* XResourceNameInLocation. The flag to indicate whether to return the name of the resource in Location. When X-Resource-Name-In-Location is true, the Location will return the name of the resource. */ XResourceNameInLocation *bool /* Project. New created project. */ Project *models.ProjectReq Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateProjectParams contains all the parameters to send to the API endpoint
for the create project operation. Typically these are written to a http.Request.
func NewCreateProjectParams ¶
func NewCreateProjectParams() *CreateProjectParams
NewCreateProjectParams creates a new CreateProjectParams 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 NewCreateProjectParamsWithContext ¶
func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParams
NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the ability to set a context for a request.
func NewCreateProjectParamsWithHTTPClient ¶
func NewCreateProjectParamsWithHTTPClient(client *http.Client) *CreateProjectParams
NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the ability to set a custom HTTPClient for a request.
func NewCreateProjectParamsWithTimeout ¶
func NewCreateProjectParamsWithTimeout(timeout time.Duration) *CreateProjectParams
NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the ability to set a timeout on a request.
func (*CreateProjectParams) SetContext ¶
func (o *CreateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the create project params
func (*CreateProjectParams) SetDefaults ¶
func (o *CreateProjectParams) SetDefaults()
SetDefaults hydrates default values in the create project params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProjectParams) SetHTTPClient ¶
func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) SetProject ¶
func (o *CreateProjectParams) SetProject(project *models.ProjectReq)
SetProject adds the project to the create project params
func (*CreateProjectParams) SetTimeout ¶
func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create project params
func (*CreateProjectParams) SetXRequestID ¶
func (o *CreateProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create project params
func (*CreateProjectParams) SetXResourceNameInLocation ¶
func (o *CreateProjectParams) SetXResourceNameInLocation(xResourceNameInLocation *bool)
SetXResourceNameInLocation adds the xResourceNameInLocation to the create project params
func (*CreateProjectParams) WithContext ¶
func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
WithContext adds the context to the create project params
func (*CreateProjectParams) WithDefaults ¶
func (o *CreateProjectParams) WithDefaults() *CreateProjectParams
WithDefaults hydrates default values in the create project params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProjectParams) WithHTTPClient ¶
func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
WithHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) WithProject ¶
func (o *CreateProjectParams) WithProject(project *models.ProjectReq) *CreateProjectParams
WithProject adds the project to the create project params
func (*CreateProjectParams) WithTimeout ¶
func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
WithTimeout adds the timeout to the create project params
func (*CreateProjectParams) WithXRequestID ¶
func (o *CreateProjectParams) WithXRequestID(xRequestID *string) *CreateProjectParams
WithXRequestID adds the xRequestID to the create project params
func (*CreateProjectParams) WithXResourceNameInLocation ¶
func (o *CreateProjectParams) WithXResourceNameInLocation(xResourceNameInLocation *bool) *CreateProjectParams
WithXResourceNameInLocation adds the xResourceNameInLocation to the create project params
func (*CreateProjectParams) WriteToRequest ¶
func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateProjectReader ¶
type CreateProjectReader struct {
// contains filtered or unexported fields
}
CreateProjectReader is a Reader for the CreateProject structure.
func (*CreateProjectReader) ReadResponse ¶
func (o *CreateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateProjectUnauthorized ¶
type CreateProjectUnauthorized struct { string }XRequestID
CreateProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateProjectUnauthorized ¶
func NewCreateProjectUnauthorized() *CreateProjectUnauthorized
NewCreateProjectUnauthorized creates a CreateProjectUnauthorized with default headers values
func (*CreateProjectUnauthorized) Error ¶
func (o *CreateProjectUnauthorized) Error() string
func (*CreateProjectUnauthorized) GetPayload ¶
func (o *CreateProjectUnauthorized) GetPayload() *models.Errors
func (*CreateProjectUnauthorized) IsClientError ¶
func (o *CreateProjectUnauthorized) IsClientError() bool
IsClientError returns true when this create project unauthorized response has a 4xx status code
func (*CreateProjectUnauthorized) IsCode ¶
func (o *CreateProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this create project unauthorized response a status code equal to that given
func (*CreateProjectUnauthorized) IsRedirect ¶
func (o *CreateProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this create project unauthorized response has a 3xx status code
func (*CreateProjectUnauthorized) IsServerError ¶
func (o *CreateProjectUnauthorized) IsServerError() bool
IsServerError returns true when this create project unauthorized response has a 5xx status code
func (*CreateProjectUnauthorized) IsSuccess ¶
func (o *CreateProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this create project unauthorized response has a 2xx status code
func (*CreateProjectUnauthorized) String ¶
func (o *CreateProjectUnauthorized) String() string
type DeleteProjectBadRequest ¶
type DeleteProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteProjectBadRequest ¶
func NewDeleteProjectBadRequest() *DeleteProjectBadRequest
NewDeleteProjectBadRequest creates a DeleteProjectBadRequest with default headers values
func (*DeleteProjectBadRequest) Error ¶
func (o *DeleteProjectBadRequest) Error() string
func (*DeleteProjectBadRequest) GetPayload ¶
func (o *DeleteProjectBadRequest) GetPayload() *models.Errors
func (*DeleteProjectBadRequest) IsClientError ¶
func (o *DeleteProjectBadRequest) IsClientError() bool
IsClientError returns true when this delete project bad request response has a 4xx status code
func (*DeleteProjectBadRequest) IsCode ¶
func (o *DeleteProjectBadRequest) IsCode(code int) bool
IsCode returns true when this delete project bad request response a status code equal to that given
func (*DeleteProjectBadRequest) IsRedirect ¶
func (o *DeleteProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this delete project bad request response has a 3xx status code
func (*DeleteProjectBadRequest) IsServerError ¶
func (o *DeleteProjectBadRequest) IsServerError() bool
IsServerError returns true when this delete project bad request response has a 5xx status code
func (*DeleteProjectBadRequest) IsSuccess ¶
func (o *DeleteProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this delete project bad request response has a 2xx status code
func (*DeleteProjectBadRequest) String ¶
func (o *DeleteProjectBadRequest) String() string
type DeleteProjectForbidden ¶
type DeleteProjectForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteProjectForbidden ¶
func NewDeleteProjectForbidden() *DeleteProjectForbidden
NewDeleteProjectForbidden creates a DeleteProjectForbidden with default headers values
func (*DeleteProjectForbidden) Error ¶
func (o *DeleteProjectForbidden) Error() string
func (*DeleteProjectForbidden) GetPayload ¶
func (o *DeleteProjectForbidden) GetPayload() *models.Errors
func (*DeleteProjectForbidden) IsClientError ¶
func (o *DeleteProjectForbidden) IsClientError() bool
IsClientError returns true when this delete project forbidden response has a 4xx status code
func (*DeleteProjectForbidden) IsCode ¶
func (o *DeleteProjectForbidden) IsCode(code int) bool
IsCode returns true when this delete project forbidden response a status code equal to that given
func (*DeleteProjectForbidden) IsRedirect ¶
func (o *DeleteProjectForbidden) IsRedirect() bool
IsRedirect returns true when this delete project forbidden response has a 3xx status code
func (*DeleteProjectForbidden) IsServerError ¶
func (o *DeleteProjectForbidden) IsServerError() bool
IsServerError returns true when this delete project forbidden response has a 5xx status code
func (*DeleteProjectForbidden) IsSuccess ¶
func (o *DeleteProjectForbidden) IsSuccess() bool
IsSuccess returns true when this delete project forbidden response has a 2xx status code
func (*DeleteProjectForbidden) String ¶
func (o *DeleteProjectForbidden) String() string
type DeleteProjectInternalServerError ¶
type DeleteProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteProjectInternalServerError ¶
func NewDeleteProjectInternalServerError() *DeleteProjectInternalServerError
NewDeleteProjectInternalServerError creates a DeleteProjectInternalServerError with default headers values
func (*DeleteProjectInternalServerError) Error ¶
func (o *DeleteProjectInternalServerError) Error() string
func (*DeleteProjectInternalServerError) GetPayload ¶
func (o *DeleteProjectInternalServerError) GetPayload() *models.Errors
func (*DeleteProjectInternalServerError) IsClientError ¶
func (o *DeleteProjectInternalServerError) IsClientError() bool
IsClientError returns true when this delete project internal server error response has a 4xx status code
func (*DeleteProjectInternalServerError) IsCode ¶
func (o *DeleteProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this delete project internal server error response a status code equal to that given
func (*DeleteProjectInternalServerError) IsRedirect ¶
func (o *DeleteProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete project internal server error response has a 3xx status code
func (*DeleteProjectInternalServerError) IsServerError ¶
func (o *DeleteProjectInternalServerError) IsServerError() bool
IsServerError returns true when this delete project internal server error response has a 5xx status code
func (*DeleteProjectInternalServerError) IsSuccess ¶
func (o *DeleteProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete project internal server error response has a 2xx status code
func (*DeleteProjectInternalServerError) String ¶
func (o *DeleteProjectInternalServerError) String() string
type DeleteProjectNotFound ¶
type DeleteProjectNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteProjectNotFound ¶
func NewDeleteProjectNotFound() *DeleteProjectNotFound
NewDeleteProjectNotFound creates a DeleteProjectNotFound with default headers values
func (*DeleteProjectNotFound) Error ¶
func (o *DeleteProjectNotFound) Error() string
func (*DeleteProjectNotFound) GetPayload ¶
func (o *DeleteProjectNotFound) GetPayload() *models.Errors
func (*DeleteProjectNotFound) IsClientError ¶
func (o *DeleteProjectNotFound) IsClientError() bool
IsClientError returns true when this delete project not found response has a 4xx status code
func (*DeleteProjectNotFound) IsCode ¶
func (o *DeleteProjectNotFound) IsCode(code int) bool
IsCode returns true when this delete project not found response a status code equal to that given
func (*DeleteProjectNotFound) IsRedirect ¶
func (o *DeleteProjectNotFound) IsRedirect() bool
IsRedirect returns true when this delete project not found response has a 3xx status code
func (*DeleteProjectNotFound) IsServerError ¶
func (o *DeleteProjectNotFound) IsServerError() bool
IsServerError returns true when this delete project not found response has a 5xx status code
func (*DeleteProjectNotFound) IsSuccess ¶
func (o *DeleteProjectNotFound) IsSuccess() bool
IsSuccess returns true when this delete project not found response has a 2xx status code
func (*DeleteProjectNotFound) String ¶
func (o *DeleteProjectNotFound) String() string
type DeleteProjectOK ¶
type DeleteProjectOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
DeleteProjectOK describes a response with status code 200, with default header values.
Success
func NewDeleteProjectOK ¶
func NewDeleteProjectOK() *DeleteProjectOK
NewDeleteProjectOK creates a DeleteProjectOK with default headers values
func (*DeleteProjectOK) Error ¶
func (o *DeleteProjectOK) Error() string
func (*DeleteProjectOK) IsClientError ¶
func (o *DeleteProjectOK) IsClientError() bool
IsClientError returns true when this delete project o k response has a 4xx status code
func (*DeleteProjectOK) IsCode ¶
func (o *DeleteProjectOK) IsCode(code int) bool
IsCode returns true when this delete project o k response a status code equal to that given
func (*DeleteProjectOK) IsRedirect ¶
func (o *DeleteProjectOK) IsRedirect() bool
IsRedirect returns true when this delete project o k response has a 3xx status code
func (*DeleteProjectOK) IsServerError ¶
func (o *DeleteProjectOK) IsServerError() bool
IsServerError returns true when this delete project o k response has a 5xx status code
func (*DeleteProjectOK) IsSuccess ¶
func (o *DeleteProjectOK) IsSuccess() bool
IsSuccess returns true when this delete project o k response has a 2xx status code
func (*DeleteProjectOK) String ¶
func (o *DeleteProjectOK) String() string
type DeleteProjectParams ¶
type DeleteProjectParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteProjectParams contains all the parameters to send to the API endpoint
for the delete project operation. Typically these are written to a http.Request.
func NewDeleteProjectParams ¶
func NewDeleteProjectParams() *DeleteProjectParams
NewDeleteProjectParams creates a new DeleteProjectParams 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 NewDeleteProjectParamsWithContext ¶
func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParams
NewDeleteProjectParamsWithContext creates a new DeleteProjectParams object with the ability to set a context for a request.
func NewDeleteProjectParamsWithHTTPClient ¶
func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectParams
NewDeleteProjectParamsWithHTTPClient creates a new DeleteProjectParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteProjectParamsWithTimeout ¶
func NewDeleteProjectParamsWithTimeout(timeout time.Duration) *DeleteProjectParams
NewDeleteProjectParamsWithTimeout creates a new DeleteProjectParams object with the ability to set a timeout on a request.
func (*DeleteProjectParams) SetContext ¶
func (o *DeleteProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the delete project params
func (*DeleteProjectParams) SetDefaults ¶
func (o *DeleteProjectParams) SetDefaults()
SetDefaults hydrates default values in the delete project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectParams) SetHTTPClient ¶
func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) SetProjectNameOrID ¶
func (o *DeleteProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the delete project params
func (*DeleteProjectParams) SetTimeout ¶
func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) SetXIsResourceName ¶
func (o *DeleteProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the delete project params
func (*DeleteProjectParams) SetXRequestID ¶
func (o *DeleteProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete project params
func (*DeleteProjectParams) WithContext ¶
func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
WithContext adds the context to the delete project params
func (*DeleteProjectParams) WithDefaults ¶
func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams
WithDefaults hydrates default values in the delete project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectParams) WithHTTPClient ¶
func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
WithHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) WithProjectNameOrID ¶
func (o *DeleteProjectParams) WithProjectNameOrID(projectNameOrID string) *DeleteProjectParams
WithProjectNameOrID adds the projectNameOrID to the delete project params
func (*DeleteProjectParams) WithTimeout ¶
func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
WithTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) WithXIsResourceName ¶
func (o *DeleteProjectParams) WithXIsResourceName(xIsResourceName *bool) *DeleteProjectParams
WithXIsResourceName adds the xIsResourceName to the delete project params
func (*DeleteProjectParams) WithXRequestID ¶
func (o *DeleteProjectParams) WithXRequestID(xRequestID *string) *DeleteProjectParams
WithXRequestID adds the xRequestID to the delete project params
func (*DeleteProjectParams) WriteToRequest ¶
func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProjectPreconditionFailed ¶
type DeleteProjectPreconditionFailed struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectPreconditionFailed describes a response with status code 412, with default header values.
Precondition failed
func NewDeleteProjectPreconditionFailed ¶
func NewDeleteProjectPreconditionFailed() *DeleteProjectPreconditionFailed
NewDeleteProjectPreconditionFailed creates a DeleteProjectPreconditionFailed with default headers values
func (*DeleteProjectPreconditionFailed) Error ¶
func (o *DeleteProjectPreconditionFailed) Error() string
func (*DeleteProjectPreconditionFailed) GetPayload ¶
func (o *DeleteProjectPreconditionFailed) GetPayload() *models.Errors
func (*DeleteProjectPreconditionFailed) IsClientError ¶
func (o *DeleteProjectPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete project precondition failed response has a 4xx status code
func (*DeleteProjectPreconditionFailed) IsCode ¶
func (o *DeleteProjectPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete project precondition failed response a status code equal to that given
func (*DeleteProjectPreconditionFailed) IsRedirect ¶
func (o *DeleteProjectPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete project precondition failed response has a 3xx status code
func (*DeleteProjectPreconditionFailed) IsServerError ¶
func (o *DeleteProjectPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete project precondition failed response has a 5xx status code
func (*DeleteProjectPreconditionFailed) IsSuccess ¶
func (o *DeleteProjectPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete project precondition failed response has a 2xx status code
func (*DeleteProjectPreconditionFailed) String ¶
func (o *DeleteProjectPreconditionFailed) String() string
type DeleteProjectReader ¶
type DeleteProjectReader struct {
// contains filtered or unexported fields
}
DeleteProjectReader is a Reader for the DeleteProject structure.
func (*DeleteProjectReader) ReadResponse ¶
func (o *DeleteProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLogsBadRequest ¶
type GetLogsBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLogsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetLogsBadRequest ¶
func NewGetLogsBadRequest() *GetLogsBadRequest
NewGetLogsBadRequest creates a GetLogsBadRequest with default headers values
func (*GetLogsBadRequest) Error ¶
func (o *GetLogsBadRequest) Error() string
func (*GetLogsBadRequest) GetPayload ¶
func (o *GetLogsBadRequest) GetPayload() *models.Errors
func (*GetLogsBadRequest) IsClientError ¶
func (o *GetLogsBadRequest) IsClientError() bool
IsClientError returns true when this get logs bad request response has a 4xx status code
func (*GetLogsBadRequest) IsCode ¶
func (o *GetLogsBadRequest) IsCode(code int) bool
IsCode returns true when this get logs bad request response a status code equal to that given
func (*GetLogsBadRequest) IsRedirect ¶
func (o *GetLogsBadRequest) IsRedirect() bool
IsRedirect returns true when this get logs bad request response has a 3xx status code
func (*GetLogsBadRequest) IsServerError ¶
func (o *GetLogsBadRequest) IsServerError() bool
IsServerError returns true when this get logs bad request response has a 5xx status code
func (*GetLogsBadRequest) IsSuccess ¶
func (o *GetLogsBadRequest) IsSuccess() bool
IsSuccess returns true when this get logs bad request response has a 2xx status code
func (*GetLogsBadRequest) String ¶
func (o *GetLogsBadRequest) String() string
type GetLogsInternalServerError ¶
type GetLogsInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLogsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetLogsInternalServerError ¶
func NewGetLogsInternalServerError() *GetLogsInternalServerError
NewGetLogsInternalServerError creates a GetLogsInternalServerError with default headers values
func (*GetLogsInternalServerError) Error ¶
func (o *GetLogsInternalServerError) Error() string
func (*GetLogsInternalServerError) GetPayload ¶
func (o *GetLogsInternalServerError) GetPayload() *models.Errors
func (*GetLogsInternalServerError) IsClientError ¶
func (o *GetLogsInternalServerError) IsClientError() bool
IsClientError returns true when this get logs internal server error response has a 4xx status code
func (*GetLogsInternalServerError) IsCode ¶
func (o *GetLogsInternalServerError) IsCode(code int) bool
IsCode returns true when this get logs internal server error response a status code equal to that given
func (*GetLogsInternalServerError) IsRedirect ¶
func (o *GetLogsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get logs internal server error response has a 3xx status code
func (*GetLogsInternalServerError) IsServerError ¶
func (o *GetLogsInternalServerError) IsServerError() bool
IsServerError returns true when this get logs internal server error response has a 5xx status code
func (*GetLogsInternalServerError) IsSuccess ¶
func (o *GetLogsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get logs internal server error response has a 2xx status code
func (*GetLogsInternalServerError) String ¶
func (o *GetLogsInternalServerError) String() string
type GetLogsOK ¶
type GetLogsOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of auditlogs */ XTotalCount int64 Payload []*models.AuditLog }
GetLogsOK describes a response with status code 200, with default header values.
Success
func NewGetLogsOK ¶
func NewGetLogsOK() *GetLogsOK
NewGetLogsOK creates a GetLogsOK with default headers values
func (*GetLogsOK) GetPayload ¶
func (*GetLogsOK) IsClientError ¶
IsClientError returns true when this get logs o k response has a 4xx status code
func (*GetLogsOK) IsCode ¶
IsCode returns true when this get logs o k response a status code equal to that given
func (*GetLogsOK) IsRedirect ¶
IsRedirect returns true when this get logs o k response has a 3xx status code
func (*GetLogsOK) IsServerError ¶
IsServerError returns true when this get logs o k response has a 5xx status code
type GetLogsParams ¶
type GetLogsParams 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 /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2" */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLogsParams contains all the parameters to send to the API endpoint
for the get logs operation. Typically these are written to a http.Request.
func NewGetLogsParams ¶
func NewGetLogsParams() *GetLogsParams
NewGetLogsParams creates a new GetLogsParams 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 NewGetLogsParamsWithContext ¶
func NewGetLogsParamsWithContext(ctx context.Context) *GetLogsParams
NewGetLogsParamsWithContext creates a new GetLogsParams object with the ability to set a context for a request.
func NewGetLogsParamsWithHTTPClient ¶
func NewGetLogsParamsWithHTTPClient(client *http.Client) *GetLogsParams
NewGetLogsParamsWithHTTPClient creates a new GetLogsParams object with the ability to set a custom HTTPClient for a request.
func NewGetLogsParamsWithTimeout ¶
func NewGetLogsParamsWithTimeout(timeout time.Duration) *GetLogsParams
NewGetLogsParamsWithTimeout creates a new GetLogsParams object with the ability to set a timeout on a request.
func (*GetLogsParams) SetContext ¶
func (o *GetLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the get logs params
func (*GetLogsParams) SetDefaults ¶
func (o *GetLogsParams) SetDefaults()
SetDefaults hydrates default values in the get logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogsParams) SetHTTPClient ¶
func (o *GetLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get logs params
func (*GetLogsParams) SetPage ¶
func (o *GetLogsParams) SetPage(page *int64)
SetPage adds the page to the get logs params
func (*GetLogsParams) SetPageSize ¶
func (o *GetLogsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the get logs params
func (*GetLogsParams) SetProjectName ¶
func (o *GetLogsParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the get logs params
func (*GetLogsParams) SetQ ¶
func (o *GetLogsParams) SetQ(q *string)
SetQ adds the q to the get logs params
func (*GetLogsParams) SetSort ¶
func (o *GetLogsParams) SetSort(sort *string)
SetSort adds the sort to the get logs params
func (*GetLogsParams) SetTimeout ¶
func (o *GetLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get logs params
func (*GetLogsParams) SetXRequestID ¶
func (o *GetLogsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get logs params
func (*GetLogsParams) WithContext ¶
func (o *GetLogsParams) WithContext(ctx context.Context) *GetLogsParams
WithContext adds the context to the get logs params
func (*GetLogsParams) WithDefaults ¶
func (o *GetLogsParams) WithDefaults() *GetLogsParams
WithDefaults hydrates default values in the get logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogsParams) WithHTTPClient ¶
func (o *GetLogsParams) WithHTTPClient(client *http.Client) *GetLogsParams
WithHTTPClient adds the HTTPClient to the get logs params
func (*GetLogsParams) WithPage ¶
func (o *GetLogsParams) WithPage(page *int64) *GetLogsParams
WithPage adds the page to the get logs params
func (*GetLogsParams) WithPageSize ¶
func (o *GetLogsParams) WithPageSize(pageSize *int64) *GetLogsParams
WithPageSize adds the pageSize to the get logs params
func (*GetLogsParams) WithProjectName ¶
func (o *GetLogsParams) WithProjectName(projectName string) *GetLogsParams
WithProjectName adds the projectName to the get logs params
func (*GetLogsParams) WithQ ¶
func (o *GetLogsParams) WithQ(q *string) *GetLogsParams
WithQ adds the q to the get logs params
func (*GetLogsParams) WithSort ¶
func (o *GetLogsParams) WithSort(sort *string) *GetLogsParams
WithSort adds the sort to the get logs params
func (*GetLogsParams) WithTimeout ¶
func (o *GetLogsParams) WithTimeout(timeout time.Duration) *GetLogsParams
WithTimeout adds the timeout to the get logs params
func (*GetLogsParams) WithXRequestID ¶
func (o *GetLogsParams) WithXRequestID(xRequestID *string) *GetLogsParams
WithXRequestID adds the xRequestID to the get logs params
func (*GetLogsParams) WriteToRequest ¶
func (o *GetLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLogsReader ¶
type GetLogsReader struct {
// contains filtered or unexported fields
}
GetLogsReader is a Reader for the GetLogs structure.
func (*GetLogsReader) ReadResponse ¶
func (o *GetLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLogsUnauthorized ¶
type GetLogsUnauthorized struct { string }XRequestID
GetLogsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetLogsUnauthorized ¶
func NewGetLogsUnauthorized() *GetLogsUnauthorized
NewGetLogsUnauthorized creates a GetLogsUnauthorized with default headers values
func (*GetLogsUnauthorized) Error ¶
func (o *GetLogsUnauthorized) Error() string
func (*GetLogsUnauthorized) GetPayload ¶
func (o *GetLogsUnauthorized) GetPayload() *models.Errors
func (*GetLogsUnauthorized) IsClientError ¶
func (o *GetLogsUnauthorized) IsClientError() bool
IsClientError returns true when this get logs unauthorized response has a 4xx status code
func (*GetLogsUnauthorized) IsCode ¶
func (o *GetLogsUnauthorized) IsCode(code int) bool
IsCode returns true when this get logs unauthorized response a status code equal to that given
func (*GetLogsUnauthorized) IsRedirect ¶
func (o *GetLogsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get logs unauthorized response has a 3xx status code
func (*GetLogsUnauthorized) IsServerError ¶
func (o *GetLogsUnauthorized) IsServerError() bool
IsServerError returns true when this get logs unauthorized response has a 5xx status code
func (*GetLogsUnauthorized) IsSuccess ¶
func (o *GetLogsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get logs unauthorized response has a 2xx status code
func (*GetLogsUnauthorized) String ¶
func (o *GetLogsUnauthorized) String() string
type GetProjectDeletableForbidden ¶
type GetProjectDeletableForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectDeletableForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetProjectDeletableForbidden ¶
func NewGetProjectDeletableForbidden() *GetProjectDeletableForbidden
NewGetProjectDeletableForbidden creates a GetProjectDeletableForbidden with default headers values
func (*GetProjectDeletableForbidden) Error ¶
func (o *GetProjectDeletableForbidden) Error() string
func (*GetProjectDeletableForbidden) GetPayload ¶
func (o *GetProjectDeletableForbidden) GetPayload() *models.Errors
func (*GetProjectDeletableForbidden) IsClientError ¶
func (o *GetProjectDeletableForbidden) IsClientError() bool
IsClientError returns true when this get project deletable forbidden response has a 4xx status code
func (*GetProjectDeletableForbidden) IsCode ¶
func (o *GetProjectDeletableForbidden) IsCode(code int) bool
IsCode returns true when this get project deletable forbidden response a status code equal to that given
func (*GetProjectDeletableForbidden) IsRedirect ¶
func (o *GetProjectDeletableForbidden) IsRedirect() bool
IsRedirect returns true when this get project deletable forbidden response has a 3xx status code
func (*GetProjectDeletableForbidden) IsServerError ¶
func (o *GetProjectDeletableForbidden) IsServerError() bool
IsServerError returns true when this get project deletable forbidden response has a 5xx status code
func (*GetProjectDeletableForbidden) IsSuccess ¶
func (o *GetProjectDeletableForbidden) IsSuccess() bool
IsSuccess returns true when this get project deletable forbidden response has a 2xx status code
func (*GetProjectDeletableForbidden) String ¶
func (o *GetProjectDeletableForbidden) String() string
type GetProjectDeletableInternalServerError ¶
type GetProjectDeletableInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectDeletableInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetProjectDeletableInternalServerError ¶
func NewGetProjectDeletableInternalServerError() *GetProjectDeletableInternalServerError
NewGetProjectDeletableInternalServerError creates a GetProjectDeletableInternalServerError with default headers values
func (*GetProjectDeletableInternalServerError) Error ¶
func (o *GetProjectDeletableInternalServerError) Error() string
func (*GetProjectDeletableInternalServerError) GetPayload ¶
func (o *GetProjectDeletableInternalServerError) GetPayload() *models.Errors
func (*GetProjectDeletableInternalServerError) IsClientError ¶
func (o *GetProjectDeletableInternalServerError) IsClientError() bool
IsClientError returns true when this get project deletable internal server error response has a 4xx status code
func (*GetProjectDeletableInternalServerError) IsCode ¶
func (o *GetProjectDeletableInternalServerError) IsCode(code int) bool
IsCode returns true when this get project deletable internal server error response a status code equal to that given
func (*GetProjectDeletableInternalServerError) IsRedirect ¶
func (o *GetProjectDeletableInternalServerError) IsRedirect() bool
IsRedirect returns true when this get project deletable internal server error response has a 3xx status code
func (*GetProjectDeletableInternalServerError) IsServerError ¶
func (o *GetProjectDeletableInternalServerError) IsServerError() bool
IsServerError returns true when this get project deletable internal server error response has a 5xx status code
func (*GetProjectDeletableInternalServerError) IsSuccess ¶
func (o *GetProjectDeletableInternalServerError) IsSuccess() bool
IsSuccess returns true when this get project deletable internal server error response has a 2xx status code
func (*GetProjectDeletableInternalServerError) String ¶
func (o *GetProjectDeletableInternalServerError) String() string
type GetProjectDeletableNotFound ¶
type GetProjectDeletableNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectDeletableNotFound describes a response with status code 404, with default header values.
Not found
func NewGetProjectDeletableNotFound ¶
func NewGetProjectDeletableNotFound() *GetProjectDeletableNotFound
NewGetProjectDeletableNotFound creates a GetProjectDeletableNotFound with default headers values
func (*GetProjectDeletableNotFound) Error ¶
func (o *GetProjectDeletableNotFound) Error() string
func (*GetProjectDeletableNotFound) GetPayload ¶
func (o *GetProjectDeletableNotFound) GetPayload() *models.Errors
func (*GetProjectDeletableNotFound) IsClientError ¶
func (o *GetProjectDeletableNotFound) IsClientError() bool
IsClientError returns true when this get project deletable not found response has a 4xx status code
func (*GetProjectDeletableNotFound) IsCode ¶
func (o *GetProjectDeletableNotFound) IsCode(code int) bool
IsCode returns true when this get project deletable not found response a status code equal to that given
func (*GetProjectDeletableNotFound) IsRedirect ¶
func (o *GetProjectDeletableNotFound) IsRedirect() bool
IsRedirect returns true when this get project deletable not found response has a 3xx status code
func (*GetProjectDeletableNotFound) IsServerError ¶
func (o *GetProjectDeletableNotFound) IsServerError() bool
IsServerError returns true when this get project deletable not found response has a 5xx status code
func (*GetProjectDeletableNotFound) IsSuccess ¶
func (o *GetProjectDeletableNotFound) IsSuccess() bool
IsSuccess returns true when this get project deletable not found response has a 2xx status code
func (*GetProjectDeletableNotFound) String ¶
func (o *GetProjectDeletableNotFound) String() string
type GetProjectDeletableOK ¶
type GetProjectDeletableOK struct {
Payload *models.ProjectDeletable
}
GetProjectDeletableOK describes a response with status code 200, with default header values.
Return deletable status of the project.
func NewGetProjectDeletableOK ¶
func NewGetProjectDeletableOK() *GetProjectDeletableOK
NewGetProjectDeletableOK creates a GetProjectDeletableOK with default headers values
func (*GetProjectDeletableOK) Error ¶
func (o *GetProjectDeletableOK) Error() string
func (*GetProjectDeletableOK) GetPayload ¶
func (o *GetProjectDeletableOK) GetPayload() *models.ProjectDeletable
func (*GetProjectDeletableOK) IsClientError ¶
func (o *GetProjectDeletableOK) IsClientError() bool
IsClientError returns true when this get project deletable o k response has a 4xx status code
func (*GetProjectDeletableOK) IsCode ¶
func (o *GetProjectDeletableOK) IsCode(code int) bool
IsCode returns true when this get project deletable o k response a status code equal to that given
func (*GetProjectDeletableOK) IsRedirect ¶
func (o *GetProjectDeletableOK) IsRedirect() bool
IsRedirect returns true when this get project deletable o k response has a 3xx status code
func (*GetProjectDeletableOK) IsServerError ¶
func (o *GetProjectDeletableOK) IsServerError() bool
IsServerError returns true when this get project deletable o k response has a 5xx status code
func (*GetProjectDeletableOK) IsSuccess ¶
func (o *GetProjectDeletableOK) IsSuccess() bool
IsSuccess returns true when this get project deletable o k response has a 2xx status code
func (*GetProjectDeletableOK) String ¶
func (o *GetProjectDeletableOK) String() string
type GetProjectDeletableParams ¶
type GetProjectDeletableParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectDeletableParams contains all the parameters to send to the API endpoint
for the get project deletable operation. Typically these are written to a http.Request.
func NewGetProjectDeletableParams ¶
func NewGetProjectDeletableParams() *GetProjectDeletableParams
NewGetProjectDeletableParams creates a new GetProjectDeletableParams 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 NewGetProjectDeletableParamsWithContext ¶
func NewGetProjectDeletableParamsWithContext(ctx context.Context) *GetProjectDeletableParams
NewGetProjectDeletableParamsWithContext creates a new GetProjectDeletableParams object with the ability to set a context for a request.
func NewGetProjectDeletableParamsWithHTTPClient ¶
func NewGetProjectDeletableParamsWithHTTPClient(client *http.Client) *GetProjectDeletableParams
NewGetProjectDeletableParamsWithHTTPClient creates a new GetProjectDeletableParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectDeletableParamsWithTimeout ¶
func NewGetProjectDeletableParamsWithTimeout(timeout time.Duration) *GetProjectDeletableParams
NewGetProjectDeletableParamsWithTimeout creates a new GetProjectDeletableParams object with the ability to set a timeout on a request.
func (*GetProjectDeletableParams) SetContext ¶
func (o *GetProjectDeletableParams) SetContext(ctx context.Context)
SetContext adds the context to the get project deletable params
func (*GetProjectDeletableParams) SetDefaults ¶
func (o *GetProjectDeletableParams) SetDefaults()
SetDefaults hydrates default values in the get project deletable params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectDeletableParams) SetHTTPClient ¶
func (o *GetProjectDeletableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project deletable params
func (*GetProjectDeletableParams) SetProjectNameOrID ¶
func (o *GetProjectDeletableParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the get project deletable params
func (*GetProjectDeletableParams) SetTimeout ¶
func (o *GetProjectDeletableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project deletable params
func (*GetProjectDeletableParams) SetXIsResourceName ¶
func (o *GetProjectDeletableParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the get project deletable params
func (*GetProjectDeletableParams) SetXRequestID ¶
func (o *GetProjectDeletableParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get project deletable params
func (*GetProjectDeletableParams) WithContext ¶
func (o *GetProjectDeletableParams) WithContext(ctx context.Context) *GetProjectDeletableParams
WithContext adds the context to the get project deletable params
func (*GetProjectDeletableParams) WithDefaults ¶
func (o *GetProjectDeletableParams) WithDefaults() *GetProjectDeletableParams
WithDefaults hydrates default values in the get project deletable params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectDeletableParams) WithHTTPClient ¶
func (o *GetProjectDeletableParams) WithHTTPClient(client *http.Client) *GetProjectDeletableParams
WithHTTPClient adds the HTTPClient to the get project deletable params
func (*GetProjectDeletableParams) WithProjectNameOrID ¶
func (o *GetProjectDeletableParams) WithProjectNameOrID(projectNameOrID string) *GetProjectDeletableParams
WithProjectNameOrID adds the projectNameOrID to the get project deletable params
func (*GetProjectDeletableParams) WithTimeout ¶
func (o *GetProjectDeletableParams) WithTimeout(timeout time.Duration) *GetProjectDeletableParams
WithTimeout adds the timeout to the get project deletable params
func (*GetProjectDeletableParams) WithXIsResourceName ¶
func (o *GetProjectDeletableParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectDeletableParams
WithXIsResourceName adds the xIsResourceName to the get project deletable params
func (*GetProjectDeletableParams) WithXRequestID ¶
func (o *GetProjectDeletableParams) WithXRequestID(xRequestID *string) *GetProjectDeletableParams
WithXRequestID adds the xRequestID to the get project deletable params
func (*GetProjectDeletableParams) WriteToRequest ¶
func (o *GetProjectDeletableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectDeletableReader ¶
type GetProjectDeletableReader struct {
// contains filtered or unexported fields
}
GetProjectDeletableReader is a Reader for the GetProjectDeletable structure.
func (*GetProjectDeletableReader) ReadResponse ¶
func (o *GetProjectDeletableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectDeletableUnauthorized ¶
type GetProjectDeletableUnauthorized struct { string }XRequestID
GetProjectDeletableUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetProjectDeletableUnauthorized ¶
func NewGetProjectDeletableUnauthorized() *GetProjectDeletableUnauthorized
NewGetProjectDeletableUnauthorized creates a GetProjectDeletableUnauthorized with default headers values
func (*GetProjectDeletableUnauthorized) Error ¶
func (o *GetProjectDeletableUnauthorized) Error() string
func (*GetProjectDeletableUnauthorized) GetPayload ¶
func (o *GetProjectDeletableUnauthorized) GetPayload() *models.Errors
func (*GetProjectDeletableUnauthorized) IsClientError ¶
func (o *GetProjectDeletableUnauthorized) IsClientError() bool
IsClientError returns true when this get project deletable unauthorized response has a 4xx status code
func (*GetProjectDeletableUnauthorized) IsCode ¶
func (o *GetProjectDeletableUnauthorized) IsCode(code int) bool
IsCode returns true when this get project deletable unauthorized response a status code equal to that given
func (*GetProjectDeletableUnauthorized) IsRedirect ¶
func (o *GetProjectDeletableUnauthorized) IsRedirect() bool
IsRedirect returns true when this get project deletable unauthorized response has a 3xx status code
func (*GetProjectDeletableUnauthorized) IsServerError ¶
func (o *GetProjectDeletableUnauthorized) IsServerError() bool
IsServerError returns true when this get project deletable unauthorized response has a 5xx status code
func (*GetProjectDeletableUnauthorized) IsSuccess ¶
func (o *GetProjectDeletableUnauthorized) IsSuccess() bool
IsSuccess returns true when this get project deletable unauthorized response has a 2xx status code
func (*GetProjectDeletableUnauthorized) String ¶
func (o *GetProjectDeletableUnauthorized) String() string
type GetProjectInternalServerError ¶
type GetProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetProjectInternalServerError ¶
func NewGetProjectInternalServerError() *GetProjectInternalServerError
NewGetProjectInternalServerError creates a GetProjectInternalServerError with default headers values
func (*GetProjectInternalServerError) Error ¶
func (o *GetProjectInternalServerError) Error() string
func (*GetProjectInternalServerError) GetPayload ¶
func (o *GetProjectInternalServerError) GetPayload() *models.Errors
func (*GetProjectInternalServerError) IsClientError ¶
func (o *GetProjectInternalServerError) IsClientError() bool
IsClientError returns true when this get project internal server error response has a 4xx status code
func (*GetProjectInternalServerError) IsCode ¶
func (o *GetProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this get project internal server error response a status code equal to that given
func (*GetProjectInternalServerError) IsRedirect ¶
func (o *GetProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this get project internal server error response has a 3xx status code
func (*GetProjectInternalServerError) IsServerError ¶
func (o *GetProjectInternalServerError) IsServerError() bool
IsServerError returns true when this get project internal server error response has a 5xx status code
func (*GetProjectInternalServerError) IsSuccess ¶
func (o *GetProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this get project internal server error response has a 2xx status code
func (*GetProjectInternalServerError) String ¶
func (o *GetProjectInternalServerError) String() string
type GetProjectOK ¶
GetProjectOK describes a response with status code 200, with default header values.
Return matched project information.
func NewGetProjectOK ¶
func NewGetProjectOK() *GetProjectOK
NewGetProjectOK creates a GetProjectOK with default headers values
func (*GetProjectOK) Error ¶
func (o *GetProjectOK) Error() string
func (*GetProjectOK) GetPayload ¶
func (o *GetProjectOK) GetPayload() *models.Project
func (*GetProjectOK) IsClientError ¶
func (o *GetProjectOK) IsClientError() bool
IsClientError returns true when this get project o k response has a 4xx status code
func (*GetProjectOK) IsCode ¶
func (o *GetProjectOK) IsCode(code int) bool
IsCode returns true when this get project o k response a status code equal to that given
func (*GetProjectOK) IsRedirect ¶
func (o *GetProjectOK) IsRedirect() bool
IsRedirect returns true when this get project o k response has a 3xx status code
func (*GetProjectOK) IsServerError ¶
func (o *GetProjectOK) IsServerError() bool
IsServerError returns true when this get project o k response has a 5xx status code
func (*GetProjectOK) IsSuccess ¶
func (o *GetProjectOK) IsSuccess() bool
IsSuccess returns true when this get project o k response has a 2xx status code
func (*GetProjectOK) String ¶
func (o *GetProjectOK) String() string
type GetProjectParams ¶
type GetProjectParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectParams contains all the parameters to send to the API endpoint
for the get project operation. Typically these are written to a http.Request.
func NewGetProjectParams ¶
func NewGetProjectParams() *GetProjectParams
NewGetProjectParams creates a new GetProjectParams 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 NewGetProjectParamsWithContext ¶
func NewGetProjectParamsWithContext(ctx context.Context) *GetProjectParams
NewGetProjectParamsWithContext creates a new GetProjectParams object with the ability to set a context for a request.
func NewGetProjectParamsWithHTTPClient ¶
func NewGetProjectParamsWithHTTPClient(client *http.Client) *GetProjectParams
NewGetProjectParamsWithHTTPClient creates a new GetProjectParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectParamsWithTimeout ¶
func NewGetProjectParamsWithTimeout(timeout time.Duration) *GetProjectParams
NewGetProjectParamsWithTimeout creates a new GetProjectParams object with the ability to set a timeout on a request.
func (*GetProjectParams) SetContext ¶
func (o *GetProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get project params
func (*GetProjectParams) SetDefaults ¶
func (o *GetProjectParams) SetDefaults()
SetDefaults hydrates default values in the get project params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectParams) SetHTTPClient ¶
func (o *GetProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project params
func (*GetProjectParams) SetProjectNameOrID ¶
func (o *GetProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the get project params
func (*GetProjectParams) SetTimeout ¶
func (o *GetProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project params
func (*GetProjectParams) SetXIsResourceName ¶
func (o *GetProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the get project params
func (*GetProjectParams) SetXRequestID ¶
func (o *GetProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get project params
func (*GetProjectParams) WithContext ¶
func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
WithContext adds the context to the get project params
func (*GetProjectParams) WithDefaults ¶
func (o *GetProjectParams) WithDefaults() *GetProjectParams
WithDefaults hydrates default values in the get project params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectParams) WithHTTPClient ¶
func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
WithHTTPClient adds the HTTPClient to the get project params
func (*GetProjectParams) WithProjectNameOrID ¶
func (o *GetProjectParams) WithProjectNameOrID(projectNameOrID string) *GetProjectParams
WithProjectNameOrID adds the projectNameOrID to the get project params
func (*GetProjectParams) WithTimeout ¶
func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
WithTimeout adds the timeout to the get project params
func (*GetProjectParams) WithXIsResourceName ¶
func (o *GetProjectParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectParams
WithXIsResourceName adds the xIsResourceName to the get project params
func (*GetProjectParams) WithXRequestID ¶
func (o *GetProjectParams) WithXRequestID(xRequestID *string) *GetProjectParams
WithXRequestID adds the xRequestID to the get project params
func (*GetProjectParams) WriteToRequest ¶
func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectReader ¶
type GetProjectReader struct {
// contains filtered or unexported fields
}
GetProjectReader is a Reader for the GetProject structure.
func (*GetProjectReader) ReadResponse ¶
func (o *GetProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectSummaryBadRequest ¶
type GetProjectSummaryBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectSummaryBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetProjectSummaryBadRequest ¶
func NewGetProjectSummaryBadRequest() *GetProjectSummaryBadRequest
NewGetProjectSummaryBadRequest creates a GetProjectSummaryBadRequest with default headers values
func (*GetProjectSummaryBadRequest) Error ¶
func (o *GetProjectSummaryBadRequest) Error() string
func (*GetProjectSummaryBadRequest) GetPayload ¶
func (o *GetProjectSummaryBadRequest) GetPayload() *models.Errors
func (*GetProjectSummaryBadRequest) IsClientError ¶
func (o *GetProjectSummaryBadRequest) IsClientError() bool
IsClientError returns true when this get project summary bad request response has a 4xx status code
func (*GetProjectSummaryBadRequest) IsCode ¶
func (o *GetProjectSummaryBadRequest) IsCode(code int) bool
IsCode returns true when this get project summary bad request response a status code equal to that given
func (*GetProjectSummaryBadRequest) IsRedirect ¶
func (o *GetProjectSummaryBadRequest) IsRedirect() bool
IsRedirect returns true when this get project summary bad request response has a 3xx status code
func (*GetProjectSummaryBadRequest) IsServerError ¶
func (o *GetProjectSummaryBadRequest) IsServerError() bool
IsServerError returns true when this get project summary bad request response has a 5xx status code
func (*GetProjectSummaryBadRequest) IsSuccess ¶
func (o *GetProjectSummaryBadRequest) IsSuccess() bool
IsSuccess returns true when this get project summary bad request response has a 2xx status code
func (*GetProjectSummaryBadRequest) String ¶
func (o *GetProjectSummaryBadRequest) String() string
type GetProjectSummaryForbidden ¶
type GetProjectSummaryForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectSummaryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetProjectSummaryForbidden ¶
func NewGetProjectSummaryForbidden() *GetProjectSummaryForbidden
NewGetProjectSummaryForbidden creates a GetProjectSummaryForbidden with default headers values
func (*GetProjectSummaryForbidden) Error ¶
func (o *GetProjectSummaryForbidden) Error() string
func (*GetProjectSummaryForbidden) GetPayload ¶
func (o *GetProjectSummaryForbidden) GetPayload() *models.Errors
func (*GetProjectSummaryForbidden) IsClientError ¶
func (o *GetProjectSummaryForbidden) IsClientError() bool
IsClientError returns true when this get project summary forbidden response has a 4xx status code
func (*GetProjectSummaryForbidden) IsCode ¶
func (o *GetProjectSummaryForbidden) IsCode(code int) bool
IsCode returns true when this get project summary forbidden response a status code equal to that given
func (*GetProjectSummaryForbidden) IsRedirect ¶
func (o *GetProjectSummaryForbidden) IsRedirect() bool
IsRedirect returns true when this get project summary forbidden response has a 3xx status code
func (*GetProjectSummaryForbidden) IsServerError ¶
func (o *GetProjectSummaryForbidden) IsServerError() bool
IsServerError returns true when this get project summary forbidden response has a 5xx status code
func (*GetProjectSummaryForbidden) IsSuccess ¶
func (o *GetProjectSummaryForbidden) IsSuccess() bool
IsSuccess returns true when this get project summary forbidden response has a 2xx status code
func (*GetProjectSummaryForbidden) String ¶
func (o *GetProjectSummaryForbidden) String() string
type GetProjectSummaryInternalServerError ¶
type GetProjectSummaryInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectSummaryInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetProjectSummaryInternalServerError ¶
func NewGetProjectSummaryInternalServerError() *GetProjectSummaryInternalServerError
NewGetProjectSummaryInternalServerError creates a GetProjectSummaryInternalServerError with default headers values
func (*GetProjectSummaryInternalServerError) Error ¶
func (o *GetProjectSummaryInternalServerError) Error() string
func (*GetProjectSummaryInternalServerError) GetPayload ¶
func (o *GetProjectSummaryInternalServerError) GetPayload() *models.Errors
func (*GetProjectSummaryInternalServerError) IsClientError ¶
func (o *GetProjectSummaryInternalServerError) IsClientError() bool
IsClientError returns true when this get project summary internal server error response has a 4xx status code
func (*GetProjectSummaryInternalServerError) IsCode ¶
func (o *GetProjectSummaryInternalServerError) IsCode(code int) bool
IsCode returns true when this get project summary internal server error response a status code equal to that given
func (*GetProjectSummaryInternalServerError) IsRedirect ¶
func (o *GetProjectSummaryInternalServerError) IsRedirect() bool
IsRedirect returns true when this get project summary internal server error response has a 3xx status code
func (*GetProjectSummaryInternalServerError) IsServerError ¶
func (o *GetProjectSummaryInternalServerError) IsServerError() bool
IsServerError returns true when this get project summary internal server error response has a 5xx status code
func (*GetProjectSummaryInternalServerError) IsSuccess ¶
func (o *GetProjectSummaryInternalServerError) IsSuccess() bool
IsSuccess returns true when this get project summary internal server error response has a 2xx status code
func (*GetProjectSummaryInternalServerError) String ¶
func (o *GetProjectSummaryInternalServerError) String() string
type GetProjectSummaryNotFound ¶
type GetProjectSummaryNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectSummaryNotFound describes a response with status code 404, with default header values.
Not found
func NewGetProjectSummaryNotFound ¶
func NewGetProjectSummaryNotFound() *GetProjectSummaryNotFound
NewGetProjectSummaryNotFound creates a GetProjectSummaryNotFound with default headers values
func (*GetProjectSummaryNotFound) Error ¶
func (o *GetProjectSummaryNotFound) Error() string
func (*GetProjectSummaryNotFound) GetPayload ¶
func (o *GetProjectSummaryNotFound) GetPayload() *models.Errors
func (*GetProjectSummaryNotFound) IsClientError ¶
func (o *GetProjectSummaryNotFound) IsClientError() bool
IsClientError returns true when this get project summary not found response has a 4xx status code
func (*GetProjectSummaryNotFound) IsCode ¶
func (o *GetProjectSummaryNotFound) IsCode(code int) bool
IsCode returns true when this get project summary not found response a status code equal to that given
func (*GetProjectSummaryNotFound) IsRedirect ¶
func (o *GetProjectSummaryNotFound) IsRedirect() bool
IsRedirect returns true when this get project summary not found response has a 3xx status code
func (*GetProjectSummaryNotFound) IsServerError ¶
func (o *GetProjectSummaryNotFound) IsServerError() bool
IsServerError returns true when this get project summary not found response has a 5xx status code
func (*GetProjectSummaryNotFound) IsSuccess ¶
func (o *GetProjectSummaryNotFound) IsSuccess() bool
IsSuccess returns true when this get project summary not found response has a 2xx status code
func (*GetProjectSummaryNotFound) String ¶
func (o *GetProjectSummaryNotFound) String() string
type GetProjectSummaryOK ¶
type GetProjectSummaryOK struct {
Payload *models.ProjectSummary
}
GetProjectSummaryOK describes a response with status code 200, with default header values.
Get summary of the project successfully.
func NewGetProjectSummaryOK ¶
func NewGetProjectSummaryOK() *GetProjectSummaryOK
NewGetProjectSummaryOK creates a GetProjectSummaryOK with default headers values
func (*GetProjectSummaryOK) Error ¶
func (o *GetProjectSummaryOK) Error() string
func (*GetProjectSummaryOK) GetPayload ¶
func (o *GetProjectSummaryOK) GetPayload() *models.ProjectSummary
func (*GetProjectSummaryOK) IsClientError ¶
func (o *GetProjectSummaryOK) IsClientError() bool
IsClientError returns true when this get project summary o k response has a 4xx status code
func (*GetProjectSummaryOK) IsCode ¶
func (o *GetProjectSummaryOK) IsCode(code int) bool
IsCode returns true when this get project summary o k response a status code equal to that given
func (*GetProjectSummaryOK) IsRedirect ¶
func (o *GetProjectSummaryOK) IsRedirect() bool
IsRedirect returns true when this get project summary o k response has a 3xx status code
func (*GetProjectSummaryOK) IsServerError ¶
func (o *GetProjectSummaryOK) IsServerError() bool
IsServerError returns true when this get project summary o k response has a 5xx status code
func (*GetProjectSummaryOK) IsSuccess ¶
func (o *GetProjectSummaryOK) IsSuccess() bool
IsSuccess returns true when this get project summary o k response has a 2xx status code
func (*GetProjectSummaryOK) String ¶
func (o *GetProjectSummaryOK) String() string
type GetProjectSummaryParams ¶
type GetProjectSummaryParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectSummaryParams contains all the parameters to send to the API endpoint
for the get project summary operation. Typically these are written to a http.Request.
func NewGetProjectSummaryParams ¶
func NewGetProjectSummaryParams() *GetProjectSummaryParams
NewGetProjectSummaryParams creates a new GetProjectSummaryParams 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 NewGetProjectSummaryParamsWithContext ¶
func NewGetProjectSummaryParamsWithContext(ctx context.Context) *GetProjectSummaryParams
NewGetProjectSummaryParamsWithContext creates a new GetProjectSummaryParams object with the ability to set a context for a request.
func NewGetProjectSummaryParamsWithHTTPClient ¶
func NewGetProjectSummaryParamsWithHTTPClient(client *http.Client) *GetProjectSummaryParams
NewGetProjectSummaryParamsWithHTTPClient creates a new GetProjectSummaryParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectSummaryParamsWithTimeout ¶
func NewGetProjectSummaryParamsWithTimeout(timeout time.Duration) *GetProjectSummaryParams
NewGetProjectSummaryParamsWithTimeout creates a new GetProjectSummaryParams object with the ability to set a timeout on a request.
func (*GetProjectSummaryParams) SetContext ¶
func (o *GetProjectSummaryParams) SetContext(ctx context.Context)
SetContext adds the context to the get project summary params
func (*GetProjectSummaryParams) SetDefaults ¶
func (o *GetProjectSummaryParams) SetDefaults()
SetDefaults hydrates default values in the get project summary params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectSummaryParams) SetHTTPClient ¶
func (o *GetProjectSummaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project summary params
func (*GetProjectSummaryParams) SetProjectNameOrID ¶
func (o *GetProjectSummaryParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the get project summary params
func (*GetProjectSummaryParams) SetTimeout ¶
func (o *GetProjectSummaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project summary params
func (*GetProjectSummaryParams) SetXIsResourceName ¶
func (o *GetProjectSummaryParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the get project summary params
func (*GetProjectSummaryParams) SetXRequestID ¶
func (o *GetProjectSummaryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get project summary params
func (*GetProjectSummaryParams) WithContext ¶
func (o *GetProjectSummaryParams) WithContext(ctx context.Context) *GetProjectSummaryParams
WithContext adds the context to the get project summary params
func (*GetProjectSummaryParams) WithDefaults ¶
func (o *GetProjectSummaryParams) WithDefaults() *GetProjectSummaryParams
WithDefaults hydrates default values in the get project summary params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectSummaryParams) WithHTTPClient ¶
func (o *GetProjectSummaryParams) WithHTTPClient(client *http.Client) *GetProjectSummaryParams
WithHTTPClient adds the HTTPClient to the get project summary params
func (*GetProjectSummaryParams) WithProjectNameOrID ¶
func (o *GetProjectSummaryParams) WithProjectNameOrID(projectNameOrID string) *GetProjectSummaryParams
WithProjectNameOrID adds the projectNameOrID to the get project summary params
func (*GetProjectSummaryParams) WithTimeout ¶
func (o *GetProjectSummaryParams) WithTimeout(timeout time.Duration) *GetProjectSummaryParams
WithTimeout adds the timeout to the get project summary params
func (*GetProjectSummaryParams) WithXIsResourceName ¶
func (o *GetProjectSummaryParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectSummaryParams
WithXIsResourceName adds the xIsResourceName to the get project summary params
func (*GetProjectSummaryParams) WithXRequestID ¶
func (o *GetProjectSummaryParams) WithXRequestID(xRequestID *string) *GetProjectSummaryParams
WithXRequestID adds the xRequestID to the get project summary params
func (*GetProjectSummaryParams) WriteToRequest ¶
func (o *GetProjectSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectSummaryReader ¶
type GetProjectSummaryReader struct {
// contains filtered or unexported fields
}
GetProjectSummaryReader is a Reader for the GetProjectSummary structure.
func (*GetProjectSummaryReader) ReadResponse ¶
func (o *GetProjectSummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectSummaryUnauthorized ¶
type GetProjectSummaryUnauthorized struct { string }XRequestID
GetProjectSummaryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetProjectSummaryUnauthorized ¶
func NewGetProjectSummaryUnauthorized() *GetProjectSummaryUnauthorized
NewGetProjectSummaryUnauthorized creates a GetProjectSummaryUnauthorized with default headers values
func (*GetProjectSummaryUnauthorized) Error ¶
func (o *GetProjectSummaryUnauthorized) Error() string
func (*GetProjectSummaryUnauthorized) GetPayload ¶
func (o *GetProjectSummaryUnauthorized) GetPayload() *models.Errors
func (*GetProjectSummaryUnauthorized) IsClientError ¶
func (o *GetProjectSummaryUnauthorized) IsClientError() bool
IsClientError returns true when this get project summary unauthorized response has a 4xx status code
func (*GetProjectSummaryUnauthorized) IsCode ¶
func (o *GetProjectSummaryUnauthorized) IsCode(code int) bool
IsCode returns true when this get project summary unauthorized response a status code equal to that given
func (*GetProjectSummaryUnauthorized) IsRedirect ¶
func (o *GetProjectSummaryUnauthorized) IsRedirect() bool
IsRedirect returns true when this get project summary unauthorized response has a 3xx status code
func (*GetProjectSummaryUnauthorized) IsServerError ¶
func (o *GetProjectSummaryUnauthorized) IsServerError() bool
IsServerError returns true when this get project summary unauthorized response has a 5xx status code
func (*GetProjectSummaryUnauthorized) IsSuccess ¶
func (o *GetProjectSummaryUnauthorized) IsSuccess() bool
IsSuccess returns true when this get project summary unauthorized response has a 2xx status code
func (*GetProjectSummaryUnauthorized) String ¶
func (o *GetProjectSummaryUnauthorized) String() string
type GetProjectUnauthorized ¶
type GetProjectUnauthorized struct { string }XRequestID
GetProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetProjectUnauthorized ¶
func NewGetProjectUnauthorized() *GetProjectUnauthorized
NewGetProjectUnauthorized creates a GetProjectUnauthorized with default headers values
func (*GetProjectUnauthorized) Error ¶
func (o *GetProjectUnauthorized) Error() string
func (*GetProjectUnauthorized) GetPayload ¶
func (o *GetProjectUnauthorized) GetPayload() *models.Errors
func (*GetProjectUnauthorized) IsClientError ¶
func (o *GetProjectUnauthorized) IsClientError() bool
IsClientError returns true when this get project unauthorized response has a 4xx status code
func (*GetProjectUnauthorized) IsCode ¶
func (o *GetProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this get project unauthorized response a status code equal to that given
func (*GetProjectUnauthorized) IsRedirect ¶
func (o *GetProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this get project unauthorized response has a 3xx status code
func (*GetProjectUnauthorized) IsServerError ¶
func (o *GetProjectUnauthorized) IsServerError() bool
IsServerError returns true when this get project unauthorized response has a 5xx status code
func (*GetProjectUnauthorized) IsSuccess ¶
func (o *GetProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this get project unauthorized response has a 2xx status code
func (*GetProjectUnauthorized) String ¶
func (o *GetProjectUnauthorized) String() string
type GetScannerOfProjectBadRequest ¶
type GetScannerOfProjectBadRequest struct { }
GetScannerOfProjectBadRequest describes a response with status code 400, with default header values.
Bad project ID
func NewGetScannerOfProjectBadRequest ¶
func NewGetScannerOfProjectBadRequest() *GetScannerOfProjectBadRequest
NewGetScannerOfProjectBadRequest creates a GetScannerOfProjectBadRequest with default headers values
func (*GetScannerOfProjectBadRequest) Error ¶
func (o *GetScannerOfProjectBadRequest) Error() string
func (*GetScannerOfProjectBadRequest) IsClientError ¶
func (o *GetScannerOfProjectBadRequest) IsClientError() bool
IsClientError returns true when this get scanner of project bad request response has a 4xx status code
func (*GetScannerOfProjectBadRequest) IsCode ¶
func (o *GetScannerOfProjectBadRequest) IsCode(code int) bool
IsCode returns true when this get scanner of project bad request response a status code equal to that given
func (*GetScannerOfProjectBadRequest) IsRedirect ¶
func (o *GetScannerOfProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this get scanner of project bad request response has a 3xx status code
func (*GetScannerOfProjectBadRequest) IsServerError ¶
func (o *GetScannerOfProjectBadRequest) IsServerError() bool
IsServerError returns true when this get scanner of project bad request response has a 5xx status code
func (*GetScannerOfProjectBadRequest) IsSuccess ¶
func (o *GetScannerOfProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this get scanner of project bad request response has a 2xx status code
func (*GetScannerOfProjectBadRequest) String ¶
func (o *GetScannerOfProjectBadRequest) String() string
type GetScannerOfProjectForbidden ¶
type GetScannerOfProjectForbidden struct { }
GetScannerOfProjectForbidden describes a response with status code 403, with default header values.
Request is not allowed
func NewGetScannerOfProjectForbidden ¶
func NewGetScannerOfProjectForbidden() *GetScannerOfProjectForbidden
NewGetScannerOfProjectForbidden creates a GetScannerOfProjectForbidden with default headers values
func (*GetScannerOfProjectForbidden) Error ¶
func (o *GetScannerOfProjectForbidden) Error() string
func (*GetScannerOfProjectForbidden) IsClientError ¶
func (o *GetScannerOfProjectForbidden) IsClientError() bool
IsClientError returns true when this get scanner of project forbidden response has a 4xx status code
func (*GetScannerOfProjectForbidden) IsCode ¶
func (o *GetScannerOfProjectForbidden) IsCode(code int) bool
IsCode returns true when this get scanner of project forbidden response a status code equal to that given
func (*GetScannerOfProjectForbidden) IsRedirect ¶
func (o *GetScannerOfProjectForbidden) IsRedirect() bool
IsRedirect returns true when this get scanner of project forbidden response has a 3xx status code
func (*GetScannerOfProjectForbidden) IsServerError ¶
func (o *GetScannerOfProjectForbidden) IsServerError() bool
IsServerError returns true when this get scanner of project forbidden response has a 5xx status code
func (*GetScannerOfProjectForbidden) IsSuccess ¶
func (o *GetScannerOfProjectForbidden) IsSuccess() bool
IsSuccess returns true when this get scanner of project forbidden response has a 2xx status code
func (*GetScannerOfProjectForbidden) String ¶
func (o *GetScannerOfProjectForbidden) String() string
type GetScannerOfProjectInternalServerError ¶
type GetScannerOfProjectInternalServerError struct { }
GetScannerOfProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error happened
func NewGetScannerOfProjectInternalServerError ¶
func NewGetScannerOfProjectInternalServerError() *GetScannerOfProjectInternalServerError
NewGetScannerOfProjectInternalServerError creates a GetScannerOfProjectInternalServerError with default headers values
func (*GetScannerOfProjectInternalServerError) Error ¶
func (o *GetScannerOfProjectInternalServerError) Error() string
func (*GetScannerOfProjectInternalServerError) IsClientError ¶
func (o *GetScannerOfProjectInternalServerError) IsClientError() bool
IsClientError returns true when this get scanner of project internal server error response has a 4xx status code
func (*GetScannerOfProjectInternalServerError) IsCode ¶
func (o *GetScannerOfProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this get scanner of project internal server error response a status code equal to that given
func (*GetScannerOfProjectInternalServerError) IsRedirect ¶
func (o *GetScannerOfProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this get scanner of project internal server error response has a 3xx status code
func (*GetScannerOfProjectInternalServerError) IsServerError ¶
func (o *GetScannerOfProjectInternalServerError) IsServerError() bool
IsServerError returns true when this get scanner of project internal server error response has a 5xx status code
func (*GetScannerOfProjectInternalServerError) IsSuccess ¶
func (o *GetScannerOfProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this get scanner of project internal server error response has a 2xx status code
func (*GetScannerOfProjectInternalServerError) String ¶
func (o *GetScannerOfProjectInternalServerError) String() string
type GetScannerOfProjectNotFound ¶
type GetScannerOfProjectNotFound struct { }
GetScannerOfProjectNotFound describes a response with status code 404, with default header values.
The requested object is not found
func NewGetScannerOfProjectNotFound ¶
func NewGetScannerOfProjectNotFound() *GetScannerOfProjectNotFound
NewGetScannerOfProjectNotFound creates a GetScannerOfProjectNotFound with default headers values
func (*GetScannerOfProjectNotFound) Error ¶
func (o *GetScannerOfProjectNotFound) Error() string
func (*GetScannerOfProjectNotFound) IsClientError ¶
func (o *GetScannerOfProjectNotFound) IsClientError() bool
IsClientError returns true when this get scanner of project not found response has a 4xx status code
func (*GetScannerOfProjectNotFound) IsCode ¶
func (o *GetScannerOfProjectNotFound) IsCode(code int) bool
IsCode returns true when this get scanner of project not found response a status code equal to that given
func (*GetScannerOfProjectNotFound) IsRedirect ¶
func (o *GetScannerOfProjectNotFound) IsRedirect() bool
IsRedirect returns true when this get scanner of project not found response has a 3xx status code
func (*GetScannerOfProjectNotFound) IsServerError ¶
func (o *GetScannerOfProjectNotFound) IsServerError() bool
IsServerError returns true when this get scanner of project not found response has a 5xx status code
func (*GetScannerOfProjectNotFound) IsSuccess ¶
func (o *GetScannerOfProjectNotFound) IsSuccess() bool
IsSuccess returns true when this get scanner of project not found response has a 2xx status code
func (*GetScannerOfProjectNotFound) String ¶
func (o *GetScannerOfProjectNotFound) String() string
type GetScannerOfProjectOK ¶
type GetScannerOfProjectOK struct {
Payload *models.ScannerRegistration
}
GetScannerOfProjectOK describes a response with status code 200, with default header values.
The details of the scanner registration.
func NewGetScannerOfProjectOK ¶
func NewGetScannerOfProjectOK() *GetScannerOfProjectOK
NewGetScannerOfProjectOK creates a GetScannerOfProjectOK with default headers values
func (*GetScannerOfProjectOK) Error ¶
func (o *GetScannerOfProjectOK) Error() string
func (*GetScannerOfProjectOK) GetPayload ¶
func (o *GetScannerOfProjectOK) GetPayload() *models.ScannerRegistration
func (*GetScannerOfProjectOK) IsClientError ¶
func (o *GetScannerOfProjectOK) IsClientError() bool
IsClientError returns true when this get scanner of project o k response has a 4xx status code
func (*GetScannerOfProjectOK) IsCode ¶
func (o *GetScannerOfProjectOK) IsCode(code int) bool
IsCode returns true when this get scanner of project o k response a status code equal to that given
func (*GetScannerOfProjectOK) IsRedirect ¶
func (o *GetScannerOfProjectOK) IsRedirect() bool
IsRedirect returns true when this get scanner of project o k response has a 3xx status code
func (*GetScannerOfProjectOK) IsServerError ¶
func (o *GetScannerOfProjectOK) IsServerError() bool
IsServerError returns true when this get scanner of project o k response has a 5xx status code
func (*GetScannerOfProjectOK) IsSuccess ¶
func (o *GetScannerOfProjectOK) IsSuccess() bool
IsSuccess returns true when this get scanner of project o k response has a 2xx status code
func (*GetScannerOfProjectOK) String ¶
func (o *GetScannerOfProjectOK) String() string
type GetScannerOfProjectParams ¶
type GetScannerOfProjectParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetScannerOfProjectParams contains all the parameters to send to the API endpoint
for the get scanner of project operation. Typically these are written to a http.Request.
func NewGetScannerOfProjectParams ¶
func NewGetScannerOfProjectParams() *GetScannerOfProjectParams
NewGetScannerOfProjectParams creates a new GetScannerOfProjectParams 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 NewGetScannerOfProjectParamsWithContext ¶
func NewGetScannerOfProjectParamsWithContext(ctx context.Context) *GetScannerOfProjectParams
NewGetScannerOfProjectParamsWithContext creates a new GetScannerOfProjectParams object with the ability to set a context for a request.
func NewGetScannerOfProjectParamsWithHTTPClient ¶
func NewGetScannerOfProjectParamsWithHTTPClient(client *http.Client) *GetScannerOfProjectParams
NewGetScannerOfProjectParamsWithHTTPClient creates a new GetScannerOfProjectParams object with the ability to set a custom HTTPClient for a request.
func NewGetScannerOfProjectParamsWithTimeout ¶
func NewGetScannerOfProjectParamsWithTimeout(timeout time.Duration) *GetScannerOfProjectParams
NewGetScannerOfProjectParamsWithTimeout creates a new GetScannerOfProjectParams object with the ability to set a timeout on a request.
func (*GetScannerOfProjectParams) SetContext ¶
func (o *GetScannerOfProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get scanner of project params
func (*GetScannerOfProjectParams) SetDefaults ¶
func (o *GetScannerOfProjectParams) SetDefaults()
SetDefaults hydrates default values in the get scanner of project params (not the query body).
All values with no default are reset to their zero value.
func (*GetScannerOfProjectParams) SetHTTPClient ¶
func (o *GetScannerOfProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get scanner of project params
func (*GetScannerOfProjectParams) SetProjectNameOrID ¶
func (o *GetScannerOfProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the get scanner of project params
func (*GetScannerOfProjectParams) SetTimeout ¶
func (o *GetScannerOfProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get scanner of project params
func (*GetScannerOfProjectParams) SetXIsResourceName ¶
func (o *GetScannerOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the get scanner of project params
func (*GetScannerOfProjectParams) SetXRequestID ¶
func (o *GetScannerOfProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get scanner of project params
func (*GetScannerOfProjectParams) WithContext ¶
func (o *GetScannerOfProjectParams) WithContext(ctx context.Context) *GetScannerOfProjectParams
WithContext adds the context to the get scanner of project params
func (*GetScannerOfProjectParams) WithDefaults ¶
func (o *GetScannerOfProjectParams) WithDefaults() *GetScannerOfProjectParams
WithDefaults hydrates default values in the get scanner of project params (not the query body).
All values with no default are reset to their zero value.
func (*GetScannerOfProjectParams) WithHTTPClient ¶
func (o *GetScannerOfProjectParams) WithHTTPClient(client *http.Client) *GetScannerOfProjectParams
WithHTTPClient adds the HTTPClient to the get scanner of project params
func (*GetScannerOfProjectParams) WithProjectNameOrID ¶
func (o *GetScannerOfProjectParams) WithProjectNameOrID(projectNameOrID string) *GetScannerOfProjectParams
WithProjectNameOrID adds the projectNameOrID to the get scanner of project params
func (*GetScannerOfProjectParams) WithTimeout ¶
func (o *GetScannerOfProjectParams) WithTimeout(timeout time.Duration) *GetScannerOfProjectParams
WithTimeout adds the timeout to the get scanner of project params
func (*GetScannerOfProjectParams) WithXIsResourceName ¶
func (o *GetScannerOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *GetScannerOfProjectParams
WithXIsResourceName adds the xIsResourceName to the get scanner of project params
func (*GetScannerOfProjectParams) WithXRequestID ¶
func (o *GetScannerOfProjectParams) WithXRequestID(xRequestID *string) *GetScannerOfProjectParams
WithXRequestID adds the xRequestID to the get scanner of project params
func (*GetScannerOfProjectParams) WriteToRequest ¶
func (o *GetScannerOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetScannerOfProjectReader ¶
type GetScannerOfProjectReader struct {
// contains filtered or unexported fields
}
GetScannerOfProjectReader is a Reader for the GetScannerOfProject structure.
func (*GetScannerOfProjectReader) ReadResponse ¶
func (o *GetScannerOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScannerOfProjectUnauthorized ¶
type GetScannerOfProjectUnauthorized struct { }
GetScannerOfProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized request
func NewGetScannerOfProjectUnauthorized ¶
func NewGetScannerOfProjectUnauthorized() *GetScannerOfProjectUnauthorized
NewGetScannerOfProjectUnauthorized creates a GetScannerOfProjectUnauthorized with default headers values
func (*GetScannerOfProjectUnauthorized) Error ¶
func (o *GetScannerOfProjectUnauthorized) Error() string
func (*GetScannerOfProjectUnauthorized) IsClientError ¶
func (o *GetScannerOfProjectUnauthorized) IsClientError() bool
IsClientError returns true when this get scanner of project unauthorized response has a 4xx status code
func (*GetScannerOfProjectUnauthorized) IsCode ¶
func (o *GetScannerOfProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this get scanner of project unauthorized response a status code equal to that given
func (*GetScannerOfProjectUnauthorized) IsRedirect ¶
func (o *GetScannerOfProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this get scanner of project unauthorized response has a 3xx status code
func (*GetScannerOfProjectUnauthorized) IsServerError ¶
func (o *GetScannerOfProjectUnauthorized) IsServerError() bool
IsServerError returns true when this get scanner of project unauthorized response has a 5xx status code
func (*GetScannerOfProjectUnauthorized) IsSuccess ¶
func (o *GetScannerOfProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this get scanner of project unauthorized response has a 2xx status code
func (*GetScannerOfProjectUnauthorized) String ¶
func (o *GetScannerOfProjectUnauthorized) String() string
type HeadProjectInternalServerError ¶
type HeadProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
HeadProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewHeadProjectInternalServerError ¶
func NewHeadProjectInternalServerError() *HeadProjectInternalServerError
NewHeadProjectInternalServerError creates a HeadProjectInternalServerError with default headers values
func (*HeadProjectInternalServerError) Error ¶
func (o *HeadProjectInternalServerError) Error() string
func (*HeadProjectInternalServerError) GetPayload ¶
func (o *HeadProjectInternalServerError) GetPayload() *models.Errors
func (*HeadProjectInternalServerError) IsClientError ¶
func (o *HeadProjectInternalServerError) IsClientError() bool
IsClientError returns true when this head project internal server error response has a 4xx status code
func (*HeadProjectInternalServerError) IsCode ¶
func (o *HeadProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this head project internal server error response a status code equal to that given
func (*HeadProjectInternalServerError) IsRedirect ¶
func (o *HeadProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this head project internal server error response has a 3xx status code
func (*HeadProjectInternalServerError) IsServerError ¶
func (o *HeadProjectInternalServerError) IsServerError() bool
IsServerError returns true when this head project internal server error response has a 5xx status code
func (*HeadProjectInternalServerError) IsSuccess ¶
func (o *HeadProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this head project internal server error response has a 2xx status code
func (*HeadProjectInternalServerError) String ¶
func (o *HeadProjectInternalServerError) String() string
type HeadProjectNotFound ¶
type HeadProjectNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
HeadProjectNotFound describes a response with status code 404, with default header values.
Not found
func NewHeadProjectNotFound ¶
func NewHeadProjectNotFound() *HeadProjectNotFound
NewHeadProjectNotFound creates a HeadProjectNotFound with default headers values
func (*HeadProjectNotFound) Error ¶
func (o *HeadProjectNotFound) Error() string
func (*HeadProjectNotFound) GetPayload ¶
func (o *HeadProjectNotFound) GetPayload() *models.Errors
func (*HeadProjectNotFound) IsClientError ¶
func (o *HeadProjectNotFound) IsClientError() bool
IsClientError returns true when this head project not found response has a 4xx status code
func (*HeadProjectNotFound) IsCode ¶
func (o *HeadProjectNotFound) IsCode(code int) bool
IsCode returns true when this head project not found response a status code equal to that given
func (*HeadProjectNotFound) IsRedirect ¶
func (o *HeadProjectNotFound) IsRedirect() bool
IsRedirect returns true when this head project not found response has a 3xx status code
func (*HeadProjectNotFound) IsServerError ¶
func (o *HeadProjectNotFound) IsServerError() bool
IsServerError returns true when this head project not found response has a 5xx status code
func (*HeadProjectNotFound) IsSuccess ¶
func (o *HeadProjectNotFound) IsSuccess() bool
IsSuccess returns true when this head project not found response has a 2xx status code
func (*HeadProjectNotFound) String ¶
func (o *HeadProjectNotFound) String() string
type HeadProjectOK ¶
type HeadProjectOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
HeadProjectOK describes a response with status code 200, with default header values.
Success
func NewHeadProjectOK ¶
func NewHeadProjectOK() *HeadProjectOK
NewHeadProjectOK creates a HeadProjectOK with default headers values
func (*HeadProjectOK) Error ¶
func (o *HeadProjectOK) Error() string
func (*HeadProjectOK) IsClientError ¶
func (o *HeadProjectOK) IsClientError() bool
IsClientError returns true when this head project o k response has a 4xx status code
func (*HeadProjectOK) IsCode ¶
func (o *HeadProjectOK) IsCode(code int) bool
IsCode returns true when this head project o k response a status code equal to that given
func (*HeadProjectOK) IsRedirect ¶
func (o *HeadProjectOK) IsRedirect() bool
IsRedirect returns true when this head project o k response has a 3xx status code
func (*HeadProjectOK) IsServerError ¶
func (o *HeadProjectOK) IsServerError() bool
IsServerError returns true when this head project o k response has a 5xx status code
func (*HeadProjectOK) IsSuccess ¶
func (o *HeadProjectOK) IsSuccess() bool
IsSuccess returns true when this head project o k response has a 2xx status code
func (*HeadProjectOK) String ¶
func (o *HeadProjectOK) String() string
type HeadProjectParams ¶
type HeadProjectParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectName. Project name for checking exists. */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HeadProjectParams contains all the parameters to send to the API endpoint
for the head project operation. Typically these are written to a http.Request.
func NewHeadProjectParams ¶
func NewHeadProjectParams() *HeadProjectParams
NewHeadProjectParams creates a new HeadProjectParams 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 NewHeadProjectParamsWithContext ¶
func NewHeadProjectParamsWithContext(ctx context.Context) *HeadProjectParams
NewHeadProjectParamsWithContext creates a new HeadProjectParams object with the ability to set a context for a request.
func NewHeadProjectParamsWithHTTPClient ¶
func NewHeadProjectParamsWithHTTPClient(client *http.Client) *HeadProjectParams
NewHeadProjectParamsWithHTTPClient creates a new HeadProjectParams object with the ability to set a custom HTTPClient for a request.
func NewHeadProjectParamsWithTimeout ¶
func NewHeadProjectParamsWithTimeout(timeout time.Duration) *HeadProjectParams
NewHeadProjectParamsWithTimeout creates a new HeadProjectParams object with the ability to set a timeout on a request.
func (*HeadProjectParams) SetContext ¶
func (o *HeadProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the head project params
func (*HeadProjectParams) SetDefaults ¶
func (o *HeadProjectParams) SetDefaults()
SetDefaults hydrates default values in the head project params (not the query body).
All values with no default are reset to their zero value.
func (*HeadProjectParams) SetHTTPClient ¶
func (o *HeadProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the head project params
func (*HeadProjectParams) SetProjectName ¶
func (o *HeadProjectParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the head project params
func (*HeadProjectParams) SetTimeout ¶
func (o *HeadProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the head project params
func (*HeadProjectParams) SetXRequestID ¶
func (o *HeadProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the head project params
func (*HeadProjectParams) WithContext ¶
func (o *HeadProjectParams) WithContext(ctx context.Context) *HeadProjectParams
WithContext adds the context to the head project params
func (*HeadProjectParams) WithDefaults ¶
func (o *HeadProjectParams) WithDefaults() *HeadProjectParams
WithDefaults hydrates default values in the head project params (not the query body).
All values with no default are reset to their zero value.
func (*HeadProjectParams) WithHTTPClient ¶
func (o *HeadProjectParams) WithHTTPClient(client *http.Client) *HeadProjectParams
WithHTTPClient adds the HTTPClient to the head project params
func (*HeadProjectParams) WithProjectName ¶
func (o *HeadProjectParams) WithProjectName(projectName string) *HeadProjectParams
WithProjectName adds the projectName to the head project params
func (*HeadProjectParams) WithTimeout ¶
func (o *HeadProjectParams) WithTimeout(timeout time.Duration) *HeadProjectParams
WithTimeout adds the timeout to the head project params
func (*HeadProjectParams) WithXRequestID ¶
func (o *HeadProjectParams) WithXRequestID(xRequestID *string) *HeadProjectParams
WithXRequestID adds the xRequestID to the head project params
func (*HeadProjectParams) WriteToRequest ¶
func (o *HeadProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HeadProjectReader ¶
type HeadProjectReader struct {
// contains filtered or unexported fields
}
HeadProjectReader is a Reader for the HeadProject structure.
func (*HeadProjectReader) ReadResponse ¶
func (o *HeadProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListArtifactsOfProjectBadRequest ¶
type ListArtifactsOfProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListArtifactsOfProjectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListArtifactsOfProjectBadRequest ¶
func NewListArtifactsOfProjectBadRequest() *ListArtifactsOfProjectBadRequest
NewListArtifactsOfProjectBadRequest creates a ListArtifactsOfProjectBadRequest with default headers values
func (*ListArtifactsOfProjectBadRequest) Error ¶
func (o *ListArtifactsOfProjectBadRequest) Error() string
func (*ListArtifactsOfProjectBadRequest) GetPayload ¶
func (o *ListArtifactsOfProjectBadRequest) GetPayload() *models.Errors
func (*ListArtifactsOfProjectBadRequest) IsClientError ¶
func (o *ListArtifactsOfProjectBadRequest) IsClientError() bool
IsClientError returns true when this list artifacts of project bad request response has a 4xx status code
func (*ListArtifactsOfProjectBadRequest) IsCode ¶
func (o *ListArtifactsOfProjectBadRequest) IsCode(code int) bool
IsCode returns true when this list artifacts of project bad request response a status code equal to that given
func (*ListArtifactsOfProjectBadRequest) IsRedirect ¶
func (o *ListArtifactsOfProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this list artifacts of project bad request response has a 3xx status code
func (*ListArtifactsOfProjectBadRequest) IsServerError ¶
func (o *ListArtifactsOfProjectBadRequest) IsServerError() bool
IsServerError returns true when this list artifacts of project bad request response has a 5xx status code
func (*ListArtifactsOfProjectBadRequest) IsSuccess ¶
func (o *ListArtifactsOfProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this list artifacts of project bad request response has a 2xx status code
func (*ListArtifactsOfProjectBadRequest) String ¶
func (o *ListArtifactsOfProjectBadRequest) String() string
type ListArtifactsOfProjectForbidden ¶
type ListArtifactsOfProjectForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListArtifactsOfProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListArtifactsOfProjectForbidden ¶
func NewListArtifactsOfProjectForbidden() *ListArtifactsOfProjectForbidden
NewListArtifactsOfProjectForbidden creates a ListArtifactsOfProjectForbidden with default headers values
func (*ListArtifactsOfProjectForbidden) Error ¶
func (o *ListArtifactsOfProjectForbidden) Error() string
func (*ListArtifactsOfProjectForbidden) GetPayload ¶
func (o *ListArtifactsOfProjectForbidden) GetPayload() *models.Errors
func (*ListArtifactsOfProjectForbidden) IsClientError ¶
func (o *ListArtifactsOfProjectForbidden) IsClientError() bool
IsClientError returns true when this list artifacts of project forbidden response has a 4xx status code
func (*ListArtifactsOfProjectForbidden) IsCode ¶
func (o *ListArtifactsOfProjectForbidden) IsCode(code int) bool
IsCode returns true when this list artifacts of project forbidden response a status code equal to that given
func (*ListArtifactsOfProjectForbidden) IsRedirect ¶
func (o *ListArtifactsOfProjectForbidden) IsRedirect() bool
IsRedirect returns true when this list artifacts of project forbidden response has a 3xx status code
func (*ListArtifactsOfProjectForbidden) IsServerError ¶
func (o *ListArtifactsOfProjectForbidden) IsServerError() bool
IsServerError returns true when this list artifacts of project forbidden response has a 5xx status code
func (*ListArtifactsOfProjectForbidden) IsSuccess ¶
func (o *ListArtifactsOfProjectForbidden) IsSuccess() bool
IsSuccess returns true when this list artifacts of project forbidden response has a 2xx status code
func (*ListArtifactsOfProjectForbidden) String ¶
func (o *ListArtifactsOfProjectForbidden) String() string
type ListArtifactsOfProjectInternalServerError ¶
type ListArtifactsOfProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListArtifactsOfProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListArtifactsOfProjectInternalServerError ¶
func NewListArtifactsOfProjectInternalServerError() *ListArtifactsOfProjectInternalServerError
NewListArtifactsOfProjectInternalServerError creates a ListArtifactsOfProjectInternalServerError with default headers values
func (*ListArtifactsOfProjectInternalServerError) Error ¶
func (o *ListArtifactsOfProjectInternalServerError) Error() string
func (*ListArtifactsOfProjectInternalServerError) GetPayload ¶
func (o *ListArtifactsOfProjectInternalServerError) GetPayload() *models.Errors
func (*ListArtifactsOfProjectInternalServerError) IsClientError ¶
func (o *ListArtifactsOfProjectInternalServerError) IsClientError() bool
IsClientError returns true when this list artifacts of project internal server error response has a 4xx status code
func (*ListArtifactsOfProjectInternalServerError) IsCode ¶
func (o *ListArtifactsOfProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this list artifacts of project internal server error response a status code equal to that given
func (*ListArtifactsOfProjectInternalServerError) IsRedirect ¶
func (o *ListArtifactsOfProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this list artifacts of project internal server error response has a 3xx status code
func (*ListArtifactsOfProjectInternalServerError) IsServerError ¶
func (o *ListArtifactsOfProjectInternalServerError) IsServerError() bool
IsServerError returns true when this list artifacts of project internal server error response has a 5xx status code
func (*ListArtifactsOfProjectInternalServerError) IsSuccess ¶
func (o *ListArtifactsOfProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this list artifacts of project internal server error response has a 2xx status code
func (*ListArtifactsOfProjectInternalServerError) String ¶
func (o *ListArtifactsOfProjectInternalServerError) String() string
type ListArtifactsOfProjectNotFound ¶
type ListArtifactsOfProjectNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListArtifactsOfProjectNotFound describes a response with status code 404, with default header values.
Not found
func NewListArtifactsOfProjectNotFound ¶
func NewListArtifactsOfProjectNotFound() *ListArtifactsOfProjectNotFound
NewListArtifactsOfProjectNotFound creates a ListArtifactsOfProjectNotFound with default headers values
func (*ListArtifactsOfProjectNotFound) Error ¶
func (o *ListArtifactsOfProjectNotFound) Error() string
func (*ListArtifactsOfProjectNotFound) GetPayload ¶
func (o *ListArtifactsOfProjectNotFound) GetPayload() *models.Errors
func (*ListArtifactsOfProjectNotFound) IsClientError ¶
func (o *ListArtifactsOfProjectNotFound) IsClientError() bool
IsClientError returns true when this list artifacts of project not found response has a 4xx status code
func (*ListArtifactsOfProjectNotFound) IsCode ¶
func (o *ListArtifactsOfProjectNotFound) IsCode(code int) bool
IsCode returns true when this list artifacts of project not found response a status code equal to that given
func (*ListArtifactsOfProjectNotFound) IsRedirect ¶
func (o *ListArtifactsOfProjectNotFound) IsRedirect() bool
IsRedirect returns true when this list artifacts of project not found response has a 3xx status code
func (*ListArtifactsOfProjectNotFound) IsServerError ¶
func (o *ListArtifactsOfProjectNotFound) IsServerError() bool
IsServerError returns true when this list artifacts of project not found response has a 5xx status code
func (*ListArtifactsOfProjectNotFound) IsSuccess ¶
func (o *ListArtifactsOfProjectNotFound) IsSuccess() bool
IsSuccess returns true when this list artifacts of project not found response has a 2xx status code
func (*ListArtifactsOfProjectNotFound) String ¶
func (o *ListArtifactsOfProjectNotFound) String() string
type ListArtifactsOfProjectOK ¶
type ListArtifactsOfProjectOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of artifacts */ XTotalCount int64 Payload []*models.Artifact }
ListArtifactsOfProjectOK describes a response with status code 200, with default header values.
Success
func NewListArtifactsOfProjectOK ¶
func NewListArtifactsOfProjectOK() *ListArtifactsOfProjectOK
NewListArtifactsOfProjectOK creates a ListArtifactsOfProjectOK with default headers values
func (*ListArtifactsOfProjectOK) Error ¶
func (o *ListArtifactsOfProjectOK) Error() string
func (*ListArtifactsOfProjectOK) GetPayload ¶
func (o *ListArtifactsOfProjectOK) GetPayload() []*models.Artifact
func (*ListArtifactsOfProjectOK) IsClientError ¶
func (o *ListArtifactsOfProjectOK) IsClientError() bool
IsClientError returns true when this list artifacts of project o k response has a 4xx status code
func (*ListArtifactsOfProjectOK) IsCode ¶
func (o *ListArtifactsOfProjectOK) IsCode(code int) bool
IsCode returns true when this list artifacts of project o k response a status code equal to that given
func (*ListArtifactsOfProjectOK) IsRedirect ¶
func (o *ListArtifactsOfProjectOK) IsRedirect() bool
IsRedirect returns true when this list artifacts of project o k response has a 3xx status code
func (*ListArtifactsOfProjectOK) IsServerError ¶
func (o *ListArtifactsOfProjectOK) IsServerError() bool
IsServerError returns true when this list artifacts of project o k response has a 5xx status code
func (*ListArtifactsOfProjectOK) IsSuccess ¶
func (o *ListArtifactsOfProjectOK) IsSuccess() bool
IsSuccess returns true when this list artifacts of project o k response has a 2xx status code
func (*ListArtifactsOfProjectOK) String ¶
func (o *ListArtifactsOfProjectOK) String() string
type ListArtifactsOfProjectParams ¶
type ListArtifactsOfProjectParams 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 /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* LatestInRepository. Specify whether only the latest pushed artifact of each repository is included inside the returning artifacts. Only works when either artifact_type or media_type is included in the query. */ LatestInRepository *bool /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID 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 /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order 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 /* WithSbomOverview. Specify whether the SBOM overview is included in returning artifacts, when this option is true, the SBOM overview will be included in the response */ WithSbomOverview *bool /* WithScanOverview. Specify whether the scan overview is included inside the returning artifacts */ WithScanOverview *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 }
ListArtifactsOfProjectParams contains all the parameters to send to the API endpoint
for the list artifacts of project operation. Typically these are written to a http.Request.
func NewListArtifactsOfProjectParams ¶
func NewListArtifactsOfProjectParams() *ListArtifactsOfProjectParams
NewListArtifactsOfProjectParams creates a new ListArtifactsOfProjectParams 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 NewListArtifactsOfProjectParamsWithContext ¶
func NewListArtifactsOfProjectParamsWithContext(ctx context.Context) *ListArtifactsOfProjectParams
NewListArtifactsOfProjectParamsWithContext creates a new ListArtifactsOfProjectParams object with the ability to set a context for a request.
func NewListArtifactsOfProjectParamsWithHTTPClient ¶
func NewListArtifactsOfProjectParamsWithHTTPClient(client *http.Client) *ListArtifactsOfProjectParams
NewListArtifactsOfProjectParamsWithHTTPClient creates a new ListArtifactsOfProjectParams object with the ability to set a custom HTTPClient for a request.
func NewListArtifactsOfProjectParamsWithTimeout ¶
func NewListArtifactsOfProjectParamsWithTimeout(timeout time.Duration) *ListArtifactsOfProjectParams
NewListArtifactsOfProjectParamsWithTimeout creates a new ListArtifactsOfProjectParams object with the ability to set a timeout on a request.
func (*ListArtifactsOfProjectParams) SetContext ¶
func (o *ListArtifactsOfProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetDefaults ¶
func (o *ListArtifactsOfProjectParams) SetDefaults()
SetDefaults hydrates default values in the list artifacts of project params (not the query body).
All values with no default are reset to their zero value.
func (*ListArtifactsOfProjectParams) SetHTTPClient ¶
func (o *ListArtifactsOfProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetLatestInRepository ¶
func (o *ListArtifactsOfProjectParams) SetLatestInRepository(latestInRepository *bool)
SetLatestInRepository adds the latestInRepository to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetPage ¶
func (o *ListArtifactsOfProjectParams) SetPage(page *int64)
SetPage adds the page to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetPageSize ¶
func (o *ListArtifactsOfProjectParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetProjectNameOrID ¶
func (o *ListArtifactsOfProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetQ ¶
func (o *ListArtifactsOfProjectParams) SetQ(q *string)
SetQ adds the q to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetSort ¶
func (o *ListArtifactsOfProjectParams) SetSort(sort *string)
SetSort adds the sort to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetTimeout ¶
func (o *ListArtifactsOfProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetWithAccessory ¶
func (o *ListArtifactsOfProjectParams) SetWithAccessory(withAccessory *bool)
SetWithAccessory adds the withAccessory to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetWithImmutableStatus ¶
func (o *ListArtifactsOfProjectParams) SetWithImmutableStatus(withImmutableStatus *bool)
SetWithImmutableStatus adds the withImmutableStatus to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetWithLabel ¶
func (o *ListArtifactsOfProjectParams) SetWithLabel(withLabel *bool)
SetWithLabel adds the withLabel to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetWithSbomOverview ¶
func (o *ListArtifactsOfProjectParams) SetWithSbomOverview(withSbomOverview *bool)
SetWithSbomOverview adds the withSbomOverview to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetWithScanOverview ¶
func (o *ListArtifactsOfProjectParams) SetWithScanOverview(withScanOverview *bool)
SetWithScanOverview adds the withScanOverview to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetWithTag ¶
func (o *ListArtifactsOfProjectParams) SetWithTag(withTag *bool)
SetWithTag adds the withTag to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetXAcceptVulnerabilities ¶
func (o *ListArtifactsOfProjectParams) SetXAcceptVulnerabilities(xAcceptVulnerabilities *string)
SetXAcceptVulnerabilities adds the xAcceptVulnerabilities to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetXIsResourceName ¶
func (o *ListArtifactsOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the list artifacts of project params
func (*ListArtifactsOfProjectParams) SetXRequestID ¶
func (o *ListArtifactsOfProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithContext ¶
func (o *ListArtifactsOfProjectParams) WithContext(ctx context.Context) *ListArtifactsOfProjectParams
WithContext adds the context to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithDefaults ¶
func (o *ListArtifactsOfProjectParams) WithDefaults() *ListArtifactsOfProjectParams
WithDefaults hydrates default values in the list artifacts of project params (not the query body).
All values with no default are reset to their zero value.
func (*ListArtifactsOfProjectParams) WithHTTPClient ¶
func (o *ListArtifactsOfProjectParams) WithHTTPClient(client *http.Client) *ListArtifactsOfProjectParams
WithHTTPClient adds the HTTPClient to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithLatestInRepository ¶
func (o *ListArtifactsOfProjectParams) WithLatestInRepository(latestInRepository *bool) *ListArtifactsOfProjectParams
WithLatestInRepository adds the latestInRepository to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithPage ¶
func (o *ListArtifactsOfProjectParams) WithPage(page *int64) *ListArtifactsOfProjectParams
WithPage adds the page to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithPageSize ¶
func (o *ListArtifactsOfProjectParams) WithPageSize(pageSize *int64) *ListArtifactsOfProjectParams
WithPageSize adds the pageSize to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithProjectNameOrID ¶
func (o *ListArtifactsOfProjectParams) WithProjectNameOrID(projectNameOrID string) *ListArtifactsOfProjectParams
WithProjectNameOrID adds the projectNameOrID to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithQ ¶
func (o *ListArtifactsOfProjectParams) WithQ(q *string) *ListArtifactsOfProjectParams
WithQ adds the q to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithSort ¶
func (o *ListArtifactsOfProjectParams) WithSort(sort *string) *ListArtifactsOfProjectParams
WithSort adds the sort to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithTimeout ¶
func (o *ListArtifactsOfProjectParams) WithTimeout(timeout time.Duration) *ListArtifactsOfProjectParams
WithTimeout adds the timeout to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithWithAccessory ¶
func (o *ListArtifactsOfProjectParams) WithWithAccessory(withAccessory *bool) *ListArtifactsOfProjectParams
WithWithAccessory adds the withAccessory to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithWithImmutableStatus ¶
func (o *ListArtifactsOfProjectParams) WithWithImmutableStatus(withImmutableStatus *bool) *ListArtifactsOfProjectParams
WithWithImmutableStatus adds the withImmutableStatus to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithWithLabel ¶
func (o *ListArtifactsOfProjectParams) WithWithLabel(withLabel *bool) *ListArtifactsOfProjectParams
WithWithLabel adds the withLabel to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithWithSbomOverview ¶
func (o *ListArtifactsOfProjectParams) WithWithSbomOverview(withSbomOverview *bool) *ListArtifactsOfProjectParams
WithWithSbomOverview adds the withSbomOverview to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithWithScanOverview ¶
func (o *ListArtifactsOfProjectParams) WithWithScanOverview(withScanOverview *bool) *ListArtifactsOfProjectParams
WithWithScanOverview adds the withScanOverview to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithWithTag ¶
func (o *ListArtifactsOfProjectParams) WithWithTag(withTag *bool) *ListArtifactsOfProjectParams
WithWithTag adds the withTag to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithXAcceptVulnerabilities ¶
func (o *ListArtifactsOfProjectParams) WithXAcceptVulnerabilities(xAcceptVulnerabilities *string) *ListArtifactsOfProjectParams
WithXAcceptVulnerabilities adds the xAcceptVulnerabilities to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithXIsResourceName ¶
func (o *ListArtifactsOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *ListArtifactsOfProjectParams
WithXIsResourceName adds the xIsResourceName to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WithXRequestID ¶
func (o *ListArtifactsOfProjectParams) WithXRequestID(xRequestID *string) *ListArtifactsOfProjectParams
WithXRequestID adds the xRequestID to the list artifacts of project params
func (*ListArtifactsOfProjectParams) WriteToRequest ¶
func (o *ListArtifactsOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListArtifactsOfProjectReader ¶
type ListArtifactsOfProjectReader struct {
// contains filtered or unexported fields
}
ListArtifactsOfProjectReader is a Reader for the ListArtifactsOfProject structure.
func (*ListArtifactsOfProjectReader) ReadResponse ¶
func (o *ListArtifactsOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListArtifactsOfProjectUnauthorized ¶
type ListArtifactsOfProjectUnauthorized struct { string }XRequestID
ListArtifactsOfProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListArtifactsOfProjectUnauthorized ¶
func NewListArtifactsOfProjectUnauthorized() *ListArtifactsOfProjectUnauthorized
NewListArtifactsOfProjectUnauthorized creates a ListArtifactsOfProjectUnauthorized with default headers values
func (*ListArtifactsOfProjectUnauthorized) Error ¶
func (o *ListArtifactsOfProjectUnauthorized) Error() string
func (*ListArtifactsOfProjectUnauthorized) GetPayload ¶
func (o *ListArtifactsOfProjectUnauthorized) GetPayload() *models.Errors
func (*ListArtifactsOfProjectUnauthorized) IsClientError ¶
func (o *ListArtifactsOfProjectUnauthorized) IsClientError() bool
IsClientError returns true when this list artifacts of project unauthorized response has a 4xx status code
func (*ListArtifactsOfProjectUnauthorized) IsCode ¶
func (o *ListArtifactsOfProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this list artifacts of project unauthorized response a status code equal to that given
func (*ListArtifactsOfProjectUnauthorized) IsRedirect ¶
func (o *ListArtifactsOfProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this list artifacts of project unauthorized response has a 3xx status code
func (*ListArtifactsOfProjectUnauthorized) IsServerError ¶
func (o *ListArtifactsOfProjectUnauthorized) IsServerError() bool
IsServerError returns true when this list artifacts of project unauthorized response has a 5xx status code
func (*ListArtifactsOfProjectUnauthorized) IsSuccess ¶
func (o *ListArtifactsOfProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this list artifacts of project unauthorized response has a 2xx status code
func (*ListArtifactsOfProjectUnauthorized) String ¶
func (o *ListArtifactsOfProjectUnauthorized) String() string
type ListProjectsInternalServerError ¶
type ListProjectsInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListProjectsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListProjectsInternalServerError ¶
func NewListProjectsInternalServerError() *ListProjectsInternalServerError
NewListProjectsInternalServerError creates a ListProjectsInternalServerError with default headers values
func (*ListProjectsInternalServerError) Error ¶
func (o *ListProjectsInternalServerError) Error() string
func (*ListProjectsInternalServerError) GetPayload ¶
func (o *ListProjectsInternalServerError) GetPayload() *models.Errors
func (*ListProjectsInternalServerError) IsClientError ¶
func (o *ListProjectsInternalServerError) IsClientError() bool
IsClientError returns true when this list projects internal server error response has a 4xx status code
func (*ListProjectsInternalServerError) IsCode ¶
func (o *ListProjectsInternalServerError) IsCode(code int) bool
IsCode returns true when this list projects internal server error response a status code equal to that given
func (*ListProjectsInternalServerError) IsRedirect ¶
func (o *ListProjectsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list projects internal server error response has a 3xx status code
func (*ListProjectsInternalServerError) IsServerError ¶
func (o *ListProjectsInternalServerError) IsServerError() bool
IsServerError returns true when this list projects internal server error response has a 5xx status code
func (*ListProjectsInternalServerError) IsSuccess ¶
func (o *ListProjectsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list projects internal server error response has a 2xx status code
func (*ListProjectsInternalServerError) String ¶
func (o *ListProjectsInternalServerError) String() string
type ListProjectsOK ¶
type ListProjectsOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of projects */ XTotalCount int64 Payload []*models.Project }
ListProjectsOK describes a response with status code 200, with default header values.
Return all matched projects.
func NewListProjectsOK ¶
func NewListProjectsOK() *ListProjectsOK
NewListProjectsOK creates a ListProjectsOK with default headers values
func (*ListProjectsOK) Error ¶
func (o *ListProjectsOK) Error() string
func (*ListProjectsOK) GetPayload ¶
func (o *ListProjectsOK) GetPayload() []*models.Project
func (*ListProjectsOK) IsClientError ¶
func (o *ListProjectsOK) IsClientError() bool
IsClientError returns true when this list projects o k response has a 4xx status code
func (*ListProjectsOK) IsCode ¶
func (o *ListProjectsOK) IsCode(code int) bool
IsCode returns true when this list projects o k response a status code equal to that given
func (*ListProjectsOK) IsRedirect ¶
func (o *ListProjectsOK) IsRedirect() bool
IsRedirect returns true when this list projects o k response has a 3xx status code
func (*ListProjectsOK) IsServerError ¶
func (o *ListProjectsOK) IsServerError() bool
IsServerError returns true when this list projects o k response has a 5xx status code
func (*ListProjectsOK) IsSuccess ¶
func (o *ListProjectsOK) IsSuccess() bool
IsSuccess returns true when this list projects o k response has a 2xx status code
func (*ListProjectsOK) String ¶
func (o *ListProjectsOK) String() string
type ListProjectsParams ¶
type ListProjectsParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Name. The name of project. */ Name *string /* Owner. The name of project owner. */ Owner *string /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* Public. The project is public or private. */ Public *bool /* 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 /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2" */ Sort *string /* WithDetail. Bool value indicating whether return detailed information of the project Default: true */ WithDetail *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProjectsParams contains all the parameters to send to the API endpoint
for the list projects operation. Typically these are written to a http.Request.
func NewListProjectsParams ¶
func NewListProjectsParams() *ListProjectsParams
NewListProjectsParams creates a new ListProjectsParams 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 NewListProjectsParamsWithContext ¶
func NewListProjectsParamsWithContext(ctx context.Context) *ListProjectsParams
NewListProjectsParamsWithContext creates a new ListProjectsParams object with the ability to set a context for a request.
func NewListProjectsParamsWithHTTPClient ¶
func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParams
NewListProjectsParamsWithHTTPClient creates a new ListProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewListProjectsParamsWithTimeout ¶
func NewListProjectsParamsWithTimeout(timeout time.Duration) *ListProjectsParams
NewListProjectsParamsWithTimeout creates a new ListProjectsParams object with the ability to set a timeout on a request.
func (*ListProjectsParams) SetContext ¶
func (o *ListProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the list projects params
func (*ListProjectsParams) SetDefaults ¶
func (o *ListProjectsParams) SetDefaults()
SetDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) SetHTTPClient ¶
func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) SetName ¶
func (o *ListProjectsParams) SetName(name *string)
SetName adds the name to the list projects params
func (*ListProjectsParams) SetOwner ¶
func (o *ListProjectsParams) SetOwner(owner *string)
SetOwner adds the owner to the list projects params
func (*ListProjectsParams) SetPage ¶
func (o *ListProjectsParams) SetPage(page *int64)
SetPage adds the page to the list projects params
func (*ListProjectsParams) SetPageSize ¶
func (o *ListProjectsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list projects params
func (*ListProjectsParams) SetPublic ¶
func (o *ListProjectsParams) SetPublic(public *bool)
SetPublic adds the public to the list projects params
func (*ListProjectsParams) SetQ ¶
func (o *ListProjectsParams) SetQ(q *string)
SetQ adds the q to the list projects params
func (*ListProjectsParams) SetSort ¶
func (o *ListProjectsParams) SetSort(sort *string)
SetSort adds the sort to the list projects params
func (*ListProjectsParams) SetTimeout ¶
func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list projects params
func (*ListProjectsParams) SetWithDetail ¶
func (o *ListProjectsParams) SetWithDetail(withDetail *bool)
SetWithDetail adds the withDetail to the list projects params
func (*ListProjectsParams) SetXRequestID ¶
func (o *ListProjectsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list projects params
func (*ListProjectsParams) WithContext ¶
func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
WithContext adds the context to the list projects params
func (*ListProjectsParams) WithDefaults ¶
func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
WithDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) WithHTTPClient ¶
func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
WithHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) WithName ¶
func (o *ListProjectsParams) WithName(name *string) *ListProjectsParams
WithName adds the name to the list projects params
func (*ListProjectsParams) WithOwner ¶
func (o *ListProjectsParams) WithOwner(owner *string) *ListProjectsParams
WithOwner adds the owner to the list projects params
func (*ListProjectsParams) WithPage ¶
func (o *ListProjectsParams) WithPage(page *int64) *ListProjectsParams
WithPage adds the page to the list projects params
func (*ListProjectsParams) WithPageSize ¶
func (o *ListProjectsParams) WithPageSize(pageSize *int64) *ListProjectsParams
WithPageSize adds the pageSize to the list projects params
func (*ListProjectsParams) WithPublic ¶
func (o *ListProjectsParams) WithPublic(public *bool) *ListProjectsParams
WithPublic adds the public to the list projects params
func (*ListProjectsParams) WithQ ¶
func (o *ListProjectsParams) WithQ(q *string) *ListProjectsParams
WithQ adds the q to the list projects params
func (*ListProjectsParams) WithSort ¶
func (o *ListProjectsParams) WithSort(sort *string) *ListProjectsParams
WithSort adds the sort to the list projects params
func (*ListProjectsParams) WithTimeout ¶
func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
WithTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WithWithDetail ¶
func (o *ListProjectsParams) WithWithDetail(withDetail *bool) *ListProjectsParams
WithWithDetail adds the withDetail to the list projects params
func (*ListProjectsParams) WithXRequestID ¶
func (o *ListProjectsParams) WithXRequestID(xRequestID *string) *ListProjectsParams
WithXRequestID adds the xRequestID to the list projects params
func (*ListProjectsParams) WriteToRequest ¶
func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectsReader ¶
type ListProjectsReader struct {
// contains filtered or unexported fields
}
ListProjectsReader is a Reader for the ListProjects structure.
func (*ListProjectsReader) ReadResponse ¶
func (o *ListProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectsUnauthorized ¶
type ListProjectsUnauthorized struct { string }XRequestID
ListProjectsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListProjectsUnauthorized ¶
func NewListProjectsUnauthorized() *ListProjectsUnauthorized
NewListProjectsUnauthorized creates a ListProjectsUnauthorized with default headers values
func (*ListProjectsUnauthorized) Error ¶
func (o *ListProjectsUnauthorized) Error() string
func (*ListProjectsUnauthorized) GetPayload ¶
func (o *ListProjectsUnauthorized) GetPayload() *models.Errors
func (*ListProjectsUnauthorized) IsClientError ¶
func (o *ListProjectsUnauthorized) IsClientError() bool
IsClientError returns true when this list projects unauthorized response has a 4xx status code
func (*ListProjectsUnauthorized) IsCode ¶
func (o *ListProjectsUnauthorized) IsCode(code int) bool
IsCode returns true when this list projects unauthorized response a status code equal to that given
func (*ListProjectsUnauthorized) IsRedirect ¶
func (o *ListProjectsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list projects unauthorized response has a 3xx status code
func (*ListProjectsUnauthorized) IsServerError ¶
func (o *ListProjectsUnauthorized) IsServerError() bool
IsServerError returns true when this list projects unauthorized response has a 5xx status code
func (*ListProjectsUnauthorized) IsSuccess ¶
func (o *ListProjectsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list projects unauthorized response has a 2xx status code
func (*ListProjectsUnauthorized) String ¶
func (o *ListProjectsUnauthorized) String() string
type ListScannerCandidatesOfProjectBadRequest ¶
type ListScannerCandidatesOfProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListScannerCandidatesOfProjectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListScannerCandidatesOfProjectBadRequest ¶
func NewListScannerCandidatesOfProjectBadRequest() *ListScannerCandidatesOfProjectBadRequest
NewListScannerCandidatesOfProjectBadRequest creates a ListScannerCandidatesOfProjectBadRequest with default headers values
func (*ListScannerCandidatesOfProjectBadRequest) Error ¶
func (o *ListScannerCandidatesOfProjectBadRequest) Error() string
func (*ListScannerCandidatesOfProjectBadRequest) GetPayload ¶
func (o *ListScannerCandidatesOfProjectBadRequest) GetPayload() *models.Errors
func (*ListScannerCandidatesOfProjectBadRequest) IsClientError ¶
func (o *ListScannerCandidatesOfProjectBadRequest) IsClientError() bool
IsClientError returns true when this list scanner candidates of project bad request response has a 4xx status code
func (*ListScannerCandidatesOfProjectBadRequest) IsCode ¶
func (o *ListScannerCandidatesOfProjectBadRequest) IsCode(code int) bool
IsCode returns true when this list scanner candidates of project bad request response a status code equal to that given
func (*ListScannerCandidatesOfProjectBadRequest) IsRedirect ¶
func (o *ListScannerCandidatesOfProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this list scanner candidates of project bad request response has a 3xx status code
func (*ListScannerCandidatesOfProjectBadRequest) IsServerError ¶
func (o *ListScannerCandidatesOfProjectBadRequest) IsServerError() bool
IsServerError returns true when this list scanner candidates of project bad request response has a 5xx status code
func (*ListScannerCandidatesOfProjectBadRequest) IsSuccess ¶
func (o *ListScannerCandidatesOfProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this list scanner candidates of project bad request response has a 2xx status code
func (*ListScannerCandidatesOfProjectBadRequest) String ¶
func (o *ListScannerCandidatesOfProjectBadRequest) String() string
type ListScannerCandidatesOfProjectForbidden ¶
type ListScannerCandidatesOfProjectForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListScannerCandidatesOfProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListScannerCandidatesOfProjectForbidden ¶
func NewListScannerCandidatesOfProjectForbidden() *ListScannerCandidatesOfProjectForbidden
NewListScannerCandidatesOfProjectForbidden creates a ListScannerCandidatesOfProjectForbidden with default headers values
func (*ListScannerCandidatesOfProjectForbidden) Error ¶
func (o *ListScannerCandidatesOfProjectForbidden) Error() string
func (*ListScannerCandidatesOfProjectForbidden) GetPayload ¶
func (o *ListScannerCandidatesOfProjectForbidden) GetPayload() *models.Errors
func (*ListScannerCandidatesOfProjectForbidden) IsClientError ¶
func (o *ListScannerCandidatesOfProjectForbidden) IsClientError() bool
IsClientError returns true when this list scanner candidates of project forbidden response has a 4xx status code
func (*ListScannerCandidatesOfProjectForbidden) IsCode ¶
func (o *ListScannerCandidatesOfProjectForbidden) IsCode(code int) bool
IsCode returns true when this list scanner candidates of project forbidden response a status code equal to that given
func (*ListScannerCandidatesOfProjectForbidden) IsRedirect ¶
func (o *ListScannerCandidatesOfProjectForbidden) IsRedirect() bool
IsRedirect returns true when this list scanner candidates of project forbidden response has a 3xx status code
func (*ListScannerCandidatesOfProjectForbidden) IsServerError ¶
func (o *ListScannerCandidatesOfProjectForbidden) IsServerError() bool
IsServerError returns true when this list scanner candidates of project forbidden response has a 5xx status code
func (*ListScannerCandidatesOfProjectForbidden) IsSuccess ¶
func (o *ListScannerCandidatesOfProjectForbidden) IsSuccess() bool
IsSuccess returns true when this list scanner candidates of project forbidden response has a 2xx status code
func (*ListScannerCandidatesOfProjectForbidden) String ¶
func (o *ListScannerCandidatesOfProjectForbidden) String() string
type ListScannerCandidatesOfProjectInternalServerError ¶
type ListScannerCandidatesOfProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListScannerCandidatesOfProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListScannerCandidatesOfProjectInternalServerError ¶
func NewListScannerCandidatesOfProjectInternalServerError() *ListScannerCandidatesOfProjectInternalServerError
NewListScannerCandidatesOfProjectInternalServerError creates a ListScannerCandidatesOfProjectInternalServerError with default headers values
func (*ListScannerCandidatesOfProjectInternalServerError) Error ¶
func (o *ListScannerCandidatesOfProjectInternalServerError) Error() string
func (*ListScannerCandidatesOfProjectInternalServerError) GetPayload ¶
func (o *ListScannerCandidatesOfProjectInternalServerError) GetPayload() *models.Errors
func (*ListScannerCandidatesOfProjectInternalServerError) IsClientError ¶
func (o *ListScannerCandidatesOfProjectInternalServerError) IsClientError() bool
IsClientError returns true when this list scanner candidates of project internal server error response has a 4xx status code
func (*ListScannerCandidatesOfProjectInternalServerError) IsCode ¶
func (o *ListScannerCandidatesOfProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this list scanner candidates of project internal server error response a status code equal to that given
func (*ListScannerCandidatesOfProjectInternalServerError) IsRedirect ¶
func (o *ListScannerCandidatesOfProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this list scanner candidates of project internal server error response has a 3xx status code
func (*ListScannerCandidatesOfProjectInternalServerError) IsServerError ¶
func (o *ListScannerCandidatesOfProjectInternalServerError) IsServerError() bool
IsServerError returns true when this list scanner candidates of project internal server error response has a 5xx status code
func (*ListScannerCandidatesOfProjectInternalServerError) IsSuccess ¶
func (o *ListScannerCandidatesOfProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this list scanner candidates of project internal server error response has a 2xx status code
func (*ListScannerCandidatesOfProjectInternalServerError) String ¶
func (o *ListScannerCandidatesOfProjectInternalServerError) String() string
type ListScannerCandidatesOfProjectOK ¶
type ListScannerCandidatesOfProjectOK struct { /* Link to previous page and next page */ Link string /* The total count of available items */ XTotalCount int64 Payload []*models.ScannerRegistration }
ListScannerCandidatesOfProjectOK describes a response with status code 200, with default header values.
A list of scanner registrations.
func NewListScannerCandidatesOfProjectOK ¶
func NewListScannerCandidatesOfProjectOK() *ListScannerCandidatesOfProjectOK
NewListScannerCandidatesOfProjectOK creates a ListScannerCandidatesOfProjectOK with default headers values
func (*ListScannerCandidatesOfProjectOK) Error ¶
func (o *ListScannerCandidatesOfProjectOK) Error() string
func (*ListScannerCandidatesOfProjectOK) GetPayload ¶
func (o *ListScannerCandidatesOfProjectOK) GetPayload() []*models.ScannerRegistration
func (*ListScannerCandidatesOfProjectOK) IsClientError ¶
func (o *ListScannerCandidatesOfProjectOK) IsClientError() bool
IsClientError returns true when this list scanner candidates of project o k response has a 4xx status code
func (*ListScannerCandidatesOfProjectOK) IsCode ¶
func (o *ListScannerCandidatesOfProjectOK) IsCode(code int) bool
IsCode returns true when this list scanner candidates of project o k response a status code equal to that given
func (*ListScannerCandidatesOfProjectOK) IsRedirect ¶
func (o *ListScannerCandidatesOfProjectOK) IsRedirect() bool
IsRedirect returns true when this list scanner candidates of project o k response has a 3xx status code
func (*ListScannerCandidatesOfProjectOK) IsServerError ¶
func (o *ListScannerCandidatesOfProjectOK) IsServerError() bool
IsServerError returns true when this list scanner candidates of project o k response has a 5xx status code
func (*ListScannerCandidatesOfProjectOK) IsSuccess ¶
func (o *ListScannerCandidatesOfProjectOK) IsSuccess() bool
IsSuccess returns true when this list scanner candidates of project o k response has a 2xx status code
func (*ListScannerCandidatesOfProjectOK) String ¶
func (o *ListScannerCandidatesOfProjectOK) String() string
type ListScannerCandidatesOfProjectParams ¶
type ListScannerCandidatesOfProjectParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* 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 /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID 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 /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2" */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListScannerCandidatesOfProjectParams contains all the parameters to send to the API endpoint
for the list scanner candidates of project operation. Typically these are written to a http.Request.
func NewListScannerCandidatesOfProjectParams ¶
func NewListScannerCandidatesOfProjectParams() *ListScannerCandidatesOfProjectParams
NewListScannerCandidatesOfProjectParams creates a new ListScannerCandidatesOfProjectParams 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 NewListScannerCandidatesOfProjectParamsWithContext ¶
func NewListScannerCandidatesOfProjectParamsWithContext(ctx context.Context) *ListScannerCandidatesOfProjectParams
NewListScannerCandidatesOfProjectParamsWithContext creates a new ListScannerCandidatesOfProjectParams object with the ability to set a context for a request.
func NewListScannerCandidatesOfProjectParamsWithHTTPClient ¶
func NewListScannerCandidatesOfProjectParamsWithHTTPClient(client *http.Client) *ListScannerCandidatesOfProjectParams
NewListScannerCandidatesOfProjectParamsWithHTTPClient creates a new ListScannerCandidatesOfProjectParams object with the ability to set a custom HTTPClient for a request.
func NewListScannerCandidatesOfProjectParamsWithTimeout ¶
func NewListScannerCandidatesOfProjectParamsWithTimeout(timeout time.Duration) *ListScannerCandidatesOfProjectParams
NewListScannerCandidatesOfProjectParamsWithTimeout creates a new ListScannerCandidatesOfProjectParams object with the ability to set a timeout on a request.
func (*ListScannerCandidatesOfProjectParams) SetContext ¶
func (o *ListScannerCandidatesOfProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) SetDefaults ¶
func (o *ListScannerCandidatesOfProjectParams) SetDefaults()
SetDefaults hydrates default values in the list scanner candidates of project params (not the query body).
All values with no default are reset to their zero value.
func (*ListScannerCandidatesOfProjectParams) SetHTTPClient ¶
func (o *ListScannerCandidatesOfProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) SetPage ¶
func (o *ListScannerCandidatesOfProjectParams) SetPage(page *int64)
SetPage adds the page to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) SetPageSize ¶
func (o *ListScannerCandidatesOfProjectParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) SetProjectNameOrID ¶
func (o *ListScannerCandidatesOfProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) SetQ ¶
func (o *ListScannerCandidatesOfProjectParams) SetQ(q *string)
SetQ adds the q to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) SetSort ¶
func (o *ListScannerCandidatesOfProjectParams) SetSort(sort *string)
SetSort adds the sort to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) SetTimeout ¶
func (o *ListScannerCandidatesOfProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) SetXIsResourceName ¶
func (o *ListScannerCandidatesOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) SetXRequestID ¶
func (o *ListScannerCandidatesOfProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) WithContext ¶
func (o *ListScannerCandidatesOfProjectParams) WithContext(ctx context.Context) *ListScannerCandidatesOfProjectParams
WithContext adds the context to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) WithDefaults ¶
func (o *ListScannerCandidatesOfProjectParams) WithDefaults() *ListScannerCandidatesOfProjectParams
WithDefaults hydrates default values in the list scanner candidates of project params (not the query body).
All values with no default are reset to their zero value.
func (*ListScannerCandidatesOfProjectParams) WithHTTPClient ¶
func (o *ListScannerCandidatesOfProjectParams) WithHTTPClient(client *http.Client) *ListScannerCandidatesOfProjectParams
WithHTTPClient adds the HTTPClient to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) WithPage ¶
func (o *ListScannerCandidatesOfProjectParams) WithPage(page *int64) *ListScannerCandidatesOfProjectParams
WithPage adds the page to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) WithPageSize ¶
func (o *ListScannerCandidatesOfProjectParams) WithPageSize(pageSize *int64) *ListScannerCandidatesOfProjectParams
WithPageSize adds the pageSize to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) WithProjectNameOrID ¶
func (o *ListScannerCandidatesOfProjectParams) WithProjectNameOrID(projectNameOrID string) *ListScannerCandidatesOfProjectParams
WithProjectNameOrID adds the projectNameOrID to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) WithQ ¶
func (o *ListScannerCandidatesOfProjectParams) WithQ(q *string) *ListScannerCandidatesOfProjectParams
WithQ adds the q to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) WithSort ¶
func (o *ListScannerCandidatesOfProjectParams) WithSort(sort *string) *ListScannerCandidatesOfProjectParams
WithSort adds the sort to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) WithTimeout ¶
func (o *ListScannerCandidatesOfProjectParams) WithTimeout(timeout time.Duration) *ListScannerCandidatesOfProjectParams
WithTimeout adds the timeout to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) WithXIsResourceName ¶
func (o *ListScannerCandidatesOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *ListScannerCandidatesOfProjectParams
WithXIsResourceName adds the xIsResourceName to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) WithXRequestID ¶
func (o *ListScannerCandidatesOfProjectParams) WithXRequestID(xRequestID *string) *ListScannerCandidatesOfProjectParams
WithXRequestID adds the xRequestID to the list scanner candidates of project params
func (*ListScannerCandidatesOfProjectParams) WriteToRequest ¶
func (o *ListScannerCandidatesOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListScannerCandidatesOfProjectReader ¶
type ListScannerCandidatesOfProjectReader struct {
// contains filtered or unexported fields
}
ListScannerCandidatesOfProjectReader is a Reader for the ListScannerCandidatesOfProject structure.
func (*ListScannerCandidatesOfProjectReader) ReadResponse ¶
func (o *ListScannerCandidatesOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListScannerCandidatesOfProjectUnauthorized ¶
type ListScannerCandidatesOfProjectUnauthorized struct { string }XRequestID
ListScannerCandidatesOfProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListScannerCandidatesOfProjectUnauthorized ¶
func NewListScannerCandidatesOfProjectUnauthorized() *ListScannerCandidatesOfProjectUnauthorized
NewListScannerCandidatesOfProjectUnauthorized creates a ListScannerCandidatesOfProjectUnauthorized with default headers values
func (*ListScannerCandidatesOfProjectUnauthorized) Error ¶
func (o *ListScannerCandidatesOfProjectUnauthorized) Error() string
func (*ListScannerCandidatesOfProjectUnauthorized) GetPayload ¶
func (o *ListScannerCandidatesOfProjectUnauthorized) GetPayload() *models.Errors
func (*ListScannerCandidatesOfProjectUnauthorized) IsClientError ¶
func (o *ListScannerCandidatesOfProjectUnauthorized) IsClientError() bool
IsClientError returns true when this list scanner candidates of project unauthorized response has a 4xx status code
func (*ListScannerCandidatesOfProjectUnauthorized) IsCode ¶
func (o *ListScannerCandidatesOfProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this list scanner candidates of project unauthorized response a status code equal to that given
func (*ListScannerCandidatesOfProjectUnauthorized) IsRedirect ¶
func (o *ListScannerCandidatesOfProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this list scanner candidates of project unauthorized response has a 3xx status code
func (*ListScannerCandidatesOfProjectUnauthorized) IsServerError ¶
func (o *ListScannerCandidatesOfProjectUnauthorized) IsServerError() bool
IsServerError returns true when this list scanner candidates of project unauthorized response has a 5xx status code
func (*ListScannerCandidatesOfProjectUnauthorized) IsSuccess ¶
func (o *ListScannerCandidatesOfProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this list scanner candidates of project unauthorized response has a 2xx status code
func (*ListScannerCandidatesOfProjectUnauthorized) String ¶
func (o *ListScannerCandidatesOfProjectUnauthorized) String() string
type SetScannerOfProjectBadRequest ¶
type SetScannerOfProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
SetScannerOfProjectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSetScannerOfProjectBadRequest ¶
func NewSetScannerOfProjectBadRequest() *SetScannerOfProjectBadRequest
NewSetScannerOfProjectBadRequest creates a SetScannerOfProjectBadRequest with default headers values
func (*SetScannerOfProjectBadRequest) Error ¶
func (o *SetScannerOfProjectBadRequest) Error() string
func (*SetScannerOfProjectBadRequest) GetPayload ¶
func (o *SetScannerOfProjectBadRequest) GetPayload() *models.Errors
func (*SetScannerOfProjectBadRequest) IsClientError ¶
func (o *SetScannerOfProjectBadRequest) IsClientError() bool
IsClientError returns true when this set scanner of project bad request response has a 4xx status code
func (*SetScannerOfProjectBadRequest) IsCode ¶
func (o *SetScannerOfProjectBadRequest) IsCode(code int) bool
IsCode returns true when this set scanner of project bad request response a status code equal to that given
func (*SetScannerOfProjectBadRequest) IsRedirect ¶
func (o *SetScannerOfProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this set scanner of project bad request response has a 3xx status code
func (*SetScannerOfProjectBadRequest) IsServerError ¶
func (o *SetScannerOfProjectBadRequest) IsServerError() bool
IsServerError returns true when this set scanner of project bad request response has a 5xx status code
func (*SetScannerOfProjectBadRequest) IsSuccess ¶
func (o *SetScannerOfProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this set scanner of project bad request response has a 2xx status code
func (*SetScannerOfProjectBadRequest) String ¶
func (o *SetScannerOfProjectBadRequest) String() string
type SetScannerOfProjectForbidden ¶
type SetScannerOfProjectForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
SetScannerOfProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSetScannerOfProjectForbidden ¶
func NewSetScannerOfProjectForbidden() *SetScannerOfProjectForbidden
NewSetScannerOfProjectForbidden creates a SetScannerOfProjectForbidden with default headers values
func (*SetScannerOfProjectForbidden) Error ¶
func (o *SetScannerOfProjectForbidden) Error() string
func (*SetScannerOfProjectForbidden) GetPayload ¶
func (o *SetScannerOfProjectForbidden) GetPayload() *models.Errors
func (*SetScannerOfProjectForbidden) IsClientError ¶
func (o *SetScannerOfProjectForbidden) IsClientError() bool
IsClientError returns true when this set scanner of project forbidden response has a 4xx status code
func (*SetScannerOfProjectForbidden) IsCode ¶
func (o *SetScannerOfProjectForbidden) IsCode(code int) bool
IsCode returns true when this set scanner of project forbidden response a status code equal to that given
func (*SetScannerOfProjectForbidden) IsRedirect ¶
func (o *SetScannerOfProjectForbidden) IsRedirect() bool
IsRedirect returns true when this set scanner of project forbidden response has a 3xx status code
func (*SetScannerOfProjectForbidden) IsServerError ¶
func (o *SetScannerOfProjectForbidden) IsServerError() bool
IsServerError returns true when this set scanner of project forbidden response has a 5xx status code
func (*SetScannerOfProjectForbidden) IsSuccess ¶
func (o *SetScannerOfProjectForbidden) IsSuccess() bool
IsSuccess returns true when this set scanner of project forbidden response has a 2xx status code
func (*SetScannerOfProjectForbidden) String ¶
func (o *SetScannerOfProjectForbidden) String() string
type SetScannerOfProjectInternalServerError ¶
type SetScannerOfProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
SetScannerOfProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewSetScannerOfProjectInternalServerError ¶
func NewSetScannerOfProjectInternalServerError() *SetScannerOfProjectInternalServerError
NewSetScannerOfProjectInternalServerError creates a SetScannerOfProjectInternalServerError with default headers values
func (*SetScannerOfProjectInternalServerError) Error ¶
func (o *SetScannerOfProjectInternalServerError) Error() string
func (*SetScannerOfProjectInternalServerError) GetPayload ¶
func (o *SetScannerOfProjectInternalServerError) GetPayload() *models.Errors
func (*SetScannerOfProjectInternalServerError) IsClientError ¶
func (o *SetScannerOfProjectInternalServerError) IsClientError() bool
IsClientError returns true when this set scanner of project internal server error response has a 4xx status code
func (*SetScannerOfProjectInternalServerError) IsCode ¶
func (o *SetScannerOfProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this set scanner of project internal server error response a status code equal to that given
func (*SetScannerOfProjectInternalServerError) IsRedirect ¶
func (o *SetScannerOfProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this set scanner of project internal server error response has a 3xx status code
func (*SetScannerOfProjectInternalServerError) IsServerError ¶
func (o *SetScannerOfProjectInternalServerError) IsServerError() bool
IsServerError returns true when this set scanner of project internal server error response has a 5xx status code
func (*SetScannerOfProjectInternalServerError) IsSuccess ¶
func (o *SetScannerOfProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this set scanner of project internal server error response has a 2xx status code
func (*SetScannerOfProjectInternalServerError) String ¶
func (o *SetScannerOfProjectInternalServerError) String() string
type SetScannerOfProjectNotFound ¶
type SetScannerOfProjectNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
SetScannerOfProjectNotFound describes a response with status code 404, with default header values.
Not found
func NewSetScannerOfProjectNotFound ¶
func NewSetScannerOfProjectNotFound() *SetScannerOfProjectNotFound
NewSetScannerOfProjectNotFound creates a SetScannerOfProjectNotFound with default headers values
func (*SetScannerOfProjectNotFound) Error ¶
func (o *SetScannerOfProjectNotFound) Error() string
func (*SetScannerOfProjectNotFound) GetPayload ¶
func (o *SetScannerOfProjectNotFound) GetPayload() *models.Errors
func (*SetScannerOfProjectNotFound) IsClientError ¶
func (o *SetScannerOfProjectNotFound) IsClientError() bool
IsClientError returns true when this set scanner of project not found response has a 4xx status code
func (*SetScannerOfProjectNotFound) IsCode ¶
func (o *SetScannerOfProjectNotFound) IsCode(code int) bool
IsCode returns true when this set scanner of project not found response a status code equal to that given
func (*SetScannerOfProjectNotFound) IsRedirect ¶
func (o *SetScannerOfProjectNotFound) IsRedirect() bool
IsRedirect returns true when this set scanner of project not found response has a 3xx status code
func (*SetScannerOfProjectNotFound) IsServerError ¶
func (o *SetScannerOfProjectNotFound) IsServerError() bool
IsServerError returns true when this set scanner of project not found response has a 5xx status code
func (*SetScannerOfProjectNotFound) IsSuccess ¶
func (o *SetScannerOfProjectNotFound) IsSuccess() bool
IsSuccess returns true when this set scanner of project not found response has a 2xx status code
func (*SetScannerOfProjectNotFound) String ¶
func (o *SetScannerOfProjectNotFound) String() string
type SetScannerOfProjectOK ¶
type SetScannerOfProjectOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
SetScannerOfProjectOK describes a response with status code 200, with default header values.
Success
func NewSetScannerOfProjectOK ¶
func NewSetScannerOfProjectOK() *SetScannerOfProjectOK
NewSetScannerOfProjectOK creates a SetScannerOfProjectOK with default headers values
func (*SetScannerOfProjectOK) Error ¶
func (o *SetScannerOfProjectOK) Error() string
func (*SetScannerOfProjectOK) IsClientError ¶
func (o *SetScannerOfProjectOK) IsClientError() bool
IsClientError returns true when this set scanner of project o k response has a 4xx status code
func (*SetScannerOfProjectOK) IsCode ¶
func (o *SetScannerOfProjectOK) IsCode(code int) bool
IsCode returns true when this set scanner of project o k response a status code equal to that given
func (*SetScannerOfProjectOK) IsRedirect ¶
func (o *SetScannerOfProjectOK) IsRedirect() bool
IsRedirect returns true when this set scanner of project o k response has a 3xx status code
func (*SetScannerOfProjectOK) IsServerError ¶
func (o *SetScannerOfProjectOK) IsServerError() bool
IsServerError returns true when this set scanner of project o k response has a 5xx status code
func (*SetScannerOfProjectOK) IsSuccess ¶
func (o *SetScannerOfProjectOK) IsSuccess() bool
IsSuccess returns true when this set scanner of project o k response has a 2xx status code
func (*SetScannerOfProjectOK) String ¶
func (o *SetScannerOfProjectOK) String() string
type SetScannerOfProjectParams ¶
type SetScannerOfProjectParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string // Payload. Payload *models.ProjectScanner /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetScannerOfProjectParams contains all the parameters to send to the API endpoint
for the set scanner of project operation. Typically these are written to a http.Request.
func NewSetScannerOfProjectParams ¶
func NewSetScannerOfProjectParams() *SetScannerOfProjectParams
NewSetScannerOfProjectParams creates a new SetScannerOfProjectParams 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 NewSetScannerOfProjectParamsWithContext ¶
func NewSetScannerOfProjectParamsWithContext(ctx context.Context) *SetScannerOfProjectParams
NewSetScannerOfProjectParamsWithContext creates a new SetScannerOfProjectParams object with the ability to set a context for a request.
func NewSetScannerOfProjectParamsWithHTTPClient ¶
func NewSetScannerOfProjectParamsWithHTTPClient(client *http.Client) *SetScannerOfProjectParams
NewSetScannerOfProjectParamsWithHTTPClient creates a new SetScannerOfProjectParams object with the ability to set a custom HTTPClient for a request.
func NewSetScannerOfProjectParamsWithTimeout ¶
func NewSetScannerOfProjectParamsWithTimeout(timeout time.Duration) *SetScannerOfProjectParams
NewSetScannerOfProjectParamsWithTimeout creates a new SetScannerOfProjectParams object with the ability to set a timeout on a request.
func (*SetScannerOfProjectParams) SetContext ¶
func (o *SetScannerOfProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the set scanner of project params
func (*SetScannerOfProjectParams) SetDefaults ¶
func (o *SetScannerOfProjectParams) SetDefaults()
SetDefaults hydrates default values in the set scanner of project params (not the query body).
All values with no default are reset to their zero value.
func (*SetScannerOfProjectParams) SetHTTPClient ¶
func (o *SetScannerOfProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set scanner of project params
func (*SetScannerOfProjectParams) SetPayload ¶
func (o *SetScannerOfProjectParams) SetPayload(payload *models.ProjectScanner)
SetPayload adds the payload to the set scanner of project params
func (*SetScannerOfProjectParams) SetProjectNameOrID ¶
func (o *SetScannerOfProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the set scanner of project params
func (*SetScannerOfProjectParams) SetTimeout ¶
func (o *SetScannerOfProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set scanner of project params
func (*SetScannerOfProjectParams) SetXIsResourceName ¶
func (o *SetScannerOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the set scanner of project params
func (*SetScannerOfProjectParams) SetXRequestID ¶
func (o *SetScannerOfProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the set scanner of project params
func (*SetScannerOfProjectParams) WithContext ¶
func (o *SetScannerOfProjectParams) WithContext(ctx context.Context) *SetScannerOfProjectParams
WithContext adds the context to the set scanner of project params
func (*SetScannerOfProjectParams) WithDefaults ¶
func (o *SetScannerOfProjectParams) WithDefaults() *SetScannerOfProjectParams
WithDefaults hydrates default values in the set scanner of project params (not the query body).
All values with no default are reset to their zero value.
func (*SetScannerOfProjectParams) WithHTTPClient ¶
func (o *SetScannerOfProjectParams) WithHTTPClient(client *http.Client) *SetScannerOfProjectParams
WithHTTPClient adds the HTTPClient to the set scanner of project params
func (*SetScannerOfProjectParams) WithPayload ¶
func (o *SetScannerOfProjectParams) WithPayload(payload *models.ProjectScanner) *SetScannerOfProjectParams
WithPayload adds the payload to the set scanner of project params
func (*SetScannerOfProjectParams) WithProjectNameOrID ¶
func (o *SetScannerOfProjectParams) WithProjectNameOrID(projectNameOrID string) *SetScannerOfProjectParams
WithProjectNameOrID adds the projectNameOrID to the set scanner of project params
func (*SetScannerOfProjectParams) WithTimeout ¶
func (o *SetScannerOfProjectParams) WithTimeout(timeout time.Duration) *SetScannerOfProjectParams
WithTimeout adds the timeout to the set scanner of project params
func (*SetScannerOfProjectParams) WithXIsResourceName ¶
func (o *SetScannerOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *SetScannerOfProjectParams
WithXIsResourceName adds the xIsResourceName to the set scanner of project params
func (*SetScannerOfProjectParams) WithXRequestID ¶
func (o *SetScannerOfProjectParams) WithXRequestID(xRequestID *string) *SetScannerOfProjectParams
WithXRequestID adds the xRequestID to the set scanner of project params
func (*SetScannerOfProjectParams) WriteToRequest ¶
func (o *SetScannerOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetScannerOfProjectReader ¶
type SetScannerOfProjectReader struct {
// contains filtered or unexported fields
}
SetScannerOfProjectReader is a Reader for the SetScannerOfProject structure.
func (*SetScannerOfProjectReader) ReadResponse ¶
func (o *SetScannerOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetScannerOfProjectUnauthorized ¶
type SetScannerOfProjectUnauthorized struct { string }XRequestID
SetScannerOfProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetScannerOfProjectUnauthorized ¶
func NewSetScannerOfProjectUnauthorized() *SetScannerOfProjectUnauthorized
NewSetScannerOfProjectUnauthorized creates a SetScannerOfProjectUnauthorized with default headers values
func (*SetScannerOfProjectUnauthorized) Error ¶
func (o *SetScannerOfProjectUnauthorized) Error() string
func (*SetScannerOfProjectUnauthorized) GetPayload ¶
func (o *SetScannerOfProjectUnauthorized) GetPayload() *models.Errors
func (*SetScannerOfProjectUnauthorized) IsClientError ¶
func (o *SetScannerOfProjectUnauthorized) IsClientError() bool
IsClientError returns true when this set scanner of project unauthorized response has a 4xx status code
func (*SetScannerOfProjectUnauthorized) IsCode ¶
func (o *SetScannerOfProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this set scanner of project unauthorized response a status code equal to that given
func (*SetScannerOfProjectUnauthorized) IsRedirect ¶
func (o *SetScannerOfProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this set scanner of project unauthorized response has a 3xx status code
func (*SetScannerOfProjectUnauthorized) IsServerError ¶
func (o *SetScannerOfProjectUnauthorized) IsServerError() bool
IsServerError returns true when this set scanner of project unauthorized response has a 5xx status code
func (*SetScannerOfProjectUnauthorized) IsSuccess ¶
func (o *SetScannerOfProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this set scanner of project unauthorized response has a 2xx status code
func (*SetScannerOfProjectUnauthorized) String ¶
func (o *SetScannerOfProjectUnauthorized) String() string
type UpdateProjectBadRequest ¶
type UpdateProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateProjectBadRequest ¶
func NewUpdateProjectBadRequest() *UpdateProjectBadRequest
NewUpdateProjectBadRequest creates a UpdateProjectBadRequest with default headers values
func (*UpdateProjectBadRequest) Error ¶
func (o *UpdateProjectBadRequest) Error() string
func (*UpdateProjectBadRequest) GetPayload ¶
func (o *UpdateProjectBadRequest) GetPayload() *models.Errors
func (*UpdateProjectBadRequest) IsClientError ¶
func (o *UpdateProjectBadRequest) IsClientError() bool
IsClientError returns true when this update project bad request response has a 4xx status code
func (*UpdateProjectBadRequest) IsCode ¶
func (o *UpdateProjectBadRequest) IsCode(code int) bool
IsCode returns true when this update project bad request response a status code equal to that given
func (*UpdateProjectBadRequest) IsRedirect ¶
func (o *UpdateProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this update project bad request response has a 3xx status code
func (*UpdateProjectBadRequest) IsServerError ¶
func (o *UpdateProjectBadRequest) IsServerError() bool
IsServerError returns true when this update project bad request response has a 5xx status code
func (*UpdateProjectBadRequest) IsSuccess ¶
func (o *UpdateProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this update project bad request response has a 2xx status code
func (*UpdateProjectBadRequest) String ¶
func (o *UpdateProjectBadRequest) String() string
type UpdateProjectForbidden ¶
type UpdateProjectForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateProjectForbidden ¶
func NewUpdateProjectForbidden() *UpdateProjectForbidden
NewUpdateProjectForbidden creates a UpdateProjectForbidden with default headers values
func (*UpdateProjectForbidden) Error ¶
func (o *UpdateProjectForbidden) Error() string
func (*UpdateProjectForbidden) GetPayload ¶
func (o *UpdateProjectForbidden) GetPayload() *models.Errors
func (*UpdateProjectForbidden) IsClientError ¶
func (o *UpdateProjectForbidden) IsClientError() bool
IsClientError returns true when this update project forbidden response has a 4xx status code
func (*UpdateProjectForbidden) IsCode ¶
func (o *UpdateProjectForbidden) IsCode(code int) bool
IsCode returns true when this update project forbidden response a status code equal to that given
func (*UpdateProjectForbidden) IsRedirect ¶
func (o *UpdateProjectForbidden) IsRedirect() bool
IsRedirect returns true when this update project forbidden response has a 3xx status code
func (*UpdateProjectForbidden) IsServerError ¶
func (o *UpdateProjectForbidden) IsServerError() bool
IsServerError returns true when this update project forbidden response has a 5xx status code
func (*UpdateProjectForbidden) IsSuccess ¶
func (o *UpdateProjectForbidden) IsSuccess() bool
IsSuccess returns true when this update project forbidden response has a 2xx status code
func (*UpdateProjectForbidden) String ¶
func (o *UpdateProjectForbidden) String() string
type UpdateProjectInternalServerError ¶
type UpdateProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewUpdateProjectInternalServerError ¶
func NewUpdateProjectInternalServerError() *UpdateProjectInternalServerError
NewUpdateProjectInternalServerError creates a UpdateProjectInternalServerError with default headers values
func (*UpdateProjectInternalServerError) Error ¶
func (o *UpdateProjectInternalServerError) Error() string
func (*UpdateProjectInternalServerError) GetPayload ¶
func (o *UpdateProjectInternalServerError) GetPayload() *models.Errors
func (*UpdateProjectInternalServerError) IsClientError ¶
func (o *UpdateProjectInternalServerError) IsClientError() bool
IsClientError returns true when this update project internal server error response has a 4xx status code
func (*UpdateProjectInternalServerError) IsCode ¶
func (o *UpdateProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this update project internal server error response a status code equal to that given
func (*UpdateProjectInternalServerError) IsRedirect ¶
func (o *UpdateProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this update project internal server error response has a 3xx status code
func (*UpdateProjectInternalServerError) IsServerError ¶
func (o *UpdateProjectInternalServerError) IsServerError() bool
IsServerError returns true when this update project internal server error response has a 5xx status code
func (*UpdateProjectInternalServerError) IsSuccess ¶
func (o *UpdateProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this update project internal server error response has a 2xx status code
func (*UpdateProjectInternalServerError) String ¶
func (o *UpdateProjectInternalServerError) String() string
type UpdateProjectNotFound ¶
type UpdateProjectNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateProjectNotFound ¶
func NewUpdateProjectNotFound() *UpdateProjectNotFound
NewUpdateProjectNotFound creates a UpdateProjectNotFound with default headers values
func (*UpdateProjectNotFound) Error ¶
func (o *UpdateProjectNotFound) Error() string
func (*UpdateProjectNotFound) GetPayload ¶
func (o *UpdateProjectNotFound) GetPayload() *models.Errors
func (*UpdateProjectNotFound) IsClientError ¶
func (o *UpdateProjectNotFound) IsClientError() bool
IsClientError returns true when this update project not found response has a 4xx status code
func (*UpdateProjectNotFound) IsCode ¶
func (o *UpdateProjectNotFound) IsCode(code int) bool
IsCode returns true when this update project not found response a status code equal to that given
func (*UpdateProjectNotFound) IsRedirect ¶
func (o *UpdateProjectNotFound) IsRedirect() bool
IsRedirect returns true when this update project not found response has a 3xx status code
func (*UpdateProjectNotFound) IsServerError ¶
func (o *UpdateProjectNotFound) IsServerError() bool
IsServerError returns true when this update project not found response has a 5xx status code
func (*UpdateProjectNotFound) IsSuccess ¶
func (o *UpdateProjectNotFound) IsSuccess() bool
IsSuccess returns true when this update project not found response has a 2xx status code
func (*UpdateProjectNotFound) String ¶
func (o *UpdateProjectNotFound) String() string
type UpdateProjectOK ¶
type UpdateProjectOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
UpdateProjectOK describes a response with status code 200, with default header values.
Success
func NewUpdateProjectOK ¶
func NewUpdateProjectOK() *UpdateProjectOK
NewUpdateProjectOK creates a UpdateProjectOK with default headers values
func (*UpdateProjectOK) Error ¶
func (o *UpdateProjectOK) Error() string
func (*UpdateProjectOK) IsClientError ¶
func (o *UpdateProjectOK) IsClientError() bool
IsClientError returns true when this update project o k response has a 4xx status code
func (*UpdateProjectOK) IsCode ¶
func (o *UpdateProjectOK) IsCode(code int) bool
IsCode returns true when this update project o k response a status code equal to that given
func (*UpdateProjectOK) IsRedirect ¶
func (o *UpdateProjectOK) IsRedirect() bool
IsRedirect returns true when this update project o k response has a 3xx status code
func (*UpdateProjectOK) IsServerError ¶
func (o *UpdateProjectOK) IsServerError() bool
IsServerError returns true when this update project o k response has a 5xx status code
func (*UpdateProjectOK) IsSuccess ¶
func (o *UpdateProjectOK) IsSuccess() bool
IsSuccess returns true when this update project o k response has a 2xx status code
func (*UpdateProjectOK) String ¶
func (o *UpdateProjectOK) String() string
type UpdateProjectParams ¶
type UpdateProjectParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* Project. Updates of project. */ Project *models.ProjectReq /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateProjectParams contains all the parameters to send to the API endpoint
for the update project operation. Typically these are written to a http.Request.
func NewUpdateProjectParams ¶
func NewUpdateProjectParams() *UpdateProjectParams
NewUpdateProjectParams creates a new UpdateProjectParams 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 NewUpdateProjectParamsWithContext ¶
func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParams
NewUpdateProjectParamsWithContext creates a new UpdateProjectParams object with the ability to set a context for a request.
func NewUpdateProjectParamsWithHTTPClient ¶
func NewUpdateProjectParamsWithHTTPClient(client *http.Client) *UpdateProjectParams
NewUpdateProjectParamsWithHTTPClient creates a new UpdateProjectParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateProjectParamsWithTimeout ¶
func NewUpdateProjectParamsWithTimeout(timeout time.Duration) *UpdateProjectParams
NewUpdateProjectParamsWithTimeout creates a new UpdateProjectParams object with the ability to set a timeout on a request.
func (*UpdateProjectParams) SetContext ¶
func (o *UpdateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the update project params
func (*UpdateProjectParams) SetDefaults ¶
func (o *UpdateProjectParams) SetDefaults()
SetDefaults hydrates default values in the update project params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectParams) SetHTTPClient ¶
func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) SetProject ¶
func (o *UpdateProjectParams) SetProject(project *models.ProjectReq)
SetProject adds the project to the update project params
func (*UpdateProjectParams) SetProjectNameOrID ¶
func (o *UpdateProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the update project params
func (*UpdateProjectParams) SetTimeout ¶
func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update project params
func (*UpdateProjectParams) SetXIsResourceName ¶
func (o *UpdateProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the update project params
func (*UpdateProjectParams) SetXRequestID ¶
func (o *UpdateProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update project params
func (*UpdateProjectParams) WithContext ¶
func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
WithContext adds the context to the update project params
func (*UpdateProjectParams) WithDefaults ¶
func (o *UpdateProjectParams) WithDefaults() *UpdateProjectParams
WithDefaults hydrates default values in the update project params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectParams) WithHTTPClient ¶
func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
WithHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) WithProject ¶
func (o *UpdateProjectParams) WithProject(project *models.ProjectReq) *UpdateProjectParams
WithProject adds the project to the update project params
func (*UpdateProjectParams) WithProjectNameOrID ¶
func (o *UpdateProjectParams) WithProjectNameOrID(projectNameOrID string) *UpdateProjectParams
WithProjectNameOrID adds the projectNameOrID to the update project params
func (*UpdateProjectParams) WithTimeout ¶
func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
WithTimeout adds the timeout to the update project params
func (*UpdateProjectParams) WithXIsResourceName ¶
func (o *UpdateProjectParams) WithXIsResourceName(xIsResourceName *bool) *UpdateProjectParams
WithXIsResourceName adds the xIsResourceName to the update project params
func (*UpdateProjectParams) WithXRequestID ¶
func (o *UpdateProjectParams) WithXRequestID(xRequestID *string) *UpdateProjectParams
WithXRequestID adds the xRequestID to the update project params
func (*UpdateProjectParams) WriteToRequest ¶
func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProjectReader ¶
type UpdateProjectReader struct {
// contains filtered or unexported fields
}
UpdateProjectReader is a Reader for the UpdateProject structure.
func (*UpdateProjectReader) ReadResponse ¶
func (o *UpdateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProjectUnauthorized ¶
type UpdateProjectUnauthorized struct { string }XRequestID
UpdateProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateProjectUnauthorized ¶
func NewUpdateProjectUnauthorized() *UpdateProjectUnauthorized
NewUpdateProjectUnauthorized creates a UpdateProjectUnauthorized with default headers values
func (*UpdateProjectUnauthorized) Error ¶
func (o *UpdateProjectUnauthorized) Error() string
func (*UpdateProjectUnauthorized) GetPayload ¶
func (o *UpdateProjectUnauthorized) GetPayload() *models.Errors
func (*UpdateProjectUnauthorized) IsClientError ¶
func (o *UpdateProjectUnauthorized) IsClientError() bool
IsClientError returns true when this update project unauthorized response has a 4xx status code
func (*UpdateProjectUnauthorized) IsCode ¶
func (o *UpdateProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this update project unauthorized response a status code equal to that given
func (*UpdateProjectUnauthorized) IsRedirect ¶
func (o *UpdateProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this update project unauthorized response has a 3xx status code
func (*UpdateProjectUnauthorized) IsServerError ¶
func (o *UpdateProjectUnauthorized) IsServerError() bool
IsServerError returns true when this update project unauthorized response has a 5xx status code
func (*UpdateProjectUnauthorized) IsSuccess ¶
func (o *UpdateProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this update project unauthorized response has a 2xx status code
func (*UpdateProjectUnauthorized) String ¶
func (o *UpdateProjectUnauthorized) String() string
Source Files ¶
- create_project_parameters.go
- create_project_responses.go
- delete_project_parameters.go
- delete_project_responses.go
- get_logs_parameters.go
- get_logs_responses.go
- get_project_deletable_parameters.go
- get_project_deletable_responses.go
- get_project_parameters.go
- get_project_responses.go
- get_project_summary_parameters.go
- get_project_summary_responses.go
- get_scanner_of_project_parameters.go
- get_scanner_of_project_responses.go
- head_project_parameters.go
- head_project_responses.go
- list_artifacts_of_project_parameters.go
- list_artifacts_of_project_responses.go
- list_projects_parameters.go
- list_projects_responses.go
- list_scanner_candidates_of_project_parameters.go
- list_scanner_candidates_of_project_responses.go
- project_client.go
- set_scanner_of_project_parameters.go
- set_scanner_of_project_responses.go
- update_project_parameters.go
- update_project_responses.go