Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket interface { GetBucketName() string ListNodes() (map[string]Node, error) ListObjects() (map[string]Object, error) GetObject(object string, writer *io.PipeWriter, donutObjectMetadata map[string]string) PutObject(object string, contents io.Reader) error WriteDonutObjectMetadata(object string, donutMetadata map[string]string) error WriteObjectMetadata(object string, objectMetadata map[string]string) error }
Bucket interface
type Disk ¶
type Disk interface { MakeDir(dirname string) error ListDir(dirname string) ([]os.FileInfo, error) ListFiles(dirname string) ([]os.FileInfo, error) MakeFile(path string) (*os.File, error) OpenFile(path string) (*os.File, error) GetName() string GetOrder() int GetFileSystemType() string SaveConfig() ([]byte, error) LoadConfig([]byte) error }
Disk interface
type Donut ¶
type Donut interface { MakeBucket(bucket string) error ListBuckets() (map[string]Bucket, error) Heal() error Rebalance() error Info() error AttachNode(node Node) error DetachNode(node Node) error SaveConfig() ([]byte, error) LoadConfig([]byte) error }
Donut interface
type Encoder ¶
type Encoder interface { GetEncodedBlockLen(dataLength int) (int, error) Encode(data []byte) (encodedData [][]byte, err error) Decode(encodedData [][]byte, dataLength int) (data []byte, err error) }
Encoder interface
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/github.com/minio-io/cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
|
Package cli provides a minimal framework for creating and organizing command line Go applications. |
_workspace/src/github.com/minio-io/erasure
Package erasure is a Go wrapper for the Intel Intelligent Storage Acceleration Library (Intel ISA-L).
|
Package erasure is a Go wrapper for the Intel Intelligent Storage Acceleration Library (Intel ISA-L). |
cmd
|
|
Click to show internal directories.
Click to hide internal directories.