Documentation
¶
Index ¶
- Constants
- type CreateGCSchedule
- type CreateGCScheduleBadRequest
- func (o *CreateGCScheduleBadRequest) SetPayload(payload *models.Errors)
- func (o *CreateGCScheduleBadRequest) SetXRequestID(xRequestID string)
- func (o *CreateGCScheduleBadRequest) WithPayload(payload *models.Errors) *CreateGCScheduleBadRequest
- func (o *CreateGCScheduleBadRequest) WithXRequestID(xRequestID string) *CreateGCScheduleBadRequest
- func (o *CreateGCScheduleBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateGCScheduleConflict
- func (o *CreateGCScheduleConflict) SetPayload(payload *models.Errors)
- func (o *CreateGCScheduleConflict) SetXRequestID(xRequestID string)
- func (o *CreateGCScheduleConflict) WithPayload(payload *models.Errors) *CreateGCScheduleConflict
- func (o *CreateGCScheduleConflict) WithXRequestID(xRequestID string) *CreateGCScheduleConflict
- func (o *CreateGCScheduleConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateGCScheduleCreated
- func (o *CreateGCScheduleCreated) SetLocation(location string)
- func (o *CreateGCScheduleCreated) SetXRequestID(xRequestID string)
- func (o *CreateGCScheduleCreated) WithLocation(location string) *CreateGCScheduleCreated
- func (o *CreateGCScheduleCreated) WithXRequestID(xRequestID string) *CreateGCScheduleCreated
- func (o *CreateGCScheduleCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateGCScheduleForbidden
- func (o *CreateGCScheduleForbidden) SetPayload(payload *models.Errors)
- func (o *CreateGCScheduleForbidden) SetXRequestID(xRequestID string)
- func (o *CreateGCScheduleForbidden) WithPayload(payload *models.Errors) *CreateGCScheduleForbidden
- func (o *CreateGCScheduleForbidden) WithXRequestID(xRequestID string) *CreateGCScheduleForbidden
- func (o *CreateGCScheduleForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateGCScheduleHandler
- type CreateGCScheduleHandlerFunc
- type CreateGCScheduleInternalServerError
- func (o *CreateGCScheduleInternalServerError) SetPayload(payload *models.Errors)
- func (o *CreateGCScheduleInternalServerError) SetXRequestID(xRequestID string)
- func (o *CreateGCScheduleInternalServerError) WithPayload(payload *models.Errors) *CreateGCScheduleInternalServerError
- func (o *CreateGCScheduleInternalServerError) WithXRequestID(xRequestID string) *CreateGCScheduleInternalServerError
- func (o *CreateGCScheduleInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateGCScheduleParams
- type CreateGCScheduleURL
- func (o *CreateGCScheduleURL) Build() (*url.URL, error)
- func (o *CreateGCScheduleURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateGCScheduleURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateGCScheduleURL) SetBasePath(bp string)
- func (o *CreateGCScheduleURL) String() string
- func (o *CreateGCScheduleURL) StringFull(scheme, host string) string
- func (o *CreateGCScheduleURL) WithBasePath(bp string) *CreateGCScheduleURL
- type CreateGCScheduleUnauthorized
- func (o *CreateGCScheduleUnauthorized) SetPayload(payload *models.Errors)
- func (o *CreateGCScheduleUnauthorized) SetXRequestID(xRequestID string)
- func (o *CreateGCScheduleUnauthorized) WithPayload(payload *models.Errors) *CreateGCScheduleUnauthorized
- func (o *CreateGCScheduleUnauthorized) WithXRequestID(xRequestID string) *CreateGCScheduleUnauthorized
- func (o *CreateGCScheduleUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGC
- type GetGCForbidden
- func (o *GetGCForbidden) SetPayload(payload *models.Errors)
- func (o *GetGCForbidden) SetXRequestID(xRequestID string)
- func (o *GetGCForbidden) WithPayload(payload *models.Errors) *GetGCForbidden
- func (o *GetGCForbidden) WithXRequestID(xRequestID string) *GetGCForbidden
- func (o *GetGCForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCHandler
- type GetGCHandlerFunc
- type GetGCHistory
- type GetGCHistoryForbidden
- func (o *GetGCHistoryForbidden) SetPayload(payload *models.Errors)
- func (o *GetGCHistoryForbidden) SetXRequestID(xRequestID string)
- func (o *GetGCHistoryForbidden) WithPayload(payload *models.Errors) *GetGCHistoryForbidden
- func (o *GetGCHistoryForbidden) WithXRequestID(xRequestID string) *GetGCHistoryForbidden
- func (o *GetGCHistoryForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCHistoryHandler
- type GetGCHistoryHandlerFunc
- type GetGCHistoryInternalServerError
- func (o *GetGCHistoryInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetGCHistoryInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetGCHistoryInternalServerError) WithPayload(payload *models.Errors) *GetGCHistoryInternalServerError
- func (o *GetGCHistoryInternalServerError) WithXRequestID(xRequestID string) *GetGCHistoryInternalServerError
- func (o *GetGCHistoryInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCHistoryOK
- func (o *GetGCHistoryOK) SetLink(link string)
- func (o *GetGCHistoryOK) SetPayload(payload []*models.GCHistory)
- func (o *GetGCHistoryOK) SetXTotalCount(xTotalCount int64)
- func (o *GetGCHistoryOK) WithLink(link string) *GetGCHistoryOK
- func (o *GetGCHistoryOK) WithPayload(payload []*models.GCHistory) *GetGCHistoryOK
- func (o *GetGCHistoryOK) WithXTotalCount(xTotalCount int64) *GetGCHistoryOK
- func (o *GetGCHistoryOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCHistoryParams
- type GetGCHistoryURL
- func (o *GetGCHistoryURL) Build() (*url.URL, error)
- func (o *GetGCHistoryURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetGCHistoryURL) Must(u *url.URL, err error) *url.URL
- func (o *GetGCHistoryURL) SetBasePath(bp string)
- func (o *GetGCHistoryURL) String() string
- func (o *GetGCHistoryURL) StringFull(scheme, host string) string
- func (o *GetGCHistoryURL) WithBasePath(bp string) *GetGCHistoryURL
- type GetGCHistoryUnauthorized
- func (o *GetGCHistoryUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetGCHistoryUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetGCHistoryUnauthorized) WithPayload(payload *models.Errors) *GetGCHistoryUnauthorized
- func (o *GetGCHistoryUnauthorized) WithXRequestID(xRequestID string) *GetGCHistoryUnauthorized
- func (o *GetGCHistoryUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCInternalServerError
- func (o *GetGCInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetGCInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetGCInternalServerError) WithPayload(payload *models.Errors) *GetGCInternalServerError
- func (o *GetGCInternalServerError) WithXRequestID(xRequestID string) *GetGCInternalServerError
- func (o *GetGCInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCLog
- type GetGCLogBadRequest
- func (o *GetGCLogBadRequest) SetPayload(payload *models.Errors)
- func (o *GetGCLogBadRequest) SetXRequestID(xRequestID string)
- func (o *GetGCLogBadRequest) WithPayload(payload *models.Errors) *GetGCLogBadRequest
- func (o *GetGCLogBadRequest) WithXRequestID(xRequestID string) *GetGCLogBadRequest
- func (o *GetGCLogBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCLogForbidden
- func (o *GetGCLogForbidden) SetPayload(payload *models.Errors)
- func (o *GetGCLogForbidden) SetXRequestID(xRequestID string)
- func (o *GetGCLogForbidden) WithPayload(payload *models.Errors) *GetGCLogForbidden
- func (o *GetGCLogForbidden) WithXRequestID(xRequestID string) *GetGCLogForbidden
- func (o *GetGCLogForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCLogHandler
- type GetGCLogHandlerFunc
- type GetGCLogInternalServerError
- func (o *GetGCLogInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetGCLogInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetGCLogInternalServerError) WithPayload(payload *models.Errors) *GetGCLogInternalServerError
- func (o *GetGCLogInternalServerError) WithXRequestID(xRequestID string) *GetGCLogInternalServerError
- func (o *GetGCLogInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCLogNotFound
- func (o *GetGCLogNotFound) SetPayload(payload *models.Errors)
- func (o *GetGCLogNotFound) SetXRequestID(xRequestID string)
- func (o *GetGCLogNotFound) WithPayload(payload *models.Errors) *GetGCLogNotFound
- func (o *GetGCLogNotFound) WithXRequestID(xRequestID string) *GetGCLogNotFound
- func (o *GetGCLogNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCLogOK
- type GetGCLogParams
- type GetGCLogURL
- func (o *GetGCLogURL) Build() (*url.URL, error)
- func (o *GetGCLogURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetGCLogURL) Must(u *url.URL, err error) *url.URL
- func (o *GetGCLogURL) SetBasePath(bp string)
- func (o *GetGCLogURL) String() string
- func (o *GetGCLogURL) StringFull(scheme, host string) string
- func (o *GetGCLogURL) WithBasePath(bp string) *GetGCLogURL
- type GetGCLogUnauthorized
- func (o *GetGCLogUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetGCLogUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetGCLogUnauthorized) WithPayload(payload *models.Errors) *GetGCLogUnauthorized
- func (o *GetGCLogUnauthorized) WithXRequestID(xRequestID string) *GetGCLogUnauthorized
- func (o *GetGCLogUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCNotFound
- func (o *GetGCNotFound) SetPayload(payload *models.Errors)
- func (o *GetGCNotFound) SetXRequestID(xRequestID string)
- func (o *GetGCNotFound) WithPayload(payload *models.Errors) *GetGCNotFound
- func (o *GetGCNotFound) WithXRequestID(xRequestID string) *GetGCNotFound
- func (o *GetGCNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCOK
- type GetGCParams
- type GetGCSchedule
- type GetGCScheduleForbidden
- func (o *GetGCScheduleForbidden) SetPayload(payload *models.Errors)
- func (o *GetGCScheduleForbidden) SetXRequestID(xRequestID string)
- func (o *GetGCScheduleForbidden) WithPayload(payload *models.Errors) *GetGCScheduleForbidden
- func (o *GetGCScheduleForbidden) WithXRequestID(xRequestID string) *GetGCScheduleForbidden
- func (o *GetGCScheduleForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCScheduleHandler
- type GetGCScheduleHandlerFunc
- type GetGCScheduleInternalServerError
- func (o *GetGCScheduleInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetGCScheduleInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetGCScheduleInternalServerError) WithPayload(payload *models.Errors) *GetGCScheduleInternalServerError
- func (o *GetGCScheduleInternalServerError) WithXRequestID(xRequestID string) *GetGCScheduleInternalServerError
- func (o *GetGCScheduleInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCScheduleOK
- type GetGCScheduleParams
- type GetGCScheduleURL
- func (o *GetGCScheduleURL) Build() (*url.URL, error)
- func (o *GetGCScheduleURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetGCScheduleURL) Must(u *url.URL, err error) *url.URL
- func (o *GetGCScheduleURL) SetBasePath(bp string)
- func (o *GetGCScheduleURL) String() string
- func (o *GetGCScheduleURL) StringFull(scheme, host string) string
- func (o *GetGCScheduleURL) WithBasePath(bp string) *GetGCScheduleURL
- type GetGCScheduleUnauthorized
- func (o *GetGCScheduleUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetGCScheduleUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetGCScheduleUnauthorized) WithPayload(payload *models.Errors) *GetGCScheduleUnauthorized
- func (o *GetGCScheduleUnauthorized) WithXRequestID(xRequestID string) *GetGCScheduleUnauthorized
- func (o *GetGCScheduleUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGCURL
- func (o *GetGCURL) Build() (*url.URL, error)
- func (o *GetGCURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetGCURL) Must(u *url.URL, err error) *url.URL
- func (o *GetGCURL) SetBasePath(bp string)
- func (o *GetGCURL) String() string
- func (o *GetGCURL) StringFull(scheme, host string) string
- func (o *GetGCURL) WithBasePath(bp string) *GetGCURL
- type GetGCUnauthorized
- func (o *GetGCUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetGCUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetGCUnauthorized) WithPayload(payload *models.Errors) *GetGCUnauthorized
- func (o *GetGCUnauthorized) WithXRequestID(xRequestID string) *GetGCUnauthorized
- func (o *GetGCUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateGCSchedule
- type UpdateGCScheduleBadRequest
- func (o *UpdateGCScheduleBadRequest) SetPayload(payload *models.Errors)
- func (o *UpdateGCScheduleBadRequest) SetXRequestID(xRequestID string)
- func (o *UpdateGCScheduleBadRequest) WithPayload(payload *models.Errors) *UpdateGCScheduleBadRequest
- func (o *UpdateGCScheduleBadRequest) WithXRequestID(xRequestID string) *UpdateGCScheduleBadRequest
- func (o *UpdateGCScheduleBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateGCScheduleForbidden
- func (o *UpdateGCScheduleForbidden) SetPayload(payload *models.Errors)
- func (o *UpdateGCScheduleForbidden) SetXRequestID(xRequestID string)
- func (o *UpdateGCScheduleForbidden) WithPayload(payload *models.Errors) *UpdateGCScheduleForbidden
- func (o *UpdateGCScheduleForbidden) WithXRequestID(xRequestID string) *UpdateGCScheduleForbidden
- func (o *UpdateGCScheduleForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateGCScheduleHandler
- type UpdateGCScheduleHandlerFunc
- type UpdateGCScheduleInternalServerError
- func (o *UpdateGCScheduleInternalServerError) SetPayload(payload *models.Errors)
- func (o *UpdateGCScheduleInternalServerError) SetXRequestID(xRequestID string)
- func (o *UpdateGCScheduleInternalServerError) WithPayload(payload *models.Errors) *UpdateGCScheduleInternalServerError
- func (o *UpdateGCScheduleInternalServerError) WithXRequestID(xRequestID string) *UpdateGCScheduleInternalServerError
- func (o *UpdateGCScheduleInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateGCScheduleOK
- type UpdateGCScheduleParams
- type UpdateGCScheduleURL
- func (o *UpdateGCScheduleURL) Build() (*url.URL, error)
- func (o *UpdateGCScheduleURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateGCScheduleURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateGCScheduleURL) SetBasePath(bp string)
- func (o *UpdateGCScheduleURL) String() string
- func (o *UpdateGCScheduleURL) StringFull(scheme, host string) string
- func (o *UpdateGCScheduleURL) WithBasePath(bp string) *UpdateGCScheduleURL
- type UpdateGCScheduleUnauthorized
- func (o *UpdateGCScheduleUnauthorized) SetPayload(payload *models.Errors)
- func (o *UpdateGCScheduleUnauthorized) SetXRequestID(xRequestID string)
- func (o *UpdateGCScheduleUnauthorized) WithPayload(payload *models.Errors) *UpdateGCScheduleUnauthorized
- func (o *UpdateGCScheduleUnauthorized) WithXRequestID(xRequestID string) *UpdateGCScheduleUnauthorized
- func (o *UpdateGCScheduleUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateGCScheduleBadRequestCode int = 400
CreateGCScheduleBadRequestCode is the HTTP code returned for type CreateGCScheduleBadRequest
const CreateGCScheduleConflictCode int = 409
CreateGCScheduleConflictCode is the HTTP code returned for type CreateGCScheduleConflict
const CreateGCScheduleCreatedCode int = 201
CreateGCScheduleCreatedCode is the HTTP code returned for type CreateGCScheduleCreated
const CreateGCScheduleForbiddenCode int = 403
CreateGCScheduleForbiddenCode is the HTTP code returned for type CreateGCScheduleForbidden
const CreateGCScheduleInternalServerErrorCode int = 500
CreateGCScheduleInternalServerErrorCode is the HTTP code returned for type CreateGCScheduleInternalServerError
CreateGCScheduleUnauthorizedCode is the HTTP code returned for type CreateGCScheduleUnauthorized
const GetGCForbiddenCode int = 403
GetGCForbiddenCode is the HTTP code returned for type GetGCForbidden
const GetGCHistoryForbiddenCode int = 403
GetGCHistoryForbiddenCode is the HTTP code returned for type GetGCHistoryForbidden
const GetGCHistoryInternalServerErrorCode int = 500
GetGCHistoryInternalServerErrorCode is the HTTP code returned for type GetGCHistoryInternalServerError
const GetGCHistoryOKCode int = 200
GetGCHistoryOKCode is the HTTP code returned for type GetGCHistoryOK
GetGCHistoryUnauthorizedCode is the HTTP code returned for type GetGCHistoryUnauthorized
const GetGCInternalServerErrorCode int = 500
GetGCInternalServerErrorCode is the HTTP code returned for type GetGCInternalServerError
const GetGCLogBadRequestCode int = 400
GetGCLogBadRequestCode is the HTTP code returned for type GetGCLogBadRequest
const GetGCLogForbiddenCode int = 403
GetGCLogForbiddenCode is the HTTP code returned for type GetGCLogForbidden
const GetGCLogInternalServerErrorCode int = 500
GetGCLogInternalServerErrorCode is the HTTP code returned for type GetGCLogInternalServerError
const GetGCLogNotFoundCode int = 404
GetGCLogNotFoundCode is the HTTP code returned for type GetGCLogNotFound
const GetGCLogOKCode int = 200
GetGCLogOKCode is the HTTP code returned for type GetGCLogOK
GetGCLogUnauthorizedCode is the HTTP code returned for type GetGCLogUnauthorized
const GetGCNotFoundCode int = 404
GetGCNotFoundCode is the HTTP code returned for type GetGCNotFound
const GetGCOKCode int = 200
GetGCOKCode is the HTTP code returned for type GetGCOK
const GetGCScheduleForbiddenCode int = 403
GetGCScheduleForbiddenCode is the HTTP code returned for type GetGCScheduleForbidden
const GetGCScheduleInternalServerErrorCode int = 500
GetGCScheduleInternalServerErrorCode is the HTTP code returned for type GetGCScheduleInternalServerError
const GetGCScheduleOKCode int = 200
GetGCScheduleOKCode is the HTTP code returned for type GetGCScheduleOK
GetGCScheduleUnauthorizedCode is the HTTP code returned for type GetGCScheduleUnauthorized
GetGCUnauthorizedCode is the HTTP code returned for type GetGCUnauthorized
const UpdateGCScheduleBadRequestCode int = 400
UpdateGCScheduleBadRequestCode is the HTTP code returned for type UpdateGCScheduleBadRequest
const UpdateGCScheduleForbiddenCode int = 403
UpdateGCScheduleForbiddenCode is the HTTP code returned for type UpdateGCScheduleForbidden
const UpdateGCScheduleInternalServerErrorCode int = 500
UpdateGCScheduleInternalServerErrorCode is the HTTP code returned for type UpdateGCScheduleInternalServerError
const UpdateGCScheduleOKCode int = 200
UpdateGCScheduleOKCode is the HTTP code returned for type UpdateGCScheduleOK
UpdateGCScheduleUnauthorizedCode is the HTTP code returned for type UpdateGCScheduleUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateGCSchedule ¶
type CreateGCSchedule struct { Context *middleware.Context Handler CreateGCScheduleHandler }
CreateGCSchedule swagger:route POST /system/gc/schedule gc createGcSchedule
Create a gc schedule.
This endpoint is for update gc schedule.
func NewCreateGCSchedule ¶
func NewCreateGCSchedule(ctx *middleware.Context, handler CreateGCScheduleHandler) *CreateGCSchedule
NewCreateGCSchedule creates a new http.Handler for the create GC schedule operation
func (*CreateGCSchedule) ServeHTTP ¶
func (o *CreateGCSchedule) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateGCScheduleBadRequest ¶
type CreateGCScheduleBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
CreateGCScheduleBadRequest Bad request
swagger:response createGcScheduleBadRequest
func NewCreateGCScheduleBadRequest ¶
func NewCreateGCScheduleBadRequest() *CreateGCScheduleBadRequest
NewCreateGCScheduleBadRequest creates CreateGCScheduleBadRequest with default headers values
func (*CreateGCScheduleBadRequest) SetPayload ¶
func (o *CreateGCScheduleBadRequest) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create Gc schedule bad request response
func (*CreateGCScheduleBadRequest) SetXRequestID ¶
func (o *CreateGCScheduleBadRequest) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create Gc schedule bad request response
func (*CreateGCScheduleBadRequest) WithPayload ¶
func (o *CreateGCScheduleBadRequest) WithPayload(payload *models.Errors) *CreateGCScheduleBadRequest
WithPayload adds the payload to the create Gc schedule bad request response
func (*CreateGCScheduleBadRequest) WithXRequestID ¶
func (o *CreateGCScheduleBadRequest) WithXRequestID(xRequestID string) *CreateGCScheduleBadRequest
WithXRequestID adds the xRequestId to the create Gc schedule bad request response
func (*CreateGCScheduleBadRequest) WriteResponse ¶
func (o *CreateGCScheduleBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateGCScheduleConflict ¶
type CreateGCScheduleConflict struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
CreateGCScheduleConflict Conflict
swagger:response createGcScheduleConflict
func NewCreateGCScheduleConflict ¶
func NewCreateGCScheduleConflict() *CreateGCScheduleConflict
NewCreateGCScheduleConflict creates CreateGCScheduleConflict with default headers values
func (*CreateGCScheduleConflict) SetPayload ¶
func (o *CreateGCScheduleConflict) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create Gc schedule conflict response
func (*CreateGCScheduleConflict) SetXRequestID ¶
func (o *CreateGCScheduleConflict) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create Gc schedule conflict response
func (*CreateGCScheduleConflict) WithPayload ¶
func (o *CreateGCScheduleConflict) WithPayload(payload *models.Errors) *CreateGCScheduleConflict
WithPayload adds the payload to the create Gc schedule conflict response
func (*CreateGCScheduleConflict) WithXRequestID ¶
func (o *CreateGCScheduleConflict) WithXRequestID(xRequestID string) *CreateGCScheduleConflict
WithXRequestID adds the xRequestId to the create Gc schedule conflict response
func (*CreateGCScheduleConflict) WriteResponse ¶
func (o *CreateGCScheduleConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateGCScheduleCreated ¶
type CreateGCScheduleCreated 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"` }
CreateGCScheduleCreated Created
swagger:response createGcScheduleCreated
func NewCreateGCScheduleCreated ¶
func NewCreateGCScheduleCreated() *CreateGCScheduleCreated
NewCreateGCScheduleCreated creates CreateGCScheduleCreated with default headers values
func (*CreateGCScheduleCreated) SetLocation ¶
func (o *CreateGCScheduleCreated) SetLocation(location string)
SetLocation sets the location to the create Gc schedule created response
func (*CreateGCScheduleCreated) SetXRequestID ¶
func (o *CreateGCScheduleCreated) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create Gc schedule created response
func (*CreateGCScheduleCreated) WithLocation ¶
func (o *CreateGCScheduleCreated) WithLocation(location string) *CreateGCScheduleCreated
WithLocation adds the location to the create Gc schedule created response
func (*CreateGCScheduleCreated) WithXRequestID ¶
func (o *CreateGCScheduleCreated) WithXRequestID(xRequestID string) *CreateGCScheduleCreated
WithXRequestID adds the xRequestId to the create Gc schedule created response
func (*CreateGCScheduleCreated) WriteResponse ¶
func (o *CreateGCScheduleCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateGCScheduleForbidden ¶
type CreateGCScheduleForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
CreateGCScheduleForbidden Forbidden
swagger:response createGcScheduleForbidden
func NewCreateGCScheduleForbidden ¶
func NewCreateGCScheduleForbidden() *CreateGCScheduleForbidden
NewCreateGCScheduleForbidden creates CreateGCScheduleForbidden with default headers values
func (*CreateGCScheduleForbidden) SetPayload ¶
func (o *CreateGCScheduleForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create Gc schedule forbidden response
func (*CreateGCScheduleForbidden) SetXRequestID ¶
func (o *CreateGCScheduleForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create Gc schedule forbidden response
func (*CreateGCScheduleForbidden) WithPayload ¶
func (o *CreateGCScheduleForbidden) WithPayload(payload *models.Errors) *CreateGCScheduleForbidden
WithPayload adds the payload to the create Gc schedule forbidden response
func (*CreateGCScheduleForbidden) WithXRequestID ¶
func (o *CreateGCScheduleForbidden) WithXRequestID(xRequestID string) *CreateGCScheduleForbidden
WithXRequestID adds the xRequestId to the create Gc schedule forbidden response
func (*CreateGCScheduleForbidden) WriteResponse ¶
func (o *CreateGCScheduleForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateGCScheduleHandler ¶
type CreateGCScheduleHandler interface {
Handle(CreateGCScheduleParams, interface{}) middleware.Responder
}
CreateGCScheduleHandler interface for that can handle valid create GC schedule params
type CreateGCScheduleHandlerFunc ¶
type CreateGCScheduleHandlerFunc func(CreateGCScheduleParams, interface{}) middleware.Responder
CreateGCScheduleHandlerFunc turns a function with the right signature into a create GC schedule handler
func (CreateGCScheduleHandlerFunc) Handle ¶
func (fn CreateGCScheduleHandlerFunc) Handle(params CreateGCScheduleParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateGCScheduleInternalServerError ¶
type CreateGCScheduleInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
CreateGCScheduleInternalServerError Internal server error
swagger:response createGcScheduleInternalServerError
func NewCreateGCScheduleInternalServerError ¶
func NewCreateGCScheduleInternalServerError() *CreateGCScheduleInternalServerError
NewCreateGCScheduleInternalServerError creates CreateGCScheduleInternalServerError with default headers values
func (*CreateGCScheduleInternalServerError) SetPayload ¶
func (o *CreateGCScheduleInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create Gc schedule internal server error response
func (*CreateGCScheduleInternalServerError) SetXRequestID ¶
func (o *CreateGCScheduleInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create Gc schedule internal server error response
func (*CreateGCScheduleInternalServerError) WithPayload ¶
func (o *CreateGCScheduleInternalServerError) WithPayload(payload *models.Errors) *CreateGCScheduleInternalServerError
WithPayload adds the payload to the create Gc schedule internal server error response
func (*CreateGCScheduleInternalServerError) WithXRequestID ¶
func (o *CreateGCScheduleInternalServerError) WithXRequestID(xRequestID string) *CreateGCScheduleInternalServerError
WithXRequestID adds the xRequestId to the create Gc schedule internal server error response
func (*CreateGCScheduleInternalServerError) WriteResponse ¶
func (o *CreateGCScheduleInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateGCScheduleParams ¶
type CreateGCScheduleParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Updates of gc's schedule. Required: true In: body */ Schedule *models.Schedule }
CreateGCScheduleParams contains all the bound params for the create GC schedule operation typically these are obtained from a http.Request
swagger:parameters createGCSchedule
func NewCreateGCScheduleParams ¶
func NewCreateGCScheduleParams() CreateGCScheduleParams
NewCreateGCScheduleParams creates a new CreateGCScheduleParams object no default values defined in spec.
func (*CreateGCScheduleParams) BindRequest ¶
func (o *CreateGCScheduleParams) 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 NewCreateGCScheduleParams() beforehand.
type CreateGCScheduleURL ¶
type CreateGCScheduleURL struct {
// contains filtered or unexported fields
}
CreateGCScheduleURL generates an URL for the create GC schedule operation
func (*CreateGCScheduleURL) Build ¶
func (o *CreateGCScheduleURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateGCScheduleURL) BuildFull ¶
func (o *CreateGCScheduleURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateGCScheduleURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateGCScheduleURL) SetBasePath ¶
func (o *CreateGCScheduleURL) 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 (*CreateGCScheduleURL) String ¶
func (o *CreateGCScheduleURL) String() string
String returns the string representation of the path with query string
func (*CreateGCScheduleURL) StringFull ¶
func (o *CreateGCScheduleURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateGCScheduleURL) WithBasePath ¶
func (o *CreateGCScheduleURL) WithBasePath(bp string) *CreateGCScheduleURL
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 CreateGCScheduleUnauthorized ¶
type CreateGCScheduleUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
CreateGCScheduleUnauthorized Unauthorized
swagger:response createGcScheduleUnauthorized
func NewCreateGCScheduleUnauthorized ¶
func NewCreateGCScheduleUnauthorized() *CreateGCScheduleUnauthorized
NewCreateGCScheduleUnauthorized creates CreateGCScheduleUnauthorized with default headers values
func (*CreateGCScheduleUnauthorized) SetPayload ¶
func (o *CreateGCScheduleUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the create Gc schedule unauthorized response
func (*CreateGCScheduleUnauthorized) SetXRequestID ¶
func (o *CreateGCScheduleUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the create Gc schedule unauthorized response
func (*CreateGCScheduleUnauthorized) WithPayload ¶
func (o *CreateGCScheduleUnauthorized) WithPayload(payload *models.Errors) *CreateGCScheduleUnauthorized
WithPayload adds the payload to the create Gc schedule unauthorized response
func (*CreateGCScheduleUnauthorized) WithXRequestID ¶
func (o *CreateGCScheduleUnauthorized) WithXRequestID(xRequestID string) *CreateGCScheduleUnauthorized
WithXRequestID adds the xRequestId to the create Gc schedule unauthorized response
func (*CreateGCScheduleUnauthorized) WriteResponse ¶
func (o *CreateGCScheduleUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGC ¶
type GetGC struct { Context *middleware.Context Handler GetGCHandler }
GetGC swagger:route GET /system/gc/{gc_id} gc getGc
Get gc status.
This endpoint let user get gc status filtered by specific ID.
func NewGetGC ¶
func NewGetGC(ctx *middleware.Context, handler GetGCHandler) *GetGC
NewGetGC creates a new http.Handler for the get GC operation
type GetGCForbidden ¶
type GetGCForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetGCForbidden Forbidden
swagger:response getGcForbidden
func NewGetGCForbidden ¶
func NewGetGCForbidden() *GetGCForbidden
NewGetGCForbidden creates GetGCForbidden with default headers values
func (*GetGCForbidden) SetPayload ¶
func (o *GetGCForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc forbidden response
func (*GetGCForbidden) SetXRequestID ¶
func (o *GetGCForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc forbidden response
func (*GetGCForbidden) WithPayload ¶
func (o *GetGCForbidden) WithPayload(payload *models.Errors) *GetGCForbidden
WithPayload adds the payload to the get Gc forbidden response
func (*GetGCForbidden) WithXRequestID ¶
func (o *GetGCForbidden) WithXRequestID(xRequestID string) *GetGCForbidden
WithXRequestID adds the xRequestId to the get Gc forbidden response
func (*GetGCForbidden) WriteResponse ¶
func (o *GetGCForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCHandler ¶
type GetGCHandler interface {
Handle(GetGCParams, interface{}) middleware.Responder
}
GetGCHandler interface for that can handle valid get GC params
type GetGCHandlerFunc ¶
type GetGCHandlerFunc func(GetGCParams, interface{}) middleware.Responder
GetGCHandlerFunc turns a function with the right signature into a get GC handler
func (GetGCHandlerFunc) Handle ¶
func (fn GetGCHandlerFunc) Handle(params GetGCParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetGCHistory ¶
type GetGCHistory struct { Context *middleware.Context Handler GetGCHistoryHandler }
GetGCHistory swagger:route GET /system/gc gc getGcHistory
Get gc results.
This endpoint let user get gc execution history.
func NewGetGCHistory ¶
func NewGetGCHistory(ctx *middleware.Context, handler GetGCHistoryHandler) *GetGCHistory
NewGetGCHistory creates a new http.Handler for the get GC history operation
func (*GetGCHistory) ServeHTTP ¶
func (o *GetGCHistory) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetGCHistoryForbidden ¶
type GetGCHistoryForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetGCHistoryForbidden Forbidden
swagger:response getGcHistoryForbidden
func NewGetGCHistoryForbidden ¶
func NewGetGCHistoryForbidden() *GetGCHistoryForbidden
NewGetGCHistoryForbidden creates GetGCHistoryForbidden with default headers values
func (*GetGCHistoryForbidden) SetPayload ¶
func (o *GetGCHistoryForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc history forbidden response
func (*GetGCHistoryForbidden) SetXRequestID ¶
func (o *GetGCHistoryForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc history forbidden response
func (*GetGCHistoryForbidden) WithPayload ¶
func (o *GetGCHistoryForbidden) WithPayload(payload *models.Errors) *GetGCHistoryForbidden
WithPayload adds the payload to the get Gc history forbidden response
func (*GetGCHistoryForbidden) WithXRequestID ¶
func (o *GetGCHistoryForbidden) WithXRequestID(xRequestID string) *GetGCHistoryForbidden
WithXRequestID adds the xRequestId to the get Gc history forbidden response
func (*GetGCHistoryForbidden) WriteResponse ¶
func (o *GetGCHistoryForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCHistoryHandler ¶
type GetGCHistoryHandler interface {
Handle(GetGCHistoryParams, interface{}) middleware.Responder
}
GetGCHistoryHandler interface for that can handle valid get GC history params
type GetGCHistoryHandlerFunc ¶
type GetGCHistoryHandlerFunc func(GetGCHistoryParams, interface{}) middleware.Responder
GetGCHistoryHandlerFunc turns a function with the right signature into a get GC history handler
func (GetGCHistoryHandlerFunc) Handle ¶
func (fn GetGCHistoryHandlerFunc) Handle(params GetGCHistoryParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetGCHistoryInternalServerError ¶
type GetGCHistoryInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetGCHistoryInternalServerError Internal server error
swagger:response getGcHistoryInternalServerError
func NewGetGCHistoryInternalServerError ¶
func NewGetGCHistoryInternalServerError() *GetGCHistoryInternalServerError
NewGetGCHistoryInternalServerError creates GetGCHistoryInternalServerError with default headers values
func (*GetGCHistoryInternalServerError) SetPayload ¶
func (o *GetGCHistoryInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc history internal server error response
func (*GetGCHistoryInternalServerError) SetXRequestID ¶
func (o *GetGCHistoryInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc history internal server error response
func (*GetGCHistoryInternalServerError) WithPayload ¶
func (o *GetGCHistoryInternalServerError) WithPayload(payload *models.Errors) *GetGCHistoryInternalServerError
WithPayload adds the payload to the get Gc history internal server error response
func (*GetGCHistoryInternalServerError) WithXRequestID ¶
func (o *GetGCHistoryInternalServerError) WithXRequestID(xRequestID string) *GetGCHistoryInternalServerError
WithXRequestID adds the xRequestId to the get Gc history internal server error response
func (*GetGCHistoryInternalServerError) WriteResponse ¶
func (o *GetGCHistoryInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCHistoryOK ¶
type GetGCHistoryOK struct { /*Link refers to the previous page and next page */ Link string `json:"Link"` /*The total count of history */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.GCHistory `json:"body,omitempty"` }
GetGCHistoryOK Get gc results successfully.
swagger:response getGcHistoryOK
func NewGetGCHistoryOK ¶
func NewGetGCHistoryOK() *GetGCHistoryOK
NewGetGCHistoryOK creates GetGCHistoryOK with default headers values
func (*GetGCHistoryOK) SetLink ¶
func (o *GetGCHistoryOK) SetLink(link string)
SetLink sets the link to the get Gc history o k response
func (*GetGCHistoryOK) SetPayload ¶
func (o *GetGCHistoryOK) SetPayload(payload []*models.GCHistory)
SetPayload sets the payload to the get Gc history o k response
func (*GetGCHistoryOK) SetXTotalCount ¶
func (o *GetGCHistoryOK) SetXTotalCount(xTotalCount int64)
SetXTotalCount sets the xTotalCount to the get Gc history o k response
func (*GetGCHistoryOK) WithLink ¶
func (o *GetGCHistoryOK) WithLink(link string) *GetGCHistoryOK
WithLink adds the link to the get Gc history o k response
func (*GetGCHistoryOK) WithPayload ¶
func (o *GetGCHistoryOK) WithPayload(payload []*models.GCHistory) *GetGCHistoryOK
WithPayload adds the payload to the get Gc history o k response
func (*GetGCHistoryOK) WithXTotalCount ¶
func (o *GetGCHistoryOK) WithXTotalCount(xTotalCount int64) *GetGCHistoryOK
WithXTotalCount adds the xTotalCount to the get Gc history o k response
func (*GetGCHistoryOK) WriteResponse ¶
func (o *GetGCHistoryOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCHistoryParams ¶
type GetGCHistoryParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The page number In: query Default: 1 */ Page *int64 /*The size of per page Maximum: 100 In: query Default: 10 */ PageSize *int64 /*Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max] In: query */ Q *string }
GetGCHistoryParams contains all the bound params for the get GC history operation typically these are obtained from a http.Request
swagger:parameters getGCHistory
func NewGetGCHistoryParams ¶
func NewGetGCHistoryParams() GetGCHistoryParams
NewGetGCHistoryParams creates a new GetGCHistoryParams object with the default values initialized.
func (*GetGCHistoryParams) BindRequest ¶
func (o *GetGCHistoryParams) 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 NewGetGCHistoryParams() beforehand.
type GetGCHistoryURL ¶
type GetGCHistoryURL struct { Page *int64 PageSize *int64 Q *string // contains filtered or unexported fields }
GetGCHistoryURL generates an URL for the get GC history operation
func (*GetGCHistoryURL) Build ¶
func (o *GetGCHistoryURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetGCHistoryURL) BuildFull ¶
func (o *GetGCHistoryURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetGCHistoryURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetGCHistoryURL) SetBasePath ¶
func (o *GetGCHistoryURL) 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 (*GetGCHistoryURL) String ¶
func (o *GetGCHistoryURL) String() string
String returns the string representation of the path with query string
func (*GetGCHistoryURL) StringFull ¶
func (o *GetGCHistoryURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetGCHistoryURL) WithBasePath ¶
func (o *GetGCHistoryURL) WithBasePath(bp string) *GetGCHistoryURL
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 GetGCHistoryUnauthorized ¶
type GetGCHistoryUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
GetGCHistoryUnauthorized Unauthorized
swagger:response getGcHistoryUnauthorized
func NewGetGCHistoryUnauthorized ¶
func NewGetGCHistoryUnauthorized() *GetGCHistoryUnauthorized
NewGetGCHistoryUnauthorized creates GetGCHistoryUnauthorized with default headers values
func (*GetGCHistoryUnauthorized) SetPayload ¶
func (o *GetGCHistoryUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc history unauthorized response
func (*GetGCHistoryUnauthorized) SetXRequestID ¶
func (o *GetGCHistoryUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc history unauthorized response
func (*GetGCHistoryUnauthorized) WithPayload ¶
func (o *GetGCHistoryUnauthorized) WithPayload(payload *models.Errors) *GetGCHistoryUnauthorized
WithPayload adds the payload to the get Gc history unauthorized response
func (*GetGCHistoryUnauthorized) WithXRequestID ¶
func (o *GetGCHistoryUnauthorized) WithXRequestID(xRequestID string) *GetGCHistoryUnauthorized
WithXRequestID adds the xRequestId to the get Gc history unauthorized response
func (*GetGCHistoryUnauthorized) WriteResponse ¶
func (o *GetGCHistoryUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCInternalServerError ¶
type GetGCInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetGCInternalServerError Internal server error
swagger:response getGcInternalServerError
func NewGetGCInternalServerError ¶
func NewGetGCInternalServerError() *GetGCInternalServerError
NewGetGCInternalServerError creates GetGCInternalServerError with default headers values
func (*GetGCInternalServerError) SetPayload ¶
func (o *GetGCInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc internal server error response
func (*GetGCInternalServerError) SetXRequestID ¶
func (o *GetGCInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc internal server error response
func (*GetGCInternalServerError) WithPayload ¶
func (o *GetGCInternalServerError) WithPayload(payload *models.Errors) *GetGCInternalServerError
WithPayload adds the payload to the get Gc internal server error response
func (*GetGCInternalServerError) WithXRequestID ¶
func (o *GetGCInternalServerError) WithXRequestID(xRequestID string) *GetGCInternalServerError
WithXRequestID adds the xRequestId to the get Gc internal server error response
func (*GetGCInternalServerError) WriteResponse ¶
func (o *GetGCInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCLog ¶
type GetGCLog struct { Context *middleware.Context Handler GetGCLogHandler }
GetGCLog swagger:route GET /system/gc/{gc_id}/log gc getGcLog
Get gc job log.
This endpoint let user get gc job logs filtered by specific ID.
func NewGetGCLog ¶
func NewGetGCLog(ctx *middleware.Context, handler GetGCLogHandler) *GetGCLog
NewGetGCLog creates a new http.Handler for the get GC log operation
type GetGCLogBadRequest ¶
type GetGCLogBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetGCLogBadRequest Bad request
swagger:response getGcLogBadRequest
func NewGetGCLogBadRequest ¶
func NewGetGCLogBadRequest() *GetGCLogBadRequest
NewGetGCLogBadRequest creates GetGCLogBadRequest with default headers values
func (*GetGCLogBadRequest) SetPayload ¶
func (o *GetGCLogBadRequest) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc log bad request response
func (*GetGCLogBadRequest) SetXRequestID ¶
func (o *GetGCLogBadRequest) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc log bad request response
func (*GetGCLogBadRequest) WithPayload ¶
func (o *GetGCLogBadRequest) WithPayload(payload *models.Errors) *GetGCLogBadRequest
WithPayload adds the payload to the get Gc log bad request response
func (*GetGCLogBadRequest) WithXRequestID ¶
func (o *GetGCLogBadRequest) WithXRequestID(xRequestID string) *GetGCLogBadRequest
WithXRequestID adds the xRequestId to the get Gc log bad request response
func (*GetGCLogBadRequest) WriteResponse ¶
func (o *GetGCLogBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCLogForbidden ¶
type GetGCLogForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetGCLogForbidden Forbidden
swagger:response getGcLogForbidden
func NewGetGCLogForbidden ¶
func NewGetGCLogForbidden() *GetGCLogForbidden
NewGetGCLogForbidden creates GetGCLogForbidden with default headers values
func (*GetGCLogForbidden) SetPayload ¶
func (o *GetGCLogForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc log forbidden response
func (*GetGCLogForbidden) SetXRequestID ¶
func (o *GetGCLogForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc log forbidden response
func (*GetGCLogForbidden) WithPayload ¶
func (o *GetGCLogForbidden) WithPayload(payload *models.Errors) *GetGCLogForbidden
WithPayload adds the payload to the get Gc log forbidden response
func (*GetGCLogForbidden) WithXRequestID ¶
func (o *GetGCLogForbidden) WithXRequestID(xRequestID string) *GetGCLogForbidden
WithXRequestID adds the xRequestId to the get Gc log forbidden response
func (*GetGCLogForbidden) WriteResponse ¶
func (o *GetGCLogForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCLogHandler ¶
type GetGCLogHandler interface {
Handle(GetGCLogParams, interface{}) middleware.Responder
}
GetGCLogHandler interface for that can handle valid get GC log params
type GetGCLogHandlerFunc ¶
type GetGCLogHandlerFunc func(GetGCLogParams, interface{}) middleware.Responder
GetGCLogHandlerFunc turns a function with the right signature into a get GC log handler
func (GetGCLogHandlerFunc) Handle ¶
func (fn GetGCLogHandlerFunc) Handle(params GetGCLogParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetGCLogInternalServerError ¶
type GetGCLogInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetGCLogInternalServerError Internal server error
swagger:response getGcLogInternalServerError
func NewGetGCLogInternalServerError ¶
func NewGetGCLogInternalServerError() *GetGCLogInternalServerError
NewGetGCLogInternalServerError creates GetGCLogInternalServerError with default headers values
func (*GetGCLogInternalServerError) SetPayload ¶
func (o *GetGCLogInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc log internal server error response
func (*GetGCLogInternalServerError) SetXRequestID ¶
func (o *GetGCLogInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc log internal server error response
func (*GetGCLogInternalServerError) WithPayload ¶
func (o *GetGCLogInternalServerError) WithPayload(payload *models.Errors) *GetGCLogInternalServerError
WithPayload adds the payload to the get Gc log internal server error response
func (*GetGCLogInternalServerError) WithXRequestID ¶
func (o *GetGCLogInternalServerError) WithXRequestID(xRequestID string) *GetGCLogInternalServerError
WithXRequestID adds the xRequestId to the get Gc log internal server error response
func (*GetGCLogInternalServerError) WriteResponse ¶
func (o *GetGCLogInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCLogNotFound ¶
type GetGCLogNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetGCLogNotFound Not found
swagger:response getGcLogNotFound
func NewGetGCLogNotFound ¶
func NewGetGCLogNotFound() *GetGCLogNotFound
NewGetGCLogNotFound creates GetGCLogNotFound with default headers values
func (*GetGCLogNotFound) SetPayload ¶
func (o *GetGCLogNotFound) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc log not found response
func (*GetGCLogNotFound) SetXRequestID ¶
func (o *GetGCLogNotFound) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc log not found response
func (*GetGCLogNotFound) WithPayload ¶
func (o *GetGCLogNotFound) WithPayload(payload *models.Errors) *GetGCLogNotFound
WithPayload adds the payload to the get Gc log not found response
func (*GetGCLogNotFound) WithXRequestID ¶
func (o *GetGCLogNotFound) WithXRequestID(xRequestID string) *GetGCLogNotFound
WithXRequestID adds the xRequestId to the get Gc log not found response
func (*GetGCLogNotFound) WriteResponse ¶
func (o *GetGCLogNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCLogOK ¶
type GetGCLogOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetGCLogOK Get successfully.
swagger:response getGcLogOK
func NewGetGCLogOK ¶
func NewGetGCLogOK() *GetGCLogOK
NewGetGCLogOK creates GetGCLogOK with default headers values
func (*GetGCLogOK) SetPayload ¶
func (o *GetGCLogOK) SetPayload(payload string)
SetPayload sets the payload to the get Gc log o k response
func (*GetGCLogOK) WithPayload ¶
func (o *GetGCLogOK) WithPayload(payload string) *GetGCLogOK
WithPayload adds the payload to the get Gc log o k response
func (*GetGCLogOK) WriteResponse ¶
func (o *GetGCLogOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCLogParams ¶
type GetGCLogParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The ID of the gc log Required: true In: path */ GCID int64 }
GetGCLogParams contains all the bound params for the get GC log operation typically these are obtained from a http.Request
swagger:parameters getGCLog
func NewGetGCLogParams ¶
func NewGetGCLogParams() GetGCLogParams
NewGetGCLogParams creates a new GetGCLogParams object no default values defined in spec.
func (*GetGCLogParams) BindRequest ¶
func (o *GetGCLogParams) 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 NewGetGCLogParams() beforehand.
type GetGCLogURL ¶
type GetGCLogURL struct { GCID int64 // contains filtered or unexported fields }
GetGCLogURL generates an URL for the get GC log operation
func (*GetGCLogURL) Build ¶
func (o *GetGCLogURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetGCLogURL) BuildFull ¶
func (o *GetGCLogURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetGCLogURL) SetBasePath ¶
func (o *GetGCLogURL) 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 (*GetGCLogURL) String ¶
func (o *GetGCLogURL) String() string
String returns the string representation of the path with query string
func (*GetGCLogURL) StringFull ¶
func (o *GetGCLogURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetGCLogURL) WithBasePath ¶
func (o *GetGCLogURL) WithBasePath(bp string) *GetGCLogURL
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 GetGCLogUnauthorized ¶
type GetGCLogUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
GetGCLogUnauthorized Unauthorized
swagger:response getGcLogUnauthorized
func NewGetGCLogUnauthorized ¶
func NewGetGCLogUnauthorized() *GetGCLogUnauthorized
NewGetGCLogUnauthorized creates GetGCLogUnauthorized with default headers values
func (*GetGCLogUnauthorized) SetPayload ¶
func (o *GetGCLogUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc log unauthorized response
func (*GetGCLogUnauthorized) SetXRequestID ¶
func (o *GetGCLogUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc log unauthorized response
func (*GetGCLogUnauthorized) WithPayload ¶
func (o *GetGCLogUnauthorized) WithPayload(payload *models.Errors) *GetGCLogUnauthorized
WithPayload adds the payload to the get Gc log unauthorized response
func (*GetGCLogUnauthorized) WithXRequestID ¶
func (o *GetGCLogUnauthorized) WithXRequestID(xRequestID string) *GetGCLogUnauthorized
WithXRequestID adds the xRequestId to the get Gc log unauthorized response
func (*GetGCLogUnauthorized) WriteResponse ¶
func (o *GetGCLogUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCNotFound ¶
type GetGCNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetGCNotFound Not found
swagger:response getGcNotFound
func NewGetGCNotFound ¶
func NewGetGCNotFound() *GetGCNotFound
NewGetGCNotFound creates GetGCNotFound with default headers values
func (*GetGCNotFound) SetPayload ¶
func (o *GetGCNotFound) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc not found response
func (*GetGCNotFound) SetXRequestID ¶
func (o *GetGCNotFound) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc not found response
func (*GetGCNotFound) WithPayload ¶
func (o *GetGCNotFound) WithPayload(payload *models.Errors) *GetGCNotFound
WithPayload adds the payload to the get Gc not found response
func (*GetGCNotFound) WithXRequestID ¶
func (o *GetGCNotFound) WithXRequestID(xRequestID string) *GetGCNotFound
WithXRequestID adds the xRequestId to the get Gc not found response
func (*GetGCNotFound) WriteResponse ¶
func (o *GetGCNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCOK ¶
GetGCOK Get gc results successfully.
swagger:response getGcOK
func (*GetGCOK) SetPayload ¶
SetPayload sets the payload to the get Gc o k response
func (*GetGCOK) WithPayload ¶
WithPayload adds the payload to the get Gc o k response
func (*GetGCOK) WriteResponse ¶
func (o *GetGCOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCParams ¶
type GetGCParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The ID of the gc log Required: true In: path */ GCID int64 }
GetGCParams contains all the bound params for the get GC operation typically these are obtained from a http.Request
swagger:parameters getGC
func NewGetGCParams ¶
func NewGetGCParams() GetGCParams
NewGetGCParams creates a new GetGCParams object no default values defined in spec.
func (*GetGCParams) BindRequest ¶
func (o *GetGCParams) 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 NewGetGCParams() beforehand.
type GetGCSchedule ¶
type GetGCSchedule struct { Context *middleware.Context Handler GetGCScheduleHandler }
GetGCSchedule swagger:route GET /system/gc/schedule gc getGcSchedule
Get gc's schedule.
This endpoint is for get schedule of gc job.
func NewGetGCSchedule ¶
func NewGetGCSchedule(ctx *middleware.Context, handler GetGCScheduleHandler) *GetGCSchedule
NewGetGCSchedule creates a new http.Handler for the get GC schedule operation
func (*GetGCSchedule) ServeHTTP ¶
func (o *GetGCSchedule) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetGCScheduleForbidden ¶
type GetGCScheduleForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetGCScheduleForbidden Forbidden
swagger:response getGcScheduleForbidden
func NewGetGCScheduleForbidden ¶
func NewGetGCScheduleForbidden() *GetGCScheduleForbidden
NewGetGCScheduleForbidden creates GetGCScheduleForbidden with default headers values
func (*GetGCScheduleForbidden) SetPayload ¶
func (o *GetGCScheduleForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc schedule forbidden response
func (*GetGCScheduleForbidden) SetXRequestID ¶
func (o *GetGCScheduleForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc schedule forbidden response
func (*GetGCScheduleForbidden) WithPayload ¶
func (o *GetGCScheduleForbidden) WithPayload(payload *models.Errors) *GetGCScheduleForbidden
WithPayload adds the payload to the get Gc schedule forbidden response
func (*GetGCScheduleForbidden) WithXRequestID ¶
func (o *GetGCScheduleForbidden) WithXRequestID(xRequestID string) *GetGCScheduleForbidden
WithXRequestID adds the xRequestId to the get Gc schedule forbidden response
func (*GetGCScheduleForbidden) WriteResponse ¶
func (o *GetGCScheduleForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCScheduleHandler ¶
type GetGCScheduleHandler interface {
Handle(GetGCScheduleParams, interface{}) middleware.Responder
}
GetGCScheduleHandler interface for that can handle valid get GC schedule params
type GetGCScheduleHandlerFunc ¶
type GetGCScheduleHandlerFunc func(GetGCScheduleParams, interface{}) middleware.Responder
GetGCScheduleHandlerFunc turns a function with the right signature into a get GC schedule handler
func (GetGCScheduleHandlerFunc) Handle ¶
func (fn GetGCScheduleHandlerFunc) Handle(params GetGCScheduleParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetGCScheduleInternalServerError ¶
type GetGCScheduleInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetGCScheduleInternalServerError Internal server error
swagger:response getGcScheduleInternalServerError
func NewGetGCScheduleInternalServerError ¶
func NewGetGCScheduleInternalServerError() *GetGCScheduleInternalServerError
NewGetGCScheduleInternalServerError creates GetGCScheduleInternalServerError with default headers values
func (*GetGCScheduleInternalServerError) SetPayload ¶
func (o *GetGCScheduleInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc schedule internal server error response
func (*GetGCScheduleInternalServerError) SetXRequestID ¶
func (o *GetGCScheduleInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc schedule internal server error response
func (*GetGCScheduleInternalServerError) WithPayload ¶
func (o *GetGCScheduleInternalServerError) WithPayload(payload *models.Errors) *GetGCScheduleInternalServerError
WithPayload adds the payload to the get Gc schedule internal server error response
func (*GetGCScheduleInternalServerError) WithXRequestID ¶
func (o *GetGCScheduleInternalServerError) WithXRequestID(xRequestID string) *GetGCScheduleInternalServerError
WithXRequestID adds the xRequestId to the get Gc schedule internal server error response
func (*GetGCScheduleInternalServerError) WriteResponse ¶
func (o *GetGCScheduleInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCScheduleOK ¶
GetGCScheduleOK Get gc's schedule.
swagger:response getGcScheduleOK
func NewGetGCScheduleOK ¶
func NewGetGCScheduleOK() *GetGCScheduleOK
NewGetGCScheduleOK creates GetGCScheduleOK with default headers values
func (*GetGCScheduleOK) SetPayload ¶
func (o *GetGCScheduleOK) SetPayload(payload *models.GCHistory)
SetPayload sets the payload to the get Gc schedule o k response
func (*GetGCScheduleOK) WithPayload ¶
func (o *GetGCScheduleOK) WithPayload(payload *models.GCHistory) *GetGCScheduleOK
WithPayload adds the payload to the get Gc schedule o k response
func (*GetGCScheduleOK) WriteResponse ¶
func (o *GetGCScheduleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCScheduleParams ¶
GetGCScheduleParams contains all the bound params for the get GC schedule operation typically these are obtained from a http.Request
swagger:parameters getGCSchedule
func NewGetGCScheduleParams ¶
func NewGetGCScheduleParams() GetGCScheduleParams
NewGetGCScheduleParams creates a new GetGCScheduleParams object no default values defined in spec.
func (*GetGCScheduleParams) BindRequest ¶
func (o *GetGCScheduleParams) 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 NewGetGCScheduleParams() beforehand.
type GetGCScheduleURL ¶
type GetGCScheduleURL struct {
// contains filtered or unexported fields
}
GetGCScheduleURL generates an URL for the get GC schedule operation
func (*GetGCScheduleURL) Build ¶
func (o *GetGCScheduleURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetGCScheduleURL) BuildFull ¶
func (o *GetGCScheduleURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetGCScheduleURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetGCScheduleURL) SetBasePath ¶
func (o *GetGCScheduleURL) 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 (*GetGCScheduleURL) String ¶
func (o *GetGCScheduleURL) String() string
String returns the string representation of the path with query string
func (*GetGCScheduleURL) StringFull ¶
func (o *GetGCScheduleURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetGCScheduleURL) WithBasePath ¶
func (o *GetGCScheduleURL) WithBasePath(bp string) *GetGCScheduleURL
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 GetGCScheduleUnauthorized ¶
type GetGCScheduleUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
GetGCScheduleUnauthorized Unauthorized
swagger:response getGcScheduleUnauthorized
func NewGetGCScheduleUnauthorized ¶
func NewGetGCScheduleUnauthorized() *GetGCScheduleUnauthorized
NewGetGCScheduleUnauthorized creates GetGCScheduleUnauthorized with default headers values
func (*GetGCScheduleUnauthorized) SetPayload ¶
func (o *GetGCScheduleUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc schedule unauthorized response
func (*GetGCScheduleUnauthorized) SetXRequestID ¶
func (o *GetGCScheduleUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc schedule unauthorized response
func (*GetGCScheduleUnauthorized) WithPayload ¶
func (o *GetGCScheduleUnauthorized) WithPayload(payload *models.Errors) *GetGCScheduleUnauthorized
WithPayload adds the payload to the get Gc schedule unauthorized response
func (*GetGCScheduleUnauthorized) WithXRequestID ¶
func (o *GetGCScheduleUnauthorized) WithXRequestID(xRequestID string) *GetGCScheduleUnauthorized
WithXRequestID adds the xRequestId to the get Gc schedule unauthorized response
func (*GetGCScheduleUnauthorized) WriteResponse ¶
func (o *GetGCScheduleUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGCURL ¶
type GetGCURL struct { GCID int64 // contains filtered or unexported fields }
GetGCURL generates an URL for the get GC operation
func (*GetGCURL) SetBasePath ¶
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 (*GetGCURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*GetGCURL) WithBasePath ¶
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 GetGCUnauthorized ¶
type GetGCUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
GetGCUnauthorized Unauthorized
swagger:response getGcUnauthorized
func NewGetGCUnauthorized ¶
func NewGetGCUnauthorized() *GetGCUnauthorized
NewGetGCUnauthorized creates GetGCUnauthorized with default headers values
func (*GetGCUnauthorized) SetPayload ¶
func (o *GetGCUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get Gc unauthorized response
func (*GetGCUnauthorized) SetXRequestID ¶
func (o *GetGCUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get Gc unauthorized response
func (*GetGCUnauthorized) WithPayload ¶
func (o *GetGCUnauthorized) WithPayload(payload *models.Errors) *GetGCUnauthorized
WithPayload adds the payload to the get Gc unauthorized response
func (*GetGCUnauthorized) WithXRequestID ¶
func (o *GetGCUnauthorized) WithXRequestID(xRequestID string) *GetGCUnauthorized
WithXRequestID adds the xRequestId to the get Gc unauthorized response
func (*GetGCUnauthorized) WriteResponse ¶
func (o *GetGCUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateGCSchedule ¶
type UpdateGCSchedule struct { Context *middleware.Context Handler UpdateGCScheduleHandler }
UpdateGCSchedule swagger:route PUT /system/gc/schedule gc updateGcSchedule
Update gc's schedule.
This endpoint is for update gc schedule.
func NewUpdateGCSchedule ¶
func NewUpdateGCSchedule(ctx *middleware.Context, handler UpdateGCScheduleHandler) *UpdateGCSchedule
NewUpdateGCSchedule creates a new http.Handler for the update GC schedule operation
func (*UpdateGCSchedule) ServeHTTP ¶
func (o *UpdateGCSchedule) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateGCScheduleBadRequest ¶
type UpdateGCScheduleBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
UpdateGCScheduleBadRequest Bad request
swagger:response updateGcScheduleBadRequest
func NewUpdateGCScheduleBadRequest ¶
func NewUpdateGCScheduleBadRequest() *UpdateGCScheduleBadRequest
NewUpdateGCScheduleBadRequest creates UpdateGCScheduleBadRequest with default headers values
func (*UpdateGCScheduleBadRequest) SetPayload ¶
func (o *UpdateGCScheduleBadRequest) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update Gc schedule bad request response
func (*UpdateGCScheduleBadRequest) SetXRequestID ¶
func (o *UpdateGCScheduleBadRequest) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update Gc schedule bad request response
func (*UpdateGCScheduleBadRequest) WithPayload ¶
func (o *UpdateGCScheduleBadRequest) WithPayload(payload *models.Errors) *UpdateGCScheduleBadRequest
WithPayload adds the payload to the update Gc schedule bad request response
func (*UpdateGCScheduleBadRequest) WithXRequestID ¶
func (o *UpdateGCScheduleBadRequest) WithXRequestID(xRequestID string) *UpdateGCScheduleBadRequest
WithXRequestID adds the xRequestId to the update Gc schedule bad request response
func (*UpdateGCScheduleBadRequest) WriteResponse ¶
func (o *UpdateGCScheduleBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateGCScheduleForbidden ¶
type UpdateGCScheduleForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
UpdateGCScheduleForbidden Forbidden
swagger:response updateGcScheduleForbidden
func NewUpdateGCScheduleForbidden ¶
func NewUpdateGCScheduleForbidden() *UpdateGCScheduleForbidden
NewUpdateGCScheduleForbidden creates UpdateGCScheduleForbidden with default headers values
func (*UpdateGCScheduleForbidden) SetPayload ¶
func (o *UpdateGCScheduleForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update Gc schedule forbidden response
func (*UpdateGCScheduleForbidden) SetXRequestID ¶
func (o *UpdateGCScheduleForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update Gc schedule forbidden response
func (*UpdateGCScheduleForbidden) WithPayload ¶
func (o *UpdateGCScheduleForbidden) WithPayload(payload *models.Errors) *UpdateGCScheduleForbidden
WithPayload adds the payload to the update Gc schedule forbidden response
func (*UpdateGCScheduleForbidden) WithXRequestID ¶
func (o *UpdateGCScheduleForbidden) WithXRequestID(xRequestID string) *UpdateGCScheduleForbidden
WithXRequestID adds the xRequestId to the update Gc schedule forbidden response
func (*UpdateGCScheduleForbidden) WriteResponse ¶
func (o *UpdateGCScheduleForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateGCScheduleHandler ¶
type UpdateGCScheduleHandler interface {
Handle(UpdateGCScheduleParams, interface{}) middleware.Responder
}
UpdateGCScheduleHandler interface for that can handle valid update GC schedule params
type UpdateGCScheduleHandlerFunc ¶
type UpdateGCScheduleHandlerFunc func(UpdateGCScheduleParams, interface{}) middleware.Responder
UpdateGCScheduleHandlerFunc turns a function with the right signature into a update GC schedule handler
func (UpdateGCScheduleHandlerFunc) Handle ¶
func (fn UpdateGCScheduleHandlerFunc) Handle(params UpdateGCScheduleParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateGCScheduleInternalServerError ¶
type UpdateGCScheduleInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
UpdateGCScheduleInternalServerError Internal server error
swagger:response updateGcScheduleInternalServerError
func NewUpdateGCScheduleInternalServerError ¶
func NewUpdateGCScheduleInternalServerError() *UpdateGCScheduleInternalServerError
NewUpdateGCScheduleInternalServerError creates UpdateGCScheduleInternalServerError with default headers values
func (*UpdateGCScheduleInternalServerError) SetPayload ¶
func (o *UpdateGCScheduleInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update Gc schedule internal server error response
func (*UpdateGCScheduleInternalServerError) SetXRequestID ¶
func (o *UpdateGCScheduleInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update Gc schedule internal server error response
func (*UpdateGCScheduleInternalServerError) WithPayload ¶
func (o *UpdateGCScheduleInternalServerError) WithPayload(payload *models.Errors) *UpdateGCScheduleInternalServerError
WithPayload adds the payload to the update Gc schedule internal server error response
func (*UpdateGCScheduleInternalServerError) WithXRequestID ¶
func (o *UpdateGCScheduleInternalServerError) WithXRequestID(xRequestID string) *UpdateGCScheduleInternalServerError
WithXRequestID adds the xRequestId to the update Gc schedule internal server error response
func (*UpdateGCScheduleInternalServerError) WriteResponse ¶
func (o *UpdateGCScheduleInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateGCScheduleOK ¶
type UpdateGCScheduleOK struct { }
UpdateGCScheduleOK Updated gc's schedule successfully.
swagger:response updateGcScheduleOK
func NewUpdateGCScheduleOK ¶
func NewUpdateGCScheduleOK() *UpdateGCScheduleOK
NewUpdateGCScheduleOK creates UpdateGCScheduleOK with default headers values
func (*UpdateGCScheduleOK) WriteResponse ¶
func (o *UpdateGCScheduleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateGCScheduleParams ¶
type UpdateGCScheduleParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Updates of gc's schedule. Required: true In: body */ Schedule *models.Schedule }
UpdateGCScheduleParams contains all the bound params for the update GC schedule operation typically these are obtained from a http.Request
swagger:parameters updateGCSchedule
func NewUpdateGCScheduleParams ¶
func NewUpdateGCScheduleParams() UpdateGCScheduleParams
NewUpdateGCScheduleParams creates a new UpdateGCScheduleParams object no default values defined in spec.
func (*UpdateGCScheduleParams) BindRequest ¶
func (o *UpdateGCScheduleParams) 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 NewUpdateGCScheduleParams() beforehand.
type UpdateGCScheduleURL ¶
type UpdateGCScheduleURL struct {
// contains filtered or unexported fields
}
UpdateGCScheduleURL generates an URL for the update GC schedule operation
func (*UpdateGCScheduleURL) Build ¶
func (o *UpdateGCScheduleURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateGCScheduleURL) BuildFull ¶
func (o *UpdateGCScheduleURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateGCScheduleURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateGCScheduleURL) SetBasePath ¶
func (o *UpdateGCScheduleURL) 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 (*UpdateGCScheduleURL) String ¶
func (o *UpdateGCScheduleURL) String() string
String returns the string representation of the path with query string
func (*UpdateGCScheduleURL) StringFull ¶
func (o *UpdateGCScheduleURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateGCScheduleURL) WithBasePath ¶
func (o *UpdateGCScheduleURL) WithBasePath(bp string) *UpdateGCScheduleURL
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 UpdateGCScheduleUnauthorized ¶
type UpdateGCScheduleUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
UpdateGCScheduleUnauthorized Unauthorized
swagger:response updateGcScheduleUnauthorized
func NewUpdateGCScheduleUnauthorized ¶
func NewUpdateGCScheduleUnauthorized() *UpdateGCScheduleUnauthorized
NewUpdateGCScheduleUnauthorized creates UpdateGCScheduleUnauthorized with default headers values
func (*UpdateGCScheduleUnauthorized) SetPayload ¶
func (o *UpdateGCScheduleUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the update Gc schedule unauthorized response
func (*UpdateGCScheduleUnauthorized) SetXRequestID ¶
func (o *UpdateGCScheduleUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the update Gc schedule unauthorized response
func (*UpdateGCScheduleUnauthorized) WithPayload ¶
func (o *UpdateGCScheduleUnauthorized) WithPayload(payload *models.Errors) *UpdateGCScheduleUnauthorized
WithPayload adds the payload to the update Gc schedule unauthorized response
func (*UpdateGCScheduleUnauthorized) WithXRequestID ¶
func (o *UpdateGCScheduleUnauthorized) WithXRequestID(xRequestID string) *UpdateGCScheduleUnauthorized
WithXRequestID adds the xRequestId to the update Gc schedule unauthorized response
func (*UpdateGCScheduleUnauthorized) WriteResponse ¶
func (o *UpdateGCScheduleUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- create_gc_schedule.go
- create_gc_schedule_parameters.go
- create_gc_schedule_responses.go
- create_gc_schedule_urlbuilder.go
- get_gc.go
- get_gc_history.go
- get_gc_history_parameters.go
- get_gc_history_responses.go
- get_gc_history_urlbuilder.go
- get_gc_log.go
- get_gc_log_parameters.go
- get_gc_log_responses.go
- get_gc_log_urlbuilder.go
- get_gc_parameters.go
- get_gc_responses.go
- get_gc_schedule.go
- get_gc_schedule_parameters.go
- get_gc_schedule_responses.go
- get_gc_schedule_urlbuilder.go
- get_gc_urlbuilder.go
- update_gc_schedule.go
- update_gc_schedule_parameters.go
- update_gc_schedule_responses.go
- update_gc_schedule_urlbuilder.go