Documentation ¶
Index ¶
- type Bandwidth
- type Content
- type ErrorResponse
- type FileSystemDetails
- type GroupList
- type Job
- type JobInfo
- type JobInfoParams
- type Jobid
- type ListItem
- type ListOptions
- type ListOptionsOpt
- type MoveOrCopyFileOptions
- type NodeInfo
- type Remote
- type RemotePath
- type Stats
- type StatsParams
- type StatsTransferringItems0
- type Transfer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bandwidth ¶
type Bandwidth struct { // String representation of the bandwidth rate limit (eg. 100k, 1M, ...). Rate string `json:"rate,omitempty"` }
Bandwidth bandwidth rate
Rate at witch to rate limit bandwidth swagger:model Bandwidth
func (*Bandwidth) MarshalBinary ¶
MarshalBinary interface implementation
func (*Bandwidth) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Content ¶
type Content struct { // File content // Format: byte Content strfmt.Base64 `json:"Content,omitempty"` }
Content content swagger:model Content
func (*Content) MarshalBinary ¶
MarshalBinary interface implementation
func (*Content) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorResponse ¶
type ErrorResponse struct { // Map of request parameters Input interface{} `json:"input,omitempty"` // Error description Message string `json:"message,omitempty"` // Requested path Path string `json:"path,omitempty"` // HTTP status code Status int64 `json:"status,omitempty"` }
ErrorResponse error
Details about error response swagger:model ErrorResponse
func (*ErrorResponse) MarshalBinary ¶
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FileSystemDetails ¶
type FileSystemDetails struct { // Free space in bytes Free int64 `json:"free,omitempty"` // Available space in bytes Total int64 `json:"total,omitempty"` // Used space in bytes Used int64 `json:"used,omitempty"` }
FileSystemDetails file system details swagger:model FileSystemDetails
func (*FileSystemDetails) MarshalBinary ¶
func (m *FileSystemDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FileSystemDetails) UnmarshalBinary ¶
func (m *FileSystemDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupList ¶
type GroupList struct { // groups Groups []string `json:"groups"` }
GroupList group list swagger:model GroupList
func (*GroupList) MarshalBinary ¶
MarshalBinary interface implementation
func (*GroupList) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Job ¶
type Job struct { // Time in seconds that the job ran for Duration float64 `json:"duration,omitempty"` // Time the job finished (eg 2018-10-26T18:50:20.528746884+01:00) // Format: date-time EndTime strfmt.DateTime `json:"endTime,omitempty"` // Error from the job or empty string for no error Error string `json:"error,omitempty"` // Job has finished execution Finished bool `json:"finished,omitempty"` // ID of the job ID int64 `json:"id,omitempty"` // Output of the job as would have been returned if called synchronously Output interface{} `json:"output,omitempty"` // Time the job started (eg 2018-10-26T18:50:20.528746884+01:00) // Format: date-time StartTime strfmt.DateTime `json:"startTime,omitempty"` // True for success false otherwise Success bool `json:"success,omitempty"` }
Job job
Status information about the job swagger:model Job
func (*Job) MarshalBinary ¶
MarshalBinary interface implementation
func (*Job) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JobInfo ¶
type JobInfo struct { // job Job *Job `json:"job,omitempty"` // Core status Stats *Stats `json:"stats,omitempty"` // Completed transfers Transferred []*Transfer `json:"transferred"` }
JobInfo job info swagger:model JobInfo
func (*JobInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*JobInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JobInfoParams ¶
type JobInfoParams struct { // ID of the job Jobid int64 `json:"jobid,omitempty"` // Duration in seconds Wait int64 `json:"wait,omitempty"` }
JobInfoParams job info params swagger:model JobInfoParams
func (*JobInfoParams) MarshalBinary ¶
func (m *JobInfoParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobInfoParams) UnmarshalBinary ¶
func (m *JobInfoParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Jobid ¶
type Jobid struct { // ID of the job Jobid int64 `json:"jobid,omitempty"` }
Jobid jobid swagger:model Jobid
func (*Jobid) MarshalBinary ¶
MarshalBinary interface implementation
func (*Jobid) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ListItem ¶
type ListItem struct { // Encrypted name Encrypted string `json:"Encrypted,omitempty"` // Hash of the item Hashes interface{} `json:"Hashes,omitempty"` // ID of the item ID string `json:"ID,omitempty"` // true if item is directory IsDir bool `json:"IsDir,omitempty"` // mime type of the item MimeType string `json:"MimeType,omitempty"` // Modification time // Format: date-time ModTime strfmt.DateTime `json:"ModTime,omitempty"` // Name of the item Name string `json:"Name,omitempty"` // Original ID of the item OrigID string `json:"OrigID,omitempty"` // Path of the item Path string `json:"Path,omitempty"` // Size in bytes Size int64 `json:"Size,omitempty"` }
ListItem list item swagger:model ListItem
func (*ListItem) MarshalBinary ¶
MarshalBinary interface implementation
func (*ListItem) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ListOptions ¶
type ListOptions struct { // A remote name string eg. drive: // Required: true Fs *string `json:"fs"` // opt Opt *ListOptionsOpt `json:"opt,omitempty"` // A path within that remote eg. dir // Required: true Remote *string `json:"remote"` }
ListOptions list options swagger:model ListOptions
func (*ListOptions) MarshalBinary ¶
func (m *ListOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOptions) UnmarshalBinary ¶
func (m *ListOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOptionsOpt ¶
type ListOptionsOpt struct { // Show only directories in the listing DirsOnly bool `json:"dirsOnly,omitempty"` // Show only files in the listing FilesOnly bool `json:"filesOnly,omitempty"` // Don't read the modification time (can speed things up) NoModTime bool `json:"noModTime,omitempty"` // Recurse into the listing Recurse bool `json:"recurse,omitempty"` // Show the encrypted names ShowEncrypted bool `json:"showEncrypted,omitempty"` // Include hashes in the output (may take longer) ShowHash bool `json:"showHash,omitempty"` // Show the ID of the underlying Object ShowOrigIDs bool `json:"showOrigIDs,omitempty"` }
ListOptionsOpt A path within that remote eg. dir swagger:model ListOptionsOpt
func (*ListOptionsOpt) MarshalBinary ¶
func (m *ListOptionsOpt) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOptionsOpt) UnmarshalBinary ¶
func (m *ListOptionsOpt) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MoveOrCopyFileOptions ¶
type MoveOrCopyFileOptions struct { // A remote name string eg. drive: for the destination DstFs string `json:"dstFs,omitempty"` // A path within that remote eg. file.txt for the destination DstRemote string `json:"dstRemote,omitempty"` // A remote name string eg. drive: for the source SrcFs string `json:"srcFs,omitempty"` // A path within that remote eg. file.txt for the source SrcRemote string `json:"srcRemote,omitempty"` }
MoveOrCopyFileOptions move or copy file options swagger:model MoveOrCopyFileOptions
func (*MoveOrCopyFileOptions) MarshalBinary ¶
func (m *MoveOrCopyFileOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrCopyFileOptions) UnmarshalBinary ¶
func (m *MoveOrCopyFileOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeInfo ¶
type NodeInfo struct { // Address for REST API requests. APIAddress string `json:"api_address,omitempty"` // Port for REST API server. APIPort string `json:"api_port,omitempty"` // Address that is broadcasted to tell other Scylla nodes to connect to. Related to listen_address. BroadcastAddress string `json:"broadcast_address,omitempty"` // Address that is broadcasted to tell the clients to connect to. BroadcastRPCAddress string `json:"broadcast_rpc_address,omitempty"` // Address Scylla listens for connections from other nodes. ListenAddress string `json:"listen_address,omitempty"` // Port for the CQL native transport to listen for clients on. NativeTransportPort string `json:"native_transport_port,omitempty"` // Address for Prometheus queries. PrometheusAddress string `json:"prometheus_address,omitempty"` // Port for Prometheus server. PrometheusPort string `json:"prometheus_port,omitempty"` // Address on which Scylla is going to expect Thrift and CQL clients connections. RPCAddress string `json:"rpc_address,omitempty"` // Port for Thrift to listen for clients on. RPCPort string `json:"rpc_port,omitempty"` }
NodeInfo node info
Information about Scylla node. swagger:model NodeInfo
func (*NodeInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*NodeInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Remote ¶
type Remote struct { // Name of the remote Name string `json:"name,omitempty"` // Additional parameters for the remote Parameters interface{} `json:"parameters,omitempty"` // Type of the new remote Type string `json:"type,omitempty"` }
Remote remote swagger:model Remote
func (*Remote) MarshalBinary ¶
MarshalBinary interface implementation
func (*Remote) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RemotePath ¶
type RemotePath struct { // A remote name string eg. drive: Fs string `json:"fs,omitempty"` // A path within that remote eg. dir Remote string `json:"remote,omitempty"` }
RemotePath remote path swagger:model RemotePath
func (*RemotePath) MarshalBinary ¶
func (m *RemotePath) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemotePath) UnmarshalBinary ¶
func (m *RemotePath) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Stats ¶
type Stats struct { // total transferred bytes since the start of the process Bytes int64 `json:"bytes,omitempty"` // an array of names of currently active file checks Checking []string `json:"checking"` // number of checked files Checks int64 `json:"checks,omitempty"` // number of deleted files Deletes int64 `json:"deletes,omitempty"` // time in seconds since the start of the process ElapsedTime float64 `json:"elapsedTime,omitempty"` // number of errors Errors int64 `json:"errors,omitempty"` // whether there has been at least one FatalError FatalError bool `json:"fatalError,omitempty"` // last occurred error LastError string `json:"lastError,omitempty"` // whether there has been at least one non-NoRetryError RetryError bool `json:"retryError,omitempty"` // average speed in bytes/sec since start of the process Speed float64 `json:"speed,omitempty"` // an array of currently active file transfers Transferring []*StatsTransferringItems0 `json:"transferring"` // number of transferred files Transfers int64 `json:"transfers,omitempty"` }
Stats stats swagger:model Stats
func (*Stats) MarshalBinary ¶
MarshalBinary interface implementation
func (*Stats) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type StatsParams ¶
type StatsParams struct { // group name Group string `json:"group,omitempty"` }
StatsParams stats params swagger:model StatsParams
func (*StatsParams) MarshalBinary ¶
func (m *StatsParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatsParams) UnmarshalBinary ¶
func (m *StatsParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatsTransferringItems0 ¶
type StatsTransferringItems0 struct { // total transferred bytes for this file Bytes int64 `json:"bytes,omitempty"` // estimated time in seconds until file transfer completion Eta float64 `json:"eta,omitempty"` // name of the file Name string `json:"name,omitempty"` // progress of the file transfer in percent Percentage float64 `json:"percentage,omitempty"` // size of the file in bytes Size int64 `json:"size,omitempty"` // speed in bytes/sec Speed float64 `json:"speed,omitempty"` // speed in bytes/sec as an exponentially weighted moving average SpeedAvg float64 `json:"speedAvg,omitempty"` }
StatsTransferringItems0 stats transferring items0 swagger:model StatsTransferringItems0
func (*StatsTransferringItems0) MarshalBinary ¶
func (m *StatsTransferringItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatsTransferringItems0) UnmarshalBinary ¶
func (m *StatsTransferringItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Transfer ¶
type Transfer struct { // total transferred bytes for this file Bytes int64 `json:"bytes,omitempty"` // if the transfer is only checked (skipped, deleted) Checked bool `json:"checked,omitempty"` // time at which transfer completed // Format: date-time CompletedAt strfmt.DateTime `json:"completed_at,omitempty"` // string description of the error (empty if successful) Error string `json:"error,omitempty"` // name of the file Name string `json:"name,omitempty"` // size of the file in bytes Size int64 `json:"size,omitempty"` // time at which transfer started // Format: date-time StartedAt strfmt.DateTime `json:"started_at,omitempty"` }
Transfer transfer swagger:model Transfer
func (*Transfer) MarshalBinary ¶
MarshalBinary interface implementation
func (*Transfer) UnmarshalBinary ¶
UnmarshalBinary interface implementation