operations

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 operations API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new operations API client.

func (*Client) CoreBwlimit

func (a *Client) CoreBwlimit(params *CoreBwlimitParams) (*CoreBwlimitOK, error)

CoreBwlimit sets the bandwidth limit

This sets the bandwidth limit to that passed in

func (*Client) CoreStatsDelete

func (a *Client) CoreStatsDelete(params *CoreStatsDeleteParams) (*CoreStatsDeleteOK, error)

CoreStatsDelete deletes specific stats group

Delete stats

func (*Client) CoreStatsReset

func (a *Client) CoreStatsReset(params *CoreStatsResetParams) (*CoreStatsResetOK, error)

CoreStatsReset resets all or specific stats group

Resets stats

func (*Client) FreeOSMemory

func (a *Client) FreeOSMemory(params *FreeOSMemoryParams) (*FreeOSMemoryOK, error)

FreeOSMemory returns memory to o s

Run debug.FreeOSMemory on the agent

func (*Client) JobInfo

func (a *Client) JobInfo(params *JobInfoParams) (*JobInfoOK, error)

JobInfo transfers stats about the job

Returns current, completed transfers and job stats

func (*Client) JobStop

func (a *Client) JobStop(params *JobStopParams) (*JobStopOK, error)

JobStop stops async job

Stops job with provided ID

func (*Client) NodeInfo

func (a *Client) NodeInfo(params *NodeInfoParams) (*NodeInfoOK, error)

NodeInfo gets information about scylla node

Get information about Scylla node

func (*Client) OperationsAbout

func (a *Client) OperationsAbout(params *OperationsAboutParams) (*OperationsAboutOK, error)

OperationsAbout abouts remote

Get usage information from the remote

func (*Client) OperationsCat

func (a *Client) OperationsCat(params *OperationsCatParams) (*OperationsCatOK, error)

OperationsCat cats remote

Concatenate any files and send them in response

func (*Client) OperationsCheckPermissions

func (a *Client) OperationsCheckPermissions(params *OperationsCheckPermissionsParams) (*OperationsCheckPermissionsOK, error)

OperationsCheckPermissions checks fs

Check if the fs is fully accessible

func (*Client) OperationsCopyfile

func (a *Client) OperationsCopyfile(params *OperationsCopyfileParams) (*OperationsCopyfileOK, error)

OperationsCopyfile copies a file

Copy a file from source remote to destination remote

func (*Client) OperationsDeletefile

func (a *Client) OperationsDeletefile(params *OperationsDeletefileParams) (*OperationsDeletefileOK, error)

OperationsDeletefile deletes file

Remove the single file pointed to

func (*Client) OperationsList

func (a *Client) OperationsList(params *OperationsListParams) (*OperationsListOK, error)

OperationsList lists remote

List the given remote and path

func (*Client) OperationsMovefile

func (a *Client) OperationsMovefile(params *OperationsMovefileParams) (*OperationsMovefileOK, error)

OperationsMovefile moves a file

Move a file from source remote to destination remote

func (*Client) OperationsPurge

func (a *Client) OperationsPurge(params *OperationsPurgeParams) (*OperationsPurgeOK, error)

OperationsPurge purges container

Remove a directory or container and all of its contents

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SyncCopy

func (a *Client) SyncCopy(params *SyncCopyParams) (*SyncCopyOK, error)

SyncCopy copies directory

Copy a directory from source remote to destination remote

type CoreBwlimitDefault

type CoreBwlimitDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

CoreBwlimitDefault handles this case with default header values.

Server error

func NewCoreBwlimitDefault

func NewCoreBwlimitDefault(code int) *CoreBwlimitDefault

NewCoreBwlimitDefault creates a CoreBwlimitDefault with default headers values

func (*CoreBwlimitDefault) Code

func (o *CoreBwlimitDefault) Code() int

Code gets the status code for the core bwlimit default response

func (*CoreBwlimitDefault) Error

func (o *CoreBwlimitDefault) Error() string

func (*CoreBwlimitDefault) GetPayload

func (o *CoreBwlimitDefault) GetPayload() *models.ErrorResponse

type CoreBwlimitOK

type CoreBwlimitOK struct {
	Payload *models.Bandwidth
	JobID   int64
}

CoreBwlimitOK handles this case with default header values.

bandwidth rate

func NewCoreBwlimitOK

func NewCoreBwlimitOK() *CoreBwlimitOK

NewCoreBwlimitOK creates a CoreBwlimitOK with default headers values

func (*CoreBwlimitOK) GetPayload

func (o *CoreBwlimitOK) GetPayload() *models.Bandwidth

type CoreBwlimitParams

