gc

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CreateGCScheduleBadRequestCode int = 400

CreateGCScheduleBadRequestCode is the HTTP code returned for type CreateGCScheduleBadRequest

View Source
const CreateGCScheduleConflictCode int = 409

CreateGCScheduleConflictCode is the HTTP code returned for type CreateGCScheduleConflict

View Source
const CreateGCScheduleCreatedCode int = 201

CreateGCScheduleCreatedCode is the HTTP code returned for type CreateGCScheduleCreated

View Source
const CreateGCScheduleForbiddenCode int = 403

CreateGCScheduleForbiddenCode is the HTTP code returned for type CreateGCScheduleForbidden

View Source
const CreateGCScheduleInternalServerErrorCode int = 500

CreateGCScheduleInternalServerErrorCode is the HTTP code returned for type CreateGCScheduleInternalServerError

View Source
const CreateGCScheduleUnauthorizedCode int = 401

CreateGCScheduleUnauthorizedCode is the HTTP code returned for type CreateGCScheduleUnauthorized

View Source
const GetGCForbiddenCode int = 403

GetGCForbiddenCode is the HTTP code returned for type GetGCForbidden

View Source
const GetGCHistoryForbiddenCode int = 403

GetGCHistoryForbiddenCode is the HTTP code returned for type GetGCHistoryForbidden

View Source
const GetGCHistoryInternalServerErrorCode int = 500

GetGCHistoryInternalServerErrorCode is the HTTP code returned for type GetGCHistoryInternalServerError

View Source
const GetGCHistoryOKCode int = 200

GetGCHistoryOKCode is the HTTP code returned for type GetGCHistoryOK

View Source
const GetGCHistoryUnauthorizedCode int = 401

GetGCHistoryUnauthorizedCode is the HTTP code returned for type GetGCHistoryUnauthorized

View Source
const GetGCInternalServerErrorCode int = 500

GetGCInternalServerErrorCode is the HTTP code returned for type GetGCInternalServerError

View Source
const GetGCLogBadRequestCode int = 400

GetGCLogBadRequestCode is the HTTP code returned for type GetGCLogBadRequest

View Source
const GetGCLogForbiddenCode int = 403

GetGCLogForbiddenCode is the HTTP code returned for type GetGCLogForbidden

View Source
const GetGCLogInternalServerErrorCode int = 500

GetGCLogInternalServerErrorCode is the HTTP code returned for type GetGCLogInternalServerError

View Source
const GetGCLogNotFoundCode int = 404

GetGCLogNotFoundCode is the HTTP code returned for type GetGCLogNotFound

View Source
const GetGCLogOKCode int = 200

GetGCLogOKCode is the HTTP code returned for type GetGCLogOK

View Source
const GetGCLogUnauthorizedCode int = 401

GetGCLogUnauthorizedCode is the HTTP code returned for type GetGCLogUnauthorized

View Source
const GetGCNotFoundCode int = 404

GetGCNotFoundCode is the HTTP code returned for type GetGCNotFound

View Source
const GetGCOKCode int = 200

GetGCOKCode is the HTTP code returned for type GetGCOK

View Source
const GetGCScheduleForbiddenCode int = 403

GetGCScheduleForbiddenCode is the HTTP code returned for type GetGCScheduleForbidden

View Source
const GetGCScheduleInternalServerErrorCode int = 500

GetGCScheduleInternalServerErrorCode is the HTTP code returned for type GetGCScheduleInternalServerError

View Source
const GetGCScheduleOKCode int = 200

GetGCScheduleOKCode is the HTTP code returned for type GetGCScheduleOK

View Source
const GetGCScheduleUnauthorizedCode int = 401

GetGCScheduleUnauthorizedCode is the HTTP code returned for type GetGCScheduleUnauthorized

View Source
const GetGCUnauthorizedCode int = 401

GetGCUnauthorizedCode is the HTTP code returned for type GetGCUnauthorized

View Source
const UpdateGCScheduleBadRequestCode int = 400

UpdateGCScheduleBadRequestCode is the HTTP code returned for type UpdateGCScheduleBadRequest

View Source
const UpdateGCScheduleForbiddenCode int = 403

UpdateGCScheduleForbiddenCode is the HTTP code returned for type UpdateGCScheduleForbidden

View Source
const UpdateGCScheduleInternalServerErrorCode int = 500

UpdateGCScheduleInternalServerErrorCode is the HTTP code returned for type UpdateGCScheduleInternalServerError

View Source
const UpdateGCScheduleOKCode int = 200

UpdateGCScheduleOKCode is the HTTP code returned for type UpdateGCScheduleOK

View Source
const UpdateGCScheduleUnauthorizedCode int = 401

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

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

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

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

WithPayload adds the payload to the create Gc schedule internal server error response

func (*CreateGCScheduleInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the create Gc schedule internal server error response

func (*CreateGCScheduleInternalServerError) WriteResponse

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

func (o *CreateGCScheduleURL) Must(u *url.URL, err error) *url.URL

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 {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

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

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

func (*GetGC) ServeHTTP

func (o *GetGC) ServeHTTP(rw http.ResponseWriter, r *http.Request)

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

WithPayload adds the payload to the get Gc history internal server error response

func (*GetGCHistoryInternalServerError) WithXRequestID

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 (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 (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

func (o *GetGCHistoryURL) Must(u *url.URL, err error) *url.URL

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 {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

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

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

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

func (*GetGCLog) ServeHTTP

func (o *GetGCLog) ServeHTTP(rw http.ResponseWriter, r *http.Request)

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

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) Must

func (o *GetGCLogURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

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 {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

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

type GetGCOK struct {

	/*
	  In: Body
	*/
	Payload *models.GCHistory `json:"body,omitempty"`
}

GetGCOK Get gc results successfully.

swagger:response getGcOK

func NewGetGCOK

func NewGetGCOK() *GetGCOK

NewGetGCOK creates GetGCOK with default headers values

func (*GetGCOK) SetPayload

func (o *GetGCOK) SetPayload(payload *models.GCHistory)

SetPayload sets the payload to the get Gc o k response

func (*GetGCOK) WithPayload

func (o *GetGCOK) WithPayload(payload *models.GCHistory) *GetGCOK

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

WithPayload adds the payload to the get Gc schedule internal server error response

func (*GetGCScheduleInternalServerError) WithXRequestID

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

type GetGCScheduleOK struct {

	/*
	  In: Body
	*/
	Payload *models.GCHistory `json:"body,omitempty"`
}

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

type GetGCScheduleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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

func (o *GetGCScheduleURL) Must(u *url.URL, err error) *url.URL

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 {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

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

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) Build

func (o *GetGCURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetGCURL) BuildFull

func (o *GetGCURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetGCURL) Must

func (o *GetGCURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetGCURL) SetBasePath

func (o *GetGCURL) 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 (*GetGCURL) String

func (o *GetGCURL) String() string

String returns the string representation of the path with query string

func (*GetGCURL) StringFull

func (o *GetGCURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetGCURL) WithBasePath

func (o *GetGCURL) WithBasePath(bp string) *GetGCURL

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 {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

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

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

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

WithPayload adds the payload to the update Gc schedule internal server error response

func (*UpdateGCScheduleInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the update Gc schedule internal server error response

func (*UpdateGCScheduleInternalServerError) WriteResponse

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

func (o *UpdateGCScheduleURL) Must(u *url.URL, err error) *url.URL

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 {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL