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 defines the 0-stor client
func (*Client) ProcessStore ¶
ProcessStore processes and then stores the data to 0-stor server
func (*Client) Walk ¶
func (c *Client) Walk(fromEpoch, toEpoch int64) <-chan *WalkResult
Walk walks the history from fromEpoch to toEpoch.
type Config ¶
type Config struct { VdiskID string Organization string Namespace string IyoClientID string IyoSecret string ZeroStorShards []string MetaShards []string DataShardsNum int ParityShardsNum int EncryptPrivKey string }
Config defines the 0-stor client config
type MetaClient ¶
type MetaClient struct {
// contains filtered or unexported fields
}
func NewMetaClient ¶
func NewMetaClient(endpoints []string) (*MetaClient, error)
func (*MetaClient) Close ¶
func (cli *MetaClient) Close() error
func (*MetaClient) SaveMeta ¶
func (cli *MetaClient) SaveMeta(key, val []byte) error
type WalkResult ¶
type WalkResult struct { Agg *schema.TlogAggregation Err error }
Click to show internal directories.
Click to hide internal directories.