Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePurgeSchedule(params *CreatePurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePurgeScheduleCreated, error)
- func (a *Client) GetPurgeHistory(params *GetPurgeHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeHistoryOK, error)
- func (a *Client) GetPurgeJob(params *GetPurgeJobParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeJobOK, error)
- func (a *Client) GetPurgeJobLog(params *GetPurgeJobLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeJobLogOK, error)
- func (a *Client) GetPurgeSchedule(params *GetPurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeScheduleOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StopPurge(params *StopPurgeParams, authInfo runtime.ClientAuthInfoWriter) (*StopPurgeOK, error)
- func (a *Client) UpdatePurgeSchedule(params *UpdatePurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePurgeScheduleOK, error)
- type ClientService
- type CreatePurgeScheduleBadRequest
- type CreatePurgeScheduleCreated
- type CreatePurgeScheduleForbidden
- type CreatePurgeScheduleInternalServerError
- type CreatePurgeScheduleParams
- func NewCreatePurgeScheduleParams() *CreatePurgeScheduleParams
- func NewCreatePurgeScheduleParamsWithContext(ctx context.Context) *CreatePurgeScheduleParams
- func NewCreatePurgeScheduleParamsWithHTTPClient(client *http.Client) *CreatePurgeScheduleParams
- func NewCreatePurgeScheduleParamsWithTimeout(timeout time.Duration) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) SetContext(ctx context.Context)
- func (o *CreatePurgeScheduleParams) SetHTTPClient(client *http.Client)
- func (o *CreatePurgeScheduleParams) SetSchedule(schedule *model.Schedule)
- func (o *CreatePurgeScheduleParams) SetTimeout(timeout time.Duration)
- func (o *CreatePurgeScheduleParams) SetXRequestID(xRequestID *string)
- func (o *CreatePurgeScheduleParams) WithContext(ctx context.Context) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) WithHTTPClient(client *http.Client) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) WithSchedule(schedule *model.Schedule) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) WithTimeout(timeout time.Duration) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) WithXRequestID(xRequestID *string) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePurgeScheduleReader
- type CreatePurgeScheduleUnauthorized
- type GetPurgeHistoryForbidden
- type GetPurgeHistoryInternalServerError
- type GetPurgeHistoryOK
- type GetPurgeHistoryParams
- func NewGetPurgeHistoryParams() *GetPurgeHistoryParams
- func NewGetPurgeHistoryParamsWithContext(ctx context.Context) *GetPurgeHistoryParams
- func NewGetPurgeHistoryParamsWithHTTPClient(client *http.Client) *GetPurgeHistoryParams
- func NewGetPurgeHistoryParamsWithTimeout(timeout time.Duration) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) SetContext(ctx context.Context)
- func (o *GetPurgeHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetPurgeHistoryParams) SetPage(page *int64)
- func (o *GetPurgeHistoryParams) SetPageSize(pageSize *int64)
- func (o *GetPurgeHistoryParams) SetQ(q *string)
- func (o *GetPurgeHistoryParams) SetSort(sort *string)
- func (o *GetPurgeHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetPurgeHistoryParams) SetXRequestID(xRequestID *string)
- func (o *GetPurgeHistoryParams) WithContext(ctx context.Context) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithHTTPClient(client *http.Client) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithPage(page *int64) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithPageSize(pageSize *int64) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithQ(q *string) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithSort(sort *string) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithTimeout(timeout time.Duration) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithXRequestID(xRequestID *string) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPurgeHistoryReader
- type GetPurgeHistoryUnauthorized
- type GetPurgeJobForbidden
- type GetPurgeJobInternalServerError
- type GetPurgeJobLogBadRequest
- type GetPurgeJobLogForbidden
- type GetPurgeJobLogInternalServerError
- type GetPurgeJobLogNotFound
- type GetPurgeJobLogOK
- type GetPurgeJobLogParams
- func NewGetPurgeJobLogParams() *GetPurgeJobLogParams
- func NewGetPurgeJobLogParamsWithContext(ctx context.Context) *GetPurgeJobLogParams
- func NewGetPurgeJobLogParamsWithHTTPClient(client *http.Client) *GetPurgeJobLogParams
- func NewGetPurgeJobLogParamsWithTimeout(timeout time.Duration) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) SetContext(ctx context.Context)
- func (o *GetPurgeJobLogParams) SetHTTPClient(client *http.Client)
- func (o *GetPurgeJobLogParams) SetPurgeID(purgeID int64)
- func (o *GetPurgeJobLogParams) SetTimeout(timeout time.Duration)
- func (o *GetPurgeJobLogParams) SetXRequestID(xRequestID *string)
- func (o *GetPurgeJobLogParams) WithContext(ctx context.Context) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) WithHTTPClient(client *http.Client) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) WithPurgeID(purgeID int64) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) WithTimeout(timeout time.Duration) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) WithXRequestID(xRequestID *string) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPurgeJobLogReader
- type GetPurgeJobLogUnauthorized
- type GetPurgeJobNotFound
- type GetPurgeJobOK
- type GetPurgeJobParams
- func (o *GetPurgeJobParams) SetContext(ctx context.Context)
- func (o *GetPurgeJobParams) SetHTTPClient(client *http.Client)
- func (o *GetPurgeJobParams) SetPurgeID(purgeID int64)
- func (o *GetPurgeJobParams) SetTimeout(timeout time.Duration)
- func (o *GetPurgeJobParams) SetXRequestID(xRequestID *string)
- func (o *GetPurgeJobParams) WithContext(ctx context.Context) *GetPurgeJobParams
- func (o *GetPurgeJobParams) WithHTTPClient(client *http.Client) *GetPurgeJobParams
- func (o *GetPurgeJobParams) WithPurgeID(purgeID int64) *GetPurgeJobParams
- func (o *GetPurgeJobParams) WithTimeout(timeout time.Duration) *GetPurgeJobParams
- func (o *GetPurgeJobParams) WithXRequestID(xRequestID *string) *GetPurgeJobParams
- func (o *GetPurgeJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPurgeJobReader
- type GetPurgeJobUnauthorized
- type GetPurgeScheduleForbidden
- type GetPurgeScheduleInternalServerError
- type GetPurgeScheduleOK
- type GetPurgeScheduleParams
- func NewGetPurgeScheduleParams() *GetPurgeScheduleParams
- func NewGetPurgeScheduleParamsWithContext(ctx context.Context) *GetPurgeScheduleParams
- func NewGetPurgeScheduleParamsWithHTTPClient(client *http.Client) *GetPurgeScheduleParams
- func NewGetPurgeScheduleParamsWithTimeout(timeout time.Duration) *GetPurgeScheduleParams
- func (o *GetPurgeScheduleParams) SetContext(ctx context.Context)
- func (o *GetPurgeScheduleParams) SetHTTPClient(client *http.Client)
- func (o *GetPurgeScheduleParams) SetTimeout(timeout time.Duration)
- func (o *GetPurgeScheduleParams) SetXRequestID(xRequestID *string)
- func (o *GetPurgeScheduleParams) WithContext(ctx context.Context) *GetPurgeScheduleParams
- func (o *GetPurgeScheduleParams) WithHTTPClient(client *http.Client) *GetPurgeScheduleParams
- func (o *GetPurgeScheduleParams) WithTimeout(timeout time.Duration) *GetPurgeScheduleParams
- func (o *GetPurgeScheduleParams) WithXRequestID(xRequestID *string) *GetPurgeScheduleParams
- func (o *GetPurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPurgeScheduleReader
- type GetPurgeScheduleUnauthorized
- type StopPurgeForbidden
- type StopPurgeInternalServerError
- type StopPurgeNotFound
- type StopPurgeOK
- type StopPurgeParams
- func (o *StopPurgeParams) SetContext(ctx context.Context)
- func (o *StopPurgeParams) SetHTTPClient(client *http.Client)
- func (o *StopPurgeParams) SetPurgeID(purgeID int64)
- func (o *StopPurgeParams) SetTimeout(timeout time.Duration)
- func (o *StopPurgeParams) SetXRequestID(xRequestID *string)
- func (o *StopPurgeParams) WithContext(ctx context.Context) *StopPurgeParams
- func (o *StopPurgeParams) WithHTTPClient(client *http.Client) *StopPurgeParams
- func (o *StopPurgeParams) WithPurgeID(purgeID int64) *StopPurgeParams
- func (o *StopPurgeParams) WithTimeout(timeout time.Duration) *StopPurgeParams
- func (o *StopPurgeParams) WithXRequestID(xRequestID *string) *StopPurgeParams
- func (o *StopPurgeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopPurgeReader
- type StopPurgeUnauthorized
- type UpdatePurgeScheduleBadRequest
- type UpdatePurgeScheduleForbidden
- type UpdatePurgeScheduleInternalServerError
- type UpdatePurgeScheduleOK
- type UpdatePurgeScheduleParams
- func NewUpdatePurgeScheduleParams() *UpdatePurgeScheduleParams
- func NewUpdatePurgeScheduleParamsWithContext(ctx context.Context) *UpdatePurgeScheduleParams
- func NewUpdatePurgeScheduleParamsWithHTTPClient(client *http.Client) *UpdatePurgeScheduleParams
- func NewUpdatePurgeScheduleParamsWithTimeout(timeout time.Duration) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) SetContext(ctx context.Context)
- func (o *UpdatePurgeScheduleParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePurgeScheduleParams) SetSchedule(schedule *model.Schedule)
- func (o *UpdatePurgeScheduleParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePurgeScheduleParams) SetXRequestID(xRequestID *string)
- func (o *UpdatePurgeScheduleParams) WithContext(ctx context.Context) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) WithHTTPClient(client *http.Client) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) WithSchedule(schedule *model.Schedule) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) WithTimeout(timeout time.Duration) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) WithXRequestID(xRequestID *string) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePurgeScheduleReader
- type UpdatePurgeScheduleUnauthorized
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 purge API
func (*Client) CreatePurgeSchedule ¶
func (a *Client) CreatePurgeSchedule(params *CreatePurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePurgeScheduleCreated, error)
CreatePurgeSchedule creates a purge job schedule
This endpoint is for update purge job schedule.
func (*Client) GetPurgeHistory ¶
func (a *Client) GetPurgeHistory(params *GetPurgeHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeHistoryOK, error)
GetPurgeHistory gets purge job results
get purge job execution history.
func (*Client) GetPurgeJob ¶
func (a *Client) GetPurgeJob(params *GetPurgeJobParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeJobOK, error)
GetPurgeJob gets purge job status
This endpoint let user get purge job status filtered by specific ID.
func (*Client) GetPurgeJobLog ¶
func (a *Client) GetPurgeJobLog(params *GetPurgeJobLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeJobLogOK, error)
GetPurgeJobLog gets purge job log
This endpoint let user get purge job logs filtered by specific ID.
func (*Client) GetPurgeSchedule ¶
func (a *Client) GetPurgeSchedule(params *GetPurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeScheduleOK, error)
GetPurgeSchedule gets purge s schedule
This endpoint is for get schedule of purge job.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StopPurge ¶
func (a *Client) StopPurge(params *StopPurgeParams, authInfo runtime.ClientAuthInfoWriter) (*StopPurgeOK, error)
StopPurge stops the specific purge audit log execution
Stop the purge audit log execution specified by ID
func (*Client) UpdatePurgeSchedule ¶
func (a *Client) UpdatePurgeSchedule(params *UpdatePurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePurgeScheduleOK, error)
UpdatePurgeSchedule updates purge job s schedule
This endpoint is for update purge job schedule.
type ClientService ¶
type ClientService interface { CreatePurgeSchedule(params *CreatePurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePurgeScheduleCreated, error) GetPurgeHistory(params *GetPurgeHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeHistoryOK, error) GetPurgeJob(params *GetPurgeJobParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeJobOK, error) GetPurgeJobLog(params *GetPurgeJobLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeJobLogOK, error) GetPurgeSchedule(params *GetPurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeScheduleOK, error) StopPurge(params *StopPurgeParams, authInfo runtime.ClientAuthInfoWriter) (*StopPurgeOK, error) UpdatePurgeSchedule(params *UpdatePurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePurgeScheduleOK, 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 purge API client.
type CreatePurgeScheduleBadRequest ¶
type CreatePurgeScheduleBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreatePurgeScheduleBadRequest handles this case with default header values.
Bad request
func NewCreatePurgeScheduleBadRequest ¶
func NewCreatePurgeScheduleBadRequest() *CreatePurgeScheduleBadRequest
NewCreatePurgeScheduleBadRequest creates a CreatePurgeScheduleBadRequest with default headers values
func (*CreatePurgeScheduleBadRequest) Error ¶
func (o *CreatePurgeScheduleBadRequest) Error() string
func (*CreatePurgeScheduleBadRequest) GetPayload ¶
func (o *CreatePurgeScheduleBadRequest) GetPayload() *model.Errors
type CreatePurgeScheduleCreated ¶
type CreatePurgeScheduleCreated struct { /*The location of the resource */ Location string /*The ID of the corresponding request for the response */ XRequestID string }
CreatePurgeScheduleCreated handles this case with default header values.
Created
func NewCreatePurgeScheduleCreated ¶
func NewCreatePurgeScheduleCreated() *CreatePurgeScheduleCreated
NewCreatePurgeScheduleCreated creates a CreatePurgeScheduleCreated with default headers values
func (*CreatePurgeScheduleCreated) Error ¶
func (o *CreatePurgeScheduleCreated) Error() string
type CreatePurgeScheduleForbidden ¶
type CreatePurgeScheduleForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreatePurgeScheduleForbidden handles this case with default header values.
Forbidden
func NewCreatePurgeScheduleForbidden ¶
func NewCreatePurgeScheduleForbidden() *CreatePurgeScheduleForbidden
NewCreatePurgeScheduleForbidden creates a CreatePurgeScheduleForbidden with default headers values
func (*CreatePurgeScheduleForbidden) Error ¶
func (o *CreatePurgeScheduleForbidden) Error() string
func (*CreatePurgeScheduleForbidden) GetPayload ¶
func (o *CreatePurgeScheduleForbidden) GetPayload() *model.Errors
type CreatePurgeScheduleInternalServerError ¶
type CreatePurgeScheduleInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreatePurgeScheduleInternalServerError handles this case with default header values.
Internal server error
func NewCreatePurgeScheduleInternalServerError ¶
func NewCreatePurgeScheduleInternalServerError() *CreatePurgeScheduleInternalServerError
NewCreatePurgeScheduleInternalServerError creates a CreatePurgeScheduleInternalServerError with default headers values
func (*CreatePurgeScheduleInternalServerError) Error ¶
func (o *CreatePurgeScheduleInternalServerError) Error() string
func (*CreatePurgeScheduleInternalServerError) GetPayload ¶
func (o *CreatePurgeScheduleInternalServerError) GetPayload() *model.Errors
type CreatePurgeScheduleParams ¶
type CreatePurgeScheduleParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*Schedule The purge job's schedule, it is a json object. | The sample format is | {"parameters":{"audit_retention_hour":168,"dry_run":true, "include_operations":"create,delete,pull"},"schedule":{"type":"Hourly","cron":"0 0 * * * *"}} | the include_operation should be a comma separated string, e.g. create,delete,pull, if it is empty, no operation will be purged. */ Schedule *model.Schedule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePurgeScheduleParams contains all the parameters to send to the API endpoint for the create purge schedule operation typically these are written to a http.Request
func NewCreatePurgeScheduleParams ¶
func NewCreatePurgeScheduleParams() *CreatePurgeScheduleParams
NewCreatePurgeScheduleParams creates a new CreatePurgeScheduleParams object with the default values initialized.
func NewCreatePurgeScheduleParamsWithContext ¶
func NewCreatePurgeScheduleParamsWithContext(ctx context.Context) *CreatePurgeScheduleParams
NewCreatePurgeScheduleParamsWithContext creates a new CreatePurgeScheduleParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePurgeScheduleParamsWithHTTPClient ¶
func NewCreatePurgeScheduleParamsWithHTTPClient(client *http.Client) *CreatePurgeScheduleParams
NewCreatePurgeScheduleParamsWithHTTPClient creates a new CreatePurgeScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePurgeScheduleParamsWithTimeout ¶
func NewCreatePurgeScheduleParamsWithTimeout(timeout time.Duration) *CreatePurgeScheduleParams
NewCreatePurgeScheduleParamsWithTimeout creates a new CreatePurgeScheduleParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePurgeScheduleParams) SetContext ¶
func (o *CreatePurgeScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the create purge schedule params
func (*CreatePurgeScheduleParams) SetHTTPClient ¶
func (o *CreatePurgeScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create purge schedule params
func (*CreatePurgeScheduleParams) SetSchedule ¶
func (o *CreatePurgeScheduleParams) SetSchedule(schedule *model.Schedule)
SetSchedule adds the schedule to the create purge schedule params
func (*CreatePurgeScheduleParams) SetTimeout ¶
func (o *CreatePurgeScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create purge schedule params
func (*CreatePurgeScheduleParams) SetXRequestID ¶
func (o *CreatePurgeScheduleParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create purge schedule params
func (*CreatePurgeScheduleParams) WithContext ¶
func (o *CreatePurgeScheduleParams) WithContext(ctx context.Context) *CreatePurgeScheduleParams
WithContext adds the context to the create purge schedule params
func (*CreatePurgeScheduleParams) WithHTTPClient ¶
func (o *CreatePurgeScheduleParams) WithHTTPClient(client *http.Client) *CreatePurgeScheduleParams
WithHTTPClient adds the HTTPClient to the create purge schedule params
func (*CreatePurgeScheduleParams) WithSchedule ¶
func (o *CreatePurgeScheduleParams) WithSchedule(schedule *model.Schedule) *CreatePurgeScheduleParams
WithSchedule adds the schedule to the create purge schedule params
func (*CreatePurgeScheduleParams) WithTimeout ¶
func (o *CreatePurgeScheduleParams) WithTimeout(timeout time.Duration) *CreatePurgeScheduleParams
WithTimeout adds the timeout to the create purge schedule params
func (*CreatePurgeScheduleParams) WithXRequestID ¶
func (o *CreatePurgeScheduleParams) WithXRequestID(xRequestID *string) *CreatePurgeScheduleParams
WithXRequestID adds the xRequestID to the create purge schedule params
func (*CreatePurgeScheduleParams) WriteToRequest ¶
func (o *CreatePurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePurgeScheduleReader ¶
type CreatePurgeScheduleReader struct {
// contains filtered or unexported fields
}
CreatePurgeScheduleReader is a Reader for the CreatePurgeSchedule structure.
func (*CreatePurgeScheduleReader) ReadResponse ¶
func (o *CreatePurgeScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePurgeScheduleUnauthorized ¶
type CreatePurgeScheduleUnauthorized struct { string }XRequestID
CreatePurgeScheduleUnauthorized handles this case with default header values.
Unauthorized
func NewCreatePurgeScheduleUnauthorized ¶
func NewCreatePurgeScheduleUnauthorized() *CreatePurgeScheduleUnauthorized
NewCreatePurgeScheduleUnauthorized creates a CreatePurgeScheduleUnauthorized with default headers values
func (*CreatePurgeScheduleUnauthorized) Error ¶
func (o *CreatePurgeScheduleUnauthorized) Error() string
func (*CreatePurgeScheduleUnauthorized) GetPayload ¶
func (o *CreatePurgeScheduleUnauthorized) GetPayload() *model.Errors
type GetPurgeHistoryForbidden ¶
type GetPurgeHistoryForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetPurgeHistoryForbidden handles this case with default header values.
Forbidden
func NewGetPurgeHistoryForbidden ¶
func NewGetPurgeHistoryForbidden() *GetPurgeHistoryForbidden
NewGetPurgeHistoryForbidden creates a GetPurgeHistoryForbidden with default headers values
func (*GetPurgeHistoryForbidden) Error ¶
func (o *GetPurgeHistoryForbidden) Error() string
func (*GetPurgeHistoryForbidden) GetPayload ¶
func (o *GetPurgeHistoryForbidden) GetPayload() *model.Errors
type GetPurgeHistoryInternalServerError ¶
type GetPurgeHistoryInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetPurgeHistoryInternalServerError handles this case with default header values.
Internal server error
func NewGetPurgeHistoryInternalServerError ¶
func NewGetPurgeHistoryInternalServerError() *GetPurgeHistoryInternalServerError
NewGetPurgeHistoryInternalServerError creates a GetPurgeHistoryInternalServerError with default headers values
func (*GetPurgeHistoryInternalServerError) Error ¶
func (o *GetPurgeHistoryInternalServerError) Error() string
func (*GetPurgeHistoryInternalServerError) GetPayload ¶
func (o *GetPurgeHistoryInternalServerError) GetPayload() *model.Errors
type GetPurgeHistoryOK ¶
type GetPurgeHistoryOK struct { /*Link refers to the previous page and next page */ Link string /*The total count of history */ XTotalCount int64 Payload []*model.ExecHistory }
GetPurgeHistoryOK handles this case with default header values.
Get purge job results successfully.
func NewGetPurgeHistoryOK ¶
func NewGetPurgeHistoryOK() *GetPurgeHistoryOK
NewGetPurgeHistoryOK creates a GetPurgeHistoryOK with default headers values
func (*GetPurgeHistoryOK) Error ¶
func (o *GetPurgeHistoryOK) Error() string
func (*GetPurgeHistoryOK) GetPayload ¶
func (o *GetPurgeHistoryOK) GetPayload() []*model.ExecHistory
type GetPurgeHistoryParams ¶
type GetPurgeHistoryParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*Page The page number */ Page *int64 /*PageSize The size of per page */ 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 /*Sort Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPurgeHistoryParams contains all the parameters to send to the API endpoint for the get purge history operation typically these are written to a http.Request
func NewGetPurgeHistoryParams ¶
func NewGetPurgeHistoryParams() *GetPurgeHistoryParams
NewGetPurgeHistoryParams creates a new GetPurgeHistoryParams object with the default values initialized.
func NewGetPurgeHistoryParamsWithContext ¶
func NewGetPurgeHistoryParamsWithContext(ctx context.Context) *GetPurgeHistoryParams
NewGetPurgeHistoryParamsWithContext creates a new GetPurgeHistoryParams object with the default values initialized, and the ability to set a context for a request
func NewGetPurgeHistoryParamsWithHTTPClient ¶
func NewGetPurgeHistoryParamsWithHTTPClient(client *http.Client) *GetPurgeHistoryParams
NewGetPurgeHistoryParamsWithHTTPClient creates a new GetPurgeHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPurgeHistoryParamsWithTimeout ¶
func NewGetPurgeHistoryParamsWithTimeout(timeout time.Duration) *GetPurgeHistoryParams
NewGetPurgeHistoryParamsWithTimeout creates a new GetPurgeHistoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPurgeHistoryParams) SetContext ¶
func (o *GetPurgeHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get purge history params
func (*GetPurgeHistoryParams) SetHTTPClient ¶
func (o *GetPurgeHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get purge history params
func (*GetPurgeHistoryParams) SetPage ¶
func (o *GetPurgeHistoryParams) SetPage(page *int64)
SetPage adds the page to the get purge history params
func (*GetPurgeHistoryParams) SetPageSize ¶
func (o *GetPurgeHistoryParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the get purge history params
func (*GetPurgeHistoryParams) SetQ ¶
func (o *GetPurgeHistoryParams) SetQ(q *string)
SetQ adds the q to the get purge history params
func (*GetPurgeHistoryParams) SetSort ¶
func (o *GetPurgeHistoryParams) SetSort(sort *string)
SetSort adds the sort to the get purge history params
func (*GetPurgeHistoryParams) SetTimeout ¶
func (o *GetPurgeHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get purge history params
func (*GetPurgeHistoryParams) SetXRequestID ¶
func (o *GetPurgeHistoryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get purge history params
func (*GetPurgeHistoryParams) WithContext ¶
func (o *GetPurgeHistoryParams) WithContext(ctx context.Context) *GetPurgeHistoryParams
WithContext adds the context to the get purge history params
func (*GetPurgeHistoryParams) WithHTTPClient ¶
func (o *GetPurgeHistoryParams) WithHTTPClient(client *http.Client) *GetPurgeHistoryParams
WithHTTPClient adds the HTTPClient to the get purge history params
func (*GetPurgeHistoryParams) WithPage ¶
func (o *GetPurgeHistoryParams) WithPage(page *int64) *GetPurgeHistoryParams
WithPage adds the page to the get purge history params
func (*GetPurgeHistoryParams) WithPageSize ¶
func (o *GetPurgeHistoryParams) WithPageSize(pageSize *int64) *GetPurgeHistoryParams
WithPageSize adds the pageSize to the get purge history params
func (*GetPurgeHistoryParams) WithQ ¶
func (o *GetPurgeHistoryParams) WithQ(q *string) *GetPurgeHistoryParams
WithQ adds the q to the get purge history params
func (*GetPurgeHistoryParams) WithSort ¶
func (o *GetPurgeHistoryParams) WithSort(sort *string) *GetPurgeHistoryParams
WithSort adds the sort to the get purge history params
func (*GetPurgeHistoryParams) WithTimeout ¶
func (o *GetPurgeHistoryParams) WithTimeout(timeout time.Duration) *GetPurgeHistoryParams
WithTimeout adds the timeout to the get purge history params
func (*GetPurgeHistoryParams) WithXRequestID ¶
func (o *GetPurgeHistoryParams) WithXRequestID(xRequestID *string) *GetPurgeHistoryParams
WithXRequestID adds the xRequestID to the get purge history params
func (*GetPurgeHistoryParams) WriteToRequest ¶
func (o *GetPurgeHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPurgeHistoryReader ¶
type GetPurgeHistoryReader struct {
// contains filtered or unexported fields
}
GetPurgeHistoryReader is a Reader for the GetPurgeHistory structure.
func (*GetPurgeHistoryReader) ReadResponse ¶
func (o *GetPurgeHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPurgeHistoryUnauthorized ¶
type GetPurgeHistoryUnauthorized struct { string }XRequestID
GetPurgeHistoryUnauthorized handles this case with default header values.
Unauthorized
func NewGetPurgeHistoryUnauthorized ¶
func NewGetPurgeHistoryUnauthorized() *GetPurgeHistoryUnauthorized
NewGetPurgeHistoryUnauthorized creates a GetPurgeHistoryUnauthorized with default headers values
func (*GetPurgeHistoryUnauthorized) Error ¶
func (o *GetPurgeHistoryUnauthorized) Error() string
func (*GetPurgeHistoryUnauthorized) GetPayload ¶
func (o *GetPurgeHistoryUnauthorized) GetPayload() *model.Errors
type GetPurgeJobForbidden ¶
type GetPurgeJobForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetPurgeJobForbidden handles this case with default header values.
Forbidden
func NewGetPurgeJobForbidden ¶
func NewGetPurgeJobForbidden() *GetPurgeJobForbidden
NewGetPurgeJobForbidden creates a GetPurgeJobForbidden with default headers values
func (*GetPurgeJobForbidden) Error ¶
func (o *GetPurgeJobForbidden) Error() string
func (*GetPurgeJobForbidden) GetPayload ¶
func (o *GetPurgeJobForbidden) GetPayload() *model.Errors
type GetPurgeJobInternalServerError ¶
type GetPurgeJobInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetPurgeJobInternalServerError handles this case with default header values.
Internal server error
func NewGetPurgeJobInternalServerError ¶
func NewGetPurgeJobInternalServerError() *GetPurgeJobInternalServerError
NewGetPurgeJobInternalServerError creates a GetPurgeJobInternalServerError with default headers values
func (*GetPurgeJobInternalServerError) Error ¶
func (o *GetPurgeJobInternalServerError) Error() string
func (*GetPurgeJobInternalServerError) GetPayload ¶
func (o *GetPurgeJobInternalServerError) GetPayload() *model.Errors
type GetPurgeJobLogBadRequest ¶
type GetPurgeJobLogBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetPurgeJobLogBadRequest handles this case with default header values.
Bad request
func NewGetPurgeJobLogBadRequest ¶
func NewGetPurgeJobLogBadRequest() *GetPurgeJobLogBadRequest
NewGetPurgeJobLogBadRequest creates a GetPurgeJobLogBadRequest with default headers values
func (*GetPurgeJobLogBadRequest) Error ¶
func (o *GetPurgeJobLogBadRequest) Error() string
func (*GetPurgeJobLogBadRequest) GetPayload ¶
func (o *GetPurgeJobLogBadRequest) GetPayload() *model.Errors
type GetPurgeJobLogForbidden ¶
type GetPurgeJobLogForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetPurgeJobLogForbidden handles this case with default header values.
Forbidden
func NewGetPurgeJobLogForbidden ¶
func NewGetPurgeJobLogForbidden() *GetPurgeJobLogForbidden
NewGetPurgeJobLogForbidden creates a GetPurgeJobLogForbidden with default headers values
func (*GetPurgeJobLogForbidden) Error ¶
func (o *GetPurgeJobLogForbidden) Error() string
func (*GetPurgeJobLogForbidden) GetPayload ¶
func (o *GetPurgeJobLogForbidden) GetPayload() *model.Errors
type GetPurgeJobLogInternalServerError ¶
type GetPurgeJobLogInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetPurgeJobLogInternalServerError handles this case with default header values.
Internal server error
func NewGetPurgeJobLogInternalServerError ¶
func NewGetPurgeJobLogInternalServerError() *GetPurgeJobLogInternalServerError
NewGetPurgeJobLogInternalServerError creates a GetPurgeJobLogInternalServerError with default headers values
func (*GetPurgeJobLogInternalServerError) Error ¶
func (o *GetPurgeJobLogInternalServerError) Error() string
func (*GetPurgeJobLogInternalServerError) GetPayload ¶
func (o *GetPurgeJobLogInternalServerError) GetPayload() *model.Errors
type GetPurgeJobLogNotFound ¶
type GetPurgeJobLogNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetPurgeJobLogNotFound handles this case with default header values.
Not found
func NewGetPurgeJobLogNotFound ¶
func NewGetPurgeJobLogNotFound() *GetPurgeJobLogNotFound
NewGetPurgeJobLogNotFound creates a GetPurgeJobLogNotFound with default headers values
func (*GetPurgeJobLogNotFound) Error ¶
func (o *GetPurgeJobLogNotFound) Error() string
func (*GetPurgeJobLogNotFound) GetPayload ¶
func (o *GetPurgeJobLogNotFound) GetPayload() *model.Errors
type GetPurgeJobLogOK ¶
type GetPurgeJobLogOK struct {
Payload string
}
GetPurgeJobLogOK handles this case with default header values.
Get successfully.
func NewGetPurgeJobLogOK ¶
func NewGetPurgeJobLogOK() *GetPurgeJobLogOK
NewGetPurgeJobLogOK creates a GetPurgeJobLogOK with default headers values
func (*GetPurgeJobLogOK) Error ¶
func (o *GetPurgeJobLogOK) Error() string
func (*GetPurgeJobLogOK) GetPayload ¶
func (o *GetPurgeJobLogOK) GetPayload() string
type GetPurgeJobLogParams ¶
type GetPurgeJobLogParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*PurgeID The ID of the purge log */ PurgeID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPurgeJobLogParams contains all the parameters to send to the API endpoint for the get purge job log operation typically these are written to a http.Request
func NewGetPurgeJobLogParams ¶
func NewGetPurgeJobLogParams() *GetPurgeJobLogParams
NewGetPurgeJobLogParams creates a new GetPurgeJobLogParams object with the default values initialized.
func NewGetPurgeJobLogParamsWithContext ¶
func NewGetPurgeJobLogParamsWithContext(ctx context.Context) *GetPurgeJobLogParams
NewGetPurgeJobLogParamsWithContext creates a new GetPurgeJobLogParams object with the default values initialized, and the ability to set a context for a request
func NewGetPurgeJobLogParamsWithHTTPClient ¶
func NewGetPurgeJobLogParamsWithHTTPClient(client *http.Client) *GetPurgeJobLogParams
NewGetPurgeJobLogParamsWithHTTPClient creates a new GetPurgeJobLogParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPurgeJobLogParamsWithTimeout ¶
func NewGetPurgeJobLogParamsWithTimeout(timeout time.Duration) *GetPurgeJobLogParams
NewGetPurgeJobLogParamsWithTimeout creates a new GetPurgeJobLogParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPurgeJobLogParams) SetContext ¶
func (o *GetPurgeJobLogParams) SetContext(ctx context.Context)
SetContext adds the context to the get purge job log params
func (*GetPurgeJobLogParams) SetHTTPClient ¶
func (o *GetPurgeJobLogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get purge job log params
func (*GetPurgeJobLogParams) SetPurgeID ¶
func (o *GetPurgeJobLogParams) SetPurgeID(purgeID int64)
SetPurgeID adds the purgeId to the get purge job log params
func (*GetPurgeJobLogParams) SetTimeout ¶
func (o *GetPurgeJobLogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get purge job log params
func (*GetPurgeJobLogParams) SetXRequestID ¶
func (o *GetPurgeJobLogParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get purge job log params
func (*GetPurgeJobLogParams) WithContext ¶
func (o *GetPurgeJobLogParams) WithContext(ctx context.Context) *GetPurgeJobLogParams
WithContext adds the context to the get purge job log params
func (*GetPurgeJobLogParams) WithHTTPClient ¶
func (o *GetPurgeJobLogParams) WithHTTPClient(client *http.Client) *GetPurgeJobLogParams
WithHTTPClient adds the HTTPClient to the get purge job log params
func (*GetPurgeJobLogParams) WithPurgeID ¶
func (o *GetPurgeJobLogParams) WithPurgeID(purgeID int64) *GetPurgeJobLogParams
WithPurgeID adds the purgeID to the get purge job log params
func (*GetPurgeJobLogParams) WithTimeout ¶
func (o *GetPurgeJobLogParams) WithTimeout(timeout time.Duration) *GetPurgeJobLogParams
WithTimeout adds the timeout to the get purge job log params
func (*GetPurgeJobLogParams) WithXRequestID ¶
func (o *GetPurgeJobLogParams) WithXRequestID(xRequestID *string) *GetPurgeJobLogParams
WithXRequestID adds the xRequestID to the get purge job log params
func (*GetPurgeJobLogParams) WriteToRequest ¶
func (o *GetPurgeJobLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPurgeJobLogReader ¶
type GetPurgeJobLogReader struct {
// contains filtered or unexported fields
}
GetPurgeJobLogReader is a Reader for the GetPurgeJobLog structure.
func (*GetPurgeJobLogReader) ReadResponse ¶
func (o *GetPurgeJobLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPurgeJobLogUnauthorized ¶
type GetPurgeJobLogUnauthorized struct { string }XRequestID
GetPurgeJobLogUnauthorized handles this case with default header values.
Unauthorized
func NewGetPurgeJobLogUnauthorized ¶
func NewGetPurgeJobLogUnauthorized() *GetPurgeJobLogUnauthorized
NewGetPurgeJobLogUnauthorized creates a GetPurgeJobLogUnauthorized with default headers values
func (*GetPurgeJobLogUnauthorized) Error ¶
func (o *GetPurgeJobLogUnauthorized) Error() string
func (*GetPurgeJobLogUnauthorized) GetPayload ¶
func (o *GetPurgeJobLogUnauthorized) GetPayload() *model.Errors
type GetPurgeJobNotFound ¶
type GetPurgeJobNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetPurgeJobNotFound handles this case with default header values.
Not found
func NewGetPurgeJobNotFound ¶
func NewGetPurgeJobNotFound() *GetPurgeJobNotFound
NewGetPurgeJobNotFound creates a GetPurgeJobNotFound with default headers values
func (*GetPurgeJobNotFound) Error ¶
func (o *GetPurgeJobNotFound) Error() string
func (*GetPurgeJobNotFound) GetPayload ¶
func (o *GetPurgeJobNotFound) GetPayload() *model.Errors
type GetPurgeJobOK ¶
type GetPurgeJobOK struct {
Payload *model.ExecHistory
}
GetPurgeJobOK handles this case with default header values.
Get purge job results successfully.
func NewGetPurgeJobOK ¶
func NewGetPurgeJobOK() *GetPurgeJobOK
NewGetPurgeJobOK creates a GetPurgeJobOK with default headers values
func (*GetPurgeJobOK) Error ¶
func (o *GetPurgeJobOK) Error() string
func (*GetPurgeJobOK) GetPayload ¶
func (o *GetPurgeJobOK) GetPayload() *model.ExecHistory
type GetPurgeJobParams ¶
type GetPurgeJobParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*PurgeID The ID of the purge log */ PurgeID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPurgeJobParams contains all the parameters to send to the API endpoint for the get purge job operation typically these are written to a http.Request
func NewGetPurgeJobParams ¶
func NewGetPurgeJobParams() *GetPurgeJobParams
NewGetPurgeJobParams creates a new GetPurgeJobParams object with the default values initialized.
func NewGetPurgeJobParamsWithContext ¶
func NewGetPurgeJobParamsWithContext(ctx context.Context) *GetPurgeJobParams
NewGetPurgeJobParamsWithContext creates a new GetPurgeJobParams object with the default values initialized, and the ability to set a context for a request
func NewGetPurgeJobParamsWithHTTPClient ¶
func NewGetPurgeJobParamsWithHTTPClient(client *http.Client) *GetPurgeJobParams
NewGetPurgeJobParamsWithHTTPClient creates a new GetPurgeJobParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPurgeJobParamsWithTimeout ¶
func NewGetPurgeJobParamsWithTimeout(timeout time.Duration) *GetPurgeJobParams
NewGetPurgeJobParamsWithTimeout creates a new GetPurgeJobParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPurgeJobParams) SetContext ¶
func (o *GetPurgeJobParams) SetContext(ctx context.Context)
SetContext adds the context to the get purge job params
func (*GetPurgeJobParams) SetHTTPClient ¶
func (o *GetPurgeJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get purge job params
func (*GetPurgeJobParams) SetPurgeID ¶
func (o *GetPurgeJobParams) SetPurgeID(purgeID int64)
SetPurgeID adds the purgeId to the get purge job params
func (*GetPurgeJobParams) SetTimeout ¶
func (o *GetPurgeJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get purge job params
func (*GetPurgeJobParams) SetXRequestID ¶
func (o *GetPurgeJobParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get purge job params
func (*GetPurgeJobParams) WithContext ¶
func (o *GetPurgeJobParams) WithContext(ctx context.Context) *GetPurgeJobParams
WithContext adds the context to the get purge job params
func (*GetPurgeJobParams) WithHTTPClient ¶
func (o *GetPurgeJobParams) WithHTTPClient(client *http.Client) *GetPurgeJobParams
WithHTTPClient adds the HTTPClient to the get purge job params
func (*GetPurgeJobParams) WithPurgeID ¶
func (o *GetPurgeJobParams) WithPurgeID(purgeID int64) *GetPurgeJobParams
WithPurgeID adds the purgeID to the get purge job params
func (*GetPurgeJobParams) WithTimeout ¶
func (o *GetPurgeJobParams) WithTimeout(timeout time.Duration) *GetPurgeJobParams
WithTimeout adds the timeout to the get purge job params
func (*GetPurgeJobParams) WithXRequestID ¶
func (o *GetPurgeJobParams) WithXRequestID(xRequestID *string) *GetPurgeJobParams
WithXRequestID adds the xRequestID to the get purge job params
func (*GetPurgeJobParams) WriteToRequest ¶
func (o *GetPurgeJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPurgeJobReader ¶
type GetPurgeJobReader struct {
// contains filtered or unexported fields
}
GetPurgeJobReader is a Reader for the GetPurgeJob structure.
func (*GetPurgeJobReader) ReadResponse ¶
func (o *GetPurgeJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPurgeJobUnauthorized ¶
type GetPurgeJobUnauthorized struct { string }XRequestID
GetPurgeJobUnauthorized handles this case with default header values.
Unauthorized
func NewGetPurgeJobUnauthorized ¶
func NewGetPurgeJobUnauthorized() *GetPurgeJobUnauthorized
NewGetPurgeJobUnauthorized creates a GetPurgeJobUnauthorized with default headers values
func (*GetPurgeJobUnauthorized) Error ¶
func (o *GetPurgeJobUnauthorized) Error() string
func (*GetPurgeJobUnauthorized) GetPayload ¶
func (o *GetPurgeJobUnauthorized) GetPayload() *model.Errors
type GetPurgeScheduleForbidden ¶
type GetPurgeScheduleForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetPurgeScheduleForbidden handles this case with default header values.
Forbidden
func NewGetPurgeScheduleForbidden ¶
func NewGetPurgeScheduleForbidden() *GetPurgeScheduleForbidden
NewGetPurgeScheduleForbidden creates a GetPurgeScheduleForbidden with default headers values
func (*GetPurgeScheduleForbidden) Error ¶
func (o *GetPurgeScheduleForbidden) Error() string
func (*GetPurgeScheduleForbidden) GetPayload ¶
func (o *GetPurgeScheduleForbidden) GetPayload() *model.Errors
type GetPurgeScheduleInternalServerError ¶
type GetPurgeScheduleInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetPurgeScheduleInternalServerError handles this case with default header values.
Internal server error
func NewGetPurgeScheduleInternalServerError ¶
func NewGetPurgeScheduleInternalServerError() *GetPurgeScheduleInternalServerError
NewGetPurgeScheduleInternalServerError creates a GetPurgeScheduleInternalServerError with default headers values
func (*GetPurgeScheduleInternalServerError) Error ¶
func (o *GetPurgeScheduleInternalServerError) Error() string
func (*GetPurgeScheduleInternalServerError) GetPayload ¶
func (o *GetPurgeScheduleInternalServerError) GetPayload() *model.Errors
type GetPurgeScheduleOK ¶
type GetPurgeScheduleOK struct {
Payload *model.ExecHistory
}
GetPurgeScheduleOK handles this case with default header values.
Get purge job's schedule.
func NewGetPurgeScheduleOK ¶
func NewGetPurgeScheduleOK() *GetPurgeScheduleOK
NewGetPurgeScheduleOK creates a GetPurgeScheduleOK with default headers values
func (*GetPurgeScheduleOK) Error ¶
func (o *GetPurgeScheduleOK) Error() string
func (*GetPurgeScheduleOK) GetPayload ¶
func (o *GetPurgeScheduleOK) GetPayload() *model.ExecHistory
type GetPurgeScheduleParams ¶
type GetPurgeScheduleParams struct { /*XRequestID An unique ID for the request */ XRequestID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPurgeScheduleParams contains all the parameters to send to the API endpoint for the get purge schedule operation typically these are written to a http.Request
func NewGetPurgeScheduleParams ¶
func NewGetPurgeScheduleParams() *GetPurgeScheduleParams
NewGetPurgeScheduleParams creates a new GetPurgeScheduleParams object with the default values initialized.
func NewGetPurgeScheduleParamsWithContext ¶
func NewGetPurgeScheduleParamsWithContext(ctx context.Context) *GetPurgeScheduleParams
NewGetPurgeScheduleParamsWithContext creates a new GetPurgeScheduleParams object with the default values initialized, and the ability to set a context for a request
func NewGetPurgeScheduleParamsWithHTTPClient ¶
func NewGetPurgeScheduleParamsWithHTTPClient(client *http.Client) *GetPurgeScheduleParams
NewGetPurgeScheduleParamsWithHTTPClient creates a new GetPurgeScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPurgeScheduleParamsWithTimeout ¶
func NewGetPurgeScheduleParamsWithTimeout(timeout time.Duration) *GetPurgeScheduleParams
NewGetPurgeScheduleParamsWithTimeout creates a new GetPurgeScheduleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPurgeScheduleParams) SetContext ¶
func (o *GetPurgeScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the get purge schedule params
func (*GetPurgeScheduleParams) SetHTTPClient ¶
func (o *GetPurgeScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get purge schedule params
func (*GetPurgeScheduleParams) SetTimeout ¶
func (o *GetPurgeScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get purge schedule params
func (*GetPurgeScheduleParams) SetXRequestID ¶
func (o *GetPurgeScheduleParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get purge schedule params
func (*GetPurgeScheduleParams) WithContext ¶
func (o *GetPurgeScheduleParams) WithContext(ctx context.Context) *GetPurgeScheduleParams
WithContext adds the context to the get purge schedule params
func (*GetPurgeScheduleParams) WithHTTPClient ¶
func (o *GetPurgeScheduleParams) WithHTTPClient(client *http.Client) *GetPurgeScheduleParams
WithHTTPClient adds the HTTPClient to the get purge schedule params
func (*GetPurgeScheduleParams) WithTimeout ¶
func (o *GetPurgeScheduleParams) WithTimeout(timeout time.Duration) *GetPurgeScheduleParams
WithTimeout adds the timeout to the get purge schedule params
func (*GetPurgeScheduleParams) WithXRequestID ¶
func (o *GetPurgeScheduleParams) WithXRequestID(xRequestID *string) *GetPurgeScheduleParams
WithXRequestID adds the xRequestID to the get purge schedule params
func (*GetPurgeScheduleParams) WriteToRequest ¶
func (o *GetPurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPurgeScheduleReader ¶
type GetPurgeScheduleReader struct {
// contains filtered or unexported fields
}
GetPurgeScheduleReader is a Reader for the GetPurgeSchedule structure.
func (*GetPurgeScheduleReader) ReadResponse ¶
func (o *GetPurgeScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPurgeScheduleUnauthorized ¶
type GetPurgeScheduleUnauthorized struct { string }XRequestID
GetPurgeScheduleUnauthorized handles this case with default header values.
Unauthorized
func NewGetPurgeScheduleUnauthorized ¶
func NewGetPurgeScheduleUnauthorized() *GetPurgeScheduleUnauthorized
NewGetPurgeScheduleUnauthorized creates a GetPurgeScheduleUnauthorized with default headers values
func (*GetPurgeScheduleUnauthorized) Error ¶
func (o *GetPurgeScheduleUnauthorized) Error() string
func (*GetPurgeScheduleUnauthorized) GetPayload ¶
func (o *GetPurgeScheduleUnauthorized) GetPayload() *model.Errors
type StopPurgeForbidden ¶
type StopPurgeForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
StopPurgeForbidden handles this case with default header values.
Forbidden
func NewStopPurgeForbidden ¶
func NewStopPurgeForbidden() *StopPurgeForbidden
NewStopPurgeForbidden creates a StopPurgeForbidden with default headers values
func (*StopPurgeForbidden) Error ¶
func (o *StopPurgeForbidden) Error() string
func (*StopPurgeForbidden) GetPayload ¶
func (o *StopPurgeForbidden) GetPayload() *model.Errors
type StopPurgeInternalServerError ¶
type StopPurgeInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
StopPurgeInternalServerError handles this case with default header values.
Internal server error
func NewStopPurgeInternalServerError ¶
func NewStopPurgeInternalServerError() *StopPurgeInternalServerError
NewStopPurgeInternalServerError creates a StopPurgeInternalServerError with default headers values
func (*StopPurgeInternalServerError) Error ¶
func (o *StopPurgeInternalServerError) Error() string
func (*StopPurgeInternalServerError) GetPayload ¶
func (o *StopPurgeInternalServerError) GetPayload() *model.Errors
type StopPurgeNotFound ¶
type StopPurgeNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
StopPurgeNotFound handles this case with default header values.
Not found
func NewStopPurgeNotFound ¶
func NewStopPurgeNotFound() *StopPurgeNotFound
NewStopPurgeNotFound creates a StopPurgeNotFound with default headers values
func (*StopPurgeNotFound) Error ¶
func (o *StopPurgeNotFound) Error() string
func (*StopPurgeNotFound) GetPayload ¶
func (o *StopPurgeNotFound) GetPayload() *model.Errors
type StopPurgeOK ¶
type StopPurgeOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
StopPurgeOK handles this case with default header values.
Success
func NewStopPurgeOK ¶
func NewStopPurgeOK() *StopPurgeOK
NewStopPurgeOK creates a StopPurgeOK with default headers values
func (*StopPurgeOK) Error ¶
func (o *StopPurgeOK) Error() string
type StopPurgeParams ¶
type StopPurgeParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*PurgeID The ID of the purge log */ PurgeID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopPurgeParams contains all the parameters to send to the API endpoint for the stop purge operation typically these are written to a http.Request
func NewStopPurgeParams ¶
func NewStopPurgeParams() *StopPurgeParams
NewStopPurgeParams creates a new StopPurgeParams object with the default values initialized.
func NewStopPurgeParamsWithContext ¶
func NewStopPurgeParamsWithContext(ctx context.Context) *StopPurgeParams
NewStopPurgeParamsWithContext creates a new StopPurgeParams object with the default values initialized, and the ability to set a context for a request
func NewStopPurgeParamsWithHTTPClient ¶
func NewStopPurgeParamsWithHTTPClient(client *http.Client) *StopPurgeParams
NewStopPurgeParamsWithHTTPClient creates a new StopPurgeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStopPurgeParamsWithTimeout ¶
func NewStopPurgeParamsWithTimeout(timeout time.Duration) *StopPurgeParams
NewStopPurgeParamsWithTimeout creates a new StopPurgeParams object with the default values initialized, and the ability to set a timeout on a request
func (*StopPurgeParams) SetContext ¶
func (o *StopPurgeParams) SetContext(ctx context.Context)
SetContext adds the context to the stop purge params
func (*StopPurgeParams) SetHTTPClient ¶
func (o *StopPurgeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop purge params
func (*StopPurgeParams) SetPurgeID ¶
func (o *StopPurgeParams) SetPurgeID(purgeID int64)
SetPurgeID adds the purgeId to the stop purge params
func (*StopPurgeParams) SetTimeout ¶
func (o *StopPurgeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop purge params
func (*StopPurgeParams) SetXRequestID ¶
func (o *StopPurgeParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the stop purge params
func (*StopPurgeParams) WithContext ¶
func (o *StopPurgeParams) WithContext(ctx context.Context) *StopPurgeParams
WithContext adds the context to the stop purge params
func (*StopPurgeParams) WithHTTPClient ¶
func (o *StopPurgeParams) WithHTTPClient(client *http.Client) *StopPurgeParams
WithHTTPClient adds the HTTPClient to the stop purge params
func (*StopPurgeParams) WithPurgeID ¶
func (o *StopPurgeParams) WithPurgeID(purgeID int64) *StopPurgeParams
WithPurgeID adds the purgeID to the stop purge params
func (*StopPurgeParams) WithTimeout ¶
func (o *StopPurgeParams) WithTimeout(timeout time.Duration) *StopPurgeParams
WithTimeout adds the timeout to the stop purge params
func (*StopPurgeParams) WithXRequestID ¶
func (o *StopPurgeParams) WithXRequestID(xRequestID *string) *StopPurgeParams
WithXRequestID adds the xRequestID to the stop purge params
func (*StopPurgeParams) WriteToRequest ¶
func (o *StopPurgeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopPurgeReader ¶
type StopPurgeReader struct {
// contains filtered or unexported fields
}
StopPurgeReader is a Reader for the StopPurge structure.
func (*StopPurgeReader) ReadResponse ¶
func (o *StopPurgeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopPurgeUnauthorized ¶
type StopPurgeUnauthorized struct { string }XRequestID
StopPurgeUnauthorized handles this case with default header values.
Unauthorized
func NewStopPurgeUnauthorized ¶
func NewStopPurgeUnauthorized() *StopPurgeUnauthorized
NewStopPurgeUnauthorized creates a StopPurgeUnauthorized with default headers values
func (*StopPurgeUnauthorized) Error ¶
func (o *StopPurgeUnauthorized) Error() string
func (*StopPurgeUnauthorized) GetPayload ¶
func (o *StopPurgeUnauthorized) GetPayload() *model.Errors
type UpdatePurgeScheduleBadRequest ¶
type UpdatePurgeScheduleBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdatePurgeScheduleBadRequest handles this case with default header values.
Bad request
func NewUpdatePurgeScheduleBadRequest ¶
func NewUpdatePurgeScheduleBadRequest() *UpdatePurgeScheduleBadRequest
NewUpdatePurgeScheduleBadRequest creates a UpdatePurgeScheduleBadRequest with default headers values
func (*UpdatePurgeScheduleBadRequest) Error ¶
func (o *UpdatePurgeScheduleBadRequest) Error() string
func (*UpdatePurgeScheduleBadRequest) GetPayload ¶
func (o *UpdatePurgeScheduleBadRequest) GetPayload() *model.Errors
type UpdatePurgeScheduleForbidden ¶
type UpdatePurgeScheduleForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdatePurgeScheduleForbidden handles this case with default header values.
Forbidden
func NewUpdatePurgeScheduleForbidden ¶
func NewUpdatePurgeScheduleForbidden() *UpdatePurgeScheduleForbidden
NewUpdatePurgeScheduleForbidden creates a UpdatePurgeScheduleForbidden with default headers values
func (*UpdatePurgeScheduleForbidden) Error ¶
func (o *UpdatePurgeScheduleForbidden) Error() string
func (*UpdatePurgeScheduleForbidden) GetPayload ¶
func (o *UpdatePurgeScheduleForbidden) GetPayload() *model.Errors
type UpdatePurgeScheduleInternalServerError ¶
type UpdatePurgeScheduleInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdatePurgeScheduleInternalServerError handles this case with default header values.
Internal server error
func NewUpdatePurgeScheduleInternalServerError ¶
func NewUpdatePurgeScheduleInternalServerError() *UpdatePurgeScheduleInternalServerError
NewUpdatePurgeScheduleInternalServerError creates a UpdatePurgeScheduleInternalServerError with default headers values
func (*UpdatePurgeScheduleInternalServerError) Error ¶
func (o *UpdatePurgeScheduleInternalServerError) Error() string
func (*UpdatePurgeScheduleInternalServerError) GetPayload ¶
func (o *UpdatePurgeScheduleInternalServerError) GetPayload() *model.Errors
type UpdatePurgeScheduleOK ¶
type UpdatePurgeScheduleOK struct { }
UpdatePurgeScheduleOK handles this case with default header values.
Updated purge's schedule successfully.
func NewUpdatePurgeScheduleOK ¶
func NewUpdatePurgeScheduleOK() *UpdatePurgeScheduleOK
NewUpdatePurgeScheduleOK creates a UpdatePurgeScheduleOK with default headers values
func (*UpdatePurgeScheduleOK) Error ¶
func (o *UpdatePurgeScheduleOK) Error() string
type UpdatePurgeScheduleParams ¶
type UpdatePurgeScheduleParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*Schedule The purge job's schedule, it is a json object. | The sample format is | {"parameters":{"audit_retention_hour":168,"dry_run":true, "include_operations":"create,delete,pull"},"schedule":{"type":"Hourly","cron":"0 0 * * * *"}} | the include_operation should be a comma separated string, e.g. create,delete,pull, if it is empty, no operation will be purged. */ Schedule *model.Schedule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePurgeScheduleParams contains all the parameters to send to the API endpoint for the update purge schedule operation typically these are written to a http.Request
func NewUpdatePurgeScheduleParams ¶
func NewUpdatePurgeScheduleParams() *UpdatePurgeScheduleParams
NewUpdatePurgeScheduleParams creates a new UpdatePurgeScheduleParams object with the default values initialized.
func NewUpdatePurgeScheduleParamsWithContext ¶
func NewUpdatePurgeScheduleParamsWithContext(ctx context.Context) *UpdatePurgeScheduleParams
NewUpdatePurgeScheduleParamsWithContext creates a new UpdatePurgeScheduleParams object with the default values initialized, and the ability to set a context for a request
func NewUpdatePurgeScheduleParamsWithHTTPClient ¶
func NewUpdatePurgeScheduleParamsWithHTTPClient(client *http.Client) *UpdatePurgeScheduleParams
NewUpdatePurgeScheduleParamsWithHTTPClient creates a new UpdatePurgeScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePurgeScheduleParamsWithTimeout ¶
func NewUpdatePurgeScheduleParamsWithTimeout(timeout time.Duration) *UpdatePurgeScheduleParams
NewUpdatePurgeScheduleParamsWithTimeout creates a new UpdatePurgeScheduleParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePurgeScheduleParams) SetContext ¶
func (o *UpdatePurgeScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the update purge schedule params
func (*UpdatePurgeScheduleParams) SetHTTPClient ¶
func (o *UpdatePurgeScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update purge schedule params
func (*UpdatePurgeScheduleParams) SetSchedule ¶
func (o *UpdatePurgeScheduleParams) SetSchedule(schedule *model.Schedule)
SetSchedule adds the schedule to the update purge schedule params
func (*UpdatePurgeScheduleParams) SetTimeout ¶
func (o *UpdatePurgeScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update purge schedule params
func (*UpdatePurgeScheduleParams) SetXRequestID ¶
func (o *UpdatePurgeScheduleParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update purge schedule params
func (*UpdatePurgeScheduleParams) WithContext ¶
func (o *UpdatePurgeScheduleParams) WithContext(ctx context.Context) *UpdatePurgeScheduleParams
WithContext adds the context to the update purge schedule params
func (*UpdatePurgeScheduleParams) WithHTTPClient ¶
func (o *UpdatePurgeScheduleParams) WithHTTPClient(client *http.Client) *UpdatePurgeScheduleParams
WithHTTPClient adds the HTTPClient to the update purge schedule params
func (*UpdatePurgeScheduleParams) WithSchedule ¶
func (o *UpdatePurgeScheduleParams) WithSchedule(schedule *model.Schedule) *UpdatePurgeScheduleParams
WithSchedule adds the schedule to the update purge schedule params
func (*UpdatePurgeScheduleParams) WithTimeout ¶
func (o *UpdatePurgeScheduleParams) WithTimeout(timeout time.Duration) *UpdatePurgeScheduleParams
WithTimeout adds the timeout to the update purge schedule params
func (*UpdatePurgeScheduleParams) WithXRequestID ¶
func (o *UpdatePurgeScheduleParams) WithXRequestID(xRequestID *string) *UpdatePurgeScheduleParams
WithXRequestID adds the xRequestID to the update purge schedule params
func (*UpdatePurgeScheduleParams) WriteToRequest ¶
func (o *UpdatePurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePurgeScheduleReader ¶
type UpdatePurgeScheduleReader struct {
// contains filtered or unexported fields
}
UpdatePurgeScheduleReader is a Reader for the UpdatePurgeSchedule structure.
func (*UpdatePurgeScheduleReader) ReadResponse ¶
func (o *UpdatePurgeScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePurgeScheduleUnauthorized ¶
type UpdatePurgeScheduleUnauthorized struct { string }XRequestID
UpdatePurgeScheduleUnauthorized handles this case with default header values.
Unauthorized
func NewUpdatePurgeScheduleUnauthorized ¶
func NewUpdatePurgeScheduleUnauthorized() *UpdatePurgeScheduleUnauthorized
NewUpdatePurgeScheduleUnauthorized creates a UpdatePurgeScheduleUnauthorized with default headers values
func (*UpdatePurgeScheduleUnauthorized) Error ¶
func (o *UpdatePurgeScheduleUnauthorized) Error() string
func (*UpdatePurgeScheduleUnauthorized) GetPayload ¶
func (o *UpdatePurgeScheduleUnauthorized) GetPayload() *model.Errors
Source Files ¶
- create_purge_schedule_parameters.go
- create_purge_schedule_responses.go
- get_purge_history_parameters.go
- get_purge_history_responses.go
- get_purge_job_log_parameters.go
- get_purge_job_log_responses.go
- get_purge_job_parameters.go
- get_purge_job_responses.go
- get_purge_schedule_parameters.go
- get_purge_schedule_responses.go
- purge_client.go
- stop_purge_parameters.go
- stop_purge_responses.go
- update_purge_schedule_parameters.go
- update_purge_schedule_responses.go