Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateGCSchedule(params *CreateGCScheduleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateGCScheduleCreated, error)
- func (a *Client) GetGC(params *GetGCParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGCOK, error)
- func (a *Client) GetGCHistory(params *GetGCHistoryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGCHistoryOK, error)
- func (a *Client) GetGCLog(params *GetGCLogParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGCLogOK, error)
- func (a *Client) GetGCSchedule(params *GetGCScheduleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGCScheduleOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateGCSchedule(params *UpdateGCScheduleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateGCScheduleOK, error)
- type ClientOption
- type ClientService
- type CreateGCScheduleBadRequest
- type CreateGCScheduleConflict
- type CreateGCScheduleCreated
- type CreateGCScheduleForbidden
- type CreateGCScheduleInternalServerError
- type CreateGCScheduleParams
- func NewCreateGCScheduleParams() *CreateGCScheduleParams
- func NewCreateGCScheduleParamsWithContext(ctx context.Context) *CreateGCScheduleParams
- func NewCreateGCScheduleParamsWithHTTPClient(client *http.Client) *CreateGCScheduleParams
- func NewCreateGCScheduleParamsWithTimeout(timeout time.Duration) *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) SetContext(ctx context.Context)
- func (o *CreateGCScheduleParams) SetDefaults()
- func (o *CreateGCScheduleParams) SetHTTPClient(client *http.Client)
- func (o *CreateGCScheduleParams) SetSchedule(schedule *model.Schedule)
- func (o *CreateGCScheduleParams) SetTimeout(timeout time.Duration)
- func (o *CreateGCScheduleParams) WithContext(ctx context.Context) *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) WithDefaults() *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) WithHTTPClient(client *http.Client) *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) WithSchedule(schedule *model.Schedule) *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) WithTimeout(timeout time.Duration) *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGCScheduleReader
- type CreateGCScheduleUnauthorized
- type GetGCForbidden
- type GetGCHistoryForbidden
- type GetGCHistoryInternalServerError
- type GetGCHistoryOK
- type GetGCHistoryParams
- func (o *GetGCHistoryParams) SetContext(ctx context.Context)
- func (o *GetGCHistoryParams) SetDefaults()
- func (o *GetGCHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetGCHistoryParams) SetPage(page *int64)
- func (o *GetGCHistoryParams) SetPageSize(pageSize *int64)
- func (o *GetGCHistoryParams) SetQ(q *string)
- func (o *GetGCHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetGCHistoryParams) WithContext(ctx context.Context) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithDefaults() *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithHTTPClient(client *http.Client) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithPage(page *int64) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithPageSize(pageSize *int64) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithQ(q *string) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithTimeout(timeout time.Duration) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGCHistoryReader
- type GetGCHistoryUnauthorized
- type GetGCInternalServerError
- type GetGCLogBadRequest
- type GetGCLogForbidden
- type GetGCLogInternalServerError
- type GetGCLogNotFound
- type GetGCLogOK
- type GetGCLogParams
- func (o *GetGCLogParams) SetContext(ctx context.Context)
- func (o *GetGCLogParams) SetDefaults()
- func (o *GetGCLogParams) SetGcID(gcID int64)
- func (o *GetGCLogParams) SetHTTPClient(client *http.Client)
- func (o *GetGCLogParams) SetTimeout(timeout time.Duration)
- func (o *GetGCLogParams) WithContext(ctx context.Context) *GetGCLogParams
- func (o *GetGCLogParams) WithDefaults() *GetGCLogParams
- func (o *GetGCLogParams) WithGcID(gcID int64) *GetGCLogParams
- func (o *GetGCLogParams) WithHTTPClient(client *http.Client) *GetGCLogParams
- func (o *GetGCLogParams) WithTimeout(timeout time.Duration) *GetGCLogParams
- func (o *GetGCLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGCLogReader
- type GetGCLogUnauthorized
- type GetGCNotFound
- type GetGCOK
- type GetGCParams
- func (o *GetGCParams) SetContext(ctx context.Context)
- func (o *GetGCParams) SetDefaults()
- func (o *GetGCParams) SetGcID(gcID int64)
- func (o *GetGCParams) SetHTTPClient(client *http.Client)
- func (o *GetGCParams) SetTimeout(timeout time.Duration)
- func (o *GetGCParams) WithContext(ctx context.Context) *GetGCParams
- func (o *GetGCParams) WithDefaults() *GetGCParams
- func (o *GetGCParams) WithGcID(gcID int64) *GetGCParams
- func (o *GetGCParams) WithHTTPClient(client *http.Client) *GetGCParams
- func (o *GetGCParams) WithTimeout(timeout time.Duration) *GetGCParams
- func (o *GetGCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGCReader
- type GetGCScheduleForbidden
- type GetGCScheduleInternalServerError
- type GetGCScheduleOK
- type GetGCScheduleParams
- func (o *GetGCScheduleParams) SetContext(ctx context.Context)
- func (o *GetGCScheduleParams) SetDefaults()
- func (o *GetGCScheduleParams) SetHTTPClient(client *http.Client)
- func (o *GetGCScheduleParams) SetTimeout(timeout time.Duration)
- func (o *GetGCScheduleParams) WithContext(ctx context.Context) *GetGCScheduleParams
- func (o *GetGCScheduleParams) WithDefaults() *GetGCScheduleParams
- func (o *GetGCScheduleParams) WithHTTPClient(client *http.Client) *GetGCScheduleParams
- func (o *GetGCScheduleParams) WithTimeout(timeout time.Duration) *GetGCScheduleParams
- func (o *GetGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGCScheduleReader
- type GetGCScheduleUnauthorized
- type GetGCUnauthorized
- type UpdateGCScheduleBadRequest
- type UpdateGCScheduleForbidden
- type UpdateGCScheduleInternalServerError
- type UpdateGCScheduleOK
- type UpdateGCScheduleParams
- func NewUpdateGCScheduleParams() *UpdateGCScheduleParams
- func NewUpdateGCScheduleParamsWithContext(ctx context.Context) *UpdateGCScheduleParams
- func NewUpdateGCScheduleParamsWithHTTPClient(client *http.Client) *UpdateGCScheduleParams
- func NewUpdateGCScheduleParamsWithTimeout(timeout time.Duration) *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) SetContext(ctx context.Context)
- func (o *UpdateGCScheduleParams) SetDefaults()
- func (o *UpdateGCScheduleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGCScheduleParams) SetSchedule(schedule *model.Schedule)
- func (o *UpdateGCScheduleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGCScheduleParams) WithContext(ctx context.Context) *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) WithDefaults() *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) WithHTTPClient(client *http.Client) *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) WithSchedule(schedule *model.Schedule) *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) WithTimeout(timeout time.Duration) *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGCScheduleReader
- type UpdateGCScheduleUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for gc API
func (*Client) CreateGCSchedule ¶
func (a *Client) CreateGCSchedule(params *CreateGCScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGCScheduleCreated, error)
CreateGCSchedule creates a gc schedule
This endpoint is for update gc schedule.
func (*Client) GetGC ¶
func (a *Client) GetGC(params *GetGCParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGCOK, error)
GetGC gets gc status
This endpoint let user get gc status filtered by specific ID.
func (*Client) GetGCHistory ¶
func (a *Client) GetGCHistory(params *GetGCHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGCHistoryOK, error)
GetGCHistory gets gc results
This endpoint let user get gc execution history.
func (*Client) GetGCLog ¶
func (a *Client) GetGCLog(params *GetGCLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGCLogOK, error)
GetGCLog gets gc job log
This endpoint let user get gc job logs filtered by specific ID.
func (*Client) GetGCSchedule ¶
func (a *Client) GetGCSchedule(params *GetGCScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGCScheduleOK, error)
GetGCSchedule gets gc s schedule
This endpoint is for get schedule of gc job.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateGCSchedule ¶
func (a *Client) UpdateGCSchedule(params *UpdateGCScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGCScheduleOK, error)
UpdateGCSchedule updates gc s schedule
This endpoint is for update gc schedule.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateGCSchedule(params *CreateGCScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGCScheduleCreated, error) GetGC(params *GetGCParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGCOK, error) GetGCHistory(params *GetGCHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGCHistoryOK, error) GetGCLog(params *GetGCLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGCLogOK, error) GetGCSchedule(params *GetGCScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGCScheduleOK, error) UpdateGCSchedule(params *UpdateGCScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGCScheduleOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new gc API client.
type CreateGCScheduleBadRequest ¶
type CreateGCScheduleBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateGCScheduleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateGCScheduleBadRequest ¶
func NewCreateGCScheduleBadRequest() *CreateGCScheduleBadRequest
NewCreateGCScheduleBadRequest creates a CreateGCScheduleBadRequest with default headers values
func (*CreateGCScheduleBadRequest) Error ¶
func (o *CreateGCScheduleBadRequest) Error() string
func (*CreateGCScheduleBadRequest) GetPayload ¶
func (o *CreateGCScheduleBadRequest) GetPayload() *model.Errors
type CreateGCScheduleConflict ¶
type CreateGCScheduleConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateGCScheduleConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateGCScheduleConflict ¶
func NewCreateGCScheduleConflict() *CreateGCScheduleConflict
NewCreateGCScheduleConflict creates a CreateGCScheduleConflict with default headers values
func (*CreateGCScheduleConflict) Error ¶
func (o *CreateGCScheduleConflict) Error() string
func (*CreateGCScheduleConflict) GetPayload ¶
func (o *CreateGCScheduleConflict) GetPayload() *model.Errors
type CreateGCScheduleCreated ¶
type CreateGCScheduleCreated struct { /* The location of the resource */ Location string /* The ID of the corresponding request for the response */ XRequestID string }
CreateGCScheduleCreated describes a response with status code 201, with default header values.
Created
func NewCreateGCScheduleCreated ¶
func NewCreateGCScheduleCreated() *CreateGCScheduleCreated
NewCreateGCScheduleCreated creates a CreateGCScheduleCreated with default headers values
func (*CreateGCScheduleCreated) Error ¶
func (o *CreateGCScheduleCreated) Error() string
type CreateGCScheduleForbidden ¶
type CreateGCScheduleForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateGCScheduleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateGCScheduleForbidden ¶
func NewCreateGCScheduleForbidden() *CreateGCScheduleForbidden
NewCreateGCScheduleForbidden creates a CreateGCScheduleForbidden with default headers values
func (*CreateGCScheduleForbidden) Error ¶
func (o *CreateGCScheduleForbidden) Error() string
func (*CreateGCScheduleForbidden) GetPayload ¶
func (o *CreateGCScheduleForbidden) GetPayload() *model.Errors
type CreateGCScheduleInternalServerError ¶
type CreateGCScheduleInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateGCScheduleInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCreateGCScheduleInternalServerError ¶
func NewCreateGCScheduleInternalServerError() *CreateGCScheduleInternalServerError
NewCreateGCScheduleInternalServerError creates a CreateGCScheduleInternalServerError with default headers values
func (*CreateGCScheduleInternalServerError) Error ¶
func (o *CreateGCScheduleInternalServerError) Error() string
func (*CreateGCScheduleInternalServerError) GetPayload ¶
func (o *CreateGCScheduleInternalServerError) GetPayload() *model.Errors
type CreateGCScheduleParams ¶
type CreateGCScheduleParams struct { /* Schedule. Updates of gc's schedule. */ Schedule *model.Schedule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateGCScheduleParams contains all the parameters to send to the API endpoint
for the create g c schedule operation. Typically these are written to a http.Request.
func NewCreateGCScheduleParams ¶
func NewCreateGCScheduleParams() *CreateGCScheduleParams
NewCreateGCScheduleParams creates a new CreateGCScheduleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateGCScheduleParamsWithContext ¶
func NewCreateGCScheduleParamsWithContext(ctx context.Context) *CreateGCScheduleParams
NewCreateGCScheduleParamsWithContext creates a new CreateGCScheduleParams object with the ability to set a context for a request.
func NewCreateGCScheduleParamsWithHTTPClient ¶
func NewCreateGCScheduleParamsWithHTTPClient(client *http.Client) *CreateGCScheduleParams
NewCreateGCScheduleParamsWithHTTPClient creates a new CreateGCScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateGCScheduleParamsWithTimeout ¶
func NewCreateGCScheduleParamsWithTimeout(timeout time.Duration) *CreateGCScheduleParams
NewCreateGCScheduleParamsWithTimeout creates a new CreateGCScheduleParams object with the ability to set a timeout on a request.
func (*CreateGCScheduleParams) SetContext ¶
func (o *CreateGCScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the create g c schedule params
func (*CreateGCScheduleParams) SetDefaults ¶
func (o *CreateGCScheduleParams) SetDefaults()
SetDefaults hydrates default values in the create g c schedule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGCScheduleParams) SetHTTPClient ¶
func (o *CreateGCScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create g c schedule params
func (*CreateGCScheduleParams) SetSchedule ¶
func (o *CreateGCScheduleParams) SetSchedule(schedule *model.Schedule)
SetSchedule adds the schedule to the create g c schedule params
func (*CreateGCScheduleParams) SetTimeout ¶
func (o *CreateGCScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create g c schedule params
func (*CreateGCScheduleParams) WithContext ¶
func (o *CreateGCScheduleParams) WithContext(ctx context.Context) *CreateGCScheduleParams
WithContext adds the context to the create g c schedule params
func (*CreateGCScheduleParams) WithDefaults ¶
func (o *CreateGCScheduleParams) WithDefaults() *CreateGCScheduleParams
WithDefaults hydrates default values in the create g c schedule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGCScheduleParams) WithHTTPClient ¶
func (o *CreateGCScheduleParams) WithHTTPClient(client *http.Client) *CreateGCScheduleParams
WithHTTPClient adds the HTTPClient to the create g c schedule params
func (*CreateGCScheduleParams) WithSchedule ¶
func (o *CreateGCScheduleParams) WithSchedule(schedule *model.Schedule) *CreateGCScheduleParams
WithSchedule adds the schedule to the create g c schedule params
func (*CreateGCScheduleParams) WithTimeout ¶
func (o *CreateGCScheduleParams) WithTimeout(timeout time.Duration) *CreateGCScheduleParams
WithTimeout adds the timeout to the create g c schedule params
func (*CreateGCScheduleParams) WriteToRequest ¶
func (o *CreateGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateGCScheduleReader ¶
type CreateGCScheduleReader struct {
// contains filtered or unexported fields
}
CreateGCScheduleReader is a Reader for the CreateGCSchedule structure.
func (*CreateGCScheduleReader) ReadResponse ¶
func (o *CreateGCScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateGCScheduleUnauthorized ¶
type CreateGCScheduleUnauthorized struct { string }XRequestID
CreateGCScheduleUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateGCScheduleUnauthorized ¶
func NewCreateGCScheduleUnauthorized() *CreateGCScheduleUnauthorized
NewCreateGCScheduleUnauthorized creates a CreateGCScheduleUnauthorized with default headers values
func (*CreateGCScheduleUnauthorized) Error ¶
func (o *CreateGCScheduleUnauthorized) Error() string
func (*CreateGCScheduleUnauthorized) GetPayload ¶
func (o *CreateGCScheduleUnauthorized) GetPayload() *model.Errors
type GetGCForbidden ¶
type GetGCForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetGCForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGCForbidden ¶
func NewGetGCForbidden() *GetGCForbidden
NewGetGCForbidden creates a GetGCForbidden with default headers values
func (*GetGCForbidden) Error ¶
func (o *GetGCForbidden) Error() string
func (*GetGCForbidden) GetPayload ¶
func (o *GetGCForbidden) GetPayload() *model.Errors
type GetGCHistoryForbidden ¶
type GetGCHistoryForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetGCHistoryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGCHistoryForbidden ¶
func NewGetGCHistoryForbidden() *GetGCHistoryForbidden
NewGetGCHistoryForbidden creates a GetGCHistoryForbidden with default headers values
func (*GetGCHistoryForbidden) Error ¶
func (o *GetGCHistoryForbidden) Error() string
func (*GetGCHistoryForbidden) GetPayload ¶
func (o *GetGCHistoryForbidden) GetPayload() *model.Errors
type GetGCHistoryInternalServerError ¶
type GetGCHistoryInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetGCHistoryInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetGCHistoryInternalServerError ¶
func NewGetGCHistoryInternalServerError() *GetGCHistoryInternalServerError
NewGetGCHistoryInternalServerError creates a GetGCHistoryInternalServerError with default headers values
func (*GetGCHistoryInternalServerError) Error ¶
func (o *GetGCHistoryInternalServerError) Error() string
func (*GetGCHistoryInternalServerError) GetPayload ¶
func (o *GetGCHistoryInternalServerError) GetPayload() *model.Errors
type GetGCHistoryOK ¶
type GetGCHistoryOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of history */ XTotalCount int64 Payload []*model.GCHistory }
GetGCHistoryOK describes a response with status code 200, with default header values.
Get gc results successfully.
func NewGetGCHistoryOK ¶
func NewGetGCHistoryOK() *GetGCHistoryOK
NewGetGCHistoryOK creates a GetGCHistoryOK with default headers values
func (*GetGCHistoryOK) Error ¶
func (o *GetGCHistoryOK) Error() string
func (*GetGCHistoryOK) GetPayload ¶
func (o *GetGCHistoryOK) GetPayload() []*model.GCHistory
type GetGCHistoryParams ¶
type GetGCHistoryParams struct { /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* Q. Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max] */ Q *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGCHistoryParams contains all the parameters to send to the API endpoint
for the get g c history operation. Typically these are written to a http.Request.
func NewGetGCHistoryParams ¶
func NewGetGCHistoryParams() *GetGCHistoryParams
NewGetGCHistoryParams creates a new GetGCHistoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGCHistoryParamsWithContext ¶
func NewGetGCHistoryParamsWithContext(ctx context.Context) *GetGCHistoryParams
NewGetGCHistoryParamsWithContext creates a new GetGCHistoryParams object with the ability to set a context for a request.
func NewGetGCHistoryParamsWithHTTPClient ¶
func NewGetGCHistoryParamsWithHTTPClient(client *http.Client) *GetGCHistoryParams
NewGetGCHistoryParamsWithHTTPClient creates a new GetGCHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetGCHistoryParamsWithTimeout ¶
func NewGetGCHistoryParamsWithTimeout(timeout time.Duration) *GetGCHistoryParams
NewGetGCHistoryParamsWithTimeout creates a new GetGCHistoryParams object with the ability to set a timeout on a request.
func (*GetGCHistoryParams) SetContext ¶
func (o *GetGCHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get g c history params
func (*GetGCHistoryParams) SetDefaults ¶
func (o *GetGCHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get g c history params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCHistoryParams) SetHTTPClient ¶
func (o *GetGCHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get g c history params
func (*GetGCHistoryParams) SetPage ¶
func (o *GetGCHistoryParams) SetPage(page *int64)
SetPage adds the page to the get g c history params
func (*GetGCHistoryParams) SetPageSize ¶
func (o *GetGCHistoryParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the get g c history params
func (*GetGCHistoryParams) SetQ ¶
func (o *GetGCHistoryParams) SetQ(q *string)
SetQ adds the q to the get g c history params
func (*GetGCHistoryParams) SetTimeout ¶
func (o *GetGCHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get g c history params
func (*GetGCHistoryParams) WithContext ¶
func (o *GetGCHistoryParams) WithContext(ctx context.Context) *GetGCHistoryParams
WithContext adds the context to the get g c history params
func (*GetGCHistoryParams) WithDefaults ¶
func (o *GetGCHistoryParams) WithDefaults() *GetGCHistoryParams
WithDefaults hydrates default values in the get g c history params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCHistoryParams) WithHTTPClient ¶
func (o *GetGCHistoryParams) WithHTTPClient(client *http.Client) *GetGCHistoryParams
WithHTTPClient adds the HTTPClient to the get g c history params
func (*GetGCHistoryParams) WithPage ¶
func (o *GetGCHistoryParams) WithPage(page *int64) *GetGCHistoryParams
WithPage adds the page to the get g c history params
func (*GetGCHistoryParams) WithPageSize ¶
func (o *GetGCHistoryParams) WithPageSize(pageSize *int64) *GetGCHistoryParams
WithPageSize adds the pageSize to the get g c history params
func (*GetGCHistoryParams) WithQ ¶
func (o *GetGCHistoryParams) WithQ(q *string) *GetGCHistoryParams
WithQ adds the q to the get g c history params
func (*GetGCHistoryParams) WithTimeout ¶
func (o *GetGCHistoryParams) WithTimeout(timeout time.Duration) *GetGCHistoryParams
WithTimeout adds the timeout to the get g c history params
func (*GetGCHistoryParams) WriteToRequest ¶
func (o *GetGCHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGCHistoryReader ¶
type GetGCHistoryReader struct {
// contains filtered or unexported fields
}
GetGCHistoryReader is a Reader for the GetGCHistory structure.
func (*GetGCHistoryReader) ReadResponse ¶
func (o *GetGCHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGCHistoryUnauthorized ¶
type GetGCHistoryUnauthorized struct { string }XRequestID
GetGCHistoryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGCHistoryUnauthorized ¶
func NewGetGCHistoryUnauthorized() *GetGCHistoryUnauthorized
NewGetGCHistoryUnauthorized creates a GetGCHistoryUnauthorized with default headers values
func (*GetGCHistoryUnauthorized) Error ¶
func (o *GetGCHistoryUnauthorized) Error() string
func (*GetGCHistoryUnauthorized) GetPayload ¶
func (o *GetGCHistoryUnauthorized) GetPayload() *model.Errors
type GetGCInternalServerError ¶
type GetGCInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetGCInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetGCInternalServerError ¶
func NewGetGCInternalServerError() *GetGCInternalServerError
NewGetGCInternalServerError creates a GetGCInternalServerError with default headers values
func (*GetGCInternalServerError) Error ¶
func (o *GetGCInternalServerError) Error() string
func (*GetGCInternalServerError) GetPayload ¶
func (o *GetGCInternalServerError) GetPayload() *model.Errors
type GetGCLogBadRequest ¶
type GetGCLogBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetGCLogBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetGCLogBadRequest ¶
func NewGetGCLogBadRequest() *GetGCLogBadRequest
NewGetGCLogBadRequest creates a GetGCLogBadRequest with default headers values
func (*GetGCLogBadRequest) Error ¶
func (o *GetGCLogBadRequest) Error() string
func (*GetGCLogBadRequest) GetPayload ¶
func (o *GetGCLogBadRequest) GetPayload() *model.Errors
type GetGCLogForbidden ¶
type GetGCLogForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetGCLogForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGCLogForbidden ¶
func NewGetGCLogForbidden() *GetGCLogForbidden
NewGetGCLogForbidden creates a GetGCLogForbidden with default headers values
func (*GetGCLogForbidden) Error ¶
func (o *GetGCLogForbidden) Error() string
func (*GetGCLogForbidden) GetPayload ¶
func (o *GetGCLogForbidden) GetPayload() *model.Errors
type GetGCLogInternalServerError ¶
type GetGCLogInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetGCLogInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetGCLogInternalServerError ¶
func NewGetGCLogInternalServerError() *GetGCLogInternalServerError
NewGetGCLogInternalServerError creates a GetGCLogInternalServerError with default headers values
func (*GetGCLogInternalServerError) Error ¶
func (o *GetGCLogInternalServerError) Error() string
func (*GetGCLogInternalServerError) GetPayload ¶
func (o *GetGCLogInternalServerError) GetPayload() *model.Errors
type GetGCLogNotFound ¶
type GetGCLogNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetGCLogNotFound describes a response with status code 404, with default header values.
Not found
func NewGetGCLogNotFound ¶
func NewGetGCLogNotFound() *GetGCLogNotFound
NewGetGCLogNotFound creates a GetGCLogNotFound with default headers values
func (*GetGCLogNotFound) Error ¶
func (o *GetGCLogNotFound) Error() string
func (*GetGCLogNotFound) GetPayload ¶
func (o *GetGCLogNotFound) GetPayload() *model.Errors
type GetGCLogOK ¶
type GetGCLogOK struct {
Payload string
}
GetGCLogOK describes a response with status code 200, with default header values.
Get successfully.
func NewGetGCLogOK ¶
func NewGetGCLogOK() *GetGCLogOK
NewGetGCLogOK creates a GetGCLogOK with default headers values
func (*GetGCLogOK) Error ¶
func (o *GetGCLogOK) Error() string
func (*GetGCLogOK) GetPayload ¶
func (o *GetGCLogOK) GetPayload() string
type GetGCLogParams ¶
type GetGCLogParams struct { /* GcID. The ID of the gc log Format: int64 */ GcID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGCLogParams contains all the parameters to send to the API endpoint
for the get g c log operation. Typically these are written to a http.Request.
func NewGetGCLogParams ¶
func NewGetGCLogParams() *GetGCLogParams
NewGetGCLogParams creates a new GetGCLogParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGCLogParamsWithContext ¶
func NewGetGCLogParamsWithContext(ctx context.Context) *GetGCLogParams
NewGetGCLogParamsWithContext creates a new GetGCLogParams object with the ability to set a context for a request.
func NewGetGCLogParamsWithHTTPClient ¶
func NewGetGCLogParamsWithHTTPClient(client *http.Client) *GetGCLogParams
NewGetGCLogParamsWithHTTPClient creates a new GetGCLogParams object with the ability to set a custom HTTPClient for a request.
func NewGetGCLogParamsWithTimeout ¶
func NewGetGCLogParamsWithTimeout(timeout time.Duration) *GetGCLogParams
NewGetGCLogParamsWithTimeout creates a new GetGCLogParams object with the ability to set a timeout on a request.
func (*GetGCLogParams) SetContext ¶
func (o *GetGCLogParams) SetContext(ctx context.Context)
SetContext adds the context to the get g c log params
func (*GetGCLogParams) SetDefaults ¶
func (o *GetGCLogParams) SetDefaults()
SetDefaults hydrates default values in the get g c log params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCLogParams) SetGcID ¶
func (o *GetGCLogParams) SetGcID(gcID int64)
SetGcID adds the gcId to the get g c log params
func (*GetGCLogParams) SetHTTPClient ¶
func (o *GetGCLogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get g c log params
func (*GetGCLogParams) SetTimeout ¶
func (o *GetGCLogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get g c log params
func (*GetGCLogParams) WithContext ¶
func (o *GetGCLogParams) WithContext(ctx context.Context) *GetGCLogParams
WithContext adds the context to the get g c log params
func (*GetGCLogParams) WithDefaults ¶
func (o *GetGCLogParams) WithDefaults() *GetGCLogParams
WithDefaults hydrates default values in the get g c log params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCLogParams) WithGcID ¶
func (o *GetGCLogParams) WithGcID(gcID int64) *GetGCLogParams
WithGcID adds the gcID to the get g c log params
func (*GetGCLogParams) WithHTTPClient ¶
func (o *GetGCLogParams) WithHTTPClient(client *http.Client) *GetGCLogParams
WithHTTPClient adds the HTTPClient to the get g c log params
func (*GetGCLogParams) WithTimeout ¶
func (o *GetGCLogParams) WithTimeout(timeout time.Duration) *GetGCLogParams
WithTimeout adds the timeout to the get g c log params
func (*GetGCLogParams) WriteToRequest ¶
func (o *GetGCLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGCLogReader ¶
type GetGCLogReader struct {
// contains filtered or unexported fields
}
GetGCLogReader is a Reader for the GetGCLog structure.
func (*GetGCLogReader) ReadResponse ¶
func (o *GetGCLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGCLogUnauthorized ¶
type GetGCLogUnauthorized struct { string }XRequestID
GetGCLogUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGCLogUnauthorized ¶
func NewGetGCLogUnauthorized() *GetGCLogUnauthorized
NewGetGCLogUnauthorized creates a GetGCLogUnauthorized with default headers values
func (*GetGCLogUnauthorized) Error ¶
func (o *GetGCLogUnauthorized) Error() string
func (*GetGCLogUnauthorized) GetPayload ¶
func (o *GetGCLogUnauthorized) GetPayload() *model.Errors
type GetGCNotFound ¶
type GetGCNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetGCNotFound describes a response with status code 404, with default header values.
Not found
func NewGetGCNotFound ¶
func NewGetGCNotFound() *GetGCNotFound
NewGetGCNotFound creates a GetGCNotFound with default headers values
func (*GetGCNotFound) Error ¶
func (o *GetGCNotFound) Error() string
func (*GetGCNotFound) GetPayload ¶
func (o *GetGCNotFound) GetPayload() *model.Errors
type GetGCOK ¶
GetGCOK describes a response with status code 200, with default header values.
Get gc results successfully.
func NewGetGCOK ¶
func NewGetGCOK() *GetGCOK
NewGetGCOK creates a GetGCOK with default headers values
func (*GetGCOK) GetPayload ¶
type GetGCParams ¶
type GetGCParams struct { /* GcID. The ID of the gc log Format: int64 */ GcID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGCParams contains all the parameters to send to the API endpoint
for the get g c operation. Typically these are written to a http.Request.
func NewGetGCParams ¶
func NewGetGCParams() *GetGCParams
NewGetGCParams creates a new GetGCParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGCParamsWithContext ¶
func NewGetGCParamsWithContext(ctx context.Context) *GetGCParams
NewGetGCParamsWithContext creates a new GetGCParams object with the ability to set a context for a request.
func NewGetGCParamsWithHTTPClient ¶
func NewGetGCParamsWithHTTPClient(client *http.Client) *GetGCParams
NewGetGCParamsWithHTTPClient creates a new GetGCParams object with the ability to set a custom HTTPClient for a request.
func NewGetGCParamsWithTimeout ¶
func NewGetGCParamsWithTimeout(timeout time.Duration) *GetGCParams
NewGetGCParamsWithTimeout creates a new GetGCParams object with the ability to set a timeout on a request.
func (*GetGCParams) SetContext ¶
func (o *GetGCParams) SetContext(ctx context.Context)
SetContext adds the context to the get g c params
func (*GetGCParams) SetDefaults ¶
func (o *GetGCParams) SetDefaults()
SetDefaults hydrates default values in the get g c params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCParams) SetGcID ¶
func (o *GetGCParams) SetGcID(gcID int64)
SetGcID adds the gcId to the get g c params
func (*GetGCParams) SetHTTPClient ¶
func (o *GetGCParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get g c params
func (*GetGCParams) SetTimeout ¶
func (o *GetGCParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get g c params
func (*GetGCParams) WithContext ¶
func (o *GetGCParams) WithContext(ctx context.Context) *GetGCParams
WithContext adds the context to the get g c params
func (*GetGCParams) WithDefaults ¶
func (o *GetGCParams) WithDefaults() *GetGCParams
WithDefaults hydrates default values in the get g c params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCParams) WithGcID ¶
func (o *GetGCParams) WithGcID(gcID int64) *GetGCParams
WithGcID adds the gcID to the get g c params
func (*GetGCParams) WithHTTPClient ¶
func (o *GetGCParams) WithHTTPClient(client *http.Client) *GetGCParams
WithHTTPClient adds the HTTPClient to the get g c params
func (*GetGCParams) WithTimeout ¶
func (o *GetGCParams) WithTimeout(timeout time.Duration) *GetGCParams
WithTimeout adds the timeout to the get g c params
func (*GetGCParams) WriteToRequest ¶
func (o *GetGCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGCReader ¶
type GetGCReader struct {
// contains filtered or unexported fields
}
GetGCReader is a Reader for the GetGC structure.
func (*GetGCReader) ReadResponse ¶
func (o *GetGCReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGCScheduleForbidden ¶
type GetGCScheduleForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetGCScheduleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGCScheduleForbidden ¶
func NewGetGCScheduleForbidden() *GetGCScheduleForbidden
NewGetGCScheduleForbidden creates a GetGCScheduleForbidden with default headers values
func (*GetGCScheduleForbidden) Error ¶
func (o *GetGCScheduleForbidden) Error() string
func (*GetGCScheduleForbidden) GetPayload ¶
func (o *GetGCScheduleForbidden) GetPayload() *model.Errors
type GetGCScheduleInternalServerError ¶
type GetGCScheduleInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetGCScheduleInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetGCScheduleInternalServerError ¶
func NewGetGCScheduleInternalServerError() *GetGCScheduleInternalServerError
NewGetGCScheduleInternalServerError creates a GetGCScheduleInternalServerError with default headers values
func (*GetGCScheduleInternalServerError) Error ¶
func (o *GetGCScheduleInternalServerError) Error() string
func (*GetGCScheduleInternalServerError) GetPayload ¶
func (o *GetGCScheduleInternalServerError) GetPayload() *model.Errors
type GetGCScheduleOK ¶
GetGCScheduleOK describes a response with status code 200, with default header values.
Get gc's schedule.
func NewGetGCScheduleOK ¶
func NewGetGCScheduleOK() *GetGCScheduleOK
NewGetGCScheduleOK creates a GetGCScheduleOK with default headers values
func (*GetGCScheduleOK) Error ¶
func (o *GetGCScheduleOK) Error() string
func (*GetGCScheduleOK) GetPayload ¶
func (o *GetGCScheduleOK) GetPayload() *model.GCHistory
type GetGCScheduleParams ¶
type GetGCScheduleParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGCScheduleParams contains all the parameters to send to the API endpoint
for the get g c schedule operation. Typically these are written to a http.Request.
func NewGetGCScheduleParams ¶
func NewGetGCScheduleParams() *GetGCScheduleParams
NewGetGCScheduleParams creates a new GetGCScheduleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGCScheduleParamsWithContext ¶
func NewGetGCScheduleParamsWithContext(ctx context.Context) *GetGCScheduleParams
NewGetGCScheduleParamsWithContext creates a new GetGCScheduleParams object with the ability to set a context for a request.
func NewGetGCScheduleParamsWithHTTPClient ¶
func NewGetGCScheduleParamsWithHTTPClient(client *http.Client) *GetGCScheduleParams
NewGetGCScheduleParamsWithHTTPClient creates a new GetGCScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewGetGCScheduleParamsWithTimeout ¶
func NewGetGCScheduleParamsWithTimeout(timeout time.Duration) *GetGCScheduleParams
NewGetGCScheduleParamsWithTimeout creates a new GetGCScheduleParams object with the ability to set a timeout on a request.
func (*GetGCScheduleParams) SetContext ¶
func (o *GetGCScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the get g c schedule params
func (*GetGCScheduleParams) SetDefaults ¶
func (o *GetGCScheduleParams) SetDefaults()
SetDefaults hydrates default values in the get g c schedule params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCScheduleParams) SetHTTPClient ¶
func (o *GetGCScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get g c schedule params
func (*GetGCScheduleParams) SetTimeout ¶
func (o *GetGCScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get g c schedule params
func (*GetGCScheduleParams) WithContext ¶
func (o *GetGCScheduleParams) WithContext(ctx context.Context) *GetGCScheduleParams
WithContext adds the context to the get g c schedule params
func (*GetGCScheduleParams) WithDefaults ¶
func (o *GetGCScheduleParams) WithDefaults() *GetGCScheduleParams
WithDefaults hydrates default values in the get g c schedule params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCScheduleParams) WithHTTPClient ¶
func (o *GetGCScheduleParams) WithHTTPClient(client *http.Client) *GetGCScheduleParams
WithHTTPClient adds the HTTPClient to the get g c schedule params
func (*GetGCScheduleParams) WithTimeout ¶
func (o *GetGCScheduleParams) WithTimeout(timeout time.Duration) *GetGCScheduleParams
WithTimeout adds the timeout to the get g c schedule params
func (*GetGCScheduleParams) WriteToRequest ¶
func (o *GetGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGCScheduleReader ¶
type GetGCScheduleReader struct {
// contains filtered or unexported fields
}
GetGCScheduleReader is a Reader for the GetGCSchedule structure.
func (*GetGCScheduleReader) ReadResponse ¶
func (o *GetGCScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGCScheduleUnauthorized ¶
type GetGCScheduleUnauthorized struct { string }XRequestID
GetGCScheduleUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGCScheduleUnauthorized ¶
func NewGetGCScheduleUnauthorized() *GetGCScheduleUnauthorized
NewGetGCScheduleUnauthorized creates a GetGCScheduleUnauthorized with default headers values
func (*GetGCScheduleUnauthorized) Error ¶
func (o *GetGCScheduleUnauthorized) Error() string
func (*GetGCScheduleUnauthorized) GetPayload ¶
func (o *GetGCScheduleUnauthorized) GetPayload() *model.Errors
type GetGCUnauthorized ¶
type GetGCUnauthorized struct { string }XRequestID
GetGCUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGCUnauthorized ¶
func NewGetGCUnauthorized() *GetGCUnauthorized
NewGetGCUnauthorized creates a GetGCUnauthorized with default headers values
func (*GetGCUnauthorized) Error ¶
func (o *GetGCUnauthorized) Error() string
func (*GetGCUnauthorized) GetPayload ¶
func (o *GetGCUnauthorized) GetPayload() *model.Errors
type UpdateGCScheduleBadRequest ¶
type UpdateGCScheduleBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateGCScheduleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateGCScheduleBadRequest ¶
func NewUpdateGCScheduleBadRequest() *UpdateGCScheduleBadRequest
NewUpdateGCScheduleBadRequest creates a UpdateGCScheduleBadRequest with default headers values
func (*UpdateGCScheduleBadRequest) Error ¶
func (o *UpdateGCScheduleBadRequest) Error() string
func (*UpdateGCScheduleBadRequest) GetPayload ¶
func (o *UpdateGCScheduleBadRequest) GetPayload() *model.Errors
type UpdateGCScheduleForbidden ¶
type UpdateGCScheduleForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateGCScheduleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateGCScheduleForbidden ¶
func NewUpdateGCScheduleForbidden() *UpdateGCScheduleForbidden
NewUpdateGCScheduleForbidden creates a UpdateGCScheduleForbidden with default headers values
func (*UpdateGCScheduleForbidden) Error ¶
func (o *UpdateGCScheduleForbidden) Error() string
func (*UpdateGCScheduleForbidden) GetPayload ¶
func (o *UpdateGCScheduleForbidden) GetPayload() *model.Errors
type UpdateGCScheduleInternalServerError ¶
type UpdateGCScheduleInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateGCScheduleInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewUpdateGCScheduleInternalServerError ¶
func NewUpdateGCScheduleInternalServerError() *UpdateGCScheduleInternalServerError
NewUpdateGCScheduleInternalServerError creates a UpdateGCScheduleInternalServerError with default headers values
func (*UpdateGCScheduleInternalServerError) Error ¶
func (o *UpdateGCScheduleInternalServerError) Error() string
func (*UpdateGCScheduleInternalServerError) GetPayload ¶
func (o *UpdateGCScheduleInternalServerError) GetPayload() *model.Errors
type UpdateGCScheduleOK ¶
type UpdateGCScheduleOK struct { }
UpdateGCScheduleOK describes a response with status code 200, with default header values.
Updated gc's schedule successfully.
func NewUpdateGCScheduleOK ¶
func NewUpdateGCScheduleOK() *UpdateGCScheduleOK
NewUpdateGCScheduleOK creates a UpdateGCScheduleOK with default headers values
func (*UpdateGCScheduleOK) Error ¶
func (o *UpdateGCScheduleOK) Error() string
type UpdateGCScheduleParams ¶
type UpdateGCScheduleParams struct { /* Schedule. Updates of gc's schedule. */ Schedule *model.Schedule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateGCScheduleParams contains all the parameters to send to the API endpoint
for the update g c schedule operation. Typically these are written to a http.Request.
func NewUpdateGCScheduleParams ¶
func NewUpdateGCScheduleParams() *UpdateGCScheduleParams
NewUpdateGCScheduleParams creates a new UpdateGCScheduleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateGCScheduleParamsWithContext ¶
func NewUpdateGCScheduleParamsWithContext(ctx context.Context) *UpdateGCScheduleParams
NewUpdateGCScheduleParamsWithContext creates a new UpdateGCScheduleParams object with the ability to set a context for a request.
func NewUpdateGCScheduleParamsWithHTTPClient ¶
func NewUpdateGCScheduleParamsWithHTTPClient(client *http.Client) *UpdateGCScheduleParams
NewUpdateGCScheduleParamsWithHTTPClient creates a new UpdateGCScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateGCScheduleParamsWithTimeout ¶
func NewUpdateGCScheduleParamsWithTimeout(timeout time.Duration) *UpdateGCScheduleParams
NewUpdateGCScheduleParamsWithTimeout creates a new UpdateGCScheduleParams object with the ability to set a timeout on a request.
func (*UpdateGCScheduleParams) SetContext ¶
func (o *UpdateGCScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the update g c schedule params
func (*UpdateGCScheduleParams) SetDefaults ¶
func (o *UpdateGCScheduleParams) SetDefaults()
SetDefaults hydrates default values in the update g c schedule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGCScheduleParams) SetHTTPClient ¶
func (o *UpdateGCScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update g c schedule params
func (*UpdateGCScheduleParams) SetSchedule ¶
func (o *UpdateGCScheduleParams) SetSchedule(schedule *model.Schedule)
SetSchedule adds the schedule to the update g c schedule params
func (*UpdateGCScheduleParams) SetTimeout ¶
func (o *UpdateGCScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update g c schedule params
func (*UpdateGCScheduleParams) WithContext ¶
func (o *UpdateGCScheduleParams) WithContext(ctx context.Context) *UpdateGCScheduleParams
WithContext adds the context to the update g c schedule params
func (*UpdateGCScheduleParams) WithDefaults ¶
func (o *UpdateGCScheduleParams) WithDefaults() *UpdateGCScheduleParams
WithDefaults hydrates default values in the update g c schedule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGCScheduleParams) WithHTTPClient ¶
func (o *UpdateGCScheduleParams) WithHTTPClient(client *http.Client) *UpdateGCScheduleParams
WithHTTPClient adds the HTTPClient to the update g c schedule params
func (*UpdateGCScheduleParams) WithSchedule ¶
func (o *UpdateGCScheduleParams) WithSchedule(schedule *model.Schedule) *UpdateGCScheduleParams
WithSchedule adds the schedule to the update g c schedule params
func (*UpdateGCScheduleParams) WithTimeout ¶
func (o *UpdateGCScheduleParams) WithTimeout(timeout time.Duration) *UpdateGCScheduleParams
WithTimeout adds the timeout to the update g c schedule params
func (*UpdateGCScheduleParams) WriteToRequest ¶
func (o *UpdateGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGCScheduleReader ¶
type UpdateGCScheduleReader struct {
// contains filtered or unexported fields
}
UpdateGCScheduleReader is a Reader for the UpdateGCSchedule structure.
func (*UpdateGCScheduleReader) ReadResponse ¶
func (o *UpdateGCScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGCScheduleUnauthorized ¶
type UpdateGCScheduleUnauthorized struct { string }XRequestID
UpdateGCScheduleUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateGCScheduleUnauthorized ¶
func NewUpdateGCScheduleUnauthorized() *UpdateGCScheduleUnauthorized
NewUpdateGCScheduleUnauthorized creates a UpdateGCScheduleUnauthorized with default headers values
func (*UpdateGCScheduleUnauthorized) Error ¶
func (o *UpdateGCScheduleUnauthorized) Error() string
func (*UpdateGCScheduleUnauthorized) GetPayload ¶
func (o *UpdateGCScheduleUnauthorized) GetPayload() *model.Errors
Source Files
¶
- create_g_c_schedule_parameters.go
- create_g_c_schedule_responses.go
- gc_client.go
- get_g_c_history_parameters.go
- get_g_c_history_responses.go
- get_g_c_log_parameters.go
- get_g_c_log_responses.go
- get_g_c_parameters.go
- get_g_c_responses.go
- get_g_c_schedule_parameters.go
- get_g_c_schedule_responses.go
- update_g_c_schedule_parameters.go
- update_g_c_schedule_responses.go