type CoreBwlimitParams struct {

	/*BandwidthRate
	  bandwidth rate

	*/
	BandwidthRate *models.Bandwidth

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CoreBwlimitParams contains all the parameters to send to the API endpoint for the core bwlimit operation typically these are written to a http.Request

func NewCoreBwlimitParams

func NewCoreBwlimitParams() *CoreBwlimitParams

NewCoreBwlimitParams creates a new CoreBwlimitParams object with the default values initialized.

func NewCoreBwlimitParamsWithContext

func NewCoreBwlimitParamsWithContext(ctx context.Context) *CoreBwlimitParams

NewCoreBwlimitParamsWithContext creates a new CoreBwlimitParams object with the default values initialized, and the ability to set a context for a request

func NewCoreBwlimitParamsWithHTTPClient

func NewCoreBwlimitParamsWithHTTPClient(client *http.Client) *CoreBwlimitParams

NewCoreBwlimitParamsWithHTTPClient creates a new CoreBwlimitParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCoreBwlimitParamsWithTimeout

func NewCoreBwlimitParamsWithTimeout(timeout time.Duration) *CoreBwlimitParams

NewCoreBwlimitParamsWithTimeout creates a new CoreBwlimitParams object with the default values initialized, and the ability to set a timeout on a request

func (*CoreBwlimitParams) SetBandwidthRate

func (o *CoreBwlimitParams) SetBandwidthRate(bandwidthRate *models.Bandwidth)

SetBandwidthRate adds the bandwidthRate to the core bwlimit params

func (*CoreBwlimitParams) SetContext

func (o *CoreBwlimitParams) SetContext(ctx context.Context)

SetContext adds the context to the core bwlimit params

func (*CoreBwlimitParams) SetHTTPClient

func (o *CoreBwlimitParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the core bwlimit params

func (*CoreBwlimitParams) SetTimeout

func (o *CoreBwlimitParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the core bwlimit params

func (*CoreBwlimitParams) WithBandwidthRate

func (o *CoreBwlimitParams) WithBandwidthRate(bandwidthRate *models.Bandwidth) *CoreBwlimitParams

WithBandwidthRate adds the bandwidthRate to the core bwlimit params

func (*CoreBwlimitParams) WithContext

func (o *CoreBwlimitParams) WithContext(ctx context.Context) *CoreBwlimitParams

WithContext adds the context to the core bwlimit params

func (*CoreBwlimitParams) WithHTTPClient

func (o *CoreBwlimitParams) WithHTTPClient(client *http.Client) *CoreBwlimitParams

WithHTTPClient adds the HTTPClient to the core bwlimit params

func (*CoreBwlimitParams) WithTimeout

func (o *CoreBwlimitParams) WithTimeout(timeout time.Duration) *CoreBwlimitParams

WithTimeout adds the timeout to the core bwlimit params

func (*CoreBwlimitParams) WriteToRequest

func (o *CoreBwlimitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CoreBwlimitReader

type CoreBwlimitReader struct {
	// contains filtered or unexported fields
}

CoreBwlimitReader is a Reader for the CoreBwlimit structure.

func (*CoreBwlimitReader) ReadResponse

func (o *CoreBwlimitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CoreStatsDeleteDefault

type CoreStatsDeleteDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

CoreStatsDeleteDefault handles this case with default header values.

Server error

func NewCoreStatsDeleteDefault

func NewCoreStatsDeleteDefault(code int) *CoreStatsDeleteDefault

NewCoreStatsDeleteDefault creates a CoreStatsDeleteDefault with default headers values

func (*CoreStatsDeleteDefault) Code

func (o *CoreStatsDeleteDefault) Code() int

Code gets the status code for the core stats delete default response

func (*CoreStatsDeleteDefault) Error

func (o *CoreStatsDeleteDefault) Error() string

func (*CoreStatsDeleteDefault) GetPayload

func (o *CoreStatsDeleteDefault) GetPayload() *models.ErrorResponse

type CoreStatsDeleteOK

type CoreStatsDeleteOK struct {
	Payload interface{}
	JobID   int64
}

CoreStatsDeleteOK handles this case with default header values.

Empty object

func NewCoreStatsDeleteOK

func NewCoreStatsDeleteOK() *CoreStatsDeleteOK

NewCoreStatsDeleteOK creates a CoreStatsDeleteOK with default headers values

func (*CoreStatsDeleteOK) GetPayload

func (o *CoreStatsDeleteOK) GetPayload() interface{}

type CoreStatsDeleteParams

type CoreStatsDeleteParams struct {

	/*StatsParams
	  Stats parameters

	*/
	StatsParams *models.StatsParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CoreStatsDeleteParams contains all the parameters to send to the API endpoint for the core stats delete operation typically these are written to a http.Request

func NewCoreStatsDeleteParams

func NewCoreStatsDeleteParams() *CoreStatsDeleteParams

NewCoreStatsDeleteParams creates a new CoreStatsDeleteParams object with the default values initialized.

func NewCoreStatsDeleteParamsWithContext

func NewCoreStatsDeleteParamsWithContext(ctx context.Context) *CoreStatsDeleteParams

NewCoreStatsDeleteParamsWithContext creates a new CoreStatsDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewCoreStatsDeleteParamsWithHTTPClient

func NewCoreStatsDeleteParamsWithHTTPClient(client *http.Client) *CoreStatsDeleteParams

NewCoreStatsDeleteParamsWithHTTPClient creates a new CoreStatsDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCoreStatsDeleteParamsWithTimeout

func NewCoreStatsDeleteParamsWithTimeout(timeout time.Duration) *CoreStatsDeleteParams

NewCoreStatsDeleteParamsWithTimeout creates a new CoreStatsDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*CoreStatsDeleteParams) SetContext

func (o *CoreStatsDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the core stats delete params

func (*CoreStatsDeleteParams) SetHTTPClient

func (o *CoreStatsDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the core stats delete params

func (*CoreStatsDeleteParams) SetStatsParams

func (o *CoreStatsDeleteParams) SetStatsParams(statsParams *models.StatsParams)

SetStatsParams adds the statsParams to the core stats delete params

func (*CoreStatsDeleteParams) SetTimeout

func (o *CoreStatsDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the core stats delete params

func (*CoreStatsDeleteParams) WithContext

WithContext adds the context to the core stats delete params

func (*CoreStatsDeleteParams) WithHTTPClient

func (o *CoreStatsDeleteParams) WithHTTPClient(client *http.Client) *CoreStatsDeleteParams

WithHTTPClient adds the HTTPClient to the core stats delete params

func (*CoreStatsDeleteParams) WithStatsParams

func (o *CoreStatsDeleteParams) WithStatsParams(statsParams *models.StatsParams) *CoreStatsDeleteParams

WithStatsParams adds the statsParams to the core stats delete params

func (*CoreStatsDeleteParams) WithTimeout

func (o *CoreStatsDeleteParams) WithTimeout(timeout time.Duration) *CoreStatsDeleteParams

WithTimeout adds the timeout to the core stats delete params

func (*CoreStatsDeleteParams) WriteToRequest

func (o *CoreStatsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CoreStatsDeleteReader

type CoreStatsDeleteReader struct {
	// contains filtered or unexported fields
}

CoreStatsDeleteReader is a Reader for the CoreStatsDelete structure.

func (*CoreStatsDeleteReader) ReadResponse

func (o *CoreStatsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CoreStatsResetDefault

type CoreStatsResetDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

CoreStatsResetDefault handles this case with default header values.

Server error

func NewCoreStatsResetDefault

func NewCoreStatsResetDefault(code int) *CoreStatsResetDefault

NewCoreStatsResetDefault creates a CoreStatsResetDefault with default headers values

func (*CoreStatsResetDefault) Code

func (o *CoreStatsResetDefault) Code() int

Code gets the status code for the core stats reset default response

func (*CoreStatsResetDefault) Error

func (o *CoreStatsResetDefault) Error() string

func (*CoreStatsResetDefault) GetPayload

func (o *CoreStatsResetDefault) GetPayload() *models.ErrorResponse

type CoreStatsResetOK

type CoreStatsResetOK struct {
	Payload interface{}
	JobID   int64
}

CoreStatsResetOK handles this case with default header values.

Empty object

func NewCoreStatsResetOK

func NewCoreStatsResetOK() *CoreStatsResetOK

NewCoreStatsResetOK creates a CoreStatsResetOK with default headers values

func (*CoreStatsResetOK) GetPayload

func (o *CoreStatsResetOK) GetPayload() interface{}

type CoreStatsResetParams

type CoreStatsResetParams struct {

	/*StatsParams
	  Stats parameters

	*/
	StatsParams *models.StatsParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CoreStatsResetParams contains all the parameters to send to the API endpoint for the core stats reset operation typically these are written to a http.Request

func NewCoreStatsResetParams

func NewCoreStatsResetParams() *CoreStatsResetParams

NewCoreStatsResetParams creates a new CoreStatsResetParams object with the default values initialized.

func NewCoreStatsResetParamsWithContext

func NewCoreStatsResetParamsWithContext(ctx context.Context) *CoreStatsResetParams

NewCoreStatsResetParamsWithContext creates a new CoreStatsResetParams object with the default values initialized, and the ability to set a context for a request

func NewCoreStatsResetParamsWithHTTPClient

func NewCoreStatsResetParamsWithHTTPClient(client *http.Client) *CoreStatsResetParams

NewCoreStatsResetParamsWithHTTPClient creates a new CoreStatsResetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCoreStatsResetParamsWithTimeout

func NewCoreStatsResetParamsWithTimeout(timeout time.Duration) *CoreStatsResetParams

NewCoreStatsResetParamsWithTimeout creates a new CoreStatsResetParams object with the default values initialized, and the ability to set a timeout on a request

func (*CoreStatsResetParams) SetContext

func (o *CoreStatsResetParams) SetContext(ctx context.Context)

SetContext adds the context to the core stats reset params

func (*CoreStatsResetParams) SetHTTPClient

func (o *CoreStatsResetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the core stats reset params

func (*CoreStatsResetParams) SetStatsParams

func (o *CoreStatsResetParams) SetStatsParams(statsParams *models.StatsParams)

SetStatsParams adds the statsParams to the core stats reset params

func (*CoreStatsResetParams) SetTimeout

func (o *CoreStatsResetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the core stats reset params

func (*CoreStatsResetParams) WithContext

WithContext adds the context to the core stats reset params

func (*CoreStatsResetParams) WithHTTPClient

func (o *CoreStatsResetParams) WithHTTPClient(client *http.Client) *CoreStatsResetParams

WithHTTPClient adds the HTTPClient to the core stats reset params

func (*CoreStatsResetParams) WithStatsParams

func (o *CoreStatsResetParams) WithStatsParams(statsParams *models.StatsParams) *CoreStatsResetParams

WithStatsParams adds the statsParams to the core stats reset params

func (*CoreStatsResetParams) WithTimeout

func (o *CoreStatsResetParams) WithTimeout(timeout time.Duration) *CoreStatsResetParams

WithTimeout adds the timeout to the core stats reset params

func (*CoreStatsResetParams) WriteToRequest

func (o *CoreStatsResetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CoreStatsResetReader

type CoreStatsResetReader struct {
	// contains filtered or unexported fields
}

CoreStatsResetReader is a Reader for the CoreStatsReset structure.

func (*CoreStatsResetReader) ReadResponse

func (o *CoreStatsResetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FreeOSMemoryDefault

type FreeOSMemoryDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

FreeOSMemoryDefault handles this case with default header values.

Server error

func NewFreeOSMemoryDefault

func NewFreeOSMemoryDefault(code int) *FreeOSMemoryDefault

NewFreeOSMemoryDefault creates a FreeOSMemoryDefault with default headers values

func (*FreeOSMemoryDefault) Code

func (o *FreeOSMemoryDefault) Code() int

Code gets the status code for the free o s memory default response

func (*FreeOSMemoryDefault) Error

func (o *FreeOSMemoryDefault) Error() string

func (*FreeOSMemoryDefault) GetPayload

func (o *FreeOSMemoryDefault) GetPayload() *models.ErrorResponse

type FreeOSMemoryOK

type FreeOSMemoryOK struct {
	Payload interface{}
	JobID   int64
}

FreeOSMemoryOK handles this case with default header values.

Empty object

func NewFreeOSMemoryOK

func NewFreeOSMemoryOK() *FreeOSMemoryOK

NewFreeOSMemoryOK creates a FreeOSMemoryOK with default headers values

func (*FreeOSMemoryOK) GetPayload

func (o *FreeOSMemoryOK) GetPayload() interface{}

type FreeOSMemoryParams

type FreeOSMemoryParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FreeOSMemoryParams contains all the parameters to send to the API endpoint for the free o s memory operation typically these are written to a http.Request

func NewFreeOSMemoryParams

func NewFreeOSMemoryParams() *FreeOSMemoryParams

NewFreeOSMemoryParams creates a new FreeOSMemoryParams object with the default values initialized.

func NewFreeOSMemoryParamsWithContext

func NewFreeOSMemoryParamsWithContext(ctx context.Context) *FreeOSMemoryParams

NewFreeOSMemoryParamsWithContext creates a new FreeOSMemoryParams object with the default values initialized, and the ability to set a context for a request

func NewFreeOSMemoryParamsWithHTTPClient

func NewFreeOSMemoryParamsWithHTTPClient(client *http.Client) *FreeOSMemoryParams

NewFreeOSMemoryParamsWithHTTPClient creates a new FreeOSMemoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewFreeOSMemoryParamsWithTimeout

func NewFreeOSMemoryParamsWithTimeout(timeout time.Duration) *FreeOSMemoryParams

NewFreeOSMemoryParamsWithTimeout creates a new FreeOSMemoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*FreeOSMemoryParams) SetContext

func (o *FreeOSMemoryParams) SetContext(ctx context.Context)

SetContext adds the context to the free o s memory params

func (*FreeOSMemoryParams) SetHTTPClient

func (o *FreeOSMemoryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the free o s memory params

func (*FreeOSMemoryParams) SetTimeout

func (o *FreeOSMemoryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the free o s memory params

func (*FreeOSMemoryParams) WithContext

WithContext adds the context to the free o s memory params

func (*FreeOSMemoryParams) WithHTTPClient

func (o *FreeOSMemoryParams) WithHTTPClient(client *http.Client) *FreeOSMemoryParams

WithHTTPClient adds the HTTPClient to the free o s memory params

func (*FreeOSMemoryParams) WithTimeout

func (o *FreeOSMemoryParams) WithTimeout(timeout time.Duration) *FreeOSMemoryParams

WithTimeout adds the timeout to the free o s memory params

func (*FreeOSMemoryParams) WriteToRequest

func (o *FreeOSMemoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type FreeOSMemoryReader

type FreeOSMemoryReader struct {
	// contains filtered or unexported fields
}

FreeOSMemoryReader is a Reader for the FreeOSMemory structure.

func (*FreeOSMemoryReader) ReadResponse

func (o *FreeOSMemoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type JobInfoDefault

type JobInfoDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

JobInfoDefault handles this case with default header values.

Server error

func NewJobInfoDefault

func NewJobInfoDefault(code int) *JobInfoDefault

NewJobInfoDefault creates a JobInfoDefault with default headers values

func (*JobInfoDefault) Code

func (o *JobInfoDefault) Code() int

Code gets the status code for the job info default response

func (*JobInfoDefault) Error

func (o *JobInfoDefault) Error() string

func (*JobInfoDefault) GetPayload

func (o *JobInfoDefault) GetPayload() *models.ErrorResponse

type JobInfoOK

type JobInfoOK struct {
	Payload *models.JobInfo
	JobID   int64
}

JobInfoOK handles this case with default header values.

Aggregated info about job transfers

func NewJobInfoOK

func NewJobInfoOK() *JobInfoOK

NewJobInfoOK creates a JobInfoOK with default headers values

func (*JobInfoOK) GetPayload

func (o *JobInfoOK) GetPayload() *models.JobInfo

type JobInfoParams

type JobInfoParams struct {

	/*Jobinfo
	  Job info params with id and long polling

	*/
	Jobinfo *models.JobInfoParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

JobInfoParams contains all the parameters to send to the API endpoint for the job info operation typically these are written to a http.Request

func NewJobInfoParams

func NewJobInfoParams() *JobInfoParams

NewJobInfoParams creates a new JobInfoParams object with the default values initialized.

func NewJobInfoParamsWithContext

func NewJobInfoParamsWithContext(ctx context.Context) *JobInfoParams

NewJobInfoParamsWithContext creates a new JobInfoParams object with the default values initialized, and the ability to set a context for a request

func NewJobInfoParamsWithHTTPClient

func NewJobInfoParamsWithHTTPClient(client *http.Client) *JobInfoParams

NewJobInfoParamsWithHTTPClient creates a new JobInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewJobInfoParamsWithTimeout

func NewJobInfoParamsWithTimeout(timeout time.Duration) *JobInfoParams

NewJobInfoParamsWithTimeout creates a new JobInfoParams object with the default values initialized, and the ability to set a timeout on a request

func (*JobInfoParams) SetContext

func (o *JobInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the job info params

func (*JobInfoParams) SetHTTPClient

func (o *JobInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the job info params

func (*JobInfoParams) SetJobinfo

func (o *JobInfoParams) SetJobinfo(jobinfo *models.JobInfoParams)

SetJobinfo adds the jobinfo to the job info params

func (*JobInfoParams) SetTimeout

func (o *JobInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the job info params

func (*JobInfoParams) WithContext

func (o *JobInfoParams) WithContext(ctx context.Context) *JobInfoParams

WithContext adds the context to the job info params

func (*JobInfoParams) WithHTTPClient

func (o *JobInfoParams) WithHTTPClient(client *http.Client) *JobInfoParams

WithHTTPClient adds the HTTPClient to the job info params

func (*JobInfoParams) WithJobinfo

func (o *JobInfoParams) WithJobinfo(jobinfo *models.JobInfoParams) *JobInfoParams

WithJobinfo adds the jobinfo to the job info params

func (*JobInfoParams) WithTimeout

func (o *JobInfoParams) WithTimeout(timeout time.Duration) *JobInfoParams

WithTimeout adds the timeout to the job info params

func (*JobInfoParams) WriteToRequest

func (o *JobInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type JobInfoReader

type JobInfoReader struct {
	// contains filtered or unexported fields
}

JobInfoReader is a Reader for the JobInfo structure.

func (*JobInfoReader) ReadResponse

func (o *JobInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type JobStopDefault

type JobStopDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

JobStopDefault handles this case with default header values.

Server error

func NewJobStopDefault

func NewJobStopDefault(code int) *JobStopDefault

NewJobStopDefault creates a JobStopDefault with default headers values

func (*JobStopDefault) Code

func (o *JobStopDefault) Code() int

Code gets the status code for the job stop default response

func (*JobStopDefault) Error

func (o *JobStopDefault) Error() string

func (*JobStopDefault) GetPayload

func (o *JobStopDefault) GetPayload() *models.ErrorResponse

type JobStopOK

type JobStopOK struct {
	Payload interface{}
	JobID   int64
}

JobStopOK handles this case with default header values.

Empty object

func NewJobStopOK

func NewJobStopOK() *JobStopOK

NewJobStopOK creates a JobStopOK with default headers values

func (*JobStopOK) GetPayload

func (o *JobStopOK) GetPayload() interface{}

type JobStopParams

type JobStopParams struct {

	/*Jobid
	  jobid

	*/
	Jobid *models.Jobid

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

JobStopParams contains all the parameters to send to the API endpoint for the job stop operation typically these are written to a http.Request

func NewJobStopParams

func NewJobStopParams() *JobStopParams

NewJobStopParams creates a new JobStopParams object with the default values initialized.

func NewJobStopParamsWithContext

func NewJobStopParamsWithContext(ctx context.Context) *JobStopParams

NewJobStopParamsWithContext creates a new JobStopParams object with the default values initialized, and the ability to set a context for a request

func NewJobStopParamsWithHTTPClient

func NewJobStopParamsWithHTTPClient(client *http.Client) *JobStopParams

NewJobStopParamsWithHTTPClient creates a new JobStopParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewJobStopParamsWithTimeout

func NewJobStopParamsWithTimeout(timeout time.Duration) *JobStopParams

NewJobStopParamsWithTimeout creates a new JobStopParams object with the default values initialized, and the ability to set a timeout on a request

func (*JobStopParams) SetContext

func (o *JobStopParams) SetContext(ctx context.Context)

SetContext adds the context to the job stop params

func (*JobStopParams) SetHTTPClient

func (o *JobStopParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the job stop params

func (*JobStopParams) SetJobid

func (o *JobStopParams) SetJobid(jobid *models.Jobid)

SetJobid adds the jobid to the job stop params

func (*JobStopParams) SetTimeout

func (o *JobStopParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the job stop params

func (*JobStopParams) WithContext

func (o *JobStopParams) WithContext(ctx context.Context) *JobStopParams

WithContext adds the context to the job stop params

func (*JobStopParams) WithHTTPClient

func (o *JobStopParams) WithHTTPClient(client *http.Client) *JobStopParams

WithHTTPClient adds the HTTPClient to the job stop params

func (*JobStopParams) WithJobid

func (o *JobStopParams) WithJobid(jobid *models.Jobid) *JobStopParams

WithJobid adds the jobid to the job stop params

func (*JobStopParams) WithTimeout

func (o *JobStopParams) WithTimeout(timeout time.Duration) *JobStopParams

WithTimeout adds the timeout to the job stop params

func (*JobStopParams) WriteToRequest

func (o *JobStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type JobStopReader

type JobStopReader struct {
	// contains filtered or unexported fields
}

JobStopReader is a Reader for the JobStop structure.

func (*JobStopReader) ReadResponse

func (o *JobStopReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NodeInfoDefault

type NodeInfoDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

NodeInfoDefault handles this case with default header values.

Server error

func NewNodeInfoDefault

func NewNodeInfoDefault(code int) *NodeInfoDefault

NewNodeInfoDefault creates a NodeInfoDefault with default headers values

func (*NodeInfoDefault) Code

func (o *NodeInfoDefault) Code() int

Code gets the status code for the node info default response

func (*NodeInfoDefault) Error

func (o *NodeInfoDefault) Error() string

func (*NodeInfoDefault) GetPayload

func (o *NodeInfoDefault) GetPayload() *models.ErrorResponse

type NodeInfoOK

type NodeInfoOK struct {
	Payload *models.NodeInfo
	JobID   int64
}

NodeInfoOK handles this case with default header values.

node information

func NewNodeInfoOK

func NewNodeInfoOK() *NodeInfoOK

NewNodeInfoOK creates a NodeInfoOK with default headers values

func (*NodeInfoOK) GetPayload

func (o *NodeInfoOK) GetPayload() *models.NodeInfo

type NodeInfoParams

type NodeInfoParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NodeInfoParams contains all the parameters to send to the API endpoint for the node info operation typically these are written to a http.Request

func NewNodeInfoParams

func NewNodeInfoParams() *NodeInfoParams

NewNodeInfoParams creates a new NodeInfoParams object with the default values initialized.

func NewNodeInfoParamsWithContext

func NewNodeInfoParamsWithContext(ctx context.Context) *NodeInfoParams

NewNodeInfoParamsWithContext creates a new NodeInfoParams object with the default values initialized, and the ability to set a context for a request

func NewNodeInfoParamsWithHTTPClient

func NewNodeInfoParamsWithHTTPClient(client *http.Client) *NodeInfoParams

NewNodeInfoParamsWithHTTPClient creates a new NodeInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewNodeInfoParamsWithTimeout

func NewNodeInfoParamsWithTimeout(timeout time.Duration) *NodeInfoParams

NewNodeInfoParamsWithTimeout creates a new NodeInfoParams object with the default values initialized, and the ability to set a timeout on a request

func (*NodeInfoParams) SetContext

func (o *NodeInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the node info params

func (*NodeInfoParams) SetHTTPClient

func (o *NodeInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the node info params

func (*NodeInfoParams) SetTimeout

func (o *NodeInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the node info params

func (*NodeInfoParams) WithContext

func (o *NodeInfoParams) WithContext(ctx context.Context) *NodeInfoParams

WithContext adds the context to the node info params

func (*NodeInfoParams) WithHTTPClient

func (o *NodeInfoParams) WithHTTPClient(client *http.Client) *NodeInfoParams

WithHTTPClient adds the HTTPClient to the node info params

func (*NodeInfoParams) WithTimeout

func (o *NodeInfoParams) WithTimeout(timeout time.Duration) *NodeInfoParams

WithTimeout adds the timeout to the node info params

func (*NodeInfoParams) WriteToRequest

func (o *NodeInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type NodeInfoReader

type NodeInfoReader struct {
	// contains filtered or unexported fields
}

NodeInfoReader is a Reader for the NodeInfo structure.

func (*NodeInfoReader) ReadResponse

func (o *NodeInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OperationsAboutDefault

type OperationsAboutDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

OperationsAboutDefault handles this case with default header values.

Server error

func NewOperationsAboutDefault

func NewOperationsAboutDefault(code int) *OperationsAboutDefault

NewOperationsAboutDefault creates a OperationsAboutDefault with default headers values

func (*OperationsAboutDefault) Code

func (o *OperationsAboutDefault) Code() int

Code gets the status code for the operations about default response

func (*OperationsAboutDefault) Error

func (o *OperationsAboutDefault) Error() string

func (*OperationsAboutDefault) GetPayload

func (o *OperationsAboutDefault) GetPayload() *models.ErrorResponse

type OperationsAboutOK

type OperationsAboutOK struct {
	Payload *models.FileSystemDetails
	JobID   int64
}

OperationsAboutOK handles this case with default header values.

File system details

func NewOperationsAboutOK

func NewOperationsAboutOK() *OperationsAboutOK

NewOperationsAboutOK creates a OperationsAboutOK with default headers values

func (*OperationsAboutOK) GetPayload

func (o *OperationsAboutOK) GetPayload() *models.FileSystemDetails

type OperationsAboutParams

type OperationsAboutParams struct {

	/*About
	  about

	*/
	About *models.RemotePath

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OperationsAboutParams contains all the parameters to send to the API endpoint for the operations about operation typically these are written to a http.Request

func NewOperationsAboutParams

func NewOperationsAboutParams() *OperationsAboutParams

NewOperationsAboutParams creates a new OperationsAboutParams object with the default values initialized.

func NewOperationsAboutParamsWithContext

func NewOperationsAboutParamsWithContext(ctx context.Context) *OperationsAboutParams

NewOperationsAboutParamsWithContext creates a new OperationsAboutParams object with the default values initialized, and the ability to set a context for a request

func NewOperationsAboutParamsWithHTTPClient

func NewOperationsAboutParamsWithHTTPClient(client *http.Client) *OperationsAboutParams

NewOperationsAboutParamsWithHTTPClient creates a new OperationsAboutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewOperationsAboutParamsWithTimeout

func NewOperationsAboutParamsWithTimeout(timeout time.Duration) *OperationsAboutParams

NewOperationsAboutParamsWithTimeout creates a new OperationsAboutParams object with the default values initialized, and the ability to set a timeout on a request

func (*OperationsAboutParams) SetAbout

func (o *OperationsAboutParams) SetAbout(about *models.RemotePath)

SetAbout adds the about to the operations about params

func (*OperationsAboutParams) SetContext

func (o *OperationsAboutParams) SetContext(ctx context.Context)

SetContext adds the context to the operations about params

func (*OperationsAboutParams) SetHTTPClient

func (o *OperationsAboutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the operations about params

func (*OperationsAboutParams) SetTimeout

func (o *OperationsAboutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the operations about params

func (*OperationsAboutParams) WithAbout

WithAbout adds the about to the operations about params

func (*OperationsAboutParams) WithContext

WithContext adds the context to the operations about params

func (*OperationsAboutParams) WithHTTPClient

func (o *OperationsAboutParams) WithHTTPClient(client *http.Client) *OperationsAboutParams

WithHTTPClient adds the HTTPClient to the operations about params

func (*OperationsAboutParams) WithTimeout

func (o *OperationsAboutParams) WithTimeout(timeout time.Duration) *OperationsAboutParams

WithTimeout adds the timeout to the operations about params

func (*OperationsAboutParams) WriteToRequest

func (o *OperationsAboutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OperationsAboutReader

type OperationsAboutReader struct {
	// contains filtered or unexported fields
}

OperationsAboutReader is a Reader for the OperationsAbout structure.

func (*OperationsAboutReader) ReadResponse

func (o *OperationsAboutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OperationsCatDefault

type OperationsCatDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

OperationsCatDefault handles this case with default header values.

Server error

func NewOperationsCatDefault

func NewOperationsCatDefault(code int) *OperationsCatDefault

NewOperationsCatDefault creates a OperationsCatDefault with default headers values

func (*OperationsCatDefault) Code

func (o *OperationsCatDefault) Code() int

Code gets the status code for the operations cat default response

func (*OperationsCatDefault) Error

func (o *OperationsCatDefault) Error() string

func (*OperationsCatDefault) GetPayload

func (o *OperationsCatDefault) GetPayload() *models.ErrorResponse

type OperationsCatOK

type OperationsCatOK struct {
	Payload *models.Content
	JobID   int64
}

OperationsCatOK handles this case with default header values.

File system details

func NewOperationsCatOK

func NewOperationsCatOK() *OperationsCatOK

NewOperationsCatOK creates a OperationsCatOK with default headers values

func (*OperationsCatOK) GetPayload

func (o *OperationsCatOK) GetPayload() *models.Content

type OperationsCatParams

type OperationsCatParams struct {

	/*Cat
	  cat

	*/
	Cat *models.RemotePath

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OperationsCatParams contains all the parameters to send to the API endpoint for the operations cat operation typically these are written to a http.Request

func NewOperationsCatParams

func NewOperationsCatParams() *OperationsCatParams

NewOperationsCatParams creates a new OperationsCatParams object with the default values initialized.

func NewOperationsCatParamsWithContext

func NewOperationsCatParamsWithContext(ctx context.Context) *OperationsCatParams

NewOperationsCatParamsWithContext creates a new OperationsCatParams object with the default values initialized, and the ability to set a context for a request

func NewOperationsCatParamsWithHTTPClient

func NewOperationsCatParamsWithHTTPClient(client *http.Client) *OperationsCatParams

NewOperationsCatParamsWithHTTPClient creates a new OperationsCatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewOperationsCatParamsWithTimeout

func NewOperationsCatParamsWithTimeout(timeout time.Duration) *OperationsCatParams

NewOperationsCatParamsWithTimeout creates a new OperationsCatParams object with the default values initialized, and the ability to set a timeout on a request

func (*OperationsCatParams) SetCat

func (o *OperationsCatParams) SetCat(cat *models.RemotePath)

SetCat adds the cat to the operations cat params

func (*OperationsCatParams) SetContext

func (o *OperationsCatParams) SetContext(ctx context.Context)

SetContext adds the context to the operations cat params

func (*OperationsCatParams) SetHTTPClient

func (o *OperationsCatParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the operations cat params

func (*OperationsCatParams) SetTimeout

func (o *OperationsCatParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the operations cat params

func (*OperationsCatParams) WithCat

WithCat adds the cat to the operations cat params

func (*OperationsCatParams) WithContext

WithContext adds the context to the operations cat params

func (*OperationsCatParams) WithHTTPClient

func (o *OperationsCatParams) WithHTTPClient(client *http.Client) *OperationsCatParams

WithHTTPClient adds the HTTPClient to the operations cat params

func (*OperationsCatParams) WithTimeout

func (o *OperationsCatParams) WithTimeout(timeout time.Duration) *OperationsCatParams

WithTimeout adds the timeout to the operations cat params

func (*OperationsCatParams) WriteToRequest

func (o *OperationsCatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OperationsCatReader

type OperationsCatReader struct {
	// contains filtered or unexported fields
}

OperationsCatReader is a Reader for the OperationsCat structure.

func (*OperationsCatReader) ReadResponse

func (o *OperationsCatReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OperationsCheckPermissionsDefault

type OperationsCheckPermissionsDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

OperationsCheckPermissionsDefault handles this case with default header values.

Server error

func NewOperationsCheckPermissionsDefault

func NewOperationsCheckPermissionsDefault(code int) *OperationsCheckPermissionsDefault

NewOperationsCheckPermissionsDefault creates a OperationsCheckPermissionsDefault with default headers values

func (*OperationsCheckPermissionsDefault) Code

Code gets the status code for the operations check permissions default response

func (*OperationsCheckPermissionsDefault) Error

func (*OperationsCheckPermissionsDefault) GetPayload

type OperationsCheckPermissionsOK

type OperationsCheckPermissionsOK struct {
	Payload interface{}
	JobID   int64
}

OperationsCheckPermissionsOK handles this case with default header values.

Empty object

func NewOperationsCheckPermissionsOK

func NewOperationsCheckPermissionsOK() *OperationsCheckPermissionsOK

NewOperationsCheckPermissionsOK creates a OperationsCheckPermissionsOK with default headers values

func (*OperationsCheckPermissionsOK) GetPayload

func (o *OperationsCheckPermissionsOK) GetPayload() interface{}

type OperationsCheckPermissionsParams

type OperationsCheckPermissionsParams struct {

	/*Fs
	  FS to check

	*/
	Fs *models.RemotePath

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OperationsCheckPermissionsParams contains all the parameters to send to the API endpoint for the operations check permissions operation typically these are written to a http.Request

func NewOperationsCheckPermissionsParams

func NewOperationsCheckPermissionsParams() *OperationsCheckPermissionsParams

NewOperationsCheckPermissionsParams creates a new OperationsCheckPermissionsParams object with the default values initialized.

func NewOperationsCheckPermissionsParamsWithContext

func NewOperationsCheckPermissionsParamsWithContext(ctx context.Context) *OperationsCheckPermissionsParams

NewOperationsCheckPermissionsParamsWithContext creates a new OperationsCheckPermissionsParams object with the default values initialized, and the ability to set a context for a request

func NewOperationsCheckPermissionsParamsWithHTTPClient

func NewOperationsCheckPermissionsParamsWithHTTPClient(client *http.Client) *OperationsCheckPermissionsParams

NewOperationsCheckPermissionsParamsWithHTTPClient creates a new OperationsCheckPermissionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewOperationsCheckPermissionsParamsWithTimeout

func NewOperationsCheckPermissionsParamsWithTimeout(timeout time.Duration) *OperationsCheckPermissionsParams

NewOperationsCheckPermissionsParamsWithTimeout creates a new OperationsCheckPermissionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*OperationsCheckPermissionsParams) SetContext

SetContext adds the context to the operations check permissions params

func (*OperationsCheckPermissionsParams) SetFs

SetFs adds the fs to the operations check permissions params

func (*OperationsCheckPermissionsParams) SetHTTPClient

func (o *OperationsCheckPermissionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the operations check permissions params

func (*OperationsCheckPermissionsParams) SetTimeout

func (o *OperationsCheckPermissionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the operations check permissions params

func (*OperationsCheckPermissionsParams) WithContext

WithContext adds the context to the operations check permissions params

func (*OperationsCheckPermissionsParams) WithFs

WithFs adds the fs to the operations check permissions params

func (*OperationsCheckPermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the operations check permissions params

func (*OperationsCheckPermissionsParams) WithTimeout

WithTimeout adds the timeout to the operations check permissions params

func (*OperationsCheckPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OperationsCheckPermissionsReader

type OperationsCheckPermissionsReader struct {
	// contains filtered or unexported fields
}

OperationsCheckPermissionsReader is a Reader for the OperationsCheckPermissions structure.

func (*OperationsCheckPermissionsReader) ReadResponse

func (o *OperationsCheckPermissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OperationsCopyfileDefault

type OperationsCopyfileDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

OperationsCopyfileDefault handles this case with default header values.

Server error

func NewOperationsCopyfileDefault

func NewOperationsCopyfileDefault(code int) *OperationsCopyfileDefault

NewOperationsCopyfileDefault creates a OperationsCopyfileDefault with default headers values

func (*OperationsCopyfileDefault) Code

func (o *OperationsCopyfileDefault) Code() int

Code gets the status code for the operations copyfile default response

func (*OperationsCopyfileDefault) Error

func (o *OperationsCopyfileDefault) Error() string

func (*OperationsCopyfileDefault) GetPayload

type OperationsCopyfileOK

type OperationsCopyfileOK struct {
	Payload *models.Jobid
	JobID   int64
}

OperationsCopyfileOK handles this case with default header values.

Job

func NewOperationsCopyfileOK

func NewOperationsCopyfileOK() *OperationsCopyfileOK

NewOperationsCopyfileOK creates a OperationsCopyfileOK with default headers values

func (*OperationsCopyfileOK) GetPayload

func (o *OperationsCopyfileOK) GetPayload() *models.Jobid

type OperationsCopyfileParams

type OperationsCopyfileParams struct {

	/*Async
	  Async request

	*/
	Async bool
	/*Group
	  Place this operation under this stat group

	*/
	Group string
	/*Copyfile
	  copyfile

	*/
	Copyfile *models.MoveOrCopyFileOptions

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OperationsCopyfileParams contains all the parameters to send to the API endpoint for the operations copyfile operation typically these are written to a http.Request

func NewOperationsCopyfileParams

func NewOperationsCopyfileParams() *OperationsCopyfileParams

NewOperationsCopyfileParams creates a new OperationsCopyfileParams object with the default values initialized.

func NewOperationsCopyfileParamsWithContext

func NewOperationsCopyfileParamsWithContext(ctx context.Context) *OperationsCopyfileParams

NewOperationsCopyfileParamsWithContext creates a new OperationsCopyfileParams object with the default values initialized, and the ability to set a context for a request

func NewOperationsCopyfileParamsWithHTTPClient

func NewOperationsCopyfileParamsWithHTTPClient(client *http.Client) *OperationsCopyfileParams

NewOperationsCopyfileParamsWithHTTPClient creates a new OperationsCopyfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewOperationsCopyfileParamsWithTimeout

func NewOperationsCopyfileParamsWithTimeout(timeout time.Duration) *OperationsCopyfileParams

NewOperationsCopyfileParamsWithTimeout creates a new OperationsCopyfileParams object with the default values initialized, and the ability to set a timeout on a request

func (*OperationsCopyfileParams) SetAsync

func (o *OperationsCopyfileParams) SetAsync(async bool)

SetAsync adds the async to the operations copyfile params

func (*OperationsCopyfileParams) SetContext

func (o *OperationsCopyfileParams) SetContext(ctx context.Context)

SetContext adds the context to the operations copyfile params

func (*OperationsCopyfileParams) SetCopyfile

func (o *OperationsCopyfileParams) SetCopyfile(copyfile *models.MoveOrCopyFileOptions)

SetCopyfile adds the copyfile to the operations copyfile params

func (*OperationsCopyfileParams) SetGroup

func (o *OperationsCopyfileParams) SetGroup(group string)

SetGroup adds the group to the operations copyfile params

func (*OperationsCopyfileParams) SetHTTPClient

func (o *OperationsCopyfileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the operations copyfile params

func (*OperationsCopyfileParams) SetTimeout

func (o *OperationsCopyfileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the operations copyfile params

func (*OperationsCopyfileParams) WithAsync

WithAsync adds the async to the operations copyfile params

func (*OperationsCopyfileParams) WithContext

WithContext adds the context to the operations copyfile params

func (*OperationsCopyfileParams) WithCopyfile

WithCopyfile adds the copyfile to the operations copyfile params

func (*OperationsCopyfileParams) WithGroup

WithGroup adds the group to the operations copyfile params

func (*OperationsCopyfileParams) WithHTTPClient

func (o *OperationsCopyfileParams) WithHTTPClient(client *http.Client) *OperationsCopyfileParams

WithHTTPClient adds the HTTPClient to the operations copyfile params

func (*OperationsCopyfileParams) WithTimeout

WithTimeout adds the timeout to the operations copyfile params

func (*OperationsCopyfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OperationsCopyfileReader

type OperationsCopyfileReader struct {
	// contains filtered or unexported fields
}

OperationsCopyfileReader is a Reader for the OperationsCopyfile structure.

func (*OperationsCopyfileReader) ReadResponse

func (o *OperationsCopyfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OperationsDeletefileDefault

type OperationsDeletefileDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

OperationsDeletefileDefault handles this case with default header values.

Server error

func NewOperationsDeletefileDefault

func NewOperationsDeletefileDefault(code int) *OperationsDeletefileDefault

NewOperationsDeletefileDefault creates a OperationsDeletefileDefault with default headers values

func (*OperationsDeletefileDefault) Code

func (o *OperationsDeletefileDefault) Code() int

Code gets the status code for the operations deletefile default response

func (*OperationsDeletefileDefault) Error

func (*OperationsDeletefileDefault) GetPayload

type OperationsDeletefileOK

type OperationsDeletefileOK struct {
	Payload *models.Jobid
	JobID   int64
}

OperationsDeletefileOK handles this case with default header values.

Job ID

func NewOperationsDeletefileOK

func NewOperationsDeletefileOK() *OperationsDeletefileOK

NewOperationsDeletefileOK creates a OperationsDeletefileOK with default headers values

func (*OperationsDeletefileOK) GetPayload

func (o *OperationsDeletefileOK) GetPayload() *models.Jobid

type OperationsDeletefileParams

type OperationsDeletefileParams struct {

	/*Async
	  Async request

	*/
	Async bool
	/*Group
	  Place this operation under this stat group

	*/
	Group string
	/*Deletefile
	  deletefile

	*/
	Deletefile *models.RemotePath

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OperationsDeletefileParams contains all the parameters to send to the API endpoint for the operations deletefile operation typically these are written to a http.Request

func NewOperationsDeletefileParams

func NewOperationsDeletefileParams() *OperationsDeletefileParams

NewOperationsDeletefileParams creates a new OperationsDeletefileParams object with the default values initialized.

func NewOperationsDeletefileParamsWithContext

func NewOperationsDeletefileParamsWithContext(ctx context.Context) *OperationsDeletefileParams

NewOperationsDeletefileParamsWithContext creates a new OperationsDeletefileParams object with the default values initialized, and the ability to set a context for a request

func NewOperationsDeletefileParamsWithHTTPClient

func NewOperationsDeletefileParamsWithHTTPClient(client *http.Client) *OperationsDeletefileParams

NewOperationsDeletefileParamsWithHTTPClient creates a new OperationsDeletefileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewOperationsDeletefileParamsWithTimeout

func NewOperationsDeletefileParamsWithTimeout(timeout time.Duration) *OperationsDeletefileParams

NewOperationsDeletefileParamsWithTimeout creates a new OperationsDeletefileParams object with the default values initialized, and the ability to set a timeout on a request

func (*OperationsDeletefileParams) SetAsync

func (o *OperationsDeletefileParams) SetAsync(async bool)

SetAsync adds the async to the operations deletefile params

func (*OperationsDeletefileParams) SetContext

func (o *OperationsDeletefileParams) SetContext(ctx context.Context)

SetContext adds the context to the operations deletefile params

func (*OperationsDeletefileParams) SetDeletefile

func (o *OperationsDeletefileParams) SetDeletefile(deletefile *models.RemotePath)

SetDeletefile adds the deletefile to the operations deletefile params

func (*OperationsDeletefileParams) SetGroup

func (o *OperationsDeletefileParams) SetGroup(group string)

SetGroup adds the group to the operations deletefile params

func (*OperationsDeletefileParams) SetHTTPClient

func (o *OperationsDeletefileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the operations deletefile params

func (*OperationsDeletefileParams) SetTimeout

func (o *OperationsDeletefileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the operations deletefile params

func (*OperationsDeletefileParams) WithAsync

WithAsync adds the async to the operations deletefile params

func (*OperationsDeletefileParams) WithContext

WithContext adds the context to the operations deletefile params

func (*OperationsDeletefileParams) WithDeletefile

WithDeletefile adds the deletefile to the operations deletefile params

func (*OperationsDeletefileParams) WithGroup

WithGroup adds the group to the operations deletefile params

func (*OperationsDeletefileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the operations deletefile params

func (*OperationsDeletefileParams) WithTimeout

WithTimeout adds the timeout to the operations deletefile params

func (*OperationsDeletefileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OperationsDeletefileReader

type OperationsDeletefileReader struct {
	// contains filtered or unexported fields
}

OperationsDeletefileReader is a Reader for the OperationsDeletefile structure.

func (*OperationsDeletefileReader) ReadResponse

func (o *OperationsDeletefileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OperationsListDefault

type OperationsListDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

OperationsListDefault handles this case with default header values.

Server error

func NewOperationsListDefault

func NewOperationsListDefault(code int) *OperationsListDefault

NewOperationsListDefault creates a OperationsListDefault with default headers values

func (*OperationsListDefault) Code

func (o *OperationsListDefault) Code() int

Code gets the status code for the operations list default response

func (*OperationsListDefault) Error

func (o *OperationsListDefault) Error() string

func (*OperationsListDefault) GetPayload

func (o *OperationsListDefault) GetPayload() *models.ErrorResponse

type OperationsListOK

type OperationsListOK struct {
	Payload *OperationsListOKBody
	JobID   int64
}

OperationsListOK handles this case with default header values.

List of items

func NewOperationsListOK

func NewOperationsListOK() *OperationsListOK

NewOperationsListOK creates a OperationsListOK with default headers values

func (*OperationsListOK) GetPayload

func (o *OperationsListOK) GetPayload() *OperationsListOKBody

type OperationsListOKBody

type OperationsListOKBody struct {

	// list
	List []*models.ListItem `json:"list"`
}

OperationsListOKBody operations list o k body swagger:model OperationsListOKBody

func (*OperationsListOKBody) MarshalBinary

func (o *OperationsListOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OperationsListOKBody) UnmarshalBinary

func (o *OperationsListOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperationsListOKBody) Validate

func (o *OperationsListOKBody) Validate(formats strfmt.Registry) error

Validate validates this operations list o k body

type OperationsListParams

type OperationsListParams struct {

	/*ListOpts
	  listOpts

	*/
	ListOpts *models.ListOptions

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OperationsListParams contains all the parameters to send to the API endpoint for the operations list operation typically these are written to a http.Request

func NewOperationsListParams

func NewOperationsListParams() *OperationsListParams

NewOperationsListParams creates a new OperationsListParams object with the default values initialized.

func NewOperationsListParamsWithContext

func NewOperationsListParamsWithContext(ctx context.Context) *OperationsListParams

NewOperationsListParamsWithContext creates a new OperationsListParams object with the default values initialized, and the ability to set a context for a request

func NewOperationsListParamsWithHTTPClient

func NewOperationsListParamsWithHTTPClient(client *http.Client) *OperationsListParams

NewOperationsListParamsWithHTTPClient creates a new OperationsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewOperationsListParamsWithTimeout

func NewOperationsListParamsWithTimeout(timeout time.Duration) *OperationsListParams

NewOperationsListParamsWithTimeout creates a new OperationsListParams object with the default values initialized, and the ability to set a timeout on a request

func (*OperationsListParams) SetContext

func (o *OperationsListParams) SetContext(ctx context.Context)

SetContext adds the context to the operations list params

func (*OperationsListParams) SetHTTPClient

func (o *OperationsListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the operations list params

func (*OperationsListParams) SetListOpts

func (o *OperationsListParams) SetListOpts(listOpts *models.ListOptions)

SetListOpts adds the listOpts to the operations list params

func (*OperationsListParams) SetTimeout

func (o *OperationsListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the operations list params

func (*OperationsListParams) WithContext

WithContext adds the context to the operations list params

func (*OperationsListParams) WithHTTPClient

func (o *OperationsListParams) WithHTTPClient(client *http.Client) *OperationsListParams

WithHTTPClient adds the HTTPClient to the operations list params

func (*OperationsListParams) WithListOpts

func (o *OperationsListParams) WithListOpts(listOpts *models.ListOptions) *OperationsListParams

WithListOpts adds the listOpts to the operations list params

func (*OperationsListParams) WithTimeout

func (o *OperationsListParams) WithTimeout(timeout time.Duration) *OperationsListParams

WithTimeout adds the timeout to the operations list params

func (*OperationsListParams) WriteToRequest

func (o *OperationsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OperationsListReader

type OperationsListReader struct {
	// contains filtered or unexported fields
}

OperationsListReader is a Reader for the OperationsList structure.

func (*OperationsListReader) ReadResponse

func (o *OperationsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OperationsMovefileDefault

type OperationsMovefileDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

OperationsMovefileDefault handles this case with default header values.

Server error

func NewOperationsMovefileDefault

func NewOperationsMovefileDefault(code int) *OperationsMovefileDefault

NewOperationsMovefileDefault creates a OperationsMovefileDefault with default headers values

func (*OperationsMovefileDefault) Code

func (o *OperationsMovefileDefault) Code() int

Code gets the status code for the operations movefile default response

func (*OperationsMovefileDefault) Error

func (o *OperationsMovefileDefault) Error() string

func (*OperationsMovefileDefault) GetPayload

type OperationsMovefileOK

type OperationsMovefileOK struct {
	JobID int64
}

OperationsMovefileOK handles this case with default header values.

Empty object

func NewOperationsMovefileOK

func NewOperationsMovefileOK() *OperationsMovefileOK

NewOperationsMovefileOK creates a OperationsMovefileOK with default headers values

type OperationsMovefileParams

type OperationsMovefileParams struct {

	/*Group
	  Place this operation under this stat group

	*/
	Group string
	/*Copyfile
	  copyfile

	*/
	Copyfile *models.MoveOrCopyFileOptions

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OperationsMovefileParams contains all the parameters to send to the API endpoint for the operations movefile operation typically these are written to a http.Request

func NewOperationsMovefileParams

func NewOperationsMovefileParams() *OperationsMovefileParams

NewOperationsMovefileParams creates a new OperationsMovefileParams object with the default values initialized.

func NewOperationsMovefileParamsWithContext

func NewOperationsMovefileParamsWithContext(ctx context.Context) *OperationsMovefileParams

NewOperationsMovefileParamsWithContext creates a new OperationsMovefileParams object with the default values initialized, and the ability to set a context for a request

func NewOperationsMovefileParamsWithHTTPClient

func NewOperationsMovefileParamsWithHTTPClient(client *http.Client) *OperationsMovefileParams

NewOperationsMovefileParamsWithHTTPClient creates a new OperationsMovefileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewOperationsMovefileParamsWithTimeout

func NewOperationsMovefileParamsWithTimeout(timeout time.Duration) *OperationsMovefileParams

NewOperationsMovefileParamsWithTimeout creates a new OperationsMovefileParams object with the default values initialized, and the ability to set a timeout on a request

func (*OperationsMovefileParams) SetContext

func (o *OperationsMovefileParams) SetContext(ctx context.Context)

SetContext adds the context to the operations movefile params

func (*OperationsMovefileParams) SetCopyfile

func (o *OperationsMovefileParams) SetCopyfile(copyfile *models.MoveOrCopyFileOptions)

SetCopyfile adds the copyfile to the operations movefile params

func (*OperationsMovefileParams) SetGroup

func (o *OperationsMovefileParams) SetGroup(group string)

SetGroup adds the group to the operations movefile params

func (*OperationsMovefileParams) SetHTTPClient

func (o *OperationsMovefileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the operations movefile params

func (*OperationsMovefileParams) SetTimeout

func (o *OperationsMovefileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the operations movefile params

func (*OperationsMovefileParams) WithContext

WithContext adds the context to the operations movefile params

func (*OperationsMovefileParams) WithCopyfile

WithCopyfile adds the copyfile to the operations movefile params

func (*OperationsMovefileParams) WithGroup

WithGroup adds the group to the operations movefile params

func (*OperationsMovefileParams) WithHTTPClient

func (o *OperationsMovefileParams) WithHTTPClient(client *http.Client) *OperationsMovefileParams

WithHTTPClient adds the HTTPClient to the operations movefile params

func (*OperationsMovefileParams) WithTimeout

WithTimeout adds the timeout to the operations movefile params

func (*OperationsMovefileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OperationsMovefileReader

type OperationsMovefileReader struct {
	// contains filtered or unexported fields
}

OperationsMovefileReader is a Reader for the OperationsMovefile structure.

func (*OperationsMovefileReader) ReadResponse

func (o *OperationsMovefileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OperationsPurgeDefault

type OperationsPurgeDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

OperationsPurgeDefault handles this case with default header values.

Server error

func NewOperationsPurgeDefault

func NewOperationsPurgeDefault(code int) *OperationsPurgeDefault

NewOperationsPurgeDefault creates a OperationsPurgeDefault with default headers values

func (*OperationsPurgeDefault) Code

func (o *OperationsPurgeDefault) Code() int

Code gets the status code for the operations purge default response

func (*OperationsPurgeDefault) Error

func (o *OperationsPurgeDefault) Error() string

func (*OperationsPurgeDefault) GetPayload

func (o *OperationsPurgeDefault) GetPayload() *models.ErrorResponse

type OperationsPurgeOK

type OperationsPurgeOK struct {
	Payload *models.Jobid
	JobID   int64
}

OperationsPurgeOK handles this case with default header values.

Job ID

func NewOperationsPurgeOK

func NewOperationsPurgeOK() *OperationsPurgeOK

NewOperationsPurgeOK creates a OperationsPurgeOK with default headers values

func (*OperationsPurgeOK) GetPayload

func (o *OperationsPurgeOK) GetPayload() *models.Jobid

type OperationsPurgeParams

type OperationsPurgeParams struct {

	/*Async
	  Async request

	*/
	Async bool
	/*Group
	  Place this operation under this stat group

	*/
	Group string
	/*Purge
	  purge

	*/
	Purge *models.RemotePath

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OperationsPurgeParams contains all the parameters to send to the API endpoint for the operations purge operation typically these are written to a http.Request

func NewOperationsPurgeParams

func NewOperationsPurgeParams() *OperationsPurgeParams

NewOperationsPurgeParams creates a new OperationsPurgeParams object with the default values initialized.

func NewOperationsPurgeParamsWithContext

func NewOperationsPurgeParamsWithContext(ctx context.Context) *OperationsPurgeParams

NewOperationsPurgeParamsWithContext creates a new OperationsPurgeParams object with the default values initialized, and the ability to set a context for a request

func NewOperationsPurgeParamsWithHTTPClient

func NewOperationsPurgeParamsWithHTTPClient(client *http.Client) *OperationsPurgeParams

NewOperationsPurgeParamsWithHTTPClient creates a new OperationsPurgeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewOperationsPurgeParamsWithTimeout

func NewOperationsPurgeParamsWithTimeout(timeout time.Duration) *OperationsPurgeParams

NewOperationsPurgeParamsWithTimeout creates a new OperationsPurgeParams object with the default values initialized, and the ability to set a timeout on a request

func (*OperationsPurgeParams) SetAsync

func (o *OperationsPurgeParams) SetAsync(async bool)

SetAsync adds the async to the operations purge params

func (*OperationsPurgeParams) SetContext

func (o *OperationsPurgeParams) SetContext(ctx context.Context)

SetContext adds the context to the operations purge params

func (*OperationsPurgeParams) SetGroup

func (o *OperationsPurgeParams) SetGroup(group string)

SetGroup adds the group to the operations purge params

func (*OperationsPurgeParams) SetHTTPClient

func (o *OperationsPurgeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the operations purge params

func (*OperationsPurgeParams) SetPurge

func (o *OperationsPurgeParams) SetPurge(purge *models.RemotePath)

SetPurge adds the purge to the operations purge params

func (*OperationsPurgeParams) SetTimeout

func (o *OperationsPurgeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the operations purge params

func (*OperationsPurgeParams) WithAsync

func (o *OperationsPurgeParams) WithAsync(async bool) *OperationsPurgeParams

WithAsync adds the async to the operations purge params

func (*OperationsPurgeParams) WithContext

WithContext adds the context to the operations purge params

func (*OperationsPurgeParams) WithGroup

func (o *OperationsPurgeParams) WithGroup(group string) *OperationsPurgeParams

WithGroup adds the group to the operations purge params

func (*OperationsPurgeParams) WithHTTPClient

func (o *OperationsPurgeParams) WithHTTPClient(client *http.Client) *OperationsPurgeParams

WithHTTPClient adds the HTTPClient to the operations purge params

func (*OperationsPurgeParams) WithPurge

WithPurge adds the purge to the operations purge params

func (*OperationsPurgeParams) WithTimeout

func (o *OperationsPurgeParams) WithTimeout(timeout time.Duration) *OperationsPurgeParams

WithTimeout adds the timeout to the operations purge params

func (*OperationsPurgeParams) WriteToRequest

func (o *OperationsPurgeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OperationsPurgeReader

type OperationsPurgeReader struct {
	// contains filtered or unexported fields
}

OperationsPurgeReader is a Reader for the OperationsPurge structure.

func (*OperationsPurgeReader) ReadResponse

func (o *OperationsPurgeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SyncCopyBody

type SyncCopyBody struct {

	// A remote name string eg. drive: for the destination
	DstFs string `json:"dstFs,omitempty"`

	// A remote name string eg. drive: for the source
	SrcFs string `json:"srcFs,omitempty"`
}

SyncCopyBody sync copy body swagger:model SyncCopyBody

func (*SyncCopyBody) MarshalBinary

func (o *SyncCopyBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SyncCopyBody) UnmarshalBinary

func (o *SyncCopyBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SyncCopyBody) Validate

func (o *SyncCopyBody) Validate(formats strfmt.Registry) error

Validate validates this sync copy body

type SyncCopyDefault

type SyncCopyDefault struct {
	Payload *models.ErrorResponse
	JobID   int64
	// contains filtered or unexported fields
}

SyncCopyDefault handles this case with default header values.

Server error

func NewSyncCopyDefault

func NewSyncCopyDefault(code int) *SyncCopyDefault

NewSyncCopyDefault creates a SyncCopyDefault with default headers values

func (*SyncCopyDefault) Code

func (o *SyncCopyDefault) Code() int

Code gets the status code for the sync copy default response

func (*SyncCopyDefault) Error

func (o *SyncCopyDefault) Error() string

func (*SyncCopyDefault) GetPayload

func (o *SyncCopyDefault) GetPayload() *models.ErrorResponse

type SyncCopyOK

type SyncCopyOK struct {
	Payload *models.Jobid
	JobID   int64
}

SyncCopyOK handles this case with default header values.

Job ID

func NewSyncCopyOK

func NewSyncCopyOK() *SyncCopyOK

NewSyncCopyOK creates a SyncCopyOK with default headers values

func (*SyncCopyOK) GetPayload

func (o *SyncCopyOK) GetPayload() *models.Jobid

type SyncCopyParams

type SyncCopyParams struct {

	/*Async
	  Async request

	*/
	Async bool
	/*Group
	  Place this operation under this stat group

	*/
	Group string
	/*Copydir
	  copydir

	*/
	Copydir SyncCopyBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SyncCopyParams contains all the parameters to send to the API endpoint for the sync copy operation typically these are written to a http.Request

func NewSyncCopyParams

func NewSyncCopyParams() *SyncCopyParams

NewSyncCopyParams creates a new SyncCopyParams object with the default values initialized.

func NewSyncCopyParamsWithContext

func NewSyncCopyParamsWithContext(ctx context.Context) *SyncCopyParams

NewSyncCopyParamsWithContext creates a new SyncCopyParams object with the default values initialized, and the ability to set a context for a request

func NewSyncCopyParamsWithHTTPClient

func NewSyncCopyParamsWithHTTPClient(client *http.Client) *SyncCopyParams

NewSyncCopyParamsWithHTTPClient creates a new SyncCopyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSyncCopyParamsWithTimeout

func NewSyncCopyParamsWithTimeout(timeout time.Duration) *SyncCopyParams

NewSyncCopyParamsWithTimeout creates a new SyncCopyParams object with the default values initialized, and the ability to set a timeout on a request

func (*SyncCopyParams) SetAsync

func (o *SyncCopyParams) SetAsync(async bool)

SetAsync adds the async to the sync copy params

func (*SyncCopyParams) SetContext

func (o *SyncCopyParams) SetContext(ctx context.Context)

SetContext adds the context to the sync copy params

func (*SyncCopyParams) SetCopydir

func (o *SyncCopyParams) SetCopydir(copydir SyncCopyBody)

SetCopydir adds the copydir to the sync copy params

func (*SyncCopyParams) SetGroup

func (o *SyncCopyParams) SetGroup(group string)

SetGroup adds the group to the sync copy params

func (*SyncCopyParams) SetHTTPClient

func (o *SyncCopyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the sync copy params

func (*SyncCopyParams) SetTimeout

func (o *SyncCopyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the sync copy params

func (*SyncCopyParams) WithAsync

func (o *SyncCopyParams) WithAsync(async bool) *SyncCopyParams

WithAsync adds the async to the sync copy params

func (*SyncCopyParams) WithContext

func (o *SyncCopyParams) WithContext(ctx context.Context) *SyncCopyParams

WithContext adds the context to the sync copy params

func (*SyncCopyParams) WithCopydir

func (o *SyncCopyParams) WithCopydir(copydir SyncCopyBody) *SyncCopyParams

WithCopydir adds the copydir to the sync copy params

func (*SyncCopyParams) WithGroup

func (o *SyncCopyParams) WithGroup(group string) *SyncCopyParams

WithGroup adds the group to the sync copy params

func (*SyncCopyParams) WithHTTPClient

func (o *SyncCopyParams) WithHTTPClient(client *http.Client) *SyncCopyParams

WithHTTPClient adds the HTTPClient to the sync copy params

func (*SyncCopyParams) WithTimeout

func (o *SyncCopyParams) WithTimeout(timeout time.Duration) *SyncCopyParams

WithTimeout adds the timeout to the sync copy params

func (*SyncCopyParams) WriteToRequest

func (o *SyncCopyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SyncCopyReader

type SyncCopyReader struct {
	// contains filtered or unexported fields
}

SyncCopyReader is a Reader for the SyncCopy structure.

func (*SyncCopyReader) ReadResponse

func (o *SyncCopyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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