Documentation ¶
Index ¶
- type ChangesOK
- type ChangesParams
- func (o *ChangesParams) SetContext(ctx context.Context)
- func (o *ChangesParams) SetHTTPClient(client *http.Client)
- func (o *ChangesParams) SetSequenceID(sequenceID int64)
- func (o *ChangesParams) SetTimeout(timeout time.Duration)
- func (o *ChangesParams) SetWorkspaceID(workspaceID string)
- func (o *ChangesParams) WithContext(ctx context.Context) *ChangesParams
- func (o *ChangesParams) WithHTTPClient(client *http.Client) *ChangesParams
- func (o *ChangesParams) WithSequenceID(sequenceID int64) *ChangesParams
- func (o *ChangesParams) WithTimeout(timeout time.Duration) *ChangesParams
- func (o *ChangesParams) WithWorkspaceID(workspaceID string) *ChangesParams
- func (o *ChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangesReader
- type Client
- func (a *Client) Changes(params *ChangesParams, authInfo runtime.ClientAuthInfoWriter) (*ChangesOK, error)
- func (a *Client) GetWorkspaceInfo(params *GetWorkspaceInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspaceInfoOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetWorkspaceInfoOK
- type GetWorkspaceInfoParams
- func NewGetWorkspaceInfoParams() *GetWorkspaceInfoParams
- func NewGetWorkspaceInfoParamsWithContext(ctx context.Context) *GetWorkspaceInfoParams
- func NewGetWorkspaceInfoParamsWithHTTPClient(client *http.Client) *GetWorkspaceInfoParams
- func NewGetWorkspaceInfoParamsWithTimeout(timeout time.Duration) *GetWorkspaceInfoParams
- func (o *GetWorkspaceInfoParams) SetContext(ctx context.Context)
- func (o *GetWorkspaceInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspaceInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspaceInfoParams) SetWorkspaceID(workspaceID string)
- func (o *GetWorkspaceInfoParams) SetXPydioWSInfo(xPydioWSInfo string)
- func (o *GetWorkspaceInfoParams) WithContext(ctx context.Context) *GetWorkspaceInfoParams
- func (o *GetWorkspaceInfoParams) WithHTTPClient(client *http.Client) *GetWorkspaceInfoParams
- func (o *GetWorkspaceInfoParams) WithTimeout(timeout time.Duration) *GetWorkspaceInfoParams
- func (o *GetWorkspaceInfoParams) WithWorkspaceID(workspaceID string) *GetWorkspaceInfoParams
- func (o *GetWorkspaceInfoParams) WithXPydioWSInfo(xPydioWSInfo string) *GetWorkspaceInfoParams
- func (o *GetWorkspaceInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspaceInfoReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangesOK ¶
type ChangesOK struct {
Payload []*models.ChangesOKBodyItems
}
ChangesOK handles this case with default header values.
Successful Response
func NewChangesOK ¶
func NewChangesOK() *ChangesOK
NewChangesOK creates a ChangesOK with default headers values
type ChangesParams ¶
type ChangesParams struct { /*SequenceID File to upload */ SequenceID int64 /*WorkspaceID Id or Alias of the workspace */ WorkspaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangesParams contains all the parameters to send to the API endpoint for the changes operation typically these are written to a http.Request
func NewChangesParams ¶
func NewChangesParams() *ChangesParams
NewChangesParams creates a new ChangesParams object with the default values initialized.
func NewChangesParamsWithContext ¶
func NewChangesParamsWithContext(ctx context.Context) *ChangesParams
NewChangesParamsWithContext creates a new ChangesParams object with the default values initialized, and the ability to set a context for a request
func NewChangesParamsWithHTTPClient ¶
func NewChangesParamsWithHTTPClient(client *http.Client) *ChangesParams
NewChangesParamsWithHTTPClient creates a new ChangesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewChangesParamsWithTimeout ¶
func NewChangesParamsWithTimeout(timeout time.Duration) *ChangesParams
NewChangesParamsWithTimeout creates a new ChangesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ChangesParams) SetContext ¶
func (o *ChangesParams) SetContext(ctx context.Context)
SetContext adds the context to the changes params
func (*ChangesParams) SetHTTPClient ¶
func (o *ChangesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the changes params
func (*ChangesParams) SetSequenceID ¶
func (o *ChangesParams) SetSequenceID(sequenceID int64)
SetSequenceID adds the sequenceId to the changes params
func (*ChangesParams) SetTimeout ¶
func (o *ChangesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the changes params
func (*ChangesParams) SetWorkspaceID ¶
func (o *ChangesParams) SetWorkspaceID(workspaceID string)
SetWorkspaceID adds the workspaceId to the changes params
func (*ChangesParams) WithContext ¶
func (o *ChangesParams) WithContext(ctx context.Context) *ChangesParams
WithContext adds the context to the changes params
func (*ChangesParams) WithHTTPClient ¶
func (o *ChangesParams) WithHTTPClient(client *http.Client) *ChangesParams
WithHTTPClient adds the HTTPClient to the changes params
func (*ChangesParams) WithSequenceID ¶
func (o *ChangesParams) WithSequenceID(sequenceID int64) *ChangesParams
WithSequenceID adds the sequenceID to the changes params
func (*ChangesParams) WithTimeout ¶
func (o *ChangesParams) WithTimeout(timeout time.Duration) *ChangesParams
WithTimeout adds the timeout to the changes params
func (*ChangesParams) WithWorkspaceID ¶
func (o *ChangesParams) WithWorkspaceID(workspaceID string) *ChangesParams
WithWorkspaceID adds the workspaceID to the changes params
func (*ChangesParams) WriteToRequest ¶
func (o *ChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangesReader ¶
type ChangesReader struct {
// contains filtered or unexported fields
}
ChangesReader is a Reader for the Changes structure.
func (*ChangesReader) ReadResponse ¶
func (o *ChangesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for workspace API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new workspace API client.
func (*Client) Changes ¶
func (a *Client) Changes(params *ChangesParams, authInfo runtime.ClientAuthInfoWriter) (*ChangesOK, error)
Changes Sends back all changes since a given sequence ID.
This plugin requires **meta.syncable** active on the workspace.
func (*Client) GetWorkspaceInfo ¶
func (a *Client) GetWorkspaceInfo(params *GetWorkspaceInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspaceInfoOK, error)
GetWorkspaceInfo Get information about the given workspace. Info can be gathered via various plugins. Pass the expected metadata type via the X-Pydio-Ws-Info header. Currently supported values are quota|info|changes
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetWorkspaceInfoOK ¶
type GetWorkspaceInfoOK struct {
Payload *models.GetWorkspaceInfoOKBody
}
GetWorkspaceInfoOK handles this case with default header values.
Successful Response
func NewGetWorkspaceInfoOK ¶
func NewGetWorkspaceInfoOK() *GetWorkspaceInfoOK
NewGetWorkspaceInfoOK creates a GetWorkspaceInfoOK with default headers values
func (*GetWorkspaceInfoOK) Error ¶
func (o *GetWorkspaceInfoOK) Error() string
type GetWorkspaceInfoParams ¶
type GetWorkspaceInfoParams struct { /*XPydioWSInfo*/ XPydioWSInfo string /*WorkspaceID Id or Alias of the workspace */ WorkspaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkspaceInfoParams contains all the parameters to send to the API endpoint for the get workspace info operation typically these are written to a http.Request
func NewGetWorkspaceInfoParams ¶
func NewGetWorkspaceInfoParams() *GetWorkspaceInfoParams
NewGetWorkspaceInfoParams creates a new GetWorkspaceInfoParams object with the default values initialized.
func NewGetWorkspaceInfoParamsWithContext ¶
func NewGetWorkspaceInfoParamsWithContext(ctx context.Context) *GetWorkspaceInfoParams
NewGetWorkspaceInfoParamsWithContext creates a new GetWorkspaceInfoParams object with the default values initialized, and the ability to set a context for a request
func NewGetWorkspaceInfoParamsWithHTTPClient ¶
func NewGetWorkspaceInfoParamsWithHTTPClient(client *http.Client) *GetWorkspaceInfoParams
NewGetWorkspaceInfoParamsWithHTTPClient creates a new GetWorkspaceInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWorkspaceInfoParamsWithTimeout ¶
func NewGetWorkspaceInfoParamsWithTimeout(timeout time.Duration) *GetWorkspaceInfoParams
NewGetWorkspaceInfoParamsWithTimeout creates a new GetWorkspaceInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWorkspaceInfoParams) SetContext ¶
func (o *GetWorkspaceInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get workspace info params
func (*GetWorkspaceInfoParams) SetHTTPClient ¶
func (o *GetWorkspaceInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workspace info params
func (*GetWorkspaceInfoParams) SetTimeout ¶
func (o *GetWorkspaceInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workspace info params
func (*GetWorkspaceInfoParams) SetWorkspaceID ¶
func (o *GetWorkspaceInfoParams) SetWorkspaceID(workspaceID string)
SetWorkspaceID adds the workspaceId to the get workspace info params
func (*GetWorkspaceInfoParams) SetXPydioWSInfo ¶
func (o *GetWorkspaceInfoParams) SetXPydioWSInfo(xPydioWSInfo string)
SetXPydioWSInfo adds the xPydioWSInfo to the get workspace info params
func (*GetWorkspaceInfoParams) WithContext ¶
func (o *GetWorkspaceInfoParams) WithContext(ctx context.Context) *GetWorkspaceInfoParams
WithContext adds the context to the get workspace info params
func (*GetWorkspaceInfoParams) WithHTTPClient ¶
func (o *GetWorkspaceInfoParams) WithHTTPClient(client *http.Client) *GetWorkspaceInfoParams
WithHTTPClient adds the HTTPClient to the get workspace info params
func (*GetWorkspaceInfoParams) WithTimeout ¶
func (o *GetWorkspaceInfoParams) WithTimeout(timeout time.Duration) *GetWorkspaceInfoParams
WithTimeout adds the timeout to the get workspace info params
func (*GetWorkspaceInfoParams) WithWorkspaceID ¶
func (o *GetWorkspaceInfoParams) WithWorkspaceID(workspaceID string) *GetWorkspaceInfoParams
WithWorkspaceID adds the workspaceID to the get workspace info params
func (*GetWorkspaceInfoParams) WithXPydioWSInfo ¶
func (o *GetWorkspaceInfoParams) WithXPydioWSInfo(xPydioWSInfo string) *GetWorkspaceInfoParams
WithXPydioWSInfo adds the xPydioWSInfo to the get workspace info params
func (*GetWorkspaceInfoParams) WriteToRequest ¶
func (o *GetWorkspaceInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkspaceInfoReader ¶
type GetWorkspaceInfoReader struct {
// contains filtered or unexported fields
}
GetWorkspaceInfoReader is a Reader for the GetWorkspaceInfo structure.
func (*GetWorkspaceInfoReader) ReadResponse ¶
func (o *GetWorkspaceInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.