Documentation ¶
Index ¶
- type CloudEnv
- type CloudEnvOptions
- func (opts *CloudEnvOptions) Destroy()
- func (opts *CloudEnvOptions) SetCreateIfMissing(value bool)
- func (opts *CloudEnvOptions) SetCredentials(access_key_id string, secret_access_key string)
- func (opts *CloudEnvOptions) SetDstBucket(bucket string, prefix string)
- func (opts *CloudEnvOptions) SetEndPoint(endpoint string)
- func (opts *CloudEnvOptions) SetEnv(env *Env)
- func (opts *CloudEnvOptions) SetRequestTimeOut(timeout uint64)
- func (opts *CloudEnvOptions) SetSrcBucket(bucket string, prefix string)
- type DBCloud
- type Env
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudEnv ¶
type CloudEnv struct {
// contains filtered or unexported fields
}
func NewAwsCloudEnv ¶
func NewNativeCloudEnv ¶
func NewNativeCloudEnv(c *C.rocksdb_cloudenv_t) *CloudEnv
type CloudEnvOptions ¶
type CloudEnvOptions struct {
// contains filtered or unexported fields
}
func NewCloudEnvOptions ¶
func NewCloudEnvOptions() *CloudEnvOptions
NewCloudEnvOptions creates a default cloud environment Options
func NewNativeCloudEnvOptions ¶
func NewNativeCloudEnvOptions(c *C.rocksdb_cloudenv_options_t, cc *C.rocksdb_options_t) *CloudEnvOptions
func (*CloudEnvOptions) Destroy ¶
func (opts *CloudEnvOptions) Destroy()
Destroy deallocates the CloudEnvOptions object.
func (*CloudEnvOptions) SetCreateIfMissing ¶
func (opts *CloudEnvOptions) SetCreateIfMissing(value bool)
func (*CloudEnvOptions) SetCredentials ¶
func (opts *CloudEnvOptions) SetCredentials(access_key_id string, secret_access_key string)
func (*CloudEnvOptions) SetDstBucket ¶
func (opts *CloudEnvOptions) SetDstBucket(bucket string, prefix string)
func (*CloudEnvOptions) SetEndPoint ¶
func (opts *CloudEnvOptions) SetEndPoint(endpoint string)
func (*CloudEnvOptions) SetEnv ¶
func (opts *CloudEnvOptions) SetEnv(env *Env)
func (*CloudEnvOptions) SetRequestTimeOut ¶
func (opts *CloudEnvOptions) SetRequestTimeOut(timeout uint64)
func (*CloudEnvOptions) SetSrcBucket ¶
func (opts *CloudEnvOptions) SetSrcBucket(bucket string, prefix string)
type DBCloud ¶
type DBCloud struct {
// contains filtered or unexported fields
}
DBCloud is a reusable handle to a RocksDB database on disk, created by Open.
func OpenCloudDb ¶
func OpenCloudDb(opts *CloudEnvOptions, name string, cachePath string, cacheSize uint64) (*DBCloud, error)
OpenDb opens a database with the specified options.
Click to show internal directories.
Click to hide internal directories.