Documentation ¶
Index ¶
- Constants
- type CreateRetention
- type CreateRetentionBadRequest
- func (o *CreateRetentionBadRequest) SetPayload(payload *models.Errors)
- func (o *CreateRetentionBadRequest) SetXRequestID(xRequestID string)
- func (o *CreateRetentionBadRequest) WithPayload(payload *models.Errors) *CreateRetentionBadRequest
- func (o *CreateRetentionBadRequest) WithXRequestID(xRequestID string) *CreateRetentionBadRequest
- func (o *CreateRetentionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateRetentionCreated
- func (o *CreateRetentionCreated) SetLocation(location string)
- func (o *CreateRetentionCreated) SetXRequestID(xRequestID string)
- func (o *CreateRetentionCreated) WithLocation(location string) *CreateRetentionCreated
- func (o *CreateRetentionCreated) WithXRequestID(xRequestID string) *CreateRetentionCreated
- func (o *CreateRetentionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateRetentionForbidden
- func (o *CreateRetentionForbidden) SetPayload(payload *models.Errors)
- func (o *CreateRetentionForbidden) SetXRequestID(xRequestID string)
- func (o *CreateRetentionForbidden) WithPayload(payload *models.Errors) *CreateRetentionForbidden
- func (o *CreateRetentionForbidden) WithXRequestID(xRequestID string) *CreateRetentionForbidden
- func (o *CreateRetentionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateRetentionHandler
- type CreateRetentionHandlerFunc
- type CreateRetentionInternalServerError
- func (o *CreateRetentionInternalServerError) SetPayload(payload *models.Errors)
- func (o *CreateRetentionInternalServerError) SetXRequestID(xRequestID string)
- func (o *CreateRetentionInternalServerError) WithPayload(payload *models.Errors) *CreateRetentionInternalServerError
- func (o *CreateRetentionInternalServerError) WithXRequestID(xRequestID string) *CreateRetentionInternalServerError
- func (o *CreateRetentionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateRetentionParams
- type CreateRetentionURL
- func (o *CreateRetentionURL) Build() (*url.URL, error)
- func (o *CreateRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateRetentionURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateRetentionURL) SetBasePath(bp string)
- func (o *CreateRetentionURL) String() string
- func (o *CreateRetentionURL) StringFull(scheme, host string) string
- func (o *CreateRetentionURL) WithBasePath(bp string) *CreateRetentionURL
- type CreateRetentionUnauthorized
- func (o *CreateRetentionUnauthorized) SetPayload(payload *models.Errors)
- func (o *CreateRetentionUnauthorized) SetXRequestID(xRequestID string)
- func (o *CreateRetentionUnauthorized) WithPayload(payload *models.Errors) *CreateRetentionUnauthorized
- func (o *CreateRetentionUnauthorized) WithXRequestID(xRequestID string) *CreateRetentionUnauthorized
- func (o *CreateRetentionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRentenitionMetadata
- type GetRentenitionMetadataHandler
- type GetRentenitionMetadataHandlerFunc
- type GetRentenitionMetadataOK
- type GetRentenitionMetadataParams
- type GetRentenitionMetadataURL
- func (o *GetRentenitionMetadataURL) Build() (*url.URL, error)
- func (o *GetRentenitionMetadataURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRentenitionMetadataURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRentenitionMetadataURL) SetBasePath(bp string)
- func (o *GetRentenitionMetadataURL) String() string
- func (o *GetRentenitionMetadataURL) StringFull(scheme, host string) string
- func (o *GetRentenitionMetadataURL) WithBasePath(bp string) *GetRentenitionMetadataURL
- type GetRetention
- type GetRetentionForbidden
- func (o *GetRetentionForbidden) SetPayload(payload *models.Errors)
- func (o *GetRetentionForbidden) SetXRequestID(xRequestID string)
- func (o *GetRetentionForbidden) WithPayload(payload *models.Errors) *GetRetentionForbidden
- func (o *GetRetentionForbidden) WithXRequestID(xRequestID string) *GetRetentionForbidden
- func (o *GetRetentionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRetentionHandler
- type GetRetentionHandlerFunc
- type GetRetentionInternalServerError
- func (o *GetRetentionInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetRetentionInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetRetentionInternalServerError) WithPayload(payload *models.Errors) *GetRetentionInternalServerError
- func (o *GetRetentionInternalServerError) WithXRequestID(xRequestID string) *GetRetentionInternalServerError
- func (o *GetRetentionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRetentionOK
- type GetRetentionParams
- type GetRetentionTaskLog
- type GetRetentionTaskLogForbidden
- func (o *GetRetentionTaskLogForbidden) SetPayload(payload *models.Errors)
- func (o *GetRetentionTaskLogForbidden) SetXRequestID(xRequestID string)
- func (o *GetRetentionTaskLogForbidden) WithPayload(payload *models.Errors) *GetRetentionTaskLogForbidden
- func (o *GetRetentionTaskLogForbidden) WithXRequestID(xRequestID string) *GetRetentionTaskLogForbidden
- func (o *GetRetentionTaskLogForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRetentionTaskLogHandler
- type GetRetentionTaskLogHandlerFunc
- type GetRetentionTaskLogInternalServerError
- func (o *GetRetentionTaskLogInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetRetentionTaskLogInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetRetentionTaskLogInternalServerError) WithPayload(payload *models.Errors) *GetRetentionTaskLogInternalServerError
- func (o *GetRetentionTaskLogInternalServerError) WithXRequestID(xRequestID string) *GetRetentionTaskLogInternalServerError
- func (o *GetRetentionTaskLogInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRetentionTaskLogOK
- type GetRetentionTaskLogParams
- type GetRetentionTaskLogURL
- func (o *GetRetentionTaskLogURL) Build() (*url.URL, error)
- func (o *GetRetentionTaskLogURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRetentionTaskLogURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRetentionTaskLogURL) SetBasePath(bp string)
- func (o *GetRetentionTaskLogURL) String() string
- func (o *GetRetentionTaskLogURL) StringFull(scheme, host string) string
- func (o *GetRetentionTaskLogURL) WithBasePath(bp string) *GetRetentionTaskLogURL
- type GetRetentionTaskLogUnauthorized
- func (o *GetRetentionTaskLogUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetRetentionTaskLogUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetRetentionTaskLogUnauthorized) WithPayload(payload *models.Errors) *GetRetentionTaskLogUnauthorized
- func (o *GetRetentionTaskLogUnauthorized) WithXRequestID(xRequestID string) *GetRetentionTaskLogUnauthorized
- func (o *GetRetentionTaskLogUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRetentionURL
- func (o *GetRetentionURL) Build() (*url.URL, error)
- func (o *GetRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRetentionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRetentionURL) SetBasePath(bp string)
- func (o *GetRetentionURL) String() string
- func (o *GetRetentionURL) StringFull(scheme, host string) string
- func (o *GetRetentionURL) WithBasePath(bp string) *GetRetentionURL
- type GetRetentionUnauthorized
- func (o *GetRetentionUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetRetentionUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetRetentionUnauthorized) WithPayload(payload *models.Errors) *GetRetentionUnauthorized
- func (o *GetRetentionUnauthorized) WithXRequestID(xRequestID string) *GetRetentionUnauthorized
- func (o *GetRetentionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRetentionExecutions
- type ListRetentionExecutionsForbidden
- func (o *ListRetentionExecutionsForbidden) SetPayload(payload *models.Errors)
- func (o *ListRetentionExecutionsForbidden) SetXRequestID(xRequestID string)
- func (o *ListRetentionExecutionsForbidden) WithPayload(payload *models.Errors) *ListRetentionExecutionsForbidden
- func (o *ListRetentionExecutionsForbidden) WithXRequestID(xRequestID string) *ListRetentionExecutionsForbidden
- func (o *ListRetentionExecutionsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRetentionExecutionsHandler
- type ListRetentionExecutionsHandlerFunc
- type ListRetentionExecutionsInternalServerError
- func (o *ListRetentionExecutionsInternalServerError) SetPayload(payload *models.Errors)
- func (o *ListRetentionExecutionsInternalServerError) SetXRequestID(xRequestID string)
- func (o *ListRetentionExecutionsInternalServerError) WithPayload(payload *models.Errors) *ListRetentionExecutionsInternalServerError
- func (o *ListRetentionExecutionsInternalServerError) WithXRequestID(xRequestID string) *ListRetentionExecutionsInternalServerError
- func (o *ListRetentionExecutionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRetentionExecutionsOK
- func (o *ListRetentionExecutionsOK) SetLink(link string)
- func (o *ListRetentionExecutionsOK) SetPayload(payload []*models.RetentionExecution)
- func (o *ListRetentionExecutionsOK) SetXTotalCount(xTotalCount int64)
- func (o *ListRetentionExecutionsOK) WithLink(link string) *ListRetentionExecutionsOK
- func (o *ListRetentionExecutionsOK) WithPayload(payload []*models.RetentionExecution) *ListRetentionExecutionsOK
- func (o *ListRetentionExecutionsOK) WithXTotalCount(xTotalCount int64) *ListRetentionExecutionsOK
- func (o *ListRetentionExecutionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRetentionExecutionsParams
- type ListRetentionExecutionsURL
- func (o *ListRetentionExecutionsURL) Build() (*url.URL, error)
- func (o *ListRetentionExecutionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListRetentionExecutionsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListRetentionExecutionsURL) SetBasePath(bp string)
- func (o *ListRetentionExecutionsURL) String() string
- func (o *ListRetentionExecutionsURL) StringFull(scheme, host string) string
- func (o *ListRetentionExecutionsURL) WithBasePath(bp string) *ListRetentionExecutionsURL
- type ListRetentionExecutionsUnauthorized
- func (o *ListRetentionExecutionsUnauthorized) SetPayload(payload *models.Errors)
- func (o *ListRetentionExecutionsUnauthorized) SetXRequestID(xRequestID string)
- func (o *ListRetentionExecutionsUnauthorized) WithPayload(payload *models.Errors) *ListRetentionExecutionsUnauthorized
- func (o *ListRetentionExecutionsUnauthorized) WithXRequestID(xRequestID string) *ListRetentionExecutionsUnauthorized
- func (o *ListRetentionExecutionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRetentionTasks
- type ListRetentionTasksForbidden
- func (o *ListRetentionTasksForbidden) SetPayload(payload *models.Errors)
- func (o *ListRetentionTasksForbidden) SetXRequestID(xRequestID string)
- func (o *ListRetentionTasksForbidden) WithPayload(payload *models.Errors) *ListRetentionTasksForbidden
- func (o *ListRetentionTasksForbidden) WithXRequestID(xRequestID string) *ListRetentionTasksForbidden
- func (o *ListRetentionTasksForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRetentionTasksHandler
- type ListRetentionTasksHandlerFunc
- type ListRetentionTasksInternalServerError
- func (o *ListRetentionTasksInternalServerError) SetPayload(payload *models.Errors)
- func (o *ListRetentionTasksInternalServerError) SetXRequestID(xRequestID string)
- func (o *ListRetentionTasksInternalServerError) WithPayload(payload *models.Errors) *ListRetentionTasksInternalServerError
- func (o *ListRetentionTasksInternalServerError) WithXRequestID(xRequestID string) *ListRetentionTasksInternalServerError
- func (o *ListRetentionTasksInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRetentionTasksOK
- func (o *ListRetentionTasksOK) SetLink(link string)
- func (o *ListRetentionTasksOK) SetPayload(payload []*models.RetentionExecutionTask)
- func (o *ListRetentionTasksOK) SetXTotalCount(xTotalCount int64)
- func (o *ListRetentionTasksOK) WithLink(link string) *ListRetentionTasksOK
- func (o *ListRetentionTasksOK) WithPayload(payload []*models.RetentionExecutionTask) *ListRetentionTasksOK
- func (o *ListRetentionTasksOK) WithXTotalCount(xTotalCount int64) *ListRetentionTasksOK
- func (o *ListRetentionTasksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRetentionTasksParams
- type ListRetentionTasksURL
- func (o *ListRetentionTasksURL) Build() (*url.URL, error)
- func (o *ListRetentionTasksURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListRetentionTasksURL) Must(u *url.URL, err error) *url.URL
- func (o *ListRetentionTasksURL) SetBasePath(bp string)
- func (o *ListRetentionTasksURL) String() string
- func (o *ListRetentionTasksURL) StringFull(scheme, host string) string
- func (o *ListRetentionTasksURL) WithBasePath(bp string) *ListRetentionTasksURL
- type ListRetentionTasksUnauthorized
- func (o *ListRetentionTasksUnauthorized) SetPayload(payload *models.Errors)
- func (o *ListRetentionTasksUnauthorized) SetXRequestID(xRequestID string)
- func (o *ListRetentionTasksUnauthorized) WithPayload(payload *models.Errors) *ListRetentionTasksUnauthorized
- func (o *ListRetentionTasksUnauthorized) WithXRequestID(xRequestID string) *ListRetentionTasksUnauthorized
- func (o *ListRetentionTasksUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type OperateRetentionExecution
- type OperateRetentionExecutionBody
- type OperateRetentionExecutionForbidden
- func (o *OperateRetentionExecutionForbidden) SetPayload(payload *models.Errors)
- func (o *OperateRetentionExecutionForbidden) SetXRequestID(xRequestID string)
- func (o *OperateRetentionExecutionForbidden) WithPayload(payload *models.Errors) *OperateRetentionExecutionForbidden
- func (o *OperateRetentionExecutionForbidden) WithXRequestID(xRequestID string) *OperateRetentionExecutionForbidden
- func (o *OperateRetentionExecutionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type OperateRetentionExecutionHandler
- type OperateRetentionExecutionHandlerFunc
- type OperateRetentionExecutionInternalServerError
- func (o *OperateRetentionExecutionInternalServerError) SetPayload(payload *models.Errors)
- func (o *OperateRetentionExecutionInternalServerError) SetXRequestID(xRequestID string)
- func (o *OperateRetentionExecutionInternalServerError) WithPayload(payload *models.Errors) *OperateRetentionExecutionInternalServerError
- func (o *OperateRetentionExecutionInternalServerError) WithXRequestID(xRequestID string) *OperateRetentionExecutionInternalServerError
- func (o *OperateRetentionExecutionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type OperateRetentionExecutionOK
- type OperateRetentionExecutionParams
- type OperateRetentionExecutionURL
- func (o *OperateRetentionExecutionURL) Build() (*url.URL, error)
- func (o *OperateRetentionExecutionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *OperateRetentionExecutionURL) Must(u *url.URL, err error) *url.URL
- func (o *OperateRetentionExecutionURL) SetBasePath(bp string)
- func (o *OperateRetentionExecutionURL) String() string
- func (o *OperateRetentionExecutionURL) StringFull(scheme, host string) string
- func (o *OperateRetentionExecutionURL) WithBasePath(bp string) *OperateRetentionExecutionURL
- type OperateRetentionExecutionUnauthorized
- func (o *OperateRetentionExecutionUnauthorized) SetPayload(payload *models.Errors)
- func (o *OperateRetentionExecutionUnauthorized) SetXRequestID(xRequestID string)
- func (o *OperateRetentionExecutionUnauthorized) WithPayload(payload *models.Errors) *OperateRetentionExecutionUnauthorized
- func (o *OperateRetentionExecutionUnauthorized) WithXRequestID(xRequestID string) *OperateRetentionExecutionUnauthorized
- func (o *OperateRetentionExecutionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TriggerRetentionExecution
- type TriggerRetentionExecutionBody
- type TriggerRetentionExecutionCreated
- func (o *TriggerRetentionExecutionCreated) SetLocation(location string)
- func (o *TriggerRetentionExecutionCreated) SetXRequestID(xRequestID string)
- func (o *TriggerRetentionExecutionCreated) WithLocation(location string) *TriggerRetentionExecutionCreated
- func (o *TriggerRetentionExecutionCreated) WithXRequestID(xRequestID string) *TriggerRetentionExecutionCreated
- func (o *TriggerRetentionExecutionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TriggerRetentionExecutionForbidden
- func (o *TriggerRetentionExecutionForbidden) SetPayload(payload *models.Errors)
- func (o *TriggerRetentionExecutionForbidden) SetXRequestID(xRequestID string)
- func (o *TriggerRetentionExecutionForbidden) WithPayload(payload *models.Errors) *TriggerRetentionExecutionForbidden
- func (o *TriggerRetentionExecutionForbidden) WithXRequestID(xRequestID string) *TriggerRetentionExecutionForbidden
- func (o *TriggerRetentionExecutionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TriggerRetentionExecutionHandler
- type TriggerRetentionExecutionHandlerFunc
- type TriggerRetentionExecutionInternalServerError
- func (o *TriggerRetentionExecutionInternalServerError) SetPayload(payload *models.Errors)
- func (o *TriggerRetentionExecutionInternalServerError) SetXRequestID(xRequestID string)
- func (o *TriggerRetentionExecutionInternalServerError) WithPayload(payload *models.Errors) *TriggerRetentionExecutionInternalServerError
- func (o *TriggerRetentionExecutionInternalServerError) WithXRequestID(xRequestID string) *TriggerRetentionExecutionInternalServerError
- func (o *TriggerRetentionExecutionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TriggerRetentionExecutionOK
- type TriggerRetentionExecutionParams
- type TriggerRetentionExecutionURL
- func (o *TriggerRetentionExecutionURL) Build() (*url.URL, error)
- func (o *TriggerRetentionExecutionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TriggerRetentionExecutionURL) Must(u *url.URL, err error) *url.URL
- func (o *TriggerRetentionExecutionURL) SetBasePath(bp string)
- func (o *TriggerRetentionExecutionURL) String() string
- func (o *TriggerRetentionExecutionURL) StringFull(scheme, host string) string
- func (o *TriggerRetentionExecutionURL) WithBasePath(bp string) *TriggerRetentionExecutionURL
- type TriggerRetentionExecutionUnauthorized
- func (o *TriggerRetentionExecutionUnauthorized) SetPayload(payload *models.Errors)
- func (o *TriggerRetentionExecutionUnauthorized) SetXRequestID(xRequestID string)
- func (o *TriggerRetentionExecutionUnauthorized) WithPayload(payload *models.Errors) *TriggerRetentionExecutionUnauthorized
- func (o *TriggerRetentionExecutionUnauthorized) WithXRequestID(xRequestID string) *TriggerRetentionExecutionUnauthorized
- func (o *TriggerRetentionExecutionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateRetention
- type UpdateRetentionForbidden
- func (o *UpdateRetentionForbidden) SetPayload(payload *models.Errors)
- func (o *UpdateRetentionForbidden) SetXRequestID(xRequestID string)
- func (o *UpdateRetentionForbidden) WithPayload(payload *models.Errors) *UpdateRetentionForbidden
- func (o *UpdateRetentionForbidden) WithXRequestID(xRequestID string) *UpdateRetentionForbidden
- func (o *UpdateRetentionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateRetentionHandler
- type UpdateRetentionHandlerFunc
- type UpdateRetentionInternalServerError
- func (o *UpdateRetentionInternalServerError) SetPayload(payload *models.Errors)
- func (o *UpdateRetentionInternalServerError) SetXRequestID(xRequestID string)
- func (o *UpdateRetentionInternalServerError) WithPayload(payload *models.Errors) *UpdateRetentionInternalServerError
- func (o *UpdateRetentionInternalServerError) WithXRequestID(xRequestID string) *UpdateRetentionInternalServerError
- func (o *UpdateRetentionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateRetentionOK
- type UpdateRetentionParams
- type UpdateRetentionURL
- func (o *UpdateRetentionURL) Build() (*url.URL, error)
- func (o *UpdateRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateRetentionURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateRetentionURL) SetBasePath(bp string)
- func (o *UpdateRetentionURL) String() string
- func (o *UpdateRetentionURL) StringFull(scheme, host string) string
- func (o *UpdateRetentionURL) WithBasePath(bp string) *UpdateRetentionURL
- type UpdateRetentionUnauthorized
- func (o *UpdateRetentionUnauthorized) SetPayload(payload *models.Errors)
- func (o *UpdateRetentionUnauthorized) SetXRequestID(xRequestID string)
- func (o *UpdateRetentionUnauthorized) WithPayload(payload *models.Errors) *UpdateRetentionUnauthorized
- func (o *UpdateRetentionUnauthorized) WithXRequestID(xRequestID string) *UpdateRetentionUnauthorized
- func (o *UpdateRetentionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateRetentionBadRequestCode int = 400
CreateRetentionBadRequestCode is the HTTP code returned for type CreateRetentionBadRequest
const CreateRetentionCreatedCode int = 201
CreateRetentionCreatedCode is the HTTP code returned for type CreateRetentionCreated
const CreateRetentionForbiddenCode int = 403
CreateRetentionForbiddenCode is the HTTP code returned for type CreateRetentionForbidden
const CreateRetentionInternalServerErrorCode int = 500
CreateRetentionInternalServerErrorCode is the HTTP code returned for type CreateRetentionInternalServerError
CreateRetentionUnauthorizedCode is the HTTP code returned for type CreateRetentionUnauthorized
const GetRentenitionMetadataOKCode int = 200
GetRentenitionMetadataOKCode is the HTTP code returned for type GetRentenitionMetadataOK
const GetRetentionForbiddenCode int = 403
GetRetentionForbiddenCode is the HTTP code returned for type GetRetentionForbidden
const GetRetentionInternalServerErrorCode int = 500
GetRetentionInternalServerErrorCode is the HTTP code returned for type GetRetentionInternalServerError
const GetRetentionOKCode int = 200
GetRetentionOKCode is the HTTP code returned for type GetRetentionOK
const GetRetentionTaskLogForbiddenCode int = 403
GetRetentionTaskLogForbiddenCode is the HTTP code returned for type GetRetentionTaskLogForbidden
const GetRetentionTaskLogInternalServerErrorCode int = 500
GetRetentionTaskLogInternalServerErrorCode is the HTTP code returned for type GetRetentionTaskLogInternalServerError
const GetRetentionTaskLogOKCode int = 200
GetRetentionTaskLogOKCode is the HTTP code returned for type GetRetentionTaskLogOK
GetRetentionTaskLogUnauthorizedCode is the HTTP code returned for type GetRetentionTaskLogUnauthorized
GetRetentionUnauthorizedCode is the HTTP code returned for type GetRetentionUnauthorized
const ListRetentionExecutionsForbiddenCode int = 403
ListRetentionExecutionsForbiddenCode is the HTTP code returned for type ListRetentionExecutionsForbidden
const ListRetentionExecutionsInternalServerErrorCode int = 500
ListRetentionExecutionsInternalServerErrorCode is the HTTP code returned for type ListRetentionExecutionsInternalServerError
const ListRetentionExecutionsOKCode int = 200
ListRetentionExecutionsOKCode is the HTTP code returned for type ListRetentionExecutionsOK
ListRetentionExecutionsUnauthorizedCode is the HTTP code returned for type ListRetentionExecutionsUnauthorized
const ListRetentionTasksForbiddenCode int = 403
ListRetentionTasksForbiddenCode is the HTTP code returned for type ListRetentionTasksForbidden
const ListRetentionTasksInternalServerErrorCode int = 500
ListRetentionTasksInternalServerErrorCode is the HTTP code returned for type ListRetentionTasksInternalServerError
const ListRetentionTasksOKCode int = 200
ListRetentionTasksOKCode is the HTTP code returned for type ListRetentionTasksOK
ListRetentionTasksUnauthorizedCode is the HTTP code returned for type ListRetentionTasksUnauthorized
const OperateRetentionExecutionForbiddenCode int = 403
OperateRetentionExecutionForbiddenCode is the HTTP code returned for type OperateRetentionExecutionForbidden
const OperateRetentionExecutionInternalServerErrorCode int = 500
OperateRetentionExecutionInternalServerErrorCode is the HTTP code returned for type OperateRetentionExecutionInternalServerError
const OperateRetentionExecutionOKCode int = 200
OperateRetentionExecutionOKCode is the HTTP code returned for type OperateRetentionExecutionOK
OperateRetentionExecutionUnauthorizedCode is the HTTP code returned for type OperateRetentionExecutionUnauthorized
const TriggerRetentionExecutionCreatedCode int = 201
TriggerRetentionExecutionCreatedCode is the HTTP code returned for type TriggerRetentionExecutionCreated
const TriggerRetentionExecutionForbiddenCode int = 403
TriggerRetentionExecutionForbiddenCode is the HTTP code returned for type TriggerRetentionExecutionForbidden
const TriggerRetentionExecutionInternalServerErrorCode int = 500
TriggerRetentionExecutionInternalServerErrorCode is the HTTP code returned for type TriggerRetentionExecutionInternalServerError
const TriggerRetentionExecutionOKCode int = 200
TriggerRetentionExecutionOKCode is the HTTP code returned for type TriggerRetentionExecutionOK
TriggerRetentionExecutionUnauthorizedCode is the HTTP code returned for type TriggerRetentionExecutionUnauthorized
const UpdateRetentionForbiddenCode int = 403
UpdateRetentionForbiddenCode is the HTTP code returned for type UpdateRetentionForbidden
const UpdateRetentionInternalServerErrorCode int = 500
UpdateRetentionInternalServerErrorCode is the HTTP code returned for type UpdateRetentionInternalServerError
const UpdateRetentionOKCode int = 200
UpdateRetentionOKCode is the HTTP code returned for type UpdateRetentionOK
UpdateRetentionUnauthorizedCode is the HTTP code returned for type UpdateRetentionUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRetention ¶
type CreateRetention struct { Context *middleware.Context Handler CreateRetentionHandler }
CreateRetention swagger:route POST /retentions Retention createRetention
Create Retention Policy ¶
Create Retention Policy, you can reference metadatas API for the policy model. You can check project metadatas to find whether a retention policy is already binded. This method should only be called when no retention policy binded to project yet.
func NewCreateRetention ¶
func NewCreateRetention(ctx *middleware.Context, handler CreateRetentionHandler) *CreateRetention
NewCreateRetention creates a new http.Handler for the create retention operation
func (*CreateRetention) ServeHTTP ¶
func (o *CreateRetention) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateRetentionBadRequest ¶
type CreateRetentionBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
CreateRetentionBadRequest Bad request
swagger:response createRetentionBadRequest
func NewCreateRetentionBadRequest ¶
func NewCreateRetentionBadRequest() *CreateRetentionBadRequest
NewCreateRetentionBadRequest creates CreateRetentionBadRequest with default headers values
func (*CreateRetentionBadRequest) SetPayload ¶
func (o *CreateRetentionBadRequest) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create retention bad request response
func (*CreateRetentionBadRequest) SetXRequestID ¶
func (o *CreateRetentionBadRequest) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create retention bad request response
func (*CreateRetentionBadRequest) WithPayload ¶
func (o *CreateRetentionBadRequest) WithPayload(payload *models.Errors) *CreateRetentionBadRequest
WithPayload adds the payload to the create retention bad request response
func (*CreateRetentionBadRequest) WithXRequestID ¶
func (o *CreateRetentionBadRequest) WithXRequestID(xRequestID string) *CreateRetentionBadRequest
WithXRequestID adds the xRequestId to the create retention bad request response
func (*CreateRetentionBadRequest) WriteResponse ¶
func (o *CreateRetentionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateRetentionCreated ¶
type CreateRetentionCreated 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"` }
CreateRetentionCreated Created
swagger:response createRetentionCreated
func NewCreateRetentionCreated ¶
func NewCreateRetentionCreated() *CreateRetentionCreated
NewCreateRetentionCreated creates CreateRetentionCreated with default headers values
func (*CreateRetentionCreated) SetLocation ¶
func (o *CreateRetentionCreated) SetLocation(location string)
SetLocation sets the location to the create retention created response
func (*CreateRetentionCreated) SetXRequestID ¶
func (o *CreateRetentionCreated) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create retention created response
func (*CreateRetentionCreated) WithLocation ¶
func (o *CreateRetentionCreated) WithLocation(location string) *CreateRetentionCreated
WithLocation adds the location to the create retention created response
func (*CreateRetentionCreated) WithXRequestID ¶
func (o *CreateRetentionCreated) WithXRequestID(xRequestID string) *CreateRetentionCreated
WithXRequestID adds the xRequestId to the create retention created response
func (*CreateRetentionCreated) WriteResponse ¶
func (o *CreateRetentionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateRetentionForbidden ¶
type CreateRetentionForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
CreateRetentionForbidden Forbidden
swagger:response createRetentionForbidden
func NewCreateRetentionForbidden ¶
func NewCreateRetentionForbidden() *CreateRetentionForbidden
NewCreateRetentionForbidden creates CreateRetentionForbidden with default headers values
func (*CreateRetentionForbidden) SetPayload ¶
func (o *CreateRetentionForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create retention forbidden response
func (*CreateRetentionForbidden) SetXRequestID ¶
func (o *CreateRetentionForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create retention forbidden response
func (*CreateRetentionForbidden) WithPayload ¶
func (o *CreateRetentionForbidden) WithPayload(payload *models.Errors) *CreateRetentionForbidden
WithPayload adds the payload to the create retention forbidden response
func (*CreateRetentionForbidden) WithXRequestID ¶
func (o *CreateRetentionForbidden) WithXRequestID(xRequestID string) *CreateRetentionForbidden
WithXRequestID adds the xRequestId to the create retention forbidden response
func (*CreateRetentionForbidden) WriteResponse ¶
func (o *CreateRetentionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateRetentionHandler ¶
type CreateRetentionHandler interface {
Handle(CreateRetentionParams, interface{}) middleware.Responder
}
CreateRetentionHandler interface for that can handle valid create retention params
type CreateRetentionHandlerFunc ¶
type CreateRetentionHandlerFunc func(CreateRetentionParams, interface{}) middleware.Responder
CreateRetentionHandlerFunc turns a function with the right signature into a create retention handler
func (CreateRetentionHandlerFunc) Handle ¶
func (fn CreateRetentionHandlerFunc) Handle(params CreateRetentionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateRetentionInternalServerError ¶
type CreateRetentionInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
CreateRetentionInternalServerError Internal server error
swagger:response createRetentionInternalServerError
func NewCreateRetentionInternalServerError ¶
func NewCreateRetentionInternalServerError() *CreateRetentionInternalServerError
NewCreateRetentionInternalServerError creates CreateRetentionInternalServerError with default headers values
func (*CreateRetentionInternalServerError) SetPayload ¶
func (o *CreateRetentionInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create retention internal server error response
func (*CreateRetentionInternalServerError) SetXRequestID ¶
func (o *CreateRetentionInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create retention internal server error response
func (*CreateRetentionInternalServerError) WithPayload ¶
func (o *CreateRetentionInternalServerError) WithPayload(payload *models.Errors) *CreateRetentionInternalServerError
WithPayload adds the payload to the create retention internal server error response
func (*CreateRetentionInternalServerError) WithXRequestID ¶
func (o *CreateRetentionInternalServerError) WithXRequestID(xRequestID string) *CreateRetentionInternalServerError
WithXRequestID adds the xRequestId to the create retention internal server error response
func (*CreateRetentionInternalServerError) WriteResponse ¶
func (o *CreateRetentionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateRetentionParams ¶
type CreateRetentionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Create Retention Policy successfully. Required: true In: body */ Policy *models.RetentionPolicy }
CreateRetentionParams contains all the bound params for the create retention operation typically these are obtained from a http.Request
swagger:parameters createRetention
func NewCreateRetentionParams ¶
func NewCreateRetentionParams() CreateRetentionParams
NewCreateRetentionParams creates a new CreateRetentionParams object no default values defined in spec.
func (*CreateRetentionParams) BindRequest ¶
func (o *CreateRetentionParams) 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 NewCreateRetentionParams() beforehand.
type CreateRetentionURL ¶
type CreateRetentionURL struct {
// contains filtered or unexported fields
}
CreateRetentionURL generates an URL for the create retention operation
func (*CreateRetentionURL) Build ¶
func (o *CreateRetentionURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateRetentionURL) BuildFull ¶
func (o *CreateRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateRetentionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateRetentionURL) SetBasePath ¶
func (o *CreateRetentionURL) 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 (*CreateRetentionURL) String ¶
func (o *CreateRetentionURL) String() string
String returns the string representation of the path with query string
func (*CreateRetentionURL) StringFull ¶
func (o *CreateRetentionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateRetentionURL) WithBasePath ¶
func (o *CreateRetentionURL) WithBasePath(bp string) *CreateRetentionURL
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 CreateRetentionUnauthorized ¶
type CreateRetentionUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
CreateRetentionUnauthorized Unauthorized
swagger:response createRetentionUnauthorized
func NewCreateRetentionUnauthorized ¶
func NewCreateRetentionUnauthorized() *CreateRetentionUnauthorized
NewCreateRetentionUnauthorized creates CreateRetentionUnauthorized with default headers values
func (*CreateRetentionUnauthorized) SetPayload ¶
func (o *CreateRetentionUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create retention unauthorized response
func (*CreateRetentionUnauthorized) SetXRequestID ¶
func (o *CreateRetentionUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create retention unauthorized response
func (*CreateRetentionUnauthorized) WithPayload ¶
func (o *CreateRetentionUnauthorized) WithPayload(payload *models.Errors) *CreateRetentionUnauthorized
WithPayload adds the payload to the create retention unauthorized response
func (*CreateRetentionUnauthorized) WithXRequestID ¶
func (o *CreateRetentionUnauthorized) WithXRequestID(xRequestID string) *CreateRetentionUnauthorized
WithXRequestID adds the xRequestId to the create retention unauthorized response
func (*CreateRetentionUnauthorized) WriteResponse ¶
func (o *CreateRetentionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRentenitionMetadata ¶
type GetRentenitionMetadata struct { Context *middleware.Context Handler GetRentenitionMetadataHandler }
GetRentenitionMetadata swagger:route GET /retentions/metadatas Retention getRentenitionMetadata
Get Retention Metadatas ¶
Get Retention Metadatas.
func NewGetRentenitionMetadata ¶
func NewGetRentenitionMetadata(ctx *middleware.Context, handler GetRentenitionMetadataHandler) *GetRentenitionMetadata
NewGetRentenitionMetadata creates a new http.Handler for the get rentenition metadata operation
func (*GetRentenitionMetadata) ServeHTTP ¶
func (o *GetRentenitionMetadata) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRentenitionMetadataHandler ¶
type GetRentenitionMetadataHandler interface {
Handle(GetRentenitionMetadataParams, interface{}) middleware.Responder
}
GetRentenitionMetadataHandler interface for that can handle valid get rentenition metadata params
type GetRentenitionMetadataHandlerFunc ¶
type GetRentenitionMetadataHandlerFunc func(GetRentenitionMetadataParams, interface{}) middleware.Responder
GetRentenitionMetadataHandlerFunc turns a function with the right signature into a get rentenition metadata handler
func (GetRentenitionMetadataHandlerFunc) Handle ¶
func (fn GetRentenitionMetadataHandlerFunc) Handle(params GetRentenitionMetadataParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetRentenitionMetadataOK ¶
type GetRentenitionMetadataOK struct { /* In: Body */ Payload *models.RetentionMetadata `json:"body,omitempty"` }
GetRentenitionMetadataOK Get Retention Metadatas successfully.
swagger:response getRentenitionMetadataOK
func NewGetRentenitionMetadataOK ¶
func NewGetRentenitionMetadataOK() *GetRentenitionMetadataOK
NewGetRentenitionMetadataOK creates GetRentenitionMetadataOK with default headers values
func (*GetRentenitionMetadataOK) SetPayload ¶
func (o *GetRentenitionMetadataOK) SetPayload(payload *models.RetentionMetadata)
SetPayload sets the payload to the get rentenition metadata o k response
func (*GetRentenitionMetadataOK) WithPayload ¶
func (o *GetRentenitionMetadataOK) WithPayload(payload *models.RetentionMetadata) *GetRentenitionMetadataOK
WithPayload adds the payload to the get rentenition metadata o k response
func (*GetRentenitionMetadataOK) WriteResponse ¶
func (o *GetRentenitionMetadataOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRentenitionMetadataParams ¶
type GetRentenitionMetadataParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetRentenitionMetadataParams contains all the bound params for the get rentenition metadata operation typically these are obtained from a http.Request
swagger:parameters getRentenitionMetadata
func NewGetRentenitionMetadataParams ¶
func NewGetRentenitionMetadataParams() GetRentenitionMetadataParams
NewGetRentenitionMetadataParams creates a new GetRentenitionMetadataParams object no default values defined in spec.
func (*GetRentenitionMetadataParams) BindRequest ¶
func (o *GetRentenitionMetadataParams) 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 NewGetRentenitionMetadataParams() beforehand.
type GetRentenitionMetadataURL ¶
type GetRentenitionMetadataURL struct {
// contains filtered or unexported fields
}
GetRentenitionMetadataURL generates an URL for the get rentenition metadata operation
func (*GetRentenitionMetadataURL) Build ¶
func (o *GetRentenitionMetadataURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRentenitionMetadataURL) BuildFull ¶
func (o *GetRentenitionMetadataURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRentenitionMetadataURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRentenitionMetadataURL) SetBasePath ¶
func (o *GetRentenitionMetadataURL) 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 (*GetRentenitionMetadataURL) String ¶
func (o *GetRentenitionMetadataURL) String() string
String returns the string representation of the path with query string
func (*GetRentenitionMetadataURL) StringFull ¶
func (o *GetRentenitionMetadataURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRentenitionMetadataURL) WithBasePath ¶
func (o *GetRentenitionMetadataURL) WithBasePath(bp string) *GetRentenitionMetadataURL
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 GetRetention ¶
type GetRetention struct { Context *middleware.Context Handler GetRetentionHandler }
GetRetention swagger:route GET /retentions/{id} Retention getRetention
Get Retention Policy ¶
Get Retention Policy.
func NewGetRetention ¶
func NewGetRetention(ctx *middleware.Context, handler GetRetentionHandler) *GetRetention
NewGetRetention creates a new http.Handler for the get retention operation
func (*GetRetention) ServeHTTP ¶
func (o *GetRetention) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRetentionForbidden ¶
type GetRetentionForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetRetentionForbidden Forbidden
swagger:response getRetentionForbidden
func NewGetRetentionForbidden ¶
func NewGetRetentionForbidden() *GetRetentionForbidden
NewGetRetentionForbidden creates GetRetentionForbidden with default headers values
func (*GetRetentionForbidden) SetPayload ¶
func (o *GetRetentionForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get retention forbidden response
func (*GetRetentionForbidden) SetXRequestID ¶
func (o *GetRetentionForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get retention forbidden response
func (*GetRetentionForbidden) WithPayload ¶
func (o *GetRetentionForbidden) WithPayload(payload *models.Errors) *GetRetentionForbidden
WithPayload adds the payload to the get retention forbidden response
func (*GetRetentionForbidden) WithXRequestID ¶
func (o *GetRetentionForbidden) WithXRequestID(xRequestID string) *GetRetentionForbidden
WithXRequestID adds the xRequestId to the get retention forbidden response
func (*GetRetentionForbidden) WriteResponse ¶
func (o *GetRetentionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRetentionHandler ¶
type GetRetentionHandler interface {
Handle(GetRetentionParams, interface{}) middleware.Responder
}
GetRetentionHandler interface for that can handle valid get retention params
type GetRetentionHandlerFunc ¶
type GetRetentionHandlerFunc func(GetRetentionParams, interface{}) middleware.Responder
GetRetentionHandlerFunc turns a function with the right signature into a get retention handler
func (GetRetentionHandlerFunc) Handle ¶
func (fn GetRetentionHandlerFunc) Handle(params GetRetentionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetRetentionInternalServerError ¶
type GetRetentionInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetRetentionInternalServerError Internal server error
swagger:response getRetentionInternalServerError
func NewGetRetentionInternalServerError ¶
func NewGetRetentionInternalServerError() *GetRetentionInternalServerError
NewGetRetentionInternalServerError creates GetRetentionInternalServerError with default headers values
func (*GetRetentionInternalServerError) SetPayload ¶
func (o *GetRetentionInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get retention internal server error response
func (*GetRetentionInternalServerError) SetXRequestID ¶
func (o *GetRetentionInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get retention internal server error response
func (*GetRetentionInternalServerError) WithPayload ¶
func (o *GetRetentionInternalServerError) WithPayload(payload *models.Errors) *GetRetentionInternalServerError
WithPayload adds the payload to the get retention internal server error response
func (*GetRetentionInternalServerError) WithXRequestID ¶
func (o *GetRetentionInternalServerError) WithXRequestID(xRequestID string) *GetRetentionInternalServerError
WithXRequestID adds the xRequestId to the get retention internal server error response
func (*GetRetentionInternalServerError) WriteResponse ¶
func (o *GetRetentionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRetentionOK ¶
type GetRetentionOK struct { /* In: Body */ Payload *models.RetentionPolicy `json:"body,omitempty"` }
GetRetentionOK Get Retention Policy successfully.
swagger:response getRetentionOK
func NewGetRetentionOK ¶
func NewGetRetentionOK() *GetRetentionOK
NewGetRetentionOK creates GetRetentionOK with default headers values
func (*GetRetentionOK) SetPayload ¶
func (o *GetRetentionOK) SetPayload(payload *models.RetentionPolicy)
SetPayload sets the payload to the get retention o k response
func (*GetRetentionOK) WithPayload ¶
func (o *GetRetentionOK) WithPayload(payload *models.RetentionPolicy) *GetRetentionOK
WithPayload adds the payload to the get retention o k response
func (*GetRetentionOK) WriteResponse ¶
func (o *GetRetentionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRetentionParams ¶
type GetRetentionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Retention ID. Required: true In: path */ ID int64 }
GetRetentionParams contains all the bound params for the get retention operation typically these are obtained from a http.Request
swagger:parameters getRetention
func NewGetRetentionParams ¶
func NewGetRetentionParams() GetRetentionParams
NewGetRetentionParams creates a new GetRetentionParams object no default values defined in spec.
func (*GetRetentionParams) BindRequest ¶
func (o *GetRetentionParams) 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 NewGetRetentionParams() beforehand.
type GetRetentionTaskLog ¶
type GetRetentionTaskLog struct { Context *middleware.Context Handler GetRetentionTaskLogHandler }
GetRetentionTaskLog swagger:route GET /retentions/{id}/executions/{eid}/tasks/{tid} Retention getRetentionTaskLog
Get Retention job task log ¶
Get Retention job task log, tags ratain or deletion detail will be shown in a table.
func NewGetRetentionTaskLog ¶
func NewGetRetentionTaskLog(ctx *middleware.Context, handler GetRetentionTaskLogHandler) *GetRetentionTaskLog
NewGetRetentionTaskLog creates a new http.Handler for the get retention task log operation
func (*GetRetentionTaskLog) ServeHTTP ¶
func (o *GetRetentionTaskLog) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRetentionTaskLogForbidden ¶
type GetRetentionTaskLogForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetRetentionTaskLogForbidden Forbidden
swagger:response getRetentionTaskLogForbidden
func NewGetRetentionTaskLogForbidden ¶
func NewGetRetentionTaskLogForbidden() *GetRetentionTaskLogForbidden
NewGetRetentionTaskLogForbidden creates GetRetentionTaskLogForbidden with default headers values
func (*GetRetentionTaskLogForbidden) SetPayload ¶
func (o *GetRetentionTaskLogForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get retention task log forbidden response
func (*GetRetentionTaskLogForbidden) SetXRequestID ¶
func (o *GetRetentionTaskLogForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get retention task log forbidden response
func (*GetRetentionTaskLogForbidden) WithPayload ¶
func (o *GetRetentionTaskLogForbidden) WithPayload(payload *models.Errors) *GetRetentionTaskLogForbidden
WithPayload adds the payload to the get retention task log forbidden response
func (*GetRetentionTaskLogForbidden) WithXRequestID ¶
func (o *GetRetentionTaskLogForbidden) WithXRequestID(xRequestID string) *GetRetentionTaskLogForbidden
WithXRequestID adds the xRequestId to the get retention task log forbidden response
func (*GetRetentionTaskLogForbidden) WriteResponse ¶
func (o *GetRetentionTaskLogForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRetentionTaskLogHandler ¶
type GetRetentionTaskLogHandler interface {
Handle(GetRetentionTaskLogParams, interface{}) middleware.Responder
}
GetRetentionTaskLogHandler interface for that can handle valid get retention task log params
type GetRetentionTaskLogHandlerFunc ¶
type GetRetentionTaskLogHandlerFunc func(GetRetentionTaskLogParams, interface{}) middleware.Responder
GetRetentionTaskLogHandlerFunc turns a function with the right signature into a get retention task log handler
func (GetRetentionTaskLogHandlerFunc) Handle ¶
func (fn GetRetentionTaskLogHandlerFunc) Handle(params GetRetentionTaskLogParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetRetentionTaskLogInternalServerError ¶
type GetRetentionTaskLogInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetRetentionTaskLogInternalServerError Internal server error
swagger:response getRetentionTaskLogInternalServerError
func NewGetRetentionTaskLogInternalServerError ¶
func NewGetRetentionTaskLogInternalServerError() *GetRetentionTaskLogInternalServerError
NewGetRetentionTaskLogInternalServerError creates GetRetentionTaskLogInternalServerError with default headers values
func (*GetRetentionTaskLogInternalServerError) SetPayload ¶
func (o *GetRetentionTaskLogInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get retention task log internal server error response
func (*GetRetentionTaskLogInternalServerError) SetXRequestID ¶
func (o *GetRetentionTaskLogInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get retention task log internal server error response
func (*GetRetentionTaskLogInternalServerError) WithPayload ¶
func (o *GetRetentionTaskLogInternalServerError) WithPayload(payload *models.Errors) *GetRetentionTaskLogInternalServerError
WithPayload adds the payload to the get retention task log internal server error response
func (*GetRetentionTaskLogInternalServerError) WithXRequestID ¶
func (o *GetRetentionTaskLogInternalServerError) WithXRequestID(xRequestID string) *GetRetentionTaskLogInternalServerError
WithXRequestID adds the xRequestId to the get retention task log internal server error response
func (*GetRetentionTaskLogInternalServerError) WriteResponse ¶
func (o *GetRetentionTaskLogInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRetentionTaskLogOK ¶
type GetRetentionTaskLogOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetRetentionTaskLogOK Get Retention job task log successfully.
swagger:response getRetentionTaskLogOK
func NewGetRetentionTaskLogOK ¶
func NewGetRetentionTaskLogOK() *GetRetentionTaskLogOK
NewGetRetentionTaskLogOK creates GetRetentionTaskLogOK with default headers values
func (*GetRetentionTaskLogOK) SetPayload ¶
func (o *GetRetentionTaskLogOK) SetPayload(payload string)
SetPayload sets the payload to the get retention task log o k response
func (*GetRetentionTaskLogOK) WithPayload ¶
func (o *GetRetentionTaskLogOK) WithPayload(payload string) *GetRetentionTaskLogOK
WithPayload adds the payload to the get retention task log o k response
func (*GetRetentionTaskLogOK) WriteResponse ¶
func (o *GetRetentionTaskLogOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRetentionTaskLogParams ¶
type GetRetentionTaskLogParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Retention execution ID. Required: true In: path */ Eid int64 /*Retention ID. Required: true In: path */ ID int64 /*Retention execution ID. Required: true In: path */ Tid int64 }
GetRetentionTaskLogParams contains all the bound params for the get retention task log operation typically these are obtained from a http.Request
swagger:parameters getRetentionTaskLog
func NewGetRetentionTaskLogParams ¶
func NewGetRetentionTaskLogParams() GetRetentionTaskLogParams
NewGetRetentionTaskLogParams creates a new GetRetentionTaskLogParams object no default values defined in spec.
func (*GetRetentionTaskLogParams) BindRequest ¶
func (o *GetRetentionTaskLogParams) 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 NewGetRetentionTaskLogParams() beforehand.
type GetRetentionTaskLogURL ¶
type GetRetentionTaskLogURL struct { Eid int64 ID int64 Tid int64 // contains filtered or unexported fields }
GetRetentionTaskLogURL generates an URL for the get retention task log operation
func (*GetRetentionTaskLogURL) Build ¶
func (o *GetRetentionTaskLogURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRetentionTaskLogURL) BuildFull ¶
func (o *GetRetentionTaskLogURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRetentionTaskLogURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRetentionTaskLogURL) SetBasePath ¶
func (o *GetRetentionTaskLogURL) 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 (*GetRetentionTaskLogURL) String ¶
func (o *GetRetentionTaskLogURL) String() string
String returns the string representation of the path with query string
func (*GetRetentionTaskLogURL) StringFull ¶
func (o *GetRetentionTaskLogURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRetentionTaskLogURL) WithBasePath ¶
func (o *GetRetentionTaskLogURL) WithBasePath(bp string) *GetRetentionTaskLogURL
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 GetRetentionTaskLogUnauthorized ¶
type GetRetentionTaskLogUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
GetRetentionTaskLogUnauthorized Unauthorized
swagger:response getRetentionTaskLogUnauthorized
func NewGetRetentionTaskLogUnauthorized ¶
func NewGetRetentionTaskLogUnauthorized() *GetRetentionTaskLogUnauthorized
NewGetRetentionTaskLogUnauthorized creates GetRetentionTaskLogUnauthorized with default headers values
func (*GetRetentionTaskLogUnauthorized) SetPayload ¶
func (o *GetRetentionTaskLogUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get retention task log unauthorized response
func (*GetRetentionTaskLogUnauthorized) SetXRequestID ¶
func (o *GetRetentionTaskLogUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get retention task log unauthorized response
func (*GetRetentionTaskLogUnauthorized) WithPayload ¶
func (o *GetRetentionTaskLogUnauthorized) WithPayload(payload *models.Errors) *GetRetentionTaskLogUnauthorized
WithPayload adds the payload to the get retention task log unauthorized response
func (*GetRetentionTaskLogUnauthorized) WithXRequestID ¶
func (o *GetRetentionTaskLogUnauthorized) WithXRequestID(xRequestID string) *GetRetentionTaskLogUnauthorized
WithXRequestID adds the xRequestId to the get retention task log unauthorized response
func (*GetRetentionTaskLogUnauthorized) WriteResponse ¶
func (o *GetRetentionTaskLogUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRetentionURL ¶
type GetRetentionURL struct { ID int64 // contains filtered or unexported fields }
GetRetentionURL generates an URL for the get retention operation
func (*GetRetentionURL) Build ¶
func (o *GetRetentionURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRetentionURL) BuildFull ¶
func (o *GetRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRetentionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRetentionURL) SetBasePath ¶
func (o *GetRetentionURL) 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 (*GetRetentionURL) String ¶
func (o *GetRetentionURL) String() string
String returns the string representation of the path with query string
func (*GetRetentionURL) StringFull ¶
func (o *GetRetentionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRetentionURL) WithBasePath ¶
func (o *GetRetentionURL) WithBasePath(bp string) *GetRetentionURL
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 GetRetentionUnauthorized ¶
type GetRetentionUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
GetRetentionUnauthorized Unauthorized
swagger:response getRetentionUnauthorized
func NewGetRetentionUnauthorized ¶
func NewGetRetentionUnauthorized() *GetRetentionUnauthorized
NewGetRetentionUnauthorized creates GetRetentionUnauthorized with default headers values
func (*GetRetentionUnauthorized) SetPayload ¶
func (o *GetRetentionUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get retention unauthorized response
func (*GetRetentionUnauthorized) SetXRequestID ¶
func (o *GetRetentionUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get retention unauthorized response
func (*GetRetentionUnauthorized) WithPayload ¶
func (o *GetRetentionUnauthorized) WithPayload(payload *models.Errors) *GetRetentionUnauthorized
WithPayload adds the payload to the get retention unauthorized response
func (*GetRetentionUnauthorized) WithXRequestID ¶
func (o *GetRetentionUnauthorized) WithXRequestID(xRequestID string) *GetRetentionUnauthorized
WithXRequestID adds the xRequestId to the get retention unauthorized response
func (*GetRetentionUnauthorized) WriteResponse ¶
func (o *GetRetentionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRetentionExecutions ¶
type ListRetentionExecutions struct { Context *middleware.Context Handler ListRetentionExecutionsHandler }
ListRetentionExecutions swagger:route GET /retentions/{id}/executions Retention listRetentionExecutions
Get Retention executions ¶
Get Retention executions, execution status may be delayed before job service schedule it up.
func NewListRetentionExecutions ¶
func NewListRetentionExecutions(ctx *middleware.Context, handler ListRetentionExecutionsHandler) *ListRetentionExecutions
NewListRetentionExecutions creates a new http.Handler for the list retention executions operation
func (*ListRetentionExecutions) ServeHTTP ¶
func (o *ListRetentionExecutions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListRetentionExecutionsForbidden ¶
type ListRetentionExecutionsForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
ListRetentionExecutionsForbidden Forbidden
swagger:response listRetentionExecutionsForbidden
func NewListRetentionExecutionsForbidden ¶
func NewListRetentionExecutionsForbidden() *ListRetentionExecutionsForbidden
NewListRetentionExecutionsForbidden creates ListRetentionExecutionsForbidden with default headers values
func (*ListRetentionExecutionsForbidden) SetPayload ¶
func (o *ListRetentionExecutionsForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the list retention executions forbidden response
func (*ListRetentionExecutionsForbidden) SetXRequestID ¶
func (o *ListRetentionExecutionsForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the list retention executions forbidden response
func (*ListRetentionExecutionsForbidden) WithPayload ¶
func (o *ListRetentionExecutionsForbidden) WithPayload(payload *models.Errors) *ListRetentionExecutionsForbidden
WithPayload adds the payload to the list retention executions forbidden response
func (*ListRetentionExecutionsForbidden) WithXRequestID ¶
func (o *ListRetentionExecutionsForbidden) WithXRequestID(xRequestID string) *ListRetentionExecutionsForbidden
WithXRequestID adds the xRequestId to the list retention executions forbidden response
func (*ListRetentionExecutionsForbidden) WriteResponse ¶
func (o *ListRetentionExecutionsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRetentionExecutionsHandler ¶
type ListRetentionExecutionsHandler interface {
Handle(ListRetentionExecutionsParams, interface{}) middleware.Responder
}
ListRetentionExecutionsHandler interface for that can handle valid list retention executions params
type ListRetentionExecutionsHandlerFunc ¶
type ListRetentionExecutionsHandlerFunc func(ListRetentionExecutionsParams, interface{}) middleware.Responder
ListRetentionExecutionsHandlerFunc turns a function with the right signature into a list retention executions handler
func (ListRetentionExecutionsHandlerFunc) Handle ¶
func (fn ListRetentionExecutionsHandlerFunc) Handle(params ListRetentionExecutionsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListRetentionExecutionsInternalServerError ¶
type ListRetentionExecutionsInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
ListRetentionExecutionsInternalServerError Internal server error
swagger:response listRetentionExecutionsInternalServerError
func NewListRetentionExecutionsInternalServerError ¶
func NewListRetentionExecutionsInternalServerError() *ListRetentionExecutionsInternalServerError
NewListRetentionExecutionsInternalServerError creates ListRetentionExecutionsInternalServerError with default headers values
func (*ListRetentionExecutionsInternalServerError) SetPayload ¶
func (o *ListRetentionExecutionsInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the list retention executions internal server error response
func (*ListRetentionExecutionsInternalServerError) SetXRequestID ¶
func (o *ListRetentionExecutionsInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the list retention executions internal server error response
func (*ListRetentionExecutionsInternalServerError) WithPayload ¶
func (o *ListRetentionExecutionsInternalServerError) WithPayload(payload *models.Errors) *ListRetentionExecutionsInternalServerError
WithPayload adds the payload to the list retention executions internal server error response
func (*ListRetentionExecutionsInternalServerError) WithXRequestID ¶
func (o *ListRetentionExecutionsInternalServerError) WithXRequestID(xRequestID string) *ListRetentionExecutionsInternalServerError
WithXRequestID adds the xRequestId to the list retention executions internal server error response
func (*ListRetentionExecutionsInternalServerError) WriteResponse ¶
func (o *ListRetentionExecutionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRetentionExecutionsOK ¶
type ListRetentionExecutionsOK struct { /*Link to previous page and next page */ Link string `json:"Link"` /*The total count of available items */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.RetentionExecution `json:"body,omitempty"` }
ListRetentionExecutionsOK Get a Retention execution successfully.
swagger:response listRetentionExecutionsOK
func NewListRetentionExecutionsOK ¶
func NewListRetentionExecutionsOK() *ListRetentionExecutionsOK
NewListRetentionExecutionsOK creates ListRetentionExecutionsOK with default headers values
func (*ListRetentionExecutionsOK) SetLink ¶
func (o *ListRetentionExecutionsOK) SetLink(link string)
SetLink sets the link to the list retention executions o k response
func (*ListRetentionExecutionsOK) SetPayload ¶
func (o *ListRetentionExecutionsOK) SetPayload(payload []*models.RetentionExecution)
SetPayload sets the payload to the list retention executions o k response
func (*ListRetentionExecutionsOK) SetXTotalCount ¶
func (o *ListRetentionExecutionsOK) SetXTotalCount(xTotalCount int64)
SetXTotalCount sets the xTotalCount to the list retention executions o k response
func (*ListRetentionExecutionsOK) WithLink ¶
func (o *ListRetentionExecutionsOK) WithLink(link string) *ListRetentionExecutionsOK
WithLink adds the link to the list retention executions o k response
func (*ListRetentionExecutionsOK) WithPayload ¶
func (o *ListRetentionExecutionsOK) WithPayload(payload []*models.RetentionExecution) *ListRetentionExecutionsOK
WithPayload adds the payload to the list retention executions o k response
func (*ListRetentionExecutionsOK) WithXTotalCount ¶
func (o *ListRetentionExecutionsOK) WithXTotalCount(xTotalCount int64) *ListRetentionExecutionsOK
WithXTotalCount adds the xTotalCount to the list retention executions o k response
func (*ListRetentionExecutionsOK) WriteResponse ¶
func (o *ListRetentionExecutionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRetentionExecutionsParams ¶
type ListRetentionExecutionsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Retention ID. Required: true In: path */ ID int64 /*The page number. In: query */ Page *int64 /*The size of per page. In: query */ PageSize *int64 }
ListRetentionExecutionsParams contains all the bound params for the list retention executions operation typically these are obtained from a http.Request
swagger:parameters listRetentionExecutions
func NewListRetentionExecutionsParams ¶
func NewListRetentionExecutionsParams() ListRetentionExecutionsParams
NewListRetentionExecutionsParams creates a new ListRetentionExecutionsParams object no default values defined in spec.
func (*ListRetentionExecutionsParams) BindRequest ¶
func (o *ListRetentionExecutionsParams) 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 NewListRetentionExecutionsParams() beforehand.
type ListRetentionExecutionsURL ¶
type ListRetentionExecutionsURL struct { ID int64 Page *int64 PageSize *int64 // contains filtered or unexported fields }
ListRetentionExecutionsURL generates an URL for the list retention executions operation
func (*ListRetentionExecutionsURL) Build ¶
func (o *ListRetentionExecutionsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListRetentionExecutionsURL) BuildFull ¶
func (o *ListRetentionExecutionsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListRetentionExecutionsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListRetentionExecutionsURL) SetBasePath ¶
func (o *ListRetentionExecutionsURL) 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 (*ListRetentionExecutionsURL) String ¶
func (o *ListRetentionExecutionsURL) String() string
String returns the string representation of the path with query string
func (*ListRetentionExecutionsURL) StringFull ¶
func (o *ListRetentionExecutionsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListRetentionExecutionsURL) WithBasePath ¶
func (o *ListRetentionExecutionsURL) WithBasePath(bp string) *ListRetentionExecutionsURL
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 ListRetentionExecutionsUnauthorized ¶
type ListRetentionExecutionsUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
ListRetentionExecutionsUnauthorized Unauthorized
swagger:response listRetentionExecutionsUnauthorized
func NewListRetentionExecutionsUnauthorized ¶
func NewListRetentionExecutionsUnauthorized() *ListRetentionExecutionsUnauthorized
NewListRetentionExecutionsUnauthorized creates ListRetentionExecutionsUnauthorized with default headers values
func (*ListRetentionExecutionsUnauthorized) SetPayload ¶
func (o *ListRetentionExecutionsUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the list retention executions unauthorized response
func (*ListRetentionExecutionsUnauthorized) SetXRequestID ¶
func (o *ListRetentionExecutionsUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the list retention executions unauthorized response
func (*ListRetentionExecutionsUnauthorized) WithPayload ¶
func (o *ListRetentionExecutionsUnauthorized) WithPayload(payload *models.Errors) *ListRetentionExecutionsUnauthorized
WithPayload adds the payload to the list retention executions unauthorized response
func (*ListRetentionExecutionsUnauthorized) WithXRequestID ¶
func (o *ListRetentionExecutionsUnauthorized) WithXRequestID(xRequestID string) *ListRetentionExecutionsUnauthorized
WithXRequestID adds the xRequestId to the list retention executions unauthorized response
func (*ListRetentionExecutionsUnauthorized) WriteResponse ¶
func (o *ListRetentionExecutionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRetentionTasks ¶
type ListRetentionTasks struct { Context *middleware.Context Handler ListRetentionTasksHandler }
ListRetentionTasks swagger:route GET /retentions/{id}/executions/{eid}/tasks Retention listRetentionTasks
Get Retention tasks ¶
Get Retention tasks, each repository as a task.
func NewListRetentionTasks ¶
func NewListRetentionTasks(ctx *middleware.Context, handler ListRetentionTasksHandler) *ListRetentionTasks
NewListRetentionTasks creates a new http.Handler for the list retention tasks operation
func (*ListRetentionTasks) ServeHTTP ¶
func (o *ListRetentionTasks) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListRetentionTasksForbidden ¶
type ListRetentionTasksForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
ListRetentionTasksForbidden Forbidden
swagger:response listRetentionTasksForbidden
func NewListRetentionTasksForbidden ¶
func NewListRetentionTasksForbidden() *ListRetentionTasksForbidden
NewListRetentionTasksForbidden creates ListRetentionTasksForbidden with default headers values
func (*ListRetentionTasksForbidden) SetPayload ¶
func (o *ListRetentionTasksForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the list retention tasks forbidden response
func (*ListRetentionTasksForbidden) SetXRequestID ¶
func (o *ListRetentionTasksForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the list retention tasks forbidden response
func (*ListRetentionTasksForbidden) WithPayload ¶
func (o *ListRetentionTasksForbidden) WithPayload(payload *models.Errors) *ListRetentionTasksForbidden
WithPayload adds the payload to the list retention tasks forbidden response
func (*ListRetentionTasksForbidden) WithXRequestID ¶
func (o *ListRetentionTasksForbidden) WithXRequestID(xRequestID string) *ListRetentionTasksForbidden
WithXRequestID adds the xRequestId to the list retention tasks forbidden response
func (*ListRetentionTasksForbidden) WriteResponse ¶
func (o *ListRetentionTasksForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRetentionTasksHandler ¶
type ListRetentionTasksHandler interface {
Handle(ListRetentionTasksParams, interface{}) middleware.Responder
}
ListRetentionTasksHandler interface for that can handle valid list retention tasks params
type ListRetentionTasksHandlerFunc ¶
type ListRetentionTasksHandlerFunc func(ListRetentionTasksParams, interface{}) middleware.Responder
ListRetentionTasksHandlerFunc turns a function with the right signature into a list retention tasks handler
func (ListRetentionTasksHandlerFunc) Handle ¶
func (fn ListRetentionTasksHandlerFunc) Handle(params ListRetentionTasksParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListRetentionTasksInternalServerError ¶
type ListRetentionTasksInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
ListRetentionTasksInternalServerError Internal server error
swagger:response listRetentionTasksInternalServerError
func NewListRetentionTasksInternalServerError ¶
func NewListRetentionTasksInternalServerError() *ListRetentionTasksInternalServerError
NewListRetentionTasksInternalServerError creates ListRetentionTasksInternalServerError with default headers values
func (*ListRetentionTasksInternalServerError) SetPayload ¶
func (o *ListRetentionTasksInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the list retention tasks internal server error response
func (*ListRetentionTasksInternalServerError) SetXRequestID ¶
func (o *ListRetentionTasksInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the list retention tasks internal server error response
func (*ListRetentionTasksInternalServerError) WithPayload ¶
func (o *ListRetentionTasksInternalServerError) WithPayload(payload *models.Errors) *ListRetentionTasksInternalServerError
WithPayload adds the payload to the list retention tasks internal server error response
func (*ListRetentionTasksInternalServerError) WithXRequestID ¶
func (o *ListRetentionTasksInternalServerError) WithXRequestID(xRequestID string) *ListRetentionTasksInternalServerError
WithXRequestID adds the xRequestId to the list retention tasks internal server error response
func (*ListRetentionTasksInternalServerError) WriteResponse ¶
func (o *ListRetentionTasksInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRetentionTasksOK ¶
type ListRetentionTasksOK struct { /*Link to previous page and next page */ Link string `json:"Link"` /*The total count of available items */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.RetentionExecutionTask `json:"body,omitempty"` }
ListRetentionTasksOK Get Retention job tasks successfully.
swagger:response listRetentionTasksOK
func NewListRetentionTasksOK ¶
func NewListRetentionTasksOK() *ListRetentionTasksOK
NewListRetentionTasksOK creates ListRetentionTasksOK with default headers values
func (*ListRetentionTasksOK) SetLink ¶
func (o *ListRetentionTasksOK) SetLink(link string)
SetLink sets the link to the list retention tasks o k response
func (*ListRetentionTasksOK) SetPayload ¶
func (o *ListRetentionTasksOK) SetPayload(payload []*models.RetentionExecutionTask)
SetPayload sets the payload to the list retention tasks o k response
func (*ListRetentionTasksOK) SetXTotalCount ¶
func (o *ListRetentionTasksOK) SetXTotalCount(xTotalCount int64)
SetXTotalCount sets the xTotalCount to the list retention tasks o k response
func (*ListRetentionTasksOK) WithLink ¶
func (o *ListRetentionTasksOK) WithLink(link string) *ListRetentionTasksOK
WithLink adds the link to the list retention tasks o k response
func (*ListRetentionTasksOK) WithPayload ¶
func (o *ListRetentionTasksOK) WithPayload(payload []*models.RetentionExecutionTask) *ListRetentionTasksOK
WithPayload adds the payload to the list retention tasks o k response
func (*ListRetentionTasksOK) WithXTotalCount ¶
func (o *ListRetentionTasksOK) WithXTotalCount(xTotalCount int64) *ListRetentionTasksOK
WithXTotalCount adds the xTotalCount to the list retention tasks o k response
func (*ListRetentionTasksOK) WriteResponse ¶
func (o *ListRetentionTasksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRetentionTasksParams ¶
type ListRetentionTasksParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Retention execution ID. Required: true In: path */ Eid int64 /*Retention ID. Required: true In: path */ ID int64 /*The page number. In: query */ Page *int64 /*The size of per page. In: query */ PageSize *int64 }
ListRetentionTasksParams contains all the bound params for the list retention tasks operation typically these are obtained from a http.Request
swagger:parameters listRetentionTasks
func NewListRetentionTasksParams ¶
func NewListRetentionTasksParams() ListRetentionTasksParams
NewListRetentionTasksParams creates a new ListRetentionTasksParams object no default values defined in spec.
func (*ListRetentionTasksParams) BindRequest ¶
func (o *ListRetentionTasksParams) 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 NewListRetentionTasksParams() beforehand.
type ListRetentionTasksURL ¶
type ListRetentionTasksURL struct { Eid int64 ID int64 Page *int64 PageSize *int64 // contains filtered or unexported fields }
ListRetentionTasksURL generates an URL for the list retention tasks operation
func (*ListRetentionTasksURL) Build ¶
func (o *ListRetentionTasksURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListRetentionTasksURL) BuildFull ¶
func (o *ListRetentionTasksURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListRetentionTasksURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListRetentionTasksURL) SetBasePath ¶
func (o *ListRetentionTasksURL) 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 (*ListRetentionTasksURL) String ¶
func (o *ListRetentionTasksURL) String() string
String returns the string representation of the path with query string
func (*ListRetentionTasksURL) StringFull ¶
func (o *ListRetentionTasksURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListRetentionTasksURL) WithBasePath ¶
func (o *ListRetentionTasksURL) WithBasePath(bp string) *ListRetentionTasksURL
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 ListRetentionTasksUnauthorized ¶
type ListRetentionTasksUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
ListRetentionTasksUnauthorized Unauthorized
swagger:response listRetentionTasksUnauthorized
func NewListRetentionTasksUnauthorized ¶
func NewListRetentionTasksUnauthorized() *ListRetentionTasksUnauthorized
NewListRetentionTasksUnauthorized creates ListRetentionTasksUnauthorized with default headers values
func (*ListRetentionTasksUnauthorized) SetPayload ¶
func (o *ListRetentionTasksUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the list retention tasks unauthorized response
func (*ListRetentionTasksUnauthorized) SetXRequestID ¶
func (o *ListRetentionTasksUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the list retention tasks unauthorized response
func (*ListRetentionTasksUnauthorized) WithPayload ¶
func (o *ListRetentionTasksUnauthorized) WithPayload(payload *models.Errors) *ListRetentionTasksUnauthorized
WithPayload adds the payload to the list retention tasks unauthorized response
func (*ListRetentionTasksUnauthorized) WithXRequestID ¶
func (o *ListRetentionTasksUnauthorized) WithXRequestID(xRequestID string) *ListRetentionTasksUnauthorized
WithXRequestID adds the xRequestId to the list retention tasks unauthorized response
func (*ListRetentionTasksUnauthorized) WriteResponse ¶
func (o *ListRetentionTasksUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type OperateRetentionExecution ¶
type OperateRetentionExecution struct { Context *middleware.Context Handler OperateRetentionExecutionHandler }
OperateRetentionExecution swagger:route PATCH /retentions/{id}/executions/{eid} Retention operateRetentionExecution
Stop a Retention execution ¶
Stop a Retention execution, only support "stop" action now.
func NewOperateRetentionExecution ¶
func NewOperateRetentionExecution(ctx *middleware.Context, handler OperateRetentionExecutionHandler) *OperateRetentionExecution
NewOperateRetentionExecution creates a new http.Handler for the operate retention execution operation
func (*OperateRetentionExecution) ServeHTTP ¶
func (o *OperateRetentionExecution) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type OperateRetentionExecutionBody ¶
type OperateRetentionExecutionBody struct { // action Action string `json:"action,omitempty"` }
OperateRetentionExecutionBody operate retention execution body swagger:model OperateRetentionExecutionBody
func (*OperateRetentionExecutionBody) MarshalBinary ¶
func (o *OperateRetentionExecutionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperateRetentionExecutionBody) UnmarshalBinary ¶
func (o *OperateRetentionExecutionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OperateRetentionExecutionForbidden ¶
type OperateRetentionExecutionForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
OperateRetentionExecutionForbidden Forbidden
swagger:response operateRetentionExecutionForbidden
func NewOperateRetentionExecutionForbidden ¶
func NewOperateRetentionExecutionForbidden() *OperateRetentionExecutionForbidden
NewOperateRetentionExecutionForbidden creates OperateRetentionExecutionForbidden with default headers values
func (*OperateRetentionExecutionForbidden) SetPayload ¶
func (o *OperateRetentionExecutionForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the operate retention execution forbidden response
func (*OperateRetentionExecutionForbidden) SetXRequestID ¶
func (o *OperateRetentionExecutionForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the operate retention execution forbidden response
func (*OperateRetentionExecutionForbidden) WithPayload ¶
func (o *OperateRetentionExecutionForbidden) WithPayload(payload *models.Errors) *OperateRetentionExecutionForbidden
WithPayload adds the payload to the operate retention execution forbidden response
func (*OperateRetentionExecutionForbidden) WithXRequestID ¶
func (o *OperateRetentionExecutionForbidden) WithXRequestID(xRequestID string) *OperateRetentionExecutionForbidden
WithXRequestID adds the xRequestId to the operate retention execution forbidden response
func (*OperateRetentionExecutionForbidden) WriteResponse ¶
func (o *OperateRetentionExecutionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type OperateRetentionExecutionHandler ¶
type OperateRetentionExecutionHandler interface {
Handle(OperateRetentionExecutionParams, interface{}) middleware.Responder
}
OperateRetentionExecutionHandler interface for that can handle valid operate retention execution params
type OperateRetentionExecutionHandlerFunc ¶
type OperateRetentionExecutionHandlerFunc func(OperateRetentionExecutionParams, interface{}) middleware.Responder
OperateRetentionExecutionHandlerFunc turns a function with the right signature into a operate retention execution handler
func (OperateRetentionExecutionHandlerFunc) Handle ¶
func (fn OperateRetentionExecutionHandlerFunc) Handle(params OperateRetentionExecutionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type OperateRetentionExecutionInternalServerError ¶
type OperateRetentionExecutionInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
OperateRetentionExecutionInternalServerError Internal server error
swagger:response operateRetentionExecutionInternalServerError
func NewOperateRetentionExecutionInternalServerError ¶
func NewOperateRetentionExecutionInternalServerError() *OperateRetentionExecutionInternalServerError
NewOperateRetentionExecutionInternalServerError creates OperateRetentionExecutionInternalServerError with default headers values
func (*OperateRetentionExecutionInternalServerError) SetPayload ¶
func (o *OperateRetentionExecutionInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the operate retention execution internal server error response
func (*OperateRetentionExecutionInternalServerError) SetXRequestID ¶
func (o *OperateRetentionExecutionInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the operate retention execution internal server error response
func (*OperateRetentionExecutionInternalServerError) WithPayload ¶
func (o *OperateRetentionExecutionInternalServerError) WithPayload(payload *models.Errors) *OperateRetentionExecutionInternalServerError
WithPayload adds the payload to the operate retention execution internal server error response
func (*OperateRetentionExecutionInternalServerError) WithXRequestID ¶
func (o *OperateRetentionExecutionInternalServerError) WithXRequestID(xRequestID string) *OperateRetentionExecutionInternalServerError
WithXRequestID adds the xRequestId to the operate retention execution internal server error response
func (*OperateRetentionExecutionInternalServerError) WriteResponse ¶
func (o *OperateRetentionExecutionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type OperateRetentionExecutionOK ¶
type OperateRetentionExecutionOK struct { }
OperateRetentionExecutionOK Stop a Retention job successfully.
swagger:response operateRetentionExecutionOK
func NewOperateRetentionExecutionOK ¶
func NewOperateRetentionExecutionOK() *OperateRetentionExecutionOK
NewOperateRetentionExecutionOK creates OperateRetentionExecutionOK with default headers values
func (*OperateRetentionExecutionOK) WriteResponse ¶
func (o *OperateRetentionExecutionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type OperateRetentionExecutionParams ¶
type OperateRetentionExecutionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The action, only support "stop" now. Required: true In: body */ Body OperateRetentionExecutionBody /*Retention execution ID. Required: true In: path */ Eid int64 /*Retention ID. Required: true In: path */ ID int64 }
OperateRetentionExecutionParams contains all the bound params for the operate retention execution operation typically these are obtained from a http.Request
swagger:parameters operateRetentionExecution
func NewOperateRetentionExecutionParams ¶
func NewOperateRetentionExecutionParams() OperateRetentionExecutionParams
NewOperateRetentionExecutionParams creates a new OperateRetentionExecutionParams object no default values defined in spec.
func (*OperateRetentionExecutionParams) BindRequest ¶
func (o *OperateRetentionExecutionParams) 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 NewOperateRetentionExecutionParams() beforehand.
type OperateRetentionExecutionURL ¶
type OperateRetentionExecutionURL struct { Eid int64 ID int64 // contains filtered or unexported fields }
OperateRetentionExecutionURL generates an URL for the operate retention execution operation
func (*OperateRetentionExecutionURL) Build ¶
func (o *OperateRetentionExecutionURL) Build() (*url.URL, error)
Build a url path and query string
func (*OperateRetentionExecutionURL) BuildFull ¶
func (o *OperateRetentionExecutionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*OperateRetentionExecutionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*OperateRetentionExecutionURL) SetBasePath ¶
func (o *OperateRetentionExecutionURL) 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 (*OperateRetentionExecutionURL) String ¶
func (o *OperateRetentionExecutionURL) String() string
String returns the string representation of the path with query string
func (*OperateRetentionExecutionURL) StringFull ¶
func (o *OperateRetentionExecutionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*OperateRetentionExecutionURL) WithBasePath ¶
func (o *OperateRetentionExecutionURL) WithBasePath(bp string) *OperateRetentionExecutionURL
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 OperateRetentionExecutionUnauthorized ¶
type OperateRetentionExecutionUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
OperateRetentionExecutionUnauthorized Unauthorized
swagger:response operateRetentionExecutionUnauthorized
func NewOperateRetentionExecutionUnauthorized ¶
func NewOperateRetentionExecutionUnauthorized() *OperateRetentionExecutionUnauthorized
NewOperateRetentionExecutionUnauthorized creates OperateRetentionExecutionUnauthorized with default headers values
func (*OperateRetentionExecutionUnauthorized) SetPayload ¶
func (o *OperateRetentionExecutionUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the operate retention execution unauthorized response
func (*OperateRetentionExecutionUnauthorized) SetXRequestID ¶
func (o *OperateRetentionExecutionUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the operate retention execution unauthorized response
func (*OperateRetentionExecutionUnauthorized) WithPayload ¶
func (o *OperateRetentionExecutionUnauthorized) WithPayload(payload *models.Errors) *OperateRetentionExecutionUnauthorized
WithPayload adds the payload to the operate retention execution unauthorized response
func (*OperateRetentionExecutionUnauthorized) WithXRequestID ¶
func (o *OperateRetentionExecutionUnauthorized) WithXRequestID(xRequestID string) *OperateRetentionExecutionUnauthorized
WithXRequestID adds the xRequestId to the operate retention execution unauthorized response
func (*OperateRetentionExecutionUnauthorized) WriteResponse ¶
func (o *OperateRetentionExecutionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TriggerRetentionExecution ¶
type TriggerRetentionExecution struct { Context *middleware.Context Handler TriggerRetentionExecutionHandler }
TriggerRetentionExecution swagger:route POST /retentions/{id}/executions Retention triggerRetentionExecution
Trigger a Retention Execution ¶
Trigger a Retention Execution, if dry_run is True, nothing would be deleted actually.
func NewTriggerRetentionExecution ¶
func NewTriggerRetentionExecution(ctx *middleware.Context, handler TriggerRetentionExecutionHandler) *TriggerRetentionExecution
NewTriggerRetentionExecution creates a new http.Handler for the trigger retention execution operation
func (*TriggerRetentionExecution) ServeHTTP ¶
func (o *TriggerRetentionExecution) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TriggerRetentionExecutionBody ¶
type TriggerRetentionExecutionBody struct { // dry run DryRun bool `json:"dry_run,omitempty"` }
TriggerRetentionExecutionBody trigger retention execution body swagger:model TriggerRetentionExecutionBody
func (*TriggerRetentionExecutionBody) MarshalBinary ¶
func (o *TriggerRetentionExecutionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TriggerRetentionExecutionBody) UnmarshalBinary ¶
func (o *TriggerRetentionExecutionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TriggerRetentionExecutionCreated ¶
type TriggerRetentionExecutionCreated 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"` }
TriggerRetentionExecutionCreated Created
swagger:response triggerRetentionExecutionCreated
func NewTriggerRetentionExecutionCreated ¶
func NewTriggerRetentionExecutionCreated() *TriggerRetentionExecutionCreated
NewTriggerRetentionExecutionCreated creates TriggerRetentionExecutionCreated with default headers values
func (*TriggerRetentionExecutionCreated) SetLocation ¶
func (o *TriggerRetentionExecutionCreated) SetLocation(location string)
SetLocation sets the location to the trigger retention execution created response
func (*TriggerRetentionExecutionCreated) SetXRequestID ¶
func (o *TriggerRetentionExecutionCreated) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the trigger retention execution created response
func (*TriggerRetentionExecutionCreated) WithLocation ¶
func (o *TriggerRetentionExecutionCreated) WithLocation(location string) *TriggerRetentionExecutionCreated
WithLocation adds the location to the trigger retention execution created response
func (*TriggerRetentionExecutionCreated) WithXRequestID ¶
func (o *TriggerRetentionExecutionCreated) WithXRequestID(xRequestID string) *TriggerRetentionExecutionCreated
WithXRequestID adds the xRequestId to the trigger retention execution created response
func (*TriggerRetentionExecutionCreated) WriteResponse ¶
func (o *TriggerRetentionExecutionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TriggerRetentionExecutionForbidden ¶
type TriggerRetentionExecutionForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
TriggerRetentionExecutionForbidden Forbidden
swagger:response triggerRetentionExecutionForbidden
func NewTriggerRetentionExecutionForbidden ¶
func NewTriggerRetentionExecutionForbidden() *TriggerRetentionExecutionForbidden
NewTriggerRetentionExecutionForbidden creates TriggerRetentionExecutionForbidden with default headers values
func (*TriggerRetentionExecutionForbidden) SetPayload ¶
func (o *TriggerRetentionExecutionForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the trigger retention execution forbidden response
func (*TriggerRetentionExecutionForbidden) SetXRequestID ¶
func (o *TriggerRetentionExecutionForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the trigger retention execution forbidden response
func (*TriggerRetentionExecutionForbidden) WithPayload ¶
func (o *TriggerRetentionExecutionForbidden) WithPayload(payload *models.Errors) *TriggerRetentionExecutionForbidden
WithPayload adds the payload to the trigger retention execution forbidden response
func (*TriggerRetentionExecutionForbidden) WithXRequestID ¶
func (o *TriggerRetentionExecutionForbidden) WithXRequestID(xRequestID string) *TriggerRetentionExecutionForbidden
WithXRequestID adds the xRequestId to the trigger retention execution forbidden response
func (*TriggerRetentionExecutionForbidden) WriteResponse ¶
func (o *TriggerRetentionExecutionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TriggerRetentionExecutionHandler ¶
type TriggerRetentionExecutionHandler interface {
Handle(TriggerRetentionExecutionParams, interface{}) middleware.Responder
}
TriggerRetentionExecutionHandler interface for that can handle valid trigger retention execution params
type TriggerRetentionExecutionHandlerFunc ¶
type TriggerRetentionExecutionHandlerFunc func(TriggerRetentionExecutionParams, interface{}) middleware.Responder
TriggerRetentionExecutionHandlerFunc turns a function with the right signature into a trigger retention execution handler
func (TriggerRetentionExecutionHandlerFunc) Handle ¶
func (fn TriggerRetentionExecutionHandlerFunc) Handle(params TriggerRetentionExecutionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type TriggerRetentionExecutionInternalServerError ¶
type TriggerRetentionExecutionInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
TriggerRetentionExecutionInternalServerError Internal server error
swagger:response triggerRetentionExecutionInternalServerError
func NewTriggerRetentionExecutionInternalServerError ¶
func NewTriggerRetentionExecutionInternalServerError() *TriggerRetentionExecutionInternalServerError
NewTriggerRetentionExecutionInternalServerError creates TriggerRetentionExecutionInternalServerError with default headers values
func (*TriggerRetentionExecutionInternalServerError) SetPayload ¶
func (o *TriggerRetentionExecutionInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the trigger retention execution internal server error response
func (*TriggerRetentionExecutionInternalServerError) SetXRequestID ¶
func (o *TriggerRetentionExecutionInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the trigger retention execution internal server error response
func (*TriggerRetentionExecutionInternalServerError) WithPayload ¶
func (o *TriggerRetentionExecutionInternalServerError) WithPayload(payload *models.Errors) *TriggerRetentionExecutionInternalServerError
WithPayload adds the payload to the trigger retention execution internal server error response
func (*TriggerRetentionExecutionInternalServerError) WithXRequestID ¶
func (o *TriggerRetentionExecutionInternalServerError) WithXRequestID(xRequestID string) *TriggerRetentionExecutionInternalServerError
WithXRequestID adds the xRequestId to the trigger retention execution internal server error response
func (*TriggerRetentionExecutionInternalServerError) WriteResponse ¶
func (o *TriggerRetentionExecutionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TriggerRetentionExecutionOK ¶
type TriggerRetentionExecutionOK struct { }
TriggerRetentionExecutionOK Trigger a Retention job successfully.
swagger:response triggerRetentionExecutionOK
func NewTriggerRetentionExecutionOK ¶
func NewTriggerRetentionExecutionOK() *TriggerRetentionExecutionOK
NewTriggerRetentionExecutionOK creates TriggerRetentionExecutionOK with default headers values
func (*TriggerRetentionExecutionOK) WriteResponse ¶
func (o *TriggerRetentionExecutionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TriggerRetentionExecutionParams ¶
type TriggerRetentionExecutionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body TriggerRetentionExecutionBody /*Retention ID. Required: true In: path */ ID int64 }
TriggerRetentionExecutionParams contains all the bound params for the trigger retention execution operation typically these are obtained from a http.Request
swagger:parameters triggerRetentionExecution
func NewTriggerRetentionExecutionParams ¶
func NewTriggerRetentionExecutionParams() TriggerRetentionExecutionParams
NewTriggerRetentionExecutionParams creates a new TriggerRetentionExecutionParams object no default values defined in spec.
func (*TriggerRetentionExecutionParams) BindRequest ¶
func (o *TriggerRetentionExecutionParams) 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 NewTriggerRetentionExecutionParams() beforehand.
type TriggerRetentionExecutionURL ¶
type TriggerRetentionExecutionURL struct { ID int64 // contains filtered or unexported fields }
TriggerRetentionExecutionURL generates an URL for the trigger retention execution operation
func (*TriggerRetentionExecutionURL) Build ¶
func (o *TriggerRetentionExecutionURL) Build() (*url.URL, error)
Build a url path and query string
func (*TriggerRetentionExecutionURL) BuildFull ¶
func (o *TriggerRetentionExecutionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TriggerRetentionExecutionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TriggerRetentionExecutionURL) SetBasePath ¶
func (o *TriggerRetentionExecutionURL) 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 (*TriggerRetentionExecutionURL) String ¶
func (o *TriggerRetentionExecutionURL) String() string
String returns the string representation of the path with query string
func (*TriggerRetentionExecutionURL) StringFull ¶
func (o *TriggerRetentionExecutionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TriggerRetentionExecutionURL) WithBasePath ¶
func (o *TriggerRetentionExecutionURL) WithBasePath(bp string) *TriggerRetentionExecutionURL
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 TriggerRetentionExecutionUnauthorized ¶
type TriggerRetentionExecutionUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
TriggerRetentionExecutionUnauthorized Unauthorized
swagger:response triggerRetentionExecutionUnauthorized
func NewTriggerRetentionExecutionUnauthorized ¶
func NewTriggerRetentionExecutionUnauthorized() *TriggerRetentionExecutionUnauthorized
NewTriggerRetentionExecutionUnauthorized creates TriggerRetentionExecutionUnauthorized with default headers values
func (*TriggerRetentionExecutionUnauthorized) SetPayload ¶
func (o *TriggerRetentionExecutionUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the trigger retention execution unauthorized response
func (*TriggerRetentionExecutionUnauthorized) SetXRequestID ¶
func (o *TriggerRetentionExecutionUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the trigger retention execution unauthorized response
func (*TriggerRetentionExecutionUnauthorized) WithPayload ¶
func (o *TriggerRetentionExecutionUnauthorized) WithPayload(payload *models.Errors) *TriggerRetentionExecutionUnauthorized
WithPayload adds the payload to the trigger retention execution unauthorized response
func (*TriggerRetentionExecutionUnauthorized) WithXRequestID ¶
func (o *TriggerRetentionExecutionUnauthorized) WithXRequestID(xRequestID string) *TriggerRetentionExecutionUnauthorized
WithXRequestID adds the xRequestId to the trigger retention execution unauthorized response
func (*TriggerRetentionExecutionUnauthorized) WriteResponse ¶
func (o *TriggerRetentionExecutionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateRetention ¶
type UpdateRetention struct { Context *middleware.Context Handler UpdateRetentionHandler }
UpdateRetention swagger:route PUT /retentions/{id} Retention updateRetention
Update Retention Policy ¶
Update Retention Policy, you can reference metadatas API for the policy model. You can check project metadatas to find whether a retention policy is already binded. This method should only be called when retention policy has already binded to project.
func NewUpdateRetention ¶
func NewUpdateRetention(ctx *middleware.Context, handler UpdateRetentionHandler) *UpdateRetention
NewUpdateRetention creates a new http.Handler for the update retention operation
func (*UpdateRetention) ServeHTTP ¶
func (o *UpdateRetention) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateRetentionForbidden ¶
type UpdateRetentionForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
UpdateRetentionForbidden Forbidden
swagger:response updateRetentionForbidden
func NewUpdateRetentionForbidden ¶
func NewUpdateRetentionForbidden() *UpdateRetentionForbidden
NewUpdateRetentionForbidden creates UpdateRetentionForbidden with default headers values
func (*UpdateRetentionForbidden) SetPayload ¶
func (o *UpdateRetentionForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update retention forbidden response
func (*UpdateRetentionForbidden) SetXRequestID ¶
func (o *UpdateRetentionForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update retention forbidden response
func (*UpdateRetentionForbidden) WithPayload ¶
func (o *UpdateRetentionForbidden) WithPayload(payload *models.Errors) *UpdateRetentionForbidden
WithPayload adds the payload to the update retention forbidden response
func (*UpdateRetentionForbidden) WithXRequestID ¶
func (o *UpdateRetentionForbidden) WithXRequestID(xRequestID string) *UpdateRetentionForbidden
WithXRequestID adds the xRequestId to the update retention forbidden response
func (*UpdateRetentionForbidden) WriteResponse ¶
func (o *UpdateRetentionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateRetentionHandler ¶
type UpdateRetentionHandler interface {
Handle(UpdateRetentionParams, interface{}) middleware.Responder
}
UpdateRetentionHandler interface for that can handle valid update retention params
type UpdateRetentionHandlerFunc ¶
type UpdateRetentionHandlerFunc func(UpdateRetentionParams, interface{}) middleware.Responder
UpdateRetentionHandlerFunc turns a function with the right signature into a update retention handler
func (UpdateRetentionHandlerFunc) Handle ¶
func (fn UpdateRetentionHandlerFunc) Handle(params UpdateRetentionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateRetentionInternalServerError ¶
type UpdateRetentionInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
UpdateRetentionInternalServerError Internal server error
swagger:response updateRetentionInternalServerError
func NewUpdateRetentionInternalServerError ¶
func NewUpdateRetentionInternalServerError() *UpdateRetentionInternalServerError
NewUpdateRetentionInternalServerError creates UpdateRetentionInternalServerError with default headers values
func (*UpdateRetentionInternalServerError) SetPayload ¶
func (o *UpdateRetentionInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update retention internal server error response
func (*UpdateRetentionInternalServerError) SetXRequestID ¶
func (o *UpdateRetentionInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update retention internal server error response
func (*UpdateRetentionInternalServerError) WithPayload ¶
func (o *UpdateRetentionInternalServerError) WithPayload(payload *models.Errors) *UpdateRetentionInternalServerError
WithPayload adds the payload to the update retention internal server error response
func (*UpdateRetentionInternalServerError) WithXRequestID ¶
func (o *UpdateRetentionInternalServerError) WithXRequestID(xRequestID string) *UpdateRetentionInternalServerError
WithXRequestID adds the xRequestId to the update retention internal server error response
func (*UpdateRetentionInternalServerError) WriteResponse ¶
func (o *UpdateRetentionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateRetentionOK ¶
type UpdateRetentionOK struct { }
UpdateRetentionOK Update Retention Policy successfully.
swagger:response updateRetentionOK
func NewUpdateRetentionOK ¶
func NewUpdateRetentionOK() *UpdateRetentionOK
NewUpdateRetentionOK creates UpdateRetentionOK with default headers values
func (*UpdateRetentionOK) WriteResponse ¶
func (o *UpdateRetentionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateRetentionParams ¶
type UpdateRetentionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Retention ID. Required: true In: path */ ID int64 /* Required: true In: body */ Policy *models.RetentionPolicy }
UpdateRetentionParams contains all the bound params for the update retention operation typically these are obtained from a http.Request
swagger:parameters updateRetention
func NewUpdateRetentionParams ¶
func NewUpdateRetentionParams() UpdateRetentionParams
NewUpdateRetentionParams creates a new UpdateRetentionParams object no default values defined in spec.
func (*UpdateRetentionParams) BindRequest ¶
func (o *UpdateRetentionParams) 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 NewUpdateRetentionParams() beforehand.
type UpdateRetentionURL ¶
type UpdateRetentionURL struct { ID int64 // contains filtered or unexported fields }
UpdateRetentionURL generates an URL for the update retention operation
func (*UpdateRetentionURL) Build ¶
func (o *UpdateRetentionURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateRetentionURL) BuildFull ¶
func (o *UpdateRetentionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateRetentionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateRetentionURL) SetBasePath ¶
func (o *UpdateRetentionURL) 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 (*UpdateRetentionURL) String ¶
func (o *UpdateRetentionURL) String() string
String returns the string representation of the path with query string
func (*UpdateRetentionURL) StringFull ¶
func (o *UpdateRetentionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateRetentionURL) WithBasePath ¶
func (o *UpdateRetentionURL) WithBasePath(bp string) *UpdateRetentionURL
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 UpdateRetentionUnauthorized ¶
type UpdateRetentionUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
UpdateRetentionUnauthorized Unauthorized
swagger:response updateRetentionUnauthorized
func NewUpdateRetentionUnauthorized ¶
func NewUpdateRetentionUnauthorized() *UpdateRetentionUnauthorized
NewUpdateRetentionUnauthorized creates UpdateRetentionUnauthorized with default headers values
func (*UpdateRetentionUnauthorized) SetPayload ¶
func (o *UpdateRetentionUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update retention unauthorized response
func (*UpdateRetentionUnauthorized) SetXRequestID ¶
func (o *UpdateRetentionUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update retention unauthorized response
func (*UpdateRetentionUnauthorized) WithPayload ¶
func (o *UpdateRetentionUnauthorized) WithPayload(payload *models.Errors) *UpdateRetentionUnauthorized
WithPayload adds the payload to the update retention unauthorized response
func (*UpdateRetentionUnauthorized) WithXRequestID ¶
func (o *UpdateRetentionUnauthorized) WithXRequestID(xRequestID string) *UpdateRetentionUnauthorized
WithXRequestID adds the xRequestId to the update retention unauthorized response
func (*UpdateRetentionUnauthorized) WriteResponse ¶
func (o *UpdateRetentionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_retention.go
- create_retention_parameters.go
- create_retention_responses.go
- create_retention_urlbuilder.go
- get_rentenition_metadata.go
- get_rentenition_metadata_parameters.go
- get_rentenition_metadata_responses.go
- get_rentenition_metadata_urlbuilder.go
- get_retention.go
- get_retention_parameters.go
- get_retention_responses.go
- get_retention_task_log.go
- get_retention_task_log_parameters.go
- get_retention_task_log_responses.go
- get_retention_task_log_urlbuilder.go
- get_retention_urlbuilder.go
- list_retention_executions.go
- list_retention_executions_parameters.go
- list_retention_executions_responses.go
- list_retention_executions_urlbuilder.go
- list_retention_tasks.go
- list_retention_tasks_parameters.go
- list_retention_tasks_responses.go
- list_retention_tasks_urlbuilder.go
- operate_retention_execution.go
- operate_retention_execution_parameters.go
- operate_retention_execution_responses.go
- operate_retention_execution_urlbuilder.go
- trigger_retention_execution.go
- trigger_retention_execution_parameters.go
- trigger_retention_execution_responses.go
- trigger_retention_execution_urlbuilder.go
- update_retention.go
- update_retention_parameters.go
- update_retention_responses.go
- update_retention_urlbuilder.go