Documentation ¶
Index ¶
- Constants
- type CreateProject
- type CreateProjectBadRequest
- func (o *CreateProjectBadRequest) SetPayload(payload *models.Errors)
- func (o *CreateProjectBadRequest) SetXRequestID(xRequestID string)
- func (o *CreateProjectBadRequest) WithPayload(payload *models.Errors) *CreateProjectBadRequest
- func (o *CreateProjectBadRequest) WithXRequestID(xRequestID string) *CreateProjectBadRequest
- func (o *CreateProjectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProjectConflict
- func (o *CreateProjectConflict) SetPayload(payload *models.Errors)
- func (o *CreateProjectConflict) SetXRequestID(xRequestID string)
- func (o *CreateProjectConflict) WithPayload(payload *models.Errors) *CreateProjectConflict
- func (o *CreateProjectConflict) WithXRequestID(xRequestID string) *CreateProjectConflict
- func (o *CreateProjectConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProjectCreated
- func (o *CreateProjectCreated) SetLocation(location string)
- func (o *CreateProjectCreated) SetXRequestID(xRequestID string)
- func (o *CreateProjectCreated) WithLocation(location string) *CreateProjectCreated
- func (o *CreateProjectCreated) WithXRequestID(xRequestID string) *CreateProjectCreated
- func (o *CreateProjectCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProjectHandler
- type CreateProjectHandlerFunc
- type CreateProjectInternalServerError
- func (o *CreateProjectInternalServerError) SetPayload(payload *models.Errors)
- func (o *CreateProjectInternalServerError) SetXRequestID(xRequestID string)
- func (o *CreateProjectInternalServerError) WithPayload(payload *models.Errors) *CreateProjectInternalServerError
- func (o *CreateProjectInternalServerError) WithXRequestID(xRequestID string) *CreateProjectInternalServerError
- func (o *CreateProjectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProjectParams
- type CreateProjectURL
- func (o *CreateProjectURL) Build() (*url.URL, error)
- func (o *CreateProjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateProjectURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateProjectURL) SetBasePath(bp string)
- func (o *CreateProjectURL) String() string
- func (o *CreateProjectURL) StringFull(scheme, host string) string
- func (o *CreateProjectURL) WithBasePath(bp string) *CreateProjectURL
- type CreateProjectUnauthorized
- func (o *CreateProjectUnauthorized) SetPayload(payload *models.Errors)
- func (o *CreateProjectUnauthorized) SetXRequestID(xRequestID string)
- func (o *CreateProjectUnauthorized) WithPayload(payload *models.Errors) *CreateProjectUnauthorized
- func (o *CreateProjectUnauthorized) WithXRequestID(xRequestID string) *CreateProjectUnauthorized
- func (o *CreateProjectUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProject
- type DeleteProjectBadRequest
- func (o *DeleteProjectBadRequest) SetPayload(payload *models.Errors)
- func (o *DeleteProjectBadRequest) SetXRequestID(xRequestID string)
- func (o *DeleteProjectBadRequest) WithPayload(payload *models.Errors) *DeleteProjectBadRequest
- func (o *DeleteProjectBadRequest) WithXRequestID(xRequestID string) *DeleteProjectBadRequest
- func (o *DeleteProjectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProjectForbidden
- func (o *DeleteProjectForbidden) SetPayload(payload *models.Errors)
- func (o *DeleteProjectForbidden) SetXRequestID(xRequestID string)
- func (o *DeleteProjectForbidden) WithPayload(payload *models.Errors) *DeleteProjectForbidden
- func (o *DeleteProjectForbidden) WithXRequestID(xRequestID string) *DeleteProjectForbidden
- func (o *DeleteProjectForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProjectHandler
- type DeleteProjectHandlerFunc
- type DeleteProjectInternalServerError
- func (o *DeleteProjectInternalServerError) SetPayload(payload *models.Errors)
- func (o *DeleteProjectInternalServerError) SetXRequestID(xRequestID string)
- func (o *DeleteProjectInternalServerError) WithPayload(payload *models.Errors) *DeleteProjectInternalServerError
- func (o *DeleteProjectInternalServerError) WithXRequestID(xRequestID string) *DeleteProjectInternalServerError
- func (o *DeleteProjectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProjectNotFound
- func (o *DeleteProjectNotFound) SetPayload(payload *models.Errors)
- func (o *DeleteProjectNotFound) SetXRequestID(xRequestID string)
- func (o *DeleteProjectNotFound) WithPayload(payload *models.Errors) *DeleteProjectNotFound
- func (o *DeleteProjectNotFound) WithXRequestID(xRequestID string) *DeleteProjectNotFound
- func (o *DeleteProjectNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProjectOK
- type DeleteProjectParams
- type DeleteProjectPreconditionFailed
- func (o *DeleteProjectPreconditionFailed) SetPayload(payload *models.Errors)
- func (o *DeleteProjectPreconditionFailed) SetXRequestID(xRequestID string)
- func (o *DeleteProjectPreconditionFailed) WithPayload(payload *models.Errors) *DeleteProjectPreconditionFailed
- func (o *DeleteProjectPreconditionFailed) WithXRequestID(xRequestID string) *DeleteProjectPreconditionFailed
- func (o *DeleteProjectPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProjectURL
- func (o *DeleteProjectURL) Build() (*url.URL, error)
- func (o *DeleteProjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteProjectURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteProjectURL) SetBasePath(bp string)
- func (o *DeleteProjectURL) String() string
- func (o *DeleteProjectURL) StringFull(scheme, host string) string
- func (o *DeleteProjectURL) WithBasePath(bp string) *DeleteProjectURL
- type GetLogs
- type GetLogsBadRequest
- func (o *GetLogsBadRequest) SetPayload(payload *models.Errors)
- func (o *GetLogsBadRequest) SetXRequestID(xRequestID string)
- func (o *GetLogsBadRequest) WithPayload(payload *models.Errors) *GetLogsBadRequest
- func (o *GetLogsBadRequest) WithXRequestID(xRequestID string) *GetLogsBadRequest
- func (o *GetLogsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetLogsHandler
- type GetLogsHandlerFunc
- type GetLogsInternalServerError
- func (o *GetLogsInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetLogsInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetLogsInternalServerError) WithPayload(payload *models.Errors) *GetLogsInternalServerError
- func (o *GetLogsInternalServerError) WithXRequestID(xRequestID string) *GetLogsInternalServerError
- func (o *GetLogsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetLogsOK
- func (o *GetLogsOK) SetLink(link string)
- func (o *GetLogsOK) SetPayload(payload []*models.AuditLog)
- func (o *GetLogsOK) SetXTotalCount(xTotalCount int64)
- func (o *GetLogsOK) WithLink(link string) *GetLogsOK
- func (o *GetLogsOK) WithPayload(payload []*models.AuditLog) *GetLogsOK
- func (o *GetLogsOK) WithXTotalCount(xTotalCount int64) *GetLogsOK
- func (o *GetLogsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetLogsParams
- type GetLogsURL
- func (o *GetLogsURL) Build() (*url.URL, error)
- func (o *GetLogsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetLogsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetLogsURL) SetBasePath(bp string)
- func (o *GetLogsURL) String() string
- func (o *GetLogsURL) StringFull(scheme, host string) string
- func (o *GetLogsURL) WithBasePath(bp string) *GetLogsURL
- type GetLogsUnauthorized
- func (o *GetLogsUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetLogsUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetLogsUnauthorized) WithPayload(payload *models.Errors) *GetLogsUnauthorized
- func (o *GetLogsUnauthorized) WithXRequestID(xRequestID string) *GetLogsUnauthorized
- func (o *GetLogsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProject
- type GetProjectDeletable
- type GetProjectDeletableForbidden
- func (o *GetProjectDeletableForbidden) SetPayload(payload *models.Errors)
- func (o *GetProjectDeletableForbidden) SetXRequestID(xRequestID string)
- func (o *GetProjectDeletableForbidden) WithPayload(payload *models.Errors) *GetProjectDeletableForbidden
- func (o *GetProjectDeletableForbidden) WithXRequestID(xRequestID string) *GetProjectDeletableForbidden
- func (o *GetProjectDeletableForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectDeletableHandler
- type GetProjectDeletableHandlerFunc
- type GetProjectDeletableInternalServerError
- func (o *GetProjectDeletableInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetProjectDeletableInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetProjectDeletableInternalServerError) WithPayload(payload *models.Errors) *GetProjectDeletableInternalServerError
- func (o *GetProjectDeletableInternalServerError) WithXRequestID(xRequestID string) *GetProjectDeletableInternalServerError
- func (o *GetProjectDeletableInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectDeletableNotFound
- func (o *GetProjectDeletableNotFound) SetPayload(payload *models.Errors)
- func (o *GetProjectDeletableNotFound) SetXRequestID(xRequestID string)
- func (o *GetProjectDeletableNotFound) WithPayload(payload *models.Errors) *GetProjectDeletableNotFound
- func (o *GetProjectDeletableNotFound) WithXRequestID(xRequestID string) *GetProjectDeletableNotFound
- func (o *GetProjectDeletableNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectDeletableOK
- type GetProjectDeletableParams
- type GetProjectDeletableURL
- func (o *GetProjectDeletableURL) Build() (*url.URL, error)
- func (o *GetProjectDeletableURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetProjectDeletableURL) Must(u *url.URL, err error) *url.URL
- func (o *GetProjectDeletableURL) SetBasePath(bp string)
- func (o *GetProjectDeletableURL) String() string
- func (o *GetProjectDeletableURL) StringFull(scheme, host string) string
- func (o *GetProjectDeletableURL) WithBasePath(bp string) *GetProjectDeletableURL
- type GetProjectDeletableUnauthorized
- func (o *GetProjectDeletableUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetProjectDeletableUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetProjectDeletableUnauthorized) WithPayload(payload *models.Errors) *GetProjectDeletableUnauthorized
- func (o *GetProjectDeletableUnauthorized) WithXRequestID(xRequestID string) *GetProjectDeletableUnauthorized
- func (o *GetProjectDeletableUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectHandler
- type GetProjectHandlerFunc
- type GetProjectInternalServerError
- func (o *GetProjectInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetProjectInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetProjectInternalServerError) WithPayload(payload *models.Errors) *GetProjectInternalServerError
- func (o *GetProjectInternalServerError) WithXRequestID(xRequestID string) *GetProjectInternalServerError
- func (o *GetProjectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectOK
- type GetProjectParams
- type GetProjectSummary
- type GetProjectSummaryBadRequest
- func (o *GetProjectSummaryBadRequest) SetPayload(payload *models.Errors)
- func (o *GetProjectSummaryBadRequest) SetXRequestID(xRequestID string)
- func (o *GetProjectSummaryBadRequest) WithPayload(payload *models.Errors) *GetProjectSummaryBadRequest
- func (o *GetProjectSummaryBadRequest) WithXRequestID(xRequestID string) *GetProjectSummaryBadRequest
- func (o *GetProjectSummaryBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectSummaryForbidden
- func (o *GetProjectSummaryForbidden) SetPayload(payload *models.Errors)
- func (o *GetProjectSummaryForbidden) SetXRequestID(xRequestID string)
- func (o *GetProjectSummaryForbidden) WithPayload(payload *models.Errors) *GetProjectSummaryForbidden
- func (o *GetProjectSummaryForbidden) WithXRequestID(xRequestID string) *GetProjectSummaryForbidden
- func (o *GetProjectSummaryForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectSummaryHandler
- type GetProjectSummaryHandlerFunc
- type GetProjectSummaryInternalServerError
- func (o *GetProjectSummaryInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetProjectSummaryInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetProjectSummaryInternalServerError) WithPayload(payload *models.Errors) *GetProjectSummaryInternalServerError
- func (o *GetProjectSummaryInternalServerError) WithXRequestID(xRequestID string) *GetProjectSummaryInternalServerError
- func (o *GetProjectSummaryInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectSummaryNotFound
- func (o *GetProjectSummaryNotFound) SetPayload(payload *models.Errors)
- func (o *GetProjectSummaryNotFound) SetXRequestID(xRequestID string)
- func (o *GetProjectSummaryNotFound) WithPayload(payload *models.Errors) *GetProjectSummaryNotFound
- func (o *GetProjectSummaryNotFound) WithXRequestID(xRequestID string) *GetProjectSummaryNotFound
- func (o *GetProjectSummaryNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectSummaryOK
- type GetProjectSummaryParams
- type GetProjectSummaryURL
- func (o *GetProjectSummaryURL) Build() (*url.URL, error)
- func (o *GetProjectSummaryURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetProjectSummaryURL) Must(u *url.URL, err error) *url.URL
- func (o *GetProjectSummaryURL) SetBasePath(bp string)
- func (o *GetProjectSummaryURL) String() string
- func (o *GetProjectSummaryURL) StringFull(scheme, host string) string
- func (o *GetProjectSummaryURL) WithBasePath(bp string) *GetProjectSummaryURL
- type GetProjectSummaryUnauthorized
- func (o *GetProjectSummaryUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetProjectSummaryUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetProjectSummaryUnauthorized) WithPayload(payload *models.Errors) *GetProjectSummaryUnauthorized
- func (o *GetProjectSummaryUnauthorized) WithXRequestID(xRequestID string) *GetProjectSummaryUnauthorized
- func (o *GetProjectSummaryUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetProjectURL
- func (o *GetProjectURL) Build() (*url.URL, error)
- func (o *GetProjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetProjectURL) Must(u *url.URL, err error) *url.URL
- func (o *GetProjectURL) SetBasePath(bp string)
- func (o *GetProjectURL) String() string
- func (o *GetProjectURL) StringFull(scheme, host string) string
- func (o *GetProjectURL) WithBasePath(bp string) *GetProjectURL
- type GetProjectUnauthorized
- func (o *GetProjectUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetProjectUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetProjectUnauthorized) WithPayload(payload *models.Errors) *GetProjectUnauthorized
- func (o *GetProjectUnauthorized) WithXRequestID(xRequestID string) *GetProjectUnauthorized
- func (o *GetProjectUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type HeadProject
- type HeadProjectHandler
- type HeadProjectHandlerFunc
- type HeadProjectInternalServerError
- func (o *HeadProjectInternalServerError) SetPayload(payload *models.Errors)
- func (o *HeadProjectInternalServerError) SetXRequestID(xRequestID string)
- func (o *HeadProjectInternalServerError) WithPayload(payload *models.Errors) *HeadProjectInternalServerError
- func (o *HeadProjectInternalServerError) WithXRequestID(xRequestID string) *HeadProjectInternalServerError
- func (o *HeadProjectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type HeadProjectNotFound
- func (o *HeadProjectNotFound) SetPayload(payload *models.Errors)
- func (o *HeadProjectNotFound) SetXRequestID(xRequestID string)
- func (o *HeadProjectNotFound) WithPayload(payload *models.Errors) *HeadProjectNotFound
- func (o *HeadProjectNotFound) WithXRequestID(xRequestID string) *HeadProjectNotFound
- func (o *HeadProjectNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type HeadProjectOK
- type HeadProjectParams
- type HeadProjectURL
- func (o *HeadProjectURL) Build() (*url.URL, error)
- func (o *HeadProjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *HeadProjectURL) Must(u *url.URL, err error) *url.URL
- func (o *HeadProjectURL) SetBasePath(bp string)
- func (o *HeadProjectURL) String() string
- func (o *HeadProjectURL) StringFull(scheme, host string) string
- func (o *HeadProjectURL) WithBasePath(bp string) *HeadProjectURL
- type ListProjects
- type ListProjectsHandler
- type ListProjectsHandlerFunc
- type ListProjectsInternalServerError
- func (o *ListProjectsInternalServerError) SetPayload(payload *models.Errors)
- func (o *ListProjectsInternalServerError) SetXRequestID(xRequestID string)
- func (o *ListProjectsInternalServerError) WithPayload(payload *models.Errors) *ListProjectsInternalServerError
- func (o *ListProjectsInternalServerError) WithXRequestID(xRequestID string) *ListProjectsInternalServerError
- func (o *ListProjectsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListProjectsOK
- func (o *ListProjectsOK) SetLink(link string)
- func (o *ListProjectsOK) SetPayload(payload []*models.Project)
- func (o *ListProjectsOK) SetXTotalCount(xTotalCount int64)
- func (o *ListProjectsOK) WithLink(link string) *ListProjectsOK
- func (o *ListProjectsOK) WithPayload(payload []*models.Project) *ListProjectsOK
- func (o *ListProjectsOK) WithXTotalCount(xTotalCount int64) *ListProjectsOK
- func (o *ListProjectsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListProjectsParams
- type ListProjectsURL
- func (o *ListProjectsURL) Build() (*url.URL, error)
- func (o *ListProjectsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListProjectsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListProjectsURL) SetBasePath(bp string)
- func (o *ListProjectsURL) String() string
- func (o *ListProjectsURL) StringFull(scheme, host string) string
- func (o *ListProjectsURL) WithBasePath(bp string) *ListProjectsURL
- type ListProjectsUnauthorized
- func (o *ListProjectsUnauthorized) SetPayload(payload *models.Errors)
- func (o *ListProjectsUnauthorized) SetXRequestID(xRequestID string)
- func (o *ListProjectsUnauthorized) WithPayload(payload *models.Errors) *ListProjectsUnauthorized
- func (o *ListProjectsUnauthorized) WithXRequestID(xRequestID string) *ListProjectsUnauthorized
- func (o *ListProjectsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProject
- type UpdateProjectBadRequest
- func (o *UpdateProjectBadRequest) SetPayload(payload *models.Errors)
- func (o *UpdateProjectBadRequest) SetXRequestID(xRequestID string)
- func (o *UpdateProjectBadRequest) WithPayload(payload *models.Errors) *UpdateProjectBadRequest
- func (o *UpdateProjectBadRequest) WithXRequestID(xRequestID string) *UpdateProjectBadRequest
- func (o *UpdateProjectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProjectForbidden
- func (o *UpdateProjectForbidden) SetPayload(payload *models.Errors)
- func (o *UpdateProjectForbidden) SetXRequestID(xRequestID string)
- func (o *UpdateProjectForbidden) WithPayload(payload *models.Errors) *UpdateProjectForbidden
- func (o *UpdateProjectForbidden) WithXRequestID(xRequestID string) *UpdateProjectForbidden
- func (o *UpdateProjectForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProjectHandler
- type UpdateProjectHandlerFunc
- type UpdateProjectInternalServerError
- func (o *UpdateProjectInternalServerError) SetPayload(payload *models.Errors)
- func (o *UpdateProjectInternalServerError) SetXRequestID(xRequestID string)
- func (o *UpdateProjectInternalServerError) WithPayload(payload *models.Errors) *UpdateProjectInternalServerError
- func (o *UpdateProjectInternalServerError) WithXRequestID(xRequestID string) *UpdateProjectInternalServerError
- func (o *UpdateProjectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProjectNotFound
- func (o *UpdateProjectNotFound) SetPayload(payload *models.Errors)
- func (o *UpdateProjectNotFound) SetXRequestID(xRequestID string)
- func (o *UpdateProjectNotFound) WithPayload(payload *models.Errors) *UpdateProjectNotFound
- func (o *UpdateProjectNotFound) WithXRequestID(xRequestID string) *UpdateProjectNotFound
- func (o *UpdateProjectNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProjectOK
- type UpdateProjectParams
- type UpdateProjectURL
- func (o *UpdateProjectURL) Build() (*url.URL, error)
- func (o *UpdateProjectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateProjectURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateProjectURL) SetBasePath(bp string)
- func (o *UpdateProjectURL) String() string
- func (o *UpdateProjectURL) StringFull(scheme, host string) string
- func (o *UpdateProjectURL) WithBasePath(bp string) *UpdateProjectURL
- type UpdateProjectUnauthorized
- func (o *UpdateProjectUnauthorized) SetPayload(payload *models.Errors)
- func (o *UpdateProjectUnauthorized) SetXRequestID(xRequestID string)
- func (o *UpdateProjectUnauthorized) WithPayload(payload *models.Errors) *UpdateProjectUnauthorized
- func (o *UpdateProjectUnauthorized) WithXRequestID(xRequestID string) *UpdateProjectUnauthorized
- func (o *UpdateProjectUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateProjectBadRequestCode int = 400
CreateProjectBadRequestCode is the HTTP code returned for type CreateProjectBadRequest
const CreateProjectConflictCode int = 409
CreateProjectConflictCode is the HTTP code returned for type CreateProjectConflict
const CreateProjectCreatedCode int = 201
CreateProjectCreatedCode is the HTTP code returned for type CreateProjectCreated
const CreateProjectInternalServerErrorCode int = 500
CreateProjectInternalServerErrorCode is the HTTP code returned for type CreateProjectInternalServerError
CreateProjectUnauthorizedCode is the HTTP code returned for type CreateProjectUnauthorized
const DeleteProjectBadRequestCode int = 400
DeleteProjectBadRequestCode is the HTTP code returned for type DeleteProjectBadRequest
const DeleteProjectForbiddenCode int = 403
DeleteProjectForbiddenCode is the HTTP code returned for type DeleteProjectForbidden
const DeleteProjectInternalServerErrorCode int = 500
DeleteProjectInternalServerErrorCode is the HTTP code returned for type DeleteProjectInternalServerError
const DeleteProjectNotFoundCode int = 404
DeleteProjectNotFoundCode is the HTTP code returned for type DeleteProjectNotFound
const DeleteProjectOKCode int = 200
DeleteProjectOKCode is the HTTP code returned for type DeleteProjectOK
const DeleteProjectPreconditionFailedCode int = 412
DeleteProjectPreconditionFailedCode is the HTTP code returned for type DeleteProjectPreconditionFailed
const GetLogsBadRequestCode int = 400
GetLogsBadRequestCode is the HTTP code returned for type GetLogsBadRequest
const GetLogsInternalServerErrorCode int = 500
GetLogsInternalServerErrorCode is the HTTP code returned for type GetLogsInternalServerError
const GetLogsOKCode int = 200
GetLogsOKCode is the HTTP code returned for type GetLogsOK
GetLogsUnauthorizedCode is the HTTP code returned for type GetLogsUnauthorized
const GetProjectDeletableForbiddenCode int = 403
GetProjectDeletableForbiddenCode is the HTTP code returned for type GetProjectDeletableForbidden
const GetProjectDeletableInternalServerErrorCode int = 500
GetProjectDeletableInternalServerErrorCode is the HTTP code returned for type GetProjectDeletableInternalServerError
const GetProjectDeletableNotFoundCode int = 404
GetProjectDeletableNotFoundCode is the HTTP code returned for type GetProjectDeletableNotFound
const GetProjectDeletableOKCode int = 200
GetProjectDeletableOKCode is the HTTP code returned for type GetProjectDeletableOK
GetProjectDeletableUnauthorizedCode is the HTTP code returned for type GetProjectDeletableUnauthorized
const GetProjectInternalServerErrorCode int = 500
GetProjectInternalServerErrorCode is the HTTP code returned for type GetProjectInternalServerError
const GetProjectOKCode int = 200
GetProjectOKCode is the HTTP code returned for type GetProjectOK
const GetProjectSummaryBadRequestCode int = 400
GetProjectSummaryBadRequestCode is the HTTP code returned for type GetProjectSummaryBadRequest
const GetProjectSummaryForbiddenCode int = 403
GetProjectSummaryForbiddenCode is the HTTP code returned for type GetProjectSummaryForbidden
const GetProjectSummaryInternalServerErrorCode int = 500
GetProjectSummaryInternalServerErrorCode is the HTTP code returned for type GetProjectSummaryInternalServerError
const GetProjectSummaryNotFoundCode int = 404
GetProjectSummaryNotFoundCode is the HTTP code returned for type GetProjectSummaryNotFound
const GetProjectSummaryOKCode int = 200
GetProjectSummaryOKCode is the HTTP code returned for type GetProjectSummaryOK
GetProjectSummaryUnauthorizedCode is the HTTP code returned for type GetProjectSummaryUnauthorized
GetProjectUnauthorizedCode is the HTTP code returned for type GetProjectUnauthorized
const HeadProjectInternalServerErrorCode int = 500
HeadProjectInternalServerErrorCode is the HTTP code returned for type HeadProjectInternalServerError
const HeadProjectNotFoundCode int = 404
HeadProjectNotFoundCode is the HTTP code returned for type HeadProjectNotFound
const HeadProjectOKCode int = 200
HeadProjectOKCode is the HTTP code returned for type HeadProjectOK
const ListProjectsInternalServerErrorCode int = 500
ListProjectsInternalServerErrorCode is the HTTP code returned for type ListProjectsInternalServerError
const ListProjectsOKCode int = 200
ListProjectsOKCode is the HTTP code returned for type ListProjectsOK
ListProjectsUnauthorizedCode is the HTTP code returned for type ListProjectsUnauthorized
const UpdateProjectBadRequestCode int = 400
UpdateProjectBadRequestCode is the HTTP code returned for type UpdateProjectBadRequest
const UpdateProjectForbiddenCode int = 403
UpdateProjectForbiddenCode is the HTTP code returned for type UpdateProjectForbidden
const UpdateProjectInternalServerErrorCode int = 500
UpdateProjectInternalServerErrorCode is the HTTP code returned for type UpdateProjectInternalServerError
const UpdateProjectNotFoundCode int = 404
UpdateProjectNotFoundCode is the HTTP code returned for type UpdateProjectNotFound
const UpdateProjectOKCode int = 200
UpdateProjectOKCode is the HTTP code returned for type UpdateProjectOK
UpdateProjectUnauthorizedCode is the HTTP code returned for type UpdateProjectUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateProject ¶
type CreateProject struct { Context *middleware.Context Handler CreateProjectHandler }
CreateProject swagger:route POST /projects project createProject
Create a new project.
This endpoint is for user to create a new project.
func NewCreateProject ¶
func NewCreateProject(ctx *middleware.Context, handler CreateProjectHandler) *CreateProject
NewCreateProject creates a new http.Handler for the create project operation
func (*CreateProject) ServeHTTP ¶
func (o *CreateProject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateProjectBadRequest ¶
type CreateProjectBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
CreateProjectBadRequest Bad request
swagger:response createProjectBadRequest
func NewCreateProjectBadRequest ¶
func NewCreateProjectBadRequest() *CreateProjectBadRequest
NewCreateProjectBadRequest creates CreateProjectBadRequest with default headers values
func (*CreateProjectBadRequest) SetPayload ¶
func (o *CreateProjectBadRequest) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create project bad request response
func (*CreateProjectBadRequest) SetXRequestID ¶
func (o *CreateProjectBadRequest) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create project bad request response
func (*CreateProjectBadRequest) WithPayload ¶
func (o *CreateProjectBadRequest) WithPayload(payload *models.Errors) *CreateProjectBadRequest
WithPayload adds the payload to the create project bad request response
func (*CreateProjectBadRequest) WithXRequestID ¶
func (o *CreateProjectBadRequest) WithXRequestID(xRequestID string) *CreateProjectBadRequest
WithXRequestID adds the xRequestId to the create project bad request response
func (*CreateProjectBadRequest) WriteResponse ¶
func (o *CreateProjectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProjectConflict ¶
type CreateProjectConflict struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
CreateProjectConflict Conflict
swagger:response createProjectConflict
func NewCreateProjectConflict ¶
func NewCreateProjectConflict() *CreateProjectConflict
NewCreateProjectConflict creates CreateProjectConflict with default headers values
func (*CreateProjectConflict) SetPayload ¶
func (o *CreateProjectConflict) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create project conflict response
func (*CreateProjectConflict) SetXRequestID ¶
func (o *CreateProjectConflict) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create project conflict response
func (*CreateProjectConflict) WithPayload ¶
func (o *CreateProjectConflict) WithPayload(payload *models.Errors) *CreateProjectConflict
WithPayload adds the payload to the create project conflict response
func (*CreateProjectConflict) WithXRequestID ¶
func (o *CreateProjectConflict) WithXRequestID(xRequestID string) *CreateProjectConflict
WithXRequestID adds the xRequestId to the create project conflict response
func (*CreateProjectConflict) WriteResponse ¶
func (o *CreateProjectConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProjectCreated ¶
type CreateProjectCreated struct { /*The location of the resource */ Location string `json:"Location"` /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` }
CreateProjectCreated Created
swagger:response createProjectCreated
func NewCreateProjectCreated ¶
func NewCreateProjectCreated() *CreateProjectCreated
NewCreateProjectCreated creates CreateProjectCreated with default headers values
func (*CreateProjectCreated) SetLocation ¶
func (o *CreateProjectCreated) SetLocation(location string)
SetLocation sets the location to the create project created response
func (*CreateProjectCreated) SetXRequestID ¶
func (o *CreateProjectCreated) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create project created response
func (*CreateProjectCreated) WithLocation ¶
func (o *CreateProjectCreated) WithLocation(location string) *CreateProjectCreated
WithLocation adds the location to the create project created response
func (*CreateProjectCreated) WithXRequestID ¶
func (o *CreateProjectCreated) WithXRequestID(xRequestID string) *CreateProjectCreated
WithXRequestID adds the xRequestId to the create project created response
func (*CreateProjectCreated) WriteResponse ¶
func (o *CreateProjectCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProjectHandler ¶
type CreateProjectHandler interface {
Handle(CreateProjectParams, interface{}) middleware.Responder
}
CreateProjectHandler interface for that can handle valid create project params
type CreateProjectHandlerFunc ¶
type CreateProjectHandlerFunc func(CreateProjectParams, interface{}) middleware.Responder
CreateProjectHandlerFunc turns a function with the right signature into a create project handler
func (CreateProjectHandlerFunc) Handle ¶
func (fn CreateProjectHandlerFunc) Handle(params CreateProjectParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateProjectInternalServerError ¶
type CreateProjectInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
CreateProjectInternalServerError Internal server error
swagger:response createProjectInternalServerError
func NewCreateProjectInternalServerError ¶
func NewCreateProjectInternalServerError() *CreateProjectInternalServerError
NewCreateProjectInternalServerError creates CreateProjectInternalServerError with default headers values
func (*CreateProjectInternalServerError) SetPayload ¶
func (o *CreateProjectInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create project internal server error response
func (*CreateProjectInternalServerError) SetXRequestID ¶
func (o *CreateProjectInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create project internal server error response
func (*CreateProjectInternalServerError) WithPayload ¶
func (o *CreateProjectInternalServerError) WithPayload(payload *models.Errors) *CreateProjectInternalServerError
WithPayload adds the payload to the create project internal server error response
func (*CreateProjectInternalServerError) WithXRequestID ¶
func (o *CreateProjectInternalServerError) WithXRequestID(xRequestID string) *CreateProjectInternalServerError
WithXRequestID adds the xRequestId to the create project internal server error response
func (*CreateProjectInternalServerError) WriteResponse ¶
func (o *CreateProjectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProjectParams ¶
type CreateProjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An unique ID for the request Min Length: 1 In: header */ XRequestID *string /*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. In: header Default: false */ XResourceNameInLocation *bool /*New created project. Required: true In: body */ Project *models.ProjectReq }
CreateProjectParams contains all the bound params for the create project operation typically these are obtained from a http.Request
swagger:parameters createProject
func NewCreateProjectParams ¶
func NewCreateProjectParams() CreateProjectParams
NewCreateProjectParams creates a new CreateProjectParams object with the default values initialized.
func (*CreateProjectParams) BindRequest ¶
func (o *CreateProjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateProjectParams() beforehand.
type CreateProjectURL ¶
type CreateProjectURL struct {
// contains filtered or unexported fields
}
CreateProjectURL generates an URL for the create project operation
func (*CreateProjectURL) Build ¶
func (o *CreateProjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateProjectURL) BuildFull ¶
func (o *CreateProjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateProjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateProjectURL) SetBasePath ¶
func (o *CreateProjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateProjectURL) String ¶
func (o *CreateProjectURL) String() string
String returns the string representation of the path with query string
func (*CreateProjectURL) StringFull ¶
func (o *CreateProjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateProjectURL) WithBasePath ¶
func (o *CreateProjectURL) WithBasePath(bp string) *CreateProjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateProjectUnauthorized ¶
type CreateProjectUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
CreateProjectUnauthorized Unauthorized
swagger:response createProjectUnauthorized
func NewCreateProjectUnauthorized ¶
func NewCreateProjectUnauthorized() *CreateProjectUnauthorized
NewCreateProjectUnauthorized creates CreateProjectUnauthorized with default headers values
func (*CreateProjectUnauthorized) SetPayload ¶
func (o *CreateProjectUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create project unauthorized response
func (*CreateProjectUnauthorized) SetXRequestID ¶
func (o *CreateProjectUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create project unauthorized response
func (*CreateProjectUnauthorized) WithPayload ¶
func (o *CreateProjectUnauthorized) WithPayload(payload *models.Errors) *CreateProjectUnauthorized
WithPayload adds the payload to the create project unauthorized response
func (*CreateProjectUnauthorized) WithXRequestID ¶
func (o *CreateProjectUnauthorized) WithXRequestID(xRequestID string) *CreateProjectUnauthorized
WithXRequestID adds the xRequestId to the create project unauthorized response
func (*CreateProjectUnauthorized) WriteResponse ¶
func (o *CreateProjectUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProject ¶
type DeleteProject struct { Context *middleware.Context Handler DeleteProjectHandler }
DeleteProject swagger:route DELETE /projects/{project_name_or_id} project deleteProject
Delete project by projectID ¶
This endpoint is aimed to delete project by project ID.
func NewDeleteProject ¶
func NewDeleteProject(ctx *middleware.Context, handler DeleteProjectHandler) *DeleteProject
NewDeleteProject creates a new http.Handler for the delete project operation
func (*DeleteProject) ServeHTTP ¶
func (o *DeleteProject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteProjectBadRequest ¶
type DeleteProjectBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
DeleteProjectBadRequest Bad request
swagger:response deleteProjectBadRequest
func NewDeleteProjectBadRequest ¶
func NewDeleteProjectBadRequest() *DeleteProjectBadRequest
NewDeleteProjectBadRequest creates DeleteProjectBadRequest with default headers values
func (*DeleteProjectBadRequest) SetPayload ¶
func (o *DeleteProjectBadRequest) SetPayload(payload *models.Errors)
SetPayload sets the payload to the delete project bad request response
func (*DeleteProjectBadRequest) SetXRequestID ¶
func (o *DeleteProjectBadRequest) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the delete project bad request response
func (*DeleteProjectBadRequest) WithPayload ¶
func (o *DeleteProjectBadRequest) WithPayload(payload *models.Errors) *DeleteProjectBadRequest
WithPayload adds the payload to the delete project bad request response
func (*DeleteProjectBadRequest) WithXRequestID ¶
func (o *DeleteProjectBadRequest) WithXRequestID(xRequestID string) *DeleteProjectBadRequest
WithXRequestID adds the xRequestId to the delete project bad request response
func (*DeleteProjectBadRequest) WriteResponse ¶
func (o *DeleteProjectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectForbidden ¶
type DeleteProjectForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
DeleteProjectForbidden Forbidden
swagger:response deleteProjectForbidden
func NewDeleteProjectForbidden ¶
func NewDeleteProjectForbidden() *DeleteProjectForbidden
NewDeleteProjectForbidden creates DeleteProjectForbidden with default headers values
func (*DeleteProjectForbidden) SetPayload ¶
func (o *DeleteProjectForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the delete project forbidden response
func (*DeleteProjectForbidden) SetXRequestID ¶
func (o *DeleteProjectForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the delete project forbidden response
func (*DeleteProjectForbidden) WithPayload ¶
func (o *DeleteProjectForbidden) WithPayload(payload *models.Errors) *DeleteProjectForbidden
WithPayload adds the payload to the delete project forbidden response
func (*DeleteProjectForbidden) WithXRequestID ¶
func (o *DeleteProjectForbidden) WithXRequestID(xRequestID string) *DeleteProjectForbidden
WithXRequestID adds the xRequestId to the delete project forbidden response
func (*DeleteProjectForbidden) WriteResponse ¶
func (o *DeleteProjectForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectHandler ¶
type DeleteProjectHandler interface {
Handle(DeleteProjectParams, interface{}) middleware.Responder
}
DeleteProjectHandler interface for that can handle valid delete project params
type DeleteProjectHandlerFunc ¶
type DeleteProjectHandlerFunc func(DeleteProjectParams, interface{}) middleware.Responder
DeleteProjectHandlerFunc turns a function with the right signature into a delete project handler
func (DeleteProjectHandlerFunc) Handle ¶
func (fn DeleteProjectHandlerFunc) Handle(params DeleteProjectParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteProjectInternalServerError ¶
type DeleteProjectInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
DeleteProjectInternalServerError Internal server error
swagger:response deleteProjectInternalServerError
func NewDeleteProjectInternalServerError ¶
func NewDeleteProjectInternalServerError() *DeleteProjectInternalServerError
NewDeleteProjectInternalServerError creates DeleteProjectInternalServerError with default headers values
func (*DeleteProjectInternalServerError) SetPayload ¶
func (o *DeleteProjectInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the delete project internal server error response
func (*DeleteProjectInternalServerError) SetXRequestID ¶
func (o *DeleteProjectInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the delete project internal server error response
func (*DeleteProjectInternalServerError) WithPayload ¶
func (o *DeleteProjectInternalServerError) WithPayload(payload *models.Errors) *DeleteProjectInternalServerError
WithPayload adds the payload to the delete project internal server error response
func (*DeleteProjectInternalServerError) WithXRequestID ¶
func (o *DeleteProjectInternalServerError) WithXRequestID(xRequestID string) *DeleteProjectInternalServerError
WithXRequestID adds the xRequestId to the delete project internal server error response
func (*DeleteProjectInternalServerError) WriteResponse ¶
func (o *DeleteProjectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectNotFound ¶
type DeleteProjectNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
DeleteProjectNotFound Not found
swagger:response deleteProjectNotFound
func NewDeleteProjectNotFound ¶
func NewDeleteProjectNotFound() *DeleteProjectNotFound
NewDeleteProjectNotFound creates DeleteProjectNotFound with default headers values
func (*DeleteProjectNotFound) SetPayload ¶
func (o *DeleteProjectNotFound) SetPayload(payload *models.Errors)
SetPayload sets the payload to the delete project not found response
func (*DeleteProjectNotFound) SetXRequestID ¶
func (o *DeleteProjectNotFound) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the delete project not found response
func (*DeleteProjectNotFound) WithPayload ¶
func (o *DeleteProjectNotFound) WithPayload(payload *models.Errors) *DeleteProjectNotFound
WithPayload adds the payload to the delete project not found response
func (*DeleteProjectNotFound) WithXRequestID ¶
func (o *DeleteProjectNotFound) WithXRequestID(xRequestID string) *DeleteProjectNotFound
WithXRequestID adds the xRequestId to the delete project not found response
func (*DeleteProjectNotFound) WriteResponse ¶
func (o *DeleteProjectNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectOK ¶
type DeleteProjectOK struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` }
DeleteProjectOK Success
swagger:response deleteProjectOK
func NewDeleteProjectOK ¶
func NewDeleteProjectOK() *DeleteProjectOK
NewDeleteProjectOK creates DeleteProjectOK with default headers values
func (*DeleteProjectOK) SetXRequestID ¶
func (o *DeleteProjectOK) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the delete project o k response
func (*DeleteProjectOK) WithXRequestID ¶
func (o *DeleteProjectOK) WithXRequestID(xRequestID string) *DeleteProjectOK
WithXRequestID adds the xRequestId to the delete project o k response
func (*DeleteProjectOK) WriteResponse ¶
func (o *DeleteProjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectParams ¶
type DeleteProjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*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. In: header Default: false */ XIsResourceName *bool /*An unique ID for the request Min Length: 1 In: header */ XRequestID *string /*The name or id of the project Required: true In: path */ ProjectNameOrID string }
DeleteProjectParams contains all the bound params for the delete project operation typically these are obtained from a http.Request
swagger:parameters deleteProject
func NewDeleteProjectParams ¶
func NewDeleteProjectParams() DeleteProjectParams
NewDeleteProjectParams creates a new DeleteProjectParams object with the default values initialized.
func (*DeleteProjectParams) BindRequest ¶
func (o *DeleteProjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteProjectParams() beforehand.
type DeleteProjectPreconditionFailed ¶
type DeleteProjectPreconditionFailed struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
DeleteProjectPreconditionFailed Precondition failed
swagger:response deleteProjectPreconditionFailed
func NewDeleteProjectPreconditionFailed ¶
func NewDeleteProjectPreconditionFailed() *DeleteProjectPreconditionFailed
NewDeleteProjectPreconditionFailed creates DeleteProjectPreconditionFailed with default headers values
func (*DeleteProjectPreconditionFailed) SetPayload ¶
func (o *DeleteProjectPreconditionFailed) SetPayload(payload *models.Errors)
SetPayload sets the payload to the delete project precondition failed response
func (*DeleteProjectPreconditionFailed) SetXRequestID ¶
func (o *DeleteProjectPreconditionFailed) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the delete project precondition failed response
func (*DeleteProjectPreconditionFailed) WithPayload ¶
func (o *DeleteProjectPreconditionFailed) WithPayload(payload *models.Errors) *DeleteProjectPreconditionFailed
WithPayload adds the payload to the delete project precondition failed response
func (*DeleteProjectPreconditionFailed) WithXRequestID ¶
func (o *DeleteProjectPreconditionFailed) WithXRequestID(xRequestID string) *DeleteProjectPreconditionFailed
WithXRequestID adds the xRequestId to the delete project precondition failed response
func (*DeleteProjectPreconditionFailed) WriteResponse ¶
func (o *DeleteProjectPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProjectURL ¶
type DeleteProjectURL struct { ProjectNameOrID string // contains filtered or unexported fields }
DeleteProjectURL generates an URL for the delete project operation
func (*DeleteProjectURL) Build ¶
func (o *DeleteProjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteProjectURL) BuildFull ¶
func (o *DeleteProjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteProjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteProjectURL) SetBasePath ¶
func (o *DeleteProjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteProjectURL) String ¶
func (o *DeleteProjectURL) String() string
String returns the string representation of the path with query string
func (*DeleteProjectURL) StringFull ¶
func (o *DeleteProjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteProjectURL) WithBasePath ¶
func (o *DeleteProjectURL) WithBasePath(bp string) *DeleteProjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetLogs ¶
type GetLogs struct { Context *middleware.Context Handler GetLogsHandler }
GetLogs swagger:route GET /projects/{project_name}/logs project getLogs
Get recent logs of the projects ¶
Get recent logs of the projects
func NewGetLogs ¶
func NewGetLogs(ctx *middleware.Context, handler GetLogsHandler) *GetLogs
NewGetLogs creates a new http.Handler for the get logs operation
type GetLogsBadRequest ¶
type GetLogsBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetLogsBadRequest Bad request
swagger:response getLogsBadRequest
func NewGetLogsBadRequest ¶
func NewGetLogsBadRequest() *GetLogsBadRequest
NewGetLogsBadRequest creates GetLogsBadRequest with default headers values
func (*GetLogsBadRequest) SetPayload ¶
func (o *GetLogsBadRequest) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get logs bad request response
func (*GetLogsBadRequest) SetXRequestID ¶
func (o *GetLogsBadRequest) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get logs bad request response
func (*GetLogsBadRequest) WithPayload ¶
func (o *GetLogsBadRequest) WithPayload(payload *models.Errors) *GetLogsBadRequest
WithPayload adds the payload to the get logs bad request response
func (*GetLogsBadRequest) WithXRequestID ¶
func (o *GetLogsBadRequest) WithXRequestID(xRequestID string) *GetLogsBadRequest
WithXRequestID adds the xRequestId to the get logs bad request response
func (*GetLogsBadRequest) WriteResponse ¶
func (o *GetLogsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetLogsHandler ¶
type GetLogsHandler interface {
Handle(GetLogsParams, interface{}) middleware.Responder
}
GetLogsHandler interface for that can handle valid get logs params
type GetLogsHandlerFunc ¶
type GetLogsHandlerFunc func(GetLogsParams, interface{}) middleware.Responder
GetLogsHandlerFunc turns a function with the right signature into a get logs handler
func (GetLogsHandlerFunc) Handle ¶
func (fn GetLogsHandlerFunc) Handle(params GetLogsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetLogsInternalServerError ¶
type GetLogsInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetLogsInternalServerError Internal server error
swagger:response getLogsInternalServerError
func NewGetLogsInternalServerError ¶
func NewGetLogsInternalServerError() *GetLogsInternalServerError
NewGetLogsInternalServerError creates GetLogsInternalServerError with default headers values
func (*GetLogsInternalServerError) SetPayload ¶
func (o *GetLogsInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get logs internal server error response
func (*GetLogsInternalServerError) SetXRequestID ¶
func (o *GetLogsInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get logs internal server error response
func (*GetLogsInternalServerError) WithPayload ¶
func (o *GetLogsInternalServerError) WithPayload(payload *models.Errors) *GetLogsInternalServerError
WithPayload adds the payload to the get logs internal server error response
func (*GetLogsInternalServerError) WithXRequestID ¶
func (o *GetLogsInternalServerError) WithXRequestID(xRequestID string) *GetLogsInternalServerError
WithXRequestID adds the xRequestId to the get logs internal server error response
func (*GetLogsInternalServerError) WriteResponse ¶
func (o *GetLogsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetLogsOK ¶
type GetLogsOK struct { /*Link refers to the previous page and next page */ Link string `json:"Link"` /*The total count of auditlogs */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.AuditLog `json:"body,omitempty"` }
GetLogsOK Success
swagger:response getLogsOK
func NewGetLogsOK ¶
func NewGetLogsOK() *GetLogsOK
NewGetLogsOK creates GetLogsOK with default headers values
func (*GetLogsOK) SetPayload ¶
SetPayload sets the payload to the get logs o k response
func (*GetLogsOK) SetXTotalCount ¶
SetXTotalCount sets the xTotalCount to the get logs o k response
func (*GetLogsOK) WithPayload ¶
WithPayload adds the payload to the get logs o k response
func (*GetLogsOK) WithXTotalCount ¶
WithXTotalCount adds the xTotalCount to the get logs o k response
func (*GetLogsOK) WriteResponse ¶
func (o *GetLogsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetLogsParams ¶
type GetLogsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An unique ID for the request Min Length: 1 In: header */ XRequestID *string /*The page number In: query Default: 1 */ Page *int64 /*The size of per page Maximum: 100 In: query Default: 10 */ PageSize *int64 /*The name of the project Required: true In: path */ ProjectName string /*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] In: query */ Q *string }
GetLogsParams contains all the bound params for the get logs operation typically these are obtained from a http.Request
swagger:parameters getLogs
func NewGetLogsParams ¶
func NewGetLogsParams() GetLogsParams
NewGetLogsParams creates a new GetLogsParams object with the default values initialized.
func (*GetLogsParams) BindRequest ¶
func (o *GetLogsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetLogsParams() beforehand.
type GetLogsURL ¶
type GetLogsURL struct { ProjectName string Page *int64 PageSize *int64 Q *string // contains filtered or unexported fields }
GetLogsURL generates an URL for the get logs operation
func (*GetLogsURL) Build ¶
func (o *GetLogsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetLogsURL) BuildFull ¶
func (o *GetLogsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetLogsURL) SetBasePath ¶
func (o *GetLogsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetLogsURL) String ¶
func (o *GetLogsURL) String() string
String returns the string representation of the path with query string
func (*GetLogsURL) StringFull ¶
func (o *GetLogsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetLogsURL) WithBasePath ¶
func (o *GetLogsURL) WithBasePath(bp string) *GetLogsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetLogsUnauthorized ¶
type GetLogsUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
GetLogsUnauthorized Unauthorized
swagger:response getLogsUnauthorized
func NewGetLogsUnauthorized ¶
func NewGetLogsUnauthorized() *GetLogsUnauthorized
NewGetLogsUnauthorized creates GetLogsUnauthorized with default headers values
func (*GetLogsUnauthorized) SetPayload ¶
func (o *GetLogsUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get logs unauthorized response
func (*GetLogsUnauthorized) SetXRequestID ¶
func (o *GetLogsUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get logs unauthorized response
func (*GetLogsUnauthorized) WithPayload ¶
func (o *GetLogsUnauthorized) WithPayload(payload *models.Errors) *GetLogsUnauthorized
WithPayload adds the payload to the get logs unauthorized response
func (*GetLogsUnauthorized) WithXRequestID ¶
func (o *GetLogsUnauthorized) WithXRequestID(xRequestID string) *GetLogsUnauthorized
WithXRequestID adds the xRequestId to the get logs unauthorized response
func (*GetLogsUnauthorized) WriteResponse ¶
func (o *GetLogsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProject ¶
type GetProject struct { Context *middleware.Context Handler GetProjectHandler }
GetProject swagger:route GET /projects/{project_name_or_id} project getProject
Return specific project detail information ¶
This endpoint returns specific project information by project ID.
func NewGetProject ¶
func NewGetProject(ctx *middleware.Context, handler GetProjectHandler) *GetProject
NewGetProject creates a new http.Handler for the get project operation
func (*GetProject) ServeHTTP ¶
func (o *GetProject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetProjectDeletable ¶
type GetProjectDeletable struct { Context *middleware.Context Handler GetProjectDeletableHandler }
GetProjectDeletable swagger:route GET /projects/{project_name_or_id}/_deletable project getProjectDeletable
Get the deletable status of the project ¶
Get the deletable status of the project
func NewGetProjectDeletable ¶
func NewGetProjectDeletable(ctx *middleware.Context, handler GetProjectDeletableHandler) *GetProjectDeletable
NewGetProjectDeletable creates a new http.Handler for the get project deletable operation
func (*GetProjectDeletable) ServeHTTP ¶
func (o *GetProjectDeletable) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetProjectDeletableForbidden ¶
type GetProjectDeletableForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetProjectDeletableForbidden Forbidden
swagger:response getProjectDeletableForbidden
func NewGetProjectDeletableForbidden ¶
func NewGetProjectDeletableForbidden() *GetProjectDeletableForbidden
NewGetProjectDeletableForbidden creates GetProjectDeletableForbidden with default headers values
func (*GetProjectDeletableForbidden) SetPayload ¶
func (o *GetProjectDeletableForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get project deletable forbidden response
func (*GetProjectDeletableForbidden) SetXRequestID ¶
func (o *GetProjectDeletableForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get project deletable forbidden response
func (*GetProjectDeletableForbidden) WithPayload ¶
func (o *GetProjectDeletableForbidden) WithPayload(payload *models.Errors) *GetProjectDeletableForbidden
WithPayload adds the payload to the get project deletable forbidden response
func (*GetProjectDeletableForbidden) WithXRequestID ¶
func (o *GetProjectDeletableForbidden) WithXRequestID(xRequestID string) *GetProjectDeletableForbidden
WithXRequestID adds the xRequestId to the get project deletable forbidden response
func (*GetProjectDeletableForbidden) WriteResponse ¶
func (o *GetProjectDeletableForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectDeletableHandler ¶
type GetProjectDeletableHandler interface {
Handle(GetProjectDeletableParams, interface{}) middleware.Responder
}
GetProjectDeletableHandler interface for that can handle valid get project deletable params
type GetProjectDeletableHandlerFunc ¶
type GetProjectDeletableHandlerFunc func(GetProjectDeletableParams, interface{}) middleware.Responder
GetProjectDeletableHandlerFunc turns a function with the right signature into a get project deletable handler
func (GetProjectDeletableHandlerFunc) Handle ¶
func (fn GetProjectDeletableHandlerFunc) Handle(params GetProjectDeletableParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetProjectDeletableInternalServerError ¶
type GetProjectDeletableInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetProjectDeletableInternalServerError Internal server error
swagger:response getProjectDeletableInternalServerError
func NewGetProjectDeletableInternalServerError ¶
func NewGetProjectDeletableInternalServerError() *GetProjectDeletableInternalServerError
NewGetProjectDeletableInternalServerError creates GetProjectDeletableInternalServerError with default headers values
func (*GetProjectDeletableInternalServerError) SetPayload ¶
func (o *GetProjectDeletableInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get project deletable internal server error response
func (*GetProjectDeletableInternalServerError) SetXRequestID ¶
func (o *GetProjectDeletableInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get project deletable internal server error response
func (*GetProjectDeletableInternalServerError) WithPayload ¶
func (o *GetProjectDeletableInternalServerError) WithPayload(payload *models.Errors) *GetProjectDeletableInternalServerError
WithPayload adds the payload to the get project deletable internal server error response
func (*GetProjectDeletableInternalServerError) WithXRequestID ¶
func (o *GetProjectDeletableInternalServerError) WithXRequestID(xRequestID string) *GetProjectDeletableInternalServerError
WithXRequestID adds the xRequestId to the get project deletable internal server error response
func (*GetProjectDeletableInternalServerError) WriteResponse ¶
func (o *GetProjectDeletableInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectDeletableNotFound ¶
type GetProjectDeletableNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetProjectDeletableNotFound Not found
swagger:response getProjectDeletableNotFound
func NewGetProjectDeletableNotFound ¶
func NewGetProjectDeletableNotFound() *GetProjectDeletableNotFound
NewGetProjectDeletableNotFound creates GetProjectDeletableNotFound with default headers values
func (*GetProjectDeletableNotFound) SetPayload ¶
func (o *GetProjectDeletableNotFound) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get project deletable not found response
func (*GetProjectDeletableNotFound) SetXRequestID ¶
func (o *GetProjectDeletableNotFound) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get project deletable not found response
func (*GetProjectDeletableNotFound) WithPayload ¶
func (o *GetProjectDeletableNotFound) WithPayload(payload *models.Errors) *GetProjectDeletableNotFound
WithPayload adds the payload to the get project deletable not found response
func (*GetProjectDeletableNotFound) WithXRequestID ¶
func (o *GetProjectDeletableNotFound) WithXRequestID(xRequestID string) *GetProjectDeletableNotFound
WithXRequestID adds the xRequestId to the get project deletable not found response
func (*GetProjectDeletableNotFound) WriteResponse ¶
func (o *GetProjectDeletableNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectDeletableOK ¶
type GetProjectDeletableOK struct { /* In: Body */ Payload *models.ProjectDeletable `json:"body,omitempty"` }
GetProjectDeletableOK Return deletable status of the project.
swagger:response getProjectDeletableOK
func NewGetProjectDeletableOK ¶
func NewGetProjectDeletableOK() *GetProjectDeletableOK
NewGetProjectDeletableOK creates GetProjectDeletableOK with default headers values
func (*GetProjectDeletableOK) SetPayload ¶
func (o *GetProjectDeletableOK) SetPayload(payload *models.ProjectDeletable)
SetPayload sets the payload to the get project deletable o k response
func (*GetProjectDeletableOK) WithPayload ¶
func (o *GetProjectDeletableOK) WithPayload(payload *models.ProjectDeletable) *GetProjectDeletableOK
WithPayload adds the payload to the get project deletable o k response
func (*GetProjectDeletableOK) WriteResponse ¶
func (o *GetProjectDeletableOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectDeletableParams ¶
type GetProjectDeletableParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*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. In: header Default: false */ XIsResourceName *bool /*An unique ID for the request Min Length: 1 In: header */ XRequestID *string /*The name or id of the project Required: true In: path */ ProjectNameOrID string }
GetProjectDeletableParams contains all the bound params for the get project deletable operation typically these are obtained from a http.Request
swagger:parameters getProjectDeletable
func NewGetProjectDeletableParams ¶
func NewGetProjectDeletableParams() GetProjectDeletableParams
NewGetProjectDeletableParams creates a new GetProjectDeletableParams object with the default values initialized.
func (*GetProjectDeletableParams) BindRequest ¶
func (o *GetProjectDeletableParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetProjectDeletableParams() beforehand.
type GetProjectDeletableURL ¶
type GetProjectDeletableURL struct { ProjectNameOrID string // contains filtered or unexported fields }
GetProjectDeletableURL generates an URL for the get project deletable operation
func (*GetProjectDeletableURL) Build ¶
func (o *GetProjectDeletableURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetProjectDeletableURL) BuildFull ¶
func (o *GetProjectDeletableURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetProjectDeletableURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetProjectDeletableURL) SetBasePath ¶
func (o *GetProjectDeletableURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetProjectDeletableURL) String ¶
func (o *GetProjectDeletableURL) String() string
String returns the string representation of the path with query string
func (*GetProjectDeletableURL) StringFull ¶
func (o *GetProjectDeletableURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetProjectDeletableURL) WithBasePath ¶
func (o *GetProjectDeletableURL) WithBasePath(bp string) *GetProjectDeletableURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetProjectDeletableUnauthorized ¶
type GetProjectDeletableUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
GetProjectDeletableUnauthorized Unauthorized
swagger:response getProjectDeletableUnauthorized
func NewGetProjectDeletableUnauthorized ¶
func NewGetProjectDeletableUnauthorized() *GetProjectDeletableUnauthorized
NewGetProjectDeletableUnauthorized creates GetProjectDeletableUnauthorized with default headers values
func (*GetProjectDeletableUnauthorized) SetPayload ¶
func (o *GetProjectDeletableUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get project deletable unauthorized response
func (*GetProjectDeletableUnauthorized) SetXRequestID ¶
func (o *GetProjectDeletableUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get project deletable unauthorized response
func (*GetProjectDeletableUnauthorized) WithPayload ¶
func (o *GetProjectDeletableUnauthorized) WithPayload(payload *models.Errors) *GetProjectDeletableUnauthorized
WithPayload adds the payload to the get project deletable unauthorized response
func (*GetProjectDeletableUnauthorized) WithXRequestID ¶
func (o *GetProjectDeletableUnauthorized) WithXRequestID(xRequestID string) *GetProjectDeletableUnauthorized
WithXRequestID adds the xRequestId to the get project deletable unauthorized response
func (*GetProjectDeletableUnauthorized) WriteResponse ¶
func (o *GetProjectDeletableUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectHandler ¶
type GetProjectHandler interface {
Handle(GetProjectParams, interface{}) middleware.Responder
}
GetProjectHandler interface for that can handle valid get project params
type GetProjectHandlerFunc ¶
type GetProjectHandlerFunc func(GetProjectParams, interface{}) middleware.Responder
GetProjectHandlerFunc turns a function with the right signature into a get project handler
func (GetProjectHandlerFunc) Handle ¶
func (fn GetProjectHandlerFunc) Handle(params GetProjectParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetProjectInternalServerError ¶
type GetProjectInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetProjectInternalServerError Internal server error
swagger:response getProjectInternalServerError
func NewGetProjectInternalServerError ¶
func NewGetProjectInternalServerError() *GetProjectInternalServerError
NewGetProjectInternalServerError creates GetProjectInternalServerError with default headers values
func (*GetProjectInternalServerError) SetPayload ¶
func (o *GetProjectInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get project internal server error response
func (*GetProjectInternalServerError) SetXRequestID ¶
func (o *GetProjectInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get project internal server error response
func (*GetProjectInternalServerError) WithPayload ¶
func (o *GetProjectInternalServerError) WithPayload(payload *models.Errors) *GetProjectInternalServerError
WithPayload adds the payload to the get project internal server error response
func (*GetProjectInternalServerError) WithXRequestID ¶
func (o *GetProjectInternalServerError) WithXRequestID(xRequestID string) *GetProjectInternalServerError
WithXRequestID adds the xRequestId to the get project internal server error response
func (*GetProjectInternalServerError) WriteResponse ¶
func (o *GetProjectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectOK ¶
GetProjectOK Return matched project information.
swagger:response getProjectOK
func NewGetProjectOK ¶
func NewGetProjectOK() *GetProjectOK
NewGetProjectOK creates GetProjectOK with default headers values
func (*GetProjectOK) SetPayload ¶
func (o *GetProjectOK) SetPayload(payload *models.Project)
SetPayload sets the payload to the get project o k response
func (*GetProjectOK) WithPayload ¶
func (o *GetProjectOK) WithPayload(payload *models.Project) *GetProjectOK
WithPayload adds the payload to the get project o k response
func (*GetProjectOK) WriteResponse ¶
func (o *GetProjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectParams ¶
type GetProjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*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. In: header Default: false */ XIsResourceName *bool /*An unique ID for the request Min Length: 1 In: header */ XRequestID *string /*The name or id of the project Required: true In: path */ ProjectNameOrID string }
GetProjectParams contains all the bound params for the get project operation typically these are obtained from a http.Request
swagger:parameters getProject
func NewGetProjectParams ¶
func NewGetProjectParams() GetProjectParams
NewGetProjectParams creates a new GetProjectParams object with the default values initialized.
func (*GetProjectParams) BindRequest ¶
func (o *GetProjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetProjectParams() beforehand.
type GetProjectSummary ¶
type GetProjectSummary struct { Context *middleware.Context Handler GetProjectSummaryHandler }
GetProjectSummary swagger:route GET /projects/{project_name_or_id}/summary project getProjectSummary
Get summary of the project.
Get summary of the project.
func NewGetProjectSummary ¶
func NewGetProjectSummary(ctx *middleware.Context, handler GetProjectSummaryHandler) *GetProjectSummary
NewGetProjectSummary creates a new http.Handler for the get project summary operation
func (*GetProjectSummary) ServeHTTP ¶
func (o *GetProjectSummary) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetProjectSummaryBadRequest ¶
type GetProjectSummaryBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetProjectSummaryBadRequest Bad request
swagger:response getProjectSummaryBadRequest
func NewGetProjectSummaryBadRequest ¶
func NewGetProjectSummaryBadRequest() *GetProjectSummaryBadRequest
NewGetProjectSummaryBadRequest creates GetProjectSummaryBadRequest with default headers values
func (*GetProjectSummaryBadRequest) SetPayload ¶
func (o *GetProjectSummaryBadRequest) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get project summary bad request response
func (*GetProjectSummaryBadRequest) SetXRequestID ¶
func (o *GetProjectSummaryBadRequest) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get project summary bad request response
func (*GetProjectSummaryBadRequest) WithPayload ¶
func (o *GetProjectSummaryBadRequest) WithPayload(payload *models.Errors) *GetProjectSummaryBadRequest
WithPayload adds the payload to the get project summary bad request response
func (*GetProjectSummaryBadRequest) WithXRequestID ¶
func (o *GetProjectSummaryBadRequest) WithXRequestID(xRequestID string) *GetProjectSummaryBadRequest
WithXRequestID adds the xRequestId to the get project summary bad request response
func (*GetProjectSummaryBadRequest) WriteResponse ¶
func (o *GetProjectSummaryBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectSummaryForbidden ¶
type GetProjectSummaryForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetProjectSummaryForbidden Forbidden
swagger:response getProjectSummaryForbidden
func NewGetProjectSummaryForbidden ¶
func NewGetProjectSummaryForbidden() *GetProjectSummaryForbidden
NewGetProjectSummaryForbidden creates GetProjectSummaryForbidden with default headers values
func (*GetProjectSummaryForbidden) SetPayload ¶
func (o *GetProjectSummaryForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get project summary forbidden response
func (*GetProjectSummaryForbidden) SetXRequestID ¶
func (o *GetProjectSummaryForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get project summary forbidden response
func (*GetProjectSummaryForbidden) WithPayload ¶
func (o *GetProjectSummaryForbidden) WithPayload(payload *models.Errors) *GetProjectSummaryForbidden
WithPayload adds the payload to the get project summary forbidden response
func (*GetProjectSummaryForbidden) WithXRequestID ¶
func (o *GetProjectSummaryForbidden) WithXRequestID(xRequestID string) *GetProjectSummaryForbidden
WithXRequestID adds the xRequestId to the get project summary forbidden response
func (*GetProjectSummaryForbidden) WriteResponse ¶
func (o *GetProjectSummaryForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectSummaryHandler ¶
type GetProjectSummaryHandler interface {
Handle(GetProjectSummaryParams, interface{}) middleware.Responder
}
GetProjectSummaryHandler interface for that can handle valid get project summary params
type GetProjectSummaryHandlerFunc ¶
type GetProjectSummaryHandlerFunc func(GetProjectSummaryParams, interface{}) middleware.Responder
GetProjectSummaryHandlerFunc turns a function with the right signature into a get project summary handler
func (GetProjectSummaryHandlerFunc) Handle ¶
func (fn GetProjectSummaryHandlerFunc) Handle(params GetProjectSummaryParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetProjectSummaryInternalServerError ¶
type GetProjectSummaryInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetProjectSummaryInternalServerError Internal server error
swagger:response getProjectSummaryInternalServerError
func NewGetProjectSummaryInternalServerError ¶
func NewGetProjectSummaryInternalServerError() *GetProjectSummaryInternalServerError
NewGetProjectSummaryInternalServerError creates GetProjectSummaryInternalServerError with default headers values
func (*GetProjectSummaryInternalServerError) SetPayload ¶
func (o *GetProjectSummaryInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get project summary internal server error response
func (*GetProjectSummaryInternalServerError) SetXRequestID ¶
func (o *GetProjectSummaryInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get project summary internal server error response
func (*GetProjectSummaryInternalServerError) WithPayload ¶
func (o *GetProjectSummaryInternalServerError) WithPayload(payload *models.Errors) *GetProjectSummaryInternalServerError
WithPayload adds the payload to the get project summary internal server error response
func (*GetProjectSummaryInternalServerError) WithXRequestID ¶
func (o *GetProjectSummaryInternalServerError) WithXRequestID(xRequestID string) *GetProjectSummaryInternalServerError
WithXRequestID adds the xRequestId to the get project summary internal server error response
func (*GetProjectSummaryInternalServerError) WriteResponse ¶
func (o *GetProjectSummaryInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectSummaryNotFound ¶
type GetProjectSummaryNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetProjectSummaryNotFound Not found
swagger:response getProjectSummaryNotFound
func NewGetProjectSummaryNotFound ¶
func NewGetProjectSummaryNotFound() *GetProjectSummaryNotFound
NewGetProjectSummaryNotFound creates GetProjectSummaryNotFound with default headers values
func (*GetProjectSummaryNotFound) SetPayload ¶
func (o *GetProjectSummaryNotFound) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get project summary not found response
func (*GetProjectSummaryNotFound) SetXRequestID ¶
func (o *GetProjectSummaryNotFound) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get project summary not found response
func (*GetProjectSummaryNotFound) WithPayload ¶
func (o *GetProjectSummaryNotFound) WithPayload(payload *models.Errors) *GetProjectSummaryNotFound
WithPayload adds the payload to the get project summary not found response
func (*GetProjectSummaryNotFound) WithXRequestID ¶
func (o *GetProjectSummaryNotFound) WithXRequestID(xRequestID string) *GetProjectSummaryNotFound
WithXRequestID adds the xRequestId to the get project summary not found response
func (*GetProjectSummaryNotFound) WriteResponse ¶
func (o *GetProjectSummaryNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectSummaryOK ¶
type GetProjectSummaryOK struct { /* In: Body */ Payload *models.ProjectSummary `json:"body,omitempty"` }
GetProjectSummaryOK Get summary of the project successfully.
swagger:response getProjectSummaryOK
func NewGetProjectSummaryOK ¶
func NewGetProjectSummaryOK() *GetProjectSummaryOK
NewGetProjectSummaryOK creates GetProjectSummaryOK with default headers values
func (*GetProjectSummaryOK) SetPayload ¶
func (o *GetProjectSummaryOK) SetPayload(payload *models.ProjectSummary)
SetPayload sets the payload to the get project summary o k response
func (*GetProjectSummaryOK) WithPayload ¶
func (o *GetProjectSummaryOK) WithPayload(payload *models.ProjectSummary) *GetProjectSummaryOK
WithPayload adds the payload to the get project summary o k response
func (*GetProjectSummaryOK) WriteResponse ¶
func (o *GetProjectSummaryOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectSummaryParams ¶
type GetProjectSummaryParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*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. In: header Default: false */ XIsResourceName *bool /*An unique ID for the request Min Length: 1 In: header */ XRequestID *string /*The name or id of the project Required: true In: path */ ProjectNameOrID string }
GetProjectSummaryParams contains all the bound params for the get project summary operation typically these are obtained from a http.Request
swagger:parameters getProjectSummary
func NewGetProjectSummaryParams ¶
func NewGetProjectSummaryParams() GetProjectSummaryParams
NewGetProjectSummaryParams creates a new GetProjectSummaryParams object with the default values initialized.
func (*GetProjectSummaryParams) BindRequest ¶
func (o *GetProjectSummaryParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetProjectSummaryParams() beforehand.
type GetProjectSummaryURL ¶
type GetProjectSummaryURL struct { ProjectNameOrID string // contains filtered or unexported fields }
GetProjectSummaryURL generates an URL for the get project summary operation
func (*GetProjectSummaryURL) Build ¶
func (o *GetProjectSummaryURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetProjectSummaryURL) BuildFull ¶
func (o *GetProjectSummaryURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetProjectSummaryURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetProjectSummaryURL) SetBasePath ¶
func (o *GetProjectSummaryURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetProjectSummaryURL) String ¶
func (o *GetProjectSummaryURL) String() string
String returns the string representation of the path with query string
func (*GetProjectSummaryURL) StringFull ¶
func (o *GetProjectSummaryURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetProjectSummaryURL) WithBasePath ¶
func (o *GetProjectSummaryURL) WithBasePath(bp string) *GetProjectSummaryURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetProjectSummaryUnauthorized ¶
type GetProjectSummaryUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
GetProjectSummaryUnauthorized Unauthorized
swagger:response getProjectSummaryUnauthorized
func NewGetProjectSummaryUnauthorized ¶
func NewGetProjectSummaryUnauthorized() *GetProjectSummaryUnauthorized
NewGetProjectSummaryUnauthorized creates GetProjectSummaryUnauthorized with default headers values
func (*GetProjectSummaryUnauthorized) SetPayload ¶
func (o *GetProjectSummaryUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get project summary unauthorized response
func (*GetProjectSummaryUnauthorized) SetXRequestID ¶
func (o *GetProjectSummaryUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get project summary unauthorized response
func (*GetProjectSummaryUnauthorized) WithPayload ¶
func (o *GetProjectSummaryUnauthorized) WithPayload(payload *models.Errors) *GetProjectSummaryUnauthorized
WithPayload adds the payload to the get project summary unauthorized response
func (*GetProjectSummaryUnauthorized) WithXRequestID ¶
func (o *GetProjectSummaryUnauthorized) WithXRequestID(xRequestID string) *GetProjectSummaryUnauthorized
WithXRequestID adds the xRequestId to the get project summary unauthorized response
func (*GetProjectSummaryUnauthorized) WriteResponse ¶
func (o *GetProjectSummaryUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetProjectURL ¶
type GetProjectURL struct { ProjectNameOrID string // contains filtered or unexported fields }
GetProjectURL generates an URL for the get project operation
func (*GetProjectURL) Build ¶
func (o *GetProjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetProjectURL) BuildFull ¶
func (o *GetProjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetProjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetProjectURL) SetBasePath ¶
func (o *GetProjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetProjectURL) String ¶
func (o *GetProjectURL) String() string
String returns the string representation of the path with query string
func (*GetProjectURL) StringFull ¶
func (o *GetProjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetProjectURL) WithBasePath ¶
func (o *GetProjectURL) WithBasePath(bp string) *GetProjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetProjectUnauthorized ¶
type GetProjectUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
GetProjectUnauthorized Unauthorized
swagger:response getProjectUnauthorized
func NewGetProjectUnauthorized ¶
func NewGetProjectUnauthorized() *GetProjectUnauthorized
NewGetProjectUnauthorized creates GetProjectUnauthorized with default headers values
func (*GetProjectUnauthorized) SetPayload ¶
func (o *GetProjectUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get project unauthorized response
func (*GetProjectUnauthorized) SetXRequestID ¶
func (o *GetProjectUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get project unauthorized response
func (*GetProjectUnauthorized) WithPayload ¶
func (o *GetProjectUnauthorized) WithPayload(payload *models.Errors) *GetProjectUnauthorized
WithPayload adds the payload to the get project unauthorized response
func (*GetProjectUnauthorized) WithXRequestID ¶
func (o *GetProjectUnauthorized) WithXRequestID(xRequestID string) *GetProjectUnauthorized
WithXRequestID adds the xRequestId to the get project unauthorized response
func (*GetProjectUnauthorized) WriteResponse ¶
func (o *GetProjectUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type HeadProject ¶
type HeadProject struct { Context *middleware.Context Handler HeadProjectHandler }
HeadProject swagger:route HEAD /projects project headProject
Check if the project name user provided already exists.
This endpoint is used to check if the project name provided already exist.
func NewHeadProject ¶
func NewHeadProject(ctx *middleware.Context, handler HeadProjectHandler) *HeadProject
NewHeadProject creates a new http.Handler for the head project operation
func (*HeadProject) ServeHTTP ¶
func (o *HeadProject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type HeadProjectHandler ¶
type HeadProjectHandler interface {
Handle(HeadProjectParams, interface{}) middleware.Responder
}
HeadProjectHandler interface for that can handle valid head project params
type HeadProjectHandlerFunc ¶
type HeadProjectHandlerFunc func(HeadProjectParams, interface{}) middleware.Responder
HeadProjectHandlerFunc turns a function with the right signature into a head project handler
func (HeadProjectHandlerFunc) Handle ¶
func (fn HeadProjectHandlerFunc) Handle(params HeadProjectParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type HeadProjectInternalServerError ¶
type HeadProjectInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
HeadProjectInternalServerError Internal server error
swagger:response headProjectInternalServerError
func NewHeadProjectInternalServerError ¶
func NewHeadProjectInternalServerError() *HeadProjectInternalServerError
NewHeadProjectInternalServerError creates HeadProjectInternalServerError with default headers values
func (*HeadProjectInternalServerError) SetPayload ¶
func (o *HeadProjectInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the head project internal server error response
func (*HeadProjectInternalServerError) SetXRequestID ¶
func (o *HeadProjectInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the head project internal server error response
func (*HeadProjectInternalServerError) WithPayload ¶
func (o *HeadProjectInternalServerError) WithPayload(payload *models.Errors) *HeadProjectInternalServerError
WithPayload adds the payload to the head project internal server error response
func (*HeadProjectInternalServerError) WithXRequestID ¶
func (o *HeadProjectInternalServerError) WithXRequestID(xRequestID string) *HeadProjectInternalServerError
WithXRequestID adds the xRequestId to the head project internal server error response
func (*HeadProjectInternalServerError) WriteResponse ¶
func (o *HeadProjectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type HeadProjectNotFound ¶
type HeadProjectNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
HeadProjectNotFound Not found
swagger:response headProjectNotFound
func NewHeadProjectNotFound ¶
func NewHeadProjectNotFound() *HeadProjectNotFound
NewHeadProjectNotFound creates HeadProjectNotFound with default headers values
func (*HeadProjectNotFound) SetPayload ¶
func (o *HeadProjectNotFound) SetPayload(payload *models.Errors)
SetPayload sets the payload to the head project not found response
func (*HeadProjectNotFound) SetXRequestID ¶
func (o *HeadProjectNotFound) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the head project not found response
func (*HeadProjectNotFound) WithPayload ¶
func (o *HeadProjectNotFound) WithPayload(payload *models.Errors) *HeadProjectNotFound
WithPayload adds the payload to the head project not found response
func (*HeadProjectNotFound) WithXRequestID ¶
func (o *HeadProjectNotFound) WithXRequestID(xRequestID string) *HeadProjectNotFound
WithXRequestID adds the xRequestId to the head project not found response
func (*HeadProjectNotFound) WriteResponse ¶
func (o *HeadProjectNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type HeadProjectOK ¶
type HeadProjectOK struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` }
HeadProjectOK Success
swagger:response headProjectOK
func NewHeadProjectOK ¶
func NewHeadProjectOK() *HeadProjectOK
NewHeadProjectOK creates HeadProjectOK with default headers values
func (*HeadProjectOK) SetXRequestID ¶
func (o *HeadProjectOK) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the head project o k response
func (*HeadProjectOK) WithXRequestID ¶
func (o *HeadProjectOK) WithXRequestID(xRequestID string) *HeadProjectOK
WithXRequestID adds the xRequestId to the head project o k response
func (*HeadProjectOK) WriteResponse ¶
func (o *HeadProjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type HeadProjectParams ¶
type HeadProjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An unique ID for the request Min Length: 1 In: header */ XRequestID *string /*Project name for checking exists. Required: true In: query */ ProjectName string }
HeadProjectParams contains all the bound params for the head project operation typically these are obtained from a http.Request
swagger:parameters headProject
func NewHeadProjectParams ¶
func NewHeadProjectParams() HeadProjectParams
NewHeadProjectParams creates a new HeadProjectParams object no default values defined in spec.
func (*HeadProjectParams) BindRequest ¶
func (o *HeadProjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewHeadProjectParams() beforehand.
type HeadProjectURL ¶
type HeadProjectURL struct { ProjectName string // contains filtered or unexported fields }
HeadProjectURL generates an URL for the head project operation
func (*HeadProjectURL) Build ¶
func (o *HeadProjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*HeadProjectURL) BuildFull ¶
func (o *HeadProjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*HeadProjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*HeadProjectURL) SetBasePath ¶
func (o *HeadProjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*HeadProjectURL) String ¶
func (o *HeadProjectURL) String() string
String returns the string representation of the path with query string
func (*HeadProjectURL) StringFull ¶
func (o *HeadProjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*HeadProjectURL) WithBasePath ¶
func (o *HeadProjectURL) WithBasePath(bp string) *HeadProjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListProjects ¶
type ListProjects struct { Context *middleware.Context Handler ListProjectsHandler }
ListProjects swagger:route GET /projects project listProjects
List projects ¶
This endpoint returns projects created by Harbor.
func NewListProjects ¶
func NewListProjects(ctx *middleware.Context, handler ListProjectsHandler) *ListProjects
NewListProjects creates a new http.Handler for the list projects operation
func (*ListProjects) ServeHTTP ¶
func (o *ListProjects) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListProjectsHandler ¶
type ListProjectsHandler interface {
Handle(ListProjectsParams, interface{}) middleware.Responder
}
ListProjectsHandler interface for that can handle valid list projects params
type ListProjectsHandlerFunc ¶
type ListProjectsHandlerFunc func(ListProjectsParams, interface{}) middleware.Responder
ListProjectsHandlerFunc turns a function with the right signature into a list projects handler
func (ListProjectsHandlerFunc) Handle ¶
func (fn ListProjectsHandlerFunc) Handle(params ListProjectsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListProjectsInternalServerError ¶
type ListProjectsInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
ListProjectsInternalServerError Internal server error
swagger:response listProjectsInternalServerError
func NewListProjectsInternalServerError ¶
func NewListProjectsInternalServerError() *ListProjectsInternalServerError
NewListProjectsInternalServerError creates ListProjectsInternalServerError with default headers values
func (*ListProjectsInternalServerError) SetPayload ¶
func (o *ListProjectsInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the list projects internal server error response
func (*ListProjectsInternalServerError) SetXRequestID ¶
func (o *ListProjectsInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the list projects internal server error response
func (*ListProjectsInternalServerError) WithPayload ¶
func (o *ListProjectsInternalServerError) WithPayload(payload *models.Errors) *ListProjectsInternalServerError
WithPayload adds the payload to the list projects internal server error response
func (*ListProjectsInternalServerError) WithXRequestID ¶
func (o *ListProjectsInternalServerError) WithXRequestID(xRequestID string) *ListProjectsInternalServerError
WithXRequestID adds the xRequestId to the list projects internal server error response
func (*ListProjectsInternalServerError) WriteResponse ¶
func (o *ListProjectsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListProjectsOK ¶
type ListProjectsOK struct { /*Link refers to the previous page and next page */ Link string `json:"Link"` /*The total count of projects */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.Project `json:"body,omitempty"` }
ListProjectsOK Return all matched projects.
swagger:response listProjectsOK
func NewListProjectsOK ¶
func NewListProjectsOK() *ListProjectsOK
NewListProjectsOK creates ListProjectsOK with default headers values
func (*ListProjectsOK) SetLink ¶
func (o *ListProjectsOK) SetLink(link string)
SetLink sets the link to the list projects o k response
func (*ListProjectsOK) SetPayload ¶
func (o *ListProjectsOK) SetPayload(payload []*models.Project)
SetPayload sets the payload to the list projects o k response
func (*ListProjectsOK) SetXTotalCount ¶
func (o *ListProjectsOK) SetXTotalCount(xTotalCount int64)
SetXTotalCount sets the xTotalCount to the list projects o k response
func (*ListProjectsOK) WithLink ¶
func (o *ListProjectsOK) WithLink(link string) *ListProjectsOK
WithLink adds the link to the list projects o k response
func (*ListProjectsOK) WithPayload ¶
func (o *ListProjectsOK) WithPayload(payload []*models.Project) *ListProjectsOK
WithPayload adds the payload to the list projects o k response
func (*ListProjectsOK) WithXTotalCount ¶
func (o *ListProjectsOK) WithXTotalCount(xTotalCount int64) *ListProjectsOK
WithXTotalCount adds the xTotalCount to the list projects o k response
func (*ListProjectsOK) WriteResponse ¶
func (o *ListProjectsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListProjectsParams ¶
type ListProjectsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An unique ID for the request Min Length: 1 In: header */ XRequestID *string /*The name of project. In: query */ Name *string /*The name of project owner. In: query */ Owner *string /*The page number In: query Default: 1 */ Page *int64 /*The size of per page Maximum: 100 In: query Default: 10 */ PageSize *int64 /*The project is public or private. In: query */ Public *bool /*Bool value indicating whether return detailed information of the project In: query Default: true */ WithDetail *bool }
ListProjectsParams contains all the bound params for the list projects operation typically these are obtained from a http.Request
swagger:parameters listProjects
func NewListProjectsParams ¶
func NewListProjectsParams() ListProjectsParams
NewListProjectsParams creates a new ListProjectsParams object with the default values initialized.
func (*ListProjectsParams) BindRequest ¶
func (o *ListProjectsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListProjectsParams() beforehand.
type ListProjectsURL ¶
type ListProjectsURL struct { Name *string Owner *string Page *int64 PageSize *int64 Public *bool WithDetail *bool // contains filtered or unexported fields }
ListProjectsURL generates an URL for the list projects operation
func (*ListProjectsURL) Build ¶
func (o *ListProjectsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListProjectsURL) BuildFull ¶
func (o *ListProjectsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListProjectsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListProjectsURL) SetBasePath ¶
func (o *ListProjectsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListProjectsURL) String ¶
func (o *ListProjectsURL) String() string
String returns the string representation of the path with query string
func (*ListProjectsURL) StringFull ¶
func (o *ListProjectsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListProjectsURL) WithBasePath ¶
func (o *ListProjectsURL) WithBasePath(bp string) *ListProjectsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListProjectsUnauthorized ¶
type ListProjectsUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
ListProjectsUnauthorized Unauthorized
swagger:response listProjectsUnauthorized
func NewListProjectsUnauthorized ¶
func NewListProjectsUnauthorized() *ListProjectsUnauthorized
NewListProjectsUnauthorized creates ListProjectsUnauthorized with default headers values
func (*ListProjectsUnauthorized) SetPayload ¶
func (o *ListProjectsUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the list projects unauthorized response
func (*ListProjectsUnauthorized) SetXRequestID ¶
func (o *ListProjectsUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the list projects unauthorized response
func (*ListProjectsUnauthorized) WithPayload ¶
func (o *ListProjectsUnauthorized) WithPayload(payload *models.Errors) *ListProjectsUnauthorized
WithPayload adds the payload to the list projects unauthorized response
func (*ListProjectsUnauthorized) WithXRequestID ¶
func (o *ListProjectsUnauthorized) WithXRequestID(xRequestID string) *ListProjectsUnauthorized
WithXRequestID adds the xRequestId to the list projects unauthorized response
func (*ListProjectsUnauthorized) WriteResponse ¶
func (o *ListProjectsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProject ¶
type UpdateProject struct { Context *middleware.Context Handler UpdateProjectHandler }
UpdateProject swagger:route PUT /projects/{project_name_or_id} project updateProject
Update properties for a selected project.
This endpoint is aimed to update the properties of a project.
func NewUpdateProject ¶
func NewUpdateProject(ctx *middleware.Context, handler UpdateProjectHandler) *UpdateProject
NewUpdateProject creates a new http.Handler for the update project operation
func (*UpdateProject) ServeHTTP ¶
func (o *UpdateProject) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateProjectBadRequest ¶
type UpdateProjectBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
UpdateProjectBadRequest Bad request
swagger:response updateProjectBadRequest
func NewUpdateProjectBadRequest ¶
func NewUpdateProjectBadRequest() *UpdateProjectBadRequest
NewUpdateProjectBadRequest creates UpdateProjectBadRequest with default headers values
func (*UpdateProjectBadRequest) SetPayload ¶
func (o *UpdateProjectBadRequest) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update project bad request response
func (*UpdateProjectBadRequest) SetXRequestID ¶
func (o *UpdateProjectBadRequest) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update project bad request response
func (*UpdateProjectBadRequest) WithPayload ¶
func (o *UpdateProjectBadRequest) WithPayload(payload *models.Errors) *UpdateProjectBadRequest
WithPayload adds the payload to the update project bad request response
func (*UpdateProjectBadRequest) WithXRequestID ¶
func (o *UpdateProjectBadRequest) WithXRequestID(xRequestID string) *UpdateProjectBadRequest
WithXRequestID adds the xRequestId to the update project bad request response
func (*UpdateProjectBadRequest) WriteResponse ¶
func (o *UpdateProjectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProjectForbidden ¶
type UpdateProjectForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
UpdateProjectForbidden Forbidden
swagger:response updateProjectForbidden
func NewUpdateProjectForbidden ¶
func NewUpdateProjectForbidden() *UpdateProjectForbidden
NewUpdateProjectForbidden creates UpdateProjectForbidden with default headers values
func (*UpdateProjectForbidden) SetPayload ¶
func (o *UpdateProjectForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update project forbidden response
func (*UpdateProjectForbidden) SetXRequestID ¶
func (o *UpdateProjectForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update project forbidden response
func (*UpdateProjectForbidden) WithPayload ¶
func (o *UpdateProjectForbidden) WithPayload(payload *models.Errors) *UpdateProjectForbidden
WithPayload adds the payload to the update project forbidden response
func (*UpdateProjectForbidden) WithXRequestID ¶
func (o *UpdateProjectForbidden) WithXRequestID(xRequestID string) *UpdateProjectForbidden
WithXRequestID adds the xRequestId to the update project forbidden response
func (*UpdateProjectForbidden) WriteResponse ¶
func (o *UpdateProjectForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProjectHandler ¶
type UpdateProjectHandler interface {
Handle(UpdateProjectParams, interface{}) middleware.Responder
}
UpdateProjectHandler interface for that can handle valid update project params
type UpdateProjectHandlerFunc ¶
type UpdateProjectHandlerFunc func(UpdateProjectParams, interface{}) middleware.Responder
UpdateProjectHandlerFunc turns a function with the right signature into a update project handler
func (UpdateProjectHandlerFunc) Handle ¶
func (fn UpdateProjectHandlerFunc) Handle(params UpdateProjectParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateProjectInternalServerError ¶
type UpdateProjectInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
UpdateProjectInternalServerError Internal server error
swagger:response updateProjectInternalServerError
func NewUpdateProjectInternalServerError ¶
func NewUpdateProjectInternalServerError() *UpdateProjectInternalServerError
NewUpdateProjectInternalServerError creates UpdateProjectInternalServerError with default headers values
func (*UpdateProjectInternalServerError) SetPayload ¶
func (o *UpdateProjectInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update project internal server error response
func (*UpdateProjectInternalServerError) SetXRequestID ¶
func (o *UpdateProjectInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update project internal server error response
func (*UpdateProjectInternalServerError) WithPayload ¶
func (o *UpdateProjectInternalServerError) WithPayload(payload *models.Errors) *UpdateProjectInternalServerError
WithPayload adds the payload to the update project internal server error response
func (*UpdateProjectInternalServerError) WithXRequestID ¶
func (o *UpdateProjectInternalServerError) WithXRequestID(xRequestID string) *UpdateProjectInternalServerError
WithXRequestID adds the xRequestId to the update project internal server error response
func (*UpdateProjectInternalServerError) WriteResponse ¶
func (o *UpdateProjectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProjectNotFound ¶
type UpdateProjectNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
UpdateProjectNotFound Not found
swagger:response updateProjectNotFound
func NewUpdateProjectNotFound ¶
func NewUpdateProjectNotFound() *UpdateProjectNotFound
NewUpdateProjectNotFound creates UpdateProjectNotFound with default headers values
func (*UpdateProjectNotFound) SetPayload ¶
func (o *UpdateProjectNotFound) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update project not found response
func (*UpdateProjectNotFound) SetXRequestID ¶
func (o *UpdateProjectNotFound) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update project not found response
func (*UpdateProjectNotFound) WithPayload ¶
func (o *UpdateProjectNotFound) WithPayload(payload *models.Errors) *UpdateProjectNotFound
WithPayload adds the payload to the update project not found response
func (*UpdateProjectNotFound) WithXRequestID ¶
func (o *UpdateProjectNotFound) WithXRequestID(xRequestID string) *UpdateProjectNotFound
WithXRequestID adds the xRequestId to the update project not found response
func (*UpdateProjectNotFound) WriteResponse ¶
func (o *UpdateProjectNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProjectOK ¶
type UpdateProjectOK struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` }
UpdateProjectOK Success
swagger:response updateProjectOK
func NewUpdateProjectOK ¶
func NewUpdateProjectOK() *UpdateProjectOK
NewUpdateProjectOK creates UpdateProjectOK with default headers values
func (*UpdateProjectOK) SetXRequestID ¶
func (o *UpdateProjectOK) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update project o k response
func (*UpdateProjectOK) WithXRequestID ¶
func (o *UpdateProjectOK) WithXRequestID(xRequestID string) *UpdateProjectOK
WithXRequestID adds the xRequestId to the update project o k response
func (*UpdateProjectOK) WriteResponse ¶
func (o *UpdateProjectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProjectParams ¶
type UpdateProjectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*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. In: header Default: false */ XIsResourceName *bool /*An unique ID for the request Min Length: 1 In: header */ XRequestID *string /*Updates of project. Required: true In: body */ Project *models.ProjectReq /*The name or id of the project Required: true In: path */ ProjectNameOrID string }
UpdateProjectParams contains all the bound params for the update project operation typically these are obtained from a http.Request
swagger:parameters updateProject
func NewUpdateProjectParams ¶
func NewUpdateProjectParams() UpdateProjectParams
NewUpdateProjectParams creates a new UpdateProjectParams object with the default values initialized.
func (*UpdateProjectParams) BindRequest ¶
func (o *UpdateProjectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateProjectParams() beforehand.
type UpdateProjectURL ¶
type UpdateProjectURL struct { ProjectNameOrID string // contains filtered or unexported fields }
UpdateProjectURL generates an URL for the update project operation
func (*UpdateProjectURL) Build ¶
func (o *UpdateProjectURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateProjectURL) BuildFull ¶
func (o *UpdateProjectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateProjectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateProjectURL) SetBasePath ¶
func (o *UpdateProjectURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateProjectURL) String ¶
func (o *UpdateProjectURL) String() string
String returns the string representation of the path with query string
func (*UpdateProjectURL) StringFull ¶
func (o *UpdateProjectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateProjectURL) WithBasePath ¶
func (o *UpdateProjectURL) WithBasePath(bp string) *UpdateProjectURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateProjectUnauthorized ¶
type UpdateProjectUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
UpdateProjectUnauthorized Unauthorized
swagger:response updateProjectUnauthorized
func NewUpdateProjectUnauthorized ¶
func NewUpdateProjectUnauthorized() *UpdateProjectUnauthorized
NewUpdateProjectUnauthorized creates UpdateProjectUnauthorized with default headers values
func (*UpdateProjectUnauthorized) SetPayload ¶
func (o *UpdateProjectUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update project unauthorized response
func (*UpdateProjectUnauthorized) SetXRequestID ¶
func (o *UpdateProjectUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update project unauthorized response
func (*UpdateProjectUnauthorized) WithPayload ¶
func (o *UpdateProjectUnauthorized) WithPayload(payload *models.Errors) *UpdateProjectUnauthorized
WithPayload adds the payload to the update project unauthorized response
func (*UpdateProjectUnauthorized) WithXRequestID ¶
func (o *UpdateProjectUnauthorized) WithXRequestID(xRequestID string) *UpdateProjectUnauthorized
WithXRequestID adds the xRequestId to the update project unauthorized response
func (*UpdateProjectUnauthorized) WriteResponse ¶
func (o *UpdateProjectUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_project.go
- create_project_parameters.go
- create_project_responses.go
- create_project_urlbuilder.go
- delete_project.go
- delete_project_parameters.go
- delete_project_responses.go
- delete_project_urlbuilder.go
- get_logs.go
- get_logs_parameters.go
- get_logs_responses.go
- get_logs_urlbuilder.go
- get_project.go
- get_project_deletable.go
- get_project_deletable_parameters.go
- get_project_deletable_responses.go
- get_project_deletable_urlbuilder.go
- get_project_parameters.go
- get_project_responses.go
- get_project_summary.go
- get_project_summary_parameters.go
- get_project_summary_responses.go
- get_project_summary_urlbuilder.go
- get_project_urlbuilder.go
- head_project.go
- head_project_parameters.go
- head_project_responses.go
- head_project_urlbuilder.go
- list_projects.go
- list_projects_parameters.go
- list_projects_responses.go
- list_projects_urlbuilder.go
- update_project.go
- update_project_parameters.go
- update_project_responses.go
- update_project_urlbuilder.go