Documentation ¶
Index ¶
- Variables
- func Readln(r *bufio.Reader) ([]byte, error)
- func WriteFile(filename string, data []byte, perm os.FileMode) error
- type BackupOptions
- type BenchmarkOptions
- type Command
- type CopyOptions
- type Dir
- type DownloadOptions
- type ExportOptions
- type FakeReader
- type File
- type FilerOptions
- type MountOptions
- type ServerOptions
- type UploadOptions
- type VolumeServerOptions
- type WFS
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = []*Command{
cmdBenchmark,
cmdBackup,
cmdCompact,
cmdCopy,
cmdFix,
cmdServer,
cmdMaster,
cmdFiler,
cmdUpload,
cmdDownload,
cmdShell,
cmdVersion,
cmdVolume,
cmdExport,
cmdMount,
}
Functions ¶
Types ¶
type BackupOptions ¶
type BackupOptions struct {
// contains filtered or unexported fields
}
type BenchmarkOptions ¶
type BenchmarkOptions struct {
// contains filtered or unexported fields
}
type Command ¶
type Command struct { // Run runs the command. // The args are the arguments after the command name. Run func(cmd *Command, args []string) bool // UsageLine is the one-line usage message. // The first word in the line is taken to be the command name. UsageLine string // Short is the short description shown in the 'go help' output. Short string // Long is the long message shown in the 'go help <this-command>' output. Long string // Flag is a set of flags specific to this command. Flag flag.FlagSet IsDebug *bool }
type CopyOptions ¶
type CopyOptions struct {
// contains filtered or unexported fields
}
type DownloadOptions ¶
type DownloadOptions struct {
// contains filtered or unexported fields
}
type ExportOptions ¶
type ExportOptions struct {
// contains filtered or unexported fields
}
type FakeReader ¶
type FakeReader struct {
// contains filtered or unexported fields
}
a fake reader to generate content to upload
type FilerOptions ¶
type FilerOptions struct {
// contains filtered or unexported fields
}
type MountOptions ¶
type MountOptions struct {
// contains filtered or unexported fields
}
type ServerOptions ¶
type ServerOptions struct {
// contains filtered or unexported fields
}
type UploadOptions ¶
type UploadOptions struct {
// contains filtered or unexported fields
}
type VolumeServerOptions ¶
type VolumeServerOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.